Skip to content

Create a Stripe Customer Portal session

POST
/billing/portal
curl --request POST \
--url https://api.krakenkey.io/billing/portal \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "flow": "switch_interval" }'
Media typeapplication/json
object
flow

Open the portal on confirming a switch between monthly and yearly billing

string
Allowed values: switch_interval

Portal session created

Unauthorized

No subscription found