mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
feat(router): add more payment methods to vault (#333)
This commit is contained in:
@ -6,6 +6,7 @@ use utoipa::ToSchema;
|
||||
pub use self::CreateMerchantAccount as MerchantAccountResponse;
|
||||
use super::payments::AddressDetails;
|
||||
use crate::{enums as api_enums, payment_methods};
|
||||
|
||||
#[derive(Clone, Debug, Deserialize, ToSchema, Serialize)]
|
||||
#[serde(deny_unknown_fields)]
|
||||
pub struct CreateMerchantAccount {
|
||||
|
||||
@ -289,3 +289,14 @@ pub struct TokenizedCardValue2 {
|
||||
pub customer_id: Option<String>,
|
||||
pub payment_method_id: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Serialize, serde::Deserialize)]
|
||||
pub struct TokenizedWalletValue1 {
|
||||
pub issuer: String,
|
||||
pub token: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Serialize, serde::Deserialize)]
|
||||
pub struct TokenizedWalletValue2 {
|
||||
pub customer_id: Option<String>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user