transactions / #187
- accountId
- accounts/149
- kind
- transfer
- amount
- -4405.97
- currency
- USD
- description
- Investment transfer
- status
- completed
- occurredAt
- createdAt
Component variants
Small
transactions/187 Related
References
curl -sS \
"https://example-data.com/api/v1/transactions/187" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/transactions/187"
);
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/187"
);
const transaction = (await res.json()) as Transaction;import requests
res = requests.get(
"https://example-data.com/api/v1/transactions/187"
)
transaction = res.json() {
"id": 187,
"accountId": 149,
"kind": "transfer",
"amount": -4405.97,
"currency": "USD",
"description": "Investment transfer",
"status": "completed",
"occurredAt": "2024-07-10T14:07:07.530Z",
"createdAt": "2024-07-10T14:07:37.098Z"
}