fix: Set headers as optional in ob flows (#6305)

This commit is contained in:
Sarthak Soni
2024-10-17 14:51:14 +05:30
committed by GitHub
parent 2798f57560
commit 9576ee37a6
7 changed files with 50 additions and 55 deletions

View File

@ -4,8 +4,6 @@ use common_utils::{
id_type, impl_api_event_type,
};
use crate::enums as api_enums;
#[derive(Debug, Clone, serde::Deserialize, serde::Serialize)]
#[serde(rename_all = "snake_case")]
pub struct LinkTokenCreateRequest {
@ -14,9 +12,6 @@ pub struct LinkTokenCreateRequest {
pub payment_id: id_type::PaymentId, // payment_id to be passed in req body for redis pm_auth connector name fetch
pub payment_method: PaymentMethod, // payment_method to be used for filtering pm_auth connector
pub payment_method_type: PaymentMethodType, // payment_method_type to be used for filtering pm_auth connector
pub client_platform: api_enums::ClientPlatform, // Client Platform to perform platform based processing
pub android_package_name: Option<String>, // Android Package name to be sent for Android platform
pub redirect_uri: Option<String>, // Merchant redirect_uri to be sent in case of IOS platform
}
#[derive(Debug, Clone, serde::Serialize)]