Home
Documentation
Resources
Certifications
Community

Resources

Check for updates on our solutions and system performance, or request technical support.

Community

Get the latest news, ask others for help and share your knowledge.

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-2151*********762-03031*********750b665b7*********4dac477-1*********' \
    
Sample answer
// This request has not been responded to.