refactor(payment_methods): make the card_holder_name optional for card details in the payment APIs (#3074)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Chethan Rao
2023-12-08 17:58:42 +05:30
committed by GitHub
parent b283b6b662
commit b279591057
39 changed files with 170 additions and 78 deletions

View File

@ -682,7 +682,7 @@ pub struct Card {
/// The card holder's name
#[schema(value_type = String, example = "John Test")]
pub card_holder_name: Secret<String>,
pub card_holder_name: Option<Secret<String>>,
/// The CVC number for the card
#[schema(value_type = String, example = "242")]