Log in
Interface

PaymentSavingRateLimiterInterface

Magento\Checkout\Api\PaymentSavingRateLimiterInterface

What it does

This interface defines a rate limiter for payment method saving operations during checkout.

Developers implement this interface to prevent abuse by limiting how frequently a user can attempt to save payment information, throwing an exception when the limit is exceeded.

It's used as a security measure to protect against malicious attempts to test stolen payment credentials.

Public Methods

  • limit()