Fund limits
The API retrieves detailed financial limits associated with a specified source. It provides insights into various types of limits and balances, offering comprehensive information relevant to financial management and analysis.
Endpoint
https://connects.torusdigital.com/api/v1/funds/Header Parameters
Content-Type
application/json
Authorization
Bearer <token>
Request Parameter
source
N
Y
Source of the request (e.g., "N")
Request
curl --location 'https://connects.torusdigital.com/api/v1/funds/' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--data '{
"source": "N"
}'Unirest.setTimeouts(0, 0);
HttpResponse<String> response = Unirest.post("https://connects.torusdigital.com/api/v1/funds/")
.header("Authorization", "Bearer {{token}}")
.header("Content-Type", "application/json")
.body("{\n \"source\": \"N\"\n}")
.asString();package main
import (
"fmt"
"strings"
"net/http"
"io/ioutil"
)
func main() {
url := "https://connects.torusdigital.com/api/v1/funds/"
method := "POST"
payload := strings.NewReader(`{
"source": "N"
}`)
client := &http.Client{}
req, err := http.NewRequest(method, url, payload)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer {{token}}")
req.Header.Add("Content-Type", "application/json")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}var settings = {
"url": "https://connects.torusdigital.com/api/v1/funds/",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer {{token}}",
"Content-Type": "application/json"
},
"data": JSON.stringify({
"source": "N"
}),
};
$.ajax(settings).done(function (response) {
console.log(response);
});Response
{
"data": [
{
"adhoc_limit": 9999999999,
"amount_utilized": 19082.53,
"available_balance": 1070511.46,
"bank_clear_balance": 0,
"bank_unclear_balance": 0,
"collaterals": 0,
"gross_holding_value": 0,
"limit_sod": 100000.6,
"limit_type": "CAPITAL",
"mtm_combined": 0,
"opt_premium": 0,
"opt_premium_com": 0,
"pay_out_amt": 1401,
"realised_profits": -4.61,
"receivables": 0,
"segment": "A",
"sod_unclear_bal": 0,
"total_balance": 1989593.99,
"withdrawal_balance": 599.6
}
],
"message": "Success",
"status": "success"
}Response Parameter
limit_type
Limit Type
limit_sod
Limit at start of day
adhoc_limit
Adhoc Limit
receivables
Receivables
collaterals
Collateral Limit
realised_profits
Realized Profit amount
amount_utilized
Amount Utilized
total_balance
Sum of all
available_balance
Available Balance
Segment
Segment
pay_out_amt
Pay Out Amount
bank_clear_balance
Bank Clear Balance
bank_unclear_balance
Bank Unclear Balance
withdrawal_balance
Withdrawable Balance
Last updated