KosmoKrator

other

Mollie CLI for Headless Automation

Use the Mollie CLI for headless automation with headless JSON commands, schema discovery, credentials, and permission controls.

9 functions 6 read 3 write Bearer token auth

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

Command Shape

# Mollie CLI for Headless Automation
kosmokrator integrations:configure mollie --set access_token="$MOLLIE_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call mollie.mollie_list_payments '{"limit":1,"from":"example_from","profileId":"example_profileId"}' --json

Discovery Before Execution

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

kosmo integrations:docs mollie --json
kosmo integrations:docs mollie.mollie_list_payments --json
kosmo integrations:schema mollie.mollie_list_payments --json
kosmo integrations:search "Mollie" --json
kosmo integrations:list --json

Useful Mollie CLI Functions

FunctionTypeParametersDescription
mollie.mollie_list_payments Read limit, from, profileId List payments from Mollie. Returns payment resources with status, amount, and metadata. Use filters like profileId to narrow results.
mollie.mollie_get_payment Read id Retrieve a single Mollie payment by its ID. Returns the full payment resource with status, amount, and checkout links.
mollie.mollie_create_payment Write amount, description, redirectUrl, metadata, method, locale Create a new Mollie payment. Requires amount (currency and value), description, and a redirectUrl. Returns the payment resource with a checkout link.
mollie.mollie_list_customers Read limit, from List all customers from Mollie. Returns customer resources with name, email, and metadata.
mollie.mollie_create_customer Write name, email, locale, metadata Create a new Mollie customer. Requires name and email. Returns the customer resource with an ID for creating subscriptions.
mollie.mollie_list_subscriptions Read customer_id, limit, from List all subscriptions for a specific Mollie customer. Requires a customer ID (e.g., "cst_abc123"). Returns subscription resources with status, amount, and interval.
mollie.mollie_create_subscription Write customer_id, amount, interval, description, method, webhookUrl, metadata, startDate, times Create a subscription for a Mollie customer. Requires customer ID, amount (currency and value), interval (e.g., "1 month"), and description.
mollie.mollie_list_invoices Read limit, from, reference, year, month List invoices for the authenticated Mollie account. Supports filtering by year, month, and reference.
mollie.mollie_get_current_user Read none Retrieve the enabled payment methods for the authenticated Mollie account. Returns a list of available payment methods (e.g., iDEAL, credit card, PayPal).

Automation Notes

Related Mollie CLI Pages