Request Withdrawal
curl --request POST \
--url https://api.fyatu.com/api/v3/account/withdraw \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"amount": 100
}'import requests
url = "https://api.fyatu.com/api/v3/account/withdraw"
payload = { "amount": 100 }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({amount: 100})
};
fetch('https://api.fyatu.com/api/v3/account/withdraw', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fyatu.com/api/v3/account/withdraw",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'amount' => 100
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.fyatu.com/api/v3/account/withdraw"
payload := strings.NewReader("{\n \"amount\": 100\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.fyatu.com/api/v3/account/withdraw")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"amount\": 100\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fyatu.com/api/v3/account/withdraw")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"amount\": 100\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"status": 200,
"message": "Withdrawal request submitted successfully. Processing can take up to 24 hours.",
"data": {
"withdrawalId": "WD1A2B3C4D5E6F7G8H",
"amount": 100,
"fee": 2,
"totalAmount": 102,
"currency": "USDT",
"address": "TYourTronAddressHere1234567890123",
"network": "TRON",
"status": "PENDING",
"estimatedCompletion": "2026-01-06T10:30:00+00:00",
"balance": {
"available": 898,
"hold": 102,
"total": 1000
}
},
"meta": {
"requestId": "req_abc123def456",
"timestamp": "2026-01-05T10:30:00+00:00"
}
}
Account
Request Withdrawal
Request a withdrawal from your Fyatu business wallet to a registered address. POST /account/withdraw.
POST
/
account
/
withdraw
Request Withdrawal
curl --request POST \
--url https://api.fyatu.com/api/v3/account/withdraw \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"amount": 100
}'import requests
url = "https://api.fyatu.com/api/v3/account/withdraw"
payload = { "amount": 100 }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({amount: 100})
};
fetch('https://api.fyatu.com/api/v3/account/withdraw', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fyatu.com/api/v3/account/withdraw",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'amount' => 100
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.fyatu.com/api/v3/account/withdraw"
payload := strings.NewReader("{\n \"amount\": 100\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.fyatu.com/api/v3/account/withdraw")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"amount\": 100\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fyatu.com/api/v3/account/withdraw")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"amount\": 100\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"status": 200,
"message": "Withdrawal request submitted successfully. Processing can take up to 24 hours.",
"data": {
"withdrawalId": "WD1A2B3C4D5E6F7G8H",
"amount": 100,
"fee": 2,
"totalAmount": 102,
"currency": "USDT",
"address": "TYourTronAddressHere1234567890123",
"network": "TRON",
"status": "PENDING",
"estimatedCompletion": "2026-01-06T10:30:00+00:00",
"balance": {
"available": 898,
"hold": 102,
"total": 1000
}
},
"meta": {
"requestId": "req_abc123def456",
"timestamp": "2026-01-05T10:30:00+00:00"
}
}
Overview
Request a withdrawal to your registered withdrawal address. The withdrawal currency (USDT or USDC) and network are determined by your registered withdrawal address. The funds (amount + fee) are moved from your available balance to a hold balance pending confirmation, which can take up to 24 hours.Supported Currencies & Networks
Withdrawals support USDT and USDC on multiple networks:| Currency | Networks |
|---|---|
USDT | TRON, ETH, BSC, Polygon, Arbitrum, Avalanche |
USDC | TRON, ETH, BSC, Polygon, Arbitrum, Avalanche |
Prerequisites
Before requesting a withdrawal, you must:- Register a withdrawal address via
POST /account/withdrawal-address(specify currency and network) - Have your withdrawal address verified (automatic for valid addresses)
- Have sufficient available balance to cover amount + withdrawal fee
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
amount | number | Yes | Amount to withdraw (before fee) |
currency | string | No | USDT (default) or USDC. Validated for accepted values; the effective withdrawal currency is taken from your registered withdrawal address. |
How It Works
- Validation: System validates your withdrawal address is registered and verified
- Fee Calculation: Withdrawal fee is calculated based on your business fee configuration
- Balance Check: Ensures available balance >= amount + fee
- Hold Funds: Moves total amount (amount + fee) from available balance to hold balance
- Create Transaction: Creates a PENDING withdrawal transaction record
Withdrawal Statuses
| Status | Description |
|---|---|
PENDING | Withdrawal request submitted, awaiting processing |
PROCESSING | Withdrawal is being processed on the blockchain |
COMPLETED | Withdrawal completed successfully, funds sent |
FAILED | Withdrawal failed, funds returned to available balance |
Example Usage
const response = await fetch('https://api.fyatu.com/api/v3/account/withdraw', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': `Bearer ${accessToken}`
},
body: JSON.stringify({
amount: 100.00
})
});
const { data } = await response.json();
console.log(`Withdrawal ID: ${data.withdrawalId}`);
console.log(`Amount: ${data.amount} ${data.currency}`);
console.log(`Fee: ${data.fee}`);
console.log(`Total Deducted: ${data.totalAmount}`);
console.log(`To Address: ${data.address} (${data.network})`);
console.log(`Status: ${data.status}`);
console.log(`Est. Completion: ${data.estimatedCompletion}`);
Error Responses
| Error Code | Description |
|---|---|
WITHDRAWAL_ADDRESS_MISSING | No withdrawal address registered |
WITHDRAWAL_ADDRESS_UNVERIFIED | Withdrawal address not yet verified |
INSUFFICIENT_BALANCE | Not enough available balance to cover amount + fee |
HOLD_FAILED | Funds could not be placed on hold |
Authorizations
JWT access token obtained from /auth/token
Body
application/json
Amount to withdraw in USDT (before fee)
Required range:
x >= 0.01Example:
100

