Updated the Request

This commit is contained in:
Azeez Muibi
2025-03-24 15:37:39 +01:00
parent 9684d6dd29
commit 0c5b976117
3 changed files with 134 additions and 3 deletions
+127 -2
View File
@@ -222,10 +222,135 @@
},
"components": {
"schemas": {
"$ref": "./schemas/schemas.json"
"EligibilityCheckRequest": {
"$ref": "./schemas/EligibilityCheckRequest.json"
},
"EligibilityCheckResponse": {
"$ref": "./schemas/EligibilityCheckResponse.json"
},
"SelectOfferRequest": {
"$ref": "./schemas/SelectOfferRequest.json"
},
"SelectOfferResponse": {
"$ref": "./schemas/SelectOfferResponse.json"
},
"LoanInformationRequest": {
"$ref": "./schemas/LoanInformationRequest.json"
},
"LoanInformationResponse": {
"$ref": "./schemas/LoanInformationResponse.json"
},
"RepaymentRequest": {
"$ref": "./schemas/RepaymentRequest.json"
},
"RepaymentResponse": {
"$ref": "./schemas/RepaymentResponse.json"
},
"RACCheckRequest": {
"$ref": "./schemas/RACCheckRequest.json"
},
"RACCheckResponse": {
"$ref": "./schemas/RACCheckResponse.json"
},
"CustomerConsentRequest": {
"$ref": "./schemas/CustomerConsentRequest.json"
},
"CustomerConsentResponse": {
"$ref": "./schemas/CustomerConsentResponse.json"
},
"NotificationCallbackRequest": {
"$ref": "./schemas/NotificationCallbackRequest.json"
},
"NotificationCallbackResponse": {
"$ref": "./schemas/NotificationCallbackResponse.json"
},
"DisbursementRequest": {
"$ref": "./schemas/DisbursementRequest.json"
},
"DisbursementResponse": {
"$ref": "./schemas/DisbursementResponse.json"
},
"CollectLoanRequest": {
"$ref": "./schemas/CollectLoanRequest.json"
},
"CollectLoanResponse": {
"$ref": "./schemas/CollectLoanResponse.json"
},
"TransactionVerifyRequest": {
"$ref": "./schemas/TransactionVerifyRequest.json"
},
"TransactionVerifyResponse": {
"$ref": "./schemas/TransactionVerifyResponse.json"
},
"PenalChargeRequest": {
"$ref": "./schemas/PenalChargeRequest.json"
},
"PenalChargeResponse": {
"$ref": "./schemas/PenalChargeResponse.json"
},
"RevokeEnableConsentRequest": {
"$ref": "./schemas/RevokeEnableConsentRequest.json"
},
"RevokeEnableConsentResponse": {
"$ref": "./schemas/RevokeEnableConsentResponse.json"
},
"TokenValidationRequest": {
"$ref": "./schemas/TokenValidationRequest.json"
},
"TokenValidationResponse": {
"$ref": "./schemas/TokenValidationResponse.json"
},
"NewTransactionCheckRequest": {
"$ref": "./schemas/NewTransactionCheckRequest.json"
},
"NewTransactionCheckResponse": {
"$ref": "./schemas/NewTransactionCheckResponse.json"
},
"LienCheckRequest": {
"$ref": "./schemas/LienCheckRequest.json"
},
"LienCheckResponse": {
"$ref": "./schemas/LienCheckResponse.json"
},
"SMSRequest": {
"$ref": "./schemas/SMSRequest.json"
},
"SMSResponse": {
"$ref": "./schemas/SMSResponse.json"
},
"BulkSMSRequest": {
"$ref": "./schemas/BulkSMSRequest.json"
},
"BulkSMSResponse": {
"$ref": "./schemas/BulkSMSResponse.json"
},
"ApiResponse": {
"$ref": "./schemas/ApiResponse.json"
}
},
"securitySchemes": {
"$ref": "./security/securitySchemes.json"
"petstore_auth": {
"type": "oauth2",
"flows": {
"implicit": {
"authorizationUrl": "https://petstore3.swagger.io/oauth/authorize",
"scopes": {
"write:pets": "modify pets in your account",
"read:pets": "read your pets"
}
}
}
},
"api_key": {
"type": "apiKey",
"name": "api_key",
"in": "header"
},
"basic_auth": {
"type": "http",
"scheme": "basic",
"description": "Basic authentication with username and password"
}
}
}
}
+1 -1
View File
@@ -4,7 +4,7 @@
"NotificationCallback"
],
"summary": "Notification Callback",
"description": "This new feature will be used for informing Simbrella about status of the transactions that FBN have processed. Retry mechanism should be implemented by FirstBank in case of connection issues, sending notification should be repeated for 5 minutes in case of there is connection issues, after which Simbrella will try to check the status of transaction with New Transaction Check endpoint. FBN should provide a list of Response Codes with corresponding Response Descriptions for notifications. Please note that AmountCollected field will equal to 0 when transaction type is Disbursement. AmountProvided field will equal to 0 when transaction type is Collection or PenalCharge.",
"description": "This new feature will be used for informing Simbrella about status of the transactions that FBN have processed. Retry mechanism should be implemented by FirstBank in case of connection issues, sending notification should be repeated for 5 minutes in case of there is connection issues, after which Simbrella will try to check the status of transaction with New Transaction Check endpoint.",
"operationId": "notificationCallback",
"requestBody": {
"description": "Transaction status notification from FirstBank to Simbrella",
+6
View File
@@ -35,6 +35,12 @@
"CustomerConsentResponse": {
"$ref": "./CustomerConsentResponse.json"
},
"NotificationCallbackRequest": {
"$ref": "./NotificationCallbackRequest.json"
},
"NotificationCallbackResponse": {
"$ref": "./NotificationCallbackResponse.json"
},
"DisbursementRequest": {
"$ref": "./DisbursementRequest.json"
},