Onramp API Integration.
Crypto Tokens
Chain wise limits
1 min
{ "tab" "examples", "url" "https //stg api onmeta in/v1/orders/get chain limit", "name" "min/max limits", "method" "get", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[ { "kind" "required", "name" "x api key", "type" "string", "children" \[], "description" "x api key" } ], "bodydataparameters" \[], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "x v qyywediykd0gqwyda", "language" "200", "code" "{\n \\"success\\" true,\n \\"data\\" \[\n {\n \\" id\\" \\"672217126d5ba990eee5837b\\",\n \\"chain\\" \\"ethereum\\",\n \\"chainid\\" 1,\n \\"maxlimit\\" {\n \\"inr\\" 500000,\n \\"php\\" 50000\n },\n \\"minlimit\\" {\n \\"inr\\" 2000,\n \\"php\\" 2000\n }\n }, ],\n \\"error\\" {}\n}", "customlabel" "" }, { "id" "hh3ezj jjdjljs6z1lub0", "code" "{\n \\"success\\" false,\n \\"error\\" {\n \\"code\\" 401,\n \\"message\\" \\"unauthorized to access\\"\n }\n}", "language" "401", "customlabel" "" } ], "selectedlanguageid" "hh3ezj jjdjljs6z1lub0" }, "examples" { "languages" \[ { "id" "dlk9 hagz6fheb5nj1 mu", "language" "curl", "code" "curl location 'https //stg api onmeta in/v1/orders/get chain limit'\\\\''' \\\\\n header 'x api key string'", "customlabel" "" }, { "id" "5a9ekctkdvzfovr6gcxvt", "language" "nodejs", "code" "var request = require('request');\nvar options = {\n 'method' 'get',\n 'url' 'https //stg api onmeta in/v1/orders/get chain limit\\\\'',\n 'headers' {\n 'x api key' 'string'\n }\n};\nrequest(options, function (error, response) {\n if (error) throw new error(error);\n console log(response body);\n});\n", "customlabel" "" }, { "id" "kdmaie hxicortxnysdky", "language" "javascript", "code" "var myheaders = new headers();\nmyheaders append(\\"x api key\\", \\"string\\");\n\nvar requestoptions = {\n method 'get',\n headers myheaders,\n redirect 'follow'\n};\n\nfetch(\\"https //stg api onmeta in/v1/orders/get chain limit'\\", requestoptions)\n then(response => response text())\n then(result => console log(result))\n catch(error => console log('error', error));", "customlabel" "" }, { "id" "qyopyypjnzo6thrdmp ug", "language" "python", "code" "import requests\n\nurl = \\"https //stg api onmeta in/v1/orders/get chain limit'\\"\n\npayload = {}\nheaders = {\n 'x api key' 'string'\n}\n\nresponse = requests request(\\"get\\", url, headers=headers, data=payload)\n\nprint(response text)\n", "customlabel" "" }, { "id" "zb6v3huhv6f8btztqn rc", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"https //stg api onmeta in/v1/orders/get chain limit'\\")\n\nhttps = net http new(url host, url port)\nhttps use ssl = true\n\nrequest = net http get new(url)\nrequest\[\\"x api key\\"] = \\"string\\"\n\nresponse = https request(request)\nputs response read body\n", "customlabel" "" } ], "selectedlanguageid" "qyopyypjnzo6thrdmp ug" }, "description" "fetch chain wise min/max fiat limits for your api key ", "currentnewparameter" { "label" "header parameter", "value" "headerparameters" }, "response" \[ { "name" "success", "kind" "optional", "type" "boolean", "description" "true/false " }, { "name" "data", "kind" "optional", "type" "array", "description" "limits for each supported chain as shown in 200 ok responses\n", "children" \[] }, { "name" "error", "kind" "optional", "type" "string", "description" "error message if occurs", "children" \[] } ] }