Skip to content

Commit 1ed6d53

Browse files
authored
Merge pull request #192 from CyberSource/release/july25
Release/july25
2 parents 7fb4752 + b90e68f commit 1ed6d53

File tree

274 files changed

+14106
-1926
lines changed

Some content is hidden

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

274 files changed

+14106
-1926
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ override the new secure-http default setting)*.
2929
{
3030
"require": {
3131
"php": ">=8.0.0",
32-
"cybersource/rest-client-php": "0.0.63"
32+
"cybersource/rest-client-php": "0.0.64"
3333
}
3434
}
3535
```

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cybersource/rest-client-php",
3-
"version": "0.0.63",
3+
"version": "0.0.64",
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"
@@ -20,7 +20,8 @@
2020
"ext-mbstring": "*",
2121
"firebase/php-jwt": "^6.0.0",
2222
"monolog/monolog": ">=1.25.0",
23-
"web-token/jwt-framework": "^2.2.11|^3.3.5"
23+
"web-token/jwt-framework": "^2.2.11|^3.3.5",
24+
"singpolyma/openpgp-php": "0.7.0"
2425
},
2526
"require-dev": {
2627
"phpunit/phpunit": "9.6.15"

docs/Api/BinLookupApi.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ Method | HTTP request | Description
88

99

1010
# **getAccountInfo**
11-
> \CyberSource\Model\InlineResponse2011 getAccountInfo($createBinLookupRequest)
11+
> \CyberSource\Model\InlineResponse2012 getAccountInfo($createBinLookupRequest)
1212
1313
BIN Lookup API
1414

15-
The BIN Lookup Service is a versatile business tool that provides card network agnostic solution designed to ensure frictionless transaction experience by utilizing up-to-date Bank Identification Number (BIN) attributes sourced from multiple global and regional data sources. This service helps to improve authorization rates by helping to route transactions to the best-suited card network, minimizes fraud through card detail verification and aids in regulatory compliance by identifying card properties. The service is flexible and provides businesses with a flexible choice of inputs such as primary account number (PAN), network token from major networks which includes device PAN (DPAN), and all types of tokens generated via CyberSource Token Management Service (TMS). Currently, the range of available credentials is contingent on the networks enabled for the business entity. Therefore, the network information specified in this documentation is illustrative and subject to personalized offerings for each reseller or merchant.
15+
The BIN Lookup Service is a versatile business tool that provides card network agnostic solution designed to ensure frictionless transaction experience by utilizing up-to-date Bank Identification Number (BIN) attributes sourced from multiple global and regional data sources. This service helps to improve authorization rates by helping to route transactions to the best-suited card network, minimizes fraud through card detail verification and aids in regulatory compliance by identifying card properties. The service is flexible and provides businesses with a flexible choice of inputs such as primary account number (PAN), network token from major networks (such as Visa, American Express, Discover and several regional networks) which includes device PAN (DPAN), and all types of tokens generated via CyberSource Token Management Service (TMS). Currently, the range of available credentials is contingent on the networks enabled for the business entity. Therefore, the network information specified in this documentation is illustrative and subject to personalized offerings for each reseller or merchant.
1616

1717
### Example
1818
```php
@@ -39,7 +39,7 @@ Name | Type | Description | Notes
3939

4040
### Return type
4141

42-
[**\CyberSource\Model\InlineResponse2011**](../Model/InlineResponse2011.md)
42+
[**\CyberSource\Model\InlineResponse2012**](../Model/InlineResponse2012.md)
4343

4444
### Authorization
4545

docs/Api/CreateNewWebhooksApi.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ No authorization required
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

5757
# **notificationSubscriptionsV2WebhooksPost**
58-
> \CyberSource\Model\InlineResponse2014 notificationSubscriptionsV2WebhooksPost($createWebhook)
58+
> \CyberSource\Model\InlineResponse2015 notificationSubscriptionsV2WebhooksPost($createWebhook)
5959
6060
Create a New Webhook Subscription
6161

@@ -86,7 +86,7 @@ Name | Type | Description | Notes
8686

8787
### Return type
8888

89-
[**\CyberSource\Model\InlineResponse2014**](../Model/InlineResponse2014.md)
89+
[**\CyberSource\Model\InlineResponse2015**](../Model/InlineResponse2015.md)
9090

9191
### Authorization
9292

