List Orders
curl --request GET \
--url https://b2b.usetapp.xyz/v1/sender/orders \
--header 'API-Key: <api-key>'import requests
url = "https://b2b.usetapp.xyz/v1/sender/orders"
headers = {"API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'API-Key': '<api-key>'}};
fetch('https://b2b.usetapp.xyz/v1/sender/orders', 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://b2b.usetapp.xyz/v1/sender/orders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"API-Key: <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://b2b.usetapp.xyz/v1/sender/orders"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("API-Key", "<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://b2b.usetapp.xyz/v1/sender/orders")
.header("API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://b2b.usetapp.xyz/v1/sender/orders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": "success",
"message": "Payment orders retrieved successfully",
"data": {
"total": 42,
"page": 1,
"pageSize": 20,
"orders": [
{
"id": "c7326d65-dfff-44c2-8bcc-c0756dfb6c0a",
"amount": "10",
"token": "USDC",
"network": "base",
"rate": "1377.50",
"status": "pending"
}
]
}
}
API Reference
List Orders
List your payment orders, with pagination and status/token filters.
GET
/
v1
/
sender
/
orders
List Orders
curl --request GET \
--url https://b2b.usetapp.xyz/v1/sender/orders \
--header 'API-Key: <api-key>'import requests
url = "https://b2b.usetapp.xyz/v1/sender/orders"
headers = {"API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'API-Key': '<api-key>'}};
fetch('https://b2b.usetapp.xyz/v1/sender/orders', 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://b2b.usetapp.xyz/v1/sender/orders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"API-Key: <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://b2b.usetapp.xyz/v1/sender/orders"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("API-Key", "<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://b2b.usetapp.xyz/v1/sender/orders")
.header("API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://b2b.usetapp.xyz/v1/sender/orders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": "success",
"message": "Payment orders retrieved successfully",
"data": {
"total": 42,
"page": 1,
"pageSize": 20,
"orders": [
{
"id": "c7326d65-dfff-44c2-8bcc-c0756dfb6c0a",
"amount": "10",
"token": "USDC",
"network": "base",
"rate": "1377.50",
"status": "pending"
}
]
}
}
Returns the authenticated sender’s payment orders, most recent first.
Header Parameters
string
required
Unique API key issued manually through Telegram.
Query Parameters
string
Filter by lifecycle state:
initiated, pending, expired, settled, refunded.string
Filter by token symbol (e.g.
USDC).string
Sort direction by creation time:
asc or desc (default desc).integer
Page number (default
1).integer
Records per page.
Response
string
Response state (
success).object
{
"status": "success",
"message": "Payment orders retrieved successfully",
"data": {
"total": 42,
"page": 1,
"pageSize": 20,
"orders": [
{
"id": "c7326d65-dfff-44c2-8bcc-c0756dfb6c0a",
"amount": "10",
"token": "USDC",
"network": "base",
"rate": "1377.50",
"status": "pending"
}
]
}
}