Get prepaid card details
GET/customers/:customerId/prepaid/cards/:cardId/details
Card sensitive information can be retrieved via this endpoint.
The API is only available if you are PCI DSS compliant. Contact your Implementation Manager for details.
Request
Path Parameters
UUID based Card id.
Id of the customer.
Responses
- 200
- 404
- 500
OK
- application/json
- Schema
- Example (from schema)
- PREPAID_CARD_SENSITIVE_DETAILS
Schema
The card PAN.
Possible values: >= 3 characters
and <= 3 characters
The card CVV.
expiry
object
required
Card expiry date.
The month of the card expiry date.
The year of the card expiry date.
The card holder name.
{
"pan": "4748365822915043",
"cvv": "233",
"expiry": {
"month": 3,
"year": 2028
},
"cardHolderName": "Mollie Bazhaev"
}
{
"pan": "4748365822915043",
"cvv": "233",
"expiry": {
"month": 3,
"year": 2028
},
"cardHolderName": "Mollie Bazhaev"
}
Not Found
- application/json
- Schema
- Example (from schema)
- CARD_NOT_FOUND
Schema
Array [
]
error
object
Represents details of an error.
The error code.
The description of the error.
Details for the errors of any parameter value.
fieldErrors
object[]
List of field errors associated with the main error.
Identifies the JSON request field.
The problem associated with the field.
{
"error": {
"code": "string",
"message": "string",
"details": [
"string"
],
"fieldErrors": [
{
"field": "string",
"error": "string"
}
]
}
}
{
"error": {
"code": "5269",
"message": "Entity not found",
"details": [
"The ID(s) specified in the URL do not correspond to the values in the system."
],
"fieldErrors": []
}
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- INTERNAL_ERROR
Schema
Array [
]
error
object
Represents details of an error.
The error code.
The description of the error.
Details for the errors of any parameter value.
fieldErrors
object[]
List of field errors associated with the main error.
Identifies the JSON request field.
The problem associated with the field.
{
"error": {
"code": "string",
"message": "string",
"details": [
"string"
],
"fieldErrors": [
{
"field": "string",
"error": "string"
}
]
}
}
{
"error": {
"code": "DW-INTERNAL-SERVER-ERROR",
"message": "Internal Server Error.",
"details": [
"Internal Server Error."
],
"fieldErrors": []
}
}