Fund limits
https://connects.torusdigital.com/api/v1/funds/Header Parameters
Name
Value
Request Parameter
Name
Value
Mandatory
Description
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))
}{
"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"
}Parameter
Description
Last updated