StripeCustomerCreateRequest
Body for POST /stripe/customers. LDS sends only email (+ optional name); the remaining fields are accepted by the platform validator (customer_creation).
emailstring<email>required
Customer email; also used to dedupe against existing Stripe customers for this organization.
namestring
Possible values: non-empty
phonestring
Possible values: non-empty
address object
Billing address. postalCode and country are required when an address is supplied (needed for tax calculation).
line1string
Possible values: non-empty
line2string
Possible values: non-empty
citystring
Possible values: non-empty
statestring
Possible values: non-empty
postalCodestringrequired
Possible values: non-empty
countrystringrequired
ISO 3166-1 alpha-2 country code.
Possible values: non-empty
taxIds object[]
Array [
typestringrequired
Stripe tax id type, e.g. eu_vat, us_ein.
Possible values: non-empty
valuestringrequired
Possible values: non-empty
]
StripeCustomerCreateRequest
{
"email": "user@example.com",
"name": "string",
"phone": "string",
"address": {
"line1": "string",
"line2": "string",
"city": "string",
"state": "string",
"postalCode": "string",
"country": "string"
},
"taxIds": [
{
"type": "string",
"value": "string"
}
]
}