other
Flutterwave CLI for Shell Scripts
Use the Flutterwave CLI for shell scripts with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 5 read 2 write API key auth
Flutterwave CLI for Shell Scripts
Call integration functions from shell scripts with stable JSON input and output.
Use shell scripts for small local automations that need one or more integration calls. The Flutterwave CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Flutterwave CLI for Shell Scripts
kosmokrator integrations:configure flutterwave --set secret_key="$FLUTTERWAVE_SECRET_KEY" --enable --read allow --write ask --json
kosmo integrations:call flutterwave.flutterwave_list_transactions '{"page":1,"status":"example_status","from":"example_from","to":"example_to"}' --json Discovery Before Execution
Agents and scripts can inspect Flutterwave docs and schemas before choosing a function.
kosmo integrations:docs flutterwave --json
kosmo integrations:docs flutterwave.flutterwave_list_transactions --json
kosmo integrations:schema flutterwave.flutterwave_list_transactions --json
kosmo integrations:search "Flutterwave" --json
kosmo integrations:list --json Useful Flutterwave CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
flutterwave.flutterwave_list_transactions | Read | page, status, from, to | List transactions from your Flutterwave account. Supports filtering by status and date range, with pagination. |
flutterwave.flutterwave_get_transaction | Read | id | Retrieve full details of a specific Flutterwave transaction by its ID. |
flutterwave.flutterwave_initiate_payment | Write | tx_ref, amount, currency, customer, redirect_url | Initiate a new payment on Flutterwave. Requires a transaction reference, amount, currency, and customer details. |
flutterwave.flutterwave_verify_transaction | Read | id | Verify a Flutterwave transaction by its ID to confirm payment status and retrieve full details. |
flutterwave.flutterwave_list_customers | Read | page | List customers registered on your Flutterwave account, with pagination support. |
flutterwave.flutterwave_create_customer | Write | email, first_name, last_name, phone | Create a new customer record on Flutterwave. Requires an email address. |
flutterwave.flutterwave_get_banks | Read | country | Get a list of supported banks for a given country from Flutterwave. Provide a country code like "NG" for Nigeria, "KE" for Kenya, "GH" for Ghana. |
Automation Notes
- Use
--jsonfor machine-readable output. - Keep credentials out of argv by using environment variables or stored KosmoKrator configuration.
- Configure read/write policy before unattended runs; use
--forceonly for trusted automation. - Use the MCP gateway instead when the agent needs dynamic tool discovery inside a conversation.