Mercado Pago - Get Payments
Description
Section titled “Description”Searches and gets payments from Mercado Pago with advanced filters. Allows searching by ID, external reference, status, date range, and more.
Configuration
Section titled “Configuration”| Field | Type | Required | Description |
|---|---|---|---|
| credentials_id | credential | Yes | Mercado Pago credentials |
| payment_id | string | No | Specific payment ID |
| external_reference | string | No | Filter by external reference |
| status | select | No | Payment status (approved, pending, rejected, etc.) |
| begin_date | string | No | Start date (ISO 8601) |
| end_date | string | No | End date (ISO 8601) |
| sort | select | No | Sort field (date_created, date_approved, etc.) |
| criteria | select | No | Ascending or descending order |
| 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”{ "success": true, "payment": { ... }, "payments": [ ... ], "paging": { "total": 100, "offset": 0, "limit": 10 }}Payment Statuses
Section titled “Payment Statuses”approved: Payment approvedpending: Payment pendingin_process: In processrejected: Rejectedcancelled: Canceledrefunded: Refundedcharged_back: Chargeback
Usage Example
Section titled “Usage Example”- Get a specific payment by ID
- Search all approved payments from the last month
- List payments with a specific external reference
API Used
Section titled “API Used”- Endpoint:
GET /v1/payments/{id}orGET /v1/payments/search - Documentation: Mercado Pago Payments API
- If
payment_idis provided, a single payment is returned - Without
payment_id, a search is performed with the provided filters - Results are paginated with
limitandoffset - Dates must be in ISO 8601 format
Related Nodes
Section titled “Related Nodes”- MercadopagoCreatePayment - Create payment
- MercadopagoCreateRefund - Create refund
- MercadopagoGetCustomers - Get customers