Skip to content

Commit 0ac9be6

Browse files
committed
Cleaned up verify whitespace
1 parent 980b286 commit 0ac9be6

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,10 @@ verify = Verify(client)
300300

301301
```python
302302
client = Client(key='API_KEY', secret='API_SECRET')
303+
303304
verify = Verify(client)
304305
response = verify.search('69e2626cbc23451fbbc02f627a959677')
306+
305307
if response is not None:
306308
print(response['status'])
307309
```
@@ -310,8 +312,10 @@ if response is not None:
310312

311313
```python
312314
client = Client(key='API_KEY', secret='API_SECRET')
315+
313316
verify = Verify(client)
314317
response = verify.request(number=RECIPIENT_NUMBER, brand='AcmeInc')
318+
315319
if response["status"] == "0":
316320
print("Started verification request_id is %s" % (response["request_id"]))
317321
else:
@@ -322,8 +326,10 @@ else:
322326

323327
```python
324328
client = Client(key='API_KEY', secret='API_SECRET')
329+
325330
verify = Verify(client)
326331
response = verify.request(number=RECIPIENT_NUMBER, brand='AcmeInc', workflow_id=1)
332+
327333
if response["status"] == "0":
328334
print("Started verification request_id is %s" % (response["request_id"]))
329335
else:
@@ -334,8 +340,10 @@ else:
334340

335341
```python
336342
client = Client(key='API_KEY', secret='API_SECRET')
343+
337344
verify = Verify(client)
338345
response = verify.check(REQUEST_ID, code=CODE)
346+
339347
if response["status"] == "0":
340348
print("Verification successful, event_id is %s" % (response["event_id"]))
341349
else:
@@ -346,8 +354,10 @@ else:
346354

347355
```python
348356
client = Client(key='API_KEY', secret='API_SECRET')
357+
349358
verify = Verify(client)
350359
response = verify.cancel(REQUEST_ID)
360+
351361
if response["status"] == "0":
352362
print("Cancellation successful")
353363
else:
@@ -358,8 +368,10 @@ else:
358368

359369
```python
360370
client = Client(key='API_KEY', secret='API_SECRET')
371+
361372
verify = Verify(client)
362373
response = verify.trigger_next_event(REQUEST_ID)
374+
363375
if response["status"] == "0":
364376
print("Next verification stage triggered")
365377
else:
@@ -370,8 +382,10 @@ else:
370382

371383
```python
372384
client = Client(key='API_KEY', secret='API_SECRET')
385+
373386
verify = Verify(client)
374387
response = verify.psd2(number=RECIPIENT_NUMBER, payee=PAYEE, amount=AMOUNT)
388+
375389
if response["status"] == "0":
376390
print("Started PSD2 verification request_id is %s" % (response["request_id"]))
377391
else:
@@ -382,8 +396,10 @@ else:
382396

383397
```python
384398
client = Client(key='API_KEY', secret='API_SECRET')
399+
385400
verify = Verify(client)
386401
verify.psd2(number=RECIPIENT_NUMBER, payee=PAYEE, amount=AMOUNT, workflow_id: WORKFLOW_ID)
402+
387403
if response["status"] == "0":
388404
print("Started PSD2 verification request_id is %s" % (response["request_id"]))
389405
else:

0 commit comments

Comments
 (0)