Requires an
Idempotency-Key header.Path Parameters
string
required
The virtual card ID.
Request Body
string
required
"freeze" to block the card, or "unfreeze" to re-enable it.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl -X PUT 'https://api.yativo.com/api/v1/customer/virtual/cards/update/card_01HX9KZMB3F7VNQP8R2WDGT4E5' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: freeze-card-001' \
-d '{ "action": "freeze" }'
curl -X PUT 'https://api.yativo.com/api/v1/customer/virtual/cards/update/card_01HX9KZMB3F7VNQP8R2WDGT4E5' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: freeze-card-001' \
-d '{ "action": "unfreeze" }'
{
"action": { ... }
}
Temporarily freeze or unfreeze a virtual card
curl -X PUT 'https://api.yativo.com/api/v1/customer/virtual/cards/update/card_01HX9KZMB3F7VNQP8R2WDGT4E5' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: freeze-card-001' \
-d '{ "action": "freeze" }'
curl -X PUT 'https://api.yativo.com/api/v1/customer/virtual/cards/update/card_01HX9KZMB3F7VNQP8R2WDGT4E5' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: freeze-card-001' \
-d '{ "action": "unfreeze" }'
{
"action": { ... }
}
PUT https://api.yativo.com/api/v1/customer/virtual/cards/update/{card_id}
Idempotency-Key header."freeze" to block the card, or "unfreeze" to re-enable it.curl -X PUT 'https://api.yativo.com/api/v1/customer/virtual/cards/update/card_01HX9KZMB3F7VNQP8R2WDGT4E5' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: freeze-card-001' \
-d '{ "action": "freeze" }'
curl -X PUT 'https://api.yativo.com/api/v1/customer/virtual/cards/update/card_01HX9KZMB3F7VNQP8R2WDGT4E5' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: freeze-card-001' \
-d '{ "action": "unfreeze" }'
{
"action": { ... }
}
