transactions / #125
- accountId
- accounts/192
- kind
- payment
- amount
- -4713.76
- currency
- USD
- description
- Phone bill
- status
- cancelled
- occurredAt
- createdAt
Component variants
Medium
#125
#125
Phone bill
Small
transactions/125 Related
References
curl -sS \
"https://example-data.com/api/v1/transactions/125" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/transactions/125"
);
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/125"
);
const transaction = (await res.json()) as Transaction;import requests
res = requests.get(
"https://example-data.com/api/v1/transactions/125"
)
transaction = res.json() {
"id": 125,
"accountId": 192,
"kind": "payment",
"amount": -4713.76,
"currency": "USD",
"description": "Phone bill",
"status": "cancelled",
"occurredAt": "2025-03-21T16:45:09.666Z",
"createdAt": "2025-03-21T16:45:53.778Z"
}