ShippingAddress: Difference between revisions

From Barion Documentation
Jump to navigation Jump to search
No edit summary
Line 19: Line 19:
| City || string ||  
| City || string ||  
* Optional, required if region is specified
* Optional, required if region is specified
* Maximum 50 characters
|| The complete name of the city of the recipient address.  
|| The complete name of the city of the recipient address.  
|-
|-
Line 28: Line 29:
| Zip || string ||  
| Zip || string ||  
* Optional  
* Optional  
* Maximum 16 characters
|| The zip code of the recipient address.
|| The zip code of the recipient address.
|-
|-
| Street || string ||  
| Street || string ||  
* Optional  
* Optional  
* Maximum 50 characters
|| The shipping street address with house number and other details.
|| The shipping street address with house number and other details.
|-
|-
| Street2 || string ||  
| Street2 || string ||  
* Optional  
* Optional  
* Maximum 50 characters
|| The address, continued.
|| The address, continued.
|-
|-
| Street3 || string ||  
| Street3 || string ||  
* Optional  
* Optional
* Maximum 50 characters
|| The address, continued.
|| The address, continued.
|-
|-
|}
|}

Revision as of 13:04, 31 July 2019

Shipping address structure

This structure represents a shipping address related to a payment. The data provided here is used to analyze and avoid possible fraud attempts.

API usage

This structure is used by the following API endpoints:

Property list

Property name Property type Limitations and constraints Description
Country string
  • Required
  • Exactly 2 characters
The payer's country code in ISO-3166-1 format. E.g. HU or DE. If you cannot provide the shipping address, send ZZ as the country code.
City string
  • Optional, required if region is specified
  • Maximum 50 characters
The complete name of the city of the recipient address.
Region string
  • Optional
  • Exactly 2 characters
The country subdivision code (state or county) of the recipient address in ISO-3166-2 format
Zip string
  • Optional
  • Maximum 16 characters
The zip code of the recipient address.
Street string
  • Optional
  • Maximum 50 characters
The shipping street address with house number and other details.
Street2 string
  • Optional
  • Maximum 50 characters
The address, continued.
Street3 string
  • Optional
  • Maximum 50 characters
The address, continued.