example-data.com

accounts / #407

userId
Mathilde Ziemann-Nienow @mathilde.ziemann-nienow6
name
Roth IRA
type
investment
balance
201839.52
currency
CHF
isActive
true
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/accounts/407"
)
account = res.json()
{
  "id": 407,
  "userId": 202,
  "name": "Roth IRA",
  "type": "investment",
  "balance": 201839.52,
  "currency": "CHF",
  "isActive": true,
  "createdAt": "2024-10-05T06:13:17.539Z"
}
Draftbit