post
https://api.spirii.com/v2/vouchers//tokens/
This endpoint allows you to associate a token to a voucher.
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.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
404The voucher with the provided ID was not found.
Token for the given ID has not been found, or Voucher for the given ID has not been found.