UserDetailsModel

  • Customer's street address. Required. 5-60 characters, must include street name.

  • Customer's city. Required. 3-32 characters.

  • Customer's email address. Required. Must be a valid email format.

  • Customer's first name. Required. 2-32 characters, letters only (including dot, whitespace, dash, apostrophe).

  • Customer's last name. Required. 2-32 characters, letters only (including dot, whitespace, dash, apostrophe).

  • Two-letter US state code. Required. Must match the state derived from the ZIP code.

  • 5-digit US ZIP code. Required. Must be a valid ZIP code that matches the state.

  • Optional. Apartment, suite, or unit number. Maximum 4 characters.

  • Billing street address. Required when isBillingAddressDifferent is true. 5 to 60 characters, must contain a letter, and must not contain an @.

  • Billing apartment, suite, or unit. Always optional, even when isBillingAddressDifferent is true. Maximum 4 characters.

  • Billing city. Required when isBillingAddressDifferent is true. 3 to 32 characters.

  • Cardholder's first name. Required when isBillingAddressDifferent is true. 2 to 32 characters. Letters plus dot, space, dash, and apostrophe only; no digits.

  • Cardholder's last name. Required when isBillingAddressDifferent is true. 2 to 32 characters. Letters plus dot, space, dash, and apostrophe only; no digits.

  • Billing state as a two-letter US code. Required when isBillingAddressDifferent is true. Letters only.

  • Billing US ZIP code. Required when isBillingAddressDifferent is true. Unlike the customer's zip, this is not cross-checked against billingState.

  • Set to true when the card's billing address differs from the customer's address above. Defaults to false, in which case every billing* field below is ignored and can be omitted.

    When true, all of billingFirstName, billingLastName, billingAddress, billingCity, billingState, and billingZip become required. Only billingAddressApartment stays optional.

  • Customer's phone number. Optional but recommended. 10-digit US phone number.