Billing
Start checkout for a message top-up pack
Opens a Stripe Checkout session for a pack of extra messages on top of the plan's monthly pool, and returns the URL to send the coach to. The messages are only credited once Stripe reports the payment.
Session-only. This endpoint isn't on the API-key allowlist. An organization API key gets a 403 here, whatever scopes it holds.
post/api/billing/message-packs/checkout
Request
- Base URL: https://api.setluca.com
- URL: https://api.setluca.com/api/billing/message-packs/checkout
- Auth: API key in cookie luca.session_token
Headers
idempotency-keystring
Key that makes this mutation safe to retry. Replaying a key returns the original response with Idempotency-Replayed: true instead of acting twice.
Luca-API-Version'1'
The major version of the API this client was built against. Omit it and the request is served by the current major version. Any other value is refused with 400 unsupported_api_version.
Request body
Response
ok
Changes
No recorded changes to this operation across all 1 revision of this API.