-
Notifications
You must be signed in to change notification settings - Fork 19
Testing Flutterwave Services
When integrating a payment gateway, you'll need to test your implementation before going live.
We've got test card and bank account details for you to use when testing. The cards cover a variety of use cases and allow you to simulate both successful and failed transactions with different causes.
Any OTP passed in test transactions will pass validation. However, you can use these special OTPs to mock specific error scenarios:
- WRONG OTP: 5548
- INSUFFICIENT FUNDS: 6648
Bank account details to use to make a mock payment.
Bank | Account Number | OTP |
---|---|---|
Access Bank (044) | 0690000031 | 12345 |
Access Bank (044) | 0690000032 | 12345 |
Access Bank (044) | 0690000033 | 12345 |
Access Bank (044) | 0690000034 | 12345 |
-
Successful payments : To mock a successful mobile money payment, you can use any mobile number.
-
Failed payments : Mock failed transactions for your integration tests using any of the following numbers. Update the country code of each number to match the code of your customer's number.
Mobile number | Error code | Error message |
---|---|---|
233121212121 | 200 (Failed Authentication) | Mocked a Failed Transaction |
233010101011 | 400 (Failed Transaction) | Mocked a Failed Transaction |
Card details to use to make a mock payment.
- Successful payments : Use these cards if you want the payment to succeed.
Type | Card Number | CVV | PIN | Expiry | OTP |
---|---|---|---|---|---|
MasterCard PIN authentication | 5531886652142950 | 564 | 3310 | 09/32 | 12345 |
Mastercard PIN authentication2 | 5399838383838381 | 470 | 3310 | 10/31 | 12345 |
MasterCard 3DS authentication | 5438898014560229 | 564 | 3310 | 10/31 | 12345 |