Skip to content

Testing

Learn how to test online payments using a sandbox merchant account and test cards with different 3D Secure flows.

Testing your online payments integration is crucial before going live. SumUp provides sandbox merchant accounts and a comprehensive set of test cards to simulate various payment scenarios, including different 3D Secure authentication flows.

Before you can test online payments, you need to create a sandbox merchant account in the SumUp Dashboard.

  1. Log in to your SumUp account.

  2. Open the drop-down menu between Support and your user panel.

  3. Select Sandbox merchant account.

When testing with card payments, you can use the following common details for all test cards:

  • CVV: Any 3 digits (e.g., 123)
  • Expiry Date: Any future date (e.g., 12/25)
  • Cardholder Name: Any name

Use this section as your primary end-to-end test path. It validates that a payment can be completed successfully without additional customer authentication steps.

What to verify:

  1. Your checkout completes successfully without additional cardholder action
  2. You correctly handle frictionless authentication and continue order processing
  3. Your success path is robust across different card brands
BrandCard NumberExpected Behavior
VISAVISA4200 0000 0000 0091Payment succeeds with frictionless authentication.
VISAVISA4200 0000 0000 0109Authentication is attempted and payment proceeds without challenge.
VISAVISA4200 0000 0000 0026Payment succeeds with frictionless authentication.
VISAVISA4200 0000 0000 0059Authentication is attempted and payment proceeds without challenge.
MastercardMastercard5200 0000 0000 0007Payment succeeds with frictionless authentication.
MastercardMastercard5200 0000 0000 0023Authentication is attempted and payment proceeds without challenge.
MastercardMastercard5200 0000 0000 0056Payment succeeds with frictionless authentication.
MastercardMastercard5200 0000 0000 0106Authentication is attempted and payment proceeds without challenge.
MAESTROMAESTRO6761 3010 0099 3772Payment succeeds with frictionless authentication.
MAESTROMAESTRO6706 9811 1111 1113Authentication is attempted and payment proceeds without challenge.
MAESTROMAESTRO6799 8510 0000 0032Payment succeeds with frictionless authentication.
MAESTROMAESTRO6007 9301 2345 6780Authentication is attempted and payment proceeds without challenge.
American ExpressAmerican Express374 5002 6200 1008Payment succeeds with frictionless authentication.
American ExpressAmerican Express377 2770 8138 2243Authentication is attempted and payment proceeds without challenge.
American ExpressAmerican Express375 9870 0000 0062Payment succeeds with frictionless authentication.
American ExpressAmerican Express373 9531 9235 1004Authentication is attempted and payment proceeds without challenge.
Diners / DiscoverDiners / Discover36 1775 8067 7072Payment succeeds with frictionless authentication.
Diners / DiscoverDiners / Discover6011 0004 0000 1008Authentication is attempted and payment proceeds without challenge.
Diners / DiscoverDiners / Discover6011 0100 0000 0003Payment succeeds with frictionless authentication.
Diners / DiscoverDiners / Discover6011 0009 9009 9818Authentication is attempted and payment proceeds without challenge.
JCBJCB3530 1113 3330 0000Payment succeeds with frictionless authentication.
JCBJCB3566 0020 2036 0505Authentication is attempted and payment proceeds without challenge.
JCBJCB3569 9900 1227 8361Payment succeeds with frictionless authentication.
JCBJCB3569 9900 1227 8353Authentication is attempted and payment proceeds without challenge.
DankortDankort5019 9954 2085 3334Payment succeeds with frictionless authentication.
DankortDankort5019 9995 3113 7108Authentication is attempted and payment proceeds without challenge.
DankortDankort5019 9916 5867 2173Payment succeeds with frictionless authentication.
DankortDankort5019 9915 0365 5373Authentication is attempted and payment proceeds without challenge.
UnionPayUnionPay6250 9470 0000 0014Payment succeeds with frictionless authentication.
UnionPayUnionPay6250 9470 0000 0022Authentication is attempted and payment proceeds without challenge.
UnionPayUnionPay6250 9470 0000 0089Payment succeeds with frictionless authentication.
UnionPayUnionPay6250 9442 2091 4108Authentication is attempted and payment proceeds without challenge.
Bancontact LinkBancontact Link6703 9972 1273 7146Payment succeeds with frictionless authentication.
Bancontact LinkBancontact Link6703 9933 5156 0670Authentication is attempted and payment proceeds without challenge.
Bancontact LinkBancontact Link6703 9949 4294 1098Payment succeeds with frictionless authentication.
Bancontact LinkBancontact Link6703 9916 9450 4181Authentication is attempted and payment proceeds without challenge.

