mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
refactor(router): changed payment method token TTL to api contract based config from const value (#5115)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -102,6 +102,12 @@ pub const MAX_SESSION_EXPIRY: u32 = 7890000;
|
||||
/// Min payment session expiry
|
||||
pub const MIN_SESSION_EXPIRY: u32 = 60;
|
||||
|
||||
/// Max payment intent fulfillment expiry
|
||||
pub const MAX_INTENT_FULFILLMENT_EXPIRY: u32 = 1800;
|
||||
|
||||
/// Min payment intent fulfillment expiry
|
||||
pub const MIN_INTENT_FULFILLMENT_EXPIRY: u32 = 60;
|
||||
|
||||
pub const LOCKER_HEALTH_CALL_PATH: &str = "/health";
|
||||
|
||||
pub const AUTHENTICATION_ID_PREFIX: &str = "authn";
|
||||
|
||||
Reference in New Issue
Block a user