Skip to main content

Margin Pledge Page Redirect

This API is used to initiate a pledge request, which redirects the user to the CDSL/NSDL interface where the pledge can be approved.

🔗 Endpoint (Pledge Request Redirect)

https://demo.synapsewave.com/edis/newnetnet/PledgeRequest.aspx?type=1&UserId=NITWR21&GroupId=HO&Product=WAVE2&ManagerIP=172.25.104.113 &DealerCode=NXVZO&GroupCode=AAAAA&theme=L&SessionId=0x014519BF4DFB8DEC71FD4C5 - This URL should be opened in a browser pop-up window, with the following query parameters

🔍Query Parameters

ParameterTypeRequiredDescriptionExample
typeintegerYesStatic value to indicate pledge type (1 = Pledge initiation)1
enctstringYesBase64-encoded string of all required parametersVXNlcklkPU5JVFdSMjEmR3JvdXBJZD1ITy...

🔐Parameter – Base64 Encoded Query Fields

FieldTypeDescriptionExample/ENUM
UserIdstringUnique identifier of the user in the trading system.NITWR21
GroupIdstringIdentifier for the group or branch to which the user belongs.HO
ProductstringProduct identifier under which the pledge is being requested.WAVE2
ManagerIPstringIP address of the manager or system initiating the pledge request.172.25.104.113
DealerCodestringDealer or agent code handling the transaction.NXVZO
GroupCodestringCode representing the client's trading group.AAAAA
themecharTheme or layout preference for the pledge page interface.L (Light)
SessionIdstringSession identifier used to validate the user's current session state.0x014519BF4DFB8DEC71FD4C5EA91F8D

🔁User Flow

  1. Prepare all required values listed above.
  2. Concatenate them as a query string.
  3. Encode the string in Base64 format.
  4. Call the redirect URL with type=1 and the encoded string as enct.
  5. Open this URL in a pop-up browser window.
  6. The user will be redirected to the CDSL Pledge Authorization page.
  7. Upon completion, the browser will send a message back to the parent window for further processing.

🟢Success Response - 200 Ok

There is no direct JSON response from this redirect API.
After user completes the pledge action, the resulting status and data will be returned via a callback message to the parent window (i.e., your application should listen for it).

get/PledgeRequest.aspx