Updated Docs
This commit is contained in:
@@ -38,11 +38,6 @@
|
||||
"description": "Aggregated (summed up) lien amount",
|
||||
"example": 101.2
|
||||
},
|
||||
"countryId": {
|
||||
"type": "string",
|
||||
"description": "Set to static value '01'",
|
||||
"example": "01"
|
||||
},
|
||||
"comment": {
|
||||
"type": "string",
|
||||
"description": "Any additional comment for provided loan operation",
|
||||
@@ -56,8 +51,7 @@
|
||||
"customerId",
|
||||
"accountId",
|
||||
"penalCharge",
|
||||
"lienAmount",
|
||||
"countryId"
|
||||
"lienAmount"
|
||||
],
|
||||
"xml": {
|
||||
"name": "PenalChargeRequest"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"customerId",
|
||||
"accountId",
|
||||
"productId",
|
||||
"collectAmount",
|
||||
"collectedAmount",
|
||||
"collectionMethod",
|
||||
"lienAmount"
|
||||
],
|
||||
@@ -48,7 +48,7 @@
|
||||
"description": "Identifier of a product for which collection to be made",
|
||||
"example": "101"
|
||||
},
|
||||
"collectAmount": {
|
||||
"collectedAmount": {
|
||||
"type": "number",
|
||||
"format": "double",
|
||||
"description": "Amount to be collected from user's account (penalCharge is not included)",
|
||||
@@ -86,7 +86,7 @@
|
||||
"customerId": "CN621868",
|
||||
"accountId": "2017821799",
|
||||
"productId": "101",
|
||||
"collectAmount": 80000.00,
|
||||
"collectedAmount": 80000.00,
|
||||
"penalCharge": 0,
|
||||
"collectionMethod": 1,
|
||||
"lienAmount": 80000.00,
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"customerId",
|
||||
"accountId",
|
||||
"productId",
|
||||
"collectAmount",
|
||||
"collectedAmount",
|
||||
"lienAmount",
|
||||
"resultCode",
|
||||
"resultDescription"
|
||||
@@ -49,7 +49,7 @@
|
||||
"description": "Identifier of a product for which collection to be made",
|
||||
"example": "101"
|
||||
},
|
||||
"collectAmount": {
|
||||
"collectedAmount": {
|
||||
"type": "number",
|
||||
"format": "double",
|
||||
"description": "Amount to be collected from user's account (penalCharge is not included)",
|
||||
@@ -91,7 +91,7 @@
|
||||
"customerId": "CN621868",
|
||||
"accountId": "2017821799",
|
||||
"productId": "101",
|
||||
"collectAmount": 60000.00,
|
||||
"collectedAmount": 60000.00,
|
||||
"penalCharge": 0,
|
||||
"lienAmount": 20000,
|
||||
"comment": "Testing CollectionLoanRequest",
|
||||
|
||||
@@ -1,20 +1,34 @@
|
||||
{
|
||||
"type": "object",
|
||||
"required": [
|
||||
"requestId",
|
||||
"countryCode",
|
||||
"counter",
|
||||
"transactionId",
|
||||
"customerId",
|
||||
"accountId",
|
||||
"transactionType"
|
||||
],
|
||||
"properties": {
|
||||
"requestId": {
|
||||
"type": "string",
|
||||
"description": "Unique identifier of request",
|
||||
"example": "R02802"
|
||||
},
|
||||
"countryCode": {
|
||||
"type": "string",
|
||||
"description": "Unique country code. Please refer to Country Codes table",
|
||||
"example": "NGR"
|
||||
},
|
||||
"counter": {
|
||||
"type": "string",
|
||||
"description": "Unique counter for number of attempts of the API call. Original attempt is 1",
|
||||
"example": "2"
|
||||
},
|
||||
"TransactionId": {
|
||||
"transactionId": {
|
||||
"type": "string",
|
||||
"description": "Id of the transaction we are checking",
|
||||
"example": "T002"
|
||||
},
|
||||
"RequestId": {
|
||||
"type": "string",
|
||||
"description": "Id of this transaction query",
|
||||
"example": "R02802"
|
||||
"example": "Tr201712RK9232P115"
|
||||
},
|
||||
"customerId": {
|
||||
"type": "string",
|
||||
@@ -26,11 +40,6 @@
|
||||
"description": "Specific identifier of a user's account",
|
||||
"example": "2017821799"
|
||||
},
|
||||
"countryId": {
|
||||
"type": "string",
|
||||
"description": "Set to static value '01'",
|
||||
"example": "01"
|
||||
},
|
||||
"transactionType": {
|
||||
"type": "string",
|
||||
"description": "To check state of loan disbursal transaction, value must be 'Disbursement', to check state of loan collection transaction, value must be 'Collection', to check state of penalty charge transaction, value must be 'Penalty'",
|
||||
@@ -38,15 +47,15 @@
|
||||
"example": "Disbursement"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"counter",
|
||||
"TransactionId",
|
||||
"RequestId",
|
||||
"customerId",
|
||||
"accountId",
|
||||
"countryId",
|
||||
"transactionType"
|
||||
],
|
||||
"example": {
|
||||
"requestId": "R02802",
|
||||
"countryCode": "NGR",
|
||||
"counter": "2",
|
||||
"transactionId": "Tr201712RK9232P115",
|
||||
"customerId": "CN621868",
|
||||
"accountId": "2017821799",
|
||||
"transactionType": "Disbursement"
|
||||
},
|
||||
"xml": {
|
||||
"name": "TransactionVerifyRequest"
|
||||
}
|
||||
|
||||
@@ -1,11 +1,38 @@
|
||||
{
|
||||
"type": "object",
|
||||
"required": [
|
||||
"requestId",
|
||||
"countryCode",
|
||||
"transactionId",
|
||||
"transactionType",
|
||||
"customerId",
|
||||
"accountId",
|
||||
"providedAmount",
|
||||
"collectedAmount",
|
||||
"resultCode",
|
||||
"resultDescription"
|
||||
],
|
||||
"properties": {
|
||||
|
||||
"nativeId": {
|
||||
"requestId": {
|
||||
"type": "string",
|
||||
"description": "Unique identifier of transaction in FIRSTBANK system",
|
||||
"example": "FBN20191031104405CN621868"
|
||||
"description": "Unique identifier of request",
|
||||
"example": "R02802"
|
||||
},
|
||||
"countryCode": {
|
||||
"type": "string",
|
||||
"description": "Unique country code. Please refer to Country Codes table",
|
||||
"example": "NGR"
|
||||
},
|
||||
"transactionId": {
|
||||
"type": "string",
|
||||
"description": "Unique identifier of transaction in Simbrella system",
|
||||
"example": "Tr201712RK9232P115"
|
||||
},
|
||||
"transactionType": {
|
||||
"type": "string",
|
||||
"description": "Type of transaction: Disbursement, Collection, or Penalty",
|
||||
"enum": ["Disbursement", "Collection", "Penalty"],
|
||||
"example": "Disbursement"
|
||||
},
|
||||
"customerId": {
|
||||
"type": "string",
|
||||
@@ -17,17 +44,11 @@
|
||||
"description": "Specific identifier of a user's account",
|
||||
"example": "2017821799"
|
||||
},
|
||||
"transactionType": {
|
||||
"type": "string",
|
||||
"description": "Type of transaction: Disbursement, Collection, or Penalty",
|
||||
"enum": ["Disbursement", "Collection", "Penalty"],
|
||||
"example": "Collection"
|
||||
},
|
||||
"providedAmount": {
|
||||
"type": "number",
|
||||
"format": "double",
|
||||
"description": "Amount provided to a user within loan provision operation",
|
||||
"example": 0.0
|
||||
"example": 100.0
|
||||
},
|
||||
"collectedAmount": {
|
||||
"type": "number",
|
||||
@@ -46,16 +67,18 @@
|
||||
"example": "Collect Status retrieved successfully."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"$type",
|
||||
"nativeId",
|
||||
"customerId",
|
||||
"accountId",
|
||||
"providedAmount",
|
||||
"collectedAmount",
|
||||
"resultCode",
|
||||
"resultDescription"
|
||||
],
|
||||
"example": {
|
||||
"requestId": "R02802",
|
||||
"countryCode": "NGR",
|
||||
"transactionId": "Tr201712RK9232P115",
|
||||
"transactionType": "Disbursement",
|
||||
"customerId": "CN621868",
|
||||
"accountId": "2017821799",
|
||||
"providedAmount": 100.0,
|
||||
"collectedAmount": 7.50,
|
||||
"resultCode": "00",
|
||||
"resultDescription": "Collect Status retrieved successfully."
|
||||
},
|
||||
"xml": {
|
||||
"name": "TransactionVerifyResponse"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user