Update Merchant Markup Configuration
Account
Update Merchant Markup Configuration
Update markup configuration for a merchant by markup ID.
PATCH
Update Merchant Markup Configuration
Documentation Index
Fetch the complete documentation index at: https://docs.wepayout.co/llms.txt
Use this file to discover all available pages before exploring further.
Update Merchant Markup Configuration
Use this endpoint to update an existing markup configuration for a merchant, identified by itsmarkupId.
Path Parameters
Unique identifier of the markup configuration to be updated.
Request Body
Markup mode to be applied.Allowed values:
fixedpercent
- Required if you send any of these fields:
amount,min_charge_value,max_charge_value.
Markup value to be applied.Constraints:
- Optional
- Must be greater than or equal to
0.01
Minimum markup amount when mode is
percent.Business rules:- Required when
mode=percent - Prohibited when
mode=fixed - Must be greater than or equal to
0.01
Maximum markup amount when mode is
percent.Business rules:- Optional
- Must be greater than or equal to
min_charge_value - Prohibited when
mode=fixed
Flag to enable or disable this markup configuration.
- Optional
- Allowed values:
true,false
Special rule when changing modeIf you change the mode from
percent to fixed, the service will internally reset:min_charge_value = nullmax_charge_value = null
Request Examples
Response
Markup configuration ID.
Product where the markup is applied (e.g.,
payin).Payment method where the markup is applied (e.g.,
pix).Merchant ID that receives the markup.
Parent relationship ID, when applicable.
Markup scope type. Example:
global.Markup mode. Example:
fixed or percent.Markup value configured for this rule.
Minimum markup value when
mode is percent.Maximum markup value when
mode is percent.Indicates whether the markup configuration is currently active.
Date and time when the markup configuration was created.
Date and time when the markup configuration was last updated.
Related Resources
Create Merchant Markup
Create new markup configurations
List Merchant Markups
View all markup configurations
About Markup
Learn about markup types and configuration levels
Create Payin with Global Markup
Use global markup when creating payin charges

