example-data.com

accounts / #166

userId
Hortense Cruickshank @hortense.cruickshank65
name
Retirement Savings
type
savings
balance
7030.38
currency
USD
isActive
true
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/accounts/166"
)
account = res.json()
{
  "id": 166,
  "userId": 83,
  "name": "Retirement Savings",
  "type": "savings",
  "balance": 7030.38,
  "currency": "USD",
  "isActive": true,
  "createdAt": "2024-07-02T15:27:05.730Z"
}
Draftbit