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
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
feat(connector): [Cybersource] add `responseMsg.TokenInformation.Customer.Id` to payment response (#11334)
Akshaya Shankar0269bdce8490
diff --git a/crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs b/crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rsindex c88c546215..e7e94577cd 100644--- a/crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs+++ b/crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs@@ -3210,8 +3210,14 @@ pub struct ClientRiskInformationRules {#[serde(rename_all = "camelCase")]pub struct CybersourceTokenInformation {payment_instrument: Option<CybersoucrePaymentInstrument>,+ customer: Option<CybersourceCustomerResponse>,}+#[derive(Debug, Clone, Deserialize, Serialize)]+#[serde(rename_all = "camelCase")]+pub struct CybersourceCustomerResponse {+ id: Option<String>,+}#[derive(Debug, Clone, Deserialize, Serialize)]pub struct CybersourceErrorInformation {reason: Option<String>,