List card transactions
curl --request GET \
--url https://api.fyatu.com/api/v3.20/cards/{id}/transactions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fyatu.com/api/v3.20/cards/{id}/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.fyatu.com/api/v3.20/cards/{id}/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.fyatu.com/api/v3.20/cards/{id}/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.fyatu.com/api/v3.20/cards/{id}/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.fyatu.com/api/v3.20/cards/{id}/transactions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fyatu.com/api/v3.20/cards/{id}/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{
"success": true,
"status": 200,
"message": "Card transactions retrieved",
"data": [
{
"transactionId": "hf_txn_01HXYZ1234ABCDEF0001",
"cardId": "crd_01HXYZ5555ABCDEF1111",
"type": "PURCHASE",
"status": "SETTLED",
"amount": 12.5,
"feeAmount": 0,
"currency": "USD",
"merchant": {
"name": "STARBUCKS #1234",
"id": "MER_STARBUCKS_001",
"city": "San Francisco",
"country": "US",
"mcc": "5812",
"mccCategory": "Eating Places, Restaurants"
},
"memo": "STARBUCKS #1234",
"isSettled": true,
"wasReversed": false,
"createdAt": "2026-05-25T14:32:00Z"
},
{
"transactionId": "hf_txn_01HXYZ1234ABCDEF0002",
"cardId": "crd_01HXYZ5555ABCDEF1111",
"type": "PURCHASE",
"status": "DECLINED",
"amount": 250,
"feeAmount": 0,
"currency": "USD",
"merchant": {
"name": "AMAZON.COM",
"id": "MER_AMAZON_001",
"city": "Seattle",
"country": "US",
"mcc": "5999",
"mccCategory": "Miscellaneous Retail Stores"
},
"memo": "AMAZON.COM",
"isSettled": false,
"wasReversed": false,
"createdAt": "2026-05-24T09:10:00Z"
}
],
"pagination": {
"total": 47,
"limit": 20,
"offset": 0,
"hasMore": true
},
"meta": {
"requestId": "req_a1b2c3d4e5f6a7b8c9d0e1f2",
"platform": "Fyatu CaaS",
"timestamp": "2026-05-26T10:00:00Z"
}
}
Cards
Card Transactions
List transaction history for a specific card. GET /cards//transactions. Requires cards:read scope.
GET
/
cards
/
{id}
/
transactions
List card transactions
curl --request GET \
--url https://api.fyatu.com/api/v3.20/cards/{id}/transactions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fyatu.com/api/v3.20/cards/{id}/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.fyatu.com/api/v3.20/cards/{id}/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.fyatu.com/api/v3.20/cards/{id}/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.fyatu.com/api/v3.20/cards/{id}/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.fyatu.com/api/v3.20/cards/{id}/transactions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fyatu.com/api/v3.20/cards/{id}/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{
"success": true,
"status": 200,
"message": "Card transactions retrieved",
"data": [
{
"transactionId": "hf_txn_01HXYZ1234ABCDEF0001",
"cardId": "crd_01HXYZ5555ABCDEF1111",
"type": "PURCHASE",
"status": "SETTLED",
"amount": 12.5,
"feeAmount": 0,
"currency": "USD",
"merchant": {
"name": "STARBUCKS #1234",
"id": "MER_STARBUCKS_001",
"city": "San Francisco",
"country": "US",
"mcc": "5812",
"mccCategory": "Eating Places, Restaurants"
},
"memo": "STARBUCKS #1234",
"isSettled": true,
"wasReversed": false,
"createdAt": "2026-05-25T14:32:00Z"
},
{
"transactionId": "hf_txn_01HXYZ1234ABCDEF0002",
"cardId": "crd_01HXYZ5555ABCDEF1111",
"type": "PURCHASE",
"status": "DECLINED",
"amount": 250,
"feeAmount": 0,
"currency": "USD",
"merchant": {
"name": "AMAZON.COM",
"id": "MER_AMAZON_001",
"city": "Seattle",
"country": "US",
"mcc": "5999",
"mccCategory": "Miscellaneous Retail Stores"
},
"memo": "AMAZON.COM",
"isSettled": false,
"wasReversed": false,
"createdAt": "2026-05-24T09:10:00Z"
}
],
"pagination": {
"total": 47,
"limit": 20,
"offset": 0,
"hasMore": true
},
"meta": {
"requestId": "req_a1b2c3d4e5f6a7b8c9d0e1f2",
"platform": "Fyatu CaaS",
"timestamp": "2026-05-26T10:00:00Z"
}
}
Overview
Returns a paginated list of card-level transactions sourced directly from the card network. This includes purchases, declines, refunds, reversals, and fees — everything that moved money on the physical card.These are card-to-merchant transactions, not program ledger movements. For deposits, withdrawals, and card funding/unload events, use
GET /transactions instead.Path Parameters
| Parameter | Type | Description |
|---|---|---|
id | string | The card ID (prefix crd_) |
Query Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
page | integer | 1 | Page number (1-based) |
limit | integer | 20 | Results per page (max: 100) |
Transaction Object
| Field | Type | Description |
|---|---|---|
transactionId | string | Unique transaction identifier from the card network |
cardId | string | The card ID this transaction belongs to |
type | string | Transaction type (e.g. PURCHASE, REFUND, FEE) |
status | string | SETTLED, PENDING, DECLINED, REVERSED |
amount | number | Transaction amount in card currency |
feeAmount | number | Network fee charged (if any) |
currency | string | Transaction currency (e.g. USD) |
merchant | object | Merchant details — present for purchase transactions |
merchant.name | string | Merchant name |
merchant.id | string | Merchant ID at the network |
merchant.city | string | Merchant city |
merchant.country | string | Merchant country code |
merchant.mcc | string | Merchant Category Code |
merchant.mccCategory | string | Human-readable MCC description |
memo | string | Transaction memo or description |
isSettled | boolean | Whether the transaction has cleared |
wasReversed | boolean | Whether the transaction was reversed |
createdAt | string | Transaction timestamp (ISO 8601) |
Example
curl https://api.fyatu.com/api/v3.20/cards/crd_01HXYZ5555ABCDEF1111/transactions \
-H "Authorization: Bearer $FYATU_API_KEY"
const resp = await fetch(
'https://api.fyatu.com/api/v3.20/cards/crd_01HXYZ5555ABCDEF1111/transactions?page=1&limit=20',
{ headers: { 'Authorization': `Bearer ${process.env.FYATU_API_KEY}` } }
);
const body = await resp.json();
body.data.forEach(txn => {
console.log(`${txn.merchant?.name ?? txn.memo}: $${txn.amount} (${txn.status})`);
});
import os, requests
resp = requests.get(
'https://api.fyatu.com/api/v3.20/cards/crd_01HXYZ5555ABCDEF1111/transactions',
params={'page': 1, 'limit': 20},
headers={'Authorization': f'Bearer {os.environ["FYATU_API_KEY"]}'}
)
for txn in resp.json()['data']:
merchant = txn.get('merchant', {})
print(f"{merchant.get('name', txn['memo'])}: ${txn['amount']} ({txn['status']})")
Success Response (200)
{
"success": true,
"status": 200,
"message": "Card transactions retrieved",
"data": [
{
"transactionId": "hf_txn_01HXYZ1234ABCDEF0001",
"cardId": "crd_01HXYZ5555ABCDEF1111",
"type": "PURCHASE",
"status": "SETTLED",
"amount": 12.50,
"feeAmount": 0.00,
"currency": "USD",
"merchant": {
"name": "STARBUCKS #1234",
"id": "MER_STARBUCKS_001",
"city": "San Francisco",
"country": "US",
"mcc": "5812",
"mccCategory": "Eating Places, Restaurants"
},
"memo": "STARBUCKS #1234",
"isSettled": true,
"wasReversed": false,
"createdAt": "2026-05-25T14:32:00Z"
},
{
"transactionId": "hf_txn_01HXYZ1234ABCDEF0002",
"cardId": "crd_01HXYZ5555ABCDEF1111",
"type": "PURCHASE",
"status": "DECLINED",
"amount": 250.00,
"feeAmount": 0.00,
"currency": "USD",
"merchant": {
"name": "AMAZON.COM",
"id": "MER_AMAZON_001",
"city": "Seattle",
"country": "US",
"mcc": "5999",
"mccCategory": "Miscellaneous Retail Stores"
},
"memo": "AMAZON.COM",
"isSettled": false,
"wasReversed": false,
"createdAt": "2026-05-24T09:10:00Z"
}
],
"pagination": {
"total": 47,
"limit": 20,
"offset": 0,
"hasMore": true
},
"meta": {
"requestId": "req_01HXY123456ABCDEF",
"platform": "Fyatu CaaS",
"timestamp": "2026-05-26T10:00:00Z"
}
}
If the card has not yet been fully provisioned by the card network, the
data array will be empty and pagination.total will be 0.Error Codes
| Code | HTTP | Cause |
|---|---|---|
CARD_NOT_FOUND | 404 | Card does not exist or belongs to another business/environment |
PROVIDER_ERROR | 500 | Card network unavailable — retry with exponential back-off |
INSUFFICIENT_SCOPE | 403 | Key lacks cards:read scope |
Authorizations
API key from the FYATU CaaS portal. Pass as Authorization: Bearer <key>.
Path Parameters
Query Parameters
Page number (1-based)
Required range:
x >= 1Results per page
Required range:
1 <= x <= 100⌘I

