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 implementing custom payment methods use this interface to map internal payment information to standardized international verification codes.

It's particularly useful when integrating with payment gateways that return verification results that need to be translated into consistent codes.

Public Methods

  • getCode()