Funexpert API


Lumpsum Redeem

Description

Lumpsum Redeem API will be used when User wants to redeem a Lump sum Amount. Through this API Amount will be redeemed from only those funds which are not doing well in your portfolio.

Type

Post

Resource URL

https://api.fundexpert.in/rest/user/lumpsum/redeem

Parameters

Input :


Field
Required/Optional
Type
Description
appId
Required
string
unique id given by consumer to user
sessionId
Required
string
session Id for each user's session
userId
Required
string
unique Id of user
amount
Required
double
amount to be redeem

Output :


Field
Description
Funds
Funds to redeem from and how much to redeem

Example Response

For Login:


{

"appId": your app id,
"sessionId": your session id,
"userId": your user id,
"amount": 100000,

}

On Success:


{

"success": true,
"mutualfunds":
[
{
"amfiiCode": "12323",
"amount": "50000",
"date": "2017-05-05"
},
{
"amfiiCode": "12323",
"amount": "30000",
"date": "2017-06-05"
},
{
"amfiiCode": "14363",
"amount": "20000",
"date": "2017-06-25"
}
]

}

On Failure:


{

"success": false,
"error":
{
"message": "User does not have enough holding to take out given amount.",
"code": 761
}

}