example-data.com

transactions / #150

accountId
accounts/251
kind
transfer
amount
-4925.32
currency
CHF
description
Internal transfer
status
failed
occurredAt
createdAt

Component variants

Related

References

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

res = requests.get(
    "https://example-data.com/api/v1/transactions/150"
)
transaction = res.json()
{
  "id": 150,
  "accountId": 251,
  "kind": "transfer",
  "amount": -4925.32,
  "currency": "CHF",
  "description": "Internal transfer",
  "status": "failed",
  "occurredAt": "2025-06-03T11:18:40.143Z",
  "createdAt": "2025-06-03T11:19:03.056Z"
}
Draftbit