refactor(dynamic_routing): change the response type of update gateway score api in open router (#8308)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Chethan Rao
2025-06-11 15:05:44 +05:30
committed by GitHub
parent 1e20b57a06
commit ff5b2e8e95
2 changed files with 10 additions and 4 deletions

View File

@ -148,6 +148,11 @@ pub struct UpdateScorePayload {
pub payment_id: id_type::PaymentId,
}
#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct UpdateScoreResponse {
pub message: String,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
pub enum TxnStatus {