Skip to main content
POST
/
v1
/
three-ds
/
challenge-result
Get 3DS challenge result
curl --request POST \
  --url https://api-global.fastpaybrasil.com/v1/three-ds/challenge-result \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "authenticationId": "3ds_auth_123456"
}
'
{
  "type": "full",
  "state": "success",
  "cryptogram": "Vt5xwasruB0Q6qRoG9mpzdRPqQs=",
  "directoryServerTransactionId": "607bb317-8d24-45a7-a3c0-7ae1fdca56d0",
  "threeDsServerTransactionId": "59588a8b-955e-4aa8-bae1-338bbfdba8fa",
  "acsTransactionId": "6bf18a7a-3a7b-488f-bce1-3da96c73e746",
  "eci": "05",
  "version": "2.2.0"
}

Authorizations

Authorization
string
header
required

HTTP Basic authentication. Use your secret key as the username and an empty string as password. The API key should be base64 encoded in the format 'username:' when sending the Authorization header.

Body

application/json
authenticationId
string
required

3DS Authentication ID

Example:

"3ds_auth_123456"

Response

Challenge result retrieved successfully

Final result of a 3DS challenge, including data needed to complete the charge.

type
string

Type of 3DS authentication

Example:

"full"

state
enum<string>

Authentication state

Available options:
success,
failure,
unenrolled,
error,
unsupported_brand,
disabled
Example:

"success"

cryptogram
string | null

CAVV / Authentication Value

Example:

"Vt5xwasruB0Q6qRoG9mpzdRPqQs="

directoryServerTransactionId
string | null

Directory Server Transaction ID

Example:

"607bb317-8d24-45a7-a3c0-7ae1fdca56d0"

threeDsServerTransactionId
string | null

3DS Server Transaction ID

Example:

"59588a8b-955e-4aa8-bae1-338bbfdba8fa"

acsTransactionId
string | null

ACS Transaction ID

Example:

"6bf18a7a-3a7b-488f-bce1-3da96c73e746"

eci
string | null

Electronic Commerce Indicator

Example:

"05"

version
string | null

3DS protocol version

Example:

"2.2.0"