Update Merchant Markup Configuration
Account
Update Merchant Markup Configuration
Update markup configuration for a merchant by markup ID.
PATCH
Update Merchant Markup Configuration
Update Merchant Markup Configuration
Use this endpoint to update an existing markup configuration for a merchant, identified by itsmarkupId.
Path Parameters
integer
required
Unique identifier of the markup configuration to be updated.
Request Body
string
Markup mode to be applied.Allowed values:
fixedpercent
- Required if you send any of these fields:
amount,min_charge_value,max_charge_value.
number
Markup value to be applied.Constraints:
- Optional
- Must be greater than or equal to
0.01
number
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
number
Maximum markup amount when mode is
percent.Business rules:- Optional
- Must be greater than or equal to
min_charge_value - Prohibited when
mode=fixed
boolean
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
integer
Markup configuration ID.
string
Product where the markup is applied (e.g.,
payin).string
Payment method where the markup is applied (e.g.,
pix).integer
Merchant ID that receives the markup.
integer or null
Parent relationship ID, when applicable.
string
Markup scope type. Example:
global.string
Markup mode. Example:
fixed or percent.number
Markup value configured for this rule.
number or null
Minimum markup value when
mode is percent.number or null
Maximum markup value when
mode is percent.boolean
Indicates whether the markup configuration is currently active.
string
Date and time when the markup configuration was created.
string
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

