accounts / #154
- userId
-
Jesse Kiehn @jesse_kiehn92
- name
- Rewards Card
- type
- credit_card
- balance
- -2354.74
- currency
- AUD
- isActive
- true
- createdAt
Component variants
Medium
Rewards Card
#154
Small
accounts/154 Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/accounts/154" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/accounts/154"
);
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/154"
);
const account = (await res.json()) as Account;import requests
res = requests.get(
"https://example-data.com/api/v1/accounts/154"
)
account = res.json() {
"id": 154,
"userId": 76,
"name": "Rewards Card",
"type": "credit_card",
"balance": -2354.74,
"currency": "AUD",
"isActive": true,
"createdAt": "2024-10-29T10:41:42.633Z"
}