transactions #1968
- accountId
- accounts/162
- kind
- payment
- amount
- -1995.3
- currency
- JPY
- description
- Phone bill
- status
- pending
- occurredAt
- createdAt
Overview
transactions / #1968
#1968
#1968
Phone bill
Request
curl example
curl -sS \ "https://example-data.com/api/v1/transactions/1968" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/transactions/1968" ); 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/1968"
);
const transaction = (await res.json()) as Transaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/transactions/1968"
)
transaction = res.json() Response
{
"id": 1968,
"accountId": 162,
"kind": "payment",
"amount": -1995.3,
"currency": "JPY",
"description": "Phone bill",
"status": "pending",
"occurredAt": "2026-03-06T17:46:11.565Z",
"createdAt": "2026-03-06T17:46:42.743Z"
}