Test payments in the sandbox

Test your N-Genius Online integration with sandbox cards, payment tokens and simulators for authentication, fraud and declined payments.

Test your N-Genius Online integration in the sandbox using the test cards and simulators on this page.

Access the sandbox

Choose the option that matches your account status:

Test 3-D Secure (3DS) 1.0 payments

Use any value for the customer's first name, last name and card verification value (CVV), unless the table specifies a value.

The table lists published sandbox primary account numbers (PANs). Expiry dates use MM/YY format, and response codes appear in backticks:

PANSchemeCVVExpiry dateOutcome
4012001037141112VisaAnyAnySuccess (00)
4012001037167778VisaAnyAnySuccess (00)
4000000000000002VisaAnyAnySuccess (00)
4111111111111111VisaAnyAnySuccess (00)
4663295942784758VisaAnyAnyDeclined (05: Do not honor)
4596035679045649VisaAnyAnyDeclined (14: Invalid account)
5168441223630339MastercardAnyAnySuccess (00)
5457210001000019MastercardAnyAnySuccess (00)
5513935292057458MastercardAnyAnyDeclined (05: Do not honor)
6690109900000721JaywanAnyAnySuccess (00)
6690109900000804JaywanAnyAnyDeclined (05)
6690109912341808JaywanAnyAnyDeclined (14)
376253059827197American ExpressAnyAnySuccess (00)
342666155178069American ExpressAnyAnyDeclined (05: Do not honor)
30000633943679Diners Club InternationalAnyAnySuccess (00)
6018533132741635DiscoverAnyAnySuccess (00)
6250947000000014UnionPay12312/33Short message service (SMS) code: 111111
3528249999991755JCB12301/39Not specified

Request additional test cards if you need more scenarios.

Test Apple Pay payments

Use Apple's sandbox test cards.

Apple maintains this list. Some listed cards may be outdated.

Simulate AANI payments

Use the AANI sandbox simulator to test payment flows without initiating real payments. AANI payments do not use 3DS.

Use these predefined sandbox mobile numbers to simulate transaction outcomes:

Sandbox mobile numberSimulated outcome
0551234567Successful transaction
0567890123Failed transaction
0521231234Transaction timeout
0501234567Invalid AANI details

Simulate fraud outcomes

Set the card expiry month to select a fraud simulation outcome:

  • Use expiry month 01 to simulate rejected payments.
  • Use expiry months 03–12 to simulate fraud-accepted payments.

Test 3DS 2.0 payments on the web

Use the following Mastercard test cards to simulate authentication outcomes:

PAN3DS modeOutcome
2303779999000275Frictionless (transStatus != C)Success
2303779999000408Challenge (transStatus == C)Success
2303779999000291Frictionless (transStatus == N)Failed: not authenticated
2303779999000317Frictionless (transStatus == U)Failed: unavailable
2303779999000424Challenge (transStatus == N)Failed: not authenticated
2303779999000432Challenge (transStatus == U)Failed: unavailable
📘

Final integration sign-off

The Integrations team exclusively uses the card ending in 0408 during onboarding. Use this card for final integration sign-off.

Test payments without 3DS

Use the following test cards for payments without 3DS:

SchemePAN
Visa4093191766216474
Mastercard5126702681201744
Diners Club International36744639013680
Discover6011431633657912

Simulate declined saved-card payments

Configure the token group in the sandbox portal:

  1. Log in to the N-Genius Online portal in the sandbox as a merchant administrator.

  2. Go to Settings > Organisational Hierarchy.

  3. Select the pencil icon on the Token Group row in the Overview panel at the bottom right of the page.

    Token Group row and pencil icon in the Overview panel

  4. Enter a new token in the Update Token Group window.

    Update Token Group window for entering a new token

Use one of these published sandbox payment tokens when submitting a payment request. These values are test data, not API keys:

SchemeSandbox payment token
VisadG9rZW5pemVkUGFuLy92MS8vU0hPV19OT05FLy82NTQ0Mjk3NDA3MDcxMDIx
MastercarddG9rZW5pemVkUGFuLy92MS8vU0hPV19OT05FLy84NTM1MTEzNTk3MjI5Njgw
Diners Club InternationaldG9rZW5pemVkUGFuLy92MS8vU0hPV19OT05FLy82NjAwMDAzMDU3NjQzNA==
DiscoverdG9rZW5pemVkUGFuLy92MS8vU0hPV19OT05FLy80NjM1ODEwNjA3MDYyMTc4
American ExpressG9rZW5pemVkUGFuLy92MS8vU0hPV19OT05FLy81MTY2NjI0Mzk2MDg3MTU=

For help with custom test cases or interpreting responses, request a call back.

© Network International LLC. All Rights Reserved.