List OTC Deposits
Returns deposits from otc_deposits. Each item includes credited_to_address (merchant payout wallet on requested_network) and proof_url when a bank PDF was uploaded.
When the database row is missing a payout address, the API resolves the merchant default wallet on requested_network (master merchant ledger merchant_id or a sub-vendor under that merchant), returns it on credited_to_address, and persists to_wallet_id for legacy rows.
Enriched list/detail responses may also include read-only payout_to_address, payout_network, payout_asset, and payout_to_wallet_id mirroring the resolved wallet.
Nullable fields serialize as JSON null (not internal database wrapper objects). Merchants see their own rows. admin, otc_officer, and treasury see all merchants.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
draft, priced, pending, confirmed, rejected, credited bank, mpesa 1 <= x <= 100x >= 0Response
List of deposits