// the find
mercadopago/sdk-python
Mercado Pago's Official Python SDK
Official Python SDK for Mercado Pago, the dominant payment platform in Latin America. Thin wrapper around their REST API covering payments, subscriptions, preferences, refunds, and card tokenization. If you're building an e-commerce product targeting LATAM markets, this is the integration path.
- Good resource coverage — payments, subscriptions, preapprovals, merchant orders, chargebacks, advanced payments are all there, not just the happy path
- Per-request credential override via RequestOptions is useful for marketplace flows where you're making calls on behalf of multiple sellers
- Includes a webhook signature validator, which most SDK authors forget until someone files a security bug
- Active maintenance — last push June 2026, dependabot configured, CI/CD workflows present
- No async support — every API call is synchronous, which is a real problem in any async Python web app (FastAPI, aiohttp); you're back to thread pools
- Returns raw dicts instead of typed response objects, so you get no IDE autocomplete or static analysis on the response shape — you're just guessing field names from the docs
- 232 stars for an official SDK from a company processing hundreds of billions in GMV is telling — the SDK is not the primary integration path and community resources are thin
- The README example hard-codes payment_method_id as 'visa' with no explanation; first-time users will cargo-cult this into a bug where non-Visa cards silently fail