Test cards

  • VISA
    4200 0000 0000 0091

    Payment succeeds with frictionless authentication.

  • VISA
    4200 0000 0000 0109

    Authentication is attempted and payment proceeds without challenge.

  • VISA
    4200 0000 0000 0026

    Payment succeeds with frictionless authentication.

  • VISA
    4200 0000 0000 0059

    Authentication is attempted and payment proceeds without challenge.

  • Mastercard
    5200 0000 0000 0007

    Payment succeeds with frictionless authentication.

  • Mastercard
    5200 0000 0000 0023

    Authentication is attempted and payment proceeds without challenge.

  • Mastercard
    5200 0000 0000 0056

    Payment succeeds with frictionless authentication.

  • Mastercard
    5200 0000 0000 0106

    Authentication is attempted and payment proceeds without challenge.

  • MAESTRO
    6761 3010 0099 3772

    Payment succeeds with frictionless authentication.

  • MAESTRO
    6706 9811 1111 1113

    Authentication is attempted and payment proceeds without challenge.

  • MAESTRO
    6799 8510 0000 0032

    Payment succeeds with frictionless authentication.

  • MAESTRO
    6007 9301 2345 6780

    Authentication is attempted and payment proceeds without challenge.

  • American Express
    374 5002 6200 1008

    Payment succeeds with frictionless authentication.

  • American Express
    377 2770 8138 2243

    Authentication is attempted and payment proceeds without challenge.

  • American Express
    375 9870 0000 0062

    Payment succeeds with frictionless authentication.

  • American Express
    373 9531 9235 1004

    Authentication is attempted and payment proceeds without challenge.

  • Diners / Discover
    36 1775 8067 7072

    Payment succeeds with frictionless authentication.

  • Diners / Discover
    6011 0004 0000 1008

    Authentication is attempted and payment proceeds without challenge.

  • Diners / Discover
    6011 0100 0000 0003

    Payment succeeds with frictionless authentication.

  • Diners / Discover
    6011 0009 9009 9818

    Authentication is attempted and payment proceeds without challenge.

  • JCB
    3530 1113 3330 0000

    Payment succeeds with frictionless authentication.

  • JCB
    3566 0020 2036 0505

    Authentication is attempted and payment proceeds without challenge.

  • JCB
    3569 9900 1227 8361

    Payment succeeds with frictionless authentication.

  • JCB
    3569 9900 1227 8353

    Authentication is attempted and payment proceeds without challenge.

  • Dankort
    5019 9954 2085 3334

    Payment succeeds with frictionless authentication.

  • Dankort
    5019 9995 3113 7108

    Authentication is attempted and payment proceeds without challenge.

  • Dankort
    5019 9916 5867 2173

    Payment succeeds with frictionless authentication.

  • Dankort
    5019 9915 0365 5373

    Authentication is attempted and payment proceeds without challenge.

  • UnionPay
    6250 9470 0000 0014

    Payment succeeds with frictionless authentication.

  • UnionPay
    6250 9470 0000 0022

    Authentication is attempted and payment proceeds without challenge.

  • UnionPay
    6250 9470 0000 0089

    Payment succeeds with frictionless authentication.

  • UnionPay
    6250 9442 2091 4108

    Authentication is attempted and payment proceeds without challenge.

  • Bancontact Link
    6703 9972 1273 7146

    Payment succeeds with frictionless authentication.

  • Bancontact Link
    6703 9933 5156 0670

    Authentication is attempted and payment proceeds without challenge.

  • Bancontact Link
    6703 9949 4294 1098

    Payment succeeds with frictionless authentication.

  • Bancontact Link
    6703 9916 9450 4181

    Authentication is attempted and payment proceeds without challenge.

Use this section to verify how your integration handles declined or failed payments.

To simulate an unsuccessful payment, create a checkout for amount 42.01, 42.76, or 42.91 (depending on currency, for example 4201 in minor units1). These amounts result in a failed payment.

What to verify:

  1. Your frontend displays a clear failure message and allows safe retry
  2. Your backend marks the payment as failed and avoids creating a successful order
  3. Your logs and monitoring capture the failure reason for troubleshooting

