<aside> 🍩 Summary Viewing the details of one unique order provides all the necessary information about that order.

</aside>

Here's the endpoint to get all the information of a single order:

<aside> 🔑 ${baseUrl}/bnpl/purchase-order/:orderCode/merchant-full-info GET

</aside>

curl ${baseUrl}/bnpl/purchase-order/:orderCode/merchant-full-info
-H "Authorization: Bearer TOKEN"
-H "Content-Type: application/json"
-X GET

You can view an order by sending a request to the endpoint above with the orderCode as a path parameter:

Parameter to view one order

A sample of the response body

{
    "message": "Success",
    "errorCode": null,
    "data": {
        "id": "5591e981-a082-4c4a-a921-5e5e81d87d9b",
        "createdAt": "2022-02-18T12:38:54.766183Z",
        "merchantOutletId": "78890fcf-42ee-4976-967a-bb45a43b2a5d",
        "clientOrderReference": "jedjenddwdw40",
        "title": "Uber ride for Tolu",
        "productCategory": "Transport",
        "type": "ONE_OFF",
        "reusableCount": 0,
        "usedCount": 0,
        "status": "PENDING",
        "amountOfOrder": 600.00,
        "amountSettledToMerchant": null,
        "feeChargedToMerchant": null,
        "paymentPlan": null,
        "customerHandle": null,
        "customerId": null,
        "orderSource": "PROGRAMMATIC",
        "completedAt": null,
        "orderCode": "11111111A4",
        "paymentLink": "<https://checkout.usezilla.com/payment-order/11111111A4>"
    },
    "meta": null
}