Skip to content

Testing Flutterwave Services

Abraham Olaobaju edited this page Aug 22, 2023 · 4 revisions

Overview

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.

OTPs

Any OTP passed in test transactions will pass validation. However, you can use these special OTPs to mock specific error scenarios:

  1. WRONG OTP: 5548
  2. INSUFFICIENT FUNDS: 6648

Bank Accounts

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

Mobile Money

  • 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

Cards

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
Clone this wiki locally