mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
feat(core): Add cardbrand union fetch logic for click to pay session response (#7858)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Sahkal Poddar <sahkalpoddar@Sahkals-MacBook-Air.local>
This commit is contained in:
@ -8233,7 +8233,8 @@ pub struct ClickToPaySessionResponse {
|
||||
pub dpa_id: String,
|
||||
pub dpa_name: String,
|
||||
pub locale: String,
|
||||
pub card_brands: Vec<String>,
|
||||
#[schema(value_type = Vec<CardNetwork>, example = "[Visa, Mastercard]")]
|
||||
pub card_brands: HashSet<api_enums::CardNetwork>,
|
||||
pub acquirer_bin: String,
|
||||
pub acquirer_merchant_id: String,
|
||||
pub merchant_category_code: String,
|
||||
|
||||
Reference in New Issue
Block a user