CustomerDocument

Structure

FieldTypeRequiredDescription
idIntegertrueUnique identifier for the

CustomerDocument.

primaryBooleanfalseSets if it is primary or not.

documentType

DocumentTypetrueGives more information about that document
numberStringtrueNumber identificative of the document

givenName

Stringfalse

secondSurName

Stringfalse

surName

Stringtrue

genderType

GenderTypefalseType of gender.
birthDateDatefalse
birthCountryCodeStringfalseCountry where this customer was born. ISO 3166-1 alpha-2
birthPlaceStringfalse
effectiveDateDatefalse
expireDateDatefalse
streetStringfalse
cityStringfalse
stateProvNameStringfalse
stateProvCodeStringfalseISO 3166-2
countryCodeStringfalseISO 3166-1 alpha-2
postalCodeStringfalse
nationalityCountryCodeStringfalseISO 3166-1 alpha-2
countryOfIssuanceCodeStringfalseISO 3166-1 alpha-2
ocrStringfalse
remarkStringfalsePossible remarks about this document.

JSON representation

{
	"id": 131,
	"primary": true,
	"documentType": {
		"id": 5,
		"code": "5",
		"name": "National identity document"
	},
	"number": "DOC 1",
	"givenName": "John",
	"secondSurName": "J",
	"surName": "Jameson",
	"genderType": {
		"id": 1,
		"code": "M",
		"name": "Male"
	},
	"birthDate": "2000-01-01",
	"birthCountryCode": "ES",
	"birthPlace": "Washington",
	"effectiveDate": "2015-06-15",
	"expireDate": "2020-01-01",
	"street": null,
	"city": null,
	"stateProvName": "District of Columbia",
	"stateProvCode": "ES-B",
	"countryCode": "ES",
	"postalCode": "56944",
	"nationalityCountry": "ES",
	"countryOfIssuanceCode": "ES",
	"ocr": null,
	"remark": "Document Remark"
}