Merchant is enabled for multi payment tokens (paymentProcessorName : First Data RapidConnect TCP, supportsMultiPayToken : True). Customers provide credit card details for first order, payment is processed successfully (with Developer Pay API) and credit card token is saved as vaulted card on customer record. For next order we try to process payment with vaulted card but get "TOKEN FAILURE" error from https://api.clover.com/v2/merchant/YYYYYYYYY/pay
Request:
{
"orderId": "XXXX",
"currency": "USD",
"amount": 1045,
"tipAmount": 157,
"taxAmount": 95,
"last4": "XXX",
"first6": "XXX",
"zip": null,
"expMonth": null,
"expYear": null,
"cvv": null,
"cardEncrypted": null,
"vaultedCard": {
"token": "ZZZZZZZZZZZZ",
"first6": "XXX",
"last4": "XXX",
"expirationDate": "XXX"
}
}
Response:
{
"paymentId": "XXXX",
"result": "DECLINED",
"failureMessage": "TOKEN FAILURE"
}
What can be the reason for the error ?