curl --location --request GET 'https://api.synap.ac/v3/checkout-sessions/'
{
"data": {
"id": "FID001",
"type": "CheckoutSession",
"attributes": {
"productIdentifier": "string",
"customerData": {
"id": "string",
"email": "string"
},
"paymentGatewayToken": "string",
"isCheckoutCompleted": true,
"isPaymentSuccessful": true,
"processedAt": "string",
"processingError": "string"
},
"relationships": {
"storeOffer": {
"data": {
"id": "FID001",
"type": "StoreOffer"
}
},
"product": {
"data": {
"id": "FID001",
"type": "Product"
}
},
"subscription": {
"data": {
"id": "FID001",
"type": "Subscription"
}
}
}
},
"included": [
{
"id": "FID001",
"type": "_User",
"attributes": {},
"relationships": {
"property1": {
"data": {
"id": "FID001",
"type": "_User"
},
"links": {
"self": "string",
"related": "string"
},
"meta": {}
},
"property2": {
"data": {
"id": "FID001",
"type": "_User"
},
"links": {
"self": "string",
"related": "string"
},
"meta": {}
}
}
}
]
}