Log in
Interface

PaymentVerificationInterface

Magento\Payment\Api\PaymentVerificationInterface

What it does

This interface defines a contract for payment methods to provide verification codes like AVS (Address Verification System) or CVV codes from payment providers.

Developers implement this interface when creating custom payment methods that need to map internal payment verification data to standardized international verification codes.

It's particularly useful when integrating with payment gateways that return fraud prevention verification results.

Public Methods

  • getCode()