---
title: Retrieve a customer's trading limits.
slug: fx-api
docTags: 
createdAt: 2026-04-24T01:18:31.991Z
---

{
  "id": "oxaS_jB2Q7QCe7xfsQZjM",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "https://sand-api.monoova.com/global/v1/customers/{customer_id}/limits",
    "servers": [
      {
        "url": "https://sand-api.monoova.com/global/v1/customers/{customer_id}/limits",
        "description": "Monoova Global server"
      }
    ],
    "name": "Retrieve a customer's trading limits.",
    "description": "Returns configured trading limits with consumed and remaining amounts.",
    "contentType": "application/json",
    "request": {
      "pathParameters": [
        {
          "kind": "required",
          "name": "customer_id",
          "type": "integer",
          "description": ""
        }
      ],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/json"
          ],
          "default": "application/json"
        }
      ],
      "queryParameters": [],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": [],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "The customer's trading limits.",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "schema": [
              {
                "name": "limit_currency",
                "kind": "optional",
                "type": "string",
                "nullable": true,
                "description": ""
              },
              {
                "name": "limits",
                "kind": "optional",
                "type": "array",
                "description": "",
                "example": "",
                "itemType": "object",
                "customType": "object[]",
                "schema": [
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string<trade | daily | open | monthly | yearly | lifetime>",
                    "description": "",
                    "enum": [
                      "trade",
                      "daily",
                      "open",
                      "monthly",
                      "yearly",
                      "lifetime"
                    ]
                  },
                  {
                    "name": "name",
                    "kind": "optional",
                    "type": "string",
                    "description": ""
                  },
                  {
                    "name": "configured",
                    "kind": "optional",
                    "type": "number<double>",
                    "description": "",
                    "format": "double"
                  },
                  {
                    "name": "consumed",
                    "kind": "optional",
                    "type": "number<double>",
                    "nullable": true,
                    "description": "",
                    "format": "double"
                  },
                  {
                    "name": "remaining",
                    "kind": "optional",
                    "type": "number<double>",
                    "nullable": true,
                    "description": "",
                    "format": "double"
                  },
                  {
                    "name": "renews_at",
                    "kind": "optional",
                    "type": "string<date>",
                    "nullable": true,
                    "description": "",
                    "format": "date"
                  }
                ]
              }
            ],
            "isExpanded": true
          }
        ]
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "T7uAn5fgHR3h7pnuU-mEc",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url https://sand-api.monoova.com/global/v1/customers/{customer_id}/limits \\\n     --header 'accept: application/json'"
        },
        {
          "id": "bOLK1maTHSkeMlEaoN-P7",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://sand-api.monoova.com/global/v1/customers/{customer_id}/limits\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "y-_c9_N3ZsMoC5zVm5RLW",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://sand-api.monoova.com/global/v1/customers/{customer_id}/limits\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "y7Q2keWIHVG0bFQA33F8T",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://sand-api.monoova.com/global/v1/customers/{customer_id}/limits\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "T7uAn5fgHR3h7pnuU-mEc"
    },
    "results": {
      "languages": [
        {
          "id": "VhAvxr4j5MmvTc0oBYu2H",
          "language": "200",
          "code": "// The customer's trading limits.\n{\n  \"limit_currency\": \"\",\n  \"limits\": [\n    {\n      \"type\": \"\",\n      \"name\": \"\",\n      \"configured\": \"\",\n      \"consumed\": \"\",\n      \"remaining\": \"\",\n      \"renews_at\": \"\"\n    }\n  ]\n}"
        }
      ],
      "selectedLanguageId": "VhAvxr4j5MmvTc0oBYu2H"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}