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
refactor(api_models): derive serialize on`PaymentsCaptureRequest` struct (#1129)
harsh-sharma-juspaye779ee78a47e
diff --git a/crates/api_models/src/payments.rs b/crates/api_models/src/payments.rsindex bf774e6b69..59671836ae 100644--- a/crates/api_models/src/payments.rs+++ b/crates/api_models/src/payments.rs@@ -945,7 +945,7 @@ pub struct PhoneDetails {pub country_code: Option<String>,}-#[derive(Debug, Clone, Default, Eq, PartialEq, serde::Deserialize, ToSchema)]+#[derive(Debug, Clone, Default, Eq, PartialEq, serde::Deserialize, serde::Serialize, ToSchema)]pub struct PaymentsCaptureRequest {/// The unique identifier for the paymentpub payment_id: Option<String>,