accounts / #123
- userId
-
Jarrell Flatley @jarrell_flatley39
- name
- Primary Checking
- type
- checking
- balance
- 5550.59
- currency
- AUD
- isActive
- true
- createdAt
Component variants
Medium
Primary Checking
#123
Small
accounts/123 Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/accounts/123" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/accounts/123"
);
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/123"
);
const account = (await res.json()) as Account;import requests
res = requests.get(
"https://example-data.com/api/v1/accounts/123"
)
account = res.json() {
"id": 123,
"userId": 61,
"name": "Primary Checking",
"type": "checking",
"balance": 5550.59,
"currency": "AUD",
"isActive": true,
"createdAt": "2024-09-08T18:23:23.047Z"
}