transactions / #51
- accountId
- accounts/357
- kind
- interest
- amount
- 4814.16
- currency
- AUD
- description
- Loan interest payment
- status
- pending
- occurredAt
- createdAt
Component variants
Small
transactions/51 Related
References
curl -sS \
"https://example-data.com/api/v1/transactions/51" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/transactions/51"
);
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/51"
);
const transaction = (await res.json()) as Transaction;import requests
res = requests.get(
"https://example-data.com/api/v1/transactions/51"
)
transaction = res.json() {
"id": 51,
"accountId": 357,
"kind": "interest",
"amount": 4814.16,
"currency": "AUD",
"description": "Loan interest payment",
"status": "pending",
"occurredAt": "2024-12-28T20:24:32.929Z",
"createdAt": "2024-12-28T20:24:56.579Z"
}