example-data.com

accounts / #164

userId
Stephan Heller @stephan.heller
name
Joint Checking
type
checking
balance
936.82
currency
GBP
isActive
false
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/accounts/164"
)
account = res.json()
{
  "id": 164,
  "userId": 82,
  "name": "Joint Checking",
  "type": "checking",
  "balance": 936.82,
  "currency": "GBP",
  "isActive": false,
  "createdAt": "2024-08-13T03:27:41.873Z"
}
Draftbit