ApiResponseDTOTransactionStatisticWrapperDTO
Standard API response wrapper for all endpoints.
successboolean
Indicates whether the operation was successful
Example:
truedata object
Payload returned by the API. The content varies depending on the endpoint.
categoryTransactionStatsDTOList object[]
Array [
categorystring
transactionCountinteger<int64>
totalAmountnumber
totalPercentagenumber
objectivenumber
restnumber
]
transactions object[]
Array [
idinteger<int64>
Unique identifier of the transaction
Example:
1001amountnumber
Amount of the transaction
Example:
250.75transactionDatestring<date-time>
Date and time when the transaction occurred
transactionTypestring
Type of transaction (e.g., DEBIT, CREDIT)
Example:
DEBITdescriptionstring
Description or label of the transaction
Example:
Grocery shoppingreferencestring
Reference number for the transaction
Example:
TXN123456789clientNumberstring
Client number associated with the transaction
Example:
CL123456category object
DTO representing a budget or transaction category assigned to a user.
idinteger<int64>
Unique identifier of the category
Example:
1userIDstringrequired
ID of the user who owns this category
Example:
USR123codestringrequired
Code identifying the category (e.g., internal or functional code)
Example:
FOODnamestringrequired
Display name of the category
Example:
Food & DiningaccountNumberstring
Account number linked to the transaction
Example:
FR7612345987650123456789014]
totalAmountnumber
totalAmountCreditnumber
totalAmountDebitnumber
balancenumber
messagestring
Human-readable message describing the result
Example:
Operation completed successfullyApiResponseDTOTransactionStatisticWrapperDTO
{
"success": true,
"data": {
"categoryTransactionStatsDTOList": [
{
"category": "string",
"transactionCount": 0,
"totalAmount": 0,
"totalPercentage": 0,
"objective": 0,
"rest": 0
}
],
"transactions": [
{
"id": 1001,
"amount": 250.75,
"transactionDate": "2024-07-29T15:51:28.071Z",
"transactionType": "DEBIT",
"description": "Grocery shopping",
"reference": "TXN123456789",
"clientNumber": "CL123456",
"category": {
"id": 1,
"userID": "USR123",
"code": "FOOD",
"name": "Food & Dining"
},
"accountNumber": "FR7612345987650123456789014"
}
],
"totalAmount": 0,
"totalAmountCredit": 0,
"totalAmountDebit": 0,
"balance": 0
},
"message": "Operation completed successfully"
}