transactions #11
- accountId
- accounts/220
- kind
- deposit
- amount
- 3593.12
- currency
- GBP
- description
- Wire transfer received
- status
- pending
- occurredAt
- createdAt
Overview
transactions / #11
Request
curl example
curl -sS \ "https://example-data.com/api/v1/transactions/11" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/transactions/11" ); 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/11"
);
const transaction = (await res.json()) as Transaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/transactions/11"
)
transaction = res.json() Response
{
"id": 11,
"accountId": 220,
"kind": "deposit",
"amount": 3593.12,
"currency": "GBP",
"description": "Wire transfer received",
"status": "pending",
"occurredAt": "2025-04-11T03:43:50.600Z",
"createdAt": "2025-04-11T03:43:59.706Z"
}