REST API | Barclays

Example: OCT Request Using the REST API

Request: OCT Service
{ "clientReferenceInformation":{ "code":"123456789" }, "orderInformation":{ "amountDetails":{ "totalAmount":"100.00", "currency":"USD" } }, "processingInformation":{ "businessApplicationId":"FD" }, "paymentInformation":{ "card":{ "number":"4111111111111111", "expirationMonth":"12", "expirationYear":"2025" } } }
Response: OCT Service
{ "clientReferenceInformation": { "code": "123456789" }, "id": "6213507771386164004005", "orderInformation": { "amountDetails": { "totalAmount": "100.00", "currency": "USD" } }, "processorInformation": { "approvalCode": "100", "responseCode": "0" }, "status": "ACCEPTED", "submitTimeUtc": "2021-05-18T151257Z" }