Get Transaction
curl --request GET \
--url https://api.fyatu.com/api/v3/account/transactions/{transactionId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fyatu.com/api/v3/account/transactions/{transactionId}"
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/account/transactions/{transactionId}', 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/transactions/{transactionId}",
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/account/transactions/{transactionId}"
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/account/transactions/{transactionId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fyatu.com/api/v3/account/transactions/{transactionId}")
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": "Transaction retrieved successfully",
"data": {
"transactionId": "FYB69F984AA38EFB",
"reference": "a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1",
"type": "DEBIT",
"category": "FUNDING",
"amount": 50,
"fee": 0.5,
"currency": "USD",
"status": "COMPLETED",
"description": "Card Funding - 515253******1234 (Alice Example)",
"createdAt": "2026-05-05T09:00:00Z",
"updatedAt": "2026-05-05T09:00:00Z"
},
"meta": {
"requestId": "req_7af4d2b8e91c35fa4b21890e",
"timestamp": "2026-05-05T09:00:00Z"
}
}{
"success": false,
"status": 401,
"message": "Unable to identify business",
"error": {
"code": "AUTH_TOKEN_INVALID"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2026-01-05T10:30:00+00:00"
}
}{
"success": false,
"status": 404,
"message": "Transaction not found",
"error": {
"code": "RESOURCE_NOT_FOUND"
}
}Account
Get Transaction
Get details of a specific business wallet transaction by ID — category, amount, fee, status, and description. GET /account/transactions/.
GET
/
account
/
transactions
/
{transactionId}
Get Transaction
curl --request GET \
--url https://api.fyatu.com/api/v3/account/transactions/{transactionId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fyatu.com/api/v3/account/transactions/{transactionId}"
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/account/transactions/{transactionId}', 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/transactions/{transactionId}",
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/account/transactions/{transactionId}"
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/account/transactions/{transactionId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fyatu.com/api/v3/account/transactions/{transactionId}")
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": "Transaction retrieved successfully",
"data": {
"transactionId": "FYB69F984AA38EFB",
"reference": "a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1",
"type": "DEBIT",
"category": "FUNDING",
"amount": 50,
"fee": 0.5,
"currency": "USD",
"status": "COMPLETED",
"description": "Card Funding - 515253******1234 (Alice Example)",
"createdAt": "2026-05-05T09:00:00Z",
"updatedAt": "2026-05-05T09:00:00Z"
},
"meta": {
"requestId": "req_7af4d2b8e91c35fa4b21890e",
"timestamp": "2026-05-05T09:00:00Z"
}
}{
"success": false,
"status": 401,
"message": "Unable to identify business",
"error": {
"code": "AUTH_TOKEN_INVALID"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2026-01-05T10:30:00+00:00"
}
}{
"success": false,
"status": 404,
"message": "Transaction not found",
"error": {
"code": "RESOURCE_NOT_FOUND"
}
}Overview
Retrieve details of a specific transaction from your business account by its transaction ID.Path Parameters
| Parameter | Type | Description |
|---|---|---|
transactionId | string | Transaction batch ID (e.g. FYB69F984AA38EFB, DEP69FE561280613) |
Response Fields
| Field | Type | Description |
|---|---|---|
transactionId | string | Unique transaction batch ID |
reference | string | Card ID, payment reference, or on-chain hash |
type | string | CREDIT or DEBIT |
category | string | DEPOSIT, WITHDRAW, ISSUANCE, FUNDING, UNLOADING, TERMINATION, TRANSFER, COLLECTION, PAYOUT, AIRTIME |
amount | number | Transaction amount |
fee | number | Fee charged |
currency | string | USD or USDT for crypto deposits |
status | string | PENDING, COMPLETED, FAILED, or PROCESSING |
description | string | Cardholder name, counterparty, or asset name |
createdAt | string | ISO 8601 timestamp |
updatedAt | string | ISO 8601 timestamp of last status change |
Example Usage
const response = await fetch('https://api.fyatu.com/api/v3/account/transactions/FYB69E67E1B227D5', {
headers: {
'Authorization': `Bearer ${accessToken}`
}
});
const { data } = await response.json();
console.log(`Transaction: ${data.transactionId}`);
console.log(`Type: ${data.type} (${data.category})`);
console.log(`Amount: $${data.amount}, Fee: $${data.fee}`);
console.log(`Status: ${data.status}`);
console.log(`Description: ${data.description}`);
Use Cases
- Verify a credit: Confirm a deposit or collection payment landed in your wallet
- Card funding confirmation: Verify that a card funding operation was settled
- Audit trail: Inspect fee and counterparty details for any transaction
Authorizations
JWT access token obtained from /auth/token
Path Parameters
Transaction ID (batch) or reference
⌘I

