Field | Type | Required | Description | Example |
---|---|---|---|---|
metadata |
Dict[str, models.CustomerCreateMetadata] | ➖ | Key-value object allowing you to store additional information. The key must be a string with a maximum length of 40 characters. The value must be either: * A string with a maximum length of 500 characters * An integer * A floating-point number * A boolean You can store up to 50 key-value pairs. |
|
external_id |
OptionalNullable[str] | ➖ | The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated. | usr_1337 |
email |
str | ✔️ | The email address of the customer. This must be unique within the organization. | customer@example.com |
name |
OptionalNullable[str] | ➖ | The name of the customer. | John Doe |
billing_address |
OptionalNullable[models.Address] | ➖ | N/A | |
tax_id |
List[Nullable[models.CustomerCreateTaxID]] | ➖ | N/A | [ "911144442", "us_ein" ] |
organization_id |
OptionalNullable[str] | ➖ | The ID of the organization owning the customer. Required unless you use an organization token. | 1dbfc517-0bbf-4301-9ba8-555ca42b9737 |