transactions #2438
- accountId
- accounts/338
- kind
- fee
- amount
- -3538.39
- currency
- CNY
- description
- Foreign transaction fee
- status
- cancelled
- occurredAt
- createdAt
Overview
transactions / #2438
Request
curl example
curl -sS \ "https://example-data.com/api/v1/transactions/2438" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/transactions/2438" ); 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/2438"
);
const transaction = (await res.json()) as Transaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/transactions/2438"
)
transaction = res.json() Response
{
"id": 2438,
"accountId": 338,
"kind": "fee",
"amount": -3538.39,
"currency": "CNY",
"description": "Foreign transaction fee",
"status": "cancelled",
"occurredAt": "2025-07-24T07:12:06.566Z",
"createdAt": "2025-07-24T07:12:16.197Z"
}