BillingAddress: Difference between revisions

From Barion Documentation
Jump to navigation Jump to search
Line 6: Line 6:


This structure is used by the following API endpoints:
This structure is used by the following API endpoints:
* [[Payment-Start-v2]]
* [[Payment-Start-v2-3DS]]


== Property list ==
== Property list ==
Line 14: Line 14:
| Country || string ||  
| Country || string ||  
* Optional  
* Optional  
* Exactly 3 characters
* Exactly 2 characters
|| The recipient's country code in ISO-3166-1 format.
|| The recipient's country code in ISO-3166-1 format.
|-
|-
Line 23: Line 23:
| Region || string ||  
| Region || string ||  
* Optional  
* Optional  
* Exactly 3 characters
* Exactly 2 characters
|| The region code of the recipient address in ISO-3166-2 format
|| The region code of the recipient address in ISO-3166-2 format
|-
|-

Revision as of 12:35, 23 July 2019

Billing address structure

This structure represents a billing address related to a payment. The data provided here is used to analyze and avoid possible fraud attempts and assure frictionless 3D secure flow.

API usage

This structure is used by the following API endpoints:

Property list

Property name Property type Limitations and constraints Description
Country string
  • Optional
  • Exactly 2 characters
The recipient's country code in ISO-3166-1 format.
City string
  • Optional
The complete name of the city of the recipient address.
Region string
  • Optional
  • Exactly 2 characters
The region code of the recipient address in ISO-3166-2 format
Zip string
  • Optional
The zip code of the recipient address.
Street string
  • Optional
The shipping street address with house number and other details.
Street2 string
  • Optional
The address, continued.
Street3 string
  • Optional
The address, continued.