Customers Reference

Customer resource properties and field definitions

The Customer resource represents the banking partner's customer or user.

Customer Properties

FieldTypeDescriptionNotes
idstringLirium's unique identification for the customer
created_attimestampCreation timestamp
reference_idstringBanking partner's unique identification for the customerUp to 191 characters. Case insensitive
statestring enumEntity's stateactive | closing | closed | banned
profileobjectProfile information such as name and addressSee request and response examples
profile.national_id_typestringType of national identification documentpassport | driver_license | national_id
contact.emailstringCustomer email address
contact.cellphonestringCustomer phone number
productsobjectAvailable products for the customerSee example below
data_requirementsobjectData requirements from KYC and/or productsSee example below

Customer States

StateDescription
activeCustomer has passed KYC and can transact
closingCustomer account is in the process of being closed. The customer must withdraw their funds before the account is fully closed
closedCustomer account has been closed
bannedCustomer has been banned from the platform

Products Example

{
  "code": "crypto_buy_sell",
  "active": true,
  "enabled": true
}

Data Requirements Example

{
  "id": "document_id_back",
  "created": "2020-09-01T11:28:59+00:00",
  "type": "document",
  "document_type": "id_back",
  "status": "pending_submission",
  "last_updated_at": "2020-09-01T11:28:59+00:00"
}

Data Requirement Statuses

StatusDescription
pending_submissionDocument or data has not yet been submitted
pending_reviewDocument or data is awaiting review
approvedDocument or data has been approved
rejectedDocument or data has been rejected