Skip to main content

PSBT Info

This API retrieves the Product Scrip Basket Template (PSBT) details for a given PSBT template, which defines scrip-level margin, trading permissions, and position square-off rules.

Endpoint: GET /transactional/{tenantId}/v1/psbt-info

🔑 Header Parameters

HeaderTypeDescriptionExample
Content-TypestringSpecifies the media type of the requestapplication/json
AuthorizationstringBearer token for authenticated requests{{access_token}}
x-api-keystringAPI key used to authorize the request{{x-api-key}}

🔗 Path Parameters

ParameterTypeRequiredDescriptionExample
tenantIdintegerYesTenant identifier797

🔍 Query Parameters

ParameterTypeRequiredDescriptionExample
psbt_templatestringYesPSBT template name to fetch scrip-level configuration for"CASH"
exchangestringNoExchange segment to filter results"NSE_EQ"

🟢 Success Response - 200 OK

Content-Type: application/json

FieldTypeDescriptionExample
statusstringStatus of API call"success"
codestringResponse code to user request"s-101"
messagestringSuccess message"Success"
dataarrayArray of PSBT scrip configuration itemsRefer below

📦 Data Object Fields

Each object in the data array represents PSBT configuration for a single scrip.

FieldTypeDescriptionExample
PSBT Template IDstringName/ID of the PSBT template this entry belongs to"CASH"
Scrip Token NumberintegerExchange token identifying the instrument541157
Margin %numberRequired margin percentage for this scrip100
Short Sell Margin %numberMargin percentage applicable for short selling0
Fresh Buy AllowedintegerWhether fresh buy orders are permitted (1 = Yes, 0 = No)1
Fresh Sell AllowedintegerWhether fresh sell orders are permitted (1 = Yes, 0 = No)0
Intraday Buy Position Square Off AllowedintegerWhether intraday buy position square-off is permitted1
Intraday Sell Position Square Off AllowedintegerWhether intraday sell position square-off is permitted1
Expiry Buy Position Square Off AllowedintegerWhether buy position square-off at expiry is permitted1
Expiry Sell Position Square Off AllowedintegerWhether sell position square-off at expiry is permitted1
TypeintegerInstrument type indicator0
Future or OptionstringIndicates if the scrip is a Future or Option; blank for equity" "
Future Price Range %numberAllowed price range percentage for futures0
Away from Spot % ITMnumberAllowed distance from spot price for In-The-Money options0
Away from Spot % OTMnumberAllowed distance from spot price for Out-of-The-Money options0
In the money % (Buy Max)numberMaximum ITM percentage allowed for buy orders0
In the money % (Sell Min)numberMinimum ITM percentage allowed for sell orders0
Out the money % (Buy Max)numberMaximum OTM percentage allowed for buy orders0
Out the money % (Sell Min)numberMinimum OTM percentage allowed for sell orders0

Note: The Fresh Buy Allowed, Fresh Sell Allowed, and square-off flags use integer boolean values where 1 = allowed and 0 = not allowed. Some scrips may have all trading disabled (all flags set to 0), indicating they are blocked or under surveillance.