User
You can use the /user/details
endpoint to fetch the account details of the user. This is useful for businesses who wants to build 3rd party apps. The user details API gives your the general information abouut the user, the sensitive data is hidden for security reasons.
User Profile
Sample Request
curl --location 'https://api.tiqs.trading/user/details' \
--header 'appId: <YOUR_APP_ID>' \
--header 'token: <YOUR_TOKEN>'
Sample Response
{
"data": {
"accountID": "",
"address": "",
"bankDetails": [
{
"vpa": "abhishek.jain.22.01@oktiqs",
"bankName": "HDFC Bank",
"accountType": "BANK_ACCOUNT",
"accountNumber": "*1234"
}
],
"blocked": false,
"city": "",
"depositoryIDs": {
"String": "",
"Valid": false
},
"email": "abhishek@tiqs.in",
"exchanges": [
"NFO"
],
"id": "AJ1234",
"image": "https://assets.tiqs.in/profiles/b1582d8a-4aac-42ba-aee6-bc5ed2b27c75.jpg",
"name": "ABHISHEK JAIN",
"ordersTypes": [
"LMT",
"SL-LMT",
"MKT",
"SL-MKT",
"DS"
],
"pan": "*123R",
"phone": "*1234",
"products": [
"NRML",
"MIS",
"CNC",
"CO",
"BO",
"MTF"
],
"state": "",
"totpEnabled": false,
"userType": "Retail"
},
"status": "success"
}