payments
Stripe Connect CLI for Headless Automation
Use the Stripe Connect CLI for headless automation with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 7 read 0 write Bearer token auth
Stripe Connect CLI for Headless Automation
Use KosmoKrator as a non-interactive integration runtime for local automations and wrappers.
Use headless automation when another tool needs a stable local command surface. The Stripe Connect CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Stripe Connect CLI for Headless Automation
kosmokrator integrations:configure stripe-connect --set access_token="$STRIPE_CONNECT_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call stripe-connect.stripe_connect_list_accounts '{"limit":1}' --json Discovery Before Execution
Agents and scripts can inspect Stripe Connect docs and schemas before choosing a function.
kosmo integrations:docs stripe-connect --json
kosmo integrations:docs stripe-connect.stripe_connect_list_accounts --json
kosmo integrations:schema stripe-connect.stripe_connect_list_accounts --json
kosmo integrations:search "Stripe Connect" --json
kosmo integrations:list --json Useful Stripe Connect CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
stripe-connect.stripe_connect_list_accounts | Read | limit | List Stripe Connect accounts. Returns a paginated list of connected accounts with ID, business type, display name, and email. |
stripe-connect.stripe_connect_get_account | Read | id | Retrieve a Stripe Connect account by ID. Returns full account details including business profile, capabilities, and metadata. |
stripe-connect.stripe_connect_list_payouts | Read | limit, status, arrival_date | List Stripe Connect payouts with optional filtering. Supports filtering by status (paid, pending, in_transit, canceled, failed) and arrival date, and pagination with limit. |
stripe-connect.stripe_connect_get_payout | Read | id | Retrieve a Stripe Connect payout by ID. Returns full payout details including amount, status, arrival date, and destination. |
stripe-connect.stripe_connect_list_balances | Read | limit | List Stripe Connect balance transactions. Returns a paginated list of balance transactions with type, amount, currency, and description. |
stripe-connect.stripe_connect_list_capabilities | Read | account | List Stripe Connect account capabilities. Returns capabilities for a specified connected account, including activation status (active, inactive, pending). |
stripe-connect.stripe_connect_get_current_user | Read | none | Get the currently authenticated Stripe Connect user. Returns user profile information including ID, name, and email. |
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.