Skip to main content
POST
/
api
/
billing
/
portal
Create Stripe billing portal session
curl --request POST \
  --url https://macrobymark.com/api/billing/portal \
  --cookie next-auth.session-token=
{
  "url": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.macrobymark.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

next-auth.session-token
string
cookie
required

NextAuth.js session cookie

Response

200 - application/json

Portal URL

url
string<uri>