feat(router): Add support for retries with clear pan and network token payment method data (#6905)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Prasunna Soppa
2025-03-03 13:19:58 +05:30
committed by GitHub
parent c56f5719a1
commit 44eec7a994
45 changed files with 727 additions and 266 deletions

View File

@ -29,6 +29,8 @@ pub struct GsmCreateRequest {
pub unified_message: Option<String>,
/// category in which error belongs to
pub error_category: Option<ErrorCategory>,
/// indicates if retry with pan is possible
pub clear_pan_possible: bool,
}
#[derive(Debug, serde::Deserialize, serde::Serialize, ToSchema)]
@ -93,6 +95,8 @@ pub struct GsmUpdateRequest {
pub unified_message: Option<String>,
/// category in which error belongs to
pub error_category: Option<ErrorCategory>,
/// indicates if retry with pan is possible
pub clear_pan_possible: Option<bool>,
}
#[derive(Debug, serde::Deserialize, serde::Serialize, ToSchema)]
@ -148,4 +152,6 @@ pub struct GsmResponse {
pub unified_message: Option<String>,
/// category in which error belongs to
pub error_category: Option<ErrorCategory>,
/// indicates if retry with pan is possible
pub clear_pan_possible: bool,
}