accounts / #145
- userId
-
Ryan Conroy @ryan_conroy
- name
- Cash Back Card
- type
- credit_card
- balance
- -3200.18
- currency
- CNY
- isActive
- true
- createdAt
Component variants
Medium
Cash Back Card
#145
Small
accounts/145 Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/accounts/145" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/accounts/145"
);
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/145"
);
const account = (await res.json()) as Account;import requests
res = requests.get(
"https://example-data.com/api/v1/accounts/145"
)
account = res.json() {
"id": 145,
"userId": 73,
"name": "Cash Back Card",
"type": "credit_card",
"balance": -3200.18,
"currency": "CNY",
"isActive": true,
"createdAt": "2025-01-27T20:38:21.516Z"
}