Checkout Pro - Direct integration - Mercado Pago Developers
Which documentation are you looking for?

Do not know how to start integrating? 

Check the first steps

Direct integration with Checkout Pro

If you've integrated Checkout Pro with Gateway processing mode on your own platform, here are the steps you should take to migrate your integration to Aggregator mode.

  1. Stop sending the field “processing_mode” = “gateway” in Request Preference. By excluding this field from the call, the default checkout will use the aggregator's processing mode.
  2. Disable gateway payment methods.
  3. Confirm with your trading advisor that you have correctly set up your Aggregator payment methods in order to operate.

We share with you an example of creating a preference for an aggregator model:

json

{
    "external_reference": "123",
    "auto_return": "all",
    "back_urls": {
        "success": "http://httpbin.org/get?back_url=success",
        "pending": "http://httpbin.org/get?back_url=pending",
        "failure": "http://httpbin.org/get?back_url=failure"
    },
    "additional_info": "Order 123456",
    "binary_mode": false,
    "items": [
        {
            "id": "1-123123",
            "title": "Videogame",
            "description": "Playstation",
            "category_id": "electro",
            "quantity": 1,
            "currency_id": "ARS",
            "unit_price": 100000
        }
    ],
    "payer": {
        "name": "Juan",
        "surname": "Silva",
        "email": "test_user_64585784@testuser.com",
        "phone": {
            "area_code": "11",
            "number": "987654321"
        },
        "address": {
            "street_name": "Av Libertador",
            "street_number": "123"
        },
        "identification": {
            "number": "12312123",
            "type": "DNI"
        }
    },
    "notification_url": "http://httpbin.org/"
    "payment_methods": {
        "default_payment_method_id": "",
        "excluded_payment_types": [
            {}
        ],
        "excluded_payment_methods": []
    }
}
For more information about the Checkout Pro payments solution, go to this documentation .