Lithic.Types.Account (Lithic v1.0.0)

Copy Markdown View Source

Type definitions for Lithic Account objects.

Fields

  • "token" — unique account identifier
  • "state""ACTIVE", "PAUSED", "CLOSED"
  • "spend_limit" — map with "daily", "monthly", "lifetime" (integer, smallest unit)
  • "verification_address" — address used for card verification
  • "created" — RFC 3339 timestamp

Summary

Types

t()

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

update_params()

@type update_params() :: %{
  optional(:daily_spend_limit) => non_neg_integer(),
  optional(:lifetime_spend_limit) => non_neg_integer(),
  optional(:monthly_spend_limit) => non_neg_integer(),
  optional(:state) => String.t(),
  optional(:verification_address) => map()
}