mercadopago
Mercadopago SDK module for Payments integration
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no known vulnerabilities, installs with minimal friction, and is MIT-licensed. Install it if you need to integrate Mercado Pago payments into a Python application. The only prerequisite is Python 3.10+ and a valid Mercado Pago account with an access token.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or higher; you must obtain an Access Token from your Mercado Pago credentials panel.
- Low friction install with a single dependency (requests).
- The package is actively maintained with a recent release (3 days old) and has been in development since 2012, indicating stable long-term support.
License · maintenance · safety
permissive license (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
last release 2026-08-11 (3 days) · last repo commit 2026-08-11 · 236 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 366,125 downloads/mo, #7,205 on PyPI
Alternatives
Verify before relying
pip install mercadopago
import mercadopago
sdk = mercadopago.SDK("YOUR_ACCESS_TOKEN")
order_data = {"type": "online", "total_amount": "100.00"}
result = sdk.order().create(order_data)
print(result["response"])- Whether the SDK handles webhook signature verification for payment notifications.
- Rate limiting behavior and retry logic for failed API requests.
- Support for all Mercado Pago payment methods beyond credit cards (e.g., digital wallets, bank transfers).
What it is and what it does
The mercadopago package is the official Python SDK for Mercado Pago, a Latin American payment platform. It wraps Mercado Pago's REST APIs into a Python object model, letting you create orders, process payments, and manage transactions without building HTTP calls manually. The SDK supports both the modern Orders API (recommended for new integrations) and the legacy Payments API, with optional typed request dataclasses for schema validation.
You initialize the SDK with your access token, then call methods like `sdk.order().create()` or `sdk.payment().create()` with payment data as a dict or typed object. Responses come back as dicts keyed by 'response' and 'status'. The package depends only on requests and requires Python 3.10+, making it lightweight to add to existing projects.
Use it for
- Accept online payments on an e-commerce site using the Orders API with card tokens and installment options.
- Process recurring or subscription payments with automatic payment methods and stored credentials.
- Integrate Mercado Pago Checkout Pro or Web Tokenize Checkout into a web application.
- Query and manage payment history and transaction details programmatically.
- Build a payment flow with custom headers and idempotency keys for reliable request handling.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has no known vulnerabilities, installs with minimal friction, and is MIT-licensed. Install it if you need to integrate Mercado Pago payments into a Python application. The only prerequisite is Python 3.10+ and a valid Mercado Pago account with an access token.
Install
mercadopago on PyPI
Before you install
Low friction install with a single dependency (requests). The package is actively maintained with a recent release (3 days old) and has been in development since 2012, indicating stable long-term support.
Requires Python 3.10 or higher; you must obtain an Access Token from your Mercado Pago credentials panel.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Quickstart
pip install mercadopago
import mercadopago
sdk = mercadopago.SDK("YOUR_ACCESS_TOKEN")
order_data = {"type": "online", "total_amount": "100.00"}
result = sdk.order().create(order_data)
print(result["response"])
Verify before relying
- Whether the SDK handles webhook signature verification for payment notifications.
- Rate limiting behavior and retry logic for failed API requests.
- Support for all Mercado Pago payment methods beyond credit cards (e.g., digital wallets, bank transfers).
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagerequests |
| Maintenance | Actively maintained 3 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 366,125 / month, #7,205 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Topic :: Software Development :: Libraries :: Python Modules |
Evidence: mercadopago-3.5.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “mercado pago payment sdk”
- mercadopagoProvides Python bindings to integrate Mercado Pago's payment APIs,…
- wechatpayv3SDK for integrating WeChat Pay API v3 into Python applications,…
- yookassaPython client library for integrating YooKassa payment processing API…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also Adyen · razorpay · yookassa · paypalrestsdk · mollie-api-python · braintree · dodopayments · beanstream · chargehound · breez-sdk-spark