GitClassic
Feed
Explore
Random
Go Pro
Sign in
juspay
/
hyperswitch
Code
/
Commits
/ 89fce11
feat(core): Added Dual Refunds Validation - Chargeback+Refund (#10533)
Co-authored-by: Sayak Bhattacharya <sayak.b@Sayak-Bhattacharya-G092THXJ34.local> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Sayak Bhattacharya
committed on Jan 16, 2026, 02:17 PM
Showing
21
changed files
+614 additions
-25 deletions
M
api-reference/v1/openapi_spec_v1.json
+10
-1
M
api-reference/v2/openapi_spec_v2.json
+10
-1
M
crates/api_models/src/disputes.rs
+6
-1
M
crates/common_enums/src/enums.rs
+6
M
crates/common_types/src/payments.rs
+49
M
crates/diesel_models/src/dispute.rs
+10
M
crates/diesel_models/src/payment_intent.rs
+87
-2
M
crates/diesel_models/src/schema.rs
+1
M
crates/diesel_models/src/schema_v2.rs
+1
M
crates/hyperswitch_domain_models/src/payments.rs
+43
M
crates/hyperswitch_domain_models/src/payments/payment_intent.rs
+83
M
crates/router/src/core/disputes.rs
+50
-15
M
crates/router/src/core/payments.rs
+113
M
crates/router/src/core/payments/helpers.rs
+3
M
crates/router/src/core/payments/operations/payment_create.rs
+1
M
crates/router/src/core/refunds.rs
+57
-3
M
crates/router/src/core/webhooks/incoming.rs
+75
-2
M
crates/router/src/types/transformers.rs
+2
M
crates/router/src/utils/user/sample_data.rs
+1
A
migrations/2025-12-03-122636_add_state_to_payment_intent/down.sql
+3
A
migrations/2025-12-03-122636_add_state_to_payment_intent/up.sql
+3
Browse files at this commit โ