ALLINONE
  1. API
ALLINONE
  • AIO Solution Brief
  • Overview
  • Getting Started
  • Supported Blockchain Networks and Tokens
  • Subaddresses and collection
  • Fund Pool and Withdrawal
  • Funds flow
  • Registration
  • Subaddress transactions
  • API
    • API Basics
    • API Encryption Transmission
    • Create Sub-Address
      POST
    • Create Multiple Subaddresses
      POST
    • Get Sub-Address List
      GET
    • Get Sub-Address Transaction
      GET
    • Create Withdraw Transaction
      POST
    • Direct Withdrawal Transaction
      POST
    • Get Withdraw Transaction details
      GET
    • Get Supported Blockchains and Tokens
      GET
  • Description
    • Collection Instructions
    • Withdrawal Instructions
    • 2-FA Authentication
    • TG Bot
    • Webhook
  • User Experience
    • Overview
    • Registration/Signup
    • Login/Signin
    • Enable TOTP
    • Reset Forgotten Password
    • Subaddress
    • Subaddress transactions
    • Collection Address
    • Fund Pool Addresses
    • Gas Management addresses
    • Settings
      • API Keys and Data encryption
      • IP Whitelisting in API Keys
      • IP Whitelisting - Dashboard
      • Webhooks
  • 用户体验
    • 注册
    • 登录
    • TOTP
    • 忘記密碼
    • 子地址
    • 子地址详情
    • 收款地址概览 (Collection Addresses)
    • 资金池概览 (FundPool Addresses)
    • 燃气管理地址 (Gas Management Addresses)
    • 设置
      • API密钥和数据加密
      • API 密钥中的 IP 白名单
      • AIO仪表板IP白名单
      • 用于通知的 Webhooks
  1. API

Direct Withdrawal Transaction

Testing
Prod Env
https://api.aio.cash
Prod Env
https://api.aio.cash
POST
withdraw/tx/direct

POST withdraw/tx/direct Endpoint#

Functionality Overview#

This endpoint facilitates direct withdrawals, allowing transactions to bypass the normal queuing process.

Request Format#

The request format is consistent with POST withdraw/tx but targets immediate processing.

Supported Chains#

Supported chains include:
ETHEREUM
ETHEREUM_T
BITCOIN
BITCOIN_T
LITECOIN
LITECOIN_T
OPTIMISM
OPTIMISM_T
ARBITRUM_ONE
ARBITRUM_ONE_T
ARBITRUM_NOVA
TRON
TRON_T
BSC
BSC_T

Supported Tokens#

Supported tokens include:
BTC
LTC
DOGE
USDT
ETH
BNB
TRX
LINK
WETH
USDC
WBTC
MATIC
BUSD
DAI
SHIB
SAND
UNI
OP
ARB

Status Checking#

To check the status of a withdrawal request, use the GET withdraw/tx endpoint with the specific transaction id.

Supported Assets#

For information on which tokens are supported on which chains, consult the /supported_assets public endpoint.

Request

Authorization
Add parameter in header
apikey
Example:
apikey: ********************
Body Params application/json
chain
enum<string> 
required
Blockchain
Allowed values:
ETHEREUMOPTIMISMBITCOINLITECOINTRONARBITRUM_ONEARBITRUM_NOVA
Example:
ETHEREUM
token
enum<string> 
required
Token symbol
Allowed values:
ETHTRXBTCBNBLTCUSDTUSDCCRODAILINKUNIWBTCWETHSHIBMATICOPARBDOGESAND
Example:
ETH
to_addr
string 
required
To address
Example:
0x0Ebc5B1dcEB734e8ba6903FeF3d07eb0Fda5e43b
amount
number 
required
Sent amount
remarks
string 
required
Trade custom remarks field
Example
{
  "chain": "ETHEREUM",
  "token": "ETH",
  "to_addr": "0x0Ebc5B1dcEB734e8ba6903FeF3d07eb0Fda5e43b",
  "amount": 0,
  "remarks": "string"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.aio.cashwithdraw/tx/direct' \
--header 'Content-Type: application/json' \
--header 'apikey;' \
--data-raw '{
    "chain": "ETHEREUM",
    "token": "ETH",
    "to_addr": "0x0Ebc5B1dcEB734e8ba6903FeF3d07eb0Fda5e43b",
    "amount": 0,
    "remarks": "string"
}'

Responses

🟢200Success
application/json
Body
success
boolean 
required
API Normal response flag
Default:
true
msg
string 
required
Response result message
Default:
ok
data
string  | integer  | boolean  | array  | object  | number  | null 
required
Response data
Example
{
  "success": "true",
  "msg": "ok",
  "data": "string"
}
🟠422Parameter error
🟠403Authentication error
🟠429Rate Limit Error
Previous
Create Withdraw Transaction
Next
Get Withdraw Transaction details
Built with