Payment Method Configuration Overview

A Payment Method Configuration defines the specific settings and parameters for a payment method within a payment configuration. It includes settings such as interest rates, installment limits, take rates, and transfer timing.

Payment Method Configuration Schema

FieldDescriptionType
idUnique identifier (UUID)String
take_rate_typeHow the take rate is calculated. Can be absolute (fixed amount) or percentage (percentage of amount)String
take_rate_valueThe take rate value - either a fixed amount in cents or a percentage as decimal (e.g., 0.025 for 2.5%)Float
max_installmentsMaximum number of installments allowed for this payment methodInteger
min_installment_amount_centsMinimum amount in cents required for each installmentInteger
configuration_typeType of configuration: installment (for recurring payments) or down_payment (for initial payment)String
payment_methodPayment method type: boleto, pix, or credit_cardString
days_to_transferNumber of days until the payment is transferred to the receiver after captureInteger
interest_rateInterest rate applied to installment payments (as decimal, e.g., 0.0199 for 1.99% monthly)Float
smart_payment_enabledWhether smart payment (automatic payment method selection) is enabled for this configurationBoolean

Configuration Type Values

ValueDescription
installmentConfiguration for recurring installment payments after the down payment
down_paymentConfiguration for the initial down payment (first payment) of a financed purchase

Payment Method Values

ValueDescription
boletoBrazilian bank slip payment method (boleto bancário)
pixBrazilian instant payment system
credit_cardCredit card payment method, which supports multiple installments

Take Rate Type Values

ValueDescription
absoluteThe take_rate_value represents a fixed amount in cents deducted from each transaction
percentageThe take_rate_value represents a percentage (as decimal) of the transaction amount to be deducted

Validation Rules

  • Interest rate must be greater than or equal to 0
  • Minimum installment amount must be greater than or equal to 0
  • Max installments must be exactly 1 for boleto and pix payment methods (only credit_card supports multiple installments)
  • Payment method must be unique per configuration_type within a payment configuration
  • Days to transfer must be a non-negative integer
  • Smart payment enabled must be explicitly true or false