{
"data": [
{
"id": "xYZkjABcde",
"type": "checkout_com_gateways",
"links": {
"self": "https://yourdomain.commercelayer.io/api/checkout_com_gateways/xYZkjABcde"
},
"attributes": {
"name": "US payment gateway",
"created_at": "2018-01-01T12:00:00.000Z",
"updated_at": "2018-01-01T12:00:00.000Z",
"reference": "ANY-EXTERNAL-REFEFERNCE",
"reference_origin": "ANY-EXTERNAL-REFEFERNCE-ORIGIN",
"metadata": {
"foo": "bar"
},
"webhook_endpoint_id": "xxxx-yyyy-zzzz",
"webhook_endpoint_secret": "xxxx-yyyy-zzzz",
"webhook_endpoint_url": "https://core.commercelayer.co/webhook_callbacks/checkout_com_gateways/xxxxx"
},
"relationships": {
"payment_methods": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/checkout_com_gateways/xYZkjABcde/relationships/payment_methods",
"related": "https://yourdomain.commercelayer.io/api/checkout_com_gateways/xYZkjABcde/payment_methods"
}
},
"versions": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/checkout_com_gateways/xYZkjABcde/relationships/versions",
"related": "https://yourdomain.commercelayer.io/api/checkout_com_gateways/xYZkjABcde/versions"
}
},
"checkout_com_payments": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/checkout_com_gateways/xYZkjABcde/relationships/checkout_com_payments",
"related": "https://yourdomain.commercelayer.io/api/checkout_com_gateways/xYZkjABcde/checkout_com_payments"
}
}
},
"meta": {
"mode": "test"
}
},
{
"other": "... 9 checkout_com_gateways (first page)"
}
],
"meta": {
"record_count": 140,
"page_count": 14
},
"links": {
"first": "https://yourdomain.commercelayer.io/api/checkout_com_gateways?page[number]=1&page[size]=10",
"next": "https://yourdomain.commercelayer.io/api/checkout_com_gateways?page[number]=2&page[size]=10",
"last": "https://yourdomain.commercelayer.io/api/checkout_com_gateways?page[number]=14&page[size]=10"
}
}