ResponseWrapperPaymentCartValidationResponseDto
Generic API response wrapper
Response status
Possible values: [SUCCESS, ERROR]
ERROR/SUCCESSMessage describing the response
Request failed/Request successfulCode message describing the response
ERR-001/SUC-001data object
Payment cart checkout preparation response
Total amount of the payment cart
150.75Total amount converted to a formatted string
150.75Total number of items in the cart
3Date the payment cart request was sent
2023-09-30T10:15:30Account number associated with the payment
123456789Type of transaction being performed
BILL_PAYMENTUnique identifier for the payment cart
A1B2C3D4Version number of the object
1The signature method used for signing the transaction
Possible values: [VIRTUAL_KEYBOARD, OTP_SMS]
VIRUAL_KEYBOARDerror object
Details of any error that occurred
Error code
ERR-142Human-readable error message
Resource not founddetails object[]
List of error details
Specific error code
ER4001What went wrong
Invalid inputField that caused the issue
usernameSuggested fixes
["Check the resource ID","Ensure the resource exists"]metaData object
Extra metadata to help debugging
Timestamp of when the response was generated
22024-10-14T14:28:11.284+01:00{
"status": "ERROR/SUCCESS",
"message": "Request failed/Request successful",
"codeMessage": "ERR-001/SUC-001",
"data": {
"totalAmount": 150.75,
"totalAmountFormatted": 150.75,
"total": 3,
"requestSentDate": "2023-09-30T10:15:30",
"accountNumber": 123456789,
"transactionType": "BILL_PAYMENT",
"id": "A1B2C3D4",
"version": 1,
"signatureMethod": "VIRUAL_KEYBOARD"
},
"error": {
"code": "ERR-142",
"message": "Resource not found",
"details": [
{
"code": "ER4001",
"message": "Invalid input",
"target": "username"
},
{
"code": "ER4002",
"message": "Missing field",
"target": "email"
}
],
"suggestions": [
"Check the resource ID",
"Ensure the resource exists"
],
"metaData": {}
},
"timestamp": "22024-10-14T14:28:11.284+01:00"
}