Set up saved-card permission
create_card_authorizationCreate an offline-sandbox Stripe SetupIntent tied to this authenticated machine after explicit saved-card consent. Call card_payment_terms first, then complete the returned client_secret with Stripe.js and call sync_card_authorization; this call stores consent and limits but does not charge the card. Reuse idempotency_key on retries and never send PAN/CVC to this tool.
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": {
"payment_authorized": "<payment_authorized>",
"consent_version": "<consent_version>",
"per_purchase_cents": "<per_purchase_cents>",
"per_day_cents": "<per_day_cents>"
},
"name": "create_card_authorization"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid_days | No | ||
| per_day_cents | Yes | ||
| consent_version | Yes | ||
| idempotency_key | No | ||
| payment_authorized | Yes | ||
| per_purchase_cents | Yes |