Endpoint responsible for configuring the 3DS Enrollment stage
POST/charge/3ds/enrollment
Enrollment is the stage where the Gateway sends the cardholder's address information, device used, and card details to the 3DS Provider. The 3DS Provider will check with the Issuer whether a challenge is required or if the transaction will be authenticated without it.
Request​
Header Parameters
Include the 'caller-origin' property as a string in the header of REST requests only if the application is an e-commerce platform, otherwise, don't include it.
- application/json
Body
required
Array [
]
Array [
]
customer
object
Related customer (buyer).
Possible values: non-empty
, Value must match regular expression ^[\p{L} ]+$
Customer's name.
Possible values: Value must match regular expression ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$
Customer's e-mail.
Possible values: [CPF
, CNPJ
, PASSPORT
]
Possible values: Value must match regular expression ^\d{9}$|^\d{11}$|^[A-Z0-9]{9}$
Customer's CPF, CNPJ or PASSAPORT. Must match.
phone
object
Customer phone number.
Possible values: <= 3 characters
, Value must match regular expression ^[0-9]+$
Possible values: <= 3 characters
, Value must match regular expression ^[0-9]+$
Possible values: Value must match regular expression ^[0-9]+$
Possible values: [RESIDENTIAL
, COMMERCIAL
, TEMPORARY
, MOBILE
]
Enum [RESIDENTIAL(Telefone Residencial.), COMMERCIAL(Telefone Comercial.), TEMPORARY(Telefone Temporário.), MOBILE(Celular)]
Possible values: Value must match regular expression ^(?!\s*$)[\p{L}\d .-]+$
threeDomainSecureSettings
object
acquirerBinByCardBrands
object[]
required
browser
object
transactions
object[]
required
boarding
object
card
object
Possible values: Value must match regular expression ^(?!\s*$)[\p{L}\d .-]+$
Possible values: Value must match regular expression ^(?!\s*$)[\p{L}\d .-]+$
Possible values: [VISA
, MASTERCARD
, AMEX
, ELO
, HIPERCARD
]
Possible values: non-empty
, Value must match regular expression ^[\p{L} ]+$
Possible values: Value must match regular expression ^\d{11}$|^\d{14}$|^[A-Z0-9]{8}$
Possible values: >= 3 characters
and <= 4 characters
, Value must match regular expression ^\d+$
billingAddress
object
Possible values: Value must match regular expression ^(?!\s*$)[\p{L}\d .-]+$
Possible values: Value must match regular expression ^[0-9]+$
Possible values: Value must match regular expression ^[\p{L} ]+$
Possible values: Value must match regular expression ^[\p{L} ]+$
Possible values: >= 2 characters
and <= 2 characters
, Value must match regular expression ^[\p{L} ]+$
Possible values: Value must match regular expression ^[\p{L} ]+$
Possible values: Value must match regular expression ^[0-9]+$
Possible values: Value must match regular expression ^(?!\s*$)[\p{L}\d .-]+$
shipping
object
Possible values: Value must match regular expression ^(?!\s*$)[\p{L}\d .-]+$
Possible values: Value must match regular expression ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$
shippingAddress
object
Possible values: Value must match regular expression ^(?!\s*$)[\p{L}\d .-]+$
Possible values: Value must match regular expression ^[0-9]+$
Possible values: Value must match regular expression ^[\p{L} ]+$
Possible values: Value must match regular expression ^[\p{L} ]+$
Possible values: >= 2 characters
and <= 2 characters
, Value must match regular expression ^[\p{L} ]+$
Possible values: Value must match regular expression ^[\p{L} ]+$
Possible values: Value must match regular expression ^[0-9]+$
Possible values: Value must match regular expression ^(?!\s*$)[\p{L}\d .-]+$
phone
object
Customer phone number.
Possible values: <= 3 characters
, Value must match regular expression ^[0-9]+$
Possible values: <= 3 characters
, Value must match regular expression ^[0-9]+$
Possible values: Value must match regular expression ^[0-9]+$
Possible values: [RESIDENTIAL
, COMMERCIAL
, TEMPORARY
, MOBILE
]
Enum [RESIDENTIAL(Telefone Residencial.), COMMERCIAL(Telefone Comercial.), TEMPORARY(Telefone Temporário.), MOBILE(Celular)]
Responses​
- 200
- 400
- 401
- 502
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Charge ID defined by system
Possible values: [Undefined
, Authorized
, PreAuthorized
, Canceled
, Partial
, NotAuthorized
, PendingCancel
, Expired
, Timeout
]
transactions
object[]
required
Possible values: [Approved
, Rejected
, Challenged
]
{
"chargeId": "string",
"chargeStatus": "NotAuthorized",
"transactions": [
{
"cardholderAuthenticationVersion": "string",
"cardholderAuthenticationStatus": "Challenged",
"stepUpUrl": "https://centinelapistag.cardinalcommerce.com/V2/Cruise/StepUp",
"needRunAntifraud": true,
"pan": "string",
"accessToken": "string",
"heightChallenge": "string",
"widthChallenge": "string"
}
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
errors
object[]
{
"message": "string",
"success": true,
"errors": [
{
"message": "must be a well-formed UUID string",
"field": "merchantChargeId"
}
]
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
errors
object[]
{
"message": "string",
"success": true,
"errors": [
{
"message": "must be a well-formed UUID string",
"field": "merchantChargeId"
}
]
}
{
"message": "Authorization token not found.",
"success": false,
"errors": {
"message": "Authorization token not found",
"field": "Authorization Token"
}
}
Bad Gateway
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
errors
object[]
{
"message": "string",
"success": true,
"errors": [
{
"message": "must be a well-formed UUID string",
"field": "merchantChargeId"
}
]
}
{
"message": "Error when making an external call, try again later.",
"success": false,
"errors": null
}