accounts / #45
- userId
-
Ericka DuBuque @ericka.dubuque
- name
- Main Checking
- type
- checking
- balance
- 2168.9
- currency
- CAD
- isActive
- true
- createdAt
Component variants
Medium
Main Checking
#45
Small
accounts/45 Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/accounts/45" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/accounts/45"
);
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/45"
);
const account = (await res.json()) as Account;import requests
res = requests.get(
"https://example-data.com/api/v1/accounts/45"
)
account = res.json() {
"id": 45,
"userId": 23,
"name": "Main Checking",
"type": "checking",
"balance": 2168.9,
"currency": "CAD",
"isActive": true,
"createdAt": "2024-07-26T18:30:00.849Z"
}