Skip to navigation

Create a customer portal session (deprecated)

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
customerIdstringOptional

The Paid customer ID (display ID or UUID). Either this or externalCustomerId must be provided.

externalCustomerIdstringOptional
Your external customer ID. Either this or customerId must be provided.
returnUrlstringOptionalformat: "uri"
expiresAtdatetimeOptional

Response

201
idstring
customerIdstring
urlstring
statusenum
Allowed values:
returnUrlstring or null
expiresAtdatetime
createdAtdatetime

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error