Cart and Checkout Validation Function API overview

The Validation API allows developers to provide their own validation of a cart and checkout.