Skip to main content

Customer

Object​

NameTypeMandatoryDescription
classstringYThe type of object which is being returned. In this case it will be customer.
emailstringNThe customer email address.
languagestringNThe customer language according to (ISO-639-1).
firstnamestringNThe customer first name.
lastnamestringNThe customer last name.
billing_addressobjectNThe customer’s billing address. See * billing address* object.

Example​

{
"class":"customer",
"email":"test@domain.com",
"language":"en",
"firstname":"John",
"lastname":"Doe",
"billing_address":
{
"class":"billing_address",
"address1":"3B, SysPay",
"address2":"Wied Ghomor Street",
"address3":null,
"city":"St. Julians",
"country":"MT",
"postal_code":"STJ2041"
}
}