3D Secure (3DS) adds an authentication step between payment submission and final authorization when issuer verification is required.

Primary option: use the Payment Widget. It handles authentication screens and redirect behavior for you.

Secondary option: direct Checkouts API integration. This path requires PCI compliance and explicit onboarding/approval from SumUp. After processing a checkout, use the returned next_step object (url, method, optional payload, redirect_url, and mechanism) to continue the flow.

Successful 3D Secure Authentication Scenarios

Section titled “Successful 3D Secure Authentication Scenarios”

For Payment Widget integrations, onResponse can emit auth-screen when challenge authentication starts. After challenge completion, verify the final checkout result on your backend with Retrieve a checkout.

What to verify:

  1. Your frontend handles challenge redirects and return URLs correctly
  2. Your backend waits for the final authentication result before fulfillment
  3. Retry and timeout handling behaves correctly when users abandon the challenge
BrandCard NumberExpected Behavior
VISAVISA4200 0000 0000 00423D Secure challenge is required.
VISAVISA4200 0000 0000 00673D Secure challenge is required.
VISAVISA4200 0000 0000 00183D Secure challenge is required.
VISAVISA4200 0000 0000 00753D Secure challenge is required.
MastercardMastercard5200 0000 0000 00153D Secure challenge is required.
MastercardMastercard5200 0000 0000 00493D Secure challenge is required.
MastercardMastercard5200 0000 0000 00643D Secure challenge is required.
MastercardMastercard5200 0000 0000 00723D Secure challenge is required.
MAESTROMAESTRO679 9998 9000 0006 00183D Secure challenge is required.
MAESTROMAESTRO6773 6700 0911 48793D Secure challenge is required.
MAESTROMAESTRO6 7034 2005 5456 50153D Secure challenge is required.
MAESTROMAESTRO6759 8888 8888 88883D Secure challenge is required.
American ExpressAmerican Express343 4343 4343 43433D Secure challenge is required.
American ExpressAmerican Express375 9870 0000 00213D Secure challenge is required.
American ExpressAmerican Express375 9870 0016 98673D Secure challenge is required.
American ExpressAmerican Express371 4496 3539 84313D Secure challenge is required.
Diners / DiscoverDiners / Discover36 2596 0000 00043D Secure challenge is required.
Diners / DiscoverDiners / Discover6011 2087 0111 77753D Secure challenge is required.
Diners / DiscoverDiners / Discover6559 9065 5990 65573D Secure challenge is required.
Diners / DiscoverDiners / Discover36 4588 1111 11193D Secure challenge is required.
JCBJCB3566 0023 4543 21533D Secure challenge is required.
JCBJCB3569 9900 1009 59163D Secure challenge is required.
JCBJCB3569 9900 1230 08763D Secure challenge is required.
JCBJCB3569 9900 1230 08843D Secure challenge is required.
DankortDankort4571 9912 6271 89853D Secure challenge is required.
DankortDankort4571 9957 1262 84473D Secure challenge is required.
DankortDankort4571 9984 7027 96193D Secure challenge is required.
DankortDankort5019 9917 0704 47883D Secure challenge is required.
UnionPayUnionPay6250 9470 0000 00973D Secure challenge is required.
UnionPayUnionPay6250 9441 9672 52073D Secure challenge is required.
UnionPayUnionPay6250 9496 4405 01733D Secure challenge is required.
UnionPayUnionPay6250 9458 8276 81123D Secure challenge is required.
Bancontact LinkBancontact Link6703 6461 7321 19933D Secure challenge is required.
Bancontact LinkBancontact Link6703 6478 2371 87423D Secure challenge is required.
Bancontact LinkBancontact Link6703 6188 4785 11993D Secure challenge is required.
Bancontact LinkBancontact Link6703 6180 8422 19083D Secure challenge is required.

