Skip to main content

User Profileโ€‹

This API fetches the complete user profile including identity,contact, banking, demat, mutual fund and trading cofiguration details.

๐Ÿ”‘Header Parametersโ€‹

HeaderTypeRequiredDescriptionExample
Content-typestringYesSpecifies the media type of the request body.application/json
AuthorizationstringYesBearer token for user authentication.Bearer {{access_token}}
x-api-keystringYesAPI key for accessing the endpoint securely.x-api-key

๐ŸŸขSuccess Response - 200 Okโ€‹

FieldTypeDescriptionExample
statusstringStatus of the API call. Indicates whether the call was successful."success"
codestringResponse code indicating the result of the API request"s-101"
messagestringA message describing the result of the API Request"Success Message"
dataobjectContains the detailed user profile information. This object includes personal details, bank, DP, and other related information.See below for data schema

๐Ÿ“˜ Data Object Info Fieldsโ€‹

FieldTypeDescriptionExample/ENUM
user_namestringUnique Client code (UCC) assigned to the user"U123456"
emailstringUser's registered email ID in the system."user@xyz.com"
mobile_nostringUser registered mobile number in the system"9876543210"
panstringUser's PAN (Permanent Account Number) available in the system."ABCDE1234F"
addressstringUser's address available in the system."123 Street Name, City"
mpin_enabledbooleanFlag indicating whether the user has registered MPIN.true / false
fingerprint_enabledbooleanFlag indicating whether the user has registered fingerprint login.true / false
dobstringUser's date of birth in DD-MM-YYYY format."01-01-1990"
genderstringUser's gender as per the system."Male" / "Female" / "Other"
dp_detailsarray of objsList of user's Depository Participant (DP) details.See below for DP details schema
bank_detailsarray of objsList of user's bank account details available in the system.See below for bank details schema
mf_detailsarray of objsList of user's Mutual Fund (MF) details.See below for MF details schema
login_timestringTimestamp of the user's last login."2025-05-21 14:35:00"
totp_enabledbooleanFlag indicating whether the user has TOTP (Time-based One-Time Password) enabled.true / false
ptnTypestringType of PTN (Platform Transaction Number)."PTN01"
exchangesarrayList of exchanges the user is allowed to trade on.["NSE", "BSE"]
bcastExchangesarrayList of exchanges allowed for market feed data.["NSE"]
product_typesarrayList of Product type allowed across all exchanges.["INTRADAY", "DELIVERY"]
product_types_exchangeobjectProduct type allowed per exchange.{ "NSE": ["DELIVERY", "COVER"] }
othersobjectOther miscellaneous details related to the user profile.See below for other details schema

๐Ÿฆ Bank Details Object Info Fieldsโ€‹

Field NameTypeDescriptionExample
bank_namestringName of the bank where the user holds an account."HDFC Bank"
branch_namestringName of the branch where the account is held."Main Branch"
branch_citystringCity where the bank branch is located."Mumbai"
account_nostringUserโ€™s bank account number."1234567890"
account_typeintegerType of account: 1 = Current, 2 = Savings.1 / 2
is_defaultbooleanFlag indicating if this bank account is set as the default account.true / false

๐Ÿ›๏ธ Depository Participant (DP) Object Info Fieldsโ€‹

Field NameTypeDescriptionExample
dpIdstringUnique Depository Participant ID available in the system."IN123456"
clientBeneficiaryIdstringUserโ€™s unique Beneficiary ID assigned by the Depository."12345678"
holdingTypestringType of holding for the account (e.g., Individual or Joint)."Individual" / "Joint"
dpTypestringType of Depository Participant (e.g., NSDL or CDSL)."NSDL" / "CDSL"
defaultDPbooleanFlag indicating if this depository is set as the default for the user.true / false
dpNamestringName of the Depository Participant as registered in the system."XYZ Securities"

๐Ÿ’น Mutual Fund (MF) Object Info Fieldsโ€‹

Field NameTypeDescriptionExample
bseTransactionModeintegerBSE Transaction Mode (used for mutual fund transactions).1 / 2
bseUCCModeintegerBSE UCC Mode (defines the mode of the Unique Client Code).1 / 2
bseUCCstringUnique Client Code (UCC) for mutual fund transactions in the BSE system."UCC12345"
holdingModestringMode of holding for mutual funds (e.g., Individual or Joint)."Individual" / "Joint"

๐Ÿ“ Others Object Info Fieldsโ€‹

Field NameTypeDescriptionExample
userCodestringUnique identifier code for the user."USR12345"
groupIdstringID of the group to which the user belongs."GID789"
groupCodestringGroup code for categorizing or grouping the user."GRP001"
newsCategoriesstringCategories of news the user is interested in."finance, stocks"
messageSocketstringWebSocket URL endpoint for receiving interactive messages."wss://socket.url"
POAstringPower of Attorney status of the user (0 = POA, 2 = Non-POA)."0" / "2"
nGTDDefaultintegerDefault Good-Till-Date (GTD) days set for the user.5
nGTDMaxDaysintegerMaximum GTD days allowed for the user.30
sGTDConfigDetailsstringConfiguration details for GTD (Good-Till-Date)."Config details string"
ocTokenstringOne-time OC (Order Confirmation) Token."OC12345"
managerIPstringIP address of the manager's system."192.168.1.1"
tslAllowedarrayList of allowed TLS (Transport Layer Security) versions.["TLS1.2", "TLS1.3"]
edisForMTFbooleanFlag indicating whether EDIs are allowed for Margin Trading Facility (MTF).true / false
showJumpPriceBothLtpAndTriggerPricebooleanFlag indicating if both LTP (Last Traded Price) and Trigger Price should be shown.true / false
CFTstringCFT (Customer Financial Transaction) code or identifier."CFT123"
bAMOAllowedForUserbooleanFlag indicating whether After Market Orders (AMO) are allowed for the user.true / false
get/authentication/v1/user/profile