Configuration Levels (Scopes)
Merchants can configure markup at three different levels:Global (Merchant Level)
The merchant defines a markup that is applied to all transactions from all submerchants. This is the default when no other level applies.By Submerchant
The merchant can define a specific markup for each individual submerchant, per product (payin or payout) and payment method. See Submerchant Markup endpoints.
Inline in Request (By Charge or Payment)
When creating a charge or payment, the merchant can send a specificmarkup object.
Priority Rule
For each transaction, the markup is chosen in this order:- Inline markup sent in the request.
- Submerchant markup configured for the submerchant.
- Global markup configured for the merchant.
If there is no inline or submerchant markup → the global markup is applied when the merchant has the markup feature enabled.
Markup Origin
Themarkup object returned for a charge or payment includes an origin field that shows which level was applied:
Products and Payment Methods
When creating a payout, markup is currently applied to PIX payments only.
Markup Types
Fixed
The same fixed markup value is applied to all charges/payments, regardless of the transaction amount.Percentage
The markup value is calculated as a percentage of the charge/payment amount. This type includes delimiter fields to define a valid range for the final markup amount:-
min_charge_value: The minimum markup amount to be charged. -
max_charge_value: The maximum markup amount to be charged.
For submerchant markup, both
min_charge_value and max_charge_value are required when the type is percentage.Percentage Calculation Logic
- The system calculates the raw percentage value (transaction_amount * percentage).
- If the calculated value is less than min_charge_value, the min_charge_value is applied.
- Else if the calculated value is greater than max_charge_value, the max_charge_value is applied.
- Otherwise, the exact calculated value is applied.
Related Resources
Creating Markup via API
Guide for configuring markup using the API
Create Merchant Markup
Create new markup configurations
List Merchant Markups
View all markup configurations
Create Payin with Inline Markup
Use inline markup when creating payin charges
Submerchant Markups
Configure markup for each submerchant

