API console
Pick a rail and an outcome, read the exact call, and watch the whole chain resolve — request, customer checkout, and the webhook we send back to you. Everything here runs in your browser; to run real tests against your own ledger, switch your dashboard to test mode.
Compose a test
RailOutcome to simulateCompletes normally. Settles to SUCCEEDED and fires payment.succeeded.
Run
Request
Your server calls HPG and gets a transaction back.
Customer checkout
Your buyer approves on the rail — mobile money prompt or card page.
Webhook
HPG POSTs the signed result to your endpoint.
Magic amounts
| Amount | Result | Code |
|---|---|---|
| 100.00 | Succeeds | |
| 200.00 | Stays pending | |
| 400.00 | Insufficient funds | |
| 403.00 | Account blocked | |
| 408.00 | Session expirescollections only | |
| 429.00 | Rate limited | |
| 499.00 | Customer cancelscollections only | |
| 500.00 | Provider down |
Any other amount behaves like 100.00. The same amounts work on every rail.
Ready to test for real? Your dashboard sandbox runs the same calls against your own test ledger, with real webhook deliveries you can inspect and resend. Open your sandbox · Get a test key