Skip to main content
POST
/
api
/
billing
/
portal
Create Stripe Customer Portal session
curl --request POST \
  --url https://api.example.com/api/billing/portal \
  --header 'Authorization: Bearer <token>'
{
  "portal_url": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Successful Response

Response with Stripe Customer Portal URL.

portal_url
string
required