mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
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:
@ -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>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user