ResponseWrapperBillPaymentRequestActionResponseDto
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
This DTO represents the response for terminating a bill payment request.
URL to which the user should be redirected.
https://bank.app.example.ma/signUnique identifier of the bill payment request.
123456the status of the request
Possible values: [ABANDONNE, ANNULE, EN_COURS_DE_SIGNATURE, EN_COURS_DE_TRAITEMENT, REJETE, RETOUR_INITIATEUR, SIGNE, SWIFT_MT700_GENERE, TRAITE, TRAITE_PARTIELLEMENT, A_COMPLETER]
SIGNEerror 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": {
"urlRedirect": "https://bank.app.example.ma/sign",
"id": 123456,
"statut": "SIGNE",
"multiSign": true
},
"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"
}