List all accounts for the authenticated organization. Optionally filter by account type.
GET
/
v1
/
accounts
JavaScript
Copy
Ask AI
import FingoPay from '@fingoafrica/fingo-pay';const client = new FingoPay({ apiKey: process.env['FINGO_PAY_API_KEY'], // This is the default and can be omitted});const accounts = await client.accounts.list();console.log(accounts.data);
import FingoPay from '@fingoafrica/fingo-pay';const client = new FingoPay({ apiKey: process.env['FINGO_PAY_API_KEY'], // This is the default and can be omitted});const accounts = await client.accounts.list();console.log(accounts.data);