alt

Important information

The API reference is now available here.
The deprecated API reference is available here.

Unzer

Test data

Use the test data to test your integration for different payment methods.

Use the test data for checking your integration and payment workflows for different payment methods that you want to offer to your customers.

Overview

To make testing the Unzer API easier, you can use the following test data for each of the supported payment methods. You can test each use case before processing live payment information. You also need your test API keys for processing the test transactions.

Customer data
Never use real-time customer data for testing purposes. Use the following test accounts for your use cases.

Credit card

Brand Number Expiry Date CVC 3DS password Result
AMEX 375000000000007 Any future date 1234 NA Successful payment
AMEX (3D) 374500262001008 Any future date 1234 NA Successful payment
Diners 36168002586009 Any future date 123 NA Successful payment
Maestro 6799851000000032 Any future date 123 NA Successful payment
Mastercard 5453010000059543 Any future date 123 secret3 Successful payment
Visa 4711100000000000 Any future date 123 secret3 Successful payment
Visa 4012001037461114 Any future date 123 secret3 Successful payment

Customer test data

Customer with a positive credit rating

Field Test value
firstname Manuel
lastname Weißmann
name Manuel Weißmann
street Hugo-Junckers-Straße 3
state DE-BO
zip 60386
city Frankfurt am Main
country DE

If you want a different shipping address, use this data:

Field Test value
firstname Michaela
lastname Junghens
name Michaela Junghens
street Burgstraße 106
state DE-BO
zip 60386
city Frankfurt am Main
country DE

Customer with a negative credit rating

Field Test value
firstname Adalbert
lastname Zeisig
name Adalbert Zeisig
street Hugo-Junckers-Straße 7
state DE-BO
zip 60386
city Frankfurt am Main
country DE

Credit rating rules

Return code lastname starts with Description
21000 Z Payment guarantee case
21500 L Limit exceeded
22000 S
firstname starts with A to I
Negative
23000 S
firstname starts with J to Z
Negative

You will get negative credit rating if lastname starts with L, P, S or Z.

Alipay

Username Password
keychain 123

Apple Pay

Apple Inc. offers a separate page with Apple Pay sandbox data. Note that we only support Mastercard and Visa credit cards for Apple Pay. Currently, cards from Discover and American Express are declined by our payment system. You must only use the credit cards that are available on the Apple Pay sandbox data for testing Payments in our Test System.

EPS

The best way to test EPS is to create an empty EPS resource (without BIC) and execute a charge. After that, you’ll get a redirect link to the EPS bank selection page.

You can request test access for your bank by reaching out to your bank and entering an EPS online banking agreement.

You can also use this test data:

Username Password
1003993 rX/'PvZzIW?&

Giropay

Field Test value
Bank number 12345679
Account number 0000000300
IBAN DE46940594210000012345
BIC TESTDETT421
USER chiptanscatest2
USER_PIN 12345
USER_TAN 123456
(needed 2 times)
TAN mechanism optical Chip-TAN mechanism

iDEAL

Field Test value
ACCOUNT.BANKNAME ING_TEST
Bank number 00000
Account number 123456
USER_PIN 123456
USER_TAN 12345

PayPal

Username Password
paypal-buyer@unzer.com unzer1234

Create your own PayPal test account.

Przelewy24

Przelewy24 test credentials are pre-filled by default. When testing, click Pay.

Sofort

Field Test value
Bank number 00000
Account number 0000000300
USER_PIN 123456
USER_TAN 12345

German test bank

Field Test value
Bank code 37040044
Account number 5320130
IBAN DE89370400440532013000
BIC COBADEFFXXX
Recipient data Any valid data

Austrian test bank

Field Test value
Bank code 88888
BIC TESTAT88XXX
IBAN AT591400000000123456
Recipient data Any valid data

PIN

When you are prompted to enter an account number and an online banking PIN, you can use the following options to force certain behaviors.

Enter one of the following keywords in the PIN field, and proceed:

PIN keyword Description
accounts Displays the account selection step with more than one account available.
autosubmit Display a form that simulates waiting for authorization from an external source, for example, customer uses a token device.
business Returns business accounts instead of private accounts by returning business accounts and turnovers.
config Allows you to configure some custom settings for testing various settings, for example, turnover types, holder names etc.
forms Allows you to choose from some prepared forms with various UI Fields of the Wizard.
next Displays a sign in next step.
no-account A transaction without a valid account type.
no-standing-orders The chosen account has no standing orders.
no-turnovers No turnovers.
negative-balance A transaction with a negative account balance.
slow Slows down the transaction considerably.
with-chargeback Generates a turnover that indicates a chargeback.
with-credit-card Adds a credit card to the list of accounts.
with-seizure Generates an account under seizure.
wrong Provokes a login error.

Unzer Direct Debit

Field Test value
Bank number 37040044
Account number 5320130
IBAN DE89370400440532013000
BIC COBADEFFXXX
Country IBAN BIC
Germany DE89370400440532013000 COBADEFFXXX
Austria AT591400000000123456 BAWAATWW

Unzer Invoice

Field Test value
Salutation MR
Name Maximilian Mustermann
Birth date 1980-11-22
Street Hugo-Junkers-Str. 3
City Frankfurt am Main
ZIP 60386
Country DE

[Deprecated] Unzer Invoice Secured

Field Test value
Salutation MR
Name Maximilian Mustermann
Birth date 1980-11-22
Street Hugo-Junkers-Str. 3
City Frankfurt am Main
ZIP 60386
Country DE

WeChat Pay

Field Test value
Username keychain
Password 123