v61

latestOpenAPI 3.1.0Apache 2.0raw.githubusercontent.com2026-08-018131,3812.6 MB
OpenMeter Customers

Create Stripe customer portal session

Create Stripe Customer Portal Session.

Useful to redirect the customer to the Stripe Customer Portal to manage their payment methods, change their billing address and access their invoice history. Only returns URL if the customer billing profile is linked to a stripe app and customer.

post/v3/openmeter/customers/{customerId}/billing/stripe/portal-sessions

Path parameters

customerIdstring required

ULID (Universally Unique Lexicographically Sortable Identifier).

Example:01G65Z755AFWAKHE12NY0CQ9FH

Request body

Response

CreateStripeCustomerPortalSessionResult created response.

idstring required
stripe_customer_idstring required

The ID of the stripe customer.

configuration_idstring required
localestring required

The IETF language tag of the locale customer portal is displayed in.

See: https://docs.stripe.com/api/customer_portal/sessions/object#portal_session_object-locale

urlstring required

The URL to redirect the customer to after they have completed their requested actions.

Example response

{
  "created_at": "2023-01-01T01:01:01.001Z"
}