POST https://api.e-guma.ch/v1/vouchers/{code}/charge.json?apikey={api-key}
Parameters
code required
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.
api-key required
POST Data
amount_in_cents required
The amount to recharge the voucher.
payment_id optional
If no payment_id is provided, the default payment will be used.
Return
code
The same voucher code as you provided as parameter