Fetch Order Info by Partner order Reference id
Developing
This API faciltates fetching order details such as voucher code, pin and other important details.
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/json
{ "orderId": "OR631764TS4UC"}
Request Code Samples
curl --location --request POST '/api/v0/order/orderDetails' \
--header 'authorization: Bearer tYte80xqTDUodXslo2ShHle_eXo' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{ "orderId": "OR631764TS4UC"}'
Responses
application/json {
"paylod" : {
"orderId": "12345",
"paymentStatus": "SUCCESS",
"orderStatus": "SUCCESS",
"totalQuantity": 10,
"totalAmount": 5000.00,
"orderAmount": 4500.00,
"paidAmount": 4500.00,
"partnerOrderReferenceId": "REF123456789",
"voucherDetailsList": [
{
"cardNumber": "1234567890123456",
"pin": "1234",
"expiryDate": "2025-12-31T23:59:59"
},
{
"cardNumber": "6543210987654321",
"pin": "5678",
"expiryDate": "2026-06-30T23:59:59"
}
]
},
"response_message": "Success",
"response_code": "0"
}
Modified at 2025-01-25 09:51:56