Skip to main content

Checkout a feature or subscription

Checkout a feature to buy it one time or start a subscription plan on a billing account.

Path Parameters
    orgId string required
    billingId string required

    ID of the billing account to update the subscription for

Request Body required
    successUrl string
    cancelUrl string
    subscriptionBody object
    plan string
    trailDays int32
    featureBody object
    feature string
Responses

A successful response.


Schema
    checkoutSession object
    id string
    checkoutUrl string
    successUrl string
    cancelUrl string
    state string
    metadata object
    createdAt date-time
    updatedAt date-time
    expireAt date-time
Loading...