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(users): Trustpay refund url update (#6251)

Suman Majif4830ebaae5d
diff --git a/crates/router/src/connector/trustpay.rs b/crates/router/src/connector/trustpay.rs
index deb7ec7961..6562ba3197 100644
--- a/crates/router/src/connector/trustpay.rs
+++ b/crates/router/src/connector/trustpay.rs
@@ -688,7 +688,7 @@ impl ConnectorIntegration<api::Execute, types::RefundsData, types::RefundsRespon
req.request.connector_transaction_id,
"/Refund"
)),
- _ => Ok(format!("{}{}", self.base_url(connectors), "api/v1/Reverse")),
+ _ => Ok(format!("{}{}", self.base_url(connectors), "api/v1/Refund")),
}
}