billing

Purchase pass

Buy a Litos+ pass with a payment the student approved in this conversation: the payment method or card token (pm_... or tok_...) of a one-time Stripe Link card, or a Stripe shared payment token (spt_...) where the seller account supports it. Charges the exact pass price once and grants access immediately; a pass bought while one is active starts when the current one ends. Retry with the same idempotency_key after a timeout; it never charges twice.

post/v1/purchase_pass

Request

  • Base URL: https://api.trylitos.com
  • URL: https://api.trylitos.com/v1/purchase_pass
  • Auth: OAuth 2 (authorization code, authorization URL https://api.trylitos.com/oauth/authorize, token URL https://api.trylitos.com/oauth/token, scopes: billing:write)

Request body

plan_id'litos_plus_week' | 'litos_plus_month' | 'litos_plus_quarter' required
idempotency_keystring uuid required

A UUID chosen once per purchase attempt

Response

The operation's result. Shapes mirror the Litos dashboard routes they proxy.

object required

Changes

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