curl -X POST "{{base_url}}/card/terminate" \
-H "x-api-key: YOUR_CONSUMER_KEY" \
-H "Content-Type: application/json" \
-d '{"card_id": "issuer-card-id"}'
{
"code": 200,
"message": "Card terminated successfully.",
"data": null
}
Cards
Terminate card
Close a card by issuer card id.
POST
/
card
/
terminate
curl -X POST "{{base_url}}/card/terminate" \
-H "x-api-key: YOUR_CONSUMER_KEY" \
-H "Content-Type: application/json" \
-d '{"card_id": "issuer-card-id"}'
{
"code": 200,
"message": "Card terminated successfully.",
"data": null
}
Closes a card. This call takes
card_id, the issuer card id. The other card endpoints identify the card with user_id, and the card object does not include card_id.
data is the issuer result and may be null. It is not a card object.
string
required
Issuer card id.
Errors
| Message | When |
|---|---|
The card id field is required. | card_id is missing |
An unexpected error occurred. Please try again. | The card could not be terminated |
curl -X POST "{{base_url}}/card/terminate" \
-H "x-api-key: YOUR_CONSUMER_KEY" \
-H "Content-Type: application/json" \
-d '{"card_id": "issuer-card-id"}'
{
"code": 200,
"message": "Card terminated successfully.",
"data": null
}
