On This Page
Example: Requesting an Bancontact Sale Using the REST API
Request
{ "clientReferenceInformation": { "code": "sale1077" }, "orderInformation": { "amountDetails": { "totalAmount": "100000", "currency": "EUR", "taxAmount": "9080" }, "billTo":{ "country":"BE", "firstName":"John", "lastName":"Doe" } }, "paymentInformation": { "paymentType": { "name": "localCard", "method": { "name": "bcmc" } } }, "merchantInformation": { "successUrl": "https://www.example.org/feedback.php", "merchantDescriptor": { "name": "DynDescriptor" } } }
Response to a Successful Request
{ "processorInformation": { "transactionId": "1165805002", "rawStatus": "PENDING", "paymentUrl": "https%3A%2F%2Fr3%2Epaygate%2Ede%2Fti%2Fsimbcmc%3Ftx%3D1165805002%26rs%3DLH3m1gjyyzue63noDu1TsUMgAlPU7YFS%26cs%3D7050f6a1ff2624c12bb26bc0a45e4c24eb748f97aaab4f5f6b5efc7ec949f26e" }, "reconciliationId": "sale1077", "paymentInformation": { "binCountry": "BE" }, "message": "Successful", "status": "PENDING", "id": "65233290191267436032912", "submitTimeUtc": "2022-06-02T14:14:54Z" }