Testing Credentials
Use this page to find testing credentials for specific payment methods. The testing credentials below are only supported in our sandbox environment. For tests in production, you will require to proceed with real payments if you wish to test it.
Missing testing credentials? Contact us!
Get in touch with us today and we'll make sure to advise you accordingly. Send us a message anytime by using this link.
Credit & debit cards
To test payments with a credit or debit card, you may use one of the test cards listed below. Make sure to use a card stating a limit and an amount within the ranges described below to test decline scenarios. For any card listed below, you may use the expiry date 06/25
. You may simply update the month and year to the new expiry date if you own test credentials with an older expiry date.
Depending on the amount
and if a limit is set on a specific card, one of the following 4 rules may be applied:
0
to9000
: Transaction is authorized.9001
to10000
: Transaction is declined. This simulates a case where the card has reached its limit or has the wrong expiry date.10001
to11000
: Transaction is in a referral state.11001
or higher: Transaction is declined. The card was reported lost or stolen.
3D Secure is enabled by default. You can test 5 scenarios depending on which card you use:
1
Challenge authenticated2
Challenge declined3
Frictionless authenticated4
Frictionless declined5
Not enrolled (transaction will be authorized)
Use the OTP 4000
to successfully authenticate a challenge flow and 4009
to simulate an unsuccessful authentication within the challenge flow.
For DCC tests, please use the Visa test card 4242 4242 4242 4242
and a merchant that is enabled for DCC. Pass the amount 840
for triggering a flow with the user currency set to USD
and 756
for the currency CHF
. Please note that your merchant currency cannot be the same as the user currency to render the DCC selection.
Name | Card number | CVV | Limit | 3D Secure |
---|---|---|---|---|
MasterCard | 5404 0000 0000 0001 5100 0010 0000 0014 5200 0000 0000 0007 5100 0010 0000 0030 | 123 123 123 123 | Yes No No No | 1 2 3 3 4 |
MasterCard Debit | 5500 0000 0000 0004 | 123 | No | 3 |
Visa | 4111 1111 1111 1111 4000 0010 0000 0018 4000 0010 0000 0034 4242 4242 4242 4242 | 123 123 123 123 | No No No Yes | 1 2 3 4 5 |
Visa Debit | 4444 0901 0101 0103 | 123 | No | 5 |
American Express | 3400 00100 000024 3400 00100 000016 3400 00100 000032 3758 111111 11115 | 1234 1234 1234 1234 | No No No Yes | 1 2 3 4 5 |
China Union Pay | 8100 0000 0000 0002 8100 0000 0000 0010 | 123 123 | No Yes | 3 5 |
Diners Club | 3600 001000 0014 3600 001000 0022 3600 001000 0006 3600 001000 0030 | 123 123 123 123 | No Yes No No | 1 2 1 2 3 4 |
Discover | 6011 4200 0000 0004 6011 0009 9803 4767 | 123 123 | No Yes | 5 5 |
JCB | 3569 9900 1003 0442 3569 9900 1003 0400 | 123 123 | Yes No | 3 5 |
Maestro | 6759 0000 0000 0026 6759 0000 0000 0018 | 123 123 | Yes No | 1 2 3 |
Dankort | 5019 5555 4444 5555 4571 8000 0000 0012 5019 9940 0012 4034 | 123 123 123 | No No Yes | 5 5 5 |
Loyalty & gift cards
The rules from card payments apply to loyalty & gift cards. Please refer to the section credit & debit cards for more details.
Name | Card number | CVV | Limit |
---|---|---|---|
Gift Cards | 6299 1200 0003 4200 | 038 | Yes - 250 CHF daily |
Lunch-Check | 6375 9400 1000 1072 | 123 | Yes - 250 CHF daily |
Airplus | 1920 72420 096379 | None | No |
Alipay+
Please contact us to receive test credentials. We will have to invite you as a test merchant and you will need to download an app to simulate Alipay+ payments.
Amazon Pay
Please log in to your Amazon Pay account to simulate a transaction.
Apple Pay
Add a real card to your Apple Pay wallet. Confirm the transaction using your newly registered card. Instead of using your real card, we will replace the card number with 4900 0000 0000 0094
and the expiry date with 06/25
.
Set an amount within the ranges below to test your desired backend scenario - this won't have an impact on the payment flow client-side:
amount=500
toamount=550
: The payment results in an error.amount=700
toamount=1000
: The payment is canceled. This test only makes sense if you are testing the Apple Pay button on the payment page.- Any other amount: The payment is accepted.
Availabill
Please contact Availabill for test information.
CembraPay
Please contact CembraPay for test information.
CRIF
Please contact CRIF for test information.
Cryptocurrencies
Coinify provides a sandbox platform to test crypto payments. Please bear in mind that you will have to send additional account credentials to us in order to let you process test payments via Coinify. You can sign up for your sandbox merchant account here.
To proceed with a test payment, you can use the following setup:
- Install a testnet wallet on your smartphone. You ca use the test wallet Testnet Wallet if you need one.
- Add funds to your wallet by using a Testnet faucet.
Easypay
Please contact Swisscom for test information.
EPS
Select Stuzza Bank (STZZATWWXXX)
as your bank. On the login screen use the following credentials:
- Username:
1004399
- Password:
Ve7yQ8EDBb56moAL
Google Pay
Register for Google Pay on your device and add a real card supporting Google Pay. Confirm the transaction using your newly registered card. If a valid Google Pay token is identified, we will replace the card number with 4900 0000 0000 0094
and the expiry date with 06/25
.
Set an amount within the ranges below to test your desired backend scenario - this won't have an impact on the payment flow client-side:
amount=500
toamount=550
: The payment results in an error.amount=700
toamount=1000
: The payment is canceled. This test only makes sense if you are testing the Google Pay button on the payment page.- Any other amount: The payment is accepted.
Giropay
For Giropay, you can simply click yourself through the payment forms without entering anything. Simply click the login button and you should be able to proceed.
iDeal
iDeal does currently not offer any way to test their platform.
Klarna
You can refer to Klarna's sample customer data. Each country will have dedicated test information you need to pass within the object customer
.
MobilePay
Follow the instructions from MobilePay available here. You will need to install an app and login with a valid MobilePay phone number. You can use our shared test account +4521550528
for the Danish app or +35893307050
for the Finnish app to test right away. Please contact MobilePay if you require your own test account.
PayPal
Register for a developer's account at PayPal. Once you have registered, you should receive details to your test buyer account. The buyer account can be used to test PayPal payments in our sandbox environment.
Paysafecard
For Paysafecard, please use the following credentials:
- PIN:
7740228278243675
Please note that this PIN is only valid for EUR
or CHF
transactions.
PostFinance
For PostFinance Card and PostFinance E-Finance through our Redirect or Lightbox integration, you can simply click yourself through the payment forms without entering anything. Simply click the next button until you reach your success page. If you are using our Mobile SDK integration, depending on the SDK version installed, you will only have the option to test PostFinance with productive transactions.
Powerpay
Please contact MF Group for test information.
Reka
Please contact Reka for test information.
Samsung Pay
Register for Samsung Pay on your Samsung device and add a real card supporting Samsung Pay. Confirm the transaction using your newly registered card. Authorizations with real cards will be declined in our test environment. If a valid Samsung Pay token is identified, we send the following replacements:
- Card number:
4242 4242 4242 4242
- Expiry date:
06/25
SEPA (ELV)
For SEPA (ELV), please use the following credentials:
- IBAN:
DE85123456781234512345
Depending on the amount, one of the following 2 rules will be applied:
amount=0
toamount=9000
: Transaction is authorized.amount=9001
or higher: Transaction is declined.
Swish
To test Swish, you will need to download two apps: a test app from Swish and an additional app to mock the access to your bank account (BankID Security). Download the Swish test app for iOS here and the Android app here. Please follow the link in the Swish app to download the BankID Security app.
BankID Setup
To correctly set up your BankID Security app, you need to change your BankID settings according to this guide - if you miss this step, your Mobile BankID registration will fail. Request a personal code to log in to your Demo bank on this page. Once logged in, request a Mobile BankID with your first name, last name, and personal number 199201172385
. You should now see a QR code displayed. Scan this QR code with your BankID Security App. Set your security code (e.g., 987654
) and confirm your BankID registration. The full instructions to set up BankID Security App can be taken from here.
Swish Setup
After successfully setting your BankID, open the Swish test app. Set your phone number to +46 79 509 66 04
to use our shared Swish test account. Follow the link to your BankID Security app and click on Sign with security code
to finish the registration.
After completing the steps above, you should be able to scan the Swish QR codes on our payment forms and conclude test payments. Please contact us should you require help during the Swish test account registration or a dedicated test account.
Swissbilling
Please contact Swissbilling for test information.
SwissPass
For SwissPass, please use the following credentials:
- SwissPass card number:
S48681516807
- ZIP-Code
3000
- Phone number
+41781234567
- E-mail:
any e-mail address
- Code:
1111
Twint
To test Twint payments, you will need to download a test app and go through the registration process again using a Swiss mobile phone number. Productive Twint apps will not allow you to test Twint payments. You can open the following links to download the so-called 'TWINT Configurator' and, finally the test application:
- Configurator Android: dtrx.ch/twint-android
- Configurator iOS: dtrx.ch/twint-ios
Please select the PAT environment for your Twint tests via Datatrans. To top up your test account, you will require voucher codes. You may contact us to receive test vouchers for Twint. For some payment flows to work, you may have to complete an account verification at Twint and contact their support to activate your Twint account.
Vipps
To test Vipps, you must download a test app from Vipps and log in to their test environment. Once logged in, you must enter your phone number on the payment page and refresh the main screen of the Vipps test app. You should see a payment notification appear, which you need to accept to conclude your payment.
The instructions for downloading the Vipps test app on iOS and Android can be found on this page. You can use the phone number +47 985 29 158
to use our shared Vipps test account. The verification code and personal code are both to be set to 1236
. Please get in touch with Vipps if you require a dedicated test account.
To create a successful authorization, use the amount 5200
(simulated MasterCard). To test a soft decline, use the amount 1234
. To test a proper decline, use the amount 1235
.
Updated 6 months ago