Skip to main content
POST
Create Merchant Markup Configuration
Use this endpoint to configure markup rules for a merchant, defining how much additional amount will be charged per product and payment method.

Request Body

integer
required
ID of the merchant that will receive the markup.
integer
Optional parent relationship ID. Can be used to associate this markup to a parent account or hierarchy level.
string
required
Product where the markup will be applied.Allowed values: payin, payout
string
required
Payment method where the markup will be applied.Allowed values: pix, billet, credit_card
string
required
Markup scope type.Currently, only global is supported externally.
string
required
Type of markup to be applied.Allowed values:
  • fixed: fixed amount per charge
  • percent: percentage over the charge amount
number
required
Markup value to be applied.Constraints:
  • 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
When mode is fixed, do not send min_charge_value or max_charge_value.

Request Examples

Response

integer
Markup configuration ID.
string
Product where the markup is applied.
string
Payment method where the markup is applied.
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.

Update Merchant Markup

Update existing 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