MercadoPago SDK
An open source, strongly-typed SDK for the MercadoPago API.
It will try to hold your hand and reduce the possibility of errors, providing the correct API surface.
Note
The library is still under development and its public API is subject to change.
Installation
Added the following into your Cargo.toml:
= "0.1"
Usage
The client is built using the
MercadoPagoSDKBuilder::with_token
with_token
method.
use ;
let mp_sdk: MercadoPagoSDK = with_token;
Once the token is inserted, you can call methods on [crate::MercadoPagoSDK
]
Creating a CheckoutPro Preference
use ;
use DocumentType;
use CheckoutProPreferences;
use MercadoPagoSDKBuilder;
async
Other Examples
Check out the tests
folder inside our repository to check for more examples.
License
Project is licensed under the permissive MIT license.