feat: add an api for retrieving the extended card info from redis (#4484)

This commit is contained in:
Chethan Rao
2024-05-01 16:07:39 +05:30
committed by GitHub
parent b562e62ac8
commit dfa4b50dbd
13 changed files with 92 additions and 5 deletions

View File

@ -4622,6 +4622,12 @@ pub enum PaymentLinkStatusWrap {
IntentStatus(api_enums::IntentStatus),
}
#[derive(Debug, Default, serde::Deserialize, serde::Serialize, Clone, ToSchema)]
pub struct ExtendedCardInfoResponse {
// Encrypted customer payment method data
pub payload: String,
}
#[cfg(test)]
mod payments_request_api_contract {
#![allow(clippy::unwrap_used)]