accounts / #489
- userId
-
Oma Franecki-Johnson @oma.franecki-johnson
- name
- Rewards Card
- type
- credit_card
- balance
- -1251.59
- currency
- CAD
- isActive
- true
- createdAt
Component variants
Medium
Rewards Card
#489
Small
accounts/489 Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/accounts/489" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/accounts/489"
);
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/489"
);
const account = (await res.json()) as Account;import requests
res = requests.get(
"https://example-data.com/api/v1/accounts/489"
)
account = res.json() {
"id": 489,
"userId": 242,
"name": "Rewards Card",
"type": "credit_card",
"balance": -1251.59,
"currency": "CAD",
"isActive": true,
"createdAt": "2024-08-02T23:23:09.381Z"
}