Informatie/Saldo
Saldo
Haal de lijst met merchantaccounts op met hun saldi per valuta.
Het Balance-endpoint geeft alle merchantaccounts in het project terug, inclusief hun beschikbare saldi, USD-equivalenten en eventuele vergrendelde bedragen.
Saldo opvragen
Geeft de lijst met merchantaccounts terug. Het verzoek heeft geen body — de handtekening wordt berekend over een lege string.
Responsevelden
Elk account in result bevat:
| Veld | Type | Beschrijving |
|---|---|---|
uuid | string | Account-UUID |
status | string | Accountstatus (active, disabled) |
currency_code | string | Accountvaluta |
balance | decimal | Beschikbaar saldo |
balance_usd | decimal | Beschikbaar saldo in USD |
locked_balance | decimal | Bedrag vergrendeld vanwege AML |
Voorbeeld van een response
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.