BillingAddress & ShippingAddress Details
Note:
- If you use the
shippingAddressparameter, all the following parameters must be filled.- If you use the
billingAddressparameter,countryis required, and other parameters are required based on the payment method.
| Parameter | Type | Required | Description |
|---|---|---|---|
country | String(2) | Required | 2-digit country code |
firstName | String(64) | Conditionally Required | First name |
lastName | String(64) | Conditionally Required | Last name |
email | String(255) | Conditionally Required | Email address |
phone | String(32) | Conditionally Required | Phone number |
state | String(128) | Conditionally Required | State / Province |
city | String(128) | Conditionally Required | City |
address | String(255) | Conditionally Required | Address |
streetNumber | String(255) | Conditionally Required | Street number |
zipCode | String(64) | Conditionally Required | Zip code |
document | String(64) | Conditionally Required | Used in some regions, e.g., Brazil, Argentina |