PURCHASE POWER
This API returns the total purchasing power available to the user for trading activities.
Purchasing power represents the effective amount available for placing orders based on the user's available funds, margins, and configured limits.
🔍 Query Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| userId | string | Yes | User ID (UCC) | "{{user_id}}" |
🔑 Header Parameters
| Header | Type | Description | Example |
|---|---|---|---|
| Content-Type | string | Request payload format | application/json |
| Authorization | string | Access token for authenticated requests | {{access_token}} |
| x-api-key | string | API key used to authorize request | {{x-api-key}} |
🟢 Success Response - 200 OK
Content-Type: application/json
| Field | Type | Description | Example |
|---|---|---|---|
| status | string | Status of API call | "success" |
| code | string | Response code | "s-101" |
| message | string | Success message | "Purchase power fetched successfully" |
| data | string | Total purchasing power available to the user | "125000.50" |