example-data.com

accounts / #496

userId
Lawrence Rogahn @lawrence_rogahn33
name
Cash Back Card
type
credit_card
balance
211.48
currency
JPY
isActive
true
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/accounts/496"
)
account = res.json()
{
  "id": 496,
  "userId": 245,
  "name": "Cash Back Card",
  "type": "credit_card",
  "balance": 211.48,
  "currency": "JPY",
  "isActive": true,
  "createdAt": "2024-07-19T20:41:33.167Z"
}
Draftbit