example-data.com

transactions / #100

accountId
accounts/496
kind
withdrawal
amount
-156.91
currency
JPY
description
ATM withdrawal
status
failed
occurredAt
createdAt

Component variants

Related

References

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

res = requests.get(
    "https://example-data.com/api/v1/transactions/100"
)
transaction = res.json()
{
  "id": 100,
  "accountId": 496,
  "kind": "withdrawal",
  "amount": -156.91,
  "currency": "JPY",
  "description": "ATM withdrawal",
  "status": "failed",
  "occurredAt": "2026-03-27T00:08:45.027Z",
  "createdAt": "2026-03-27T00:09:30.122Z"
}
Draftbit