{
"data": [
{
"id": "xYZkjABcde",
"type": "stripe_payments",
"links": {
"self": "https://yourdomain.commercelayer.io/api/stripe_payments/xYZkjABcde"
},
"attributes": {
"charge_id": "ch_1234XXX",
"client_secret": "pi_1234XXX_secret_5678YYY",
"created_at": "2018-01-01T12:00:00.000Z",
"metadata": {
"foo": "bar"
},
"mismatched_amounts": false,
"options": {
"customer": "cus_xxx",
"payment_method": "pm_xxx"
},
"payment_instrument": {
"card_type": "visa",
"issuer": "cl bank"
},
"payment_method": {
"id": "pm_xxx"
},
"publishable_key": "pk_live_xxxx-yyyy-zzzz",
"receipt_email": "john@example.com",
"reference": "ANY-EXTERNAL-REFEFERNCE",
"reference_origin": "ANY-EXTERNAL-REFEFERNCE-ORIGIN",
"return_url": "https://yourdomain.com/thankyou",
"stripe_id": "pi_1234XXX",
"updated_at": "2018-01-01T12:00:00.000Z"
},
"relationships": {
"order": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/stripe_payments/xYZkjABcde/relationships/order",
"related": "https://yourdomain.commercelayer.io/api/stripe_payments/xYZkjABcde/order"
}
},
"payment_gateway": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/stripe_payments/xYZkjABcde/relationships/payment_gateway",
"related": "https://yourdomain.commercelayer.io/api/stripe_payments/xYZkjABcde/payment_gateway"
}
},
"versions": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/stripe_payments/xYZkjABcde/relationships/versions",
"related": "https://yourdomain.commercelayer.io/api/stripe_payments/xYZkjABcde/versions"
}
}
},
"meta": {
"mode": "test"
}
},
{
"other": "... 9 stripe_payments (first page)"
}
],
"meta": {
"record_count": 140,
"page_count": 14
},
"links": {
"first": "https://yourdomain.commercelayer.io/api/stripe_payments?page[number]=1&page[size]=10",
"next": "https://yourdomain.commercelayer.io/api/stripe_payments?page[number]=2&page[size]=10",
"last": "https://yourdomain.commercelayer.io/api/stripe_payments?page[number]=14&page[size]=10"
}
}