Mercado Pago - Get Subscriptions
Description
Section titled “Description”Gets subscriptions (preapproval) from Mercado Pago. Allows searching by specific ID, filtering by subscriber email, status, or listing with pagination.
Configuration
Section titled “Configuration”| Field | Type | Required | Description |
|---|---|---|---|
| credentials_id | credential | Yes | Mercado Pago credentials |
| preapproval_id | string | No | Specific subscription ID |
| payer_email | string | No | Filter by subscriber email |
| status | select | No | Filter by status |
| limit | number | No | Number of results (default: 10) |
| offset | number | No | Offset for pagination |
Credentials
Section titled “Credentials”This module requires a mercadopago type credential with the following fields:
- Access Token: Mercado Pago access token (obtained from the developer dashboard)
Output
Section titled “Output”Search by ID
Section titled “Search by ID”{ "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" }}Search with filters
Section titled “Search with filters”{ "success": true, "subscriptions": [ ... ], "paging": { "total": 25, "offset": 0, "limit": 10 }}Subscription Statuses
Section titled “Subscription Statuses”pending: Pending authorizationauthorized: Active and chargingpaused: Paused (not charging)cancelled: Permanently canceled
Usage Example
Section titled “Usage Example”Get subscription by ID
Section titled “Get subscription by ID”{ "preapproval_id": "2c9380848..."}Search active subscriptions
Section titled “Search active subscriptions”{ "status": "authorized", "limit": 20}API Used
Section titled “API Used”- Endpoint:
GET /preapproval/{id}orGET /preapproval/search - Documentation: Mercado Pago Subscriptions API
- Subscriptions in Mercado Pago are called “preapproval”
- The
init_pointallows the user to complete the initial payment - The frequency can be in days or months
Related Nodes
Section titled “Related Nodes”- MercadopagoCreateSubscription - Create subscription
- MercadopagoCancelSubscription - Cancel/pause subscription
- MercadopagoGetCustomers - Get customers