example-data.com

accounts / #8

userId
Cayla Farrell @cayla_farrell
name
Personal Loan
type
loan
balance
-283570.18
currency
AUD
isActive
true
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/accounts/8"
)
account = res.json()
{
  "id": 8,
  "userId": 4,
  "name": "Personal Loan",
  "type": "loan",
  "balance": -283570.18,
  "currency": "AUD",
  "isActive": true,
  "createdAt": "2025-09-24T15:30:45.091Z"
}
Draftbit