Test cards

  • VISA
    4200 0000 0000 0042

    3D Secure challenge is required.

  • VISA
    4200 0000 0000 0067

    3D Secure challenge is required.

  • VISA
    4200 0000 0000 0018

    3D Secure challenge is required.

  • VISA
    4200 0000 0000 0075

    3D Secure challenge is required.

  • Mastercard
    5200 0000 0000 0015

    3D Secure challenge is required.

  • Mastercard
    5200 0000 0000 0049

    3D Secure challenge is required.

  • Mastercard
    5200 0000 0000 0064

    3D Secure challenge is required.

  • Mastercard
    5200 0000 0000 0072

    3D Secure challenge is required.

  • MAESTRO
    679 9998 9000 0006 0018

    3D Secure challenge is required.

  • MAESTRO
    6773 6700 0911 4879

    3D Secure challenge is required.

  • MAESTRO
    6 7034 2005 5456 5015

    3D Secure challenge is required.

  • MAESTRO
    6759 8888 8888 8888

    3D Secure challenge is required.

  • American Express
    343 4343 4343 4343

    3D Secure challenge is required.

  • American Express
    375 9870 0000 0021

    3D Secure challenge is required.

  • American Express
    375 9870 0016 9867

    3D Secure challenge is required.

  • American Express
    371 4496 3539 8431

    3D Secure challenge is required.

  • Diners / Discover
    36 2596 0000 0004

    3D Secure challenge is required.

  • Diners / Discover
    6011 2087 0111 7775

    3D Secure challenge is required.

  • Diners / Discover
    6559 9065 5990 6557

    3D Secure challenge is required.

  • Diners / Discover
    36 4588 1111 1119

    3D Secure challenge is required.

  • JCB
    3566 0023 4543 2153

    3D Secure challenge is required.

  • JCB
    3569 9900 1009 5916

    3D Secure challenge is required.

  • JCB
    3569 9900 1230 0876

    3D Secure challenge is required.

  • JCB
    3569 9900 1230 0884

    3D Secure challenge is required.

  • Dankort
    4571 9912 6271 8985

    3D Secure challenge is required.

  • Dankort
    4571 9957 1262 8447

    3D Secure challenge is required.

  • Dankort
    4571 9984 7027 9619

    3D Secure challenge is required.

  • Dankort
    5019 9917 0704 4788

    3D Secure challenge is required.

  • UnionPay
    6250 9470 0000 0097

    3D Secure challenge is required.

  • UnionPay
    6250 9441 9672 5207

    3D Secure challenge is required.

  • UnionPay
    6250 9496 4405 0173

    3D Secure challenge is required.

  • UnionPay
    6250 9458 8276 8112

    3D Secure challenge is required.

  • Bancontact Link
    6703 6461 7321 1993

    3D Secure challenge is required.

  • Bancontact Link
    6703 6478 2371 8742

    3D Secure challenge is required.

  • Bancontact Link
    6703 6188 4785 1199

    3D Secure challenge is required.

  • Bancontact Link
    6703 6180 8422 1908

    3D Secure challenge is required.

Use these cards to validate failed authentication and non-participation behavior.

These cards simulate:

  • Technical authentication errors
  • Cardholder not enrolled for 3D Secure
  • Card/issuer not participating in 3D Secure

What to verify:

  1. You display actionable error messaging for technical authentication failures
  2. You handle non-enrolled and non-participating cards without crashing
  3. Failed payments do not create successful order states in your system
BrandCard NumberExpected Behavior
VISAVISA4012 0010 3746 1114Authentication fails due to a technical error.
VISAVISA4012 0010 3714 1112Cardholder is not enrolled for 3D Secure.
VISAVISA4532 4970 8877 1651Card or issuer does not participate in 3D Secure.
MastercardMastercard5434 5800 0000 0006Authentication fails due to a technical error.
MastercardMastercard5457 3500 7654 3210Cardholder is not enrolled for 3D Secure.
MastercardMastercard5497 2608 4731 6287Card or issuer does not participate in 3D Secure.
MAESTROMAESTRO6761 3010 0094 1201Authentication fails due to a technical error.
MAESTROMAESTRO6761 3010 0094 6341Cardholder is not enrolled for 3D Secure.
MAESTROMAESTRO6761 2577 0783 6567Card or issuer does not participate in 3D Secure.
American ExpressAmerican Express375 9870 0016 9875Authentication fails due to a technical error.
American ExpressAmerican Express375 9870 0016 9883Cardholder is not enrolled for 3D Secure.
American ExpressAmerican Express343 9230 9205 0144Card or issuer does not participate in 3D Secure.
Diners / DiscoverDiners / Discover6510 0000 0000 1248Authentication fails due to a technical error.
Diners / DiscoverDiners / Discover6011 0255 0026 5831Cardholder is not enrolled for 3D Secure.
Diners / DiscoverDiners / Discover6011 4207 1174 6440Card or issuer does not participate in 3D Secure.
JCBJCB3566 0077 7001 7510Authentication fails due to a technical error.
JCBJCB3569 9900 1229 1497Cardholder is not enrolled for 3D Secure.
JCBJCB3096 0233 6337 9943Card or issuer does not participate in 3D Secure.
DankortDankort5019 9968 9072 9079Authentication fails due to a technical error.
DankortDankort4571 9957 0066 7571Cardholder is not enrolled for 3D Secure.
DankortDankort4571 9933 1492 6574Card or issuer does not participate in 3D Secure.
UnionPayUnionPay6250 9470 0000 0048Authentication fails due to a technical error.
UnionPayUnionPay6250 9470 0000 0030Cardholder is not enrolled for 3D Secure.
UnionPayUnionPay6250 9470 0000 0052Card or issuer does not participate in 3D Secure.
Bancontact LinkBancontact Link6703 9957 3038 2544Authentication fails due to a technical error.
Bancontact LinkBancontact Link6703 6495 1976 7306Cardholder is not enrolled for 3D Secure.
Bancontact LinkBancontact Link6703 6495 1976 7555Card or issuer does not participate in 3D Secure.

