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(connector): [WISE] Changed error status to string (#7468)

Debarshi Guptafa7971f56db0
diff --git a/crates/router/src/connector/wise/transformers.rs b/crates/router/src/connector/wise/transformers.rs
index 513a762bfd..d3e9efa0f7 100644
--- a/crates/router/src/connector/wise/transformers.rs
+++ b/crates/router/src/connector/wise/transformers.rs
@@ -56,7 +56,7 @@ impl TryFrom<&types::ConnectorAuthType> for WiseAuthType {
pub struct ErrorResponse {
pub timestamp: Option<String>,
pub errors: Option<Vec<SubError>>,
- pub status: Option<i32>,
+ pub status: Option<String>,
pub error: Option<String>,
pub error_description: Option<String>,
pub message: Option<String>,