example-data.com

accounts / #78

userId
Margaretta Barrows @margaretta_barrows41
name
401(k)
type
investment
balance
44843.97
currency
USD
isActive
false
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/accounts/78"
)
account = res.json()
{
  "id": 78,
  "userId": 39,
  "name": "401(k)",
  "type": "investment",
  "balance": 44843.97,
  "currency": "USD",
  "isActive": false,
  "createdAt": "2024-07-29T03:19:23.250Z"
}
Draftbit