card_update_restrictions
Modify a card's active days and merchant categories. Automatically handles Strong Customer Authentication via inline polling or pending response for retry.
Instructions
Update a card's restrictions (active days, merchant categories). SCA: this operation may require Strong Customer Authentication; the tool polls inline by default (wait=30s) and falls back to a structured pending response so the caller can continue via sca_session_show + sca_session_token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Card ID (UUID) | |
| wait | No | Maximum seconds (0-120) to poll inline for SCA approval before returning a structured pending response. Use false or 0 for a pure two-step flow (return immediately on SCA required). Default 30. | |
| categories | No | Allowed merchant categories (empty array disables) | |
| active_days | No | Active weekdays (1=Monday, 7=Sunday) | |
| sca_session_token | No | SCA session token from a prior call to bind a previously approved SCA challenge to this retry. When set, no polling occurs and the operation runs exactly once with the token attached. |