CustomerBase
This object represents a customer of your business. Use it to create recurring charges, save payment and contact information, and track payments that belong to the same customer.
- createdType: stringFormat: date-timerequired
Time at which the object was created. Measured in seconds since the Unix epoch.
- livemodeType: booleanrequired
Has the value
trueif the object exists in live mode or the valuefalseif the object exists in test mode. - address
The customer's address.
- cityType: string | nullmax length:100
City, district, suburb, town, or village.
- countryType: string | nullmax length:2
Two-letter country code (ISO 3166-1 alpha-2).
- line1Type: string | nullmax length:100
Address line 1 (e.g., street, PO Box, or company name).
- line2Type: string | nullmax length:100
Address line 2 (e.g., apartment, suite, unit, or building).
- postalType: string | null
_code max length:100ZIP or postal code.
- stateType: string | nullmax length:100
State, county, province, or region.
- emailType: string | nullmax length:1000
The customer's email address.
- invoice
_settings Customer invoice settings
- default
_payment _method ID of a payment method that's attached to the customer, to be used as the customer's default payment method for subscriptions and invoices.
- Type: string · PaymentMethodId
ID of the payment method to attach to this PaymentIntent.
- nameType: string | nullmax length:5000
The customer's full name or business name.
- phoneType: string | nullmax length:5000
The customer's phone number.
- preferredType: array string[] | null
_locales The customer's preferred locales (languages), ordered by preference.

