diff --git a/schemas/CustomerConsentRequest.json b/schemas/CustomerConsentRequest.json index 8789e18..e8e831f 100644 --- a/schemas/CustomerConsentRequest.json +++ b/schemas/CustomerConsentRequest.json @@ -1,11 +1,6 @@ { "type": "object", "properties": { - "$type": { - "type": "string", - "description": "Fixed value for this request type", - "example": "CustomerConsentRequest" - }, "transactionId": { "type": "string", "description": "Unique identifier of transaction in FIRSTBANK system", @@ -36,8 +31,7 @@ "channel": { "type": "string", "description": "Request channel: 'USSD' or 'APP'", - "enum": ["USSD", "APP"], - "example": "USSD" + "example": "100" } }, "required": [ diff --git a/schemas/EligibilityCheckRequest.json b/schemas/EligibilityCheckRequest.json index 652469d..9b90d25 100644 --- a/schemas/EligibilityCheckRequest.json +++ b/schemas/EligibilityCheckRequest.json @@ -31,12 +31,11 @@ "msisdn": { "type": "string", "description": "User's mobile number in an international format", - "example": "8093451342" + "example": "8012345678" }, "channel": { "type": "string", - "description": "Request channel: “USSD” or “MobApp” or “Web” type Channel", - "enum": ["USSD", "MobApp", "Web"], + "description": "Request channel: USSD, MobApp, or Web - type Channel", "example": "100" } }, diff --git a/schemas/LoanStatusRequest.json b/schemas/LoanStatusRequest.json index 3867395..9f4e94e 100644 --- a/schemas/LoanStatusRequest.json +++ b/schemas/LoanStatusRequest.json @@ -1,17 +1,11 @@ { "type": "object", "required": [ - "$type", "transactionId", "customerId", "channel" ], "properties": { - "$type": { - "type": "string", - "description": "Fixed value to identify request type", - "example": "LoanStatusRequest" - }, "transactionId": { "type": "string", "description": "Unique identifier of transaction. This transaction Id must be consistent across all platforms", @@ -30,8 +24,7 @@ "channel": { "type": "string", "description": "Request channel: USSD, MobileApp, or Web", - "enum": ["USSD", "MobileApp", "Web"], - "example": "USSD" + "example": "100" } }, "xml": { diff --git a/schemas/ProvideLoanRequest.json b/schemas/ProvideLoanRequest.json index 8e5b37b..e9cdecd 100644 --- a/schemas/ProvideLoanRequest.json +++ b/schemas/ProvideLoanRequest.json @@ -1,11 +1,6 @@ { "type": "object", "properties": { - "$type": { - "type": "string", - "description": "Value is fixed to 'ProvideLoanRequest'", - "example": "ProvideLoanRequest" - }, "requestId": { "type": "string", "description": "Unique identifier of request", diff --git a/schemas/RepaymentRequest.json b/schemas/RepaymentRequest.json index c2d3978..0b0403b 100644 --- a/schemas/RepaymentRequest.json +++ b/schemas/RepaymentRequest.json @@ -1,7 +1,6 @@ { "type": "object", "required": [ - "$type", "transactionId", "customerId", "debtId", @@ -9,11 +8,6 @@ "channel" ], "properties": { - "$type": { - "type": "string", - "description": "Fixed value to identify request type", - "example": "RepaymentRequest" - }, "msisdn": { "type": "string", "description": "User's mobile number in an international format", @@ -42,8 +36,7 @@ "channel": { "type": "string", "description": "Request channel: USSD or APP", - "enum": ["USSD", "APP"], - "example": "USSD" + "example": "100" } }, "xml": { diff --git a/schemas/RevokeEnableConsentResponse.json b/schemas/RevokeEnableConsentResponse.json index afbd3b1..9c5dca9 100644 --- a/schemas/RevokeEnableConsentResponse.json +++ b/schemas/RevokeEnableConsentResponse.json @@ -1,11 +1,6 @@ { "type": "object", "properties": { - "$type": { - "type": "string", - "description": "Value is fixed to 'RevokeEnableConsentResponse'", - "example": "RevokeEnableConsentResponse" - }, "customerId": { "type": "string", "description": "Unique identifier of a user", diff --git a/schemas/SelectOfferResponse.json b/schemas/SelectOfferResponse.json index 8b86a3c..f57f512 100644 --- a/schemas/SelectOfferResponse.json +++ b/schemas/SelectOfferResponse.json @@ -10,11 +10,6 @@ "resultDescription" ], "properties": { - "requestId": { - "type": "string", - "description": "Unique identifier of request", - "example": "202111170001371256908" - }, "transactionId": { "type": "string", "description": "Unique identifier of transaction. This transaction Id must be consistent across all platform", diff --git a/schemas/TransactionVerifyResponse.json b/schemas/TransactionVerifyResponse.json index 781430e..1911db8 100644 --- a/schemas/TransactionVerifyResponse.json +++ b/schemas/TransactionVerifyResponse.json @@ -1,11 +1,7 @@ { "type": "object", "properties": { - "$type": { - "type": "string", - "description": "Value is fixed to 'TransactionCheckResponse'", - "example": "TransactionCheckResponse" - }, + "nativeId": { "type": "string", "description": "Unique identifier of transaction in FIRSTBANK system",