Home
Documentation
Resources
Partners
Community

Partners

Discover our program for agencies or developers that offer integration services and sellers who want to hire them.

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-4599*********755-11221*********d497ae962*********ecf8d85-1*********' \
    
Sample answer
// This request has not been responded to.