v51

latestOpenAPI 3.0.0Apache 2.0raw.githubusercontent.com2026-08-011534301009.2 KB
Customers
Apps

Upsert customer stripe app data

Upsert stripe app data for a customer. Only updates data if the customer billing profile is linked to a stripe app.

put/api/v1/customers/{customerIdOrKey}/stripe

Path parameters

string required

ULID (Universally Unique Lexicographically Sortable Identifier).

OR
string required

ExternalKey is a looser version of key.

Example:01G65Z755AFWAKHE12NY0CQ9FH

Request body

stripeCustomerIdstring required

The Stripe customer ID.

stripeDefaultPaymentMethodIdstring

The Stripe default payment method ID.

Response

The request has succeeded.

idstring

The app ID. If not provided, it will use the global default for the app type.

type'stripe' required

The app name.

stripeCustomerIdstring required

The Stripe customer ID.

stripeDefaultPaymentMethodIdstring

The Stripe default payment method ID.

Example response

{
  "type": "stripe",
  "stripeCustomerId": "cus_xxxxxxxxxxxxxx"
}