OnlinePay API
  1. Query
OnlinePay API
  • Introduction
    • Introduction
    • How to Start
    • Country Code
    • Country Info
    • Currency Code
    • Error Code
    • Transfer Order Info Type
    • Transfer Order File Type
    • Per Bank
    • Spei Bank
  • Payin
    • OnRamps API
      GET
    • Alipay API
      POST
    • Credit Card API
      POST
    • Crypto Pay API
      POST
    • GCash API
      POST
    • PerTransfer API
      POST
    • PIX API
      POST
    • SEPA API
      POST
    • SPEI API
      POST
    • Union Pay API
      POST
    • WeChat API
      POST
    • CheckOut
      POST
    • CheckOut Payment
      POST
  • Payout
    • Bank Account
      POST
    • Card
      POST
    • Per Transfer
      POST
    • Pix
      POST
    • CheckOut
      POST
    • Spei Payout
      POST
  • Notify
    • Notify WebHook API
    • Card Notify WebHook API
  • Refund
    • Refund API
  • Review
    • Upload SEPA File API
  • Query
    • Query API
      POST
    • QueryBalance API
      POST
    • QueryOrderList API
      POST
  • Card
    • CreateCardholder API
    • CreateCard API
    • QueryCardInfo API
    • ActiveCard API
    • TopUpCard API
    • CardWithdraw API
    • QueryCardTransaction API
    • QueryCardBalance API
    • FreezeCard API
    • UnFreezeCard API
    • CancelCard API
    • AddVpaScene API
    • UploadFile API
  1. Query

QueryBalance API

Testing Env
https://testpay.onlinepay.ai
Testing Env
https://testpay.onlinepay.ai
POST
/balance/query

Request

Body Params application/json

Example
{
    "merNo": 111111,
    "version": "V3.0.0",
    "sign": "9D6FDF4880B00B002B1F2AB61AE9A721",
    "currency": "USD"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://testpay.onlinepay.ai/balance/query' \
--header 'Content-Type: application/json' \
--data-raw '{
    "merNo": 111111,
    "version": "V3.0.0",
    "sign": "9D6FDF4880B00B002B1F2AB61AE9A721",
    "currency": "USD"
}'

Responses

🟢200Success
application/json
Body

Example
{
    "code": "string",
    "message": "string",
    "data": {
        "currency": "string",
        "balance": "string",
        "unCheckedBalance": "string",
        "totalBalance": "string"
    }
}
Modified at 2025-03-18 07:59:55
Previous
Query API
Next
QueryOrderList API
Built with