Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

fix(routes): register handler for retrieve disput evidence endpoint (#1516)

Kritik Modi6bc4188ff981
diff --git a/crates/router/src/routes/app.rs b/crates/router/src/routes/app.rs
index ae78a01a50..a2219f77a3 100644
--- a/crates/router/src/routes/app.rs
+++ b/crates/router/src/routes/app.rs
@@ -465,6 +465,10 @@ impl Disputes {
.route(web::post().to(submit_dispute_evidence))
.route(web::put().to(attach_dispute_evidence)),
)
+ .service(
+ web::resource("/evidence/{dispute_id}")
+ .route(web::get().to(retrieve_dispute_evidence)),
+ )
.service(web::resource("/{dispute_id}").route(web::get().to(retrieve_dispute)))
}
}