Cancel a subscription
xaalis_cancel_subscriptionCancel now (voids the unpaid invoice if checkout hasn't started) or at the end of the current period.
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>",
"at_period_end": "<at_period_end>",
"idempotency_key": "<idempotency_key>"
},
"name": "xaalis_cancel_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Subscription id (sub_…) | |
| at_period_end | Yes | true = stop after the current period | |
| idempotency_key | Yes | Stable key for this business action (e.g. order-1042). Reuse the SAME key when retrying; a new key creates a new operation. |