Sandbox mode — Use https://wallet.e-mazad.store/api/v1 as your base URL
WalletsTransactions

Transaction History

List, filter, and paginate through wallet transaction history. Build transaction feeds, export statements, or power analytics dashboards.

Embedded Wallet transactions

For creating transfers, holds, and releases between wallets, see the Embedded Wallet API documentation. This page covers the read-only transaction listing endpoint.

List transactions

Retrieve the transaction history for a specific wallet with filtering and pagination.

GET/wallets/{wallet_id}/transactions

List transactions for a wallet with optional filters.

Query parameters

NameTypeRequiredDescription
currencystringoptionalFilter by currency code (e.g., "IQD", "USD").
typestringoptionalFilter by type: "credit", "debit", "hold", "release", "fx".
fromstringoptionalStart date in ISO 8601 format (e.g., "2025-01-01T00:00:00Z").
tostringoptionalEnd date in ISO 8601 format.
pageintegeroptionalPage number. Default: 1.
per_pageintegeroptionalResults per page (max 100). Default: 20.
# List recent IQD transactions
curl "https://wallet.e-mazad.store/api/v1/wallets/wal_abc123/transactions?currency=IQD&per_page=10" \
  -H "Authorization: Bearer sk_sandbox_..."

# Filter by date range
curl "https://wallet.e-mazad.store/api/v1/wallets/wal_abc123/transactions?from=2025-03-01T00:00:00Z&to=2025-03-31T23:59:59Z" \
  -H "Authorization: Bearer sk_sandbox_..."

Transaction types

Each transaction has a type that indicates the nature of the balance change.

TypeEffectDescription
creditIncreases availableFunds received (payment, transfer in, release, refund)
debitDecreases availableFunds sent (transfer out, subscription charge, payout)
holdMoves to heldFunds reserved for escrow (decreases available, increases held)
releaseMoves from heldHold released back to available balance
fxConverts currencyFX conversion: debits one currency, credits another

Reference types

The reference_type and reference_id fields link each transaction back to the originating operation.

Reference typeID prefixDescription
paymentpay_Payment gateway transaction
transfertxf_Wallet-to-wallet transfer
holdhld_Escrow hold operation
subscriptionsub_Subscription billing charge
payrollbatch_Payroll batch payout
fxfx_Foreign exchange conversion
refundref_Payment or hold refund