Check issuance and remote deposit capture.
Issue a check (Column prints and mails)
{:ok, check} = Column.Checks.issue(%{
bank_account_id: "bacc_123",
amount: 50_000,
currency_code: "USD",
payee_name: "Jane Smith",
memo: "Invoice #999",
mailing_address: %{
line_1: "456 Oak Ave",
city: "Austin",
state: "TX",
postal_code: "78701"
}
})
# Preview before issuing
{:ok, pdf_bytes} = Column.Checks.get_preview(check["id"])Deposit a check (remote deposit capture)
{:ok, deposit} = Column.Checks.deposit(%{
bank_account_id: "bacc_456",
amount: 10_000,
currency_code: "USD"
})
Column.Checks.capture_front(deposit["id"], "/tmp/check_front.jpg")
Column.Checks.capture_back(deposit["id"], "/tmp/check_back.jpg")
Summary
Functions
Upload the back image of a check deposit.
Upload the front image of a check deposit.
Create a return for a check transfer.
Initiate a check deposit (remote deposit capture).
Get a check transfer by ID.
Get a PDF preview of an issued check.
Get returns for a check transfer.
Issue a check (Column prints and mails it).
List all check transfers.
List all check returns across all check transfers.
Stop a check transfer.
Types
@type id() :: String.t()
@type opts() :: keyword()
@type params() :: map()
@type result() :: {:ok, map()} | {:error, Column.Error.t()}
Functions
Upload the back image of a check deposit.
Upload the front image of a check deposit.
Create a return for a check transfer.
Initiate a check deposit (remote deposit capture).
Get a check transfer by ID.
Get a PDF preview of an issued check.
Get returns for a check transfer.
Issue a check (Column prints and mails it).
List all check transfers.
List all check returns across all check transfers.
Stop a check transfer.