Sign in
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:

FeldTypBeschreibung
uuidstringKonto-UUID
statusstringKontostatus (active, disabled)
currency_codestringKontowährung
balancedecimalVerfügbares Guthaben
balance_usddecimalVerfügbares Guthaben in USD
locked_balancedecimalAufgrund 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
RequestGET/v1/balance
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"
Response
Click Try it to see the response here.