Example: Requesting an Dragonpay Retrieve a Transaction Using the REST API
Light
Dark
Request
123456789101112131415161718{"orderInformation": { "amountDetails": { "totalAmount": "1", "currency": "PHP" } }, "clientReferenceInformation": { "code": "sale1077", "originalTransactionId": "1169511625" }, "paymentInformation": { "paymentType": { "name": "bankTransfer", "method": { "name": "dragonPay" } } }}
Response to a Successful Request
12345678910{"clientReferenceInformation": { "transactionid": "sale1077" }, "processorInformation": { "transactionId": "144048964" }, "message": "Successful", "status": "REFUNDED", "id": "6523329019126746031901", "submitTimeUtc": "2022-06-06T13:11:15Z"}