Fix some patrhs

This commit is contained in:
CHIEFSOFT\ameye
2025-03-24 21:29:07 -04:00
parent ce4079b2d2
commit 635387104f
9 changed files with 16 additions and 62 deletions
+1 -7
View File
@@ -1,11 +1,6 @@
{ {
"type": "object", "type": "object",
"properties": { "properties": {
"$type": {
"type": "string",
"description": "Fixed value for this request type",
"example": "CustomerConsentRequest"
},
"transactionId": { "transactionId": {
"type": "string", "type": "string",
"description": "Unique identifier of transaction in FIRSTBANK system", "description": "Unique identifier of transaction in FIRSTBANK system",
@@ -36,8 +31,7 @@
"channel": { "channel": {
"type": "string", "type": "string",
"description": "Request channel: 'USSD' or 'APP'", "description": "Request channel: 'USSD' or 'APP'",
"enum": ["USSD", "APP"], "example": "100"
"example": "USSD"
} }
}, },
"required": [ "required": [
+3 -10
View File
@@ -1,7 +1,6 @@
{ {
"type": "object", "type": "object",
"required": [ "required": [
"$type",
"transactionId", "transactionId",
"countryCode", "countryCode",
"customerId", "customerId",
@@ -9,11 +8,6 @@
"channel" "channel"
], ],
"properties": { "properties": {
"$type": {
"type": "string",
"description": "Fixed value to identify request type",
"example": "EligibilityCheckRequest"
},
"transactionId": { "transactionId": {
"type": "string", "type": "string",
"description": "Unique identifier of transaction. This transaction Id must be consistent across all platforms", "description": "Unique identifier of transaction. This transaction Id must be consistent across all platforms",
@@ -37,13 +31,12 @@
"msisdn": { "msisdn": {
"type": "string", "type": "string",
"description": "User's mobile number in an international format", "description": "User's mobile number in an international format",
"example": "2348012345678" "example": "8012345678"
}, },
"channel": { "channel": {
"type": "string", "type": "string",
"description": "Request channel: USSD, MobApp, or Web", "description": "Request channel: USSD, MobApp, or Web - type Channel",
"enum": ["USSD", "MobApp", "Web"], "example": "100"
"example": "USSD"
} }
}, },
"xml": { "xml": {
+9 -9
View File
@@ -35,13 +35,18 @@
"items": { "items": {
"type": "object", "type": "object",
"properties": { "properties": {
"minamount": { "offerId": {
"type": "string",
"description": "Offer identifier",
"example": "101"
},
"minAmount": {
"type": "number", "type": "number",
"format": "double", "format": "double",
"description": "Minimum loan amount", "description": "Minimum loan amount",
"example": 5000 "example": 5000
}, },
"maxamount": { "maxAmount": {
"type": "number", "type": "number",
"format": "double", "format": "double",
"description": "Maximum loan amount", "description": "Maximum loan amount",
@@ -50,14 +55,9 @@
"productId": { "productId": {
"type": "string", "type": "string",
"description": "Product identifier", "description": "Product identifier",
"example": "101" "example": "2030"
}, },
"offerid": { "tenor": {
"type": "string",
"description": "Offer identifier",
"example": "101"
},
"Tenor": {
"type": "integer", "type": "integer",
"description": "Loan tenor in days", "description": "Loan tenor in days",
"example": 30 "example": 30
+1 -8
View File
@@ -1,17 +1,11 @@
{ {
"type": "object", "type": "object",
"required": [ "required": [
"$type",
"transactionId", "transactionId",
"customerId", "customerId",
"channel" "channel"
], ],
"properties": { "properties": {
"$type": {
"type": "string",
"description": "Fixed value to identify request type",
"example": "LoanStatusRequest"
},
"transactionId": { "transactionId": {
"type": "string", "type": "string",
"description": "Unique identifier of transaction. This transaction Id must be consistent across all platforms", "description": "Unique identifier of transaction. This transaction Id must be consistent across all platforms",
@@ -30,8 +24,7 @@
"channel": { "channel": {
"type": "string", "type": "string",
"description": "Request channel: USSD, MobileApp, or Web", "description": "Request channel: USSD, MobileApp, or Web",
"enum": ["USSD", "MobileApp", "Web"], "example": "100"
"example": "USSD"
} }
}, },
"xml": { "xml": {
-5
View File
@@ -1,11 +1,6 @@
{ {
"type": "object", "type": "object",
"properties": { "properties": {
"$type": {
"type": "string",
"description": "Value is fixed to 'ProvideLoanRequest'",
"example": "ProvideLoanRequest"
},
"requestId": { "requestId": {
"type": "string", "type": "string",
"description": "Unique identifier of request", "description": "Unique identifier of request",
+1 -8
View File
@@ -1,7 +1,6 @@
{ {
"type": "object", "type": "object",
"required": [ "required": [
"$type",
"transactionId", "transactionId",
"customerId", "customerId",
"debtId", "debtId",
@@ -9,11 +8,6 @@
"channel" "channel"
], ],
"properties": { "properties": {
"$type": {
"type": "string",
"description": "Fixed value to identify request type",
"example": "RepaymentRequest"
},
"msisdn": { "msisdn": {
"type": "string", "type": "string",
"description": "User's mobile number in an international format", "description": "User's mobile number in an international format",
@@ -42,8 +36,7 @@
"channel": { "channel": {
"type": "string", "type": "string",
"description": "Request channel: USSD or APP", "description": "Request channel: USSD or APP",
"enum": ["USSD", "APP"], "example": "100"
"example": "USSD"
} }
}, },
"xml": { "xml": {
-5
View File
@@ -1,11 +1,6 @@
{ {
"type": "object", "type": "object",
"properties": { "properties": {
"$type": {
"type": "string",
"description": "Value is fixed to 'RevokeEnableConsentResponse'",
"example": "RevokeEnableConsentResponse"
},
"customerId": { "customerId": {
"type": "string", "type": "string",
"description": "Unique identifier of a user", "description": "Unique identifier of a user",
-5
View File
@@ -10,11 +10,6 @@
"resultDescription" "resultDescription"
], ],
"properties": { "properties": {
"requestId": {
"type": "string",
"description": "Unique identifier of request",
"example": "202111170001371256908"
},
"transactionId": { "transactionId": {
"type": "string", "type": "string",
"description": "Unique identifier of transaction. This transaction Id must be consistent across all platform", "description": "Unique identifier of transaction. This transaction Id must be consistent across all platform",
+1 -5
View File
@@ -1,11 +1,7 @@
{ {
"type": "object", "type": "object",
"properties": { "properties": {
"$type": {
"type": "string",
"description": "Value is fixed to 'TransactionCheckResponse'",
"example": "TransactionCheckResponse"
},
"nativeId": { "nativeId": {
"type": "string", "type": "string",
"description": "Unique identifier of transaction in FIRSTBANK system", "description": "Unique identifier of transaction in FIRSTBANK system",