card_update_restrictions
Update card restrictions by setting allowed merchant categories and active weekdays. Handles SCA with inline polling or two-step flow for pending approvals.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "card_update_restrictions"
}
}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. |