fix(payment_link): added expires_on in payment response (#3332)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Sahkal Poddar
2024-01-16 13:43:19 +05:30
committed by GitHub
parent 58cc8d6109
commit 5ad3f8939a
3 changed files with 14 additions and 0 deletions

View File

@ -2277,6 +2277,11 @@ pub struct PaymentsResponse {
/// List of incremental authorizations happened to the payment
pub incremental_authorizations: Option<Vec<IncrementalAuthorizationResponse>>,
/// Date Time expiry of the payment
#[schema(example = "2022-09-10T10:11:12Z")]
#[serde(default, with = "common_utils::custom_serde::iso8601::option")]
pub expires_on: Option<PrimitiveDateTime>,
/// Payment Fingerprint
pub fingerprint: Option<String>,
}