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.
- Type: stringFormat: date-time
created requiredTime at which the object was created. Measured in seconds since the Unix epoch.
- Type: boolean
livemode requiredHas the value
trueif the object exists in live mode or the valuefalseif the object exists in test mode. address The customer's address.
- Type: string | null
city max length:100City, district, suburb, town, or village.
- Type: string | null
country max length:2Two-letter country code (ISO 3166-1 alpha-2).
- Type: string | null
line1 max length:100Address line 1 (e.g., street, PO Box, or company name).
- Type: string | null
line2 max length:100Address line 2 (e.g., apartment, suite, unit, or building).
- Type: string | null
postal _code max length:100ZIP or postal code.
- Type: string | null
state max length:100State, county, province, or region.
- Type: string | null
email max length:1000The customer's email address.
invoice _settings Customer invoice settings
default _payment _method - Type: string · PaymentMethodId
ID of the payment method to attach to this PaymentIntent.
- Type: string | null
name max length:5000The customer's full name or business name.
- Type: string | null
phone max length:5000The customer's phone number.
- Type: array string[] | null
preferred _locales The customer's preferred locales (languages), ordered by preference.

