HomeGuidesAPI ReferenceChangelog
Terms of Use
Terms of Use

Redeem a Voucher

EV driver redeems a voucher by entering a voucher code.

To redeem a voucher a user needs to enter a voucher code in the app. The app then communicates with the custom backend, passing along the voucher code. Subsequently, the custom backend sends a POST request to the Public API at /actions/users/v2.0/{userId}/redeem-voucher, with voucher code included in the request.

The Public API validates and processes the voucher, returning a confirmation message once the voucher is successfully redeemed. This confirmation is then conveyed back to the custom app through the backend and the app shows Voucher Successfully Redeemed message.