Looking for ePay classic docs? Go to docs.epay.dk
ePay documentationDocsePay documentation

CustomerInfo

firstNamestring
Nullable

The first name of the paying customer.

Length:
1 <= length
Example:
"Peter"
lastNamestring
Nullable

The last name of the paying customer.

Length:
1 <= length
Example:
"Nielsen"
birthdatestring
Nullable

The date of birth of the cardholder in YYYY-MM-DD format.

Format:
date
Example:
"2000-07-25"
emailstring
Nullable

The email of the paying customer.

Length:
1 <= length
Example:
"email@example.com"
phoneNumberstring
Nullable
Match:
^\+\d{1,3} \d+$
Example:
"+45 12345678"
Example:
{ "countryCode": "DK", "postalCode": "1400", "city": "København", "line1": "Torvegade 45" }
Example:
{ "countryCode": "DK", "postalCode": "1400", "city": "København", "line1": "Torvegade 45" }
nullnever
Example:
{ "countryCode": "DK", "postalCode": "1400", "city": "København", "line1": "Torvegade 45" }
Example:
{ "countryCode": "DK", "postalCode": "1400", "city": "København", "line1": "Torvegade 45" }
nullnever
CustomerInfo
{  "firstName": "Peter",  "lastName": "Nielsen",  "birthdate": "2000-07-25",  "email": "email@example.com",  "phoneNumber": "+45 12345678",  "shippingAddress": {    "countryCode": "DK",    "postalCode": "1400",    "city": "København",    "line1": "Torvegade 45"  },  "billingAddress": {    "countryCode": "DK",    "postalCode": "1400",    "city": "København",    "line1": "Torvegade 45"  }}