API reference
billing.renewals.start
Renew a Site's updates
POST/api/v1/billing/renewals
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
| Field | Type | Notes |
|---|---|---|
siteIdrequired | string | 1 to 64 characters |
Output
| Field | Type | Notes |
|---|---|---|
urlrequired | string or null |