Customers

Create customer portal session

Changed on

Use when sending a customer to their self-serve billing portal (invoices, usage, payment methods). Returns a short-lived URL and token scoped to that customer.

get/customers/portal/{external_id}

Request

  • Base URL
    https://us.api.flexprice.io/v1
  • URL
    https://us.api.flexprice.io/v1/customers/portal/{external_id}
  • Auth
    API key in header x-api-key

Path parameters

external_idstring required

Customer external ID

Response

OK

expires_atstring date-time
tokenstring
urlstring

Changes