example-data.com

transactions / #98

accountId
accounts/416
kind
payment
amount
-2736.17
currency
JPY
description
Rent payment
status
completed
occurredAt
createdAt

Component variants

Related

References

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

res = requests.get(
    "https://example-data.com/api/v1/transactions/98"
)
transaction = res.json()
{
  "id": 98,
  "accountId": 416,
  "kind": "payment",
  "amount": -2736.17,
  "currency": "JPY",
  "description": "Rent payment",
  "status": "completed",
  "occurredAt": "2026-04-28T09:26:42.838Z",
  "createdAt": "2026-04-28T09:27:40.406Z"
}
Draftbit