Skip to content

Commit b6df79c

Browse files
authored
Merge pull request #44 from CyberSource/feb20-release
Upgrade to v0.0.13
2 parents 4e2b314 + 775a04b commit b6df79c

File tree

809 files changed

+82632
-22840
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

809 files changed

+82632
-22840
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ override the new secure-http default setting)*.
3131
{
3232
"require": {
3333
"php": ">=5.6",
34-
"cybersource/rest-client-php": "0.0.12"
34+
"cybersource/rest-client-php": "0.0.13"
3535
}
3636
}
3737
```

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cybersource/rest-client-php",
3-
"version": "0.0.12",
3+
"version": "0.0.13",
44
"description": "Client SDK for CyberSource REST APIs",
55
"keywords": [
66
"cybersource", "payments", "ecommerce", "merchant", "merchants", "authorize", "visa", "payment", "payment-gateway", "payment-integration", "payment-module", "payment-processing", "payment-service", "payment-methods"

docs/Api/AuthenticationExemptionsApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ All URIs are relative to *https://apitest.cybersource.com*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**authenticationExemptions**](AuthenticationExemptionsApi.md#authenticationExemptions) | **POST** /risk/v1/authentication-exemptions | Authentication exemptions service
7+
[**authenticationExemptions**](AuthenticationExemptionsApi.md#authenticationExemptions) | **POST** /risk/v1/authentication-exemptions | Authentication Exemptions Service
88

99

1010
# **authenticationExemptions**
1111
> \CyberSource\Model\RiskV1AuthenticationExemptionsPost201Response authenticationExemptions($authenticationExemptionsRequest)
1212
13-
Authentication exemptions service
13+
Authentication Exemptions Service
1414

1515
A new CYBS branded service to connect to VISA’s REST API to enable Visa Transaction Advisor (VTA) as a standalone service for merchants to support PSD2/SCA adoption and exemptions processing startegy in Europe.VTA Provides intelligent risk data to merchants as inputs to their in-house fraud management tools for fraud mitigation on Visa transactions.
1616

docs/Api/ConversionDetailsApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ All URIs are relative to *https://apitest.cybersource.com*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**getConversionDetail**](ConversionDetailsApi.md#getConversionDetail) | **GET** /reporting/v3/conversion-details | Get conversion detail transactions
7+
[**getConversionDetail**](ConversionDetailsApi.md#getConversionDetail) | **GET** /reporting/v3/conversion-details | Get Conversion Detail Transactions
88

99

1010
# **getConversionDetail**
1111
> \CyberSource\Model\ReportingV3ConversionDetailsGet200Response getConversionDetail($startTime, $endTime, $organizationId)
1212
13-
Get conversion detail transactions
13+
Get Conversion Detail Transactions
1414

1515
Get conversion detail of transactions for a merchant.
1616

docs/Api/DecisionManagerApi.md

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,58 @@ All URIs are relative to *https://apitest.cybersource.com*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7+
[**addNegative**](DecisionManagerApi.md#addNegative) | **POST** /risk/v1/lists/{type}/entries | List Management
78
[**createDecisionManagerCase**](DecisionManagerApi.md#createDecisionManagerCase) | **POST** /risk/v1/decisions | Create Decision Manager Case
9+
[**fraudUpdate**](DecisionManagerApi.md#fraudUpdate) | **POST** /risk/v1/decisions/{id}/marking | Fraud Marking
810

911

12+
# **addNegative**
13+
> \CyberSource\Model\RiskV1UpdatePost201Response addNegative($type, $addNegativeListRequest)
14+
15+
List Management
16+
17+
This call adds/deletes/converts the request information in the negative list. Provide the list to be updated as the path parameter. This value can be 'postiive', 'negative' or 'review'.
18+
19+
### Example
20+
```php
21+
<?php
22+
require_once(__DIR__ . '/vendor/autoload.php');
23+
24+
$api_instance = new CyberSource\Api\DecisionManagerApi();
25+
$type = "type_example"; // string | The list to be updated. It can be 'positive', 'negative' or 'review'.
26+
$addNegativeListRequest = new \CyberSource\Model\AddNegativeListRequest(); // \CyberSource\Model\AddNegativeListRequest |
27+
28+
try {
29+
$result = $api_instance->addNegative($type, $addNegativeListRequest);
30+
print_r($result);
31+
} catch (Exception $e) {
32+
echo 'Exception when calling DecisionManagerApi->addNegative: ', $e->getMessage(), PHP_EOL;
33+
}
34+
?>
35+
```
36+
37+
### Parameters
38+
39+
Name | Type | Description | Notes
40+
------------- | ------------- | ------------- | -------------
41+
**type** | **string**| The list to be updated. It can be &#39;positive&#39;, &#39;negative&#39; or &#39;review&#39;. |
42+
**addNegativeListRequest** | [**\CyberSource\Model\AddNegativeListRequest**](../Model/AddNegativeListRequest.md)| |
43+
44+
### Return type
45+
46+
[**\CyberSource\Model\RiskV1UpdatePost201Response**](../Model/RiskV1UpdatePost201Response.md)
47+
48+
### Authorization
49+
50+
No authorization required
51+
52+
### HTTP request headers
53+
54+
- **Content-Type**: application/json;charset=utf-8
55+
- **Accept**: application/hal+json;charset=utf-8
56+
57+
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)
58+
1059
# **createDecisionManagerCase**
1160
> \CyberSource\Model\RiskV1DecisionsPost201Response createDecisionManagerCase($createDecisionManagerCaseRequest)
1261
@@ -52,3 +101,50 @@ No authorization required
52101

53102
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)
54103

104+
# **fraudUpdate**
105+
> \CyberSource\Model\RiskV1UpdatePost201Response fraudUpdate($id, $fraudMarkingActionRequest)
106+
107+
Fraud Marking
108+
109+
This can be used to - 1. Add known fraudulent data to the fraud history 2. Remove data added to history with Transaction Marking Tool or by uploading chargeback files 3. Remove chargeback data from history that was automatically added. For detailed information, contact your Cybersource representative Place the request ID of the transaction you want to mark as suspect (or remove from history) as the path parameter in this request.
110+
111+
### Example
112+
```php
113+
<?php
114+
require_once(__DIR__ . '/vendor/autoload.php');
115+
116+
$api_instance = new CyberSource\Api\DecisionManagerApi();
117+
$id = "id_example"; // string | Request ID of the transaction that you want to mark as suspect or remove from history.
118+
$fraudMarkingActionRequest = new \CyberSource\Model\FraudMarkingActionRequest(); // \CyberSource\Model\FraudMarkingActionRequest |
119+
120+
try {
121+
$result = $api_instance->fraudUpdate($id, $fraudMarkingActionRequest);
122+
print_r($result);
123+
} catch (Exception $e) {
124+
echo 'Exception when calling DecisionManagerApi->fraudUpdate: ', $e->getMessage(), PHP_EOL;
125+
}
126+
?>
127+
```
128+
129+
### Parameters
130+
131+
Name | Type | Description | Notes
132+
------------- | ------------- | ------------- | -------------
133+
**id** | **string**| Request ID of the transaction that you want to mark as suspect or remove from history. |
134+
**fraudMarkingActionRequest** | [**\CyberSource\Model\FraudMarkingActionRequest**](../Model/FraudMarkingActionRequest.md)| |
135+
136+
### Return type
137+
138+
[**\CyberSource\Model\RiskV1UpdatePost201Response**](../Model/RiskV1UpdatePost201Response.md)
139+
140+
### Authorization
141+
142+
No authorization required
143+
144+
### HTTP request headers
145+
146+
- **Content-Type**: application/json;charset=utf-8
147+
- **Accept**: application/hal+json;charset=utf-8
148+
149+
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)
150+

docs/Api/DownloadDTDApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ All URIs are relative to *https://apitest.cybersource.com*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**getDTDV2**](DownloadDTDApi.md#getDTDV2) | **GET** /dtds/{reportDefinitionNameVersion} | Download DTD for report
7+
[**getDTDV2**](DownloadDTDApi.md#getDTDV2) | **GET** /dtds/{reportDefinitionNameVersion} | Download DTD for Report
88

99

1010
# **getDTDV2**
1111
> getDTDV2($reportDefinitionNameVersion)
1212
13-
Download DTD for report
13+
Download DTD for Report
1414

1515
Used to download DTDs for reports on no-auth.
1616

docs/Api/DownloadXSDApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ All URIs are relative to *https://apitest.cybersource.com*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**getXSDV2**](DownloadXSDApi.md#getXSDV2) | **GET** /xsds/{reportDefinitionNameVersion} | Download XSD for report
7+
[**getXSDV2**](DownloadXSDApi.md#getXSDV2) | **GET** /xsds/{reportDefinitionNameVersion} | Download XSD for Report
88

99

1010
# **getXSDV2**
1111
> getXSDV2($reportDefinitionNameVersion)
1212
13-
Download XSD for report
13+
Download XSD for Report
1414

1515
Used to download XSDs for reports on no-auth.
1616

docs/Api/NetFundingsApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ All URIs are relative to *https://apitest.cybersource.com*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**getNetFundingDetails**](NetFundingsApi.md#getNetFundingDetails) | **GET** /reporting/v3/net-fundings | Get Netfunding information for an account or a merchant
7+
[**getNetFundingDetails**](NetFundingsApi.md#getNetFundingDetails) | **GET** /reporting/v3/net-fundings | Get Netfunding Information for an Account or a Merchant
88

99

1010
# **getNetFundingDetails**
1111
> \CyberSource\Model\ReportingV3NetFundingsGet200Response getNetFundingDetails($startTime, $endTime, $organizationId, $groupName)
1212
13-
Get Netfunding information for an account or a merchant
13+
Get Netfunding Information for an Account or a Merchant
1414

1515
Get Netfunding information for an account or a merchant.
1616

docs/Api/NotificationOfChangesApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ All URIs are relative to *https://apitest.cybersource.com*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**getNotificationOfChangeReport**](NotificationOfChangesApi.md#getNotificationOfChangeReport) | **GET** /reporting/v3/notification-of-changes | Get Notification Of Changes
7+
[**getNotificationOfChangeReport**](NotificationOfChangesApi.md#getNotificationOfChangeReport) | **GET** /reporting/v3/notification-of-changes | Get Notification of Changes
88

99

1010
# **getNotificationOfChangeReport**
1111
> \CyberSource\Model\ReportingV3NotificationofChangesGet200Response getNotificationOfChangeReport($startTime, $endTime)
1212
13-
Get Notification Of Changes
13+
Get Notification of Changes
1414

1515
Download the Notification of Change report. This report shows eCheck-related fields updated as a result of a response to an eCheck settlement transaction.
1616

docs/Api/PayerAuthenticationApi.md

Lines changed: 54 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@ All URIs are relative to *https://apitest.cybersource.com*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**checkPayerAuthEnrollment**](PayerAuthenticationApi.md#checkPayerAuthEnrollment) | **POST** /risk/v1/authentications | Check payer auth enrollment
8-
[**validateAuthenticationResults**](PayerAuthenticationApi.md#validateAuthenticationResults) | **POST** /risk/v1/authentication-results | Validate authentication results
7+
[**checkPayerAuthEnrollment**](PayerAuthenticationApi.md#checkPayerAuthEnrollment) | **POST** /risk/v1/authentications | Check Payer Auth Enrollment
8+
[**payerAuthSetup**](PayerAuthenticationApi.md#payerAuthSetup) | **POST** /risk/v1/authentication-setups | Setup Payer Auth
9+
[**validateAuthenticationResults**](PayerAuthenticationApi.md#validateAuthenticationResults) | **POST** /risk/v1/authentication-results | Validate Authentication Results
910

1011

1112
# **checkPayerAuthEnrollment**
1213
> \CyberSource\Model\RiskV1AuthenticationsPost201Response checkPayerAuthEnrollment($checkPayerAuthEnrollmentRequest)
1314
14-
Check payer auth enrollment
15+
Check Payer Auth Enrollment
1516

1617
This call verifies that the card is enrolled in a card authentication program.
1718

@@ -53,10 +54,55 @@ No authorization required
5354

5455
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)
5556

57+
# **payerAuthSetup**
58+
> \CyberSource\Model\RiskV1AuthenticationSetupsPost201Response payerAuthSetup($payerAuthSetupRequest)
59+
60+
Setup Payer Auth
61+
62+
A new service for Merchants to get reference_id for Digital Wallets to use in place of BIN number in Cardinal. Set up file while authenticating with Cardinal. This service should be called by Merchant when payment instrument chosen or changes. This service has to be called before enrollment check.
63+
64+
### Example
65+
```php
66+
<?php
67+
require_once(__DIR__ . '/vendor/autoload.php');
68+
69+
$api_instance = new CyberSource\Api\PayerAuthenticationApi();
70+
$payerAuthSetupRequest = new \CyberSource\Model\PayerAuthSetupRequest(); // \CyberSource\Model\PayerAuthSetupRequest |
71+
72+
try {
73+
$result = $api_instance->payerAuthSetup($payerAuthSetupRequest);
74+
print_r($result);
75+
} catch (Exception $e) {
76+
echo 'Exception when calling PayerAuthenticationApi->payerAuthSetup: ', $e->getMessage(), PHP_EOL;
77+
}
78+
?>
79+
```
80+
81+
### Parameters
82+
83+
Name | Type | Description | Notes
84+
------------- | ------------- | ------------- | -------------
85+
**payerAuthSetupRequest** | [**\CyberSource\Model\PayerAuthSetupRequest**](../Model/PayerAuthSetupRequest.md)| |
86+
87+
### Return type
88+
89+
[**\CyberSource\Model\RiskV1AuthenticationSetupsPost201Response**](../Model/RiskV1AuthenticationSetupsPost201Response.md)
90+
91+
### Authorization
92+
93+
No authorization required
94+
95+
### HTTP request headers
96+
97+
- **Content-Type**: application/json;charset=utf-8
98+
- **Accept**: application/hal+json;charset=utf-8
99+
100+
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)
101+
56102
# **validateAuthenticationResults**
57-
> \CyberSource\Model\RiskV1AuthenticationResultsPost201Response validateAuthenticationResults($request)
103+
> \CyberSource\Model\RiskV1AuthenticationResultsPost201Response validateAuthenticationResults($validateRequest)
58104
59-
Validate authentication results
105+
Validate Authentication Results
60106

61107
This call retrieves and validates the authentication results from issuer and allows the merchant to proceed with processing the payment.
62108

@@ -66,10 +112,10 @@ This call retrieves and validates the authentication results from issuer and all
66112
require_once(__DIR__ . '/vendor/autoload.php');
67113

68114
$api_instance = new CyberSource\Api\PayerAuthenticationApi();
69-
$request = new \CyberSource\Model\Request(); // \CyberSource\Model\Request |
115+
$validateRequest = new \CyberSource\Model\ValidateRequest(); // \CyberSource\Model\ValidateRequest |
70116

71117
try {
72-
$result = $api_instance->validateAuthenticationResults($request);
118+
$result = $api_instance->validateAuthenticationResults($validateRequest);
73119
print_r($result);
74120
} catch (Exception $e) {
75121
echo 'Exception when calling PayerAuthenticationApi->validateAuthenticationResults: ', $e->getMessage(), PHP_EOL;
@@ -81,7 +127,7 @@ try {
81127

82128
Name | Type | Description | Notes
83129
------------- | ------------- | ------------- | -------------
84-
**request** | [**\CyberSource\Model\Request**](../Model/Request.md)| |
130+
**validateRequest** | [**\CyberSource\Model\ValidateRequest**](../Model/ValidateRequest.md)| |
85131

86132
### Return type
87133

0 commit comments

Comments
 (0)