High-Yield Savings
- userId
-
Clementine Nicolas @clementine_nicolas
- name
- High-Yield Savings
- type
- savings
- balance
- 11044.05
- currency
- AUD
- isActive
- true
- createdAt
Overview
accounts / #336
High-Yield Savings
#336
Request
curl example
curl -sS \ "https://example-data.com/api/v1/accounts/336" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/accounts/336" ); const account = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/accounts.d.ts https://example-data.com/types/accounts.d.ts
import type { Account } from "./types/accounts";
const res = await fetch(
"https://example-data.com/api/v1/accounts/336"
);
const account = (await res.json()) as Account; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/accounts/336"
)
account = res.json() Response
{
"id": 336,
"userId": 164,
"name": "High-Yield Savings",
"type": "savings",
"balance": 11044.05,
"currency": "AUD",
"isActive": true,
"createdAt": "2024-12-29T22:21:43.899Z"
}