Cancel subscription
payments_cancel_subscriptionCancel a customer subscription immediately or at cycle end, with live mode requiring explicit confirmation.
Instructions
Cancel a subscription now or at cycle end. Live mode requires confirm=true after human approval.
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": {
"provider": "<provider>",
"provider_subscription_id": "<provider_subscription_id>"
},
"name": "payments_cancel_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| provider | Yes | Gateway id | |
| at_cycle_end | No | ||
| provider_subscription_id | Yes |