example-data.com

transactions / #172

accountId
accounts/367
kind
payment
amount
-2026.12
currency
CHF
description
Mortgage payment
status
cancelled
occurredAt
createdAt

Component variants

Related

References

curl -sS \
  "https://example-data.com/api/v1/transactions/172" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/transactions/172"
);
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/172"
);
const transaction = (await res.json()) as Transaction;
import requests

res = requests.get(
    "https://example-data.com/api/v1/transactions/172"
)
transaction = res.json()
{
  "id": 172,
  "accountId": 367,
  "kind": "payment",
  "amount": -2026.12,
  "currency": "CHF",
  "description": "Mortgage payment",
  "status": "cancelled",
  "occurredAt": "2025-05-24T03:11:00.237Z",
  "createdAt": "2025-05-24T03:11:54.912Z"
}
Draftbit