mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 04:04:55 +08:00
fix(payments): populate mandate_data in the response body of the PaymentsCreate endpoint (#1715)
This commit is contained in:
@ -1433,6 +1433,7 @@ pub struct PaymentsResponse {
|
||||
pub mandate_id: Option<String>,
|
||||
|
||||
/// Provided mandate information for creating a mandate
|
||||
#[auth_based]
|
||||
pub mandate_data: Option<MandateData>,
|
||||
|
||||
/// Indicates that you intend to make future payments with this Payment’s payment method. Providing this parameter will attach the payment method to the Customer, if present, after the Payment is confirmed and any required actions from the user are complete.
|
||||
|
||||
Reference in New Issue
Block a user