transactions #2335
- accountId
- accounts/444
- kind
- deposit
- amount
- 7917.36
- currency
- USD
- description
- Cash deposit
- status
- failed
- occurredAt
- createdAt
Overview
transactions / #2335
#2335
#2335
Cash deposit
Request
curl example
curl -sS \ "https://example-data.com/api/v1/transactions/2335" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/transactions/2335" ); 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/2335"
);
const transaction = (await res.json()) as Transaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/transactions/2335"
)
transaction = res.json() Response
{
"id": 2335,
"accountId": 444,
"kind": "deposit",
"amount": 7917.36,
"currency": "USD",
"description": "Cash deposit",
"status": "failed",
"occurredAt": "2025-09-27T00:19:37.326Z",
"createdAt": "2025-09-27T00:20:29.109Z"
}