Reply
New Member
Posts: 20
Registered: ‎01-04-2014
Kudos: 34

External Portal authorize Voucher

Hey @slooffmaster -- 

 

Is there a method in your API to authorize based no a voucher? Or worst case, get the details of the voucher that is entered and authorize for those specifics then delete that voucher?

Veteran Member
Posts: 4,966
Registered: ‎06-13-2015
Kudos: 1343
Solutions: 234

Re: External Portal authorize Voucher


@tbare wrote:

Hey @slooffmaster -- 

 

Is there a method in your API to authorize based no a voucher? Or worst case, get the details of the voucher that is entered and authorize for those specifics then delete that voucher?


@tbare The worst case dan be implemented using the PHP API client which I maintain. Searching through the source code on “voucher” will return the relevant functions/methods.

 

We do this in many of our projects.

Art of WiFi
Check out our UniFi API browser tool on GitHub. The PHP API client which it uses, can be found here on GitHub.
The thread on our UniFi Device Search tool can be found here, also check out our Captive Portal solutions for UniFi.
New Member
Posts: 20
Registered: ‎01-04-2014
Kudos: 34

Re: External Portal authorize Voucher

Thanks for the quick reply -- does stat_voucher return all the details on that voucher? 

Veteran Member
Posts: 4,966
Registered: ‎06-13-2015
Kudos: 1343
Solutions: 234

Re: External Portal authorize Voucher

[ Edited ]

@tbare wrote:

Thanks for the quick reply -- does stat_voucher return all the details on that voucher? 


@tbare You’re welcome. To answer such questions we developed the API browser tool. Simply install it and you can check for yourselfIcon Wink

Art of WiFi
Check out our UniFi API browser tool on GitHub. The PHP API client which it uses, can be found here on GitHub.
The thread on our UniFi Device Search tool can be found here, also check out our Captive Portal solutions for UniFi.
Reply