FraudLabs Pro service screens credit card transactions for online frauds. It increases e-commerce merchant profits by reduces chargeback, improves operation efficiency and provides business intelligence. Merchants can investigate all complex, high-risk orders in a simple way by using merchant administrative interface.
IP address of online transaction. It supports both IPv4 and IPv6 address format.
FirstName
string
User's first name.
LastName
string
User's last name.
UserName
string
User's username.
Password
string
User's password.
EmailAddress
string
User's email address.
UserPhone
string
User's phone number.
BillAddress
string
Street address of billing address.
BillCity
string
City of billing address.
BillState
string
State of billing address. It supports state codes, e.g. NY (New York), for state or province of United States or Canada. Please refer to State & Province Codes for complete list.
BillZIPCode
string
Postal or ZIP code of billing address.
BillCountry
string
Country of billing address. It requires the input of ISO-3166 alpha-2 country code, e.g. US for United States. Please refer to Country Codes for complete list.
UserOrderID
string
Merchant identifier to uniquely identify a transaction. It supports maximum of 15 characters user order id input.
UserOrderMemo
string
Merchant description of an order transaction. It supports maximum of 200 characters.
Amount
decimal
Amount of the transaction.
Quantity
integer
Total quantity of the transaction.
Currency
string
Currency code used in the transaction. It requires the input of ISO-4217 (3 characters) currency code, e.g. USD for US Dollar. Please refer to Currency Codes for complete list.
Department
string
Merchant identifier to uniquely identify a product or service department.
The single character AVS result returned by the credit card processor. Please refer to AVS & CVV2 Response Codes for details.
CvvResult
string
The single character CVV2 result returned by the credit card processor. Please refer to AVS & CVV2 Response Codes for details.
ShippingAddress
string
Street address of shipping address.
ShippingCity
string
City of shipping address.
ShippingState
string
State of shipping address. It supports state codes, e.g. NY - New York, for state or province of United States or Canada. Please refer to State & Province Codes for complete list.
ShippingZIPCode
string
Postal or ZIP code of shipping address.
ShippingCountry
string
Country of shipping address. It requires the input of ISO-3166 alpha-2 country code, e.g. US for United States. Please refer to Country Codes for complete list.
FLPCheckSum
string
Checksum for the device validation. Please visit Agent Javascript to learn about the use of this parameter.
Unique transaction ID generated from Validate function.
Action
string
Perform APPROVE, REJECT, or REJECT_BLACKLIST action to transaction. Refer to reference section for status code.
Note
string
Notes for the feedback request.
Imports FraudLabsPro.FraudLabsPro
Public Class WebForm2
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
'Configure FraudLabs Pro API KEY
FraudLabsProConfig.APIKey = "YOUR_API_KEY"
'Set FeedBack Order parameter
Dim Feedback_Order_Parameter As New OrderPara
Feedback_Order_Parameter.ID = "20180709-NHAEUK"
Feedback_Order_Parameter.Action = Order.Action.APPROVE ' Please refer to reference section for full list of feedback statuses
Feedback_Order_Parameter.Note = "This customer made a valid purchase before."
'Feedback Order API
Dim FeedbackOrder As New Order
Dim result = FeedbackOrder.FeedbackOrder(Feedback_Order_Parameter)
Response.Write("FraudLabsProErrorCode: " + result.FraudLabsProErrorCode + "</br>")
Response.Write("FraudLabsProMessage: " + result.FraudLabsProMessage + "</br>")
End Sub
End Class
SMS Verification
Send SMS Verification
Object Properties
Property Name
Property Type
Description
Tel
string
The recipient mobile phone number in E164 format which is a plus followed by just numbers with no spaces or parentheses.
Message
string
The message template for the SMS. Add as placeholder for the actual OTP to be generated. Max length is 140 characters.
OtpTimeout
integer
Timeout feature for OTP value in seconds. Default is 3600 seconds(1 hour). Max timeout is 86400 seconds(24 hours).
CountryCode
string
ISO 3166 country code for the recipient mobile phone number. If parameter is supplied, then some basic telephone number validation is done.
Imports FraudLabsPro.FraudLabsPro
Public Class WebForm4
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
'Configure FraudLabs Pro API KEY
FraudLabsProConfig.APIKey = "YOUR_API_KEY"
'Send SMS Verification API
Dim Send_SMS_Verification As New SMSVerification
'Sets SMS details for authentication purpose
Dim SMS_Details As New SMSVerificationPara
SMS_Details.Tel = "+123456789"
SMS_Details.CountryCode = "US"
SMS_Details.Message = "Hi, your OTP is <otp>."
SMS_Details.OtpTimeout = 3600
Dim result = Send_SMS_Verification.SendSMS(SMS_Details)
Response.Write("TransactionID: " + result.TransactionID + "</br>")
Response.Write("CreditsRemaining: " + result.CreditsRemaining + "</br>")
Response.Write("Error: " + result.Error + "</br>")
End Sub
End Class
Get SMS Verification Result
Object Properties
Property Name
Property Type
Description
TransactionID
string
The unique ID that was returned by the Send SMS Verification that triggered the OTP sms.
OTP
string
The OTP that was sent to the recipient’s phone.
Imports FraudLabsPro.FraudLabsPro
Public Class WebForm5
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
'Configure FraudLabs Pro API KEY
FraudLabsProConfig.APIKey = "YOUR_API_KEY"
'Get Verification Result API
Dim Get_Verification_Result As New SMSVerification
'Sets SMS details for authentication purpose
Dim SMS_Details As New SMSVerificationPara
SMS_Details.TransactionID = "UNIQUE_TRANS_ID"
SMS_Details.OTP = "OTP_RECEIVED"
Dim result = Get_Verification_Result.VerifySMS(SMS_Details)
Response.Write("Result: " + result.Result + "</br>")
Response.Write("Error: " + result.Error + "</br>")
End Sub
End Class