Test and live mode
Your key decides the mode. Test and live data never mix: a test key never sees live payments, and the other way round.
| Test | Live | |
|---|---|---|
| Secret key | qp_sk_test_... | qp_sk_live_... |
| Public key | qp_pk_test_... | qp_pk_live_... |
| A business ID works once | its domain is confirmed | your account and the business are approved |
| Calls may come from | the business's domain, or localhost and *.test | the business's domain only |
Test cards
Any future expiry date and any 3-digit CVV.
| Card number | What happens |
|---|---|
4242 4242 4242 4242 | Paid at once |
4000 0000 0000 0002 | Asks for PIN 1234, then code 123456, then paid. A wrong PIN fails the payment. |
4000 0000 0000 3220 | Sends the customer to a test bank page where you approve or decline |
4000 0000 0000 0069 | Declined by the bank |
Test mobile money
Any network from GET /v1/mobile-networks. A phone number ending in 9 is declined; any other number approves itself a few seconds after the charge starts.
Test withdrawals are marked paid when we approve them. Live withdrawals go to your bank or mobile money account.