Updated the Request

This commit is contained in:
Azeez Muibi
2025-03-24 17:58:04 +01:00
parent d3242e0daf
commit 29ce3f8fbc
3 changed files with 19 additions and 7 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
"Disbursement"
],
"summary": "Loan Disbursement Request",
"description": "This request should be executed as an atomic operation. Providing a loan and collecting the upfront fees operation should be executed within the same transaction. If one of the operations is failed, the whole transaction should be rolled back. Results of requests sent to this endpoint will be received from NotificationCallback endpoint.",
"description": "This request should be executed as a simultaneous operation where loan provision and collection are executed together in same API call. If one of the operations is failed, the whole transaction should be rolled back.",
"operationId": "disbursement",
"requestBody": {
"required": true,
+7 -1
View File
@@ -4,7 +4,12 @@
"requestId": {
"type": "string",
"description": "Unique identifier of request",
"example": "REQ12345"
"example": "R02802"
},
"countryCode": {
"type": "string",
"description": "Unique country code. Please refer to Country Codes table",
"example": "NGR"
},
"debtId": {
"type": "string",
@@ -74,6 +79,7 @@
},
"required": [
"requestId",
"countryCode",
"debtId",
"transactionId",
"customerId",
+11 -5
View File
@@ -6,15 +6,20 @@
"description": "Unique identifier of request",
"example": "REQ12345"
},
"debtId": {
"countryCode": {
"type": "string",
"description": "Unique identifier of a loan in Simbrella system that is going to be collected (it correlates with provision request)",
"example": "273194670"
"description": "Unique country code.",
"example": "NGR"
},
"transactionId": {
"type": "string",
"description": "Unique identifier of transaction in Simbrella system",
"example": "T001"
"example": "Tr201712RK9232P115"
},
"debtId": {
"type": "string",
"description": "Unique identifier of a loan in Simbrella system that is going to be collected (it correlates with provision request)",
"example": "273194670"
},
"customerId": {
"type": "string",
@@ -79,8 +84,9 @@
},
"required": [
"requestId",
"debtId",
"countryCode",
"transactionId",
"debtId",
"customerId",
"accountId",
"productId",