Skip to main content
POST
/
api
/
billing
/
{spaceId}
/
portal
cURL
curl --request POST \
  --url https://api.kazzle.app/api/billing/{spaceId}/portal \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "returnUrl": "<string>"
}
'
{
  "url": "<string>"
}

Authorizations

Authorization
string
header
required

Better Auth JWT token

Path Parameters

spaceId
string
required

Body

application/json
returnUrl
string

Response

200 - application/json

Successful response

url
string
required