Unit.Resource.Application (Unit v1.0.0)

Copy Markdown View Source

Represents a Unit application resource.

Applications are the onboarding entry point. An approved application automatically creates a Customer resource.

Types

  • individualApplication — natural person or sole proprietor
  • businessApplication — legal entity with beneficial owners and officer
  • trustApplication — trust entity

Statuses

  • AwaitingDocuments — additional KYC/KYB docs required
  • PendingReview — under manual review (SLA: 2 business hours)
  • Approved — customer created
  • Denied — permanently denied
  • Canceled — canceled by org

Summary

Types

status()

@type status() ::
  :AwaitingDocuments | :PendingReview | :Approved | :Denied | :Canceled

t()

@type t() :: %Unit.Resource.Application{
  address: map() | nil,
  annual_income: String.t() | nil,
  archived: boolean(),
  business_type: String.t() | nil,
  business_vertical: String.t() | nil,
  countries_of_operation: [String.t()],
  created_at: DateTime.t() | nil,
  customer_id: String.t() | nil,
  customer_type: String.t() | nil,
  date_of_birth: Date.t() | nil,
  dba: String.t() | nil,
  doing_business_as: String.t() | nil,
  ein: String.t() | nil,
  email: String.t() | nil,
  evaluation_flags: [String.t()],
  id: String.t(),
  ip: String.t() | nil,
  message: String.t() | nil,
  name: map() | nil,
  nationality: String.t() | nil,
  occupation: String.t() | nil,
  passport: String.t() | nil,
  phone: map() | nil,
  sole_proprietorship: boolean() | nil,
  source_of_income: String.t() | nil,
  ssn: String.t() | nil,
  status: String.t(),
  stock_symbol: String.t() | nil,
  tags: map(),
  type: String.t(),
  updated_at: DateTime.t() | nil,
  website: String.t() | nil
}