KosmoKrator

sales

Braintree CLI for Shell Scripts

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

7 functions 7 read 0 write Bearer token auth

Braintree 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 Braintree CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Braintree CLI for Shell Scripts
kosmokrator integrations:configure braintree --set access_token="$BRAINTREE_ACCESS_TOKEN" --set merchant_id="$BRAINTREE_MERCHANT_ID" --enable --read allow --write ask --json
kosmo integrations:call braintree.braintree_list_transactions '{"limit":1,"page":1,"status":"example_status"}' --json

Discovery Before Execution

Agents and scripts can inspect Braintree docs and schemas before choosing a function.

kosmo integrations:docs braintree --json
kosmo integrations:docs braintree.braintree_list_transactions --json
kosmo integrations:schema braintree.braintree_list_transactions --json
kosmo integrations:search "Braintree" --json
kosmo integrations:list --json

Useful Braintree CLI Functions

FunctionTypeParametersDescription
braintree.braintree_list_transactions Read limit, page, status List payment transactions for the Braintree merchant. Returns transaction details including amount, status, payment method, and customer info.
braintree.braintree_get_transaction Read id Retrieve a single Braintree transaction by its ID. Returns full transaction details including amount, status, payment instrument, and settlement info.
braintree.braintree_list_customers Read limit, page List customers stored in Braintree. Returns customer details including name, email, phone, and payment methods.
braintree.braintree_get_customer Read id Retrieve a single Braintree customer by ID. Returns full customer details including contact info, payment methods, and addresses.
braintree.braintree_list_plans Read limit, page List recurring billing plans configured in Braintree. Returns plan details including billing cycle, price, and trial period.
braintree.braintree_get_plan Read id Retrieve a single Braintree recurring billing plan by ID. Returns plan details including billing cycle, price, and trial period.
braintree.braintree_get_current_user Read none Get the current Braintree merchant account information. Returns merchant details including business name, currency, and account status.

Automation Notes

Related Braintree CLI Pages