ResponseWrapperOverdraftAgendaDto
Wrapper for the response containing the overdraft agenda, which includes transaction details an account.
Status of the response
Possible values: [SUCCESS, ERROR]
ERROR/SUCCESSMessage describing the response
Request failed/Request successfulCode message describing the response
ERR-001/SUC-001data object
Represents paginated results.
content object[]
The list of items in the current page.
Associated bank code
00004Bank branch code
86Account radical
12345Complete account number
30001000200012345Banking product type
OVERDRAFTTitle
Product NameDebit date
Amount paid
500.75Remaining amount due
1200.5Due date
Transaction status
IN_PROGRESSOverdraft amount
1500.25The total number of elements across all pages.
100The total number of pages available.
10The current page number (zero-based).
0The number of items per page.
10error object
Detailed information about the error response
Error code
ERR-142Error message
Resource not found / Internal server errordetails object[]
List of error details
Error code
ER4001Detailed error message
Invalid inputTarget of the error
usernameList of suggestions for resolving the error
["Check the resource ID","Ensure the resource exists"]metaData object
Additional metadata about the error, that could help in debugging
Additional metadata about the error, that could help in debugging
{"requestId":"3c5e4cebf39cbc5b","operationId":"66fd4d2ae6b6"}Timestamp of when the response was generated
{
"status": "ERROR/SUCCESS",
"message": "Request failed/Request successful",
"codeMessage": "ERR-001/SUC-001",
"data": {
"content": [
{
"associatedBankCode": "00004",
"branchCode": 86,
"accountRadical": "12345",
"accountNumber": "30001000200012345",
"productType": "OVERDRAFT",
"title": "Product Name",
"debitDate": "2024-07-29T15:51:28.071Z",
"amountPaid": 500.75,
"remainingAmountDue": 1200.5,
"dueDate": "2024-07-29T15:51:28.071Z",
"transactionStatus": "IN_PROGRESS",
"overdraftAmount": 1500.25
}
],
"totalElements": 100,
"totalPages": 10,
"number": 0,
"size": 10
},
"error": {
"code": "ERR-142",
"message": "Resource not found / Internal server error",
"details": [
{
"code": "ER4001",
"message": "Invalid input",
"target": "username"
}
],
"suggestions": [
"Check the resource ID",
"Ensure the resource exists"
],
"metaData": {
"requestId": "3c5e4cebf39cbc5b",
"operationId": "66fd4d2ae6b6"
}
},
"timestamp": "2024-07-29T15:51:28.071Z"
}