KosmoKrator

payments

Stripe Connect CLI for Shell Scripts

Use the Stripe Connect CLI for shell scripts with headless JSON commands, schema discovery, credentials, and permission controls.

7 functions 7 read 0 write Bearer token auth

Stripe Connect 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 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 Shell Scripts
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

FunctionTypeParametersDescription
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

Related Stripe Connect CLI Pages