Query Partner Balance

Query the balance currently on your Pagsmile account.

Request URI

POST /issuing/partner/query-balance

Request Body

Refer to : common

Biz_data :

Name
Type
Description

sub_partner_id*

string

Sub Partner ID

account_num

string

Partner Account Number

Request Example

{
    "app_id": "00000000000000000",
    "partner_id": "00000000000000000",
    "sub_partner_id": "",
    "request_id": "31ECEB89-Fb3C-5DAd-DeCF-bd62A3CF",
    "timestamp": "2025-04-07 13:56:59",
    "format": "JSON",
    "version": "2.0",
    "sign_type": "RSA",
    "biz_data": {
        "sub_partner_id": "00000000000000000"
    },
    "random_key": "<generated_key>"
}
// The biz_data in this example needs to be encrypted!

Response

Name
Type
Description

account_name

string

Account name

account_num

string

Account number

currency

string

Account currency, as a 3-letter ISO currency code.

balance

string

total balance

available_balance

string

available balance

block_amount

string

block amount

{
    "code": "10000",
    "msg": "Success",
    "total": 15,
    "random_key": "<random key used for decryption>",
    "sign_type": "RSA",
    "app_id": "00000000000000000",
    "data": [{
        "account_num": "10419000000401",
        "account_name": "Test A",
        "currency": "USD",
        "balance": "1008.29",
        "available_balance": "1008.29",
        "block_amount": "0.00"
    }, {
        "account_num": "10419000000401",
        "account_name": "Test A",
        "currency": "HKD",
        "balance": "100.00",
        "available_balance": "100.00",
        "block_amount": "0.00"
    }]
}
// The data in this example has already been decrypted.

Last updated

Was this helpful?