Skip to main content
POST
Create a client subscription link

Authorizations

Authorization
string
header
required

OAuth 2.1 authorization code + PKCE (S256). Tokens are tenant-bound (company_id) and scoped. Discover endpoints via /.well-known/oauth-authorization-server.

Headers

Idempotency-Key
string

Client-chosen key; replaying the same key + body returns the original response, a different body returns 409.

Body

application/json

Generate a per-client Stripe Checkout link for an agency subaccount. The price, plan, and interval are fixed server-side by SideShift and are NOT caller-selectable.

subaccountId
string
required

The agency subaccount (client) company id to bill. Must be the token's own company or a subaccount whose parentCompanyId is the token company.

Minimum string length: 1

Response

Stripe Checkout link for the subaccount.

Envelope for POST /agency/billing/subscription-link.

data
object
required