Files
MermsCoreFlask/app/swagger/schemas/EligibilityCheckResponse.json
CHIEFSOFT\ameye 987b7d6383 mercore starter
2025-06-22 20:45:07 -04:00

82 lines
2.3 KiB
JSON

{
"type": "object",
"properties": {
"customerId": {
"type": "string",
"example": "CN621868"
},
"transactionId": {
"type": "string",
"example": "TX12345"
},
"countryCode": {
"type": "string",
"example": "NG"
},
"msisdn": {
"type": "string",
"example": "3451342"
},
"eligibleOffers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"offerId": {
"type": "string",
"example": "Offer1"
},
"productId": {
"type": "string",
"example": "Product1"
},
"minAamount": {
"type": "number",
"format": "decimal",
"example": 100.00
},
"maxAamount": {
"type": "number",
"format": "decimal",
"example": 1000.00
},
"tenor": {
"type": "integer",
"example": 12
}
}
},
"example": [
{
"offerId": "Offer1",
"productId": "Product1",
"minAamount": 100.00,
"maxAamount": 1000.00,
"tenor": 12
},
{
"offerId": "Offer2",
"productId": "Product2",
"minAamount": 200.00,
"maxAamount": 2000.00,
"tenor": 24
}
]
},
"resultDescription": {
"type": "string",
"example": "Successful"
},
"resultCode": {
"type": "string",
"example": "00"
},
"accountId": {
"type": "string",
"example": "ACN8263457"
}
},
"xml": {
"name": "EligibilityCheckResponse"
}
}