API OVERVIEW
CORE
ISSUING
- Cards
- Products
- Cardholders
- Transactions
PAYOUT
- Payer
- Payout
- Beneficiaries
Webhooks
- Payout
- Beneficiary
List all balances
This endpoint returns a list of balances for opened currency.
curl 'https://api.sandbox.uqpay.org/api/v1/balances?page_num=1&page_size=100' \
-H 'x-auth-token: Bearer 0e043e2ec6898b3220a0921466d7c203' \
-H 'x-client-id: Up1HIsjiETPXLy7gON9PMG'
{
"code": 200,
"message": "Success",
"data": {
"total_item": 2,
"total_page": 1,
"item_list": [
{
"balance_id": "b8241d83-b849-49c5-ac20-c2c311953577",
"balance_name": "1",
"balance_currency": "SGD",
"available_balance": "742",
"pending_balance": "0",
"reserved_balance": "0",
"margin_balance": "0",
"frozen_balance": "0",
"create_time": "2023-09-07T13:57:32+08:00"
},
{
"balance_id": "4cf219c6-e023-4222-a123-8e3dd1643274",
"balance_name": "1",
"balance_currency": "USD",
"available_balance": "0",
"pending_balance": "0",
"reserved_balance": "0",
"margin_balance": "0",
"frozen_balance": "0",
"create_time": "2023-09-06T10:21:41+08:00"
}
]
}
}
Header
x-client-id
.
Bearer YOUR_TOKEN_HERE
.
Parameters
Page number, starts from 1.
Number of results per page.
Maximum 100
Filter on status of the balance.
One of all
, active
, closed
Fuzzy search by name of the balance.
Response
Indicates whether the call was successful. 200 if successful, 400 if not.
Response Message. “Success” if successful, others not.
Total items.
Total pages.
ID of the balance.
Name of the balance.
Current Available Balance - Funds, etc., that have been cleared and liquidated and can be used for settlement to the client’s bank account.
Balance in Process - Primarily funds pending settlement by AC (after clearing) / PAYOUT, CONVERT.
Reserve balances - mainly for refunds, rejections and other operating cost expenditures.
Margin Balance - for revolving margins common in VM or fixed margins in card issuance operations.
Freezing of funds - mainly in dealing with disputes and other risk freezes.
Time on which the conversion will be created.
curl 'https://api.sandbox.uqpay.org/api/v1/balances?page_num=1&page_size=100' \
-H 'x-auth-token: Bearer 0e043e2ec6898b3220a0921466d7c203' \
-H 'x-client-id: Up1HIsjiETPXLy7gON9PMG'
{
"code": 200,
"message": "Success",
"data": {
"total_item": 2,
"total_page": 1,
"item_list": [
{
"balance_id": "b8241d83-b849-49c5-ac20-c2c311953577",
"balance_name": "1",
"balance_currency": "SGD",
"available_balance": "742",
"pending_balance": "0",
"reserved_balance": "0",
"margin_balance": "0",
"frozen_balance": "0",
"create_time": "2023-09-07T13:57:32+08:00"
},
{
"balance_id": "4cf219c6-e023-4222-a123-8e3dd1643274",
"balance_name": "1",
"balance_currency": "USD",
"available_balance": "0",
"pending_balance": "0",
"reserved_balance": "0",
"margin_balance": "0",
"frozen_balance": "0",
"create_time": "2023-09-06T10:21:41+08:00"
}
]
}
}
curl 'https://api.sandbox.uqpay.org/api/v1/balances?page_num=1&page_size=100' \
-H 'x-auth-token: Bearer 0e043e2ec6898b3220a0921466d7c203' \
-H 'x-client-id: Up1HIsjiETPXLy7gON9PMG'
{
"code": 200,
"message": "Success",
"data": {
"total_item": 2,
"total_page": 1,
"item_list": [
{
"balance_id": "b8241d83-b849-49c5-ac20-c2c311953577",
"balance_name": "1",
"balance_currency": "SGD",
"available_balance": "742",
"pending_balance": "0",
"reserved_balance": "0",
"margin_balance": "0",
"frozen_balance": "0",
"create_time": "2023-09-07T13:57:32+08:00"
},
{
"balance_id": "4cf219c6-e023-4222-a123-8e3dd1643274",
"balance_name": "1",
"balance_currency": "USD",
"available_balance": "0",
"pending_balance": "0",
"reserved_balance": "0",
"margin_balance": "0",
"frozen_balance": "0",
"create_time": "2023-09-06T10:21:41+08:00"
}
]
}
}