跳转到主要内容
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>'
{
  "code": 200,
  "message": "Success",
  "data": {
    "data": [
      {
        "order_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "short_order_id": "<string>",
        "status": "Submit Failed",
        "sell_currency": "<string>",
        "sell_amount": "<string>",
        "buy_currency": "<string>",
        "buy_amount": "<string>",
        "quote_price": "<string>",
        "processing_fee": "<string>",
        "network_fee": "<string>",
        "create_time": "<string>",
        "completed_time": "<string>",
        "reason": "<string>"
      }
    ],
    "total_pages": 123,
    "total_items": 123
  }
}

Documentation Index

Fetch the complete documentation index at: https://developers-sandbox.uqpaytech.com/llms.txt

Use this file to discover all available pages before exploring further.

授权

x-auth-token
string
header
必填

The API token for login provided by UQPay.

请求头

x-on-behalf-of
string

Specifies the sub-account on whose behalf the request is made. This should be set to the account_id, which can be retrieved via the List Connected Accounts API. If omitted or empty, the request is executed using the master account. More information at Connected Accounts.

查询参数

page_size
integer
默认值:10
必填

Items per page (1 to 100, default 10)

必填范围: 1 <= x <= 100
page_num
integer
默认值:1
必填

Page number (≥ 1, default 1)

必填范围: x >= 1
order_status
enum<string>

Order status to query

可用选项:
Failed,
Pending,
Success
order_id
string

Order ID

balance_currency
string

Transaction currency

响应

200 - application/json

Successfully retrieved conversions

code
integer
必填
示例:

200

message
string
必填
示例:

"Success"

data
object
必填