Unit.Resource.Customer (Unit v1.0.0)

Copy Markdown View Source

Represents a Unit customer resource.

Customers are automatically created when an application is approved.

Types

  • individualCustomer
  • businessCustomer
  • businessWalletCustomer
  • trustCustomer

Status

  • Active — normal state
  • Archived — customer relationship ended

Summary

Types

t()

@type t() :: %Unit.Resource.Customer{
  address: map() | nil,
  application_id: String.t() | nil,
  archived: boolean(),
  authorized_users: [map()],
  business_vertical: String.t() | nil,
  contact: map() | nil,
  created_at: DateTime.t() | nil,
  date_of_birth: Date.t() | nil,
  dba: String.t() | nil,
  ein: String.t() | nil,
  ein_mask: String.t() | nil,
  email: String.t() | nil,
  entity_type: String.t() | nil,
  full_name: map() | nil,
  id: String.t(),
  jwt_subjects: [String.t()],
  name: String.t() | nil,
  nationality: String.t() | nil,
  officer: map() | nil,
  passport: String.t() | nil,
  phone: map() | nil,
  ssn_mask: String.t() | nil,
  state_of_incorporation: String.t() | nil,
  status: String.t() | nil,
  tags: map(),
  type: String.t(),
  updated_at: DateTime.t() | nil,
  website: String.t() | nil
}