UserDetailsModel
- addressType: string
Pattern: ^(?=.*[a-zA-Z])(?!.*@).*$requiredCustomer's street address. Required. 5-60 characters, must include street name.
- cityType: string
Pattern: ^[A-Za-z\u00C0-\u024F''.\-]+(?:[\s\-][A-Za-z\u00C0-\u024F''.\-]+)*$requiredCustomer's city. Required. 3-32 characters.
- emailType: string
Pattern: ^[^\s@]+@[^\s@]+\.[^\s@]+$Format: emailrequiredCustomer's email address. Required. Must be a valid email format.
- firstType: string
Name Pattern: ^[a-zA-Z' .-]+$requiredCustomer's first name. Required. 2-32 characters, letters only (including dot, whitespace, dash, apostrophe).
- lastType: string
Name Pattern: ^[a-zA-Z' .-]+$requiredCustomer's last name. Required. 2-32 characters, letters only (including dot, whitespace, dash, apostrophe).
- stateType: string
Pattern: ^[a-zA-Z]+$requiredTwo-letter US state code. Required. Must match the state derived from the ZIP code.
- zipType: string Format: postal-coderequired
5-digit US ZIP code. Required. Must be a valid ZIP code that matches the state.
- addressType: string | null
Apartment Optional. Apartment, suite, or unit number. Maximum 4 characters.
- billingType: string | null
Address Pattern: ^(?=.*[a-zA-Z])(?!.*@).*$Billing street address. Required when
isBillingAddressDifferentistrue. 5 to 60 characters, must contain a letter, and must not contain an@. - billingType: string | null
Address Apartment Billing apartment, suite, or unit. Always optional, even when
isBillingAddressDifferentistrue. Maximum 4 characters. - billingType: string | null
City Billing city. Required when
isBillingAddressDifferentistrue. 3 to 32 characters. - billingType: string | null
First Name Pattern: ^[a-zA-Z' .-]+$Cardholder's first name. Required when
isBillingAddressDifferentistrue. 2 to 32 characters. Letters plus dot, space, dash, and apostrophe only; no digits. - billingType: string | null
Last Name Pattern: ^[a-zA-Z' .-]+$Cardholder's last name. Required when
isBillingAddressDifferentistrue. 2 to 32 characters. Letters plus dot, space, dash, and apostrophe only; no digits. - billingType: string | null
State Pattern: ^[a-zA-Z]+$Billing state as a two-letter US code. Required when
isBillingAddressDifferentistrue. Letters only. - billingType: string | null Format: postal-code
Zip Billing US ZIP code. Required when
isBillingAddressDifferentistrue. Unlike the customer'szip, this is not cross-checked againstbillingState. - isType: boolean
Billing Address Different Set to
truewhen the card's billing address differs from the customer's address above. Defaults tofalse, in which case everybilling*field below is ignored and can be omitted.When
true, all ofbillingFirstName,billingLastName,billingAddress,billingCity,billingState, andbillingZipbecome required. OnlybillingAddressApartmentstays optional. - phoneType: string | null
Number Customer's phone number. Optional but recommended. 10-digit US phone number.