Introduction
kobana is the command-line tool for the APIs of Kobana's products, the Banking Gateway included. It is maintained in its own repository (kobana-cli) and the resource commands are not written by hand: at startup, it reads the OpenAPI specs embedded in the binary and builds the command tree from them. Only the +verb helpers are handwritten.
kobana <produto> <recurso> <metodo> [flags]
The CLI was designed for both people and AI agents: JSON output by default, schema introspection, --dry-run and automatic pagination.
Products​
| Product | Description |
|---|---|
banking | Banking Gateway: charges, payments, transfers (API v1 and v2) |
finance | Smart Finance: accounts, entries, cash flow |
billing | Automatic Billing: subscriptions, plans, invoices |
inbox | Autonomous Inbox: inboxes, agents, emails, webhooks |
The banking product talks to the same API documented on this site, in versions v1 and v2. The version never appears in the command: /v1/bank_billets becomes kobana banking bank-billets, and /v2/charge/pix becomes kobana banking charge pix. The resources are in the catalog.
Getting started​
-
Install. See Installation.
-
Authenticate with
kobana auth loginor with a token inKOBANA_TOKEN. See Authentication. -
Make the first call, in the sandbox:
kobana banking bank-billets list --env sandbox --output-format table -
Explore the surface. Every command accepts
--help, andkobana schemashows the path, parameters and description of any endpoint without leaving the terminal.
CLI or MCP?​
The CLI is for scripts, automations and agents that run terminal commands. To connect an AI assistant (Claude, ChatGPT, an IDE) straight to the account, without a terminal, use the MCP server. Both call the same resources.
Next steps​
- Installation: Homebrew, prebuilt binaries, Nix and building from source.
- Authentication: OAuth login, token and environments.
- Usage: syntax, resources and examples.
- Schema introspection: parameters and request and response format.
- Global flags: the flags every command accepts.
- Helpers:
+verbshortcuts to issue a bank slip, charge via Pix and cancel in bulk. - Environment variables: authentication, configuration and logs.
- Exit codes: for scripts.