Documentation Index
Fetch the complete documentation index at: https://developer.nomba.com/llms.txt
Use this file to discover all available pages before exploring further.
Test cards are provided for use in the sandbox environment only. They 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.Test cards
| Card Number | Network | Outcome |
|---|---|---|
5434 6210 7425 2808 | Mastercard | OTP required β approved |
4000 0000 0000 2503 | Visa | 3DS authentication required |
5484 4972 1831 7651 | Mastercard | Declined β βdo not honorβ |
PIN and OTP
| Field | Value | Notes |
|---|---|---|
| Card PIN | 9999 | Used during card detail submission |
| OTP β Approved | 9999 | Payment succeeds |
| OTP β Timeout | 1234 | Payment fails with timeout message |
| OTP β Invalid | 5464 | Payment fails with invalid OTP message |
Transaction scenarios
| Scenario | How to trigger | Expected outcome |
|---|---|---|
| Successful card payment | Card 5434 6210 7425 2808 + OTP 9999 | Transaction Approved |
| Declined card | Card 5484 4972 1831 7651 | do not honor |
| OTP timeout | OTP 1234 | Payment timed out |
| Invalid OTP | OTP 5464 | Invalid OTP |
| Insufficient funds | Amount greater than 500,000 | Transaction Declined |
| Expired card | Expiry 12/20 | Transaction Declined |
Quick Sandbox Flow
Follow these steps to run a checkout transaction end-to-end in the sandbox:- Generate a sandbox token β Use
https://sandbox.nomba.com/v1/auth/token/issuewith your testclientIdandclientSecret - Create a checkout order β
POST https://sandbox.nomba.com/v1/checkout/orderwith your sandbox token - Open the checkout link β Load the
checkoutLinkfrom the response in a browser - Enter the test card β Use the card number, CVV, and expiry date from the table above
- Enter the test OTP β Use
123456for a successful transaction - Verify the transaction β Use the
transactionReffrom the webhook or theorderReferenceyou provided