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

Changes