Confirming an Order

πŸ“˜

ICYMI

See a quick refresher on creating orders here.

Orders are used to initiate payments. You need to ensure that your orders are created properly and have the correct status.

Use these steps to query an order's status:

  1. Encrypt the order query request. This request should contain the order's reference.
  2. Send the encrypted request to the order status endpoint.

Use these sample to guide your fee query

{
    "reference": "test_transaction_05"
}
{
    "data": "b6t36QfBWy0r7SQipdgkzp1+5O43QyYYjrj8FNIAKfx7gR9AtITHEDDA02m3oLqFNwsButeKkyZVL8+21kz9sY1yfJuI/QqtefxGPUagYCnuMNIBFeo97rWCemI8oBQ5G33NgnPoX54MWw7aZ8/W8wLWtrAeFA1WjwsIh3Ewb7z07Q/IgqCXn6793xizC9qIp/X5HCzdnBgUcUk92Xo7qKPbsR/8Cvmg6zapU9Z8zsdYwxUx/lkQLAihvarQ7LmGL4tyijKu2FcNQL7xdJKArl1hfv4d80FkD/0tnbxl6w/taL2rCgvALiNvgerxJQi8PgMACG4lMzib+LVhNzcu94fmUNiG7kwUfbB7QmlUmqgGoyMwOqSGGbKDkNcyQQuVPbaW6znfIGIqp3sVFBLnMD9vCWdlIqmNTskp2ROBL4DVAzNmJwAj9ofhXcSN5RF1Bx0ubAzQ4N90z6xduwZHH/iV/rqTfsIdXkRDVZWP25cJB8huoTTJcBBnoX9bFnj1709fAGQuMyNlj+uBqXKwFA6Q9MrafefNnRzU6OpeNzibNpL3hOHfoZkuA8Zqjc14Rq1BuIMYuLrsfpdZTW2vSnNWUju5B+DU9sat5Sbxks6QqIyrH3HhzJQeCaD59ruFDTyAG/kSz37y18BTt3iybg0z+nW1zXWfJec46hSCDpQ="
}
{
    "is_final_status": false,
    "requery_needed": false,
    "requery_type": null,
    "data": {
        "id": 461,
        "payment_reference": "PARORD-44E07090-335A-4F08-AC60-1B22C395BD55",
        "order_reference": "test_transaction_05",
        "total_charged_amount": 250.00,
        "fee": 34.50,
        "payment_status": 1,
        "payment_type": "BANK-TRANSFER",
        "currency_id": 1,
        "payment_response_code": "01",
        "payment_response_message": null,
        "provider_response_date": null,
        "date_payment_confirmed": null,
        "date_created": "2024-01-08T12:52:05.85",
        "narration": "First Order",
        "remarks": "Order initiated and created successfully"
    },
    "status": "success",
    "message": "Order Status fetched successfully"
}