Informationen/Guthaben
Guthaben
Liste der Händlerkonten mit den Guthaben pro Währung abrufen.
Der Endpoint Guthaben gibt alle Händlerkonten im Projekt mit ihren verfügbaren Guthaben, USD-Gegenwerten und etwaigen gesperrten Beträgen zurück.
Guthaben abrufen
Gibt die Liste der Händlerkonten zurück. Die Anfrage hat keinen Body — die Signatur wird über einen leeren String berechnet.
Antwortfelder
Jedes Konto in result enthält:
| Feld | Typ | Beschreibung |
|---|---|---|
uuid | string | Konto-UUID |
status | string | Kontostatus (active, disabled) |
currency_code | string | Kontowährung |
balance | decimal | Verfügbares Guthaben |
balance_usd | decimal | Verfügbares Guthaben in USD |
locked_balance | decimal | Aufgrund von AML gesperrter Betrag |
Antwortbeispiel
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.