Billing

Start a Stripe Checkout subscription

Session login only. Existing subscribers receive a Customer Portal URL instead, so plans change without a second subscription.

post/api/billing/checkout

Request

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

Request body

planstring required
interval'month' | 'year'

Response

Checkout or portal URL

urlstring uri required
portalboolean

True when an existing subscriber is sent to the Customer Portal instead

Changes

No recorded changes to this operation across all 1 revision of this API.