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.

TestLive
Secret keyqp_sk_test_...qp_sk_live_...
Public keyqp_pk_test_...qp_pk_live_...
A business ID works onceits domain is confirmedyour account and the business are approved
Calls may come fromthe business's domain, or localhost and *.testthe business's domain only

Test cards

Any future expiry date and any 3-digit CVV.

Card numberWhat happens
4242 4242 4242 4242Paid at once
4000 0000 0000 0002Asks for PIN 1234, then code 123456, then paid. A wrong PIN fails the payment.
4000 0000 0000 3220Sends the customer to a test bank page where you approve or decline
4000 0000 0000 0069Declined 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.