Objective
Sending 6-digit verification code using PHP.
Applies To
- Verify API
- PHP Client SDK
Procedure
The PIN length can be set in a Verification object before starting the verification process. Below is the sample code:
$request = new \Vonage\Verify\Request(NUMBER, BRAND_NAME);
$request->setCodeLength(6);
$response = $client->verify()->start($request);
Additional Information
For more information on sending verification code by Verify API, please see this.
Articles in this section
- What is the Verify Anti-Fraud System?
- Verify API service to restricted countries
- Can I use Verify API with any number in the world?
- Rejection for Invalid Number in Verify V2
- Why does Verify Dashboard Analytics report less traffic than the invoice?
- Does Silent Authentication work for users with Apple’s Private Relay enabled?
- How to Change the Validity Period for Verify PIN Codes?
- Understanding the error code 409 when creating a Fragment for Custom Template in Verify API V2.
- What are the charges for using Verify API V2?
- Does Silent Authentication work with eSIM?