Back to home
Doc Fundamentals
API Reference
Funds Management
Order Management
Portfolio Management
User Authentication
EDIS
POSTJSONRest API
2901
Daily API Calls
100%
Success Rate
62 ms
Avg. Response Time
To sell a stock in your DMAT account you need to complete EDIS process. We are offering this through API.
Process for EDIS-
1. Create .html file with form data with the required fields. Sample file format is mentioned below.
2. Open the HTML file in browser and complete Sell authorization process.
REQUEST URL
https://dev-openapi.5paisa.com/WebVendorLogin/EDISAuthorization/Authorization
Request body
FIELD NAME | MANDATORY | DESCRIPTION |
---|---|---|
Access TokenSTRING | Yes | Access Token of Client. |
ClientcodeSTRING | Yes | 5paisa demat account client code of the user in plain text. |
VednorKeySTRING | Yes | AppKey of user or partner. |
ResponseURLSTRING | Yes | The Callback URL where customer will be redirected after successful sell authorization. |
SAMPLE REQUEST BODY :
<form name= "VEdisForm" method = "post"
action="https://dev-openapi.5paisa.com/WebVendorLogin/EDISAuthorization/Authorization" >
<input type= "hidden" name= "AccessToken" value= "{Access Token}"/>
<input type= "hidden" name= "ClientCode" value="{client_code}" />
<input type= "hidden" name= "VendorKey" value="{Your Vendor/User Key}" />
<input type= "hidden" name= "ResponseURL" value="{Your Redirect URL e.g.https://google.com}" />
<div>
<button>Authorize</button>
</div>
</form>
On this Page