A Customer of a business can receive invoices and refunds and have payments applied to their invoices. In addition to storing basic information, customers have associated receivables accounts, and if store credit or prepayments are used, dedicated tracking of outstanding liabilities.

Customers can be referenced when creating invoices and refunds using either the Layer id, or the external id.

Attributes

id
string
required

Unique identifier for the customer.

external_id
string

Unique ID of the customer in your system for linking and idempotency.

individual_name
string

Full name of the individual customer or contact at a corporate customer.

company_name
string

Name of the company customer.

email
string

Email address of the customer.

mobile_phone
string

Mobile phone number of the customer.

office_phone
string

Office phone number of the customer.

address_string
string

Full address of the customer.

notes
string

Notes about the customer.

status
enum

Status of the customer. Possible values are: ACTIVE, ARCHIVED Archived customers will not appear when listing customers, but their accounting continues to be tracked and they can still be retrieved directly in the API.