KosmoKrator

finance

Mercado Pago CLI for Headless Automation

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

7 functions 6 read 1 write Bearer token auth

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

Command Shape

# Mercado Pago CLI for Headless Automation
kosmokrator integrations:configure mercado-pago --set access_token="$MERCADO_PAGO_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call mercado-pago.mercado_pago_list_payments '{"limit":1,"offset":1,"external_reference":"example_external_reference","status":"example_status","date_created_from":"example_date_created_from","date_created_to":"example_date_created_to"}' --json

Discovery Before Execution

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

kosmo integrations:docs mercado-pago --json
kosmo integrations:docs mercado-pago.mercado_pago_list_payments --json
kosmo integrations:schema mercado-pago.mercado_pago_list_payments --json
kosmo integrations:search "Mercado Pago" --json
kosmo integrations:list --json

Useful Mercado Pago CLI Functions

FunctionTypeParametersDescription
mercado-pago.mercado_pago_list_payments Read limit, offset, external_reference, status, date_created_from, date_created_to Search and list payments from Mercado Pago. Supports filtering by status, external reference, and date range. Returns a paginated list of payment records.
mercado-pago.mercado_pago_get_payment Read id Retrieve full details of a specific Mercado Pago payment by its ID. Returns payment status, amount, payer information, and more.
mercado-pago.mercado_pago_create_payment Write transaction_amount, payment_method_id, payer_email, installments Create a new payment in Mercado Pago. Requires the transaction amount, payment method ID, and payer email. Optionally specify the number of installments.
mercado-pago.mercado_pago_list_customers Read email, limit, offset Search and list customers in Mercado Pago. Optionally filter by email. Returns a paginated list of customer records.
mercado-pago.mercado_pago_get_customer Read id Retrieve full details of a specific Mercado Pago customer by their ID. Returns customer name, email, default card, and more.
mercado-pago.mercado_pago_list_preferences Read limit, offset, sponsor_id List checkout preferences from Mercado Pago. Returns a paginated list of checkout preference objects that define items, payer details, and payment settings.
mercado-pago.mercado_pago_get_current_user Read none Get the authenticated Mercado Pago user's account information, including name, email, and user ID.

Automation Notes

Related Mercado Pago CLI Pages