{
"data": [
{
"id": "xYZkjABcde",
"type": "braintree_payments",
"links": {
"self": "https://yourdomain.commercelayer.io/api/braintree_payments/xYZkjABcde"
},
"attributes": {
"client_token": "xxxx.yyyy.zzzz",
"created_at": "2018-01-01T12:00:00.000Z",
"local": true,
"metadata": {
"foo": "bar"
},
"options": {
"customer_id": "1234567890"
},
"payment_id": "xxxx.yyyy.zzzz",
"payment_instrument": {
"card_type": "visa",
"issuer": "cl bank"
},
"payment_method_nonce": "xxxx.yyyy.zzzz",
"reference": "ANY-EXTERNAL-REFEFERNCE",
"reference_origin": "ANY-EXTERNAL-REFEFERNCE-ORIGIN",
"updated_at": "2018-01-01T12:00:00.000Z"
},
"relationships": {
"order": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/braintree_payments/xYZkjABcde/relationships/order",
"related": "https://yourdomain.commercelayer.io/api/braintree_payments/xYZkjABcde/order"
}
},
"payment_gateway": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/braintree_payments/xYZkjABcde/relationships/payment_gateway",
"related": "https://yourdomain.commercelayer.io/api/braintree_payments/xYZkjABcde/payment_gateway"
}
},
"versions": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/braintree_payments/xYZkjABcde/relationships/versions",
"related": "https://yourdomain.commercelayer.io/api/braintree_payments/xYZkjABcde/versions"
}
}
},
"meta": {
"mode": "test"
}
},
{
"other": "... 9 braintree_payments (first page)"
}
],
"meta": {
"record_count": 140,
"page_count": 14
},
"links": {
"first": "https://yourdomain.commercelayer.io/api/braintree_payments?page[number]=1&page[size]=10",
"next": "https://yourdomain.commercelayer.io/api/braintree_payments?page[number]=2&page[size]=10",
"last": "https://yourdomain.commercelayer.io/api/braintree_payments?page[number]=14&page[size]=10"
}
}