v11

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0112893437.0 KB
Subscribe

Create subscription checkout

Create a subscription checkout or billing-management URL only after the user confirms. The request never completes payment by itself.

post/subscribe

Request body

tier'starter' | 'pro' | 'business'

Subscription tier to pre-select.

Example request

{
  "tier": "pro"
}

Response

Billing URL

urlstring uri required
status'checkout_created' | 'already_subscribed' | 'payment_issue' required
messagestring required

Example response

{
  "url": "https://xquik.com/billing/session",
  "status": "checkout_created",
  "message": "Billing session created"
}