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(dlocal,ucs): GCash Recurring + customer document plumbing to UCS (#12686)
10X-GRACE3fa20faf38cf
diff --git a/Cargo.lock b/Cargo.lockindex 897e2b4099..2b49fc2ea1 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -2264,7 +2264,7 @@ dependencies = [[[package]]name = "config_patch_derive"version = "0.1.0"-source = "git+https://github.com/juspay/connector-service?tag=2026.06.08.1#e4d6fadca056982c4e89f4c3d595c2631dfa2be6"+source = "git+https://github.com/juspay/connector-service?tag=2026.06.10.0#1044ccf1d636eed98e70fbf06acc18ecc78d5be8"dependencies = ["proc-macro2","quote",@@ -3981,7 +3981,7 @@ checksum = "32619942b8be646939eaf3db0602b39f5229b74575b67efc897811ded1db4e57"[[package]]name = "grpc-api-types"version = "0.1.0"-source = "git+https://github.com/juspay/connector-service?tag=2026.06.08.1#e4d6fadca056982c4e89f4c3d595c2631dfa2be6"+source = "git+https://github.com/juspay/connector-service?tag=2026.06.10.0#1044ccf1d636eed98e70fbf06acc18ecc78d5be8"dependencies = ["axum 0.8.4","bytes 1.10.1",@@ -8175,7 +8175,7 @@ dependencies = [[[package]]name = "rust-grpc-client"version = "0.1.0"-source = "git+https://github.com/juspay/connector-service?tag=2026.06.08.1#e4d6fadca056982c4e89f4c3d595c2631dfa2be6"+source = "git+https://github.com/juspay/connector-service?tag=2026.06.10.0#1044ccf1d636eed98e70fbf06acc18ecc78d5be8"dependencies = ["grpc-api-types",]@@ -11009,7 +11009,7 @@ checksum = "ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9"[[package]]name = "ucs_cards"version = "0.1.0"-source = "git+https://github.com/juspay/connector-service?tag=2026.06.08.1#e4d6fadca056982c4e89f4c3d595c2631dfa2be6"+source = "git+https://github.com/juspay/connector-service?tag=2026.06.10.0#1044ccf1d636eed98e70fbf06acc18ecc78d5be8"dependencies = ["bytes 1.10.1","error-stack 0.4.1",@@ -11025,7 +11025,7 @@ dependencies = [[[package]]name = "ucs_common_enums"version = "0.1.0"-source = "git+https://github.com/juspay/connector-service?tag=2026.06.08.1#e4d6fadca056982c4e89f4c3d595c2631dfa2be6"+source = "git+https://github.com/juspay/connector-service?tag=2026.06.10.0#1044ccf1d636eed98e70fbf06acc18ecc78d5be8"dependencies = ["serde","strum 0.26.3",@@ -11036,7 +11036,7 @@ dependencies = [[[package]]name = "ucs_common_utils"version = "0.1.0"-source = "git+https://github.com/juspay/connector-service?tag=2026.06.08.1#e4d6fadca056982c4e89f4c3d595c2631dfa2be6"+source = "git+https://github.com/juspay/connector-service?tag=2026.06.10.0#1044ccf1d636eed98e70fbf06acc18ecc78d5be8"dependencies = ["anyhow","base64 0.21.7",diff --git a/api-reference/v1/openapi_spec_v1.json b/api-reference/v1/openapi_spec_v1.jsonindex f7b086c86e..5555447d08 100644--- a/api-reference/v1/openapi_spec_v1.json+++ b/api-reference/v1/openapi_spec_v1.json@@ -19736,7 +19736,9 @@"description": "Represents the type of identification document used for validation.","enum": ["cpf",- "cnpj"+ "cnpj",+ "psn",+ "other"]},"DokuBankTransferInstructions": {diff --git a/api-reference/v2/openapi_spec_v2.json b/api-reference/v2/openapi_spec_v2.jsonindex 3041a8ca71..103cdba7ae 100644--- a/api-reference/v2/openapi_spec_v2.json+++ b/api-reference/v2/openapi_spec_v2.json@@ -13688,7 +13688,9 @@"description": "Represents the type of identification document used for validation.","enum": ["cpf",- "cnpj"+ "cnpj",+ "psn",+ "other"]},"DokuBankTransferInstructions": {diff --git a/crates/api_models/src/payments.rs b/crates/api_models/src/payments.rsindex 1858aef374..ddd5a42ae2 100644--- a/crates/api_models/src/payments.rs+++ b/crates/api_models/src/payments.rs@@ -4810,6 +4810,7 @@ impl DocumentDetails {match self.document_type {DocumentKind::Cpf => (Some(self.document_number.clone()), None),DocumentKind::Cnpj => (None, Some(self.document_number.clone())),+ DocumentKind::Psn | DocumentKind::Other => (None, None),}}}diff --git a/crates/common_types/src/customers.rs b/crates/common_types/src/customers.rsindex fc1930a537..caee09205b 100644--- a/crates/common_types/src/customers.rs+++ b/crates/common_types/src/customers.rs@@ -52,6 +52,12 @@ pub enum DocumentKind {Cpf,/// Cadastro Nacional da Pessoa Jurídica - The Brazilian business identifier.Cnpj,+ /// Philippine PhilSys Number (PSN) — a randomly-generated 12-digit national ID,+ /// required by dLocal for GCash.+ Psn,+ /// Generic / other non-Brazilian national document. Carried through to the connector+ /// without a Brazil-specific checksum; the connector/PSP validates the value per country.+ Other,}impl DocumentKind {@@ -63,6 +69,23 @@ impl DocumentKind {match self {Self::Cpf => self.validate_cpf(doc_number),Self::Cnpj => self.validate_cnpj(doc_number),+ Self::Psn => self.validate_psn(doc_number),+ Self::Other => Ok(()),+ }+ }++ /// The Philippine PhilSys Number (PSN) is a randomly-generated 12-digit national ID+ /// with no checksum; validate that it is exactly 12 numeric digits.+ fn validate_psn(+ self,+ doc_number: &str,+ ) -> common_utils::errors::CustomResult<(), ValidationError> {+ if doc_number.len() == 12 && doc_number.bytes().all(|b| b.is_ascii_digit()) {+ Ok(())+ } else {+ Err(error_stack::Report::new(ValidationError::InvalidValue {+ message: "Invalid PSN: expected exactly 12 digits".to_string(),+ }))}}diff --git a/crates/connector_configs/toml/development.toml b/crates/connector_configs/toml/development.tomlindex 932fbcdfa7..14367b7148 100644--- a/crates/connector_configs/toml/development.toml+++ b/crates/connector_configs/toml/development.toml@@ -2429,6 +2429,24 @@ key1="Username"payment_method_type = "UnionPay"[[dlocal.voucher]]payment_method_type = "oxxo"+[[dlocal.voucher]]+ payment_method_type = "boleto"+[[dlocal.voucher]]+ payment_method_type = "efecty"+[[dlocal.voucher]]+ payment_method_type = "pago_efectivo"+[[dlocal.voucher]]+ payment_method_type = "red_pagos"+[[dlocal.voucher]]+ payment_method_type = "indomaret"+[[dlocal.wallet]]+ payment_method_type = "gcash"+[[dlocal.wallet]]+ payment_method_type = "dana"+[[dlocal.bank_transfer]]+ payment_method_type = "pix"+[[dlocal.bank_transfer]]+ payment_method_type = "pse"[dlocal.connector_auth.SignatureKey]api_key="X Login"key1="X Trans Key"diff --git a/crates/connector_configs/toml/production.toml b/crates/connector_configs/toml/production.tomlindex 1a4b7d4457..67b23768cb 100644--- a/crates/connector_configs/toml/production.toml+++ b/crates/connector_configs/toml/production.toml@@ -2066,6 +2066,24 @@ payment_method_type = "CartesBancaires"payment_method_type = "UnionPay"[[dlocal.voucher]]payment_method_type = "oxxo"+[[dlocal.voucher]]+ payment_method_type = "boleto"+[[dlocal.voucher]]+ payment_method_type = "efecty"+[[dlocal.voucher]]+ payment_method_type = "pago_efectivo"+[[dlocal.voucher]]+ payment_method_type = "red_pagos"+[[dlocal.voucher]]+ payment_method_type = "indomaret"+[[dlocal.wallet]]+ payment_method_type = "gcash"+[[dlocal.wallet]]+ payment_method_type = "dana"+[[dlocal.bank_transfer]]+ payment_method_type = "pix"+[[dlocal.bank_transfer]]+ payment_method_type = "pse"[dlocal.connector_auth.SignatureKey]api_key = "X Login"key1 = "X Trans Key"diff --git a/crates/connector_configs/toml/sandbox.toml b/crates/connector_configs/toml/sandbox.tomlindex f993505c26..384b7a5c68 100644--- a/crates/connector_configs/toml/sandbox.toml+++ b/crates/connector_configs/toml/sandbox.toml@@ -2406,6 +2406,24 @@ payment_method_type = "CartesBancaires"payment_method_type = "UnionPay"[[dlocal.voucher]]payment_method_type = "oxxo"+[[dlocal.voucher]]+ payment_method_type = "boleto"+[[dlocal.voucher]]+ payment_method_type = "efecty"+[[dlocal.voucher]]+ payment_method_type = "pago_efectivo"+[[dlocal.voucher]]+ payment_method_type = "red_pagos"+[[dlocal.voucher]]+ payment_method_type = "indomaret"+[[dlocal.wallet]]+ payment_method_type = "gcash"+[[dlocal.wallet]]+ payment_method_type = "dana"+[[dlocal.bank_transfer]]+ payment_method_type = "pix"+[[dlocal.bank_transfer]]+ payment_method_type = "pse"[dlocal.connector_auth.SignatureKey]api_key = "X Login"key1 = "X Trans Key"diff --git a/crates/external_services/Cargo.toml b/crates/external_services/Cargo.tomlindex d041c3dabd..505c1fe197 100644--- a/crates/external_services/Cargo.toml+++ b/crates/external_services/Cargo.toml@@ -74,7 +74,7 @@ http = "0.2.12"url = { version = "2.5.4", features = ["serde"] }quick-xml = { version = "0.31.0", features = ["serialize"] }-unified-connector-service-client = { git = "https://github.com/juspay/connector-service", tag = "2026.06.08.1", package = "rust-grpc-client" }+unified-connector-service-client = { git = "https://github.com/juspay/connector-service", tag = "2026.06.10.0", package = "rust-grpc-client" }open-feature = { version = "0.2.5", optional = true }superposition_provider = { version = "0.102.0", optional = true}superposition_types = "0.102.0"diff --git a/crates/external_services/src/grpc_client/unified_connector_service.rs b/crates/external_services/src/grpc_client/unified_connector_service.rsindex 58942bf93f..3df6929f28 100644--- a/crates/external_services/src/grpc_client/unified_connector_service.rs+++ b/crates/external_services/src/grpc_client/unified_connector_service.rs@@ -671,9 +671,9 @@ impl UnifiedConnectorServiceClient {*request.metadata_mut() = metadata;- self.payment_service_client- .clone()- .authorize(request)+ // Box the authorize future: the merged UCS proto request types are large enough+ // to trip clippy::large_futures when this is awaited inline.+ Box::pin(self.payment_service_client.clone().authorize(request)).await.map_err(|error| {error_stack::Report::new(UnifiedConnectorServiceError::from_grpc_error(diff --git a/crates/hyperswitch_connectors/src/connectors/santander/transformers.rs b/crates/hyperswitch_connectors/src/connectors/santander/transformers.rsindex 95869af76f..f8ba538640 100644--- a/crates/hyperswitch_connectors/src/connectors/santander/transformers.rs+++ b/crates/hyperswitch_connectors/src/connectors/santander/transformers.rs@@ -675,6 +675,11 @@ implSantanderDocumentKind::Cnpj,Some(customer_document_details.document_number),),+ common_types::customers::DocumentKind::Psn+ | common_types::customers::DocumentKind::Other => (+ SantanderDocumentKind::Cpf,+ Some(customer_document_details.document_number),+ ),};let order_id = value@@ -818,6 +823,10 @@ implcommon_types::customers::DocumentKind::Cnpj => {(None, Some(customer_document_details.document_number))}+ common_types::customers::DocumentKind::Psn+ | common_types::customers::DocumentKind::Other => {+ (Some(customer_document_details.document_number), None)+ }};let (calendar, debtor) = match &value@@ -1286,6 +1295,8 @@ impl From<common_types::customers::DocumentKind> for SantanderDocumentKind {match item {common_types::customers::DocumentKind::Cnpj => Self::Cnpj,common_types::customers::DocumentKind::Cpf => Self::Cpf,+ common_types::customers::DocumentKind::Psn+ | common_types::customers::DocumentKind::Other => Self::Cpf,}}}@@ -2342,6 +2353,10 @@ implcommon_types::customers::DocumentKind::Cnpj => {(None, Some(details.document_number.clone()))}+ common_types::customers::DocumentKind::Psn+ | common_types::customers::DocumentKind::Other => {+ (Some(details.document_number.clone()), None)+ }}).ok_or(errors::ConnectorError::MissingRequiredField {field_name: "customer.document_details",@@ -2613,6 +2628,10 @@ impl TryFrom<&PaymentsPushNotificationRouterData> for SantanderPixAutomaticSoliccommon_types::customers::DocumentKind::Cnpj => {(None, Some(customer_document_details.document_number))}+ common_types::customers::DocumentKind::Psn+ | common_types::customers::DocumentKind::Other => {+ (Some(customer_document_details.document_number), None)+ }};Ok(Self {diff --git a/crates/hyperswitch_interfaces/Cargo.toml b/crates/hyperswitch_interfaces/Cargo.tomlindex 67f5c5325d..a00419b555 100644--- a/crates/hyperswitch_interfaces/Cargo.toml+++ b/crates/hyperswitch_interfaces/Cargo.toml@@ -33,7 +33,7 @@ time = "0.3.41"tonic = "0.14"url = { version = "2.5.4", features = ["serde"] }-unified-connector-service-client = { git = "https://github.com/juspay/connector-service", tag = "2026.06.08.1", package = "rust-grpc-client" }+unified-connector-service-client = { git = "https://github.com/juspay/connector-service", tag = "2026.06.10.0", package = "rust-grpc-client" }tokio = { version = "1.45.1", features = ["macros", "rt-multi-thread"] }# First party cratesdiff --git a/crates/router/Cargo.toml b/crates/router/Cargo.tomlindex ac6934456c..7b80ed97c5 100644--- a/crates/router/Cargo.toml+++ b/crates/router/Cargo.toml@@ -91,8 +91,8 @@ ring = "0.17.14"rust_decimal = { version = "1.37.1", features = ["serde-with-float", "serde-with-str"] }rust-i18n = { git = "https://github.com/kashif-m/rust-i18n", rev = "f2d8096aaaff7a87a847c35a5394c269f75e077a" }-unified-connector-service-client = { git = "https://github.com/juspay/connector-service", tag = "2026.06.08.1", package = "rust-grpc-client" }-unified-connector-service-cards = { git = "https://github.com/juspay/connector-service", tag = "2026.06.08.1", package = "ucs_cards" }+unified-connector-service-client = { git = "https://github.com/juspay/connector-service", tag = "2026.06.10.0", package = "rust-grpc-client" }+unified-connector-service-cards = { git = "https://github.com/juspay/connector-service", tag = "2026.06.10.0", package = "ucs_cards" }rustc-hash = "1.1.0"rustls = "0.22"rustls-pemfile = "2"diff --git a/crates/router/src/core/unified_connector_service.rs b/crates/router/src/core/unified_connector_service.rsindex 147480d54f..e92468c863 100644--- a/crates/router/src/core/unified_connector_service.rs+++ b/crates/router/src/core/unified_connector_service.rs@@ -1431,6 +1431,13 @@ pub fn build_unified_connector_service_payment_method(})),})}+ hyperswitch_domain_models::payment_method_data::WalletData::GcashRedirect(_) => {+ Ok(payments_grpc::PaymentMethod {+ payment_method: Some(PaymentMethod::GcashRedirect(+ payments_grpc::GcashRedirectWallet {},+ )),+ })+ }_ => Err(UnifiedConnectorServiceError::NotImplemented(format!("Unimplemented payment method subtype: {payment_method_type:?}"))diff --git a/crates/router/src/core/unified_connector_service/transformers.rs b/crates/router/src/core/unified_connector_service/transformers.rsindex c7fbd5ec6c..b077735832 100644--- a/crates/router/src/core/unified_connector_service/transformers.rs+++ b/crates/router/src/core/unified_connector_service/transformers.rs@@ -83,6 +83,40 @@ pub fn build_upi_wait_screen_data(.attach_printable("Failed to serialize WaitScreenInstructions to JSON value")}+impl ForeignFrom<common_types::customers::DocumentKind> for payments_grpc::DocumentKind {+ fn foreign_from(document_kind: common_types::customers::DocumentKind) -> Self {+ match document_kind {+ common_types::customers::DocumentKind::Cpf => Self::Cpf,+ common_types::customers::DocumentKind::Cnpj => Self::Cnpj,+ common_types::customers::DocumentKind::Psn => Self::Psn,+ common_types::customers::DocumentKind::Other => Self::Other,+ }+ }+}++impl ForeignFrom<&api_models::customers::CustomerDocumentDetails>+ for payments_grpc::CustomerDocumentDetails+{+ fn foreign_from(details: &api_models::customers::CustomerDocumentDetails) -> Self {+ Self {+ document_type: payments_grpc::DocumentKind::foreign_from(details.document_type).into(),+ document_number: Some(details.document_number.clone()),+ }+ }+}++/// Maps the optional customer identification document on a `RouterData` to the+/// gRPC `CustomerDocumentDetails` sent to the Unified Connector Service.+/// Returns `None` when no document is present on the source data.+fn to_grpc_customer_document_details<F, Req, Res>(+ router_data: &RouterData<F, Req, Res>,+) -> Option<payments_grpc::CustomerDocumentDetails> {+ router_data+ .customer_document_details+ .as_ref()+ .map(payments_grpc::CustomerDocumentDetails::foreign_from)+}+impl transformers::ForeignTryFrom<&payments_grpc::AccessToken> for AccessToken {type Error = error_stack::Report<UnifiedConnectorServiceError>;@@ -162,6 +196,9 @@ implreturn_url: router_data.request.router_return_url.clone(),test_mode: router_data.test_mode,customer: Some(payments_grpc::Customer {+ first_name: None,+ last_name: None,+ salutation: None,name: None,email: None,id: router_data@@ -171,8 +208,12 @@ implconnector_customer_id: router_data.connector_customer.clone(),phone_number: None,phone_country_code: None,+ customer_document_details: to_grpc_customer_document_details(router_data),}),- state: None,+ state: router_data+ .access_token+ .as_ref()+ .map(ConnectorState::foreign_from),})}}@@ -263,6 +304,9 @@ implrouter_data.request.request_incremental_authorization,),customer: Some(payments_grpc::Customer {+ first_name: None,+ last_name: None,+ salutation: None,name: router_data.request.customer_name@@ -281,6 +325,7 @@ implconnector_customer_id: router_data.connector_customer.clone(),phone_number: None,phone_country_code: None,+ customer_document_details: to_grpc_customer_document_details(router_data),}),browser_info,session_token: router_data.session_token.clone(),@@ -482,6 +527,9 @@ implrouter_data.request.request_incremental_authorization,),customer: Some(payments_grpc::Customer {+ first_name: None,+ last_name: None,+ salutation: None,name: None,email: router_data.request@@ -492,6 +540,7 @@ implconnector_customer_id: router_data.connector_customer.clone(),phone_number: None,phone_country_code: None,+ customer_document_details: to_grpc_customer_document_details(router_data),}),browser_info,session_token: router_data.session_token.clone(),@@ -859,6 +908,9 @@ impl}),payment_method,customer: Some(payments_grpc::Customer {+ first_name: None,+ last_name: None,+ salutation: None,name: None,email: router_data.request@@ -869,6 +921,7 @@ implconnector_customer_id: router_data.connector_customer.clone(),phone_number: None,phone_country_code: None,+ customer_document_details: to_grpc_customer_document_details(router_data),}),address: Some(address),authentication_data,@@ -948,6 +1001,9 @@ impl}),payment_method,customer: Some(payments_grpc::Customer {+ first_name: None,+ last_name: None,+ salutation: None,name: None,email: router_data.request@@ -958,6 +1014,7 @@ implconnector_customer_id: router_data.connector_customer.clone(),phone_number: None,phone_country_code: None,+ customer_document_details: to_grpc_customer_document_details(router_data),}),address: Some(address),authentication_data: None,@@ -1038,6 +1095,9 @@ impl}),payment_method: Some(payment_method),customer: Some(payments_grpc::Customer {+ first_name: None,+ last_name: None,+ salutation: None,name: router_data.request.customer_name@@ -1052,6 +1112,7 @@ implconnector_customer_id: router_data.connector_customer.clone(),phone_number: None,phone_country_code: None,+ customer_document_details: to_grpc_customer_document_details(router_data),}),address: Some(address),enrolled_for_3ds: router_data.request.enrolled_for_3ds,@@ -1223,6 +1284,9 @@ implenrolled_for_3ds: Some(false),request_incremental_authorization: Some(false),customer: Some(payments_grpc::Customer {+ first_name: None,+ last_name: None,+ salutation: None,name: None,email: router_data.request@@ -1233,6 +1297,7 @@ implconnector_customer_id: router_data.connector_customer.clone(),phone_number: None,phone_country_code: None,+ customer_document_details: to_grpc_customer_document_details(router_data),}),browser_info,locale: None,@@ -1375,6 +1440,9 @@ impl.order_tax_amount.map(|order_tax_amount| order_tax_amount.get_amount_as_i64()),customer: Some(payments_grpc::Customer {+ first_name: None,+ last_name: None,+ salutation: None,name: router_data.request.customer_name@@ -1393,6 +1461,7 @@ implconnector_customer_id: router_data.connector_customer.clone(),phone_number: None,phone_country_code: None,+ customer_document_details: to_grpc_customer_document_details(router_data),}),capture_method: capture_method.map(|capture_method| capture_method.into()),webhook_url: router_data.request.webhook_url.clone(),@@ -1542,6 +1611,9 @@ implrouter_data.request.request_incremental_authorization,),customer: Some(payments_grpc::Customer {+ first_name: None,+ last_name: None,+ salutation: None,name: router_data.request.customer_name@@ -1560,6 +1632,7 @@ implconnector_customer_id: router_data.connector_customer.clone(),phone_number: None,phone_country_code: None,+ customer_document_details: to_grpc_customer_document_details(router_data),}),browser_info,locale: None,@@ -1687,6 +1760,9 @@ impl}),payment_method: Some(payment_method),customer: Some(payments_grpc::Customer {+ first_name: None,+ last_name: None,+ salutation: None,name: router_data.request.customer_name@@ -1705,6 +1781,7 @@ implconnector_customer_id: router_data.connector_customer.clone(),phone_number: None,phone_country_code: None,+ customer_document_details: to_grpc_customer_document_details(router_data),}),address: Some(address),auth_type: auth_type.into(),@@ -1962,7 +2039,11 @@ impl.transpose()?.map(|currency| currency.into()),l2_l3_data: None,+ customer_document_details: to_grpc_customer_document_details(router_data),customer: Some(payments_grpc::Customer {+ first_name: None,+ last_name: None,+ salutation: None,name: router_data.request.customer_name@@ -1980,6 +2061,7 @@ implconnector_customer_id: router_data.connector_customer.clone(),phone_number: None,phone_country_code: None,+ customer_document_details: to_grpc_customer_document_details(router_data),}),})}@@ -2022,6 +2104,9 @@ impl transformers::ForeignTryFrom<&RouterData<Session, PaymentsSessionData, Paym.map(|payment_method_type| payment_method_type.into()),country_alpha2_code: country,customer: Some(payments_grpc::Customer {+ first_name: None,+ last_name: None,+ salutation: None,name: router_data.request.customer_name@@ -2039,6 +2124,7 @@ impl transformers::ForeignTryFrom<&RouterData<Session, PaymentsSessionData, Paymconnector_customer_id: router_data.connector_customer.clone(),phone_number: None,phone_country_code: None,+ customer_document_details: to_grpc_customer_document_details(router_data),}),return_url: None,metadata: None,@@ -6230,6 +6316,10 @@ impl ForeignFrom<&router_request_types::CustomerDetails> for payments_grpc::Custemail: customer.email.clone().map(|e| e.expose().expose().into()),phone_number: customer.phone.clone().map(|s| s.expose()),phone_country_code: customer.phone_country_code.clone(),+ first_name: None,+ last_name: None,+ salutation: None,+ customer_document_details: None,}}}