The documentation says:
Please use the following credit card number: 5105105105105100 the CVV is any 3-digit number you can choose on your own. It is important that you use only the following expiration dates of the credit card to get back the complete entry error code.
07/2021 40301 RESPONSE_DATA_3D_AMOUNT_CURRENCY_MISMATCH
Currency or amount mismatch
But my request with the «5105105105105100» card and with the «07/2021» expiration data does not fail in the test mode:
paymill.createToken({
"amount_int": 12580,
"cardholder": "DMITRY FEDYUK",
"currency": "EUR",
"cvc": "111",
"exp_month": "7",
"exp_year": "2021",
"number": "5105105105105100"
},
function(error, response) {
/*
The request should fail, but it is not!
error is null
response is an object:
{
"token": "tok_40301_eac64d540186b02221439c",
"bin": "510510",
"binCountry": "DE",
"brand": "MASTER",
"last4Digits": "5100",
"ip": "80.147.111.188",
"ipCountry": ""
}
*/
});