List static addresses of your site
curl --request GET \
--url https://api.example.com/v1/public/static-addresses \
--header 'X-Signature: <api-key>'import requests
url = "https://api.example.com/v1/public/static-addresses"
headers = {"X-Signature": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Signature': '<api-key>'}};
fetch('https://api.example.com/v1/public/static-addresses', 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.example.com/v1/public/static-addresses",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Signature: <api-key>"
],
]);
$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.example.com/v1/public/static-addresses"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Signature", "<api-key>")
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.example.com/v1/public/static-addresses")
.header("X-Signature", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/public/static-addresses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Signature"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"items": [
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"orderId": "customer-42",
"label": "<string>",
"assetCode": "USDT_TRC20",
"network": "TRON",
"address": "<string>",
"memo": "<string>",
"status": "active",
"explorerAddressUrl": "<string>",
"paymentsCount": 3,
"totalReceived": "350.5",
"lastPaymentAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"meta": {
"page": 1,
"perPage": 20,
"total": 137,
"nextCursor": "MTIzNDU"
}
}public · static addresses
List static addresses of your site
GET
/
v1
/
public
/
static-addresses
List static addresses of your site
curl --request GET \
--url https://api.example.com/v1/public/static-addresses \
--header 'X-Signature: <api-key>'import requests
url = "https://api.example.com/v1/public/static-addresses"
headers = {"X-Signature": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Signature': '<api-key>'}};
fetch('https://api.example.com/v1/public/static-addresses', 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.example.com/v1/public/static-addresses",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Signature: <api-key>"
],
]);
$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.example.com/v1/public/static-addresses"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Signature", "<api-key>")
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.example.com/v1/public/static-addresses")
.header("X-Signature", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/public/static-addresses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Signature"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"items": [
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"orderId": "customer-42",
"label": "<string>",
"assetCode": "USDT_TRC20",
"network": "TRON",
"address": "<string>",
"memo": "<string>",
"status": "active",
"explorerAddressUrl": "<string>",
"paymentsCount": 3,
"totalReceived": "350.5",
"lastPaymentAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"meta": {
"page": 1,
"perPage": 20,
"total": 137,
"nextCursor": "MTIzNDU"
}
}Authorizations
HMAC-SHA256-Hex(timestamp + "." + raw_body, api_secret)
Query Parameters
Номер страницы (с 1).
Required range:
x >= 1Размер страницы (макс 100).
Required range:
1 <= x <= 100Фильтр по статусу (одно значение или несколько через запятую). Напр. "paid" или "paid,paid_over".
1.4.0: курсор из meta.nextCursor предыдущего ответа. При наличии page игнорируется — выдача идёт keyset-методом (стабильна при появлении новых записей). Первую страницу по курсору запрашивайте без параметра — meta.nextCursor появится в ответе.