transactions / #2
- accountId
- accounts/104
- kind
- fee
- amount
- -4413.37
- currency
- CAD
- description
- Monthly maintenance fee
- status
- pending
- occurredAt
- createdAt
Component variants
Small
transactions/2 Related
References
curl -sS \
"https://example-data.com/api/v1/transactions/2" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/transactions/2"
);
const transaction = await res.json();import type { Transaction } from "https://example-data.com/types/transactions.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/transactions/2"
);
const transaction = (await res.json()) as Transaction;import requests
res = requests.get(
"https://example-data.com/api/v1/transactions/2"
)
transaction = res.json() {
"id": 2,
"accountId": 104,
"kind": "fee",
"amount": -4413.37,
"currency": "CAD",
"description": "Monthly maintenance fee",
"status": "pending",
"occurredAt": "2025-08-06T06:18:19.136Z",
"createdAt": "2025-08-06T06:19:07.383Z"
}