Billing

Create hosted checkout for a plan

Changed on

Returns a hosted human-consent URL for the target plan. Requires billing.manage.

post/billing/checkout

Request

  • Base URL: https://api.cavuno.com/v1
  • URL: https://api.cavuno.com/v1/billing/checkout
  • Auth: HTTP bearer

Request body

planKey'starter' | 'basic' | 'grow' | 'advanced' | 'scale' | 'enterprise' required

Self-serve plan key. enterprise is not self-serve and returns plan_not_self_serve.

interval'monthly' | 'annual'

Billing interval. Defaults to monthly when omitted.

Response

Hosted checkout session created.

object'billing_checkout' required
urlstring uri required

Short-lived hosted checkout URL.

planKey'starter' | 'basic' | 'grow' | 'advanced' | 'scale' | 'enterprise' required

Self-serve plan key. enterprise is not self-serve and returns plan_not_self_serve.

interval'monthly' | 'annual' required

Changes