Skip to main content

EDIS (Revoke) Page Redirect – NSDL

This API generates a browser pop-up URL for revoking EDIS approval on specified securities through NSDL. After the user completes the revoke request, the browser sends a response message back to the parent window for further processing.

📘Request Body Schema

FieldTypeDescriptionExample/ENUM
userCodestringUser code received from Login response"AAABBYY12"
depositorystringDespository name"NSDL"
userIdstringUnique Client Code (UCC)"UCC12345"
groupIdstringGroup IdentifierHO
managerIPstringManager system IP address10.01.01.150
sessionIDstringUnique session identifier0x01345Yu789
dpIDintegerDepository Participant ID"1258600012"
clientIDintegerClient ID1020000987
productCodestringProduct source/application"ODINAERO" , "WAVE"
ScripDetailsstringJSON string listing secruities to revoke[{"ISIN":"INE012A01025","Quantity":90,"ISINName":"ACC LIMITED"},{"ISIN":"INE836A01035","Quantity":90,"ISINName":"BIRLASOFT LIMITED"}]
channelstringRequest channelMOB, WEB
reqIdstringUnique Request IdentifierGER123
themestringUI theme"L" (default/light)

🔁User Flow Summary

  1. Prepare all required parameters as per the schema above.
  2. Construct a query string concatenating these parameters.
  3. Base64 encode the entire query string.
  4. Open a browser pop-up with the URL containing the encoded query string.
  5. User approves or rejects the EDIS revoke request on the NSDL page.
  6. Browser sends the response back to the parent window.
  7. Process the response to trigger any further application logic.

🟢Success Response - 200 Ok

FieldTypeDescriptionExample/ENUM
DespositorystringName of depositoryCDSL
dpIdstringDepository Participant ID"092200"
clientIDstringClient ID"52886666000"
isinstringISIN of the main security"IEN87976500"
OriginalQtystringQuantity requested10
BlkQtystringQuantity blocked10
ChannelstringChannel usedMOB
StatusstringApproval status"success"
RemarkstringAny additional message or reason"Approved"
RefNumstringReference number from depository0
TransRefNumstringTransaction reference number131025258077
StatusCodestringStatus code for error handlingERR035, ""
ScripDetailsstringJSON list of status for each ISIN"[{\"ISIN\":\"INE263A01024\",\"Qty\":2,\"Status\":\"Success\",\"StatusCode\":\"\",\"RefNo\":\"NS301604L66\",\"ISINName\":\"BHARAT+ELECTRONICS+LTD\",\"ErrorDesc\":null}]",
BrokerOrdrNostringInternal broker order number"AABBVVN123545OP"
ReqIDstringRequest IDGER123
UserIdstringUnique Client code (UCC)"UCC12345"
GroupIdstringGroup IDHO

The final JSON response is posted to your webhook URL, which should be configured in web.config