Request for authorization in the 3DS flow
POST/charge/3ds/authorization
Performs the authorization of a charge in the 3DS flow
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 [
]
SmartCheckout ID defined by the system (Required to default or lightBox checkout)
transactions
object[]
required
Possible values: [NONE
, MERCHANT
]
Default value: NONE
Enum [ NONE(Spot transaction), MERCHANT(Transaction in installments by the merchant, i.e. without interest)]
card
object
required
Responsesβ
- 200
- 400
- 401
- 502
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
charge
object
required
transactions
object[]
required
card
object
required
{
"charge": {
"id": "string",
"nsu": "string",
"customerId": "string",
"chargeStatus": "string",
"transactions": [
{
"isApproved": true,
"card": {
"number": "string",
"brand": "string"
},
"paymentType": "string",
"installmentType": "string",
"installmentNumber": 0,
"softDescriptor": "string",
"amount": 0,
"isCapture": true,
"isRecurrency": true,
"transactionId": "string",
"transactionStatus": "string",
"acquirer": "string",
"creationDateTime": "string",
"captureDateTime": "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
}