Skip to main content

ResponseWrapperFavoriteTransferDto

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

Response containing favorite transfer details

idinteger<int64>

Favorite ID

Example: 1
debitAccountstring

Account to be debited

Example: FR7612345678901234567890123
beneficiaryAccountstring

Beneficiary account number

Example: FR7698765432109876543210987
amountnumber

Transfer amount

Example: 9100.5
amountFormattedstring

Transfer amount formatted

Example: 9 100 , 50
labelstring

Transfer description

Example: Monthly payment
aliasstring

Custom alias

Example: My Monthly Transfer
statusstring

Favorite status

Possible values: [ACTIVE, DELETED]

Example: ACTIVE
createdAtstring<date-time>

Creation date

updatedAtstring<date-time>

Last modification date

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"}
    timestampstring<date-time>

    Timestamp of when the response was generated

    ResponseWrapperFavoriteTransferDto
    {
    "status": "ERROR/SUCCESS",
    "message": "Request failed/Request successful",
    "codeMessage": "ERR-001/SUC-001",
    "data": {
    "id": 1,
    "debitAccount": "FR7612345678901234567890123",
    "beneficiaryAccount": "FR7698765432109876543210987",
    "amount": 9100.5,
    "amountFormatted": "9 100 , 50",
    "label": "Monthly payment",
    "alias": "My Monthly Transfer",
    "status": "ACTIVE",
    "createdAt": "2024-07-29T15:51:28.071Z",
    "updatedAt": "2024-07-29T15:51:28.071Z"
    },
    "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"
    }