Export subscriptionshttps://api.mercadopago.com/preapproval/export
Downloads a CSV file with all the subscriptions that match the search request.
GET
Request parameters
Header
Authorization
Access Token obtained through the developer panel. Must be sent in all requests.string
REQUIRED
Path
collector_id
ID of the collector requesting the subscriptions.number
REQUIRED
preapproval_plan_id
Specifies a Plan ID for filtering results from the export.string
status
Specifies a status for filtering results from the export. Can be null, one or more than one.string
sort
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.string
Response parameters
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 APP_USR-1*********685765-12*********1b4332e5c*********e077d7679*********664' \
Response
// This request has not been responded to.
