Accounts and their transactions.
Summary
Functions
Calls GET /api/accounts/:id.
Calls GET /api/accounts/:account_id/transactions/:id.
Calls GET /api/accounts.
Calls GET /api/accounts/:account_id/transactions.
Functions
@spec get(Zazu.Client.t(), String.t()) :: {:ok, Zazu.Response.t()} | {:error, Exception.t()}
Calls GET /api/accounts/:id.
@spec get_transaction(Zazu.Client.t(), String.t(), String.t()) :: {:ok, Zazu.Response.t()} | {:error, Exception.t()}
Calls GET /api/accounts/:account_id/transactions/:id.
@spec list( Zazu.Client.t(), keyword() ) :: {:ok, Zazu.Page.t()} | {:error, Exception.t()}
Calls GET /api/accounts.
Options
:status— filter by account status.:currency_code— filter by currency code.:limit— page size (1..100, default 100).:cursor— pagination cursor.
@spec list_transactions(Zazu.Client.t(), String.t(), keyword()) :: {:ok, Zazu.Page.t()} | {:error, Exception.t()}
Calls GET /api/accounts/:account_id/transactions.
Options
:operation— filter by operation ("credit"/"debit").:posted_after— ISO-8601 lower bound.:posted_before— ISO-8601 upper bound.:limit— page size (1..100, default 100).:cursor— pagination cursor.