Preliminary context:
/carts/mine/payment-information
assignData()
\Magento\Payment\Model\Method\AbstractMethod::assignData()
How is a payment method’s validate() used?
validate()
The \Magento\Payment\Model\Checks\ZeroTotal::isApplicable() method can be simplified
\Magento\Payment\Model\Checks\ZeroTotal::isApplicable()
See also: