Para criar uma cobrança utilizando o 3DS, é necessário definir o campo authenticate
como true
, além de informar o campo externalAuthentication
dentro de creditCardPayment
Exemplo:
{
"creditCardPayment": {
"authenticate": true,
"externalAuthentication": {
"cavv": "Ag5zZ2ElCIUbLFj6gS0J9gByv//rRg5qGTqWqf8vTjt5",
"xid": "198b924ea7db1014b64c8b426a0e6f1e",
"eci": "05",
"version": "2.2",
"referenceId": "abcd1234-efgh-5678-ijkl-9012mnopqrst"
}
}
}
Para mais informações sobre o 3DS, consulte 3-D Secure