diff --git a/README.md b/README.md index 01bea47f..dc426fa6 100644 --- a/README.md +++ b/README.md @@ -438,7 +438,7 @@ params = { 'brand': 'ACME, Inc', 'workflow': [{'channel': 'sms', 'to': '447700900000'}] } -verify_request = verify2.new_request(params) +verify_request = client.verify2.new_request(params) ``` ### Use silent authentication, with email as a fallback @@ -451,7 +451,7 @@ params = { {'channel': 'email', 'to': 'customer@example.com', 'from': 'business@example.com'} ] } -verify_request = verify2.new_request(params) +verify_request = client.verify2.new_request(params) check_url = verify_request['check_url'] # URL to continue with the silent auth workflow ``` @@ -466,7 +466,7 @@ params = { 'brand': 'ACME, Inc', 'workflow': [{'channel': 'sms', 'to': '447700900000', 'app_hash': 'asdfghjklqw'}], } -verify_request = verify2.new_request(params) +verify_request = client.verify2.new_request(params) ``` ### Send a verification request to a blocked network @@ -479,19 +479,19 @@ params = { 'fraud_check': False, 'workflow': [{'channel': 'sms', 'to': '447700900000'}] } -verify_request = verify2.new_request(params) +verify_request = client.verify2.new_request(params) ``` ### Check a verification code ```python -verify2.check_code(REQUEST_ID, CODE) +client.verify2.check_code(REQUEST_ID, CODE) ``` ### Cancel an ongoing verification ```python -verify2.cancel_verification(REQUEST_ID) +client.verify2.cancel_verification(REQUEST_ID) ``` ## Verify V1 API