update_card_limit
Change a multi-use card's total spending limit. Raising it reserves the extra amount from the user's cash balance (top up with add_funds if short); lowering it frees the difference, but the new limit can never go below what the card has already spent. Single-use cards cannot be resized.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card_id | Yes | The multi-use card ID to resize. | |
| approval_id | No | Approval id from a prior approval_required response, once the user has approved. Only for cards created through ANOTHER app: first call without it (the user is emailed an approve link), then retry with it. | |
| new_limit_cents | No | Deprecated alias for spend_limit_cents. Prefer spend_limit_cents (matches the docs and the REST API). | |
| spend_limit_cents | No | The new TOTAL spending limit in cents (minimum 100). This is the lifetime cap, not a delta: a card that spent $20 of a $50 limit, resized to 8000, can spend $60 more. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cardId | No | The card ID. | |
| status | No | "updated" on success; an error discriminator otherwise (e.g. "limit_below_spent", "insufficient_collateral"). | |
| message | Yes | Human-readable result. | |
| balanceCents | No | The remaining spendable balance in cents. | |
| spendLimitCents | No | The new total limit in cents. |