You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| id | string | FraudLabs Pro transaction ID or Order ID. |
17
+
| id | string | FraudLabs Pro transaction ID or Order ID. |
18
18
19
19
:return: Returns the details about the transaction in JSON object.
20
20
:rtype: Object
@@ -85,9 +85,9 @@ Approve, reject or ignore a transaction.
85
85
86
86
| Parameter | Type | Description |
87
87
|--------------|---------|---------------------|
88
-
| id | string | (required) Unique transaction Id generated by Fraud Check API. |
89
-
| action | string | (required) Perform APPROVE, REJECT, or REJECT_BLACKLIST action to transaction.<br/>• APPROVE: Approve a transaction<br/>• REJECT: Reject a transaction<br/>• REJECT_BLACKLIST: Reject and blacklist the transaction<br/>When a transaction was blacklisted, the information will be recorded into the system for future blacklist validation check. |
90
-
| note | integer | (optional) Notes for the feedback request. |
88
+
| id | string | (required) Unique transaction Id generated by Fraud Check API. |
89
+
| action | string | (required) Perform APPROVE, REJECT, or REJECT_BLACKLIST action to transaction.<br/>• APPROVE: Approve a transaction<br/>• REJECT: Reject a transaction<br/>• REJECT_BLACKLIST: Reject and blacklist the transaction<br/>When a transaction was blacklisted, the information will be recorded into the system for future blacklist validation check. |
90
+
| note | integer | (optional) Notes for the feedback request. |
91
91
```
92
92
93
93
```{py:function} validate(params)
@@ -104,6 +104,7 @@ Retrieve geolocation information for an IP address.
| billing->billto | string | (optional) Billing details such as company name. |
107
108
| billing->address | string | (optional) Street address of billing address. |
108
109
| billing->city | string | (optional) City of billing address. |
109
110
| billing->state | string | (optional) State of billing address. It supports state codes, e.g. NY (New York), for state or province of United States or Canada.|
@@ -195,7 +196,7 @@ Retrieve geolocation information for an IP address.
195
196
196
197
## SMSVerification Class
197
198
```{py:class} SMSVerification(api_key)
198
-
Initiate FraudValidation class with FraudLabs Pro API key.
199
+
Initiate SMSVerification class with FraudLabs Pro API key.
199
200
200
201
:param str api_key: (Required) FraudLabs Pro API key.
201
202
```
@@ -231,12 +232,40 @@ Get SMS Verification result.
231
232
| Parameter | Type | Description |
232
233
|-------------------|--------|-------------|
233
234
| tran_id | string | (required) Unique ID (20 characters) for this particular API call. |
234
-
| otp | string | (required) The OTP that was sent to the recipient’s phone. |
235
+
| otp | string | (required) The OTP that was sent to the recipient’s phone. |
235
236
236
237
:return: Returns the details about the transaction in JSON object.
237
238
:rtype: Object
238
239
239
240
| Parameter | Type | Description |
240
241
|-------------------|--------|-------------|
241
-
| result | string | Indicates if the input parameters matched a valid OTP. Y if a valid OTP is found and N if no valid OTP found. |
242
+
| result | string | Indicates if the input parameters matched a valid OTP. Y if a valid OTP is found and N if no valid OTP found. |
243
+
```
244
+
245
+
## Payment Class
246
+
```{py:class} Payment(api_key)
247
+
Initiate Payment class with FraudLabs Pro API key.
248
+
249
+
:param str api_key: (Required) FraudLabs Pro API key.
250
+
```
251
+
252
+
```{py:function} feedback(params)
253
+
Report the final payment status back to the system.
254
+
255
+
:param array params: (Required) The parameters of order details.
Copy file name to clipboardExpand all lines: setup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
6
6
setuptools.setup(
7
7
name="fraudlabspro-python",
8
-
version="3.0.3",
8
+
version="3.1.0",
9
9
author="FraudLabs Pro",
10
10
author_email="support@fraudlabspro.com",
11
11
description="A Python module enables user to easily implement fraud detection feature into their solution using the API from https://www.fraudlabspro.com.",
0 commit comments