latestOpenAPI 3.0.12026-08-104068226.2 KB
a772504dcc9e
Cards servicing
Close a card
Closes the card with the ID specified in the request URL.<br> Note: this action cannot be undone.<br> In order to be closed, the card must have one of the following statuses: <ul> <li>ACTIVE</li> <li>BLOCKED</li> <li>COUNTERFEIT_CARD</li> <li>FRAUD</li> <li>INACTIVE</li> <li>LOST</li> <li>NEVER_RECEIVED</li> <li>STOLEN</li> </ul>
post/v1/cards/{card_account_id}/close
Path parameters
card_account_idstring required
Request body
Example request
{
"close_reason": "CARDHOLDER_REQUEST",
"close_comment": "Closing the card due to customer request"
}Response
Successful result of the operation
Example response
[
{
"expiration_date": "2020-12-30",
"person_id": "6dceb838ea04090aaa4277c7ea8a1c78cper",
"account_id": "6cbac416a5d91aaf5e6bc9ee15d58799cacc",
"business_id": "52e6a9b8a559d842ed7d8901b0e1bf4bcbiz",
"sia_account_number": "500000001103",
"creation_date": "2022-05-01",
"id": "2b890724292e287935420a2ca13ae7f9mcrd",
"reference": "b92b6840d6345b11f29b598c10bae770",
"representation": {
"line_1": "SLY STALLONE",
"line_2": "TEST COMPANY GMBH",
"masked_pan": "537458******4567",
"formatted_expiration_date": "09/22"
}
}
]