KosmoKrator

other

Paddle CLI for Shell Scripts

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

7 functions 6 read 1 write Bearer token auth

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

Command Shape

# Paddle CLI for Shell Scripts
kosmokrator integrations:configure paddle --set access_token="$PADDLE_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call paddle.paddle_list_transactions '{"limit":1,"after":"example_after","status":"example_status","customer_id":"example_customer_id"}' --json

Discovery Before Execution

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

kosmo integrations:docs paddle --json
kosmo integrations:docs paddle.paddle_list_transactions --json
kosmo integrations:schema paddle.paddle_list_transactions --json
kosmo integrations:search "Paddle" --json
kosmo integrations:list --json

Useful Paddle CLI Functions

FunctionTypeParametersDescription
paddle.paddle_list_transactions Read limit, after, status, customer_id List Paddle transactions. Supports filtering by status and customer ID, with cursor-based pagination.
paddle.paddle_get_transaction Read id Get detailed information about a specific Paddle transaction by its ID.
paddle.paddle_list_customers Read limit, after, email, name List Paddle customers. Supports filtering by email and name, with cursor-based pagination.
paddle.paddle_get_customer Read id Get detailed information about a specific Paddle customer by their ID.
paddle.paddle_create_customer Write email, name Create a new customer in Paddle. An email address is required.
paddle.paddle_list_products Read limit, after, status List Paddle products. Supports filtering by status with cursor-based pagination.
paddle.paddle_get_current_user Read none Verify Paddle API connectivity by performing a health check request. Returns connection status and API response.

Automation Notes

Related Paddle CLI Pages