example-data.com

accounts / #192

userId
Esperanza Casper @esperanza_casper
name
Gift Card Balance
type
other
balance
6046.72
currency
USD
isActive
true
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/accounts/192"
)
account = res.json()
{
  "id": 192,
  "userId": 97,
  "name": "Gift Card Balance",
  "type": "other",
  "balance": 6046.72,
  "currency": "USD",
  "isActive": true,
  "createdAt": "2025-03-11T08:27:14.178Z"
}
Draftbit