transactions / #33
- accountId
- accounts/296
- kind
- payment
- amount
- -2350
- currency
- CAD
- description
- Phone bill
- status
- completed
- occurredAt
- createdAt
Component variants
Medium
#33
#33
Phone bill
Small
transactions/33 Related
References
curl -sS \
"https://example-data.com/api/v1/transactions/33" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/transactions/33"
);
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/33"
);
const transaction = (await res.json()) as Transaction;import requests
res = requests.get(
"https://example-data.com/api/v1/transactions/33"
)
transaction = res.json() {
"id": 33,
"accountId": 296,
"kind": "payment",
"amount": -2350,
"currency": "CAD",
"description": "Phone bill",
"status": "completed",
"occurredAt": "2024-10-21T02:49:59.059Z",
"createdAt": "2024-10-21T02:50:38.043Z"
}