transactions #1712
- accountId
- accounts/457
- kind
- deposit
- amount
- 9792.01
- currency
- CHF
- description
- Payroll deposit
- status
- cancelled
- occurredAt
- createdAt
Overview
transactions / #1712
#1712
#1712
Payroll deposit
Request
curl example
curl -sS \ "https://example-data.com/api/v1/transactions/1712" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/transactions/1712" ); 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/1712"
);
const transaction = (await res.json()) as Transaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/transactions/1712"
)
transaction = res.json() Response
{
"id": 1712,
"accountId": 457,
"kind": "deposit",
"amount": 9792.01,
"currency": "CHF",
"description": "Payroll deposit",
"status": "cancelled",
"occurredAt": "2025-08-02T17:16:38.724Z",
"createdAt": "2025-08-02T17:16:44.351Z"
}