transactions #128
- accountId
- accounts/371
- kind
- withdrawal
- amount
- -4592.47
- currency
- JPY
- description
- Wire transfer sent
- status
- completed
- occurredAt
- createdAt
Overview
transactions / #128
#128
#128
Wire transfer sent
Request
curl example
curl -sS \ "https://example-data.com/api/v1/transactions/128" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/transactions/128" ); 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/128"
);
const transaction = (await res.json()) as Transaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/transactions/128"
)
transaction = res.json() Response
{
"id": 128,
"accountId": 371,
"kind": "withdrawal",
"amount": -4592.47,
"currency": "JPY",
"description": "Wire transfer sent",
"status": "completed",
"occurredAt": "2024-12-17T21:31:49.653Z",
"createdAt": "2024-12-17T21:32:03.554Z"
}