example-data.com

accounts / #222

userId
Vida Kunde-Koepp @vida_kunde-koepp95
name
Petty Cash
type
other
balance
4560.96
currency
CAD
isActive
true
createdAt

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/accounts/222" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/accounts/222"
);
const account = await res.json();
import type { Account } from "https://example-data.com/types/accounts.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/accounts/222"
);
const account = (await res.json()) as Account;
import requests

res = requests.get(
    "https://example-data.com/api/v1/accounts/222"
)
account = res.json()
{
  "id": 222,
  "userId": 109,
  "name": "Petty Cash",
  "type": "other",
  "balance": 4560.96,
  "currency": "CAD",
  "isActive": true,
  "createdAt": "2025-04-02T10:03:35.573Z"
}
Draftbit