Docs
Docs
  • 简体中文
  • English
Docs
  • 简体中文
  • English
  • Docs

    • Common Conventions
    • Collection / Payin
    • Payout / Remittance
    • Account Balance
    • Transaction Query
    • Async Notification (Collection / Payout)
    • Signature
    • Account (Acct)
    • Special Instructions

Account Balance

Balance Notes

  • Each merchant account has a default USDT account plus the local market currency account (2 accounts in total).
  • Available amount for payout/withdrawal = balance - locked amount.
  • To avoid losing trailing zeros during conversions (e.g. 0.0000), amounts in this API are returned as strings.

Balance Query

Endpoint
https://{$api_host}/api/balance
Request Parameters
FieldKeyRequiredTypeExampleDescription
Merchant IDmeridYesstring10086Merchant ID assigned by the platform (not the login account).
CurrencycurNostringPKRCurrency code (uppercase). If omitted, balances for all currencies are returned. Refer to your account settings and Common Conventions.
SignaturesignYesstringc380bec2bfd727a4.....Signature. See the signature algorithm.
Request Example
{
  "merid": "10086",
  "cur": "USDT",
  "sign": "c8bbeab3ffb1f0f16f4...."
}

Amounts are returned as strings to preserve precision and avoid losing trailing zeros due to conversions.

Response Parameters
FieldKeyTypeExampleDescription
Merchant IDmeridstring10086Merchant ID assigned by the platform (not the login account).
CurrencycurstringUSDTCurrency code.
Balancebalstring100.9900Balance (4 decimals). Type is string.
Locked Amountlockstring1.0000Locked amount (4 decimals). Type is string.
Exception Amountexcptstring2.0000Exception amount (4 decimals). Type is string.

Response Example (with cur)

{
  "data": {
    "merid": "10086",
    "cur": "USDT",
    "bal": "100.2000",
    "lock": "0.0000",
    "excpt": "0.0000"
  }
}

Response Example (without cur)

{
  "list": [
    {
      "merid": "10086",
      "cur": "USDT",
      "bal": "100.2000",
      "lock": "0.0000",
      "excpt": "0.0000"
    },
    {
      "merid": "10086",
      "cur": "PKR",
      "bal": "100.2000",
      "lock": "0.0000",
      "excpt": "0.0000"
    }
  ]
}
Prev
Payout / Remittance
Next
Transaction Query