EDIS (Approval) Page Redirect
This API is used to redirect users to the EDIS approval page where they authorize transactions with their Depository (CDSL or NSDL). After approval, the Depository redirects back to your application and sends a response for further processing.
🌐 Request URL Format
https://demo.synapsewave.com/edis/newnetnet/EDISGatewayRequest.aspx?enct=<Base64_Encoded_Request>
📜Step-by-Step Process
- Prepare all EDIS parameters (user details, scrips, etc.)
- Combine them into a single URL query string.
- Base64-encode the full query string.
- Pass the encoded string as the
enctparameter. - Open the URL in a browser pop-up for user approval.
- After approval, Depository redirects via POST to your webhook.
Example URL (CDSL)
https://demo.synapsewave.com/edis/newnetnet/EDISGatewayRequest.aspx?userCode=AAABV
&managerIP=10.0.0.15
&sessionID=0x0134AECDAD9C67DACF053D396440F7
&channel=MOB
&isin=INE205A01025
&isinName=VEDANTA LIMITED
&exchangeCd=NSE
&product=1
&instrument=Equity
&quantity=8970
&dpId=092200
&clientId=1209220000000217
&depository=CDSL
&productcode=WAVE
&MarketSegId=1
&ScripDetails=[{ISIN:'INE205A01025',Quantity:8,ISINName:'VEDANTA LIMITED',SettlmtCycle:'T1'},
{ISIN:'INE467B01029',Quantity:5,ISINName:'TATA CONSULTANCY SERV LT',SettlmtCycle:'T1'},
{ISIN:'INE118H01025',Quantity:7,ISINName:'BSE LIMITED',SettlmtCycle:'T1'},
{ISIN:'INE012A01025',Quantity:5,ISINName:'ACC LIMITED',SettlmtCycle:'T1'}]
&ReqId=GER123
&userId=AD001
&groupId=HO
&ProductType=D
&AMO=N
&SettlmtCycle=T2
🛣️Parameters Description
| Parameter | Type | Example | Description |
|---|---|---|---|
| userCode | string | AAABV | Unique user code assigned by broker |
| managerIP | string | 10.0.0.15 | IP address of the request origin |
| sessionID | string | 0x0134AECDAD9... | Unique session identifier |
| channel | string | MOB / WEB | Request channel |
| isin | string | INE205A01025 | Primary ISIN for approval |
| isinName | string | VEDANTA LIMITED | Name of the scrip |
| exchangeCd | string | NSE / BSE | Exchange Code |
| product | number | 1 | Product type (1 = Cash) |
| instrument | string | Equity | Instrument name |
| quantity | number | 8970 | Quantity of shares |
| dpId | string | 092200 | Depository Participant ID |
| clientId | string | 1209220000000217 | Client ID |
| depository | string | CDSL / NSDL | Depository name |
| productcode | string | WAVE | Product code (MOBILEAPI / WEBAPI / WAVE) |
| MarketSegId | number | 1 | Market Segment ID |
| ScripDetails | array | JSON Array | List of ISINs, quantities, settlement cycle |
| ReqId | string | GER123 | Unique Request ID |
| userId | string | AD001 | User identifier |
| groupId | string | HO | Group identifier |
| ProductType | string | D / MF | D = Delivery, MF = MTF |
| AMO | string | N | After Market Order flag |
| SettlmtCycle | string | T1 / T2 | Settlement cycle |
🔒 Encoding
All parameters must be Base64 encoded and passed as:
Example: https://demo.synapsewave.com/edis/newnetnet/EDISGatewayRequest.aspx?enct=<Base64_Encoded_String>
Response From Depository
Depository sends a POST request to your configured webhook URL.
Response Format
POST → http://DOMAIN_NAME/PAGE_URL
Example JSON Body
{
"Depository": "CDSL",
"dpId": "092200",
"clientId": "1209220000000217",
"isin": "INE205A01025",
"OriginalQty": "8970",
"BlkQty": "25",
"Channel": "MOB",
"Status": "Success",
"Remark": "",
"RefNum": "0",
"TransRefNum": "1310202062531710",
"StatusCode": "",
"ScripDetails": "[{\"ISIN\":\"INE898S01029\",\"Qty\":8,\"Status\":\"Failure\",\"StatusCode\":\"ERR035\",\"RefNo\":\"00092200DA236\",\"ISINName\":\"MAJESCO LIMITED\",\"ErrorDesc\":\"Invalid ISIN\"},{\"ISIN\":\"INE325A01013\",\"Qty\":8,\"Status\":\"Success\",\"StatusCode\":\"\",\"RefNo\":\"00092200DA246\",\"ISINName\":\"TIMKEN INDIA LTD.\",\"ErrorDesc\":null}]",
"BrokerOrdrNo": "AAABV1602622349",
"ReqId": "GER123",
"UserId": "AD001",
"GroupId": "HO"
}
🔗Webhook Configuration
You must configure the webhook URL in your application’s web.config file under key:
EDIS_POST_RESPONSE_URL
This is where the Depository will post the approval response.
💡 Notes
- Always Base64 encode the full query before sending.
- Use a browser pop-up to open the approval link.
- After user approval, the Depository will auto-redirect with the response.
- ScripDetails must be a valid JSON array of ISINs.
/EDISGatewayRequest.aspx