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",
"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": [
+3 -10
View File
@@ -1,7 +1,6 @@
{
"type": "object",
"required": [
"$type",
"transactionId",
"countryCode",
"customerId",
@@ -9,11 +8,6 @@
"channel"
],
"properties": {
"$type": {
"type": "string",
"description": "Fixed value to identify request type",
"example": "EligibilityCheckRequest"
},
"transactionId": {
"type": "string",
"description": "Unique identifier of transaction. This transaction Id must be consistent across all platforms",
@@ -37,13 +31,12 @@
"msisdn": {
"type": "string",
"description": "User's mobile number in an international format",
"example": "2348012345678"
"example": "8012345678"
},
"channel": {
"type": "string",
"description": "Request channel: USSD, MobApp, or Web",
"enum": ["USSD", "MobApp", "Web"],
"example": "USSD"
"description": "Request channel: USSD, MobApp, or Web - type Channel",
"example": "100"
}
},
"xml": {
+9 -9
View File
@@ -35,13 +35,18 @@
"items": {
"type": "object",
"properties": {
"minamount": {
"offerId": {
"type": "string",
"description": "Offer identifier",
"example": "101"
},
"minAmount": {
"type": "number",
"format": "double",
"description": "Minimum loan amount",
"example": 5000
},
"maxamount": {
"maxAmount": {
"type": "number",
"format": "double",
"description": "Maximum loan amount",
@@ -50,14 +55,9 @@
"productId": {
"type": "string",
"description": "Product identifier",
"example": "101"
"example": "2030"
},
"offerid": {
"type": "string",
"description": "Offer identifier",
"example": "101"
},
"Tenor": {
"tenor": {
"type": "integer",
"description": "Loan tenor in days",
"example": 30
+1 -8
View File
@@ -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": {
-5
View File
@@ -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",
+1 -8
View File
@@ -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": {
-5
View File
@@ -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",
-5
View File
@@ -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",
+1 -5
View File
@@ -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",