accounts / #217
- userId
-
Elva Roberts @elva.roberts48
- name
- Travel Card
- type
- credit_card
- balance
- 134.23
- currency
- GBP
- isActive
- true
- createdAt
Component variants
Medium
Travel Card
#217
Small
accounts/217 Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/accounts/217" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/accounts/217"
);
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/217"
);
const account = (await res.json()) as Account;import requests
res = requests.get(
"https://example-data.com/api/v1/accounts/217"
)
account = res.json() {
"id": 217,
"userId": 107,
"name": "Travel Card",
"type": "credit_card",
"balance": 134.23,
"currency": "GBP",
"isActive": true,
"createdAt": "2024-06-04T15:32:02.525Z"
}