example-data.com

transactions / #196

accountId
accounts/210
kind
interest
amount
-446.37
currency
CAD
description
Loan interest payment
status
failed
occurredAt
createdAt

Component variants

Related

References

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

res = requests.get(
    "https://example-data.com/api/v1/transactions/196"
)
transaction = res.json()
{
  "id": 196,
  "accountId": 210,
  "kind": "interest",
  "amount": -446.37,
  "currency": "CAD",
  "description": "Loan interest payment",
  "status": "failed",
  "occurredAt": "2025-09-06T16:21:50.927Z",
  "createdAt": "2025-09-06T16:22:02.218Z"
}
Draftbit