If you're using a customised consent authentication web application, you may use the Data Reporting API to publish events from the application. Invoke the Data Reporting API in all the relevant places to publish the PSU and authorisation data to the reporting databases. For more information on Data Reporting, see PSD2 Data Reporting.
In the following scenarios, events are captured using the consent authorisation web app:
- The user visiting the consent page
- After the user authorising/denying the consent
In the scenarios above, Accounts, Payments or Confirmation of Funds (COF) API is invoked. Given below are sample requests to invoke the Data Reporting API. Update the request body according to the scenario that you want to capture the events.
The user visiting the consent page
After the user authorising/denying the consent