Skip to content

Commit a8e4c36

Browse files
committed
Add controlling a verification example
1 parent b9f1bea commit a8e4c36

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,17 @@ else:
9494
print 'Error:', response['error_text']
9595
```
9696

97+
### Controlling a verification
98+
99+
To cancel an in-progress verification or to trigger the next attempt to
100+
send the confirmation code, call the control_verification_request method:
101+
102+
```python
103+
client.control_verification_request(cmd='cancel', request_id='00e6c3377e5348cdaf567e1417c707a5')
104+
105+
client.control_verification_request(cmd='trigger_next_event', request_id='00e6c3377e5348cdaf567e1417c707a5')
106+
```
107+
97108

98109
License
99110
-------

0 commit comments

Comments
 (0)