Function#
Through the Wallet Balance API, you can check the wallet balance details of the main buyer and sub-buyers.Error Code List#
| errorCode | errorMsg |
|---|
| 0 | ok |
| B207 | PKFARE wallet not activated |
Request
Body Params application/json
{
"authentication": {
"sign": "{{sign}}",
"partnerId": "{{partnerId}}"
}
}
Request Code Samples
curl --location 'https://api.pkfare.com/json/walletBalance' \
--header 'Content-Type: application/json' \
--data '{
"authentication": {
"sign": "",
"partnerId": ""
}
}'
Responses
application/json
{
"errorCode": "0",
"errorMsg": "success",
"data": {
"mainWallet": [
{
"buyerCode": "BUYER_MAIN_001",
"currency": "CNY",
"accountStatus": "VALID",
"availableBalance": 9999743325.65,
"withdrawableBalance": 9999743325.65,
"cashBalance": 9999743325.65,
"creditBalance": 0.00,
"temporaryCreditBalance": 0.00,
"depositBalance": 0.00
}
],
"subBuyerWallets": [
{
"buyerCode": "sub_buyer_test1",
"status": "VALID",
"type": "SEPARATE",
"creditBalance": 0.00,
"cashBalance": 5630.00,
"availableBalance": 5630.00,
"withdrawableBalance": 5630.00
},
{
"buyerCode": "sub_buyer_test1",
"status": "Valid",
"type": "SHARED"
}
]
}
}
Modified at 2026-11-13 02:19:51