Set how many of one status page extra the account holds.
const url = 'https://api.siteqwality.com/billing/status-page-extras';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"pack_id":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","billing_interval":"example","idempotency_key":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","quantity":1,"proration_date":1}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.siteqwality.com/billing/status-page-extras \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "pack_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "billing_interval": "example", "idempotency_key": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "quantity": 1, "proration_date": 1 }'Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
"month" or "year"; must match the rest of the subscription.
Client-generated, stable across retries of one confirm attempt.
Units to hold, 0 to 100. Zero removes the extra at the end of the period.
Example generated
{ "pack_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "billing_interval": "example", "idempotency_key": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "quantity": 1, "proration_date": 1}Responses
Section titled “ Responses ”Extra bought or increased (now, once paid), reduction scheduled for period end, or payment required
object
Retained for symmetry with change-plan, whose older clients read it.
The same statuses as change-plan: "updated" when the change is
live, "requires_payment" when the customer must confirm a payment
first, "scheduled" for a cheaper tier (applied at effective_at),
and "scheduled_change_cancelled" when re-picking the current tier
canceled a scheduled change.
For scheduled: when the change takes effect.
For requires_payment: lets the payment sheet offer the saved cards.
Example generated
{ "success": true, "status": "example", "client_secret": "example", "stripe_subscription_id": "example", "effective_at": "2026-04-15T12:00:00Z", "customer_session_client_secret": "example"}Invalid interval or quantity, unknown pack, not a status page extra, off sale, or already held
Missing or invalid authentication
Caller is not a super admin
The subscription is set to end, money is outstanding, the interval differs, or no Stripe customer
Internal server error