This endpoint allows for the configuration of specific fields to customize preferences before initiating the report creation process. The settings will be applied in the generation of reports afterwards. Important: After creating the configuration, it will not be possible to use this endpoint to create a new one. To apply changes to the report configuration, update an existing configuration through the 'Update configurations' endpoint
POST
REQUIRED
REQUIRED
REQUIRED
400Error.
Invalid file_name_prefix
Invalid file name prefix.
Invalid execute_after_withdrawal
Invalid execute after withdrawal.
Invalid columns
Invalid columns.
Invalid frequency
Invalid frequency.
Invalid sftp info
Invalid SFTP info.
Invalid webhook
Invalid webhook.
Invalid file config
Invalid file config.
Invalid report_language
Invalid report language.
Invalid notification_email_list
Invalid notification email list.
401Unauthorized.
invalid token
Invalid token.
409Conflict.
Duplicated id
The record already exists.
curl -X POST \
'https://api.mercadopago.com/v1/account/release_report/config'\
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer APP_USR-7*********635832-03*********2ffa6c013*********0a90fa2cd*********120' \
-d '{
"columns": [
{
"key": "SOURCE_ID"
}
],
"file_name_prefix": "conciliation-settlement-report",
"frequency": {
"hour": 0,
"value": 1,
"type": "monthly"
},
"sftp_info": {
"server": "sftp.myserver.com",
"password": "mypassword",
"remote_dir": "/myfolder",
"port": 22,
"username": "username"
},
"separator": ";",
"display_timezone": "GMT-04",
"report_translation": "es",
"notification_email_list": [
{}
],
"include_withdrawal_at_end": false,
"check_available_balance": false,
"compensate_detail": false,
"execute_after_withdrawal": false,
"scheduled": false
}'{
"file_name_prefix": "release-report-USER_ID",
"notification_email_list": [
{}
],
"display_timezone": "GMT-04",
"include_withdrawal_at_end": true,
"scheduled": false,
"execute_after_withdrawal": false,
"columns": [
{
"key": "SOURCE_ID"
}
],
"report_translation": "es",
"frequency": {
"hour": 0,
"value": 1,
"type": "monthly"
}
}