Skip to main content

PERIODICITY WISE BALANCE

This API returns the periodicity-wise fund balances of the user. These balances are categorized into different fund types such as cash deposits, adhoc deposits, miscellaneous deposits, overdraft limits, and other ledger components.

🔍 Query Parameters

ParameterTypeRequiredDescriptionExample
userIdstringYesUser ID (UCC)"{{user_id}}"
periodicityintegerNoPeriodicity ID. Available from Margin Info API where type is returned as list.30847

🔑 Header Parameters

HeaderTypeDescriptionExample
Content-TypestringRequest payload formatapplication/json
AuthorizationstringAccess token for authenticated requests{{access_token}}
x-api-keystringAPI key used to authorize request{{x-api-key}}

🟢 Success Response - 200 OK

Content-Type: application/json

FieldTypeDescriptionExample
statusstringStatus of API call"success"
codestringResponse code"s-101"
messagestringSuccess message"Balance information fetched successfully"
dataarrayList of periodicity-wise balance detailsRefer Data Object Fields

📦 Data Object Fields

FieldTypeDescriptionExample
idstringPeriodicity identifier"30847"
namestringPeriodicity name"Daily"
dataarrayBalance breakup detailsRefer Balance Fields

📘 Balance Fields

FieldTypeDescriptionExample
sSignstringSign indicator for amount"+", "-"
sDescriptionstringBalance description"Cash Deposit"
nTradingintegerTrading balance amount50000
nIPOintegerIPO balance amount10000
nMFintegerMutual Fund balance amount5000
nTotalintegerTotal balance amount65000
sIndicatorstringBalance category indicator"CR", "DR"

📝 Notes

  • Provides a detailed breakup of funds available under different balance categories.
  • Balances may include:
    • Cash Deposits
    • Adhoc Deposits
    • Miscellaneous Deposits
    • Overdraft Limits
    • Other Ledger Components
  • periodicity is optional:
    • If provided, returns balance details for the specified periodicity.
    • If omitted, the default periodicity balance is returned.
  • Periodicity IDs can be obtained from the Margin Info API.