Cancellation

Accept the save offer the matrix surfaced for the reason

Applies the accepted save: a discount coupon, a pause, a downgrade, or extra trial days. It claims the save cap before the Stripe action, so concurrent requests cannot redeem different offers for the same identity.

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/cancellation/offer/accept

Request

  • Base URL: https://api.setluca.com
  • URL: https://api.setluca.com/api/cancellation/offer/accept
  • Auth: API key in cookie luca.session_token

Headers

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

flowSessionIdstring uuid required
offer'discount' | 'discount_once' | 'pause_1m' | 'pause_2m' | 'downgrade' | 'trial_extension' required

Response

ok

oktrue required

Changes

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