You can mark a request and transaction as demo using the parameter demo. If marked so, the payment is not actually processed. There are also no transaction costs, shipments, nor statement positions.
If the parameter is transmitted with the value 1 or true, it is a demo transaction. If the parameter is omitted, or transmitted with 0 or false, it is a real transaction.