Example: Requesting an 7-Eleven Sale Using the REST API

Request
{ "clientReferenceInformation": { "code": "sale1077" }, "orderInformation": { "amountDetails": { "totalAmount": "1055", "currency": "SGD", "taxAmount": "9080" }, "billTo":{ "country":"SG", "firstName":"John", "lastName":"Doe", "email":"[email protected]", "phoneNumber":"90909090909" } }, "paymentInformation": { "paymentType": { "name": "offline", "method": { "name": "7eleven" } } }, "merchantInformation": { "successUrl": "https://www.example.org/feedback.php", "merchantDescriptor": { "name": "DynDescriptor" } } }
Response to a Successful Request
{ "reason": "INVALID_DATA", "processorInformation": { "transactionId": "1169581027", "rawStatus": "FAILED" }, "message": "Channel tag not found", "status": "FAILED", "submitTimeUtc": "2022-06-06T14:19:37Z" }