Newer Version Available

This content describes an older version of this product. View Latest

Checkout Address Input

Checkout address input.
Root XML tag
<address>
JSON example
1{
2   "name": "Alan Johnson",
3   "firstName": "Alan",
4   "lastName": "Johnson",
5   "region":"CA",
6   "country":"US",
7   "city":"San Francisco",
8   "street":"415 Mission St",
9   "postalCode":"94105",
10   "shipToPhoneNumber": "+16175551212"
11}
Properties
Name Type Description Required or Optional Available Version
city String The address city. Optional 55.0
country String ISO code of the address country. Must match one of the valid ISO codes defined within the org’s State-Country picklist. Required 55.0
firstName String First name of the contact. Optional 57.0
isDefault Boolean Indicates whether a contact’s address is the default address (true) or not (false). The default value is false. Optional 55.0
lastName String Last name of the contact. Optional 57.0
name String Name of the contact. Required 55.0
postalCode String Zip code or postal code for the address. Optional 55.0
shipToPhoneNumber String Phone number of the contact. Don't include a value for this field when submitting an address to the payment API. All default payment components strip phone numbers from the address before submitting to the payment API. If you specify a value, it must be a valid phone number with a country code. Optional 63.0
region String ISO code of the address region. Must match one of the valid ISO codes defined within the org’s State-Country picklist. Optional 55.0
street String The address street. Required 55.0