Generate voucher for location
documentedGenerate a voucher code on the fly against voucher credits for a location.
GET /v1.0/locations/{locationId}/generate/voucher.{format}Locationsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.hotspotsystem.com/v1.0/locations/{{$locationId}}/generate/voucher.{{$format}}?validity={{$validity}}&package={{$package}}" \
-X GET \
-u "{{HOTSPOTSYSTEM_API_KEY}}:" \
-H "Accept: application/json" \
-H "Content-Type: application/json"