Skip to main content
POST
/
v1
/
teams
/
{team_id}
/
billing
/
portal
Get Billing Portal
curl --request POST \
  --url https://api.dataraven.io/v1/teams/{team_id}/billing/portal \
  --header 'Authorization: Bearer <token>'
{
  "customer_portal_url": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

team_id
string<uuid>
required

Response

Successful Response

Response containing billing portal URL.

The frontend should open this URL in a new tab for the user to manage their subscription, payment methods, and invoices.

customer_portal_url
string
required

URL to Polar customer portal