Sandbox Environment
| Setting | Value |
|---|---|
| Base URL | https://acount-apis-staging-a8cdb2402163.herokuapp.com |
| Credentials | Separate sandbox credentials (contact us) |
Test Merchants
| Merchant | Client ID | Behavior |
|---|---|---|
| Test Success | test_merchant_success | Payments succeed |
| Test Fail | test_merchant_fail | Payments fail |
| Test Slow | test_merchant_slow | 30 second delay |
Mock Payment Mode
For quick testing without the bank flow, use Mock Payment Mode:| Header Value | Result |
|---|---|
X-Mock-Payment: true | Completes immediately |
X-Mock-Payment: fail | Fails immediately |
X-Mock-Payment: delay | Completes after 10s |
Test Bank
In sandbox, Token.io provides a test bank:| Setting | Value |
|---|---|
| Bank ID | ob-token |
| Username | test-user |
| Password | test-password |
| OTP | Any 6 digits |
Testing Webhooks
Use webhook.site for testing:- Get a unique URL from webhook.site
- Use it as your
webhookUrl - Complete a test payment
- View the webhook payload
Checklist Before Going Live
- OAuth2 flow works and tokens are cached
- Payment creation returns valid QR code
- QR code displays correctly on POS terminal
- Webhook endpoint receives and verifies signatures
- POS shows “Payment successful” after webhook
- Error handling works for failed payments
- Expiration handling works (30 min timeout)
Going Live
- Contact us to activate production credentials
- Update base URL to
https://api.acountpay.com - Update credentials to production values
- Test one real transaction with small amount

