Home
Documentation
Resources
Partners
Community

Resources

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

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.

Create report - Releases - Mercado Pago Developers

Intelligent search powered by OpenAI 

Create report

POST

https://api.mercadopago.com/v1/account/release_report
This endpoint allows to manually create a new report within a specific date range.
Request's parameters
BODY
begin_date
string

REQUIRED

This field indicates the start date and time of the interval for the report, in the UTC time zone (indicated by the 'Z' at the end, which stands for 'Zulu time' or Coordinated Universal Time).
end_date
string

REQUIRED

This field indicates the end date and time of the interval for the report, in the UTC time zone (indicated by the 'Z' at the end, which stands for 'Zulu time' or Coordinated Universal Time).
Response parameters
id
number
This field indicates the unique identifier of the generated report.
account_id
number
This field indicates the unique identifier of the account associated with the report.
begin_date
string
It is the start date and time of the report interval, in the UTC time zone (indicated by the 'Z' at the end, which stands for 'Zulu time' or Coordinated Universal Time).
created_from
string
This field indicates how the report was generated, being 'manual' for manually generated reports and 'schedule' for scheduled reports.
Errors

400Bad request.

invalid_begin_date

You must specify 'begin_date' parameter.

invalid_end_date

You must specify 'end_date' parameter.

end_date_before_begin_date

Begin date should be before end date.

end_date_before_begin_date

Begin date should be before end date.

401Unauthorized.

Invalid token

Invalid token.

Request
curl -X POST \
    'https://api.mercadopago.com/v1/account/release_report'\
    -H 'Content-Type: application/json' \
       -H 'Authorization: Bearer TEST-8971*********918-01191*********5874530a4*********4799fdf-1*********' \
    -d '{
  "begin_date": "2019-05-01T00:00:00Z",
  "end_date": "2019-06-01T00:00:00Z"
}'
Sample answer
{
  "id": 99336983670,
  "account_id": 167345291,
  "begin_date": "2022-08-01T03:00:00Z",
  "created_from": "manual",
  "currency_id": "ARS",
  "end_date": "2022-08-08T02:59:59Z",
  "generation_date": "2024-02-16T15:55:22.258-04:00",
  "internal_management": [
    {
      "is_visible": true,
      "notify": false,
      "use_exact_time": true
    }
  ],
  "is_reserve": false,
  "is_test": false,
  "last_modified": "2024-02-16T15:55:22.261-04:00",
  "report_id": 17012160,
  "retries": 0,
  "status": "pending",
  "sub_type": "release",
  "user_id": 123456789,
  "format": "CSV"
}