---
title: Get Credit Settings
slug: get-credit-settings
docTags: 
createdAt: 2026-08-25T19:28:59.170Z
---

{
  "id": "GYb5P7GUQ-XT8_UKGiF8N",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "https://api.nue.io/billing/credit-tenant-settings",
    "servers": [
      {
        "url": "https://api.nue.io/billing/credit-tenant-settings",
        "description": "Nue Production API Endpoint"
      },
      {
        "url": "https://api.sandbox.nue.io/billing/credit-tenant-settings",
        "description": "Nue Sandbox API Endpoint"
      }
    ],
    "name": "Get Credit Settings",
    "description": "Get Credit Settings.",
    "contentType": "application/json",
    "request": {
      "pathParameters": [],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "*/*"
          ],
          "default": "*/*"
        }
      ],
      "queryParameters": [],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": [
        {
          "id": "apiKeyAuth",
          "name": "nue-api-key",
          "kind": "optional",
          "type": "apiKey",
          "in": "header"
        }
      ],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "OK",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "400",
        "description": "Bad Request",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "404",
        "description": "Not Found",
        "jsonExample": "",
        "isExpanded": true
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "3EvdlromgRX8O_wYguQgr",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url https://api.nue.io/billing/credit-tenant-settings \\\n     --header 'accept: */*'"
        },
        {
          "id": "155Bpl_3KBb7a_oZ8y_TH",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"*/*\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.nue.io/billing/credit-tenant-settings\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "fgvZdWkcXxCRhdVqQFUDb",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.nue.io/billing/credit-tenant-settings\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"accept\"] = \"*/*\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "80_8I3LSA0J4rI3cLliFJ",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://api.nue.io/billing/credit-tenant-settings\"\n\npayload = {}\nheaders = {\n   'accept': '*/*',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "3EvdlromgRX8O_wYguQgr"
    },
    "results": {
      "languages": [
        {
          "id": "nA1OYgMDLcmQyMgiN41nW",
          "language": "200",
          "code": "// OK\n"
        },
        {
          "id": "_zPr_K2jap0fkAAHHBtme",
          "language": "400",
          "code": "// Bad Request\n"
        },
        {
          "id": "EbLF9wf7rYJ0N236zwNGx",
          "language": "404",
          "code": "// Not Found\n"
        }
      ],
      "selectedLanguageId": "nA1OYgMDLcmQyMgiN41nW"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}