Verify generated PINs in order to implement your VIP phone support with Voys.
This package is based on the Voys API.
- PHP
>8.1
- Laravel
^10.3.3
- Add the package in to your project.
- Make sure the service provider is loaded.
- Route your Voys webhook to
GET https://yourapplication.app/phone-pin-checker
. - Use the create route (
POST https://yourapplication.app/phone-pin-checker
) to generate a new code.- You can add a reference (for a customer for example) using the optional
reference
field.
- You can add a reference (for a customer for example) using the optional
- You can listen to the
Sandwave\PhonePinChecker\Events\PinOkay
event to check if the a pin has been entered successfully.