- Create, retrieve, update, or delete any of your Fintoc resources in
testmode. - Receive webhooks at
localhostwithout a public tunnel and without creating new webhook endpoints.
Choose an installation method
npm
Fintoc publishes the CLI to npm for macOS, Linux, and Windows. The CLI requires Node.js 22 or later. On Windows, install with npm because Homebrew is not available. To install with npm, run:npm install -g @fintoc/cli works in PowerShell and Command Prompt on Windows.
Homebrew
Homebrew is available on macOS and Linux. To install with Homebrew, run:Log in to the CLI
Authenticate the CLI with a Fintoc API key.--api-key flag:
fintoc login authenticates in test mode. Pass --mode live to log in to live mode instead.
To avoid storing the API key, export the FINTOC_API_KEY environment variable. The CLI reads this variable automatically. See Fintoc CLI keys for the full precedence order.
Verify your setup
fintoc doctor verifies your CLI setup. The command checks the resolved API key, the Node.js version, the config file path, and connectivity to api.fintoc.com. Use fintoc doctor to debug authentication or connectivity errors.