diff --git a/digifi_swagger.json b/digifi_swagger.json index 4fa8387..5ca4227 100644 --- a/digifi_swagger.json +++ b/digifi_swagger.json @@ -59,14 +59,6 @@ "url": "https://www.simbrellang.net" } }, - { - "name": "CustomerConsent", - "description": "CustomerConsent Request.", - "externalDocs": { - "description": "Find out more", - "url": "https://www.simbrellang.net" - } - }, { "name": "NotificationCallback", "description": "This new feature will be used for informing Simbrella about status of the transactions that FBN have processed.", @@ -180,9 +172,6 @@ "/Repayment": { "$ref": "./paths/Repayment.json" }, - "/CustomerConsent": { - "$ref": "./paths/CustomerConsent.json" - }, "/NotificationCallback": { "$ref": "./paths/NotificationCallback.json" }, @@ -252,12 +241,6 @@ "RACCheckResponse": { "$ref": "./schemas/RACCheckResponse.json" }, - "CustomerConsentRequest": { - "$ref": "./schemas/CustomerConsentRequest.json" - }, - "CustomerConsentResponse": { - "$ref": "./schemas/CustomerConsentResponse.json" - }, "NotificationCallbackRequest": { "$ref": "./schemas/NotificationCallbackRequest.json" }, diff --git a/schemas/RepaymentRequest.json b/schemas/RepaymentRequest.json index c76c370..c2d3978 100644 --- a/schemas/RepaymentRequest.json +++ b/schemas/RepaymentRequest.json @@ -14,16 +14,6 @@ "description": "Fixed value to identify request type", "example": "RepaymentRequest" }, - "transactionId": { - "type": "string", - "description": "Unique identifier of transaction in FIRSTBANK system", - "example": "20171209232115" - }, - "customerId": { - "type": "string", - "description": "Unique identifier of a customer", - "example": "CN621868" - }, "msisdn": { "type": "string", "description": "User's mobile number in an international format", @@ -39,6 +29,16 @@ "description": "Identifier of a product that user is repaying for", "example": "101" }, + "transactionId": { + "type": "string", + "description": "Unique identifier of transaction. This transaction Id must be consistent across all platforms", + "example": "Tr201712RK9232P115" + }, + "customerId": { + "type": "string", + "description": "Unique identifier of a customer", + "example": "CN621868" + }, "channel": { "type": "string", "description": "Request channel: USSD or APP", diff --git a/schemas/RepaymentResponse.json b/schemas/RepaymentResponse.json index 9627945..94900cd 100644 --- a/schemas/RepaymentResponse.json +++ b/schemas/RepaymentResponse.json @@ -2,6 +2,7 @@ "type": "object", "required": [ "customerId", + "transactionId", "productId", "debtId", "resultCode", @@ -13,6 +14,11 @@ "description": "Unique identifier of a user", "example": "CN621868" }, + "transactionId": { + "type": "string", + "description": "Unique identifier of transaction. This transaction Id must be consistent across all platforms", + "example": "Tr201712RK9232P115" + }, "productId": { "type": "string", "description": "Identifier of a product that user is payed for",