Weavz
Mercado Pago

Mercado Pago

Latin American payments API for checkout preferences, direct payments, cancellations, and refunds.

11 tools
4 triggers

Tools

Name
create_preference

Create a Mercado Pago Checkout Pro preference and hosted payment URL.

update_preference

Update an existing Mercado Pago Checkout Pro preference by ID.

get_preference

Get a Mercado Pago checkout preference by ID.

create_payment

Create a direct Mercado Pago payment. This can authorize or capture funds depending on the payment method and capture flag.

search_payments

Search Mercado Pago payments with optional status, external reference, date, and paging filters.

get_payment

Get a Mercado Pago payment by ID.

capture_payment

Capture a previously authorized Mercado Pago payment by ID. This moves funds when capture succeeds.

cancel_payment

Cancel a pending Mercado Pago payment by setting status to cancelled.

refund_payment

Create a full or partial refund for a Mercado Pago payment.

list_payment_refunds

List refunds for a Mercado Pago payment.

get_payment_refund

Get a Mercado Pago payment refund by payment ID and refund ID.

Triggers

Name
webhook_event_received

Receive Mercado Pago webhook events after verifying the x-signature HMAC-SHA256 header.

payment_updated

Receive Mercado Pago payment webhook events.

refund_or_claim_updated

Receive Mercado Pago refund/claim webhook topic events.

chargeback_updated

Receive Mercado Pago chargeback webhook topic events.

Quick Start

TypeScript
import { WeavzClient } from '@weavz-io/sdk'

const weavz = new WeavzClient({ apiKey: 'wvz_...' })

const result = await weavz.actions.execute('mercado-pago', 'create_preference', {
  workspaceId: '550e8400-e29b-41d4-a716-446655440000',
  integrationAlias: 'mercado-pago',
  input: { /* ... */ },
})

Related Integrations

Works well with

Frequently Asked Questions

How do I connect Mercado Pago to my app?

Use Weavz Hosted Connect for API Key authentication. Install the SDK, create a connection through the connect portal or API, then execute tools programmatically.

What tools does Mercado Pago support?

Mercado Pago supports 11 tools including Create Checkout Preference, Update Checkout Preference, Get Checkout Preference, Create Payment, Search Payments, and more.

Can I use Mercado Pago with AI agents?

Yes. Add Mercado Pago to an MCP server in Tool Mode or Code Mode. Code Mode provides 3 meta-tools with on-demand API discovery so agents can compose stateful workflows without loading every action schema up front.

Can Mercado Pago be used in stateful agent workflows?

Yes. Agents can combine Mercado Pago tools with Filesystem, State KV, Human Gates, input partials, and other workspace integrations while keeping execution scoped to the selected workspace or end user.

What authentication does Mercado Pago use?

Mercado Pago uses API Key. Weavz stores credentials securely and uses them for authorized action execution.

How much does the Mercado Pago integration cost?

The Mercado Pago integration is included on all Weavz plans including the free tier with 20,000 actions per month. No credit card required.

What triggers does Mercado Pago support?

Mercado Pago supports 4 triggers including Webhook Event Received, Payment Updated, Refund or Claim Updated, Chargeback Updated.

Connect Mercado Pago in minutes

Get 20,000 free action executions every month. No credit card required.