example-data.com

accounts / #490

userId
Oma Franecki-Johnson @oma.franecki-johnson
name
Travel Card
type
credit_card
balance
-3982.52
currency
CAD
isActive
true
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/accounts/490"
)
account = res.json()
{
  "id": 490,
  "userId": 242,
  "name": "Travel Card",
  "type": "credit_card",
  "balance": -3982.52,
  "currency": "CAD",
  "isActive": true,
  "createdAt": "2024-08-22T15:55:37.910Z"
}
Draftbit