Integration metrics
Certified members of the Mercado Pago's partner program, the <dev>program, can identify their integrations to gain access to program benefits whether these integrations are old or new. Therefore, do not forget to include your credentials in all the integrations you carry out.
Available plugins
Below you will find a list of plugins that allow adding the integrator_id
at the moment of the integration.
For more details on how and why to use integrator_id
in your integrations, access our FAQ.
Integration
To identify your integrations and work with metrics, use one of the SDKs below informing the integrator_id
and/or platform_id
and execute the request.
x-integrator_id
and/or x-platform-id
parameter with their respective information to the endpoint
/v1/payments
and execute the request.Header | Code type | Identifier |
x-integrator-id | Integrator | For programmers or agencies that perform the integration. |
x-platform-id | Platform | For platforms or modules that offer Mercado Pago in their solutions. |
MercadoPago\SDK::setPlatformId("PLATFORM_ID");
MercadoPago\SDK::setIntegratorId("INTEGRATOR_ID");
Add the identification codes and replace with the necessary value: INTEGRATOR_ID
.
const requestOptions = {
'integratorId': 'INTEGRATOR_ID',
};
Add the identification codes and replace with the necessary value: INTEGRATOR_ID
and PLATFORM_ID
.
MercadoPago.SDK.setPlatformId("PLATFORM_ID");
MercadoPago.SDK.setIntegratorId("INTEGRATOR_ID");
Add the identification codes and replace with the necessary value: INTEGRATOR_ID
and PLATFORM_ID
.
request_options = Mercadopago::RequestOptions.new()
request_options.platform_id = 'PLATFORM_ID'
request_options.integrator_id = 'INTEGRATOR_ID'
sdk = Mercadopago::SDK.new('ENV_ACCESS_TOKEN', request_options: request_options)
Add the identification codes and replace with the necessary value: INTEGRATOR_ID
and PLATFORM_ID
.
MercadoPagoConfig.PlatformId = "PLATFORM_ID";
MercadoPagoConfig.IntegratorId = "INTEGRATOR_ID";
Add the identification codes and replace with the necessary value: INTEGRATOR_ID
and PLATFORM_ID
.
import market
from Mercadopago.config import RequestOptions
request_options = RequestOptions(
integrator_id="INTEGRATOR_ID",
platform_id="PLATFORM_ID"
)
sdk = Mercadopago.SDK("ENV_ACCESS_TOKEN", request_options=request_options)
Add the identification codes and replace with the necessary value:
INTEGRATOR_ID
andPLATFORM_ID
.