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 alphanumeric code of the voucher. The code has 12 characters. You can pass the code with (e.g. ABCD-ABCD-ABCD) or without (e.g. ABCDABCDABCD) dashes. Please use url_encode for the code as it might contain special characters.