example-data.com

accounts / #67

userId
Koby Pouros @koby_pouros60
name
Flexible Spending
type
other
balance
18.63
currency
CAD
isActive
true
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/accounts/67"
)
account = res.json()
{
  "id": 67,
  "userId": 34,
  "name": "Flexible Spending",
  "type": "other",
  "balance": 18.63,
  "currency": "CAD",
  "isActive": true,
  "createdAt": "2024-12-23T17:54:07.304Z"
}
Draftbit