Withdrawal by ID
Payout to a wallet identifier.
Request Example
curl --location 'https://app.heth.me/api/v1/transactions' \
--header 'Content-Type: application/json' \
--header 'x-api-key: 440944de-e5a4-6aab-9c57-3bf2e7282c64' \
--data '{
"params": {
"amount": "10000000000000000000",
"currency": "USDT",
"env": "prod",
"type": "payout",
"route": "hot_hot_ETH",
"money_storage": {
"wallet_id": "9D0089A4A8024E4724D03D2E572EB53DDE850B99",
"network": "ETH",
"type": "p2p_proxy",
"currency": "USDT"
},
"description": "Withdrawal",
"txid": "7c9e6679-7425-40de-944b-e07fc1f90ae7"
}
}'
| Field | Description | Type | Example |
|---|---|---|---|
| amount | Transaction amount (string of an integer in minor units) | String | 10000000000000000000 |
| currency | Transaction currency (default USDT) | String | USDT |
| env | Transaction environment (default prod) | String | prod |
| route | Transaction route (must match route mapping) | String | hot_hot_ETH |
| type | Transaction type (in this case payout) | String | payout |
| money_storage | Recipient data object | Object | |
| >wallet_id | Recipient wallet identifier | String | 9D0089A4A8024E4724D03D2E572EB53DDE850B99 |
| >network | Blockchain network (TRX or ETH) | String | ETH |
| >type | Transaction type for wallets (in this case p2p_proxy) | String | p2p_proxy |
| >currency | Recipient currency (default USDT) | String | USDT |
| description | Transaction description | String | Withdrawal |
| txid | Idempotent transaction identifier (UUID) | String | 7c9e6679-7425-40de-944b-e07fc1f90ae7 |