CheckoutCustomer

Checkout customer. Can be remitter or receiver of the order.

NameTypeLengthDescription
birthDate datetime - required
Date of birth. Format is 'YYYY-MM-DD'. Not required if customerCategory is 'Company'.
customerCategory enum (Company, Person) - required
Possible values include: 'Company', 'Person'. Customer category.
address Address - required: DE, AT, CH
optional: BE, NL, NO, FI, SE, DK optional
Address
email string 255 required: DE, AT, CH, BE, NL, SE, FI
optional: NO, DK optional
Email
identificationNumber string 20 required: FI, SE, NO, DK
optional: DE, AT, CH, BE, NL optional
National ID number (if the customer is a physical person). Registration number (if the customer is a company).
riskData CustomerRisk - required: NL, BE
optional: DE, AT, CH, NO, FI, SE, DK optional
Risk related data. Merchants can do external risk checks and provide that information to AfterPay.
salutation enum (Mr, Mrs, Miss) - required: NL, BE
optional: DE, AT, CH, NO, FI, SE, DK optional
Possible values include: 'Mr', 'Mrs', 'Miss'. Salutation.
companyName string 50 optional
Purchasing company name. Everything over 50 characters will be truncated
conversationLanguage enum (NO, SV, SE, FI, DA, DK, EN, DE, NL, FR) - optional
Possible values include: 'NO', 'SV', 'SE', 'FI', 'DA', 'DK', 'EN', 'DE', 'NL', 'FR'. Conversation language. 'SE' and 'DK' are obsolete values, and will be removed in the future. Use 'SV' instead of 'SE', and 'DA' instead of 'DK'.
customerNumber string 100 optional
Customer unique number
distributionType enum (Paper, Email, Sms) - optional
Possible values include: 'Paper', 'Email', 'Sms'. Specifies how information (invoices, notices, etc.) will be distributed to customer.
firstName string 50 optional
First name. Everything over 50 characters will be truncated
lastName string 50 optional
Last name. Everything over 50 characters will be truncated
mobilePhone string 20 optional
Mobile phone
phone string 20 optional
Phone