---
title: "Create Admin Checkout Session"
method: POST
path: "/api/v3/admin/subscriptions/checkout-session"
tags: ["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)
- URL: `https://api.endless.health/api/v3/admin/subscriptions/checkout-session`
- Auth: none declared

## Request body

- AdminSquareCheckoutRequestSchema
  - `organization_id` integer, required
  - `subscription_variation_id` string, required
  - `user_id` integer, required
  - `provider` 'SQUARE' | 'STRIPE'
  - `price_override` integer, nullable: Price override in cents (e.g., 1000 = $10.00). Use null to use the default price from the subscription variation.
  - `redirect_url` string, uri, nullable: URL to redirect after checkout completion. Must be a valid HTTP/HTTPS URL.

## Response `200`

Successful Response

- SquareCheckoutResponseSchema
  - `status` string, required
  - `message` string, required
  - `data` object, required

## Other responses

- `404`: Not found
- `422`: Validation Error

---

[API](https://skmtc.dev/endless/apis/eh-core-v3-api-prod.md) - [All operations](https://skmtc.dev/endless/apis/eh-core-v3-api-prod/llms.txt) - [OpenAPI document](https://skmtc.dev/endless/apis/eh-core-v3-api-prod/revisions/9046a1eb2d0c?raw)
