example-data.com

accounts / #215

userId
Elva Roberts @elva.roberts48
name
Student Loan
type
loan
balance
-349032.57
currency
EUR
isActive
false
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/accounts/215"
)
account = res.json()
{
  "id": 215,
  "userId": 107,
  "name": "Student Loan",
  "type": "loan",
  "balance": -349032.57,
  "currency": "EUR",
  "isActive": false,
  "createdAt": "2025-01-15T23:19:17.480Z"
}
Draftbit