TrustPay
zh
  • en
  • zh
  1. v2
TrustPay
zh
  • en
  • zh
  • 接入说明
  • 支付风控接口 - 商户接入指南
  • 枚举类型说明
  • v3
    • 余额查询
      POST
    • 代收接口
      POST
    • 订单查询
      POST
    • 渠道风控确认
      POST
    • 卡直付接口
      POST
  • v2
    • 转账接口
      POST
    • 直接代付
      POST
    • 余额查询
      POST
    • 代收接口
      POST
    • 间接代付
      POST
    • 订单查询
      POST
    • 商户提现
      POST
    • 支付回调
      POST
  1. v2

余额查询

Deprecated
POST
/v2/balance
余额查询接口,支持币种 INR,USD

Request

Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.trustpay.money/v2/balance' \
--header 'Content-Type: application/json' \
--data-raw '{
    "currencyId": "USD",
    "merchantId": 1184,
    "sign": "xxxxxxx"
}'
Response Response Example
{
    "code": 880001,
    "message": "success",
    "Data": {
        "balance": "0",
        "freeze": "380"
    }
}
Modified at 2025-11-13 11:59:53
Previous
直接代付
Next
代收接口
Built with