transactions / #21
- accountId
- accounts/60
- kind
- payment
- amount
- -2720.12
- currency
- GBP
- description
- Utility bill payment
- status
- completed
- occurredAt
- createdAt
Component variants
Medium
#21
#21
Utility bill payment
Small
transactions/21 Related
References
curl -sS \
"https://example-data.com/api/v1/transactions/21" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/transactions/21"
);
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/21"
);
const transaction = (await res.json()) as Transaction;import requests
res = requests.get(
"https://example-data.com/api/v1/transactions/21"
)
transaction = res.json() {
"id": 21,
"accountId": 60,
"kind": "payment",
"amount": -2720.12,
"currency": "GBP",
"description": "Utility bill payment",
"status": "completed",
"occurredAt": "2025-05-08T00:16:53.057Z",
"createdAt": "2025-05-08T00:17:32.315Z"
}