Log in
Interface

PaymentTokenFactoryInterface

Magento\Vault\Api\Data\PaymentTokenFactoryInterface

What it does

This factory interface is used to create payment token entities in Magento's Vault system, which securely stores payment information for reuse.

Developers use this to generate either account-based or credit card payment tokens when implementing stored payment methods, allowing customers to save their payment details for future purchases without handling sensitive data directly.

Public Methods

  • create()