Skip to main content
PUT
Freeze or unfreeze a virtual card. A frozen card declines all transactions until it is unfrozen.
Requires an Idempotency-Key header.

Authorizations

X-Api-Key
string
header
required

Your API key (yativo_pk_...) from Developers → API Keys. Send together with X-Api-Secret.

X-Api-Secret
string
header
required

Your API secret (yativo_sk_...), shown once when the key is created.

Headers

Idempotency-Key
string
required

A unique string per request to ensure idempotent processing.

Path Parameters

card_id
string
required

The virtual card ID.

Body

application/json
action
enum<string>
required

"freeze" to block the card, or "unfreeze" to re-enable it.

Available options:
freeze,
unfreeze

Response

Card status updated

The response is of type object.