request_subscription
Set up a recurring subscription mandate (e.g. Netflix at up to $16/month).
Requires the user's explicit one-time approval — returns an approval_url. The mandate is
merchant-locked and capped: the merchant can never charge more than `cap` per period, and the
user can cancel anytime (after which the merchant can never charge again).
Args:
merchant: merchant to authorize (e.g. "Netflix").
cap: max amount per period in major units (e.g. 16.00).
interval: "weekly" | "monthly" | "yearly".
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": {
"merchant": "<merchant>",
"cap": "<cap>"
},
"name": "request_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cap | Yes | ||
| interval | No | monthly | |
| merchant | Yes |