example-data.com

accounts / #143

userId
Florencio Mohr @florencio_mohr
name
Personal Loan
type
loan
balance
-435132.18
currency
CHF
isActive
true
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/accounts/143"
)
account = res.json()
{
  "id": 143,
  "userId": 71,
  "name": "Personal Loan",
  "type": "loan",
  "balance": -435132.18,
  "currency": "CHF",
  "isActive": true,
  "createdAt": "2025-02-17T09:46:49.644Z"
}
Draftbit