Who should use this guideThis guide is intended for merchants who:
- Use Payrails as a payment orchestrator
- Use Mercado Pago for cards or Mercado Pago checkout methods such as Yape and PagoEfectivo
- Have access to your Mercado Pago developer panel
Create a Mercado Pago integration in Payrails
- Log in to the Payrails portal.
- Go to Settings → Integrations.
- Select Add instance to create a new integration configuration.
- Select the workspaces where this integration should be available.
About workspacesWorkspaces determine where this integration is available. They let you isolate provider setups by region or business line, or share the same configuration across multiple workspaces.
Step 1: Choose the integration type
- Select Payment.
- Continue to the next step.
Step 2: Choose the provider
- Select MercadoPago.
- Continue to the next step.

Step 3: Configure your Mercado Pago integration
Integration instance name
An integration instance is a specific payment provider setup in Payrails. You can create multiple instances for different regions, currencies, or business needs. Choose a clear, consistent name, as it is used in routing.In Payrails
- Enter an Instance name for your integration, for example
merchant_mercadopago.

Credentials
In Mercado Pago- In your Mercado Pago developer panel, open your application and go to General Information.
- Copy the Public Key and Access Token.
Payments go to Mercado Pago’s test or live mode depending on your credentials, so use the credentials that match the mode of your Payrails integration.

Session Configs
In Payrails
Payment methods
In Payrails- Select Card, Generic Redirect, Mercado Pago or any combination. Generic Redirect and Mercado Pago send your customer to the Mercado Pago checkout.

Webhooks or notifications
Payrails uses provider webhooks or notifications to receive asynchronous
payment status updates.
- Copy the Notification URL shown under Account configuration at the top of the integration form.
- In your Mercado Pago developer panel, go to Webhooks and select Configure notifications.
- Paste the Payrails notification URL.
- Select the Payments and Orders events, and save.
- Copy the secret signature into the HMAC field in Payrails.
Request fields for Mercado Pago
Send these fields in the authorize request for card payments, in addition to the standard authorize fields. Required fields must be present for the payment to succeed. Payrails sends Optional fields to Mercado Pago when you include them. For more about meta fields, refer to Meta fields.
Mercado Pago card payments are captured straight away, so use instant capture in your workflow.
Configure Mercado Pago settings
Some Mercado Pago integration settings change how Payrails processes your payments. The portal shows the same description when you hover over each setting.Enable the integration
In Payrails- Select Save account to enable the integration.
- Confirm the integration shows as Enabled.
Next steps
- Run a test card payment with your Mercado Pago test credentials.
- Verify that:
- The payment appears in Mercado Pago.
- The payment status updates correctly in Payrails.
- Once verified in test mode, repeat the setup with your live credentials.