fix(router): make x_merchant_domain as required value only for session call done on web (#6362)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Shankar Singh C
2024-10-19 19:27:34 +05:30
committed by GitHub
parent 0bda934aca
commit ba6f7a817b
4 changed files with 15 additions and 10 deletions

View File

@ -5504,8 +5504,8 @@ pub enum SamsungPayProtocolType {
pub struct SamsungPayMerchantPaymentInformation {
/// Merchant name, this will be displayed on the Samsung Pay screen
pub name: String,
/// Merchant domain that process payments
pub url: String,
/// Merchant domain that process payments, required for web payments
pub url: Option<String>,
/// Merchant country code
#[schema(value_type = CountryAlpha2, example = "US")]
pub country_code: api_enums::CountryAlpha2,