post https://evaluation-api.azpay.services/v1/token/retrieve
Through this endpoint is possible to retrieve a credit card Token
Important!
Keep the body params following the same sequence as you see above!
{
"TokenCard": "0de3b2ca40b4c628f4bccd554c0dfa6621d6b77139c6e7e20246fe4bc4f7140d",
"BIN": "539294*****1104",
"CardHolder": "Jose da Silva",
"Month": "08",
"Year": "2019",
"Flag": "mastercard",
"Address1": "",
"Address2": "",
"City": "",
"State": "",
"Zipcode": "",
"Created_at": "1550061885",
"Client": {
"id": "18",
"name": "Fulano de Tal",
"address": "Av. Rep\u00fablica do Chile, 230",
"address2": "16 Andar",
"city": "Rio de Janeiro",
"state": "RJ",
"postalCode": "20031170",
"country": "BR",
"phone": "2140099400",
"email": "[email protected]",
"status": "1",
"create_time": "1393529608",
"Store_id": "1",
"reference": "1",
"documentID": null
}
}
{
"transactionId": null,
"status": {
"code": 409,
"message": "ERROR - XML"
},
"result": {
"error": {
"code": 101,
"action": "XML",
"message": "XML ERROR",
"details": "<![CDATA[Element 'merchantKey': [facet 'minLength'] The value has a length of '0'; this underruns the allowed minimum length of '10'.\n]]>",
"moreInfo": "<![CDATA[Please check fields format and special character.]]>"
}
}
}