Unit.API.AccountEndOfDay (Unit v1.0.0)

Copy Markdown View Source

API module for Account End-of-Day snapshots.

Returns daily balance, hold, and available snapshots for an account. Useful for reconciliation, reporting, and historical balance queries.

Summary

Functions

List end-of-day snapshots for an account.

Functions

list(account_id, opts \\ [])

@spec list(
  String.t(),
  keyword()
) :: {:ok, [Unit.Resource.AccountEndOfDay.t()], map()} | {:error, term()}

List end-of-day snapshots for an account.

Filter options

  • :account_id — required
  • :since — ISO 8601 date string (start of range)
  • :until — ISO 8601 date string (end of range)
  • :page_limit, :page_offset