GetRampOrderConfig
curl --request GET \
--url https://api.rampnow.io/api/partner/v1/ext/ramp_order/config \
--header 'X-RAMPNOW-API-KEY: <api-key>'import requests
url = "https://api.rampnow.io/api/partner/v1/ext/ramp_order/config"
headers = {"X-RAMPNOW-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-RAMPNOW-API-KEY': '<api-key>'}};
fetch('https://api.rampnow.io/api/partner/v1/ext/ramp_order/config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.rampnow.io/api/partner/v1/ext/ramp_order/config",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-RAMPNOW-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.rampnow.io/api/partner/v1/ext/ramp_order/config"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-RAMPNOW-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.rampnow.io/api/partner/v1/ext/ramp_order/config")
.header("X-RAMPNOW-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rampnow.io/api/partner/v1/ext/ramp_order/config")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-RAMPNOW-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"code": 123,
"data": {
"assetConfigs": {},
"kycLimits": [
{
"currency": "AAAFISH",
"kycLevel": 123,
"perDayLimit": "<string>",
"perOrderLimit": "<string>",
"totalOrderLimit": "<string>"
}
],
"orderConfigMap": {},
"paymentModeConfigs": {}
},
"message": "<string>",
"traceId": "<string>",
"displayError": "<string>"
}On/Off Ramp Orders
GetRampOrderConfig
GET
/
api
/
partner
/
v1
/
ext
/
ramp_order
/
config
GetRampOrderConfig
curl --request GET \
--url https://api.rampnow.io/api/partner/v1/ext/ramp_order/config \
--header 'X-RAMPNOW-API-KEY: <api-key>'import requests
url = "https://api.rampnow.io/api/partner/v1/ext/ramp_order/config"
headers = {"X-RAMPNOW-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-RAMPNOW-API-KEY': '<api-key>'}};
fetch('https://api.rampnow.io/api/partner/v1/ext/ramp_order/config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.rampnow.io/api/partner/v1/ext/ramp_order/config",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-RAMPNOW-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.rampnow.io/api/partner/v1/ext/ramp_order/config"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-RAMPNOW-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.rampnow.io/api/partner/v1/ext/ramp_order/config")
.header("X-RAMPNOW-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rampnow.io/api/partner/v1/ext/ramp_order/config")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-RAMPNOW-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"code": 123,
"data": {
"assetConfigs": {},
"kycLimits": [
{
"currency": "AAAFISH",
"kycLevel": 123,
"perDayLimit": "<string>",
"perOrderLimit": "<string>",
"totalOrderLimit": "<string>"
}
],
"orderConfigMap": {},
"paymentModeConfigs": {}
},
"message": "<string>",
"traceId": "<string>",
"displayError": "<string>"
}Authorizations
Partner API key sent in the X-RAMPNOW-API-KEY header. Every request must ALSO send X-RAMPNOW-TIMESTAMP (unix seconds) and X-RAMPNOW-SIGN (hex HMAC-SHA256 of timestamp + METHOD + requestURI + rawBody, keyed with your API secret). See the Authentication guide.
Response
200 - application/json
OK
GetRampOrderConfigResponse is the bulk support matrix: every configured asset, payment mode and order type in a single call, split by direction (buy = onramp, sell = offramp). Per-country currency blocking is not applied here — see the blocked-currencies endpoint for that.
Show child attributes
Show child attributes
Was this page helpful?