latestOpenAPI 3.0.3GNU General Public License v3.0raw.githubusercontent.com2026-08-137961230.0 KB

da017caf56f1

billing

Get Churnkey HMAC auth credentials

Returns the Stripe customer identifier and a server-signed HMAC-SHA256 of the customer ID, used to launch the Churnkey-hosted cancellation flow embed.

get/api/billing/churnkey/auth

Response

Success

auth_hashstring required

Hex-encoded HMAC-SHA256(customer_id, CHURNKEY_HMAC_SECRET)

customer_idstring required

Stripe customer ID for the workspace

mode'live' | 'test' | 'sandbox' required

Churnkey environment matching the configured app