Lithic.Types.BookTransfer (Lithic v1.0.0)

Copy Markdown View Source

Type definitions for Lithic Book Transfer objects.

Fields

  • "token" — unique identifier
  • "category""ADJUSTMENT", "BALANCE_OR_FUNDING", "DERECOGNITION", "DISPUTE", "FEE", "REWARD", "TRANSFER"
  • "created" — RFC 3339 timestamp
  • "currency" — ISO 4217 currency code
  • "events" — list of transfer events
  • "from_financial_account_token" — source account
  • "to_financial_account_token" — destination account
  • "pending_amount" — integer, smallest unit
  • "result""APPROVED", "DECLINED"
  • "settled_amount" — integer, smallest unit
  • "status""DECLINED", "REVERSED", "SETTLED"
  • "subtype" — subtype string
  • "type" — type string
  • "updated" — RFC 3339 timestamp

Summary

Types

create_params()

@type create_params() :: %{
  :amount => pos_integer(),
  :financial_account_token_sender => String.t(),
  :financial_account_token_receiver => String.t(),
  :currency => String.t(),
  optional(:subtype) => String.t(),
  optional(:memo) => String.t(),
  optional(:type) => String.t()
}

t()

@type t() :: %{required(String.t()) => term()}