Wallet address

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

Request

Query parameters

NameDefinition
currency*Currency code
network*Blockchain network code

Definition

Currency code

Definition

Blockchain network code

* - mandatory parameter

Request example


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"
    }
COPY

Response

Response parameters

The reply comes with a collection of all available payout services

NameDefinition
addressAddress
networkBlockchain network code
currencyCurrency code

Definition

Address

Definition

Blockchain network code

Definition

Currency code

Response example


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

An example of an answer in the event of an error

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