Start plan checkout
Open Stripe Checkout so an admin can buy the Starter or Growth plan. Needs an admin in a browser session with a recent step-up. Checkout bills the plan's price for the chosen interval (monthly, or yearly at the catalog's discount), and the workspace changes plan only once Stripe confirms the subscription to the billing webhook. A promotion code is applied up front when given; otherwise the customer may enter one on the Checkout page. A workspace that already has a subscription changes it in the billing portal, and a plan Veriom invoices changes through an upgrade request.
Open Stripe Checkout so an admin can buy the Starter or Growth plan.
Needs an admin in a browser session with a recent step-up. Checkout bills the plan's price for the chosen interval (monthly, or yearly at the catalog's discount), and the workspace changes plan only once Stripe confirms the subscription to the billing webhook. A promotion code is applied up front when given; otherwise the customer may enter one on the Checkout page. A workspace that already has a subscription changes it in the billing portal, and a plan Veriom invoices changes through an upgrade request.
workspaceTokenAuthorizationBearer <vat_<opaque-token>>Expiring, hashed workspace token with explicit scopes.
workspace_id*Workspace IduuidIdempotency-Key?|nullapplication/json- body
interval?BillingIntervalPay every month, or a year at a time at a discount.
"month""month""year"plan*Plan"starter""growth"promotion_code?|A promotion code to apply up front. Without one, the Checkout page lets the customer enter a code.
Successful Response
application/json- response
checkout_url*Checkout UrlThe Stripe Checkout page to send the browser to.
expires_at*|When the Checkout page stops accepting.
curl -X POST 'https://api.veriom.ai/v1/workspaces/497f6eca-6276-4993-bfeb-53cbbbba6f08/plan/checkout' \ -H 'Content-Type: application/json' \ -d '{ "plan": "starter"}'{ "checkout_url": "string", "expires_at": "2019-08-24T14:15:22Z"}