post/billing/checkout

Request

  • Base URL: https://api.useanima.sh/v1
  • URL: https://api.useanima.sh/v1/billing/checkout
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Request body

tier'starter' | 'growth' | 'enterprise' required

Target subscription tier to upgrade or switch to

interval'month' | 'year'

Billing cadence. Annual is ~17% cheaper; Free has no annual price.

successUrlstring uri

URL to redirect to after successful checkout

cancelUrlstring uri

URL to redirect to if the user cancels checkout

Response

OK

urlstring uri nullable required

Stripe-hosted session URL, null if session creation failed

Changes

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