Upgrade subscription
Upgrade the current subscription.
Authorizations
Body
billingCyclestring · enumRequiredPossible values:
Selects the billing frequency for the subscription. Either 'monthly' for regular monthly charges or 'yearly' for annual billing with a potential discount.
successUrlstringRequired
URL to redirect the user to after a successful checkout process.
cancelUrlstringRequired
URL to redirect the user to after the checkout process is canceled.
Responses
302
A redirect to the payment portal
post
POST /v1/api/user/subscription/upgrade HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 65
{
"billingCycle": "monthly",
"successUrl": "text",
"cancelUrl": "text"
}
302
A redirect to the payment portal
No content
Last updated
Was this helpful?