Docs menu

API reference

billing.renewals.start

Renew a Site's updates

POST/api/v1/billing/renewals

Needs the billing:manage permission. As an MCP tool it is named billing.renewals.start.

Details

Keep a Site's paid items updated for another year: returns a Stripe Checkout page for its yearly renewal (the sum of its paid items' renewal prices), whose first charge waits for the end of the included year while it runs; a renewal that was cancelled but still runs is resumed in place (`url` null). Without a renewal nothing stops: the Site keeps running and keeps EmDash and security updates. Owner only, signed in in the last ten minutes. CONFLICT when the Site's updates need no renewal or it already has one.

Input

FieldTypeNotes
siteIdrequiredstring1 to 64 characters

Output

FieldTypeNotes
urlrequiredstring or null

All Operations