Skip to main content

ResponseWrapperOverdraftAgendaDto

Wrapper for the response containing the overdraft agenda, which includes transaction details an account.

statusstring

Status of the response

Possible values: [SUCCESS, ERROR]

Example: ERROR/SUCCESS
messagestring

Message describing the response

Example: Request failed/Request successful
codeMessagestring

Code message describing the response

Example: ERR-001/SUC-001
data object

Represents paginated results.

content object[]

The list of items in the current page.

  • Array [
  • associatedBankCodestring

    Associated bank code

    Example: 00004
    branchCodestring

    Bank branch code

    Example: 86
    accountRadicalstring

    Account radical

    Example: 12345
    accountNumberstring

    Complete account number

    Example: 30001000200012345
    productTypestring

    Banking product type

    Example: OVERDRAFT
    titlestring

    Title

    Example: Product Name
    debitDatedate-time

    Debit date

    amountPaidnumber

    Amount paid

    Example: 500.75
    remainingAmountDuenumber

    Remaining amount due

    Example: 1200.5
    dueDatedate-time

    Due date

    transactionStatusstring

    Transaction status

    Example: IN_PROGRESS
    overdraftAmountnumber

    Overdraft amount

    Example: 1500.25
  • ]
  • totalElementsint64

    The total number of elements across all pages.

    Example: 100
    totalPagesint32

    The total number of pages available.

    Example: 10
    numberint32

    The current page number (zero-based).

    Example: 0
    sizeint32

    The number of items per page.

    Example: 10
    error object

    Detailed information about the error response

    codestring

    Error code

    Example: ERR-142
    messagestring

    Error message

    Example: Resource not found / Internal server error
    details object[]

    List of error details

  • Array [
  • codestring

    Error code

    Example: ER4001
    messagestring

    Detailed error message

    Example: Invalid input
    targetstring

    Target of the error

    Example: username
  • ]
  • suggestionsstring[]

    List of suggestions for resolving the error

    Example: ["Check the resource ID","Ensure the resource exists"]
    metaData object

    Additional metadata about the error, that could help in debugging

    property name*string

    Additional metadata about the error, that could help in debugging

    Example: {"requestId":"3c5e4cebf39cbc5b","operationId":"66fd4d2ae6b6"}
    timestampdate-time

    Timestamp of when the response was generated

    ResponseWrapperOverdraftAgendaDto
    {
    "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"
    }