fix(payments): populate mandate_data in the response body of the PaymentsCreate endpoint (#1715)

This commit is contained in:
Kritik Modi
2023-07-17 18:55:02 +05:30
committed by GitHub
parent 87ae99f7f2
commit fb149cb0ff
2 changed files with 7 additions and 0 deletions

View File

@ -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 Payments 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.