example-data.com

accounts / #286

userId
Kathleen Lynch @kathleen_lynch1
name
Primary Checking
type
checking
balance
7630.69
currency
JPY
isActive
false
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/accounts/286"
)
account = res.json()
{
  "id": 286,
  "userId": 139,
  "name": "Primary Checking",
  "type": "checking",
  "balance": 7630.69,
  "currency": "JPY",
  "isActive": false,
  "createdAt": "2024-05-29T12:13:37.893Z"
}
Draftbit