This test card is provided for use in a test environment only. It cannot be used for real transactions and should not be used in production.

Test Card Details

Use the following card details when testing transactions in a sandbox or staging environment.

Card Information

  1. Card Number: 5434 6210 7425 2808
  2. CVV: Any 3-digit value e.g 123
  3. Expiration Date: Any future date e.g 12/30

OTP Authentication

  1. OTP for Success: 999999
  2. OTP for Failure: Any incorrect value 000000

Transaction Scenarios

Use the test card with different amounts or inputs to simulate various scenarios:
ScenarioInput DetailsExpected Outcome
Successful TransactionCorrect details & 999999 OTPTransaction Approved
Incorrect CVVCVV: 000 or any incorrect CVVTransaction Declined
Expired CardExpired Date 12/20Transaction Declined
Insufficient FundsAmount greater than 500,000Transaction Declined
Invalid OTPOTP: 000000Transaction Declined
This test card should only be used in development or staging environments. Do not attempt real transactions with this card.

Fetch Sandbox Checkout Transactions

You can retrieve the details of a specific transaction performed in the sandbox environment by sending a POST request with the transaction reference. This is useful for testing how your system handles different transaction outcomes (e.g., success, failure, pending).
   curl --request POST \
   --url https://sandbox.nomba.com/v1/transactions/accounts \
   --header 'Authorization: Bearer <token>' \
   --header 'Content-Type: application/json' \
   --header 'accountId: <accountid>' \
   --data '
      {
         "transactionRef": "WEB-ONLINE_C-SANDBOXDFC05-693cd007-cd1e-4ea6-xxxxxxxxxx" 
      }
   '