UserInfo

Information about the user making the request.

JSON representation
{

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "noUserInfo": {
    object (Empty)
  },
  "brazilUserInfo": {
    object (BrazilUserInfo)
  }
  // End of mutually exclusive fields.
}
Fields
REQUIRED: Information about a user in a specific country/region. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response:
noUserInfo

object (Empty)

No user information is provided.

brazilUserInfo

object (BrazilUserInfo)

Information about a Brazil user.

End of mutually exclusive fields.

BrazilUserInfo

Information about a Brazil user.

JSON representation
{
  "fullName": string,

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "noLegalAddress": {
    object (Empty)
  },
  "legalAddress": {
    object (Address)
  }
  // End of mutually exclusive fields.

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "cpf": string,
  "cnpj": string
  // End of mutually exclusive fields.
}
Fields
fullName

string

REQUIRED: The user's full name.

REQUIRED: The user's legal address. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response:
legalAddress

object (Address)

The user's legal address.

End of mutually exclusive fields.
REQUIRED: Taxpayer Identification Number. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response:
cpf

string

The CPF number (Cadastro de Pessoas Físicas, Portuguese for "Natural Persons Register") is the Brazilian individual taxpayer registry identification.

cnpj

string

CNPJ (short for Cadastro Nacional da Pessoa Jurídica in Portuguese, or National Registry of Legal Entities) is an identification number issued to Brazilian companies by the Department of Federal Revenue of Brazil (in Portuguese, Secretaria da Receita Federal).

End of mutually exclusive fields.

Address

Structure holding information about a physical address.

JSON representation
{
  "addressLine": [
    string
  ],
  "localityName": string,
  "administrativeAreaName": string,
  "postalCodeNumber": string,
  "countryCode": string
}
Fields
addressLine[]

string

OPTIONAL: This holds unstructured Address text.

localityName

string

OPTIONAL: This is something of a fuzzy term, but it generally refers to the city/town portion of an address. In regions of the world where localities are not well defined or do not fit into this structure well (for example, Japan and China), leave localityName empty and use addressLine.

Examples: US city, IT comune, UK post town.

administrativeAreaName

string

OPTIONAL: Top-level administrative subdivision of this country" Examples: US state, IT region, CN province, JP prefecture."

postalCodeNumber

string

OPTIONAL: Despite the name, postalCodeNumber values are frequently alphanumeric. Examples: "94043", "SW1W", "SW1W 9TQ".

countryCode

string

OPTIONAL: Customer address country code, expected to be ISO-3166-1 Alpha-2.