INSTALLMENT_FILTERS

Type: array of filter objects Default: [] (empty array) Validator: InstallmentFiltersSerializer Description: Filters that restrict which installment options are available to users.

Each filter object has the following structure:

  • klass: Filter class path (string from InstallmentFilterType enum, required)

  • kwargs: Filter parameters (dictionary, required)

Filter evaluation:

  • Applied sequentially in array order during InstallmentService.filter_installments()

  • Each filter receives the basket, installments list, and additional context (currency, user_email)

  • Filters can remove installment options based on their criteria

  • If a filter returns final=true, no further filters are processed

  • Messages from filters are collected and returned to inform the user

Used in: InstallmentSelectionPage via InstallmentService.get_pre_order_installments() to filter available installments

Last updated

Was this helpful?