Get a transaction
Account
Transaction Details
Retrieve full details for a single program-balance transaction by ID. GET /transactions/. Requires accounts:read scope.
GET
Get a transaction
Overview
Returns the full details of a single program-balance transaction, including the balance snapshot before and after the movement and any linked card details.Path Parameters
| Parameter | Type | Description |
|---|---|---|
id | string | The transaction ID (prefix txn_) |
Example
Success Response (200)
Field Reference
| Field | Description |
|---|---|
transactionId | Unique transaction identifier |
type | Movement type — see List Transactions for all values |
direction | CREDIT (funds in) or DEBIT (funds out) |
status | PENDING, SETTLED, FAILED, or REVERSED |
amount | Transaction amount in USD |
currency | Always USD |
fee | Fee in USD applied to this transaction (0 when no fee) |
reference | Internal reference ID linking to the originating operation |
account | Program ID associated with this movement |
memo | Human-readable description of the transaction |
balanceBefore | Operational balance in USD before this transaction; null if not recorded |
balanceAfter | Operational balance in USD after this transaction; null if not recorded |
relatedTransactionId | For reversals, the ID of the original transaction; null otherwise |
completedAt | ISO 8601 timestamp when the transaction settled; empty string if still pending |
cardId | Card ID if the movement is card-related; null otherwise |
Error Codes
| Code | HTTP | Cause |
|---|---|---|
TRANSACTION_NOT_FOUND | 404 | Transaction does not exist or belongs to another business/environment |
INSUFFICIENT_SCOPE | 403 | Key lacks accounts:read scope |
Authorizations
API key from the FYATU CaaS portal. Pass as Authorization: Bearer <key>.

