Enable automatic generationhttps://api.mercadopago.com/v1/account/settlement_report/schedule
This endpoint enables automatic report creation using the frequency assigned during configuration. When consuming this service, the 'scheduled' property will be automatically updated to true. In case of success, the request will return a response with status 200.
POST
Request parameters
Header
Authorization
Access Token obtained through the developer panel. Must be sent in all requests.string
REQUIRED
Response parameters
id
This field indicates the unique identifier of the report generation task.number
account_id
Unique identifier of the account associated with the report.number
begin_date
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).string
created_from
This field indicates how the report was generated, being 'manual' for manually generated reports and 'schedule' for scheduled reports.string
Errors
401Unauthorized.
Invalid token
Invalid token.
Request
curl -X POST \
'https://api.mercadopago.com/v1/account/settlement_report/schedule'\
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer APP_USR-8*********932064-12*********edf6d3c99*********2236c703f*********668' \
Response
{
"id": 99336983670,
"account_id": 167345291,
"begin_date": "2022-08-01T03:00:00Z",
"created_from": "schedule",
"currency_id": "ARS",
"end_date": "2022-08-08T02:59:59Z",
"generation_date": "2024-02-16T15:55:22.258-04:00",
"is_reserve": false,
"is_test": false,
"last_modified": "2024-02-16T15:55:22.261-04:00",
"report_id": 17012160,
"retries": 0,
"status": "processed",
"sub_type": "settlement",
"user_id": 123456789,
"format": "CSV"
}