Billing
Create Upgrade Link
Changed onCreate a new-subscription checkout URL for a user-chosen plan, or omit plan to get the existing Stripe customer's billing portal (returns 400 otherwise). Passing plan for an active existing subscription can change its plan and charge a prorated payment immediately; obtain explicit approval for that charge. The returned URL may be a checkout, hosted invoice, confirmation, or billing portal URL and alone does not confirm payment. Requires API key with billing:write permission.
post/v1/billing/upgrade-link
Request
- Base URLhttps://api.migma.ai
- URLhttps://api.migma.ai/v1/billing/upgrade-link
- AuthAPI key in header Authorization
Request body
Response
Billing link created
Changes
- info
endpoint added
- info