Overview
Themonei.transaction service allows you to retrieve and filter user transactions, including deposits and individual transaction lookups by ID or reference.
This service provides:
- Fetch all user transactions
- Filter transactions by type
- Retrieve deposits only
- Get transaction details by ID
- Get transaction details by reference
Get User Transactions
Retrieve all transactions for the authenticated user.Get Transactions by Type
Filter transactions by type using theTransactionType enum.
Available Types
TransactionType.CREDITTransactionType.DEBIT
Get Deposits
Retrieve only deposit (credit) transactions.Get Single Deposit
Retrieve a single deposit by ID or Reference.By ID
By Reference
Get Transaction by ID
Get Transaction by Reference
Response Structure
UserTransactionsResponseDto
TransactionDto
Error Handling
All transaction service calls may throw an error if the request fails.Service Overview
| Method | Description |
|---|---|
getUserTransactions() | Retrieve all user transactions |
getTransactionsByType(type) | Filter transactions by type |
getDeposits() | Retrieve credit transactions only |
getDeposit(\{ id | reference \}) | Retrieve a single deposit |
getTransactionById(id) | Retrieve transaction by ID |
getTransactionByReference(reference) | Retrieve transaction by reference |

