v1

latestOpenAPI 3.0.22026-07-26123510445.2 KB
Assets

List Asset Transactions

Query transactions for all wallets. Stablecoin Account API Publisher Disclaimer

get/v1/ramp/asset/transactions

Query parameters

page_sizeinteger required

Items per page (10 to 100, default 10)

page_numinteger required

Page number (≥ 1, default 1)

start_timestring
Example:2024-03-01T00:00:00+08:00

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

end_timestring
Example:2024-03-02T00:00:00+08:00

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

balance_currencystring

Wallet currency to query

order_type'DEPOSIT' | 'WITHDRAW' | 'SELL' | 'BUY' | 'SWAP' | 'TRANSFER_IN' | 'TRANSFER_OUT'

Order type to query

order_status'SUBMIT_FAILED' | 'FAILED' | 'PENDING' | 'SUCCESS' | 'SUBMITTED'

Order status to query

order_idstring

Query by order_id or short_order_id

Headers

x-on-behalf-ofstring

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.

Response

Successfully retrieved asset transactions

codeinteger required
messagestring required

Example response

{
  "code": 200,
  "message": "Success",
  "data": {
    "data": [
      {
        "order_type": "Withdraw"
      }
    ]
  }
}