Verify by Order Reference
Look up a transaction using your order reference or the Nomba transaction ID.
Fetch Checkout Transaction (Production)
Retrieve full checkout order details including card and transfer info.
Which endpoint should I use?
There are two ways to verify a checkout transaction. Choose based on your environment and what you need:Option 1: Verify via /v1/transactions/accounts/single
This endpoint works in both sandbox and production. Pass the orderReference (the reference you supplied on the order), the orderId (the value returned as orderReference in the create-order response), or the transactionRef (the Nomba transaction ID from the webhook) as a query parameter.
The key field to check in the response is data.status. A successful payment returns "status": "SUCCESS".
For sandbox transactions, use the sandbox base URL:
https://sandbox.nomba.com/v1/transactions/accounts/single. See Sandbox Testing for details on looking up sandbox transactions.Option 2: Get Checkout Transaction (Production only)
This endpoint returns full checkout order details including card information, transfer details, and order metadata. It is useful when you need richer data than the basic transaction lookup provides — for example, to display order details on a receipt page. To fetch a checkout transaction, send a GET request to this endpoint/v1/checkout/transaction.
Read transactionDetails.status to confirm the payment. PAYMENT SUCCESSFUL means the payment
completed; PENDING means it is still in progress and FAILED PAYMENT means it did not complete.
transactionDetails.statusCode is the card processor response code, not the payment status. It
is empty on rails that do not go through a card processor, such as mobile money, so it cannot be
used to confirm a payment. Use transactionDetails.status.