transactions / #87
- accountId
- accounts/143
- kind
- payment
- amount
- -587.25
- currency
- CHF
- description
- Rent payment
- status
- cancelled
- occurredAt
- createdAt
Component variants
Medium
#87
#87
Rent payment
Small
transactions/87 Related
References
curl -sS \
"https://example-data.com/api/v1/transactions/87" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/transactions/87"
);
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/87"
);
const transaction = (await res.json()) as Transaction;import requests
res = requests.get(
"https://example-data.com/api/v1/transactions/87"
)
transaction = res.json() {
"id": 87,
"accountId": 143,
"kind": "payment",
"amount": -587.25,
"currency": "CHF",
"description": "Rent payment",
"status": "cancelled",
"occurredAt": "2024-09-06T19:40:09.912Z",
"createdAt": "2024-09-06T19:40:14.879Z"
}