fix: include client columns in payment attempts response struct (#4761)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Vrishab Srivatsa
2024-05-28 15:55:29 +05:30
committed by GitHub
parent 7645edfa2e
commit d686ec7acd
3 changed files with 16 additions and 0 deletions

View File

@ -630,6 +630,10 @@ pub struct PaymentAttemptResponse {
pub unified_code: Option<String>,
/// error message unified across the connectors is received here if there was an error while calling connector
pub unified_message: Option<String>,
/// Value passed in X-CLIENT-SOURCE header during payments confirm request by the client
pub client_source: Option<String>,
/// Value passed in X-CLIENT-VERSION header during payments confirm request by the client
pub client_version: Option<String>,
}
#[derive(