example-data.com

accounts / #241

userId
Jennifer Hoeger @jennifer.hoeger
name
Student Loan
type
loan
balance
-499545.49
currency
CNY
isActive
true
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/accounts/241"
)
account = res.json()
{
  "id": 241,
  "userId": 119,
  "name": "Student Loan",
  "type": "loan",
  "balance": -499545.49,
  "currency": "CNY",
  "isActive": true,
  "createdAt": "2024-06-16T16:19:45.682Z"
}
Draftbit