Create a customer portal session (deprecated)
Deprecated — the customer portal is being retired, and this endpoint will be removed in a future release. It keeps working for existing integrations meanwhile: it creates a portal session for the customer and returns a short-lived URL to the customer portal. Contact Paid before building anything new on it.
Authentication
AuthorizationBearer
API Key authentication using Bearer token
Request
Body
customerId
The Paid customer ID (display ID or UUID). Either this or externalCustomerId must be provided.
externalCustomerId
Your external customer ID. Either this or customerId must be provided.
returnUrl
expiresAt
Response
201
id
customerId
url
status
Allowed values:
returnUrl
expiresAt
createdAt
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error