Get a transaction
Get Transaction
Retrieve full details for a single transaction by ID. GET /transactions/. Requires transactions:read scope.
GET
Get a transaction
Documentation Index
Fetch the complete documentation index at: https://docs.fyatu.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Returns the full details of a single card transaction, including merchant data, billing amounts, and related transaction references (e.g. the original authorization that a reversal or refund relates to).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 | AUTHORIZATION, CLEARING, REVERSAL, REFUND, DECLINE, or FEE |
status | PENDING, CLEARED, REVERSED, or DECLINED |
amount.value | Amount in cents |
amount.currency | ISO 4217 currency code |
amount.displayValue | Human-readable amount (e.g. 29.99) |
merchant | Merchant details — present for purchases and declines; absent for fees/reversals |
merchant.mcc | ISO 18245 Merchant Category Code |
relatedTransactionId | For reversals/refunds, the ID of the original transaction; null otherwise |
declineReason | Present on DECLINE transactions — reason the transaction was declined; null otherwise |
processedAt | When the transaction was settled/processed; null if still pending |
Error Codes
| Code | HTTP | Cause |
|---|---|---|
TRANSACTION_NOT_FOUND | 404 | Transaction does not exist or belongs to another business/environment |
INSUFFICIENT_SCOPE | 403 | Key lacks transactions:read scope |
Authorizations
API key from the FYATU CaaS portal. Pass as Authorization: Bearer <key>.

