SA-starpago-en
  1. account
SA-starpago-en
  • Access Guidelines
  • Accessory Code Table
  • Signature Example
  • Solutions to common problems with signatures
  • Indonesia - BankCodes Table
  • Thailand - BankCodes Table
  • Pakistan - BankCodes Table
  • Philippines - BankCodes Table
  • Bengal - BankCodes Table
  • payin
    • Pakistan - Create payin
      POST
    • Thailand - Create payin
      POST
    • Philippines - Create payin
      POST
    • Bengal - Create payin
      POST
    • Payment Order Query
      GET
  • payout
    • Pakistan - Create payout
      POST
    • Thailand - Create payout
      POST
    • Philippines - Create payout
      POST
    • Bengal - Create payout
      POST
    • Payout Order Query
      GET
  • account
    • Balance Query
      GET
  • webhook
    • payin webhook
    • payout webhook
  1. account

Balance Query

GET
{{HOST}}/api/v2/merchant/balance
使用代收部分对应的appId和密钥。

Request

Query Params
appId
string 
required
应用号
Example:
a0c07e56c281c23c9b0bfd94923cfb9d
sign
string 
required
签名
Example:
a8e8789b76d43d57d3b72fdfb14f482761e05a192a86048b90710f517369f5f8

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 -g --request GET '{{HOST}}/api/v2/merchant/balance?appId=a0c07e56c281c23c9b0bfd94923cfb9d&sign=a8e8789b76d43d57d3b72fdfb14f482761e05a192a86048b90710f517369f5f8'

Responses

🟢200成功
application/json
Body
code
integer 
响应状态码
required
data
object 
返回数据
required
currency
string 
货币代码
required
payinValue
number 
代收余额
required
payoutValue
number 
代付余额
required
disableValue
number 
冻结金额
required
sign
string 
签名值
required
msg
string 
返回文字描述
required
Example
{
    "code": 0,
    "data": {
        "currency": "IDR",
        "payinValue": 150000,
        "payoutValue": 130000,
        "disableValue": 10000,
        "sign": "85a1943d864a2ebdec94bd25fed4b5cb980b960d6e4e24fbdb426e35db7d2b25"
    },
    "msg": "请求成功"
}
Modified at 2024-12-29 04:17:06
Previous
Payout Order Query
Next
payin webhook
Built with