Skip to content

Create customer portal session API Reference

POST
/tenants/{tenant}/billing/portal-session

Creates a fresh, authenticated Paddle customer-portal session for the tenant and returns its deep links: the portal overview page (invoices, payments, saved payment methods) and — when the tenant has a linked payment-method subscription — the update-payment-method form. Use this to update the card on file (e.g. to recover a PastDue invoice); Paddle retries failed charges automatically once the payment method is fixed. The returned URLs are short-lived and authenticated — open them immediately; do NOT store them. Create a new session each time. Requires admin role.

tenant
required
string

Tenant name

Fresh portal URLs (short-lived — do not store)

object
overviewURL

OverviewURL is the authenticated customer-portal overview page (invoices, payments, saved payment methods).

string
Example
https://customer-portal.paddle.com/cpl_01x/overview?token=...
updatePaymentMethodURL

UpdatePaymentMethodURL opens the portal with the payment-method update form pre-opened for the tenant’s payment-method subscription. Omitted when the tenant has no linked subscription yet.

string
Example
https://customer-portal.paddle.com/cpl_01x/subscriptions/sub_01y/update-payment-method?token=...

Missing or invalid authentication

object
code
string
error
string
field
string
message
string
severity
string

Not an admin of this tenant

object
code
string
error
string
field
string
message
string
severity
string

Tenant not found

object
code
string
error
string
field
string
message
string
severity
string

Tenant has no billing profile yet

object
code
string
error
string
field
string
message
string
severity
string

Rate limit exceeded

object
code
string
error
string
field
string
message
string
severity
string

Billing integration not configured or Paddle unavailable

object
code
string
error
string
field
string
message
string
severity
string