List transactions
curl --request GET \
--url https://api.globalstack.io/v1/transactions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.globalstack.io/v1/transactions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.globalstack.io/v1/transactions', 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.globalstack.io/v1/transactions",
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.globalstack.io/v1/transactions"
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.globalstack.io/v1/transactions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.globalstack.io/v1/transactions")
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{
"status": true,
"message": "Transactions fetched successfully",
"code": "ok",
"data": [
{
"id": "txn_01KPBG1Q3Z8X1Q6VJRE5R8ZFBG",
"source_type": "onramp",
"source_id": "onr_01KPBH802PXQQXT8ASJGE0QX2K",
"customer_id": "cust_seed_alice",
"type": "onramp",
"status": "success",
"metadata": {},
"created_at": "2026-04-16T16:16:03.000Z",
"updated_at": "2026-04-16T16:16:07.000Z",
"reference": "INV-2026-001",
"transaction_hash": null,
"from_wallet_id": null,
"to_wallet_id": "wal_seed_alice_usdc",
"source_amount": "10000.00",
"source_currency": "NGN",
"destination_amount": "6.046600",
"destination_currency": "USDC",
"received_amount": "100.00",
"confirmed_at": "2026-04-22T02:01:30.000Z",
"fee": {
"line_items": [
{
"name": "gateway",
"amount": "100",
"currency": "NGN"
},
{
"name": "network",
"amount": "0.5",
"currency": "USDC"
}
]
},
"parent_transaction_id": null,
"root_transaction_id": "txn_01KPBG1Q3Z8X1Q6VJRE5R8ZFBG",
"related_transactions": "<unknown>"
}
],
"meta": {
"page": 1,
"per_page": 50,
"total": 137,
"has_more": false,
"request_id": "req_01HXYZ4K5ABCDEFGHJKLMNPQRS",
"timestamp": "2026-05-14T15:43:55.732Z",
"version": "1"
}
}{
"status": false,
"message": "Resource not found",
"code": "not_found",
"data": null,
"meta": {
"next_steps": {
"action": "Verify the resource identifier and retry.",
"docs_url": "https://docs.globalstack.io/errors#not_found"
},
"request_id": "req_01HXYZ4K5ABCDEFGHJKLMNPQRS",
"timestamp": "2026-05-14T15:43:55.732Z",
"version": "1"
}
}{
"status": false,
"message": "Resource not found",
"code": "not_found",
"data": null,
"meta": {
"next_steps": {
"action": "Verify the resource identifier and retry.",
"docs_url": "https://docs.globalstack.io/errors#not_found"
},
"request_id": "req_01HXYZ4K5ABCDEFGHJKLMNPQRS",
"timestamp": "2026-05-14T15:43:55.732Z",
"version": "1"
}
}Transactions
List transactions
Unified view across onramps, offramps, conversions, deposits, and transfers for reconciliation and history.
Filter by type, source_type (for deposits), customer_id, wallet_id, status, source_currency, and created_after / created_before. Results are paginated with page and per_page (max 200).
Filter behavior
type— coarse category. One ofonramp,offramp,conversion,transfer,deposit.source_type— granular origin. One ofdeposit_address,credential,deposit_forward.customer_id— restricts to a single customer. Must be a validcust_…id. An unknown id returns an empty page (200,data: []), not404.wallet_id— matches transactions where the wallet is either the source (from_wallet_id) or the destination (to_wallet_id). Must be a validwal_…id. Unknown returns an empty page.status— one ofcreated,awaiting_deposit,processing,temporary_failure,success,failed,returned,received,confirmed.source_currency— exact currency-code match (e.g.NGN,USDC).created_after/created_before— either aYYYY-MM-DDcalendar date (UTC, inclusive:created_aftermatches at or after00:00:00,created_beforeat or before23:59:59.999) or a full ISO 8601 UTC timestamp ending inZ(e.g.2026-04-16T16:16:03Z), used as the exact instant.
Pagination
page— 1-indexed page number. Defaults to1. Between1and1,000,000.per_page— page size. Defaults to50. Between1and200.
GET
/
v1
/
transactions
List transactions
curl --request GET \
--url https://api.globalstack.io/v1/transactions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.globalstack.io/v1/transactions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.globalstack.io/v1/transactions', 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.globalstack.io/v1/transactions",
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.globalstack.io/v1/transactions"
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.globalstack.io/v1/transactions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.globalstack.io/v1/transactions")
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{
"status": true,
"message": "Transactions fetched successfully",
"code": "ok",
"data": [
{
"id": "txn_01KPBG1Q3Z8X1Q6VJRE5R8ZFBG",
"source_type": "onramp",
"source_id": "onr_01KPBH802PXQQXT8ASJGE0QX2K",
"customer_id": "cust_seed_alice",
"type": "onramp",
"status": "success",
"metadata": {},
"created_at": "2026-04-16T16:16:03.000Z",
"updated_at": "2026-04-16T16:16:07.000Z",
"reference": "INV-2026-001",
"transaction_hash": null,
"from_wallet_id": null,
"to_wallet_id": "wal_seed_alice_usdc",
"source_amount": "10000.00",
"source_currency": "NGN",
"destination_amount": "6.046600",
"destination_currency": "USDC",
"received_amount": "100.00",
"confirmed_at": "2026-04-22T02:01:30.000Z",
"fee": {
"line_items": [
{
"name": "gateway",
"amount": "100",
"currency": "NGN"
},
{
"name": "network",
"amount": "0.5",
"currency": "USDC"
}
]
},
"parent_transaction_id": null,
"root_transaction_id": "txn_01KPBG1Q3Z8X1Q6VJRE5R8ZFBG",
"related_transactions": "<unknown>"
}
],
"meta": {
"page": 1,
"per_page": 50,
"total": 137,
"has_more": false,
"request_id": "req_01HXYZ4K5ABCDEFGHJKLMNPQRS",
"timestamp": "2026-05-14T15:43:55.732Z",
"version": "1"
}
}{
"status": false,
"message": "Resource not found",
"code": "not_found",
"data": null,
"meta": {
"next_steps": {
"action": "Verify the resource identifier and retry.",
"docs_url": "https://docs.globalstack.io/errors#not_found"
},
"request_id": "req_01HXYZ4K5ABCDEFGHJKLMNPQRS",
"timestamp": "2026-05-14T15:43:55.732Z",
"version": "1"
}
}{
"status": false,
"message": "Resource not found",
"code": "not_found",
"data": null,
"meta": {
"next_steps": {
"action": "Verify the resource identifier and retry.",
"docs_url": "https://docs.globalstack.io/errors#not_found"
},
"request_id": "req_01HXYZ4K5ABCDEFGHJKLMNPQRS",
"timestamp": "2026-05-14T15:43:55.732Z",
"version": "1"
}
}Authorizations
API key issued during merchant onboarding.
Query Parameters
Response
Transactions fetched successfully