docs/FraudDetectApi.md in first_data_gateway-1.2.0 vs docs/FraudDetectApi.md in first_data_gateway-1.3.0
- old
+ new
@@ -5,18 +5,21 @@
Method | HTTP request | Description
------------- | ------------- | -------------
[**score_only**](FraudDetectApi.md#score_only) | **POST** /fraud/score-only | Score a transaction for fraud.
-# **score_only**
+
+## score_only
+
> ScoreOnlyResponse score_only(content_type, client_request_id, api_key, timestamp, score_only_request, opts)
Score a transaction for fraud.
Use this to obtain a fraud score for a transaction.
### Example
+
```ruby
# load the gem
require 'openapi_client'
api_instance = OpenapiClient::FraudDetectApi.new
@@ -39,10 +42,11 @@
end
```
### Parameters
+
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**content_type** | **String**| Content type. | [default to 'application/json']
**client_request_id** | **String**| A client-generated ID for request tracking and signature creation, unique per request. This is also used for idempotency control. We recommend 128-bit UUID format. |
**api_key** | **String**| Key given to merchant after boarding associating their requests with the appropriate app in Apigee. |
@@ -59,10 +63,8 @@
No authorization required
### HTTP request headers
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-
+- **Content-Type**: application/json
+- **Accept**: application/json