Skip to main content

Scheme

Scheme

Postman Collection

URL

POST : /v1/service/investment/scheme

Headers

Content-Type  (String)   required
application/json
Authorization  (String)   required
Basic Auth
Accept  (String)   required
application/json

Body Params

gender  (String)   Required
Merchant gender
scheme  (String / Fixed)   Required
Merchant Scheme Type (SDR / FDR)
  • SDR = Cumulative
  • FDR = Non-Cumulative

Request

Example Request
    curl --location --request POST '/v1/service/investment/scheme' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic e3tsb2NfdXNlcn19Ont7bG9jX3Bhc3N9fQ==' \
--data-raw '{
"gender":"Female",
"scheme":"SDR"
}'

Response Samples

{
"code": "0x0200",
"message": "Scheme Detail Successfully.",
"status": "SUCCESS",
"data": {
"SDRScheme": [
{
"effectiveYield": 7.7,
"maturityValue": 5385,
"tenure": 12,
"rateOfIntrest": 7.44
},
{
"effectiveYield": 8.01,
"maturityValue": 5600,
"tenure": 18,
"rateOfIntrest": 7.58
},
{
"effectiveYield": 8.49,
"maturityValue": 5845,
"tenure": 24,
"rateOfIntrest": 7.86
},
{
"effectiveYield": 8.83,
"maturityValue": 6100,
"tenure": 30,
"rateOfIntrest": 8
},
{
"effectiveYield": 9.08,
"maturityValue": 6360,
"tenure": 36,
"rateOfIntrest": 8.05
},
{
"effectiveYield": 9.34,
"maturityValue": 6630,
"tenure": 42,
"rateOfIntrest": 8.1
},
{
"effectiveYield": 9.85,
"maturityValue": 7050,
"tenure": 50,
"rateOfIntrest": 8.28
},
{
"effectiveYield": 10.22,
"maturityValue": 7555,
"tenure": 60,
"rateOfIntrest": 8.28
}
]
}
}

Response Code

Status CodeStatusMessage
0x0200SUCCESSTRANSACTION SUCCESSFULL
0x0201UNAUTHORIZEDUNAUTHORIZED USER
0x0202FAILUREFAILURE USER
0x0203MISSING_PARAMETERMISSING PARAMETER
0x0204CONNECTION_TIMEOUTCONNECTION TIMEOUT
0x0205SOMETHING_WENT_WRONGSOMETHING WENT WRONG
0x0206PENDINGTRANSACTION PENDING
0x02082FATWO FACTOR AUNTHENTICATION