transactions / #169
- accountId
- accounts/166
- kind
- interest
- amount
- 1870.9
- currency
- USD
- description
- Loan interest payment
- status
- failed
- occurredAt
- createdAt
Component variants
Small
transactions/169 Related
References
curl -sS \
"https://example-data.com/api/v1/transactions/169" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/transactions/169"
);
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/169"
);
const transaction = (await res.json()) as Transaction;import requests
res = requests.get(
"https://example-data.com/api/v1/transactions/169"
)
transaction = res.json() {
"id": 169,
"accountId": 166,
"kind": "interest",
"amount": 1870.9,
"currency": "USD",
"description": "Loan interest payment",
"status": "failed",
"occurredAt": "2024-05-31T09:56:49.844Z",
"createdAt": "2024-05-31T09:57:18.012Z"
}