125 lines
4.1 KiB
JSON
125 lines
4.1 KiB
JSON
{
|
|
"type": "object",
|
|
"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"
|
|
},
|
|
"transactionId": {
|
|
"type": "string",
|
|
"description": "Unique identifier of transaction in Simbrella system",
|
|
"example": "Tr201712RK9232P115"
|
|
},
|
|
"debtId": {
|
|
"type": "string",
|
|
"description": "Unique identifier of a loan in Simbrella system that is going to be collected (it correlates with provision request)",
|
|
"example": "273194670"
|
|
},
|
|
"customerId": {
|
|
"type": "string",
|
|
"description": "Unique identifier of a user",
|
|
"example": "CN621868"
|
|
},
|
|
"accountId": {
|
|
"type": "string",
|
|
"description": "Specific identifier of a user's account",
|
|
"example": "2017821799"
|
|
},
|
|
"productId": {
|
|
"type": "string",
|
|
"description": "Identifier of a product to be provided to a user",
|
|
"example": "101"
|
|
},
|
|
"provideAmount": {
|
|
"type": "number",
|
|
"format": "double",
|
|
"description": "Amount of loan (including service fee) to be provided on a specific account of a user",
|
|
"example": 100000.0
|
|
},
|
|
"totalFees": {
|
|
"type": "number",
|
|
"format": "double",
|
|
"description": "Total amount of all fees combined",
|
|
"example": 7075
|
|
},
|
|
"feesDetails": {
|
|
"type": "object",
|
|
"description": "Detailed breakdown of all fees",
|
|
"properties": {
|
|
"collectAmountInterest": {
|
|
"type": "number",
|
|
"format": "double",
|
|
"description": "Interest Amount to be collected immediately after loan is provided (Only for 30 days)",
|
|
"example": 5000
|
|
},
|
|
"collectAmountMgtFee": {
|
|
"type": "number",
|
|
"format": "double",
|
|
"description": "Management Fee Amount to be collected immediately after loan is provided",
|
|
"example": 1000
|
|
},
|
|
"collectAmountInsurance": {
|
|
"type": "number",
|
|
"format": "double",
|
|
"description": "Insurance Amount to be collected immediately after loan is provided",
|
|
"example": 1000
|
|
},
|
|
"collectAmountVAT": {
|
|
"type": "number",
|
|
"format": "double",
|
|
"description": "VAT Amount to be collected immediately after loan is provided",
|
|
"example": 75
|
|
}
|
|
},
|
|
"required": [
|
|
"collectAmountInterest",
|
|
"collectAmountMgtFee",
|
|
"collectAmountInsurance",
|
|
"collectAmountVAT"
|
|
]
|
|
},
|
|
"countryId": {
|
|
"type": "string",
|
|
"description": "Set to static value '01'",
|
|
"example": "01"
|
|
}
|
|
},
|
|
"required": [
|
|
"requestId",
|
|
"countryCode",
|
|
"transactionId",
|
|
"debtId",
|
|
"customerId",
|
|
"accountId",
|
|
"productId",
|
|
"provideAmount",
|
|
"totalFees",
|
|
"feesDetails"
|
|
],
|
|
"example": {
|
|
"requestId": "R02802",
|
|
"countryCode": "NGR",
|
|
"transactionId": "Tr201712RK9232P115",
|
|
"debtId": "273194670",
|
|
"customerId": "CN621868",
|
|
"accountId": "2017821799",
|
|
"productId": "101",
|
|
"provideAmount": 100000.0,
|
|
"totalFees": 7075,
|
|
"feesDetails": {
|
|
"collectAmountInterest": 5000,
|
|
"collectAmountMgtFee": 1000,
|
|
"collectAmountInsurance": 1000,
|
|
"collectAmountVAT": 75
|
|
}
|
|
},
|
|
"xml": {
|
|
"name": "DisbursementRequest"
|
|
}
|
|
} |