Delete card from vault
DELETE/cards/:cardId
The purpose of this endpoint is to perform the deletion of a card saved in the card vault.
Requestβ
Path Parameters
cardId uuidrequired
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
- 415
- 500
No Content
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)
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"
}
]
}
Unsupported Media Type
- 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": "Request object is invalid or incorrectly formatted",
"success": false,
"errors": null
}
Internal Server Error
- 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": "Internal Server Error",
"success": false,
"errors": null
}
Loading...