Positive test cases with credit cards
These credit card numbers (PAN) will simulate successful payment transactions. As processing is identical for all credit card types a test with a single type is sufficient.
Note on CVC and expiry date
The expiry date should always be a date in the future.
The CVV/CVC can be any combination of 3 digits, except where stated otherwise
|Card type||Card number (PAN)||Comments|
|V (VISA)||4111111111111111||if BIN-Country-Check is activated this card will only be accepted for BIN-Country = DE|
|V (VISA)||4111121011111111||if BIN-Country-Check is activated this card will only be accepted for BIN-Country = AT|
|V (VISA)||4111131010111111||if BIN-Country-Check is activated this card will only be accepted for BIN-Country = CH|
|V (VISA)||4111141011111111116||PAN with 19 digits|
PAN with new BIN range
|A (American Express)|
|CVC must be 4 digits (e.g. "1234")|
|O (Maestro International)||67012345678901236|
|D (Diners Club)||30000000000004|
|Unknown||11111111111111116||This PAN will not be detected automatically and will return API errorcode 875|
Negative test cases with credit cards - with PAN / PPAN
Requests with credit cards resulting in response type “INVALID” and defined error code. For technical reasons all credit card numbers will result in “INVALID” and a given error code. The API may respond with “ERROR” instead of “INVALID” in some times – however the error code remains the same.
Card Issuer temporarily not available
CVC2/CVV2 mandatory, but not transmitted or invalid
Format Error in request message (e.g. CVC missing).
Card type invalid
Suspicion of Manipulation
|4222222200005100||51||Limit exceeded or account balance insufficient|
Incorrect secret code
Cancelation: Wrong card has been used as for original authorization
Terminal ID unknown
Card acceptor must contact the acquirer
Card is not allowed. Card is blocked.
Transaction amount is different from authorization.
|4222222200006504||65||Card has been used too often|
Card issuer temporarily not reachable
Payment rejected by the BIN-Check
Payment rejected due to the BIN-Country
Payment rejected by the Velocity-Cardpan-Check
Payment rejected by the Blacklist-Cardpan-Check
CreditCardCheck currently never does any communication to the acquirer. So these return codes will currently not happen in live mode and will only be detected with authorization / preauthorization.
Negative test cases with credit cards - with amount
These amounts will result in failed transactions with status "ERROR" - independent from PAN / PPAN to simulate special use cases
|amount||PAN / PPAN||Error code||Description|
|10051||any||51||Limit exceeded or account balance insufficient|
|10065||any||65||Card has been used too often|
- No labels