Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
List and retrieve Moflay transactions with the Node.js SDK.
import { Moflay } from "@moflay/sdk"; const moflay = new Moflay({ token: process.env.MOFLAY_API_KEY!, }); const transactions = await moflay.transactions.list({ limit: 10 }); for await (const page of transactions) { console.log(page.data); }
const transaction = await moflay.transactions.getOne({ id: "trxn_ABC123DEF456GHI", }); console.log(transaction.status, transaction.amount);
const transactions = await moflay.transactions.list({ start: new Date("2026-04-01T00:00:00.000Z"), end: new Date("2026-04-30T23:59:59.999Z"), limit: 10, }); for await (const page of transactions) { console.log(page.data); }
transactions.read
Was this page helpful?