General Instructions
General Instructions
Steps to Generate Access Token
Steps to Generate Access Token
Order Management API
Order Management API

Trading

Steps to Generate Access Token

  1. Login to your Tradingo Account : Click here          
  • Click on the Enable TOTP section.

View Demo Link

  1. Enable TOTP QR Scan:
  • The QR and key are generated when you open the Enable TOTP section.
  • In the "Enable TOTP" section, you will get the QR and key.
  • Scan the Given QR with Google Authenticator.
  1. Generating TOTP via Google  Authenticator:
  • Retrieve the generated TOTP via Google Authenticator.
  • Input the TOTP into the request body for TOTP verification.
  1. Request Initiation:
  • Initiate the request by sending it.

INPUT

S no. Parameter Description Mandatory/Comments
1 TOTP Time-based One-Time Password Yes
2 ClientCode Unique Code assigned to each Client Yes
3 MPIN Unique Password Yes
4 IP Address Internet Protocol Address Yes

SAMPLE




 {
  "Totp": "501743",
  "ClientCode": "GO11240",
  "MPIN": "1111",
  "GenerationSourceTP": "FTLTP",
  "IPAddress": "49.43.7.65"
}

RESPONSE

S No. Parameter Description
1 ResponseId Response ID
2 ResponseMessage Remark Message for Success or Failure
3 Data It contains Access Token and other response data.

SAMPLE



{
  "StatusCode": 200,
  "Message": "Request successful.",
  "IsError": false,
  "ResponseException": null,
  "Result": {
    "ResponseId": 43,
    "ResponseMessage": "Data Updated Successfully",
    "Data": {
      "Isverified": true,
      "GenerationSourceTP": "FTLTP",
      "AccessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiODczNjUzMzktNkEwNS00MzQzLUE3NkYtRkRGNjg5MzQ0QTIwIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy91c2VyZGF0YSI6Ijg3MzY1MzM5LTZBMDUtNDM0My1BNzZGLUZERjY4OTM0NEEyMCIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkNsaWVudCIsImV4cCI6MTcwNjY2OTk5OSwiaXNzIjoiaHR0cHM6Ly9zdGFnaW5ndHJhZGluZ29yZXN0YXBpLnN3YXN0aWthLmNvLmluIiwiYXVkIjoiaHR0cHM6Ly9zdGFnaW5ndHJhZGluZ29yZXN0YXBpLnN3YXN0aWthLmNvLmluIn0.N8WK_8Vfpgs3aK2El06Z94qvxMOVVvoq-7WMBReEVlU",
      "CName": "",
      "CEmail": "",
      "CMobile": "",
      "CDP": "",
      "stk": ""
    }
  }
}

      5.   Access Token Retrieval:
  • Upon successful  verification, obtain the Access Token from the response.