set_autorenew
Stop this lease charging the customer's card again, or start it again. Only a card subscription can be stopped — a bank transfer is a payment the customer sends us, so there is nothing of ours to cancel. Stopping is not a cancellation: the lease runs to the end of the period already paid for, and the same call turns it back on.
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": {
"access_token": "<access_token>",
"enabled": "<enabled>"
},
"name": "set_autorenew"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | false stops the next charge, true resumes it. | |
| access_token | Yes | Returned by order_lease. The only credential for a lease. |