AI resources
Download Other Operations report

Downloads a generated Other Operations report in CSV or XLSX format. The file is available only when the report status is available; large reports can be returned as compressed ZIP files and must be decompressed by your client. In case of success, the request returns a response with status 200.

GET

https://api.mercadopago.com/v1/reporting/operations/{reportId}/statements/{uid}/download
Request parameters
Header
Authorization
string

REQUIRED

Access Token obtained through the developer panel. Must be sent in all requests.
Path
reportId
string

REQUIRED

Type of Other Operations report to download. It must match the reportId used to generate the task identified by uid. The possible values are:
activities_collection: Collection report.
activities_after_collection: Post-collection report.
activities_withdraw: Withdrawal report.
uid
string

REQUIRED

Unique identifier (UUID) of the generation task whose report file will be downloaded. This value is returned as record_id when the report is created and matches the id returned when checking the task. The task must h
Query
format
string
Format of the report file. The default value is csv. The possible values are:
csv: Comma-separated values format (CSV).
xlsx: Microsoft Excel format.
Response parameters
Esta solicitação não tem resposta
Errors

400Unsupported file format.

file_type_not_supported

The requested file format is not supported. Set the format query parameter to csv or xlsx and try the download again.

409Report is still being processed.

report_not_processed

The report is not available for download because generation has not finished. Check its status and retry only when it is available.

Request
curl -X GET \
    'https://api.mercadopago.com/v1/reporting/operations/{reportId}/statements/{uid}/download?format=csv'\
    -H 'Content-Type: application/json' \
       -H 'Authorization: Bearer APP_USR-1*********685765-12*********1b4332e5c*********e077d7679*********664' \
    
Response
// This request has not been responded to.