transactions #1780
- accountId
- accounts/209
- kind
- deposit
- amount
- 6665.69
- currency
- CAD
- description
- Payroll deposit
- status
- pending
- occurredAt
- createdAt
Overview
transactions / #1780
#1780
#1780
Payroll deposit
Request
curl example
curl -sS \ "https://example-data.com/api/v1/transactions/1780" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/transactions/1780" ); 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/1780"
);
const transaction = (await res.json()) as Transaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/transactions/1780"
)
transaction = res.json() Response
{
"id": 1780,
"accountId": 209,
"kind": "deposit",
"amount": 6665.69,
"currency": "CAD",
"description": "Payroll deposit",
"status": "pending",
"occurredAt": "2025-06-08T22:55:40.868Z",
"createdAt": "2025-06-08T22:56:15.918Z"
}