About the Cart and Checkout Validation Function API

The Validation API allows developers to provide their own validation of a cart and checkout, including express checkouts, such as PayPal, Shop Pay, Google Pay, and Apple Pay.