Informasi/Saldo
Saldo
Dapatkan daftar akun merchant beserta saldo per mata uang.
Endpoint Balance mengembalikan semua akun merchant dalam project beserta saldo tersedia, ekuivalen USD, dan jumlah yang terkunci.
Dapatkan saldo
Mengembalikan daftar akun merchant. Permintaan tidak memiliki body — tanda tangan dihitung atas string kosong.
Field respon
Setiap akun di result berisi:
| Field | Tipe | Deskripsi |
|---|---|---|
uuid | string | UUID akun |
status | string | Status akun (active, disabled) |
currency_code | string | Mata uang akun |
balance | decimal | Saldo tersedia |
balance_usd | decimal | Saldo tersedia dalam USD |
locked_balance | decimal | Jumlah yang terkunci karena AML |
Contoh respon
JSON
{
"state": 0,
"result": [
{
"uuid": "abc123-def456-...",
"status": "active",
"currency_code": "USDT",
"balance": "1250.50",
"balance_usd": "1250.50",
"locked_balance": "0.00"
},
{
"uuid": "def456-abc789-...",
"status": "active",
"currency_code": "BTC",
"balance": "0.01320000",
"balance_usd": "1251.20",
"locked_balance": "0.00000000"
}
]
}Credentials
curl -X GET https://api.2328.io/api/v1/balance \
-H "Content-Type: application/json" \
-H "User-Agent: MyShop/1.0 (+https://myshop.example)" \
-H "project: YOUR_PROJECT_UUID" \
-H "sign: YOUR_HMAC_SIGNATURE"Click Try it to see the response here.