Get account balances

  • GET /v3/b2b/account/balance/all

Precautions: Get balance information of user’s PingPong Account, including currency, available, frozen and total amount.

Request Sample

curl --location --request GET 'https://test2-business-cgi.pingpongx.com/v3/b2b/account/balance/all?open_id=599ae9fb78b34f9bb202894015629de5' \
--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJQaW5nUG9uZyIsImRpc3RyaWJ1dGUiOjE2MjA3MzAyNDEsImFwcF9pZCI6IjgwMjkwMjYzMTA5MzQxIiwidmVyc2lvbiI6InYyIn0.6QXax0jS0Krh_Bur2VtvDmekkUW6dPgOd8-wZXkCwzg'
--header 'timestamp: 1637564397860' \
--header 'sign: 4a70672b69b59d24d1ef05b716b1fc1d89e3e87e2b4921cb5847b6230e91c472' \
--header 'app_id: 80242303107221' \

Request Schema

Parameter Type Required Description
open_id String M User ID in PingPong

Response Sample

{
  "code": 0,
  "message": "OK",
  "data": [{
      "avail_amount": 806.36,
      "frozen_amount": 806.36,
      "total_amount": 806.36,
      "currency": "USD"
    }]
}

Response Schema

Parameter Type Description
currency string Currency of the account balance
avail_amount string Available balance. Customer deposits will be added to the available balance once processed, including any settled conversions bought in this currency
frozen_amount string Amount of money that is using in Withdrawal or supplier payment in your PingPong account.
total_amount string Total account balance (avail_amount + frozen_amount)
Copyright © pingpongx.com 2021 all right reserved,powered by Gitbooklast modified: 2021-11-23 10:08:57

results matching ""

    No results matching ""