example-data.com

accounts / #279

userId
April Kihn @april.kihn55
name
Roth IRA
type
investment
balance
157239.53
currency
USD
isActive
true
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/accounts/279"
)
account = res.json()
{
  "id": 279,
  "userId": 137,
  "name": "Roth IRA",
  "type": "investment",
  "balance": 157239.53,
  "currency": "USD",
  "isActive": true,
  "createdAt": "2024-12-19T03:29:21.185Z"
}
Draftbit