Skip to content

Commit 35cb62d

Browse files
authored
Merge pull request #48 from CyberSource/mid-may-2020-release
Mid May 2020 Release
2 parents 745b702 + 91b99e9 commit 35cb62d

File tree

482 files changed

+9251
-3863
lines changed

Some content is hidden

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

482 files changed

+9251
-3863
lines changed

README.md

+1-1
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.14"
34+
"cybersource/rest-client-php": "0.0.15"
3535
}
3636
}
3737
```

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cybersource/rest-client-php",
3-
"version": "0.0.14",
3+
"version": "0.0.15",
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/DecisionManagerApi.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All URIs are relative to *https://apitest.cybersource.com*
55
Method | HTTP request | Description
66
------------- | ------------- | -------------
77
[**addNegative**](DecisionManagerApi.md#addNegative) | **POST** /risk/v1/lists/{type}/entries | List Management
8-
[**createDecisionManagerCase**](DecisionManagerApi.md#createDecisionManagerCase) | **POST** /risk/v1/decisions | Create Decision Manager Case
8+
[**createBundledDecisionManagerCase**](DecisionManagerApi.md#createBundledDecisionManagerCase) | **POST** /risk/v1/decisions | Create Decision Manager Case
99
[**fraudUpdate**](DecisionManagerApi.md#fraudUpdate) | **POST** /risk/v1/decisions/{id}/marking | Fraud Marking
1010

1111

@@ -56,8 +56,8 @@ No authorization required
5656

5757
[[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)
5858

59-
# **createDecisionManagerCase**
60-
> \CyberSource\Model\RiskV1DecisionsPost201Response createDecisionManagerCase($createDecisionManagerCaseRequest)
59+
# **createBundledDecisionManagerCase**
60+
> \CyberSource\Model\RiskV1DecisionsPost201Response createBundledDecisionManagerCase($createBundledDecisionManagerCaseRequest)
6161
6262
Create Decision Manager Case
6363

@@ -69,13 +69,13 @@ This is the combined request to the Decision Manager Service for a transaction s
6969
require_once(__DIR__ . '/vendor/autoload.php');
7070

7171
$api_instance = new CyberSource\Api\DecisionManagerApi();
72-
$createDecisionManagerCaseRequest = new \CyberSource\Model\CreateDecisionManagerCaseRequest(); // \CyberSource\Model\CreateDecisionManagerCaseRequest |
72+
$createBundledDecisionManagerCaseRequest = new \CyberSource\Model\CreateBundledDecisionManagerCaseRequest(); // \CyberSource\Model\CreateBundledDecisionManagerCaseRequest |
7373

7474
try {
75-
$result = $api_instance->createDecisionManagerCase($createDecisionManagerCaseRequest);
75+
$result = $api_instance->createBundledDecisionManagerCase($createBundledDecisionManagerCaseRequest);
7676
print_r($result);
7777
} catch (Exception $e) {
78-
echo 'Exception when calling DecisionManagerApi->createDecisionManagerCase: ', $e->getMessage(), PHP_EOL;
78+
echo 'Exception when calling DecisionManagerApi->createBundledDecisionManagerCase: ', $e->getMessage(), PHP_EOL;
7979
}
8080
?>
8181
```
@@ -84,7 +84,7 @@ try {
8484

8585
Name | Type | Description | Notes
8686
------------- | ------------- | ------------- | -------------
87-
**createDecisionManagerCaseRequest** | [**\CyberSource\Model\CreateDecisionManagerCaseRequest**](../Model/CreateDecisionManagerCaseRequest.md)| |
87+
**createBundledDecisionManagerCaseRequest** | [**\CyberSource\Model\CreateBundledDecisionManagerCaseRequest**](../Model/CreateBundledDecisionManagerCaseRequest.md)| |
8888

8989
### Return type
9090

docs/Api/DownloadDTDApi.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ 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** /reporting/v3/dtds/{reportDefinitionNameVersion} | Download DTD for Report
88

99

1010
# **getDTDV2**

docs/Api/DownloadXSDApi.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ 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** /reporting/v3/xsds/{reportDefinitionNameVersion} | Download XSD for Report
88

99

1010
# **getXSDV2**

docs/Api/NotificationOfChangesApi.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ No authorization required
5050
### HTTP request headers
5151

5252
- **Content-Type**: application/json;charset=utf-8
53-
- **Accept**: application/hal+json
53+
- **Accept**: application/hal+json, application/csv, application/xml
5454

5555
[[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)
5656

docs/Api/PaymentBatchSummariesApi.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ No authorization required
5858
### HTTP request headers
5959

6060
- **Content-Type**: application/json;charset=utf-8
61-
- **Accept**: application/hal+json
61+
- **Accept**: application/hal+json, text/csv, application/xml
6262

6363
[[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)
6464

docs/Api/PaymentsApi.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Method | HTTP request | Description
1313
1414
Process a Payment
1515

16-
Authorize the payment for the transaction.
16+
Authorize the payment for the transaction. Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds). Find more on [Authorization with Add-On Features page.] (https://developer.cybersource.com/api/authorization-add-ons.html)
1717

1818
### Example
1919
```php

docs/Api/PurchaseAndRefundDetailsApi.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ No authorization required
6262
### HTTP request headers
6363

6464
- **Content-Type**: application/json;charset=utf-8
65-
- **Accept**: application/hal+json
65+
- **Accept**: application/hal+json, application/xml, text/csv
6666

6767
[[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)
6868

docs/Api/RefundApi.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Method | HTTP request | Description
1313
1414
Refund a Capture
1515

16-
Include the capture ID in the POST request to refund the captured amount.
16+
Refund a capture API is only used, if you have requested Capture independenlty using [/pts/v2/payments/{id}/captures](https://developer.cybersource.com/api-reference-assets/index.html#payments_capture) API call Include the capture ID in the POST request to refund the captured amount.
1717

1818
### Example
1919
```php
@@ -60,7 +60,7 @@ No authorization required
6060
6161
Refund a Payment
6262

63-
Include the payment ID in the POST request to refund the payment amount.
63+
Refund a Payment API is only used, if you have requested Authorization and Capture together in [/pts/v2/payments](https://developer.cybersource.com/api-reference-assets/index.html#payments_payments) API call. Include the payment ID in the POST request to refund the payment amount.
6464

6565
### Example
6666
```php

docs/Api/ReportSubscriptionsApi.md

+15-7
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ No authorization required
104104
[[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)
105105

106106
# **deleteSubscription**
107-
> deleteSubscription($reportName)
107+
> deleteSubscription($reportName, $organizationId)
108108
109109
Delete Subscription of a Report Name by Organization
110110

@@ -117,9 +117,10 @@ require_once(__DIR__ . '/vendor/autoload.php');
117117

118118
$api_instance = new CyberSource\Api\ReportSubscriptionsApi();
119119
$reportName = "reportName_example"; // string | Name of the Report to Delete
120+
$organizationId = "organizationId_example"; // string | Valid Cybersource Organization Id
120121

121122
try {
122-
$api_instance->deleteSubscription($reportName);
123+
$api_instance->deleteSubscription($reportName, $organizationId);
123124
} catch (Exception $e) {
124125
echo 'Exception when calling ReportSubscriptionsApi->deleteSubscription: ', $e->getMessage(), PHP_EOL;
125126
}
@@ -131,6 +132,7 @@ try {
131132
Name | Type | Description | Notes
132133
------------- | ------------- | ------------- | -------------
133134
**reportName** | **string**| Name of the Report to Delete |
135+
**organizationId** | **string**| Valid Cybersource Organization Id | [optional]
134136

135137
### Return type
136138

@@ -148,7 +150,7 @@ No authorization required
148150
[[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)
149151

150152
# **getAllSubscriptions**
151-
> \CyberSource\Model\ReportingV3ReportSubscriptionsGet200Response getAllSubscriptions()
153+
> \CyberSource\Model\ReportingV3ReportSubscriptionsGet200Response getAllSubscriptions($organizationId)
152154
153155
Get All Subscriptions
154156

@@ -160,9 +162,10 @@ View a summary of all report subscriptions.
160162
require_once(__DIR__ . '/vendor/autoload.php');
161163

162164
$api_instance = new CyberSource\Api\ReportSubscriptionsApi();
165+
$organizationId = "organizationId_example"; // string | Valid Cybersource Organization Id
163166

164167
try {
165-
$result = $api_instance->getAllSubscriptions();
168+
$result = $api_instance->getAllSubscriptions($organizationId);
166169
print_r($result);
167170
} catch (Exception $e) {
168171
echo 'Exception when calling ReportSubscriptionsApi->getAllSubscriptions: ', $e->getMessage(), PHP_EOL;
@@ -171,7 +174,10 @@ try {
171174
```
172175

173176
### Parameters
174-
This endpoint does not need any parameter.
177+
178+
Name | Type | Description | Notes
179+
------------- | ------------- | ------------- | -------------
180+
**organizationId** | **string**| Valid Cybersource Organization Id | [optional]
175181

176182
### Return type
177183

@@ -189,7 +195,7 @@ No authorization required
189195
[[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)
190196

191197
# **getSubscription**
192-
> \CyberSource\Model\ReportingV3ReportSubscriptionsGet200ResponseSubscriptions getSubscription($reportName)
198+
> \CyberSource\Model\ReportingV3ReportSubscriptionsGet200ResponseSubscriptions getSubscription($reportName, $organizationId)
193199
194200
Get Subscription for Report Name
195201

@@ -202,9 +208,10 @@ require_once(__DIR__ . '/vendor/autoload.php');
202208

203209
$api_instance = new CyberSource\Api\ReportSubscriptionsApi();
204210
$reportName = "reportName_example"; // string | Name of the Report to Retrieve
211+
$organizationId = "organizationId_example"; // string | Valid Cybersource Organization Id
205212

206213
try {
207-
$result = $api_instance->getSubscription($reportName);
214+
$result = $api_instance->getSubscription($reportName, $organizationId);
208215
print_r($result);
209216
} catch (Exception $e) {
210217
echo 'Exception when calling ReportSubscriptionsApi->getSubscription: ', $e->getMessage(), PHP_EOL;
@@ -217,6 +224,7 @@ try {
217224
Name | Type | Description | Notes
218225
------------- | ------------- | ------------- | -------------
219226
**reportName** | **string**| Name of the Report to Retrieve |
227+
**organizationId** | **string**| Valid Cybersource Organization Id | [optional]
220228

221229
### Return type
222230

docs/Api/ReversalApi.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All URIs are relative to *https://apitest.cybersource.com*
55
Method | HTTP request | Description
66
------------- | ------------- | -------------
77
[**authReversal**](ReversalApi.md#authReversal) | **POST** /pts/v2/payments/{id}/reversals | Process an Authorization Reversal
8-
[**mitReversal**](ReversalApi.md#mitReversal) | **POST** /pts/v2/reversals/ | Merchant Initiated Reversal
8+
[**mitReversal**](ReversalApi.md#mitReversal) | **POST** /pts/v2/reversals/ | Timeout Reversal
99

1010

1111
# **authReversal**
@@ -58,9 +58,9 @@ No authorization required
5858
# **mitReversal**
5959
> \CyberSource\Model\PtsV2PaymentsReversalsPost201Response mitReversal($mitReversalRequest)
6060
61-
Merchant Initiated Reversal
61+
Timeout Reversal
6262

63-
This is to reverse a previous payment that merchant does not receive a reply.
63+
This is to reverse a previous payment that merchant does not receive a reply(Mostly due to Timeout). To use this feature/API, make sure to pass unique value to field - clientReferenceInformation -> transactionId in [/pts/v2/payments](https://developer.cybersource.com/api-reference-assets/index.html#payments_payments) API call and use same transactionId in this API request payload to reverse the payment.
6464

6565
### Example
6666
```php

docs/Api/UserManagementApi.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ All URIs are relative to *https://apitest.cybersource.com*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**getUsers**](UserManagementApi.md#getUsers) | **GET** /ums/v1/users | Get User Information
7+
[**getUsers**](UserManagementApi.md#getUsers) | **GET** /ums/v1/users | Get User Information - Deprecated
88

99

1010
# **getUsers**
1111
> \CyberSource\Model\UmsV1UsersGet200Response getUsers($organizationId, $userName, $permissionId, $roleId)
1212
13-
Get User Information
13+
Get User Information - Deprecated
1414

15-
This endpoint is to get all the user information depending on the filter criteria passed in the query.
15+
This endpoint is deprecated. Please use the search end point.
1616

1717
### Example
1818
```php

docs/Api/UserManagementSearchApi.md

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# CyberSource\UserManagementSearchApi
2+
3+
All URIs are relative to *https://apitest.cybersource.com*
4+
5+
Method | HTTP request | Description
6+
------------- | ------------- | -------------
7+
[**searchUsers**](UserManagementSearchApi.md#searchUsers) | **POST** /ums/v1/users/search | Search User Information
8+
9+
10+
# **searchUsers**
11+
> \CyberSource\Model\UmsV1UsersGet200Response searchUsers($searchRequest)
12+
13+
Search User Information
14+
15+
This endpoint is to get all the user information depending on the filter criteria passed in request body.
16+
17+
### Example
18+
```php
19+
<?php
20+
require_once(__DIR__ . '/vendor/autoload.php');
21+
22+
$api_instance = new CyberSource\Api\UserManagementSearchApi();
23+
$searchRequest = new \CyberSource\Model\SearchRequest(); // \CyberSource\Model\SearchRequest |
24+
25+
try {
26+
$result = $api_instance->searchUsers($searchRequest);
27+
print_r($result);
28+
} catch (Exception $e) {
29+
echo 'Exception when calling UserManagementSearchApi->searchUsers: ', $e->getMessage(), PHP_EOL;
30+
}
31+
?>
32+
```
33+
34+
### Parameters
35+
36+
Name | Type | Description | Notes
37+
------------- | ------------- | ------------- | -------------
38+
**searchRequest** | [**\CyberSource\Model\SearchRequest**](../Model/SearchRequest.md)| |
39+
40+
### Return type
41+
42+
[**\CyberSource\Model\UmsV1UsersGet200Response**](../Model/UmsV1UsersGet200Response.md)
43+
44+
### Authorization
45+
46+
No authorization required
47+
48+
### HTTP request headers
49+
50+
- **Content-Type**: application/json
51+
- **Accept**: application/hal+json;charset=utf-8
52+
53+
[[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)
54+

docs/Api/VoidApi.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ All URIs are relative to *https://apitest.cybersource.com*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**mitVoid**](VoidApi.md#mitVoid) | **POST** /pts/v2/voids/ | Merchant Initiated Void
7+
[**mitVoid**](VoidApi.md#mitVoid) | **POST** /pts/v2/voids/ | Timeout Void
88
[**voidCapture**](VoidApi.md#voidCapture) | **POST** /pts/v2/captures/{id}/voids | Void a Capture
99
[**voidCredit**](VoidApi.md#voidCredit) | **POST** /pts/v2/credits/{id}/voids | Void a Credit
1010
[**voidPayment**](VoidApi.md#voidPayment) | **POST** /pts/v2/payments/{id}/voids | Void a Payment
@@ -14,9 +14,9 @@ Method | HTTP request | Description
1414
# **mitVoid**
1515
> \CyberSource\Model\PtsV2PaymentsVoidsPost201Response mitVoid($mitVoidRequest)
1616
17-
Merchant Initiated Void
17+
Timeout Void
1818

19-
This is to void a previous payment, capture, refund, or credit that merchant does not receive a reply.
19+
This is to void a previous payment, capture, refund, or credit that merchant does not receive a reply(Mostly due to timeout). This is to void a previous payment, capture, refund, or credit that merchant does not receive a reply(Mostly due to Timeout). To use this feature/API, make sure to pass unique value to field - clientReferenceInformation -> transactionId in your payment, capture, refund, or credit API call and use same transactionId in this API request payload to reverse the payment.
2020

2121
### Example
2222
```php
@@ -61,7 +61,7 @@ No authorization required
6161
6262
Void a Capture
6363

64-
Include the capture ID in the POST request to cancel the capture.
64+
Refund a capture API is only used, if you have requested Capture independenlty using [/pts/v2/payments/{id}/captures](https://developer.cybersource.com/api-reference-assets/index.html#payments_capture) API call. Include the capture ID in the POST request to cancel the capture.
6565

6666
### Example
6767
```php
@@ -155,7 +155,7 @@ No authorization required
155155
156156
Void a Payment
157157

158-
Include the payment ID in the POST request to cancel the payment.
158+
Void a Payment API is only used, if you have requested Authorization and Capture together in [/pts/v2/payments](https://developer.cybersource.com/api-reference-assets/index.html#payments_payments) API call. Include the payment ID in the POST request to cancel the payment.
159159

160160
### Example
161161
```php

docs/Model/CheckPayerAuthEnrollmentRequest.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ Name | Type | Description | Notes
99
**processingInformation** | [**\CyberSource\Model\Riskv1authenticationsProcessingInformation**](Riskv1authenticationsProcessingInformation.md) | | [optional]
1010
**buyerInformation** | [**\CyberSource\Model\Riskv1authenticationsBuyerInformation**](Riskv1authenticationsBuyerInformation.md) | | [optional]
1111
**deviceInformation** | [**\CyberSource\Model\Riskv1authenticationsDeviceInformation**](Riskv1authenticationsDeviceInformation.md) | | [optional]
12-
**merchantInformation** | [**\CyberSource\Model\Riskv1authenticationsMerchantInformation**](Riskv1authenticationsMerchantInformation.md) | | [optional]
12+
**merchantInformation** | [**\CyberSource\Model\Riskv1decisionsMerchantInformation**](Riskv1decisionsMerchantInformation.md) | | [optional]
1313
**acquirerInformation** | [**\CyberSource\Model\Ptsv2paymentsAcquirerInformation**](Ptsv2paymentsAcquirerInformation.md) | | [optional]
1414
**recurringPaymentInformation** | [**\CyberSource\Model\Ptsv2paymentsRecurringPaymentInformation**](Ptsv2paymentsRecurringPaymentInformation.md) | | [optional]
15-
**consumerAuthenticationInformation** | [**\CyberSource\Model\Riskv1authenticationsConsumerAuthenticationInformation**](Riskv1authenticationsConsumerAuthenticationInformation.md) | | [optional]
15+
**consumerAuthenticationInformation** | [**\CyberSource\Model\Riskv1decisionsConsumerAuthenticationInformation**](Riskv1decisionsConsumerAuthenticationInformation.md) | | [optional]
1616
**riskInformation** | [**\CyberSource\Model\Riskv1authenticationsRiskInformation**](Riskv1authenticationsRiskInformation.md) | | [optional]
1717
**travelInformation** | [**\CyberSource\Model\Riskv1authenticationsTravelInformation**](Riskv1authenticationsTravelInformation.md) | | [optional]
1818
**merchantDefinedInformation** | [**\CyberSource\Model\Riskv1decisionsMerchantDefinedInformation[]**](Riskv1decisionsMerchantDefinedInformation.md) | | [optional]

0 commit comments

Comments
 (0)