Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

audit trail - add connector events #3320

Closed
ivor-juspay opened this issue Jan 10, 2024 · 0 comments · Fixed by #3319
Closed

audit trail - add connector events #3320

ivor-juspay opened this issue Jan 10, 2024 · 0 comments · Fixed by #3319
Assignees

Comments

@ivor-juspay
Copy link
Contributor

ivor-juspay commented Jan 10, 2024

Connector Events Audit trail

Build a connector events audit trail endpoint for fetching all events from connector_events_audit table for ops audit trail.

Image

can refer to the existing API Events audit trail implementation here

curl --location 'https://sandbox.hyperswitch.io/analytics/v1/api_event_logs?type=Payment&payment_id=pay_yEsFwSqi6Umv8LVGFFPD' \
--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiNjBmZDAyNzAtNTE1MS00MWVhLWJiMWItMGY0ZWExZGNmYjQzIiwibWVyY2hhbnRfaWQiOiJtZXJjaGFudF8xNjg5OTI0ODQzIiwicm9sZV9pZCI6Im1lcmNoYW50X2FkbWluIiwiZXhwIjoxNzA0ODgyODg5LCJvcmdfaWQiOiJvcmdfRk5ZWjhQaE5CQjdtV1hodWxWQW0ifQ.LCgIW8uMGVo2WRFt2irzQ1D8sHuRBSbeRkTGt1qxsXM'

The API contract would involve a simple GET analytics/v1/connector_event_logs path.
with similar response format as above curl request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants