mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 17:47:54 +08:00
feat(router): Custom payment link config for payment create (#2741)
Co-authored-by: Kashif <46213975+kashif-m@users.noreply.github.com> Co-authored-by: Kashif <kashif@protonmail.com> Co-authored-by: Sahkal Poddar <sahkal.poddar@juspay.in>
This commit is contained in:
@ -455,6 +455,11 @@ pub struct PrimaryBusinessDetails {
|
||||
#[derive(Clone, Debug, Deserialize, ToSchema, Serialize, PartialEq)]
|
||||
#[serde(deny_unknown_fields)]
|
||||
pub struct PaymentLinkConfig {
|
||||
#[schema(
|
||||
max_length = 255,
|
||||
max_length = 255,
|
||||
example = "https://i.imgur.com/RfxPFQo.png"
|
||||
)]
|
||||
pub merchant_logo: Option<String>,
|
||||
pub color_scheme: Option<PaymentLinkColorSchema>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user