Sandbox & Testing
Ghana Rails Simulation Matrix
Test your payment integration end-to-end without real money. Use these predefined phone numbers and card details to simulate various provider responses.
Mobile Money Test Phone Numbers
| Channel | Phone Number | Simulated Outcome | Trigger / Status | Behavior Notes |
|---|---|---|---|---|
| MTN Mobile Money | Success (Instant) | 200 OK | Instantaneous USSD pin prompt approval. | |
| MTN Mobile Money | Declined (Insufficient Funds) | INSUFFICIENT_FUNDS | Low customer mobile wallet balance. | |
| MTN Mobile Money | Cancelled by User | SUBSCRIBER_REJECTED | Customer cancels the on-screen USSD prompt. | |
| MTN Mobile Money | Timeout (Provider Expired) | PROVIDER_TIMEOUT | Customer phone unreachable or off. | |
| Telecel Cash | Success (Instant) | 200 OK | Voucher or prompt authentication success. | |
| AT Money | Success (Instant) | 200 OK | AT mobile wallet collection success. |
Test Card Credentials (Visa / Mastercard)
Successful Payment
4000 0000 0000 0002
Expiry: 12/28
CVV: 123
3D-Secure OTP: 123456
Insufficient Funds
4000 0000 0000 9995
Expiry: 12/28
CVV: 123
Outcome: Declines with INSUFFICIENT_FUNDS
Card Expired
4000 0000 0000 0069
Expiry: 01/20
CVV: 123
Outcome: Declines with CARD_EXPIRED
In sandbox mode, payment attempts generate simulated webhook deliveries without moving real financial funds.
Continue learning