Client/server validation
For manually created payments, a framework has been created to allow server-side validation before the payment is created. The goal of this kind of validation is to perform some basic checks on the payment before it gets persisted, and thus avoid that the payment will move to an invalid state later in the workflow.