Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

JWT Bearer token obtained from authentication. Pass as: Authorization: Bearer

Body

application/json

Request body for generating a Stripe customer portal link

returnUrl
string<uri>

URL to redirect to when the user exits the billing portal

Response

200 - application/json

OK

Response containing a Stripe checkout or portal session URL

url
string<uri> | null
required

Stripe-hosted session URL, null if session creation failed