Skip to content

Mercado Pago - Get Subscriptions

Gets subscriptions (preapproval) from Mercado Pago. Allows searching by specific ID, filtering by subscriber email, status, or listing with pagination.

FieldTypeRequiredDescription
credentials_idcredentialYesMercado Pago credentials
preapproval_idstringNoSpecific subscription ID
payer_emailstringNoFilter by subscriber email
statusselectNoFilter by status
limitnumberNoNumber of results (default: 10)
offsetnumberNoOffset for pagination

This module requires a mercadopago type credential with the following fields:

  • Access Token: Mercado Pago access token (obtained from the developer dashboard)
{
"success": true,
"subscription": {
"id": "2c9380848...",
"payer_email": "cliente@email.com",
"status": "authorized",
"auto_recurring": {
"frequency": 1,
"frequency_type": "months",
"transaction_amount": 99.99,
"currency_id": "ARS"
},
"init_point": "https://...",
"date_created": "2024-01-15T10:00:00.000-03:00"
}
}
{
"success": true,
"subscriptions": [ ... ],
"paging": {
"total": 25,
"offset": 0,
"limit": 10
}
}
  • pending: Pending authorization
  • authorized: Active and charging
  • paused: Paused (not charging)
  • cancelled: Permanently canceled
{
"preapproval_id": "2c9380848..."
}
{
"status": "authorized",
"limit": 20
}
  • Subscriptions in Mercado Pago are called “preapproval”
  • The init_point allows the user to complete the initial payment
  • The frequency can be in days or months
  • MercadopagoCreateSubscription - Create subscription
  • MercadopagoCancelSubscription - Cancel/pause subscription
  • MercadopagoGetCustomers - Get customers