Reports
A report aggregates data for a given topic. We current support USER
, TRANSACTION
and REGULATORY
reports.
This document will guide you on how to create, and get report details.
Creating a Report
To create a report:
Make a POST
request to /reports
URL and emails
You can specify a url
and/or email
when creating a report request. The resulting report will be sent to the specified url
and/or email
.
If neither email or url is specified, the report will be sent to the organization’s email on file
Retrieving Reports
When requesting report details you can do so either by getting:
- A list of reports
- An report by a given Id
List of Reports
Make a GET
request to /reports.
This endpoint can be paginated and sorted.
Report by Id
Make a GET
request to /reports/{reportId}
Entity Reference
Property | Definition |
---|---|
reportId | Unique report identifier |
reportTypes | List of report types |
status | Current status of the report |
url | A valid url to receive the report |
email | A valid email to receive the report |
createdAt | Created at unix timestamp |
updatedAt | Updated at unix timestamp |
Status
Name | Definition |
---|---|
PROCESSING | Report is currenting processing |
COMPLETED | Report has completed processing |
ERROR | Report processing ended in an error |
Report Types
Name | Definition |
---|---|
USER | User reports |
TRANSACTION | Transaction reports |
REGULATORY | Regulatory reports |
Webhook Subscriptions
Subscription | Definition | Domain |
---|---|---|
REPORT | Only events that deal with reports | Reports |