example-data.com

accounts / #41

userId
Guy Christiansen @guy.christiansen40
name
Joint Checking
type
checking
balance
165.77
currency
CNY
isActive
false
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/accounts/41"
)
account = res.json()
{
  "id": 41,
  "userId": 21,
  "name": "Joint Checking",
  "type": "checking",
  "balance": 165.77,
  "currency": "CNY",
  "isActive": false,
  "createdAt": "2024-10-05T22:44:21.669Z"
}
Draftbit