Raise or lower how much a card can spend per day. Send the card's current status with the new limit.
4 min read
Use this recipe to raise or lower how much a card can spend per day. You send the card's current status with the new limit.
Who it is for. A consumer app that lets Ada raise her limit for a trip, or an expense platform that caps a driver's daily spend.
Status. Available.
Money example
Ada's card has a 300 USD daily limit and 900 USD on it.
1.
Ada travels and must pay a 750 USD hotel bill. You raise the limit to 1,000 USD a day.
2.
Ada pays 750 USD. The card now holds 150 USD.
3.
After the trip, you set the limit back to 300 USD a day.
Warning
PATCH /v1/cards/{card_id}/update sets the status and the limit in one body. An update withoutlimit saves the limit as 0. In live, the card then declines every payment. In sandbox, 0 means no limit, so the card loses its cap. Always send the current status and the intended limit.
Before you start
•
The card is not blocked.
•
If your API key is scoped, it holds card:freeze or card:terminate.
400 card status changed concurrently, please retry
Two updates ran at the same time
Retry
Webhooks you will receive
Gravv sends no webhook for a limit-only change.
Testing in sandbox
Run the steps on a sandbox card and read the limit back with GET /v1/cards/{card_id}. You cannot make a card spend through the API in sandbox today, so you cannot produce a limit decline.