Skip to main content
POST
/
billing
/
subscription
/
portalSession
Create portal session
curl --request POST \
  --url https://api.getcargo.io/v1/billing/subscription/portalSession \
  --header 'Authorization: Bearer <token>'
{
  "portalSession": {
    "url": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Response

Successful response

portalSession
Portal session · object
required

Billing portal session details.