example-data.com

transactions / #193

accountId
accounts/451
kind
payment
amount
-383.44
currency
CAD
description
Loan payment
status
failed
occurredAt
createdAt

Component variants

Related

References

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

res = requests.get(
    "https://example-data.com/api/v1/transactions/193"
)
transaction = res.json()
{
  "id": 193,
  "accountId": 451,
  "kind": "payment",
  "amount": -383.44,
  "currency": "CAD",
  "description": "Loan payment",
  "status": "failed",
  "occurredAt": "2025-07-05T07:55:46.684Z",
  "createdAt": "2025-07-05T07:56:23.686Z"
}
Draftbit