juspay/hyperswitch

[REFACTOR] remove redundant fields from webhook_details API and DB models

Open

#8.468 geöffnet am 26. Juni 2025

Auf GitHub ansehen
 (6 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Rust (4.676 Forks)batch import
good first issue

Repository-Metriken

Stars
 (42.690 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 6T 22h) (213 gemergte PRs in 30 T)

Beschreibung

Below fields are a part of WebhookDetails during merchant account creation / updation AND profile creation / updation.

pub payment_created_enabled: Option<bool>,
pub payment_succeeded_enabled: Option<bool>,
pub payment_failed_enabled: Option<bool>,

These fields are not being used in the backend flows and are redundant. These are needed to be removed for keeping the APIs clean.

Currently, they're being consumed in a few components

  • hyperswitch-control-center
  • hyperswitch postman tests
  • hyperswitch cypress tests

Once dependency on these fields is completely removed, these fields can be removed from API and DB models.

Contributor Guide