Redeem Voucher Guide
Wagy features a voucher system that can add PRO quota to your device. You can redeem voucher codes through this API to immediately increase the sending limit for a specific device.
Stacking Mechanism
PRO quota in Wagy is stackable. This means that if you have a remaining quota and redeem a new voucher, your remaining quota will not be lost; instead, it will increase. The expiration date will also follow the latest date from the vouchers you hold.
Code Security
Voucher codes are confidential and can only be used once. Ensure the redemption process is performed via your server-side to avoid code leakage on the client/frontend side.
Request Example
{
"code": "WAGY-PRO-XXXXX"
}
| Field | Required | Explanation |
|---|---|---|
code | Yes | The unique voucher code you obtained from a purchase. |
Redeem quota voucher
POST/:device_id/redeem
Claim a voucher code to add PRO quota to the device.
Request
Responses
- 200
- 400
OK
Invalid voucher or already redeemed