transactions #1085
- accountId
- accounts/291
- kind
- fee
- amount
- -4144.63
- currency
- USD
- description
- Late payment fee
- status
- failed
- occurredAt
- createdAt
Overview
transactions / #1085
#1085
#1085
Late payment fee
Request
curl example
curl -sS \ "https://example-data.com/api/v1/transactions/1085" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/transactions/1085" ); 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/1085"
);
const transaction = (await res.json()) as Transaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/transactions/1085"
)
transaction = res.json() Response
{
"id": 1085,
"accountId": 291,
"kind": "fee",
"amount": -4144.63,
"currency": "USD",
"description": "Late payment fee",
"status": "failed",
"occurredAt": "2025-05-14T13:34:58.395Z",
"createdAt": "2025-05-14T13:35:45.128Z"
}