curl -X POST 'https://api.yativo.com/api/v1/customer/virtual/cards/terminate' \
-H 'X-Api-Key: YOUR_API_KEY' \
-H 'X-Api-Secret: YOUR_API_SECRET' \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: terminate-card-001' \
-d '{
"cardId": "card_01HX9KZMB3F7VNQP8R2WDGT4E5"
}'
{
"status": "success",
"status_code": 200,
"message": "Card terminated successfully",
"data": {
"card_id": "card_01HX9KZMB3F7VNQP8R2WDGT4E5",
"status": "terminated"
}
}
Virtual Cards
Terminate Card
Permanently cancel a virtual card
POST
/
customer
/
virtual
/
cards
/
terminate
curl -X POST 'https://api.yativo.com/api/v1/customer/virtual/cards/terminate' \
-H 'X-Api-Key: YOUR_API_KEY' \
-H 'X-Api-Secret: YOUR_API_SECRET' \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: terminate-card-001' \
-d '{
"cardId": "card_01HX9KZMB3F7VNQP8R2WDGT4E5"
}'
{
"status": "success",
"status_code": 200,
"message": "Card terminated successfully",
"data": {
"card_id": "card_01HX9KZMB3F7VNQP8R2WDGT4E5",
"status": "terminated"
}
}
Permanently terminates a virtual card. This action is irreversible. Withdraw any remaining balance before terminating.
POST https://api.yativo.com/api/v1/customer/virtual/cards/terminate
Requires an
Idempotency-Key header.curl -X POST 'https://api.yativo.com/api/v1/customer/virtual/cards/terminate' \
-H 'X-Api-Key: YOUR_API_KEY' \
-H 'X-Api-Secret: YOUR_API_SECRET' \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: terminate-card-001' \
-d '{
"cardId": "card_01HX9KZMB3F7VNQP8R2WDGT4E5"
}'
{
"status": "success",
"status_code": 200,
"message": "Card terminated successfully",
"data": {
"card_id": "card_01HX9KZMB3F7VNQP8R2WDGT4E5",
"status": "terminated"
}
}
Card termination is permanent and cannot be undone. Withdraw remaining funds before terminating.
Authorizations
Your API key (yativo_pk_...) from Developers → API Keys. Send together with X-Api-Secret.
Your API secret (yativo_sk_...), shown once when the key is created.
Headers
A unique string per request to ensure idempotent processing.
Body
application/json
The virtual card ID to terminate.

