Skip to content

Commit ae4cdbc

Browse files
authored
Clarify that the /check endpoint is really the check() method (#335)
At first I couldn't find what the `/check` end point meant, but it was really the check method which is already documented. Also made it use PIN consistently, instead of using pin and code.
1 parent 22ba2c9 commit ae4cdbc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ $response = $client->verify()->start($request);
242242
echo "Started verification with an id of: " . $response->getRequestId();
243243
```
244244

245-
Once the user inputs the pin code they received, call the `/check` endpoint with the request ID and the pin to confirm the pin is correct.
245+
Once the user inputs the pin code they received, call the `check()` method (see below) with the request ID and the PIN to confirm the PIN is correct.
246246

247247
### Controlling a Verification
248248

@@ -256,7 +256,7 @@ $client->verify()->cancel('00e6c3377e5348cdaf567e1417c707a5');
256256

257257
### Checking a Verification
258258

259-
In the same way, checking a verification requires the code the user provided, and the request ID:
259+
In the same way, checking a verification requires the PIN the user provided, and the request ID:
260260

261261
```php
262262
try {

0 commit comments

Comments
 (0)