Skip to main content
GET
/
deposit-address
Get deposit addresses
curl --request GET \
  --url https://api.fyatu.com/api/v3.20/deposit-address \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://api.fyatu.com/api/v3.20/deposit-address"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.fyatu.com/api/v3.20/deposit-address', 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.20/deposit-address",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://api.fyatu.com/api/v3.20/deposit-address"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("Authorization", "Bearer <token>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://api.fyatu.com/api/v3.20/deposit-address")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.fyatu.com/api/v3.20/deposit-address")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
{
  "success": true,
  "status": 200,
  "message": "Deposit addresses retrieved",
  "data": {
    "token": "USDT",
    "trc20": "TMxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    "erc20": "0xaabbccddeeff00112233445566778899aabbccdd"
  },
  "meta": {
    "requestId": "req_a1b2c3d4e5f6a7b8c9d0e1f2",
    "platform": "Fyatu CaaS",
    "timestamp": "2026-05-25T10:00:00Z"
  }
}

Overview

Returns the USDT deposit addresses for your program account. Send USDT to either address to fund your account balance — the platform detects the on-chain transfer and credits your balance automatically once confirmations are met.
  • TRC20 (TRON) — faster and cheaper transfers, recommended for regular top-ups
  • ERC20 (Ethereum) — standard Ethereum network, wider exchange support
On the first call the addresses are generated (unique per business) and persisted. Every subsequent call returns the same cached addresses — they never change. Confirmations required: 3 for both TRC20 and ERC20. A billing.deposit.confirmed webhook is fired when your balance is credited.
Only USDT is accepted. Do not send other tokens — unsupported assets will not be credited and cannot be recovered.

Example

curl https://api.fyatu.com/api/v3.20/deposit-address \
  -H "Authorization: Bearer $FYATU_API_KEY"
const resp = await fetch('https://api.fyatu.com/api/v3.20/deposit-address', {
  headers: { 'Authorization': `Bearer ${process.env.FYATU_API_KEY}` }
});
const { data } = await resp.json();
console.log('TRC20:', data.trc20);
console.log('ERC20:', data.erc20);
import os, requests

resp = requests.get(
    'https://api.fyatu.com/api/v3.20/deposit-address',
    headers={'Authorization': f'Bearer {os.environ["FYATU_API_KEY"]}'}
)
data = resp.json()['data']
print(f"TRC20 ({data['token']}):", data['trc20'])
print(f"ERC20 ({data['token']}):", data['erc20'])

Success Response (200)

{
  "success": true,
  "status": 200,
  "message": "Deposit addresses retrieved",
  "data": {
    "token": "USDT",
    "trc20": "TMxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    "erc20": "0xaabbccddeeff00112233445566778899aabbccdd"
  },
  "meta": {
    "requestId": "req_a1b2c3d4e5f6a7b8c9d0e1f2",
    "platform": "Fyatu CaaS",
    "timestamp": "2026-05-25T10:00:00Z"
  }
}

Field Reference

FieldTypeDescription
tokenstringToken accepted at these addresses. Always USDT
trc20stringUSDT deposit address on the TRON network (TRC20)
erc20stringUSDT deposit address on the Ethereum network (ERC20)

Error Codes

CodeHTTPCause
AUTH_TOKEN_MISSING401No API key provided
AUTH_TOKEN_INVALID401API key not recognised or revoked
INSUFFICIENT_SCOPE403Key lacks accounts:read scope
INTERNAL_ERROR500Address generation failed

Authorizations

Authorization
string
header
required

API key from the FYATU CaaS portal. Pass as Authorization: Bearer <key>.

Response

Deposit addresses retrieved

success
boolean
Example:

true

status
integer
Example:

200

message
string
Example:

"Deposit addresses retrieved"

data
object
meta
object