Skip to content

Start a Stripe subscription with a confirmed payment method.

POST
/v1/admin/billing/subscribe
curl --request POST \
--url https://example.com/v1/admin/billing/subscribe \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "overageEnabled": true, "paymentMethodId": "example", "planKey": "example" }'
Media typeapplication/json
object
overageEnabled

Allow metered usage beyond the quota (billed per plan prices).

boolean
paymentMethodId
required

Stripe PaymentMethod id returned by the confirmed SetupIntent.

string
planKey
required
string

Example generated

{
"overageEnabled": true,
"paymentMethodId": "example",
"planKey": "example"
}