mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
feat(core): store customer_acceptance in the payment_methods table (#3885)
This commit is contained in:
@ -348,9 +348,12 @@ pub struct PaymentsRequest {
|
||||
#[remove_in(PaymentsUpdateRequest, PaymentsCreateRequest)]
|
||||
pub client_secret: Option<String>,
|
||||
|
||||
/// Passing this object during payments creates a mandate. The mandate_type sub object is passed by the server usually and the customer_acceptance sub object is usually passed by the SDK or client
|
||||
/// Passing this object during payments creates a mandate. The mandate_type sub object is passed by the server.
|
||||
pub mandate_data: Option<MandateData>,
|
||||
|
||||
/// Passing this object during payments confirm . The customer_acceptance sub object is usually passed by the SDK or client
|
||||
pub customer_acceptance: Option<CustomerAcceptance>,
|
||||
|
||||
/// A unique identifier to link the payment to a mandate. To do Recurring payments after a mandate has been created, pass the mandate_id instead of payment_method_data
|
||||
#[schema(max_length = 255, example = "mandate_iwer89rnjef349dni3")]
|
||||
#[remove_in(PaymentsUpdateRequest)]
|
||||
|
||||
Reference in New Issue
Block a user