- Use
sk_test_keys on the sandbox API. Nothing is real, and nothing reaches live accounts. - Your server address isn’t checked in sandbox.
- Transfers can go to your own sandbox accounts, PrimePay’s test merchant accounts and test wallets.
- Payouts can only go to test phone numbers and test bank account numbers (any
bankCode). They finish on their own a few seconds later, with the result the test number or account is set up for (paid, declined, invalid account, slow or pending). - PrimePay Wallet payments (
primepay_wallet) work with the test wallet numbers below. Nobody has to approve anything: the test number decides the result. - Payment link
redirectUrlalso allowshttp://localhostin sandbox.
Test Airtel Money and TNM Mpamba numbers
Use one of these ascustomerPhone with the airtel or tnm operator. Nobody types a PIN: the number decides the result.
Test payout and transfer destinations
Payouts and transfers in sandbox can only go to these. Anything else is refused withsandbox_recipient_not_allowed.
Test PrimePay Wallet numbers
Use one of these ascustomerPhone with the primepay_wallet operator. A test wallet never runs out of money.
You get the same webhooks as live:
payment.succeeded, or payment.failed for a declined, unpaid or expired payment.
A successful test wallet payment can be refunded. The refund becomes success a few seconds later.
