transactions / #82
- accountId
- accounts/125
- kind
- payment
- amount
- -2520.48
- currency
- GBP
- description
- Utility bill payment
- status
- completed
- occurredAt
- createdAt
Component variants
Medium
#82
#82
Utility bill payment
Small
transactions/82 Related
References
curl -sS \
"https://example-data.com/api/v1/transactions/82" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/transactions/82"
);
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/82"
);
const transaction = (await res.json()) as Transaction;import requests
res = requests.get(
"https://example-data.com/api/v1/transactions/82"
)
transaction = res.json() {
"id": 82,
"accountId": 125,
"kind": "payment",
"amount": -2520.48,
"currency": "GBP",
"description": "Utility bill payment",
"status": "completed",
"occurredAt": "2024-05-26T20:19:57.425Z",
"createdAt": "2024-05-26T20:20:50.520Z"
}