StatsHub Docs
APIEndpoint referenceStripe

/stripe/create-portal-session

A one-time link into Stripe's self-service billing portal.

POST
/api/stripe/create-portal-session

A one-time link into Stripe's self-service billing portal.

Authorization

AuthorizationBearer <token>

Supabase access token.

In: header

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/stripe/create-portal-session"
{  "url": "string"}