ResponseWrapperListBillerDto
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[]
Unique code identifying the biller
CR12345Name of the biller
Maroc TelecomBrief description of the biller's services
the number one Provider of Internet and telecom services in MoroccoPath to the logo image file for the biller
/images/logos/biller_logo.pngWebsite URL of the biller
https://www.iam.comCategory of the biller
telecom_and_internetType of the biller
debts object[]
List of associated debts
Name of the debt
Porduit entrepriseUnique debt code
debt123Category of the debt
telecom_and_internetID of the biller
CR123456Path to the biller's logo
https://www.iam.com/logos/biller.pngLabel or name of the biller
National Telecom CompanyType of biller
CompanyUnique identifier for this debt
789Reference transaction for 'Fatourati' system
FTX123456The type of search
error 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": [
{
"billerCode": "CR12345",
"billerName": "Maroc Telecom",
"description": "the number one Provider of Internet and telecom services in Morocco",
"logoPath": "/images/logos/biller_logo.png",
"siteUrl": "https://www.iam.com",
"category": "telecom_and_internet",
"billerType": "string",
"debts": [
{
"name": "Porduit entreprise",
"code": "debt123",
"category": "telecom_and_internet",
"billerId": "CR123456",
"logoPath": "https://www.iam.com/logos/biller.png",
"billerLabel": "National Telecom Company",
"billerType": "Company",
"id": 789,
"refTxFatourati": "FTX123456"
}
],
"typeOfSearch": "string"
}
],
"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"
}