mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 09:38:33 +08:00
feat(payments): [Payment links] Add configs for payment link (#7288)
This commit is contained in:
@ -2708,6 +2708,10 @@ pub struct PaymentLinkConfigRequest {
|
||||
pub details_layout: Option<api_enums::PaymentLinkDetailsLayout>,
|
||||
/// Text for payment link's handle confirm button
|
||||
pub payment_button_text: Option<String>,
|
||||
/// Text for customizing message for card terms
|
||||
pub custom_message_for_card_terms: Option<String>,
|
||||
/// Custom background colour for payment link's handle confirm button
|
||||
pub payment_button_colour: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize, PartialEq, ToSchema)]
|
||||
@ -2779,6 +2783,10 @@ pub struct PaymentLinkConfig {
|
||||
pub branding_visibility: Option<bool>,
|
||||
/// Text for payment link's handle confirm button
|
||||
pub payment_button_text: Option<String>,
|
||||
/// Text for customizing message for card terms
|
||||
pub custom_message_for_card_terms: Option<String>,
|
||||
/// Custom background colour for payment link's handle confirm button
|
||||
pub payment_button_colour: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize, PartialEq, Eq)]
|
||||
|
||||
Reference in New Issue
Block a user