v1
latestOpenAPI 3.1.02026-07-261444991.2 MBCustomer
Create portal session by external ID
Creates a portal session for the customer, returning a short-lived URL that provides authenticated access to the customer's billing portal. The session expires after expires_in_minutes (default 60, max 180). By default, creating a new session invalidates any other active portal sessions for the customer; pass invalidate_existing=false to allow concurrent sessions.
post/customers/external_customer_id/{external_customer_id}/portal_sessions
Path parameters
external_customer_idstring nullable required
Request body
Response
Created