Skip to main content
POST
/
v0
/
billing
/
portal-session
curl --request POST \
  --url 'https://api.unify.ai/v0/billing/portal-session' \
  --header "Authorization: Bearer $UNIFY_KEY"
{
    "url": "string"
}
Create a Stripe Customer Portal session for the authenticated user / org. Returns the portal URL. The caller must have previously completed a checkout (i.e. a Stripe customer must exist on the billing account).

Authorizations

Authorization
string
required
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
curl --request POST \
  --url 'https://api.unify.ai/v0/billing/portal-session' \
  --header "Authorization: Bearer $UNIFY_KEY"
{
    "url": "string"
}