Lithic.Types.ExternalPayment (Lithic v1.0.0)

Copy Markdown View Source

Type definitions for Lithic ExternalPayment objects.

Fields

  • "token" — unique identifier
  • "financial_account_token" — Lithic financial account
  • "amount" — integer, smallest unit
  • "currency" — ISO 4217 code
  • "category""EXTERNAL_WIRE", "EXTERNAL_ACH", "EXTERNAL_CHECK", "EXTERNAL_TRANSFER"
  • "direction""CREDIT", "DEBIT"
  • "status""PENDING", "SETTLED", "DECLINED", "REVERSED", "CANCELED"
  • "result""APPROVED", "DECLINED"
  • "created" — RFC 3339 timestamp
  • "settled_date" — ISO 8601 date string

Summary

Types

create_params()

@type create_params() :: %{
  :financial_account_token => String.t(),
  :amount => pos_integer(),
  :category => String.t(),
  :direction => String.t(),
  :effective_date => String.t(),
  optional(:token) => String.t(),
  optional(:memo) => String.t(),
  optional(:payment_type) => String.t(),
  optional(:progress_to) => String.t(),
  optional(:user_defined_id) => String.t()
}

t()

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