跳转到主要内容
GET
/
v1
/
issuing
/
balances
List Issuing Balances
curl --request GET \
  --url https://api-sandbox.uqpaytech.com/api/v1/issuing/balances \
  --header 'x-auth-token: <api-key>'
{
  "total_pages": 1,
  "total_items": 10,
  "data": [
    {
      "balance_id": "72970a7c-7921-431c-b95f-3438724ba16f",
      "currency": "USD",
      "available_balance": 5000.25,
      "margin_balance": 10000,
      "frozen_balance": 2353.25,
      "create_time": "2024-03-21T17:17:32+08:00",
      "last_trade_time": "2024-03-21T17:17:32+08:00",
      "balance_status": "ACTIVE"
    }
  ]
}

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 endpoint. If omitted or empty, the request is executed using the master account. More information at Connected Accounts.

查询参数

page_size
integer
默认值:10
必填

The maximum number of items to return per page. This number can be between 10 - 100, and will default to 10

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

The page number to retrieve the next set of items. The number has to be greater than 1, and will default to 1

必填范围: x >= 1

响应

200 - application/json

OK - Balances returned successfully.

total_pages
integer

The total pages of available items.

示例:

1

total_items
integer

The total counts of available items.

示例:

10

data
object[]