跳转到主要内容
GET
/
v1
/
ramp
/
asset
/
transactions
List Asset Transactions
curl --request GET \
  --url https://api-sandbox.uqpaytech.com/api/v1/ramp/asset/transactions \
  --header 'x-auth-token: <api-key>'
{
  "code": 200,
  "message": "Success",
  "data": {
    "data": [
      {
        "order_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "short_order_id": "<string>",
        "balance_id": "<string>",
        "order_type": "Withdraw",
        "sell_currency": "<string>",
        "sell_amount": 123,
        "network_fee": 123,
        "processing_fee": 123,
        "order_status": "Submit Failed",
        "create_time": "<string>",
        "buy_currency": "<string>",
        "buy_amount": 123,
        "complete_time": "<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 (10 to 100, default 10)

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

Page number (≥ 1, default 1)

必填范围: x >= 1
start_time
string

Exclusive start time used to filter by create_time. ISO 8601 format.

示例:

"2024-03-01T00:00:00+08:00"

end_time
string

Exclusive end time used to filter by create_time. ISO 8601 format.

示例:

"2024-03-02T00:00:00+08:00"

balance_currency
string

Wallet currency to query

order_type
enum<string>

Order type to query

可用选项:
DEPOSIT,
WITHDRAW,
SELL,
BUY,
SWAP,
TRANSFER_IN,
TRANSFER_OUT
order_status
enum<string>

Order status to query

可用选项:
SUBMIT_FAILED,
FAILED,
PENDING,
SUCCESS,
SUBMITTED
order_id
string

Query by order_id or short_order_id

响应

200 - application/json

Successfully retrieved asset transactions

code
integer
必填
示例:

200

message
string
必填
示例:

"Success"

data
object
必填