cURL
Billing
Create Subscription Session
Create a checkout session to start a subscription for the authenticated account. Returns a hosted checkout URL that the client should redirect to. The session is pre-configured with a 30-day trial period.
POST
cURL
Authorizations
Your Recoup API key. Learn more.
Body
application/json
Session creation parameters
The URL to redirect to after a successful payment.
Example:
"https://chat.recoupable.com?subscription=success"
UUID of the account to create the session for. Only applicable when the authenticated account has admin access to multiple accounts. If not provided, creates a session for the API key's own account.
Example:
"123e4567-e89b-12d3-a456-426614174000"
