diff --git a/paths/Disbursement.json b/paths/Disbursement.json index 80d1f43..72a1284 100644 --- a/paths/Disbursement.json +++ b/paths/Disbursement.json @@ -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, diff --git a/schemas/DisbursementRequest.json b/schemas/DisbursementRequest.json index c1915e0..c79f430 100644 --- a/schemas/DisbursementRequest.json +++ b/schemas/DisbursementRequest.json @@ -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", diff --git a/schemas/DisbursementResponse.json b/schemas/DisbursementResponse.json index fe0a9a4..d7b8790 100644 --- a/schemas/DisbursementResponse.json +++ b/schemas/DisbursementResponse.json @@ -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",