External bank accounts — link, verify, and manage counterparty accounts for ACH.
Micro-deposit verification
{:ok, eba} = Lithic.ExternalBankAccounts.create(%{
routing_number: "021000021",
account_number: "1234567890",
account_type: "CHECKING",
owner: "Jane Doe",
owner_type: "INDIVIDUAL",
verification_method: "MICRO_DEPOSIT"
})
# After deposits arrive (1–3 business days):
{:ok, _} = Lithic.ExternalBankAccounts.verify(eba["token"], %{
micro_deposits: [12, 34]
})Plaid token linking
{:ok, eba} = Lithic.ExternalBankAccounts.create(%{
plaid_processor_token: "processor-token",
verification_method: "PLAID"
})
Summary
Functions
Pause an external bank account (prevents payment usage).
Retry micro-deposit verification.
Retry via prenote.
Set the verification method for an external bank account.
Unpause an external bank account.
Verify via micro-deposit amounts.
Functions
@spec create( map(), keyword() ) :: {:ok, map()} | {:error, Lithic.Error.t()}
@spec get( String.t(), keyword() ) :: {:ok, map()} | {:error, Lithic.Error.t()}
@spec list(keyword()) :: {:ok, Lithic.Page.t(map())} | {:error, Lithic.Error.t()}
@spec pause( String.t(), keyword() ) :: {:ok, map()} | {:error, Lithic.Error.t()}
Pause an external bank account (prevents payment usage).
@spec retry_micro_deposit( String.t(), keyword() ) :: {:ok, map()} | {:error, Lithic.Error.t()}
Retry micro-deposit verification.
@spec retry_prenote( String.t(), keyword() ) :: {:ok, map()} | {:error, Lithic.Error.t()}
Retry via prenote.
@spec set_verification_method(String.t(), map(), keyword()) :: {:ok, map()} | {:error, Lithic.Error.t()}
Set the verification method for an external bank account.
@spec unpause( String.t(), keyword() ) :: {:ok, map()} | {:error, Lithic.Error.t()}
Unpause an external bank account.
@spec update(String.t(), map(), keyword()) :: {:ok, map()} | {:error, Lithic.Error.t()}
@spec verify(String.t(), map(), keyword()) :: {:ok, map()} | {:error, Lithic.Error.t()}
Verify via micro-deposit amounts.