Skip to main content

4. Play with Papi in the sandbox

The sandbox environment is a testing space where you can explore and simulate all payment features without processing real transactions. It is designed to help developers interact with Papi, verify their integration, and ensure everything works smoothly before transitioning to the production environment.

Use the sandbox to play with Papi, test various scenarios, and get familiar with the entire payment flow, from generating payment links to handling callbacks.


Testing payment methods

Visa

Use the following test cards to simulate card payments.

Card NumberExpiry DateCVV
4242 4242 4242 4242Any future dateAny 3 digits
4000 0566 5566 5556Any future dateAny 3 digits
4111 1111 4555 114203/2030737
4111 1120 1426 766112/2030737
4988 4388 4388 430503/2030737
4166 6766 6766 674603/2030737
4646 4646 4646 464403/2030737
4000 6200 0000 000703/2030737

Orange Money

Phone NumberScenarioFinal StatusDescription
0321230001SuccesssuccessTransaction completed successfully
0321230002Insufficient BalancefailedInsufficient funds in account
0321230003Invalid Phone NumberfailedPhone number format or validity issue
0321230004Account BlockedfailedAccount is blocked or restricted

MVola

Phone NumberScenarioFinal StatusDescription
0341230001SuccesssuccessTransaction completed successfully
0341230002Insufficient BalancefailedInsufficient funds in account
0341230003Invalid Phone NumberfailedPhone number format or validity issue
0341230004Account BlockedfailedAccount is blocked or restricted

Airtel

Phone NumberScenarioFinal StatusDescription
331230001SuccesssuccessTransaction completed successfully
331230002Insufficient BalancefailedInsufficient funds in account
331230003Invalid Phone NumberfailedPhone number format or validity issue
331230004Account BlockedfailedAccount is blocked or restricted

Key points to remember

  1. The sandbox environment is purely for testing purposes, so no real money is involved.
  2. Always validate your API integration thoroughly in the sandbox before switching to production.
  3. Use the phone numbers and card numbers listed above to trigger specific scenarios (success, insufficient balance, blocked account, etc.).

By using the provided test credentials and simulating different payment scenarios, you can confidently prepare your system for real-world use in the production environment.