mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-30 17:47:54 +08:00 
			
		
		
		
	feat(payments): [Payment links] Add config for changing button text for payment links (#6860)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
		| @ -2769,6 +2769,8 @@ pub struct PaymentLinkConfigRequest { | ||||
|     /// Custom layout for details section | ||||
|     #[schema(value_type = Option<PaymentLinkDetailsLayout>, example = "layout1")] | ||||
|     pub details_layout: Option<api_enums::PaymentLinkDetailsLayout>, | ||||
|     /// Text for payment link's handle confirm button | ||||
|     pub payment_button_text: Option<String>, | ||||
| } | ||||
|  | ||||
| #[derive(Clone, Debug, serde::Deserialize, serde::Serialize, PartialEq, ToSchema)] | ||||
| @ -2838,6 +2840,8 @@ pub struct PaymentLinkConfig { | ||||
|     pub details_layout: Option<api_enums::PaymentLinkDetailsLayout>, | ||||
|     /// Toggle for HyperSwitch branding visibility | ||||
|     pub branding_visibility: Option<bool>, | ||||
|     /// Text for payment link's handle confirm button | ||||
|     pub payment_button_text: Option<String>, | ||||
| } | ||||
|  | ||||
| #[derive(Debug, Clone, serde::Serialize, serde::Deserialize, PartialEq, Eq)] | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Debarati Ghatak
					Debarati Ghatak