transactions #506
- accountId
- accounts/410
- kind
- withdrawal
- amount
- -1138.03
- currency
- GBP
- description
- Wire transfer sent
- status
- cancelled
- occurredAt
- createdAt
Overview
transactions / #506
#506
#506
Wire transfer sent
Request
curl example
curl -sS \ "https://example-data.com/api/v1/transactions/506" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/transactions/506" ); 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/506"
);
const transaction = (await res.json()) as Transaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/transactions/506"
)
transaction = res.json() Response
{
"id": 506,
"accountId": 410,
"kind": "withdrawal",
"amount": -1138.03,
"currency": "GBP",
"description": "Wire transfer sent",
"status": "cancelled",
"occurredAt": "2025-01-14T07:13:23.106Z",
"createdAt": "2025-01-14T07:14:04.146Z"
}