Verify Order

The Verify Order endpoint is used to verify the final status of an order using your secret key. This is typically used after an order has been completed or to double-check the payment status without encryption.

ℹ️

Pass your secret key in the api-key header when making the request to this endpoint.

This endpoint does not require encryption like other order APIs.

Headers

HeaderValueDescription
api-key{{your_secret_key}}Your TransactPay secret key

Payload Structure

KeyTypeDescriptionRequired
referencestringThe unique reference of the order to verify

Sample Request Payload


{
  "reference": "ORDER123456"
}

Success Response

The success response structure may differ depending on the stage or status of the order

(e.g., pending, successful, failed, etc.).

👉 Please refer to the API Reference for detailed example responses for each status.

{
    "reference": "{{orderreference}}"
}