FeeRule

Schema #/components/schemas/FeeRule of contract 1.0.0-draft.17.

  • feeCode FeeCoderequired

  • customCode string | null

  • currency CurrencyCoderequired

  • rails array of Rail

    Rails the rule applies to; a rail-specific rule beats a generic (null) one.

  • rule objectrequired

    Fields of rule
    • type FeeRuleTyperequired

    • amountMinor AmountMinor | null

    • bps integer | null

      Basis points (50 = 0.50 %).

      min 0 · max 10000

    • minMinor AmountMinor | null

    • maxMinor AmountMinor | null

    • tiers array of object

      Fields of tiers
    • tierBasis string

      Tiered rules: the band is chosen by the transaction amount (default) or the month-to-date volume.

      One of: "amount", "volume"