mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 10:06:32 +08:00 
			
		
		
		
	feat(payments): [Payment links] add configs for payment link (#7340)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
		| @ -2786,6 +2786,12 @@ pub struct PaymentLinkConfigRequest { | ||||
|     pub custom_message_for_card_terms: Option<String>, | ||||
|     /// Custom background colour for payment link's handle confirm button | ||||
|     pub payment_button_colour: Option<String>, | ||||
|     /// Skip the status screen after payment completion | ||||
|     pub skip_status_screen: Option<bool>, | ||||
|     /// Custom text colour for payment link's handle confirm button | ||||
|     pub payment_button_text_colour: Option<String>, | ||||
|     /// Custom background colour for the payment link | ||||
|     pub background_colour: Option<String>, | ||||
| } | ||||
|  | ||||
| #[derive(Clone, Debug, serde::Deserialize, serde::Serialize, PartialEq, ToSchema)] | ||||
| @ -2861,6 +2867,12 @@ pub struct PaymentLinkConfig { | ||||
|     pub custom_message_for_card_terms: Option<String>, | ||||
|     /// Custom background colour for payment link's handle confirm button | ||||
|     pub payment_button_colour: Option<String>, | ||||
|     /// Skip the status screen after payment completion | ||||
|     pub skip_status_screen: Option<bool>, | ||||
|     /// Custom text colour for payment link's handle confirm button | ||||
|     pub payment_button_text_colour: Option<String>, | ||||
|     /// Custom background colour for the payment link | ||||
|     pub background_colour: Option<String>, | ||||
| } | ||||
|  | ||||
| #[derive(Debug, Clone, serde::Serialize, serde::Deserialize, PartialEq, Eq)] | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Debarati Ghatak
					Debarati Ghatak