mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 04:04:55 +08:00
feat: add test_mode for quickly testing payout links (#5669)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -167,6 +167,8 @@ pub struct PayoutLinkData {
|
||||
pub currency: enums::Currency,
|
||||
/// A list of allowed domains (glob patterns) where this link can be embedded / opened from
|
||||
pub allowed_domains: HashSet<String>,
|
||||
/// `test_mode` can be used for testing payout links without any restrictions
|
||||
pub test_mode: Option<bool>,
|
||||
}
|
||||
|
||||
crate::impl_to_sql_from_sql_json!(PayoutLinkData);
|
||||
|
||||
Reference in New Issue
Block a user