renew_lease
Raise an invoice for another term and keep the same addresses. This is how a trial becomes a paying customer: the address does not change, so whatever the customer's partner has already allowlisted goes on working. A trial cannot renew into itself, so name the plan to move to — called without one it returns the plans that can be moved to. Pressing it twice quotes the same reference rather than raising a second invoice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | No | Slug from list_plans. Defaults to the plan the lease is already on; required to leave a trial. | |
| access_token | Yes | Returned by order_lease. The only credential for a lease. |