Skip to main content
POST
/
api
/
v1
/
billing
/
portal
Create Portal Session
curl --request POST \
  --url https://api.example.com/api/v1/billing/portal
{
  "url": "https://billing.stripe.com/p/session/..."
}
Creates a Stripe Customer Portal session for managing the user’s subscription (update payment method, view billing history, cancel).

Request

curl -X POST \
  -H "Authorization: Bearer <token>" \
  https://app.taxhomebase.com/api/v1/billing/portal
No request body required.

Response

{
  "url": "https://billing.stripe.com/p/session/..."
}

Errors

StatusCause
400User has no Stripe customer ID (never subscribed)
503Stripe is not configured