Wallet address
get
https://api.cryptomus.com/v2/user-api/payout/services
Request
Query parameters
Name | Definition |
---|---|
currency* | Currency code |
network* | Blockchain network code |
Definition
Currency codeDefinition
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"
}
COPYResponse
Response parameters
The reply comes with a collection of all available payout services
Name | Definition |
---|---|
address | Address |
network | Blockchain network code |
currency | Currency code |
Definition
AddressDefinition
Blockchain network codeDefinition
Currency code
Response example
1{
2 "state": 0,
3 "result": [
4 {
5 "address": "TWPVX81pLpiucbFTq9frseURsFkA1hRnZU",
6 "network": "Tron",
7 "currency": "USDT"
8 }
9 ]
10}
11
COPYAn 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