admin
subscriptions

Create Admin Checkout Session

post/api/v3/admin/subscriptions/checkout-session

Request

  • Base URL
    https://api.endless.health (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Request body

organization_idinteger required
subscription_variation_idstring required
user_idinteger required
provider'SQUARE' | 'STRIPE'
price_overrideinteger nullable

Price override in cents (e.g., 1000 = $10.00). Use null to use the default price from the subscription variation.

redirect_urlstring uri nullable

URL to redirect after checkout completion. Must be a valid HTTP/HTTPS URL.

Example request

{
  "organization_id": 0,
  "provider": "SQUARE",
  "redirect_url": "https://example.com/redirect",
  "subscription_variation_id": "123",
  "user_id": 0
}

Response

Successful Response

statusstring required
messagestring required
dataobject required

Changes

No recorded changes to this operation across all 2 revisions of this API.