README.md in fraudlabspro_ruby-3.2.0 vs README.md in fraudlabspro_ruby-3.2.1
- old
+ new
@@ -1,10 +1,10 @@
FraudLabs Pro Ruby SDK
========================
This Ruby module enables user to easily implement fraud detection feature into their solution using the API from https://www.fraudlabspro.com.
-Below are the features of this PHP module:
+Below are the features of this Ruby module:
- Fraud analysis and scoring
- IP address geolocation & proxy validation
- Email address validation
- Credit card issuing bank validation
- Transaction velocity validation
@@ -43,11 +43,11 @@
| user_order_memo | string | Merchant description of an order transaction. It supports maximum of 200 characters. |
| amount | float | 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](https://www.fraudlabspro.com/developer/reference/currency-codes) for complete list. |
| department | string | Merchant identifier to uniquely identify a product or service department. |
-| payment_mode | string | Payment mode of transaction. Please see [reference section](#payment-method). |
+| payment_mode | string | Payment mode of transaction. Valid values: creditcard, affirm, paypal, googlecheckout, bitcoin, cod, moneyorder, wired, bankdeposit, elviauthorized, paymitco, cybersource, sezzle, viabill, amazonpay, pmnts_gateway, giftcard, others. |
| card_number | string | Billing credit card number or BIN number. |
| card_avs | string | The single character AVS result returned by the credit card processor. Please refer to [AVS & CVV2 Response Codes](https://www.fraudlabspro.com/developer/reference/avs-and-cvv2-response-codes) for details. |
| card_cvv | string | The single character CVV2 result returned by the credit card processor. Please refer to [AVS & CVV2 Response Codes](https://www.fraudlabspro.com/developer/reference/avs-and-cvv2-response-codes) for details. |
| ship_addr | string | Street address of shipping address. |
| ship_city | string | City of shipping address. |
@@ -158,10 +158,10 @@
require 'fraudlabspro_ruby'
FraudlabsproRuby::Configuration.api_key = 'YOUR_API_KEY'
result = FraudlabsproRuby::Api::SMSVerification.sendSMS(
- tel: '+15616288674',
+ tel: '+123456789',
mesg: 'Hi, your OTP is <otp>.',
otp_timeout: 3600,
country_code: 'US'
)
```