How do I check the status of a transaction?

Every transaction you send through our API ends in one of two final states, success or failed, and may spend some time as pending first. Webhooks normally tell you the final result. The status check API is the backup: it lets you ask for the current status of any transaction at any time. This article explains when and how to use it.

When to check status

  • After a timeout: your request was sent but no response came back. The transaction may or may not have been created.
  • When a webhook has not arrived within the expected time for a pending transaction.
  • Before refunding a customer in your system for a transaction that showed as pending.
  • During daily reconciliation, for any transaction still pending in your records.
  • When a customer complains and you want the latest information.

Checking by your reference ID

The most reliable way is to check using the reference_id you sent with the original request. This works even if you never received our transaction ID because of a timeout.

curl -X GET "https://www.pepploweb.com/api/services/v1/transactions/status?reference_id=ORD10045" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json"

You can also check using our transaction ID (txn_id) if you have it.

Reading the response

{ "status": "success", "data": {
  "reference_id": "ORD10045", "txn_id": "PW9F2A71", "service": "recharge",
  "txn_status": "success", "operator_ref": "OPREF12345",
  "created_at": "2026-12-03T10:15:22+05:30", "updated_at": "2026-12-03T10:16:05+05:30" } }

Note that the top-level status refers to your status request itself, while txn_status is the state of the transaction. Possible values include:

  • success: completed. Mark your order as done.
  • failed: did not complete; the amount has been or will be returned to your wallet. Refund your customer.
  • pending: still waiting for the operator, biller or bank. Check again later.
  • not found: no transaction exists with that reference. If you got this after a timeout, the original request did not reach us, and it is safe to send it again with a new reference ID.

How often to poll

Polling means checking repeatedly. Do it sensibly:

  • Wait a short time after the original request before the first check.
  • Increase the gap between checks, for example 1 minute, then 5, then 15, then hourly.
  • Stop polling once you get a final status.
  • Do not poll every few seconds for many transactions at once; this can hit rate limits and does not make the operator respond faster.

Building it into your system

A simple approach is a scheduled task that runs every few minutes, finds transactions in your database that have been pending longer than a set time, and checks each one. When it finds a final status, it updates the order and notifies the customer, exactly as your webhook handler would. Make sure both the webhook handler and the scheduled task use the same code to apply a status, so they cannot conflict.

Checking in the client area

You and your support staff can also search for any transaction in the reports section of your client area by reference ID, transaction ID, mobile number or date.

The examples in this article are simplified to show the flow. Field names, endpoint paths and response formats can differ by service, so always follow the current reference in our API documentation.

More help

If a transaction stays pending longer than expected, see our article on pending transactions or open a ticket with the reference ID. The full status reference is in the API documentation.

Was this article helpful?

Still stuck? Open a support ticket and our team will help.


Related articles

← Back

Chat with us
Hi! Send us a message and we will reply here as soon as we can.
Security check image
Chat with us