@@ -100,7 +100,7 @@ No authorization required
100100
[[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)
101101

102102
# **saveSymEgressKey**
103-
> \CyberSource\Model\InlineResponse2013 saveSymEgressKey($vCSenderOrganizationId, $vCPermissions, $vCCorrelationId, $saveSymEgressKey)
103+
> \CyberSource\Model\InlineResponse2014 saveSymEgressKey($vCSenderOrganizationId, $vCPermissions, $vCCorrelationId, $saveSymEgressKey)
104104
105105
Create Webhook Security Keys
106106

@@ -137,7 +137,7 @@ Name | Type | Description | Notes
137137

138138
### Return type
139139

140-
[**\CyberSource\Model\InlineResponse2013**](../Model/InlineResponse2013.md)
140+
[**\CyberSource\Model\InlineResponse2014**](../Model/InlineResponse2014.md)
141141

142142
### Authorization
143143

docs/Api/DecisionManagerApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ No authorization required
106106
[[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)
107107

108108
# **commentDecisionManagerCase**
109-
> \CyberSource\Model\InlineResponse201 commentDecisionManagerCase($id, $caseManagementCommentsRequest)
109+
> \CyberSource\Model\InlineResponse2011 commentDecisionManagerCase($id, $caseManagementCommentsRequest)
110110
111111
Add a comment to a DM post-transactional case
112112

@@ -139,7 +139,7 @@ Name | Type | Description | Notes
139139

140140
### Return type
141141

142-
[**\CyberSource\Model\InlineResponse201**](../Model/InlineResponse201.md)
142+
[**\CyberSource\Model\InlineResponse2011**](../Model/InlineResponse2011.md)
143143

144144
### Authorization
145145

docs/Api/ManageWebhooksApi.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ No authorization required
5858
[[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)
5959

6060
# **getWebhookSubscriptionById**
61-
> \CyberSource\Model\InlineResponse2014 getWebhookSubscriptionById($webhookId)
61+
> \CyberSource\Model\InlineResponse2015 getWebhookSubscriptionById($webhookId)
6262
6363
Get Details On a Single Webhook
6464

@@ -89,7 +89,7 @@ Name | Type | Description | Notes
8989

9090
### Return type
9191

92-
[**\CyberSource\Model\InlineResponse2014**](../Model/InlineResponse2014.md)
92+
[**\CyberSource\Model\InlineResponse2015**](../Model/InlineResponse2015.md)
9393

9494
### Authorization
9595

@@ -152,7 +152,7 @@ No authorization required
152152
[[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)
153153

154154
# **notificationSubscriptionsV1WebhooksWebhookIdPost**
155-
> \CyberSource\Model\InlineResponse2015 notificationSubscriptionsV1WebhooksWebhookIdPost($webhookId)
155+
> \CyberSource\Model\InlineResponse2016 notificationSubscriptionsV1WebhooksWebhookIdPost($webhookId)
156156
157157
Test a Webhook Configuration
158158

@@ -183,7 +183,7 @@ Name | Type | Description | Notes
183183

184184
### Return type
185185

186-
[**\CyberSource\Model\InlineResponse2015**](../Model/InlineResponse2015.md)
186+
[**\CyberSource\Model\InlineResponse2016**](../Model/InlineResponse2016.md)
187187

188188
### Authorization
189189

@@ -289,7 +289,7 @@ No authorization required
289289
[[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)
290290

291291
# **saveAsymEgressKey**
292-
> \CyberSource\Model\InlineResponse2016 saveAsymEgressKey($vCSenderOrganizationId, $vCPermissions, $saveAsymEgressKey, $vCCorrelationId)
292+
> \CyberSource\Model\InlineResponse2017 saveAsymEgressKey($vCSenderOrganizationId, $vCPermissions, $saveAsymEgressKey, $vCCorrelationId)
293293
294294
Message Level Encryption
295295

@@ -326,7 +326,7 @@ Name | Type | Description | Notes
326326

327327
### Return type
328328

329-
[**\CyberSource\Model\InlineResponse2016**](../Model/InlineResponse2016.md)
329+
[**\CyberSource\Model\InlineResponse2017**](../Model/InlineResponse2017.md)
330330

331331
### Authorization
332332

docs/Api/MerchantBoardingApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ No authorization required
5454
[[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)
5555

5656
# **postRegistration**
57-
> \CyberSource\Model\InlineResponse2012 postRegistration($postRegistrationBody, $vCIdempotencyId)
57+
> \CyberSource\Model\InlineResponse2013 postRegistration($postRegistrationBody, $vCIdempotencyId)
5858
5959
Create a boarding registration
6060

@@ -87,7 +87,7 @@ Name | Type | Description | Notes
8787

8888
### Return type
8989

90-
[**\CyberSource\Model\InlineResponse2012**](../Model/InlineResponse2012.md)
90+
[**\CyberSource\Model\InlineResponse2013**](../Model/InlineResponse2013.md)
9191

9292
### Authorization
9393

docs/Api/PaymentTokensApi.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# CyberSource\PaymentTokensApi
2+
3+
All URIs are relative to *https://apitest.cybersource.com*
4+
5+
Method | HTTP request | Description
6+
------------- | ------------- | -------------
7+
[**retrieveOrDeletePaymentToken**](PaymentTokensApi.md#retrieveOrDeletePaymentToken) | **POST** /pts/v2/payment-tokens | Retrieve or Delete Payment Token
8+
9+
10+
# **retrieveOrDeletePaymentToken**
11+
> \CyberSource\Model\InlineResponse201 retrieveOrDeletePaymentToken($request)
12+
13+
Retrieve or Delete Payment Token
14+
15+
This API can be used in two flavours - for retrieval or deletion of vault id.
16+
17+
### Example
18+
```php
19+
<?php
20+
require_once(__DIR__ . '/vendor/autoload.php');
21+
22+
$api_instance = new CyberSource\Api\PaymentTokensApi();
23+
$request = new \CyberSource\Model\Request(); // \CyberSource\Model\Request |
24+
25+
try {
26+
$result = $api_instance->retrieveOrDeletePaymentToken($request);
27+
print_r($result);
28+
} catch (Exception $e) {
29+
echo 'Exception when calling PaymentTokensApi->retrieveOrDeletePaymentToken: ', $e->getMessage(), PHP_EOL;
30+
}
31+
?>
32+
```
33+
34+
### Parameters
35+
36+
Name | Type | Description | Notes
37+
------------- | ------------- | ------------- | -------------
38+
**request** | [**\CyberSource\Model\Request**](../Model/Request.md)| |
39+
40+
### Return type
41+
42+
[**\CyberSource\Model\InlineResponse201**](../Model/InlineResponse201.md)
43+
44+
### Authorization
45+
46+
No authorization required
47+
48+
### HTTP request headers
49+
50+
- **Content-Type**: application/json;charset=utf-8
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/Model/CreateOrderRequest.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ Name | Type | Description | Notes
88
**merchantInformation** | [**\CyberSource\Model\Ptsv2intentsMerchantInformation**](Ptsv2intentsMerchantInformation.md) | | [optional]
99
**paymentInformation** | [**\CyberSource\Model\Ptsv2intentsPaymentInformation**](Ptsv2intentsPaymentInformation.md) | | [optional]
1010
**orderInformation** | [**\CyberSource\Model\Ptsv2intentsOrderInformation**](Ptsv2intentsOrderInformation.md) | | [optional]
11+
**senderInformation** | [**\CyberSource\Model\Ptsv2intentsSenderInformation**](Ptsv2intentsSenderInformation.md) | | [optional]
12+
**eventInformation** | [**\CyberSource\Model\Ptsv2intentsEventInformation**](Ptsv2intentsEventInformation.md) | | [optional]
13+
**travelInformation** | [**\CyberSource\Model\Ptsv2intentsTravelInformation**](Ptsv2intentsTravelInformation.md) | | [optional]
14+
**recipientInformation** | [**\CyberSource\Model\Ptsv2intentsRecipientInformation**](Ptsv2intentsRecipientInformation.md) | | [optional]
1115

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

docs/Model/InlineResponse2002.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
77
**integrationInformation** | [**\CyberSource\Model\InlineResponse2002IntegrationInformation**](InlineResponse2002IntegrationInformation.md) | | [optional]
88
**organizationInformation** | [**\CyberSource\Model\Boardingv1registrationsOrganizationInformation**](Boardingv1registrationsOrganizationInformation.md) | | [optional]
99
**productInformation** | [**\CyberSource\Model\Boardingv1registrationsProductInformation**](Boardingv1registrationsProductInformation.md) | | [optional]
10-
**productInformationSetups** | [**\CyberSource\Model\InlineResponse2012ProductInformationSetups[]**](InlineResponse2012ProductInformationSetups.md) | | [optional]
10+
**productInformationSetups** | [**\CyberSource\Model\InlineResponse2013ProductInformationSetups[]**](InlineResponse2013ProductInformationSetups.md) | | [optional]
1111
**documentInformation** | [**\CyberSource\Model\Boardingv1registrationsDocumentInformation**](Boardingv1registrationsDocumentInformation.md) | | [optional]
1212
**details** | [**map[string,object[]]**](array.md) | | [optional]
1313

0 commit comments

Comments
 (0)