Sign in
情報/方向

Directions

Retrieve the list of available deposit and withdrawal directions with their current statuses and fees.

The endpoint returns all supported currency + network pairs with their current statuses, limits, and estimated withdrawal fees. Use it to dynamically build a currency selector UI and show users the withdrawal cost upfront.

List directions

GET/v1/directions

No authentication is required beyond the standard project signature. For a GET request, sign an empty body: hash_hmac('sha256', base64_encode(''), $apiKey)

Sign the request with an empty body: hash_hmac('sha256', base64_encode(''), $apiKey)

Request example

Shell
curl -X GET https://api.2328.io/api/v1/directions \
  -H "project: YOUR_PROJECT_UUID" \
  -H "sign: YOUR_HMAC_SIGNATURE"

Response example

JSON
{
  "state": 0,
  "result": [
    {
      "network": "Tron",
      "currency": "USDT",
      "deposit_status": "active",
      "withdrawal_status": "active",
      "min_deposit": "1.000000000000000000",
      "max_deposit": "50000.000000000000000000",
      "min_withdrawal": "5.000000000000000000",
      "max_withdrawal": "50000.000000000000000000",
      "withdrawal_fee": "2.500000000000000000",
      "withdrawal_fee_type": "fixed"
    },
    {
      "network": "Bitcoin",
      "currency": "BTC",
      "deposit_status": "inactive",
      "withdrawal_status": "active",
      "min_deposit": "0.000100000000000000",
      "max_deposit": "2.000000000000000000",
      "min_withdrawal": "0.000100000000000000",
      "max_withdrawal": "2.000000000000000000",
      "withdrawal_fee": null,
      "withdrawal_fee_type": "estimated"
    }
  ]
}

Response fields

FieldTypeDescription
networkstringNetwork name (e.g. Tron, Bitcoin, Ethereum)
currencystringCurrency code (e.g. USDT, BTC, ETH)
deposit_statusstringDeposit availability status (see below)
withdrawal_statusstringWithdrawal availability status (see below)
min_depositstring | nullMinimum deposit amount. null — no limit
max_depositstring | nullMaximum deposit amount. null — no limit
min_withdrawalstring | nullMinimum withdrawal amount. null — no limit
max_withdrawalstring | nullMaximum withdrawal amount. null — no limit
withdrawal_feestring | nullEstimated withdrawal fee in the direction's currency. null — not available yet
withdrawal_fee_typestringFee type: fixed, estimated, or unknown (see below)

Direction statuses

StatusDescription
activeDirection is fully operational
inactiveTemporarily unavailable (maintenance)
disabledNot supported

If deposit_status or withdrawal_status is anything other than active, the corresponding operation will be rejected with a direction_disabled error. Use this endpoint to hide unavailable directions in your UI before the user attempts an operation.

Withdrawal fee types

TypeDescription
fixedFixed fee amount in the withdrawal_fee field
estimatedEstimated fee based on the current network fee. The final amount may differ slightly — use /v1/payout/calc for a precise quote
unknownNo fee configured for this direction