Freeze a card while it is missing, unfreeze it when the cardholder finds it, or block a stolen card for good and issue a replacement on the same balance.
5 min read
Use this recipe to freeze a card while it is missing and unfreeze it when the cardholder finds it. If the card is stolen, block it for good and issue a replacement that spends the same balance.
Who it is for. Any issuer whose cardholder taps "freeze card" or reports the card stolen.
Status. Available.
Money example
Ada's card holds 131.25 USD with a 300 USD daily limit.
1.
Ada cannot find her phone, so you freeze the card. balance shows 0, and group_balance still shows 131.25.
2.
Ada finds her phone, so you unfreeze the card. balance is 131.25 again.
3.
Later the card is stolen. You issue a new card, which spends the same 131.25 USD, and then block the stolen one.
Before you start
Read the card. GET /v1/cards/{card_id} returns the current status and spending_controls.daily_transaction_limit. Every update must send that limit back.
The table lists the status changes the API allows.
From
Allowed moves
active
freeze, blocked
freeze
active, blocked
inactive
active, blocked
blocked
None. blocked is final
If your API key is scoped, it needs card:freeze or card:terminate.
Find out what is required
A freeze is reversible, and a block is permanent. Issue the replacement before you block the stolen card: in sandbox, blocking the last card on a balance sends that balance back to the card account, so a replacement created afterwards starts at 0. In live, the money stays on a blocked card, so if you will not replace it, withdraw the money first. See What happens to the balance and Close a card and get the money back.
You receive cards.status.update for every real change, with event_data.card.status (freeze, active, blocked), card.last4 and card.id. Gravv sends no webhook for a call that keeps the same status.
Every status change works in sandbox. Gravv sends one cards.status.update for each real change, 20 to 60 seconds later. A frozen card shows balance 0 and the full group_balance.