Recharge API Responses Explained: Success, Pending and Failed
Key takeaways
- Success: show it, save the operator reference
- Pending: wait for the callback, never retry
- Failed: refund to the user wallet, then allow a fresh try
Every recharge API answer comes down to three outcomes. Getting them right decides whether your support team has a quiet day or a phone full of screenshots.
The three statuses
| Status | What it means | What your code should do |
|---|---|---|
| Success | The operator confirmed the recharge | Mark done, store the operator reference, show it to the user |
| Pending | The operator has not answered yet | Show "processing", wait for the callback or check status later |
| Failed | The recharge did not go through | Refund the user wallet and allow a new attempt |
Why pending needs the most care
Most duplicate recharges come from one habit: retrying a pending recharge because it "took too long". The first one often succeeds a minute later, and now the customer has paid twice. Treat pending as pending until the callback says otherwise.
Log the raw response for every recharge for at least 30 days. When a dispute comes, the log answers it in seconds.
A simple handling flow
- Send the request with a unique order id.
- Read the status in the response.
- On pending, save the order and wait for the callback.
- If no callback after a few minutes, call the status API with the same order id.
Conclusion
Handle the three statuses differently and most support problems disappear. Field names and sample responses are in the API documentation.
Building on the recharge API?
Docs, sample responses and a Postman collection.
Frequently asked questions
What does a pending recharge status mean?
Should I retry a failed recharge automatically?
Where do I find the full list of response fields?
Have a question? Talk to our team
Related articles
Recharge Disputes: How a Dispute API Saves Your Support Team Hours
"The app says success but my balance did not come." Every recharge business hears it daily. Handled by phone and screenshots it takes hours. Handled by API it takes minutes.
Read more →Operator Detection API: Find the Operator and Circle Before You Recharge
With number portability, a number that started on one network may now be on another. Guessing the operator is how a whole class of failed recharges begins.
Read more →Recharge Plan API: Why Showing the Right Plan Means Fewer Failed Recharges
A customer asks for "the 28-day unlimited one". The retailer types an amount from memory. That is how wrong-plan complaints start. A plan API fixes it at the screen.
Read more →