transactions #887
- accountId
- accounts/153
- kind
- withdrawal
- amount
- -705.23
- currency
- CHF
- description
- ATM withdrawal
- status
- pending
- occurredAt
- createdAt
Overview
transactions / #887
#887
#887
ATM withdrawal
Request
curl example
curl -sS \ "https://example-data.com/api/v1/transactions/887" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/transactions/887" ); 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/887"
);
const transaction = (await res.json()) as Transaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/transactions/887"
)
transaction = res.json() Response
{
"id": 887,
"accountId": 153,
"kind": "withdrawal",
"amount": -705.23,
"currency": "CHF",
"description": "ATM withdrawal",
"status": "pending",
"occurredAt": "2025-04-09T06:20:42.640Z",
"createdAt": "2025-04-09T06:20:46.961Z"
}