Updated Swagger Documentation

This commit is contained in:
Azeez Muibi
2025-03-24 15:15:31 +01:00
parent 67dfc32e4a
commit 9684d6dd29
56 changed files with 1344 additions and 349 deletions
+13 -1
View File
@@ -3,31 +3,40 @@
"properties": {
"$type": {
"type": "string",
"description": "Fixed value for this request type",
"example": "CustomerConsentRequest"
},
"transactionId": {
"type": "string",
"description": "Unique identifier of transaction in FIRSTBANK system",
"example": "20171209232177"
},
"customerId": {
"type": "string",
"description": "Unique identifier of a customer",
"example": "CN621868"
},
"accountId": {
"type": "string",
"description": "Specific identifier of a user's account",
"example": "ACN8263457"
},
"requestTime": {
"type": "string",
"format": "date-time",
"description": "Date and time of consent request",
"example": "2019-10-18 14:26:21.063"
},
"consentType": {
"type": "string",
"description": "Type of consent: 'Enable' or 'Revoke'",
"enum": ["Enable", "Revoke"],
"example": "Revoke"
},
"channel": {
"type": "string",
"description": "Request channel: 'USSD' or 'APP'",
"enum": ["USSD", "APP"],
"example": "USSD"
}
},
@@ -39,5 +48,8 @@
"requestTime",
"consentType",
"channel"
]
],
"xml": {
"name": "CustomerConsentRequest"
}
}