Test cards

  • VISA
    4012 0010 3746 1114

    Authentication fails due to a technical error.

  • VISA
    4012 0010 3714 1112

    Cardholder is not enrolled for 3D Secure.

  • VISA
    4532 4970 8877 1651

    Card or issuer does not participate in 3D Secure.

  • Mastercard
    5434 5800 0000 0006

    Authentication fails due to a technical error.

  • Mastercard
    5457 3500 7654 3210

    Cardholder is not enrolled for 3D Secure.

  • Mastercard
    5497 2608 4731 6287

    Card or issuer does not participate in 3D Secure.

  • MAESTRO
    6761 3010 0094 1201

    Authentication fails due to a technical error.

  • MAESTRO
    6761 3010 0094 6341

    Cardholder is not enrolled for 3D Secure.

  • MAESTRO
    6761 2577 0783 6567

    Card or issuer does not participate in 3D Secure.

  • American Express
    375 9870 0016 9875

    Authentication fails due to a technical error.

  • American Express
    375 9870 0016 9883

    Cardholder is not enrolled for 3D Secure.

  • American Express
    343 9230 9205 0144

    Card or issuer does not participate in 3D Secure.

  • Diners / Discover
    6510 0000 0000 1248

    Authentication fails due to a technical error.

  • Diners / Discover
    6011 0255 0026 5831

    Cardholder is not enrolled for 3D Secure.

  • Diners / Discover
    6011 4207 1174 6440

    Card or issuer does not participate in 3D Secure.

  • JCB
    3566 0077 7001 7510

    Authentication fails due to a technical error.

  • JCB
    3569 9900 1229 1497

    Cardholder is not enrolled for 3D Secure.

  • JCB
    3096 0233 6337 9943

    Card or issuer does not participate in 3D Secure.

  • Dankort
    5019 9968 9072 9079

    Authentication fails due to a technical error.

  • Dankort
    4571 9957 0066 7571

    Cardholder is not enrolled for 3D Secure.

  • Dankort
    4571 9933 1492 6574

    Card or issuer does not participate in 3D Secure.

  • UnionPay
    6250 9470 0000 0048

    Authentication fails due to a technical error.

  • UnionPay
    6250 9470 0000 0030

    Cardholder is not enrolled for 3D Secure.

  • UnionPay
    6250 9470 0000 0052

    Card or issuer does not participate in 3D Secure.

  • Bancontact Link
    6703 9957 3038 2544

    Authentication fails due to a technical error.

  • Bancontact Link
    6703 6495 1976 7306

    Cardholder is not enrolled for 3D Secure.

  • Bancontact Link
    6703 6495 1976 7555

    Card or issuer does not participate in 3D Secure.

Once you’ve thoroughly tested your integration with your sandbox merchant account and test cards:

  1. Switch back to your live account in the Dashboard
  2. Ensure your production credentials are properly configured
  3. Process a small real transaction to verify everything works as expected
  4. Monitor your first transactions closely to ensure proper payment processing
  1. Minor unit fractions(Opens in a new tab) refer to the smallest denomination of a currency, which is used for representing transaction amounts. For example, if a currency has two decimal places, like USD (dollars and cents), the minor unit is the cent, and an amount is represented as a whole number of cents ↩︎