Create a new voucher
This endpoint allows you to create a voucher(s).
A Voucher belongs to a Voucher Group and is uniquely identified by a code. It can be linked to multiple tokens (idtags) and appUsers.
When a driver starts a session at a location, the system checks:
If the driver’s token is linked to a voucher, or
If the driver’s appUser (linked to that token) is linked to a voucher.
If either is true and the voucher’s group is associated with the location, the voucher is applied — potentially affecting pricing or granting access.
POST
Create a new voucher
Body
application/json
The voucher to be created.
Response
The voucher has been successfully created.