EDIS (Revoke) Page Redirect
The EDIS Revoke API allows brokers or applications to initiate a request to revoke pledged securities (scrips).
When triggered, the API redirects the user to NSDL or CDSL for authentication and approval.
After approval, the depository sends a response back to the parent window (your application).
🚀 How It Works
- Prepare all request parameters (see list below).
- Convert the full query string (everything after
?) into Base64. - Append encoded string to the base URL:
?enct=<Base64EncodedString> - Open the final URL in a browser popup.
- User is redirected to NSDL/CDSL for approval.
- After approval, the depository posts the response to your app (parent window).
🧾Request Parameters (Before Base64 Encoding)
| Field | Type | Description | Example |
|---|---|---|---|
| userCode | string | Broker/system user code | NXWAD |
| depository | string | NSDL or CDSL | NSDL |
| userId | string | User identifier | DEMO31 |
| groupId | string | User’s group ID | HO |
| managerIP | string | Server IP | 172.25.102.233 |
| sessionID | string | Unique session ID | 0x01795DF5C40CF997470D3C3BB81A00 |
| dpId | string | DP ID | 017000 |
| clientId | string | Investor client ID | 1201700000207472 |
| productcode | string | Product code | WAVE |
| ScripDetails | array | List of ISINs | [{"ISIN":"INE012A01025","Quantity":90,"ISINName":"ACC LIMITED"}] |
| channel | string | MOB or WEB | MOB |
| theme | string | Optional theme code | L |
| exchangeCd | string | (CDSL only) Exchange Code | NSE |
| product | string | (CDSL only) Product type | 1 |
| ReqId | string | (CDSL only) Unique request ID | IS9158-14052024121743 |
📝 NSDL Example
https://demo.synapsewave.com/edis/newnetnet/EDISRevokeRequest.aspx?
userCode=NXWAD&
depository=NSDL&
userId=DEMO31&
groupId=HO&
managerIP=172.25.102.233&
sessionID=0x01795DF5C40CF997470D3C3BB81A00&
dpId=017000&
clientId=1201700000207472&
productcode=WAVE&
ScripDetails=[{"ISIN":"INE012A01025","Quantity":90,"ISINName":"ACC LIMITED"},{"ISIN":"INE836A01035","Quantity":90,"ISINName":"BIRLASOFT LIMITED"}]&
channel=MOB&
theme=L
📝 CDSL Example
https://demo.synapsewave.com/edis/newnetnet/EDISRevokeRequest.aspx?
depository=CDSL&
userCode=NZHXQ&
userId=DEMO31&
groupId=HO&
managerIP=172.25.102.233&
sessionID=0x01795DF5C40CF997470D3C3BB81A00&
channel=WEB&
exchangeCd=NSE&
product=1&
dpId=017000&
clientId=1201700000405200&
productcode=diet&
ScripDetails=[{"ISIN":"INE669E01016","Quantity":212,"ISINName":"VODAFONE IDEA LIMITED"}]&
ReqId=IS9158-14052024121743
🔐 Base64 Encoding
Before sending the request, encode the full parameter string (everything after ?) into Base64 format.
Example Plain Text - userCode=NXWAD&depository=NSDL&userId=DEMO31&...
Encoded - dXNlckNvZGU9TlhXQUQmZGVwb3NpdG9yeT1OU0R...
Final URL - https://demo.synapsewave.com/edis/newnetnet/EDISRevokeRequest.aspx?enct=<Base64EncodedString>
📑Response Fields Description
| Field | Type | Description | Example |
|---|---|---|---|
| Depository | string | Name of the depository that processed the revoke request | NSDL |
| dpId | string | Depository Participant ID | NS123123 |
| clientId | string | Unique ID of the client/investor | 87654322 |
| Status | string | Overall revoke status (Success/Failure) | Success |
| Remark | string | Message returned from the depository about the transaction | order captured successfully |
| RefNum | string | Reference number for the transaction (optional in some responses) | 0 |
| TransRefNum | string | Transaction reference number generated by the system | 6383655808367495 |
| StatusCode | string | Response code — indicates success, failure, or other statuses | 00 |
| ScripDetails | array | Array of individual scrip (ISIN) details and their revoke status | [{"ISIN":"INE012A01025","Qty":90,"Status":"Success"}] |
| BrokerOrdrNo | string | Broker-generated order reference number | 10NXWBF171509019 |
| ReqId | string | Unique request identifier generated when the revoke request was made | RAMIBT-070524135630 |
| UserId | string | User ID of the initiator of the request | RAMIBT |
| GroupId | string | Group ID under which the user belongs | HO |
🔂Example Flow Summary
- Prepare revoke data (ISINs, client ID, etc.)
- Build query string → Encode to Base64
- Redirect to Depository URL in popup
- User approves revoke
- Depository sends response (Success/Failure)
- Handle status in your app accordingly
/EDISRevokeRequest.aspx