{
"data": [
{
"id": "xYZkjABcde",
"type": "braintree_gateways",
"links": {
"self": "https://yourdomain.commercelayer.io/api/braintree_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"
},
"descriptor_name": "company*productabc1234",
"descriptor_phone": "3125551212",
"descriptor_url": "company.com",
"webhook_endpoint_url": "https://core.commercelayer.co/webhook_callbacks/braintree_gateways/xxxxx"
},
"relationships": {
"payment_methods": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/braintree_gateways/xYZkjABcde/relationships/payment_methods",
"related": "https://yourdomain.commercelayer.io/api/braintree_gateways/xYZkjABcde/payment_methods"
}
},
"versions": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/braintree_gateways/xYZkjABcde/relationships/versions",
"related": "https://yourdomain.commercelayer.io/api/braintree_gateways/xYZkjABcde/versions"
}
},
"braintree_payments": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/braintree_gateways/xYZkjABcde/relationships/braintree_payments",
"related": "https://yourdomain.commercelayer.io/api/braintree_gateways/xYZkjABcde/braintree_payments"
}
}
},
"meta": {
"mode": "test"
}
},
{
"other": "... 9 braintree_gateways (first page)"
}
],
"meta": {
"record_count": 140,
"page_count": 14
},
"links": {
"first": "https://yourdomain.commercelayer.io/api/braintree_gateways?page[number]=1&page[size]=10",
"next": "https://yourdomain.commercelayer.io/api/braintree_gateways?page[number]=2&page[size]=10",
"last": "https://yourdomain.commercelayer.io/api/braintree_gateways?page[number]=14&page[size]=10"
}
}