{
"data": [
{
"id": "xYZkjABcde",
"type": "stripe_payments",
"links": {
"self": "https://yourdomain.commercelayer.io/api/stripe_payments/xYZkjABcde"
},
"attributes": {
"stripe_id": "pi_1234XXX",
"client_secret": "pi_1234XXX_secret_5678YYY",
"charge_id": "ch_1234XXX",
"publishable_key": "pk_live_xxxx-yyyy-zzzz",
"options": {
"customer": "cus_xxx",
"payment_method": "pm_xxx"
},
"payment_method": {
"id": "pm_xxx"
},
"mismatched_amounts": false,
"return_url": "https://yourdomain.com/thankyou",
"receipt_email": "john@example.com",
"payment_instrument": {
"issuer": "cl bank",
"card_type": "visa"
},
"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"
}
},
"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"
}
}