GET
/api/integrations/billing/portalGet the customer portal URL
Retrieves a URL for the account's customer portal session. Provide baseURL to specify the redirect destination after the user accesses the portal.
baseURLstringrequired
The base URL for the redirect after accessing the customer portal.
200Returns the customer portal session identifier and the URL to redirect the user to the portal.
session_idstringrequired
The unique identifier for the customer portal session.
urlstringrequired
URL to redirect the user to the customer portal.
400Returned when the request is invalid.
401Returned when the request lacks valid authentication.
500Returned when an internal server error occurs.
Error handling
A 400 is returned when baseURL is missing or the request is invalid. A 401 is returned when the request lacks valid authentication; a 500 indicates an internal server error.