Endpoint responsible for returning the status of a 3ds challenge.
GET/charge/3ds/:chargeId/status
If the seller needs to retrieve the status of a challenge, it can be done through this endpoint.
Requestβ
Path Parameters
chargeId stringrequired
Header Parameters
caller-origin string
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.
Responsesβ
- 200
- 400
- 401
- 404
- 502
OK
- application/json
- Schema
- Example (from schema)
Schema
hasChallenged booleanrequired
Confirms if the charge has challenge
status stringrequired
{
"hasChallenged": true,
"status": "CREATED,AUTHENTICATED,REJECTED, FAILED"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
message stringrequired
success booleanrequired
errors
object[]
message string
field string
{
"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 [
]
message stringrequired
success booleanrequired
errors
object[]
message string
field string
{
"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"
}
}
Not found
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
message stringrequired
success booleanrequired
errors
object[]
message string
field string
{
"message": "string",
"success": true,
"errors": [
{
"message": "must be a well-formed UUID string",
"field": "merchantChargeId"
}
]
}
{
"message": "charge not found with chargeId: {chargeId}",
"success": false
}
Bad Gateway
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
message stringrequired
success booleanrequired
errors
object[]
message string
field string
{
"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
}
Loading...