Finance and payments
Mercado Pago in your product and your AI agents, through one API
The Mercado Pago toolkit covers payments, payment preferences (Checkout Pro links), subscription plans and subscriptions: search and read payments, cancel a pending one, create checkout links, and create plans and pause, reactivate or cancel subscriptions. The seller connects with their own access token, and your product or AI agent calls every operation through one Connect endpoint.
15 days to try it. No credit card.
POST https://connect.reportei.com/api/tools/mercado_pago_create_preference/execute
Authorization: Bearer <merchant token>
x-customer-token: <customer token>
Content-Type: application/json
Accept: application/json
{
"customer_toolkit": "<connection UUID>",
"arguments": {
"items": []
}
}How it works
From a connected customer to the first Mercado Pago call.
- 1
Your customer connects the account
Your system opens a Connect session for the toolkit and your customer connects their Mercado Pago account. You get the connection id.
- 2
Your product calls the tool
A POST to /api/tools/{tool}/execute with the connection id and arguments. On success, Connect preserves the app's response status and body.
- 3
Connect handles the rest
It stores the credential encrypted, renews tokens for OAuth connections that support renewal and records executions in an audit trail available through the API.
Use cases
What your product does with Mercado Pago.
Checkout links from your product
Create a payment preference with items and prices and send the init_point link to the buyer, who pays by Pix, card, boleto or Mercado Pago balance.
Payment reconciliation
Search the payments received and read status, status_detail and the net amount received, to reconcile orders in your platform.
Subscription management
Create subscription plans, then pause, reactivate or cancel a buyer's subscription from your own billing screen.
Tools
12 Mercado Pago tools
- Search paymentsGETSearches the payments the account received in the last 12 months; without dates, the ones created in the last 3 months. The response has results and paging with total, limit and offset: raise offset by limit to read the next page.
- Get paymentGETReturns one payment: status and status_detail, transaction_amount, transaction_details with the net amount received, payment method and type, installments, payer and dates.
- Update paymentPUTCancels a payment that is still pending, in_process or authorized, like an unpaid boleto or Pix, or changes the expiration date of a pending one. An approved payment is not cancelled here: it is refunded in Mercado Pago.
- Search preferencesGETLists the payment preferences, the checkout links, created in the last 90 days. The response has elements, next_offset and total. The link itself, init_point, comes from Get preference.
- Get preferenceGETReturns a payment preference with its items, payer, payment settings, validity and init_point, the checkout link to send to the buyer. Works for preferences of any age.
- Create preferencePOSTCreates a payment preference and returns it with id and init_point, the Checkout Pro link where the buyer pays by Pix, card, boleto or Mercado Pago balance. Each item needs id, title, quantity and unit_price. Share init_point with the buyer.
- Update preferencePUTChanges the fields sent on a payment preference, like items, prices, buyer data or validity. The id and the init_point link stay the same.
- Search subscription plansGETSearches the subscription plans of the account. Each plan in results has id, reason, auto_recurring, status, subscribed (how many subscribers) and init_point, the link where a buyer subscribes. Page with offset and limit; paging has the total.
- Create subscription planPOSTCreates a subscription plan and returns it with id and init_point, the link where buyers subscribe with their card. Needs reason, back_url and auto_recurring with frequency, frequency_type and currency_id.
- Update subscription planPUTChanges the fields sent on a subscription plan, like the name, the amount or the cycle. The id and the init_point link stay the same.
API key
Your customer pastes the app's key on a Connect screen, or your system sends the key with POST /api/customer-toolkits, with no screen.
Questions about the Mercado Pago toolkit
Do I need to build against the Mercado Pago API?
No. Connect ships 12 Mercado Pago tools, described and ready. Your customer connects the account and your system calls every tool through the same endpoint, with the same request format.
How does my customer connect their Mercado Pago account?
With the mode the toolkit accepts: API key. Connect stores the credential encrypted and never returns it to your system.
Does it work with AI agents?
Yes. Each tool's input is described in JSON Schema, which your agent uses directly as a tool definition. The agent picks the tool and the arguments, and your system makes the call to Connect.
Does my customer need a Reportei account?
No. Your customer connects the account on a Connect screen, or your system sends the credential through the API, and they keep using only your product.
Toolkits in the same category
See all 100 toolkitsSee Connect applied to your product.
Try it for 15 days with no card, or walk our team through your use case.

Conta Azul