IP Setup

static IP Setup

Changed on

You can use this API to set the Primary & Secondary IP to be mapped to your account in order to enable Order Placement.

post/ip/setIP

Request

  • Base URL
    https://api.dhan.co/v2
  • URL
    https://api.dhan.co/v2/ip/setIP
  • Auth
    none declared. Required headers: access-token

Headers

access-tokenstring required

Request body

dhanClientIdstring

User specific identification generated by Dhan

ipstring required

User specific IP

ipFlagstring required
Enum ValuesDescription
PRIMARYPrimary IP
SECONDARYSecondary IP

Response

Successful operation

messagestring
statusstring
Enum ValuesDescription
SUCCESSOperation was successful
ERROROperation failed

Changes