Echo reports
Mangopay Echo provides 4 report types that give your platform full visibility on your declared intents, the payment lifecycle, reconciliation in settlements, and the subsequent splits to sellers.
You can access these reports in the Dashboard in Reports > Fees wallets tab. Contact your platform’s Dashboard admin if you don’t see the Reports feature in the side navigation.
In the Dashboard, as well as running reports manually, you can schedule reports to be generated automatically at regular intervals, such as daily, weekly, monthly, and quarterly.
Types and columns
Intents
Columns
Intent actions
Columns
Settlements
Columns
Splits
Columns
Generate via API
Set up webhooks
The API endpoint for the Echo reports uses webhooks to notify your chosen URL that a report is ready for download.
The time it takes for a report to be generated depends on the quantity of data. If exporting large amounts of data via API, ensure you have these webhook event types set up to know when to fetch the report:
REPORT_GENERATED– Indicates that a report is ready for download at theDownloadURLREPORT_FAILED– Indicates that a report was not generated successfully
Define filters and columns
The available sub-parameters of the Filters parameter for the Echo reports depend on the type, which is defined in the ReportType field.
Intents and actions
Settlements
Splits
All available columns are set by default on the Echo reports. You can customize this in the Columns parameter by sending the full list of columns you wish to see in the report.
Run the report
Run the report by calling the POST Create a Report endpoint and setting the relevant ReportType.
Send your desired date period in the AfterDate and BeforeDate fields, which refer to the object CreationDate for Echo reports. Ensure that the difference between them is no more than 12 months and the AfterDate is not earlier than January 1 of the previous calendar year (N-1).
Send your defined filters in the Filters parameter and, if not using the default columns, the full list of columns you wish to include in the Columns parameter.
The API response shows the Status as PENDING, indicating that the report is being generated.
Download when ready
The report is ready for download when its status changes from PENDING to GENERATED, which triggers the REPORT_GENERATED webhook.
Call the GET View a Report endpoint to retrieve the DownloadURL value where you can download the report.
If the Status changes to FAILED, triggering the REPORT_FAILED webhook, then more information about why the report could not be generated is available in the ResultCode and ResultMessage.