transactions #1941
- accountId
- accounts/199
- kind
- withdrawal
- amount
- -3067.91
- currency
- JPY
- description
- Bank transfer out
- status
- cancelled
- occurredAt
- createdAt
Overview
transactions / #1941
Request
curl example
curl -sS \ "https://example-data.com/api/v1/transactions/1941" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/transactions/1941" ); 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/1941"
);
const transaction = (await res.json()) as Transaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/transactions/1941"
)
transaction = res.json() Response
{
"id": 1941,
"accountId": 199,
"kind": "withdrawal",
"amount": -3067.91,
"currency": "JPY",
"description": "Bank transfer out",
"status": "cancelled",
"occurredAt": "2025-03-17T23:49:40.655Z",
"createdAt": "2025-03-17T23:50:23.098Z"
}