CustomerLimits

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

  • customerId Uuidrequired

  • limits LimitSetrequired

  • inheritsDefaults booleanrequired

  • usage LimitUsageread-only

    Fields of usage
    • today Moneyrequired

    • thisMonth Moneyrequired

    • todayCount integerrequired

  • updatedAt Timestamp | null

  • effectiveLimits LimitSetread-only

    Fields of effectiveLimits
    • perTransaction Money | null

    • daily Money | null

    • monthly Money | null

    • dailyCount integer | null

      min 0

    • velocityPerHour integer | null

      min 0

    • tolerancePercent integer

      Allowed overshoot before blocking; within the band the payment passes and raises an exception.

      min 0 · max 100 · default 0

    • action string

      Beyond the tolerance band: block refuses the payment (422 limit-exceeded), queue holds it for staff (on_hold).

      One of: "block", "queue"

      default "block"

    • perCurrency object

      Optional overrides keyed by ISO 4217 code with the same shape.

      Fields of perCurrency

      object

  • usageByCurrency objectread-only

    Usage per currency that has a limit, keyed by ISO 4217 code.

  • timeZone stringread-only

    Operator time zone the day and month are counted in.

  • scheduled array of ScheduledLimitSetread-only