refactor(openai): update open-api spec to have payment changes (#4043)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Amisha Prabhat
2024-03-12 16:18:13 +05:30
committed by GitHub
parent ce3625cb0c
commit 708cce9261
4 changed files with 46 additions and 3 deletions

View File

@ -354,6 +354,7 @@ pub struct PaymentsRequest {
pub mandate_data: Option<MandateData>,
/// Passing this object during payments confirm . The customer_acceptance sub object is usually passed by the SDK or client
#[schema(value_type = Option<CustomerAcceptance>)]
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