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
Header | Value | Description |
---|---|---|
api-key | {{your_secret_key}} | Your TransactPay secret key |
Payload Structure
Key | Type | Description | Required |
---|---|---|---|
reference | string | The 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}}"
}