transactions #1267
- accountId
- accounts/178
- kind
- deposit
- amount
- 2333.25
- currency
- JPY
- description
- Payroll deposit
- status
- cancelled
- occurredAt
- createdAt
Overview
transactions / #1267
#1267
#1267
Payroll deposit
Request
curl example
curl -sS \ "https://example-data.com/api/v1/transactions/1267" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/transactions/1267" ); 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/1267"
);
const transaction = (await res.json()) as Transaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/transactions/1267"
)
transaction = res.json() Response
{
"id": 1267,
"accountId": 178,
"kind": "deposit",
"amount": 2333.25,
"currency": "JPY",
"description": "Payroll deposit",
"status": "cancelled",
"occurredAt": "2026-02-15T01:17:17.506Z",
"createdAt": "2026-02-15T01:17:54.287Z"
}