Home
Documentation
Resources
Certifications
Community
Export subscriptions - Subscriptions - Mercado Pago Developers

Intelligent search powered by OpenAI 

Export subscriptions

GET

https://api.mercadopago.com/preapproval/export
Downloads a CSV file with all the subscriptions that match the search request.
Request's parameters
PATH
collector_id
number

REQUIRED

ID of the collector requesting the subscriptions.
preapproval_plan_id
string
Specifies a Plan ID for filtering results from the export.
status
string
Specifies a status for filtering results from the export. Can be null, one or more than one.
sort
string
Specifies the type of sorting selected to retrieve the subscriptions. You must indicate a field and a sort type with the following format field_name:sort_type.
Response parameters
Esta solicitação não tem resposta
Errors

401Error

401

Unauthorized

500Error

500

Error

Request
curl -X GET \
    'https://api.mercadopago.com/preapproval/export'\
    -H 'Content-Type: application/json' \
       -H 'Authorization: Bearer TEST-5599*********291-02171*********139a4791e*********f7f5835-1*********' \
    
Sample answer
// This request has not been responded to.