Billing

Create Checkout Session

Changed on
post/api/v1/billing/checkout-session

Request

  • Base URL
    https://api.inkbox.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.inkbox.ai/api/v1/billing/checkout-session
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer

Request body

plan'free' | 'hobbyist' | 'developer' | 'startup' | 'enterprise' required
startup_variant'outbound'

Startup only: the supported $200 dedicated-line option. The fixed value is 'outbound'; ignored for other plans.

interval'month' | 'year'
success_urlstring required

Absolute URL Stripe returns to after a completed checkout. Must be https on an inkbox.ai host (localhost allowed in dev).

cancel_urlstring required

Absolute URL Stripe returns to if the user cancels checkout. Same host restrictions as success_url.

Response

Successful Response

urlstring required

Stripe Checkout session URL.

Changes

    • info

      added to the response body allOf list for the response status

    • info

      removed subschema #1 from the response body allOf list for the response status

    • info

      added subschema #1 to the response body allOf list for the response status

    • info

      removed from the response body allOf list for the response status