transactions #1475
- accountId
- accounts/331
- kind
- interest
- amount
- 6495.31
- currency
- USD
- description
- Interest charge
- status
- completed
- occurredAt
- createdAt
Overview
transactions / #1475
#1475
#1475
Interest charge
Request
curl example
curl -sS \ "https://example-data.com/api/v1/transactions/1475" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/transactions/1475" ); const transaction = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/transactions.d.ts https://example-data.com/types/transactions.d.ts
import type { Transaction } from "./types/transactions";
const res = await fetch(
"https://example-data.com/api/v1/transactions/1475"
);
const transaction = (await res.json()) as Transaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/transactions/1475"
)
transaction = res.json() Response
{
"id": 1475,
"accountId": 331,
"kind": "interest",
"amount": 6495.31,
"currency": "USD",
"description": "Interest charge",
"status": "completed",
"occurredAt": "2025-12-07T05:45:53.604Z",
"createdAt": "2025-12-07T05:46:42.565Z"
}