example-data.com

accounts / #178

userId
Mazie Douglas @mazie_douglas
name
Cash Back Card
type
credit_card
balance
-5293.54
currency
JPY
isActive
true
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/accounts/178"
)
account = res.json()
{
  "id": 178,
  "userId": 89,
  "name": "Cash Back Card",
  "type": "credit_card",
  "balance": -5293.54,
  "currency": "JPY",
  "isActive": true,
  "createdAt": "2025-01-14T16:10:16.182Z"
}
Draftbit