Suggest edit
Help us improve the documentation
Did you see wrong information and would you like us to explain something else or improve our manuals? Please leave your suggestions on GitHub.

Mercado Pago SDK for .Net

This library provides developers with a simple set of bindings to the Mercado Pago API.

Supported .NET Versions:

This SDK supports .NET version 4.5 or newer.


Using our nuget package

Using Package Manager

PM> Install-Package mercadopago-sdk -Version 1.2.0

Using .Net CLI

> dotnet add package mercadopago-sdk --version 1.2.0

Using Packet CLI

> paket add mercadopago-sdk --version 1.2.0

Check the latest version here


Our SDK is compatible with .NET 3.5 or grater. Our development team recomends to use .NET 4.5 or newer versions.

Quick Start

  1. You have to import the Mercado Pago SDK. csharp using MercadoPago;
  2. Setup your credentials


 MercadoPago.SDK.AccessToken = "ENV_ACCESS_TOKEN";
  1. Using resource objects You can interact with all the resources available in the public API, to this each resource is represented by classes according to the following diagram: SDK resource structure of Mercado Pago

Find all the information about your credentials in our FAQs.



 using MercadoPago;
 using MercadoPago.Resources;
 using MercadoPago.DataStructures.Payment;
 using MercadoPago.Common;

MercadoPago.SDK.SetAccessToken = "ENV_ACCESS_TOKEN";

 Payment payment = new Payment
     TransactionAmount = (float)100.0,
     Token = "YOUR_CARD_TOKEN"
     Description = "Ergonomic Silk Shirt",
     PaymentMethodId = "visa",
     Installments = 1,
     Payer = new Payer {
         Email = ""




Write us at our support form.

Your search returns no results.

Verifique a ortografia de termos de pesquisa ou teste com outras palavras-chave.