Setup
- Environment variables
- Direct config
How it works
item_id maps to that plan’s id:
Webhooks
Mercado Pago signs webhooks with a secret signature configured separately in your integration settings — it’s not the same as your access token. Notifications only carry the resource type and id; the provider fetches the full resource before mapping standard events.x-signature header (ts=...,v1=...), and the notified resource id in the data.id query parameter — both feed into the HMAC-SHA256 manifest alongside x-request-id.
Raw Mercado Pago events
Opt into any native Mercado Pago notification — fully typed against Mercado Pago’s webhook envelope:
Mercado Pago has no delete-preference API and no general payment-update API — use
capturePayment/cancelPayment for payment state transitions instead of updatePayment.