List Conversions
curl --request GET \
--url https://api-sandbox.uqpaytech.com/api/v1/ramp/conversion \
--header 'x-auth-token: <api-key>'import requests
url = "https://api-sandbox.uqpaytech.com/api/v1/ramp/conversion"
headers = {"x-auth-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-auth-token': '<api-key>'}};
fetch('https://api-sandbox.uqpaytech.com/api/v1/ramp/conversion', 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-sandbox.uqpaytech.com/api/v1/ramp/conversion",
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-auth-token: <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-sandbox.uqpaytech.com/api/v1/ramp/conversion"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-auth-token", "<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-sandbox.uqpaytech.com/api/v1/ramp/conversion")
.header("x-auth-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.uqpaytech.com/api/v1/ramp/conversion")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-auth-token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"code": 200,
"message": "Success",
"data": {
"total_pages": 79,
"total_items": 79,
"data": [
{
"buy_amount": "4999.880005",
"buy_currency": "USDC",
"completed_time": "2026-09-07 16:33:58",
"create_time": "2026-09-07 16:33:00",
"network_fee": "0",
"order_id": "064fa5ab-6c4f-46cb-98ca-7f37f544485c",
"order_type": "Swap",
"processing_fee": "0",
"quote_price": "0.999950002499875",
"reason": "",
"sell_amount": "5000.13",
"sell_currency": "USDT",
"short_order_id": "SW260907-QJJ3JH2Y",
"status": "Success"
}
]
}
}Conversions
List Conversions
查询所有兑换交易。 Stablecoin Account API 发布方免责声明
GET
/
v1
/
ramp
/
conversion
List Conversions
curl --request GET \
--url https://api-sandbox.uqpaytech.com/api/v1/ramp/conversion \
--header 'x-auth-token: <api-key>'import requests
url = "https://api-sandbox.uqpaytech.com/api/v1/ramp/conversion"
headers = {"x-auth-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-auth-token': '<api-key>'}};
fetch('https://api-sandbox.uqpaytech.com/api/v1/ramp/conversion', 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-sandbox.uqpaytech.com/api/v1/ramp/conversion",
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-auth-token: <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-sandbox.uqpaytech.com/api/v1/ramp/conversion"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-auth-token", "<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-sandbox.uqpaytech.com/api/v1/ramp/conversion")
.header("x-auth-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.uqpaytech.com/api/v1/ramp/conversion")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-auth-token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"code": 200,
"message": "Success",
"data": {
"total_pages": 79,
"total_items": 79,
"data": [
{
"buy_amount": "4999.880005",
"buy_currency": "USDC",
"completed_time": "2026-09-07 16:33:58",
"create_time": "2026-09-07 16:33:00",
"network_fee": "0",
"order_id": "064fa5ab-6c4f-46cb-98ca-7f37f544485c",
"order_type": "Swap",
"processing_fee": "0",
"quote_price": "0.999950002499875",
"reason": "",
"sell_amount": "5000.13",
"sell_currency": "USDT",
"short_order_id": "SW260907-QJJ3JH2Y",
"status": "Success"
}
]
}
}授权
UQPAY 提供的用于登录的 API Token。
请求头
指定代表哪个子账户发起请求。应设置为 account_id,可通过 List Connected Accounts 接口获取。若省略或为空,则请求以主账户身份执行。
更多信息参见 Connected Accounts。
查询参数
每页条数(1 到 100,默认 10)
必填范围:
1 <= x <= 100示例:
10
页码(≥ 1,默认 1)
必填范围:
x >= 1示例:
1
要查询的订单状态
可用选项:
Failed, Pending, Success 示例:
"Success"
订单 ID
示例:
"064fa5ab-6c4f-46cb-98ca-7f37f544485c"
交易币种
示例:
"USDT"

