Pricing components
Every transaction has two pricing components:Entity relationships
Fee policies
Fees are what you charge to merchants for processing transactions. Fee policies are configured at the organization level and inherited by merchants.Cost policies
Costs are what providers charge you for processing transactions. Cost policies are configured per provider and MCC (Merchant Category Code).Pricing structure
Each pricing value can include:- percentage: Percentage of transaction amount (e.g., 3.5%)
- flat: Fixed amount in cents (e.g., 50 cents)
- minimum_price: Minimum fee/cost in cents
Rule-based pricing
Pricing policies use rules with conditions to apply different pricing based on transaction attributes.Example fee policy
How rules work
- Rules are evaluated in priority order (1 = highest)
- First rule where all conditions match is applied
- Empty conditions array = default rule (matches everything)
- Each policy should have a default rule with lowest priority
Rule evaluation flow
Condition operators
| Operator | Description | Example |
|---|---|---|
EQUALS | Exact match | payment_method = "PIX" |
NOT_EQUALS | Not equal | payment_method != "PIX" |
GREATER_THAN | Greater than | amount > 10000 |
LESS_THAN | Less than | amount < 50000 |
GREATER_OR_EQUAL | Greater or equal | installments >= 3 |
LESS_OR_EQUAL | Less or equal | installments <= 12 |
IN | In array | payment_method IN ["PIX", "CREDIT_CARD"] |
NOT_IN | Not in array | payment_method NOT IN ["BOLETO"] |
Transaction fields
You can create conditions based on these transaction fields:transaction.amount: Transaction amount in centstransaction.payment_method: Payment method (PIX, CREDIT_CARD, etc.)transaction.installments: Number of installmentstransaction.capture_method: Capture method (ECOMMERCE, EMV, etc.)
Cashout pricing
Both fee and cost policies include acashout_price field (in cents) that defines the fixed fee/cost for cashout operations:
Managing fee policies
Listing fee policies
List all fee policies for your organization:companies_with_fee_policy field for each policy, showing how many companies are using that fee policy:
Creating fee policies
Organizations can create custom fee policies:Updating fee policies
You can update existing fee policies using partial updates. All fields are optional:Updating rules
Rules can be selectively updated, added, or preserved:- Rules with IDs: Updates those specific rules while preserving unmentioned rules
- Rules without IDs: Creates new rules and adds them to the policy
- Rules not mentioned: Remain unchanged and preserved
When updating a rule’s conditions, the conditions for that specific rule are replaced (not merged). Other rules remain unchanged.
Cost policies
Cost policies are configured by Rinne administrators for each provider and MCC combination. They define what the provider charges for processing transactions. Organizations can view their cost policies:MCC (Merchant Category Code)
Each merchant is assigned an MCC that categorizes their business type. The MCC determines which cost policy applies to their transactions. Common MCCs:5912: Drug stores and pharmacies5411: Grocery stores and supermarkets5812: Restaurants5999: Miscellaneous retail
Per-transaction fee policy
You can override the default fee policy for specific transactions:Next steps
Transactions
Learn about transaction processing
Banking
Manage banking operations

