Skip to main content
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
  }
}

Authorizations

x-auth-token
string
header
required

The API token for login provided by UQPay.

Headers

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.

Query Parameters

page_size
integer
default:10
required

Items per page (10 to 100, default 10)

Required range: 10 <= x <= 100
page_num
integer
default:1
required

Page number (≥ 1, default 1)

Required range: x >= 1
start_time
string

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

Example:

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

end_time
string

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

Example:

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

balance_currency
string

Wallet currency to query

order_type
enum<string>

Order type to query

Available options:
DEPOSIT,
WITHDRAW,
SELL,
BUY,
SWAP,
TRANSFER_IN,
TRANSFER_OUT
order_status
enum<string>

Order status to query

Available options:
SUBMIT_FAILED,
FAILED,
PENDING,
SUCCESS,
SUBMITTED
order_id
string

Query by order_id or short_order_id

Response

Successfully retrieved asset transactions

code
integer
required
Example:

200

message
string
required
Example:

"Success"

data
object
required