transactions #612
- accountId
- accounts/148
- kind
- withdrawal
- amount
- -3621.48
- currency
- CAD
- description
- ATM withdrawal
- status
- completed
- occurredAt
- createdAt
Overview
transactions / #612
#612
#612
ATM withdrawal
Request
curl example
curl -sS \ "https://example-data.com/api/v1/transactions/612" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/transactions/612" ); 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/612"
);
const transaction = (await res.json()) as Transaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/transactions/612"
)
transaction = res.json() Response
{
"id": 612,
"accountId": 148,
"kind": "withdrawal",
"amount": -3621.48,
"currency": "CAD",
"description": "ATM withdrawal",
"status": "completed",
"occurredAt": "2025-04-07T09:48:06.294Z",
"createdAt": "2025-04-07T09:48:40.170Z"
}