This request can be called several times, until the redemption is fully cancelled.
POST https://api.e-guma.ch/v1/vouchers/{code}/cancel_redemption.json?apikey=`{api-key}`
Parameters
Parameter
Description
coderequired
The code of the voucher. Vouchers issued by e-guma have 12 characters. You can pass the code with (e.g. ABCD-ABCD-ABCD) or without (e.g. ABCDABCDABCD) dashes. Imported vouchers from a previous system can have another length and format, for example a 16-digit card number. Pass the code as it is printed or scanned. Dashes and spaces are ignored. Please use url_encode for the code as it might contain special characters.