Personal Loan
- userId
-
Cayla Farrell @cayla_farrell
- name
- Personal Loan
- type
- loan
- balance
- -283570.18
- currency
- AUD
- isActive
- true
- createdAt
Overview
accounts / #8
Personal Loan
#8
Request
curl example
curl -sS \ "https://example-data.com/api/v1/accounts/8" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/accounts/8" ); 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/8"
);
const account = (await res.json()) as Account; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/accounts/8"
)
account = res.json() Response
{
"id": 8,
"userId": 4,
"name": "Personal Loan",
"type": "loan",
"balance": -283570.18,
"currency": "AUD",
"isActive": true,
"createdAt": "2025-09-24T15:30:45.091Z"
}