feat(webhook): add filter by event class and type#7275
Merged
likhinbopanna merged 11 commits intomainfrom Apr 11, 2025
Merged
Conversation
Changed Files
|
4e2d845 to
40790fb
Compare
SanchithHegde
approved these changes
Apr 3, 2025
jarnura
approved these changes
Apr 9, 2025
pixincreate
added a commit
that referenced
this pull request
Apr 15, 2025
…acilitapay-pix-pmt * 'main' of github.com:juspay/hyperswitch: feat(docker): add webhook notifiers for installation tracking (#7653) refactor(customer): refactor customer db with storage utils and move trait to domain_models and impl to storage_model (#7538) feat(core): Add support for updating metadata after payment has been authorized (#7776) chore(version): 2025.04.14.0 fix: script for one click docker setup (#7762) fix(payment_link): add validation for return_url during payment link creation (#7802) chore: address Rust 1.86.0 clippy lints (#7735) fix(connector): Add network error message support for payment connectors (#7760) feat(webhook): add filter by event class and type (#7275) ci(cypress): verify if card fields are populated on updating card info (#7743) chore(version): 2025.04.11.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type of Change
Description
Webhook events can be filtered based on a list of event classes and event types. This PR also changes the endpoints
/events/{merchant_id}and/events/profile/listto POST request.Additional Changes
Motivation and Context
This feature enhances the API by allowing merchants to filter webhook events with a list of event classes and event types. Additionally, validation ensures that only valid event class-event type combinations are used.
How did you test it?
Checklist
cargo +nightly fmt --allcargo clippy