Skip to content

Sale (and Payment) Operations

Sales, as well as payments, have a life where they transition between statuses. Once they are created, as unconfirmed, they end up either successfully completed or in some sort of failure or auto reversal. But sales and payments can be updated to other statuses according to your needs: later on, returns, refunds, cancelations or intentional failures can be set, as it is common in retail businesses.

The following section will take you on detail, with examples, of each operation available, and what are the requirements to execute them. Keep in mind this is tighly related to the previous Multi-tender section, and that some operations are applied on Sale level (the whole Sale content will be affected) or on individual Payment level. The function parameters will indicate each case.