example-data.com

accounts / #30

userId
Casimir Smitham @casimir_smitham35
name
Travel Card
type
credit_card
balance
-6496.54
currency
CAD
isActive
true
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/accounts/30"
)
account = res.json()
{
  "id": 30,
  "userId": 16,
  "name": "Travel Card",
  "type": "credit_card",
  "balance": -6496.54,
  "currency": "CAD",
  "isActive": true,
  "createdAt": "2025-10-17T02:25:30.355Z"
}
Draftbit