跳转到主要内容
GET
/
v1
/
issuing
/
balances
/
transactions
List Issuing Balances Transactions
curl --request GET \
  --url https://api-sandbox.uqpaytech.com/api/v1/issuing/balances/transactions \
  --header 'x-auth-token: <api-key>'
{
  "total_pages": 1,
  "total_items": 10,
  "data": [
    {
      "transaction_id": "5135e6cc-28b6-4889-81dc-3b86a09e1395",
      "short_transaction_id": "CT2024-03-01",
      "account_id": "72970a7c-7921-431c-b95f-3438724ba16f",
      "balance_id": "72970a7c-7921-431c-b95f-3438724ba16f",
      "transaction_type": "DEPOSIT",
      "currency": "USD",
      "amount": 100.02,
      "create_time": "2024-03-21T17:17:32+08:00",
      "complete_time": "2024-03-21T17:17:32+08:00",
      "transaction_status": "PENDING",
      "ending_balance": 100.02,
      "description": "Creation card, fee"
    }
  ]
}

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
start_time
string

The earliest transaction creation time to filter by. The maximum time interval between start_time and end_time is 90 days.

示例:

"2024-03-21T17:17:32+08:00"

end_time
string

The latest transaction creation time to filter by. The maximum time interval between start_time and end_time is 90 days.

示例:

"2024-03-21T17:17:32+08:00"

transaction_type
enum<string>

Transaction type filter for issuing balance transactions.

可用选项:
ISSUING_AUTHORIZATION,
ISSUING_REVERSAL,
ISSUING_REFUND,
CARD_RECHARGE,
CARD_WITHDRAW,
FEE,
DEPOSIT,
TRANSFER_IN,
TRANSFER_OUT,
SETTLEMENT_DEBIT,
SETTLEMENT_CREDIT,
ADJUSTMENT,
FUNDS_TRANSFER_IN,
FUNDS_TRANSFER_OUT,
FEE_REFUND,
FEE_DEDUCTION,
MARGIN_PAYMENT,
MARGIN_REFUND,
OTHER,
SETTLEMENT_REVERSAL,
REFUND
示例:

"DEPOSIT"

transaction_status
enum<string>

Transaction status filter for issuing balance transactions.

可用选项:
COMPLETED,
PENDING,
FAILED
示例:

"COMPLETED"

currency
string

Currency filter. Three-letter ISO 4217 currency code.

示例:

"USD"

transaction_id
string<uuid>

Transaction ID filter (long ID). Unique Identifier for transaction.

示例:

"5135e6cc-28b6-4889-81dc-3b86a09e1395"

响应

200 - application/json

OK - Balances transactions returned successfully.

total_pages
integer

The total pages of available items.

示例:

1

total_items
integer

The total counts of available items.

示例:

10

data
object[]