Scheme
Scheme
Postman Collection
URL
POST : /v1/service/investment/schemeHeaders
Content-Type (String) required
application/json
application/json
Authorization (String) required
Basic Auth
Basic Auth
Accept (String) required
application/json
application/json
Body Params
gender (String) Required
Merchant gender
Merchant gender
scheme (String / Fixed) Required
Merchant Scheme Type (SDR / FDR)
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
- SUCCESS
- FAILED
{
"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
}
]
}
}
{
"code": "0x0202",
"status": "FAILURE",
"message": "Payments Transaction Failed"
}
Response Code
| Status Code | Status | Message |
|---|---|---|
| 0x0200 | SUCCESS | TRANSACTION SUCCESSFULL |
| 0x0201 | UNAUTHORIZED | UNAUTHORIZED USER |
| 0x0202 | FAILURE | FAILURE USER |
| 0x0203 | MISSING_PARAMETER | MISSING PARAMETER |
| 0x0204 | CONNECTION_TIMEOUT | CONNECTION TIMEOUT |
| 0x0205 | SOMETHING_WENT_WRONG | SOMETHING WENT WRONG |
| 0x0206 | PENDING | TRANSACTION PENDING |
| 0x0208 | 2FA | TWO FACTOR AUNTHENTICATION |