{"id":19545138,"url":"https://github.com/mercadopago/sdk-python","last_synced_at":"2025-04-11T11:49:55.142Z","repository":{"id":5195198,"uuid":"6370279","full_name":"mercadopago/sdk-python","owner":"mercadopago","description":"Mercado Pago's Official Python SDK","archived":false,"fork":false,"pushed_at":"2025-03-26T12:36:53.000Z","size":462,"stargazers_count":190,"open_issues_count":0,"forks_count":65,"subscribers_count":46,"default_branch":"master","last_synced_at":"2025-04-03T23:09:02.254Z","etag":null,"topics":["backend-sdk","mercadopago","python","sdk"],"latest_commit_sha":null,"homepage":"https://developers.mercadopago.com/","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"mozilla-b2g/gaia","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mercadopago.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-10-24T13:25:42.000Z","updated_at":"2025-03-28T14:56:19.000Z","dependencies_parsed_at":"2024-11-11T03:45:38.124Z","dependency_job_id":null,"html_url":"https://github.com/mercadopago/sdk-python","commit_stats":{"total_commits":123,"total_committers":19,"mean_commits":6.473684210526316,"dds":0.7560975609756098,"last_synced_commit":"565fca4b99c2785c7d0d003e32ad19724fd8de46"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mercadopago%2Fsdk-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mercadopago%2Fsdk-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mercadopago%2Fsdk-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mercadopago%2Fsdk-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mercadopago","download_url":"https://codeload.github.com/mercadopago/sdk-python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248389479,"owners_count":21095596,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backend-sdk","mercadopago","python","sdk"],"created_at":"2024-11-11T03:35:12.892Z","updated_at":"2025-04-11T11:49:55.118Z","avatar_url":"https://github.com/mercadopago.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mercado Pago SDK for Python\n\n[![PyPI](https://img.shields.io/pypi/v/mercadopago.svg)](https://pypi.python.org/pypi/mercadopago)\n[![PyPI Downloads](https://img.shields.io/pypi/dm/mercadopago.svg)](https://pypi.python.org/pypi/mercadopago)\n[![APM](https://img.shields.io/apm/l/vim-mode)](https://github.com/mercadopago/sdk-python)\n\nThis library provides developers with a simple set of bindings to help you integrate Mercado Pago API to a website and start receiving payments.\n\n## 💡 Requirements\n\nPython 3 or higher.\n\n## 📲 Installation \n\nRun ```pip3 install mercadopago```\n\n## 🌟 Getting Started\n\nFirst time using Mercado Pago? Create your [Mercado Pago account](https://www.mercadopago.com).\n\nCopy your `Access Token` in the [credentials panel](https://www.mercadopago.com/developers/panel/credentials) and replace the text `YOUR_ACCESS_TOKEN` with it.\n\n### Simple usage\n  \n```python\nimport mercadopago\n\nsdk = mercadopago.SDK(\"YOUR_ACCESS_TOKEN\")\n\nrequest_options = mercadopago.config.RequestOptions()\nrequest_options.custom_headers = {\n    'x-idempotency-key': '\u003cSOME_UNIQUE_VALUE\u003e'\n}\n\npayment_data = {\n    \"transaction_amount\": 100,\n    \"token\": \"CARD_TOKEN\",\n    \"description\": \"Payment description\",\n    \"payment_method_id\": 'visa',\n    \"installments\": 1,\n    \"payer\": {\n        \"email\": 'test_user_123456@testuser.com'\n    }\n}\nresult = sdk.payment().create(payment_data, request_options)\npayment = result[\"response\"]\n\nprint(payment)\n```\n\n### Per-request configuration\n\nAll methods that make API calls accept an optional `RequestOptions` object. This can be used to configure some special options of the request, such as changing credentials or custom headers.\n\n```python\nimport mercadopago\nfrom mercadopago.config import RequestOptions\n\nrequest_options = RequestOptions(access_token='YOUR_ACCESS_TOKEN')\n# ...\n\nresult = sdk.payment().create(payment_data, request_options)\npayment = result[\"response\"]\n```\n\n## 📚 Documentation \n\nVisit our Dev Site for further information regarding:\n - [APIs](https://www.mercadopago.com/developers/en/reference)\n - [Checkout Pro](https://www.mercadopago.com/developers/en/guides/online-payments/checkout-pro/introduction)\n - [Checkout API](https://www.mercadopago.com/developers/en/guides/online-payments/checkout-api/introduction)\n - [Web Tokenize Checkout](https://www.mercadopago.com/developers/en/guides/online-payments/web-tokenize-checkout/introduction)\n\nCheck our official code reference to explore all available functionalities.\n\n## 🤝 Contributing\n\nAll contributions are welcome, ranging from people wanting to triage issues, others wanting to write documentation, to people wanting to contribute code.\n\nPlease read and follow our [contribution guidelines](CONTRIBUTING.md). Contributions not following this guidelines will be disregarded. The guidelines are in place to make all of our lives easier and make contribution a consistent process for everyone.\n\n## ❤️ Support\n\nIf you require technical support, please contact our support team at [developers.mercadopago.com](https://developers.mercadopago.com).\n\n## 🏻 License\n\n```\nMIT license. Copyright (c) 2021 - Mercado Pago / Mercado Libre\nFor more information, see the LICENSE file.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmercadopago%2Fsdk-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmercadopago%2Fsdk-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmercadopago%2Fsdk-python/lists"}