Wallet-Adresse

get
https://api.cryptomus.com/v2/user-api/payout/services
KOPIEREN

Anfrage

Abfrageparameter

NameDefinition
currency*Währungscode
network*Blockchain -Netzwerkcode

Definition

Währungscode

Definition

Blockchain -Netzwerkcode

* - obligatorischer Parameter

Beispiel anfordern


curl https://api.cryptomus.com/v2/user-api/payout/services \
    -X POST \
    -H 'userId: 8b03432e-385b-4670-8d06-064591096795' \
    -H 'sign: fe99035f86fa436181717b302b95bacff1' \
    -H 'Content-Type: application/json' \
    -d '{
      "currency": "USDT",
      "network": "tron"
    }
KOPIEREN

Antwort

Antwortparameter

Die Antwort enthält eine Auflistung aller verfügbaren Auszahlungsdienste

NameDefinition
addressAdresse
networkBlockchain -Netzwerkcode
currencyWährungscode

Definition

Adresse

Definition

Blockchain -Netzwerkcode

Definition

Währungscode

Antwortbeispiel


1{
2  "state": 0,
3  "result": [
4    {
5      "address": "TWPVX81pLpiucbFTq9frseURsFkA1hRnZU",
6      "network": "Tron",
7      "currency": "USDT"
8    }
9  ]
10}
11      
KOPIEREN

Ein Beispiel für eine Antwort im Fehlerfall

{
  "state": 1,
  "errors": {
    "currency": [
      "The currency field is required."
    ],
    "network": [
      "The network field is required."
    ]
  }
}
KOPIEREN