Skip to content

Commit 30fcdf8

Browse files
authored
Merge pull request #183 from CyberSource/release-march25
Release march25
2 parents 7a4351e + 5acc7d7 commit 30fcdf8

File tree

141 files changed

+116069
-111884
lines changed

Some content is hidden

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

141 files changed

+116069
-111884
lines changed

docs/BatchesApi.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Method | HTTP request | Description
1212

1313
<a name="getBatchReport"></a>
1414
# **getBatchReport**
15-
> InlineResponse2007 getBatchReport(batchId)
15+
> InlineResponse2004 getBatchReport(batchId)
1616
1717
Retrieve a Batch Report
1818

@@ -28,7 +28,7 @@ Retrieve a Batch Report
2828
BatchesApi apiInstance = new BatchesApi();
2929
String batchId = "batchId_example"; // String | Unique identification number assigned to the submitted request.
3030
try {
31-
InlineResponse2007 result = apiInstance.getBatchReport(batchId);
31+
InlineResponse2004 result = apiInstance.getBatchReport(batchId);
3232
System.out.println(result);
3333
} catch (ApiException e) {
3434
System.err.println("Exception when calling BatchesApi#getBatchReport");
@@ -44,7 +44,7 @@ Name | Type | Description | Notes
4444

4545
### Return type
4646

47-
[**InlineResponse2007**](InlineResponse2007.md)
47+
[**InlineResponse2004**](InlineResponse2004.md)
4848

4949
### Authorization
5050

@@ -57,7 +57,7 @@ No authorization required
5757

5858
<a name="getBatchStatus"></a>
5959
# **getBatchStatus**
60-
> InlineResponse2006 getBatchStatus(batchId)
60+
> InlineResponse2003 getBatchStatus(batchId)
6161
6262
Retrieve a Batch Status
6363

@@ -73,7 +73,7 @@ Retrieve a Batch Status
7373
BatchesApi apiInstance = new BatchesApi();
7474
String batchId = "batchId_example"; // String | Unique identification number assigned to the submitted request.
7575
try {
76-
InlineResponse2006 result = apiInstance.getBatchStatus(batchId);
76+
InlineResponse2003 result = apiInstance.getBatchStatus(batchId);
7777
System.out.println(result);
7878
} catch (ApiException e) {
7979
System.err.println("Exception when calling BatchesApi#getBatchStatus");
@@ -89,7 +89,7 @@ Name | Type | Description | Notes
8989

9090
### Return type
9191

92-
[**InlineResponse2006**](InlineResponse2006.md)
92+
[**InlineResponse2003**](InlineResponse2003.md)
9393

9494
### Authorization
9595

@@ -102,7 +102,7 @@ No authorization required
102102

103103
<a name="getBatchesList"></a>
104104
# **getBatchesList**
105-
> InlineResponse2005 getBatchesList(offset, limit, fromDate, toDate)
105+
> InlineResponse2002 getBatchesList(offset, limit, fromDate, toDate)
106106
107107
List Batches
108108

@@ -121,7 +121,7 @@ Long limit = 20L; // Long | The maximum number that can be returned in the array
121121
String fromDate = "fromDate_example"; // String | ISO-8601 format: yyyyMMddTHHmmssZ
122122
String toDate = "toDate_example"; // String | ISO-8601 format: yyyyMMddTHHmmssZ
123123
try {
124-
InlineResponse2005 result = apiInstance.getBatchesList(offset, limit, fromDate, toDate);
124+
InlineResponse2002 result = apiInstance.getBatchesList(offset, limit, fromDate, toDate);
125125
System.out.println(result);
126126
} catch (ApiException e) {
127127
System.err.println("Exception when calling BatchesApi#getBatchesList");
@@ -140,7 +140,7 @@ Name | Type | Description | Notes
140140

141141
### Return type
142142

143-
[**InlineResponse2005**](InlineResponse2005.md)
143+
[**InlineResponse2002**](InlineResponse2002.md)
144144

145145
### Authorization
146146

docs/CreateNewWebhooksApi.md

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

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**createWebhookSubscription**](CreateNewWebhooksApi.md#createWebhookSubscription) | **POST** /notification-subscriptions/v1/webhooks | Create a Webhook
8-
[**findProductsToSubscribe**](CreateNewWebhooksApi.md#findProductsToSubscribe) | **GET** /notification-subscriptions/v1/products/{organizationId} | Find Products You Can Subscribe To
97
[**saveSymEgressKey**](CreateNewWebhooksApi.md#saveSymEgressKey) | **POST** /kms/egress/v2/keys-sym | Create Webhook Security Keys
108

119

12-
<a name="createWebhookSubscription"></a>
13-
# **createWebhookSubscription**
14-
> InlineResponse2014 createWebhookSubscription(createWebhookRequest)
15-
16-
Create a Webhook
17-
18-
Create a new webhook subscription. Before creating a webhook, ensure that a security key has been created at the top of this developer center section. You will not need to pass us back the key during the creation of the webhook, but you will receive an error if you did not already create a key or store one on file.
19-
20-
### Example
21-
```java
22-
// Import classes:
23-
//import Invokers.ApiException;
24-
//import Api.CreateNewWebhooksApi;
25-
26-
27-
CreateNewWebhooksApi apiInstance = new CreateNewWebhooksApi();
28-
CreateWebhookRequest createWebhookRequest = new CreateWebhookRequest(); // CreateWebhookRequest | The webhook payload
29-
try {
30-
InlineResponse2014 result = apiInstance.createWebhookSubscription(createWebhookRequest);
31-
System.out.println(result);
32-
} catch (ApiException e) {
33-
System.err.println("Exception when calling CreateNewWebhooksApi#createWebhookSubscription");
34-
e.printStackTrace();
35-
}
36-
```
37-
38-
### Parameters
39-
40-
Name | Type | Description | Notes
41-
------------- | ------------- | ------------- | -------------
42-
**createWebhookRequest** | [**CreateWebhookRequest**](CreateWebhookRequest.md)| The webhook payload | [optional]
43-
44-
### Return type
45-
46-
[**InlineResponse2014**](InlineResponse2014.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/json;charset=utf-8
56-
57-
<a name="findProductsToSubscribe"></a>
58-
# **findProductsToSubscribe**
59-
> List&lt;InlineResponse2002&gt; findProductsToSubscribe(organizationId)
60-
61-
Find Products You Can Subscribe To
62-
63-
Retrieve a list of products and event types that your account is eligible for. These products and events are the ones that you may subscribe to in the next step of creating webhooks.
64-
65-
### Example
66-
```java
67-
// Import classes:
68-
//import Invokers.ApiException;
69-
//import Api.CreateNewWebhooksApi;
70-
71-
72-
CreateNewWebhooksApi apiInstance = new CreateNewWebhooksApi();
73-
String organizationId = "organizationId_example"; // String | The Organization Identifier.
74-
try {
75-
List<InlineResponse2002> result = apiInstance.findProductsToSubscribe(organizationId);
76-
System.out.println(result);
77-
} catch (ApiException e) {
78-
System.err.println("Exception when calling CreateNewWebhooksApi#findProductsToSubscribe");
79-
e.printStackTrace();
80-
}
81-
```
82-
83-
### Parameters
84-
85-
Name | Type | Description | Notes
86-
------------- | ------------- | ------------- | -------------
87-
**organizationId** | **String**| The Organization Identifier. |
88-
89-
### Return type
90-
91-
[**List&lt;InlineResponse2002&gt;**](InlineResponse2002.md)
92-
93-
### Authorization
94-
95-
No authorization required
96-
97-
### HTTP request headers
98-
99-
- **Content-Type**: application/json;charset=utf-8
100-
- **Accept**: application/json;charset=utf-8
101-
10210
<a name="saveSymEgressKey"></a>
10311
# **saveSymEgressKey**
10412
> InlineResponse2013 saveSymEgressKey(vCSenderOrganizationId, vCPermissions, vCCorrelationId, saveSymEgressKey)
10513
10614
Create Webhook Security Keys
10715

108-
Create security keys that CyberSource will use internally to connect to your servers and validate messages using a digital signature. Select the CREATE example for CyberSource to generate the key on our server and maintain it for you as well. Remeber to save the key in the API response, so that you can use it to validate messages later.
16+
Create security keys that CyberSource will use internally to connect to your servers and validate messages using a digital signature. Select the CREATE example for CyberSource to generate the key on our server and maintain it for you as well. Remember to save the key in the API response, so that you can use it to validate messages later.
10917

11018
### Example
11119
```java
@@ -148,5 +56,5 @@ No authorization required
14856
### HTTP request headers
14957

15058
- **Content-Type**: application/json;charset=utf-8
151-
- **Accept**: application/json;charset=utf-8
59+
- **Accept**: application/hal+json;charset=utf-8
15260

docs/CreateWebhookRequest.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

docs/GenerateUnifiedCheckoutCaptureContextRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
77
**clientVersion** | **String** | Specify the version of Unified Checkout that you want to use. | [optional]
88
**targetOrigins** | **List&lt;String&gt;** | The [target origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) of the website on which you will be launching Unified Checkout is defined by the scheme (protocol), hostname (domain) and port number (if used). You must use https://hostname (unless you use http://localhost) Wildcards are NOT supported. Ensure that subdomains are included. Any valid top-level domain is supported (e.g. .com, .co.uk, .gov.br etc) Examples: - https://example.com - https://subdomain.example.com - https://example.com:8080&lt;br&gt;&lt;br&gt; If you are embedding within multiple nested iframes you need to specify the origins of all the browser contexts used, for example: targetOrigins: [ \&quot;https://example.com\&quot;, \&quot;https://basket.example.com\&quot;, \&quot;https://ecom.example.com\&quot; ] | [optional]
99
**allowedCardNetworks** | **List&lt;String&gt;** | The list of card networks you want to use for this Unified Checkout transaction. Unified Checkout currently supports the following card networks: - VISA - MASTERCARD - AMEX - CARNET - CARTESBANCAIRES - CUP - DINERSCLUB - DISCOVER - EFTPOS - ELO - JCB - JCREW - MADA - MAESTRO - MEEZA | [optional]
10-
**allowedPaymentTypes** | **List&lt;String&gt;** | The payment types that are allowed for the merchant. Possible values when launching Unified Checkout: - APPLEPAY - CHECK - CLICKTOPAY - GOOGLEPAY - PANENTRY - PAZE &lt;br&gt;&lt;br&gt; Possible values when launching Click To Pay Drop-In UI: - CLICKTOPAY &lt;br&gt;&lt;br&gt; **Important:** - CLICKTOPAY only available for Visa, Mastercard and AMEX for saved cards. - Visa and Mastercard will look to tokenize using network tokenization for all Click to Pay requests. Click to Pay uses Click to Pay token requester IDs and not the merchant&#39;s existing token requester. - Apple Pay, Google Pay, Check, and Paze can be used independently without requiring PAN entry in the allowedPaymentTypes field. | [optional]
10+
**allowedPaymentTypes** | **List&lt;String&gt;** | The payment types that are allowed for the merchant. Possible values when launching Unified Checkout: - APPLEPAY - CHECK - CLICKTOPAY - GOOGLEPAY - PANENTRY - PAZE &lt;br&gt;&lt;br&gt; Possible values when launching Click To Pay Drop-In UI: - CLICKTOPAY &lt;br&gt;&lt;br&gt; **Important:** - CLICKTOPAY only available for Visa, Mastercard and AMEX for saved cards. - Visa and Mastercard will look to tokenize using network tokenization for all Click to Pay requests. Click to Pay uses Click to Pay token requester IDs and not the merchant&#39;s existing token requester. - Apple Pay, Google Pay, Check, and Paze can be used independently without requiring PAN entry in the allowedPaymentTypes field.&lt;br&gt;&lt;br&gt; **Managing Google Pay Authentication Types** When you enable Google Pay on Unified Checkout you can specify optional parameters that define the types of card authentication you receive from Google Pay. | [optional]
1111
**country** | **String** | Country the purchase is originating from (e.g. country of the merchant). Use the two-character ISO Standard | [optional]
1212
**locale** | **String** | Localization of the User experience conforming to the ISO 639-1 language standards and two-character ISO Standard Country Code. Please refer to list of [supported locales through Unified Checkout](https://developer.cybersource.com/docs/cybs/en-us/unified-checkout/developer/all/rest/unified-checkout/uc-appendix-languages.html) | [optional]
1313
**captureMandate** | [**Upv1capturecontextsCaptureMandate**](Upv1capturecontextsCaptureMandate.md) | | [optional]

docs/InlineResponse2002.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**productId** | **String** | Product ID. | [optional]
8-
**productName** | **String** | Product Name. | [optional]
9-
**eventTypes** | [**List&lt;Notificationsubscriptionsv1productsorganizationIdEventTypes&gt;**](Notificationsubscriptionsv1productsorganizationIdEventTypes.md) | | [optional]
7+
**links** | [**List&lt;InlineResponse2002Links&gt;**](InlineResponse2002Links.md) | | [optional]
8+
**object** | **String** | | [optional]
9+
**offset** | **Integer** | | [optional]
10+
**limit** | **Integer** | | [optional]
11+
**count** | **Integer** | | [optional]
12+
**total** | **Integer** | | [optional]
13+
**embedded** | [**InlineResponse2002Embedded**](InlineResponse2002Embedded.md) | | [optional]
1014

1115

1216

docs/InlineResponse2002Embedded.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
# InlineResponse2002Embedded
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**batches** | [**List&lt;InlineResponse2002EmbeddedBatches&gt;**](InlineResponse2002EmbeddedBatches.md) | | [optional]
8+
9+
10+
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11

2-
# InlineResponse2005EmbeddedBatches
2+
# InlineResponse2002EmbeddedBatches
33

44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**links** | [**InlineResponse2005EmbeddedLinks**](InlineResponse2005EmbeddedLinks.md) | | [optional]
7+
**links** | [**InlineResponse2002EmbeddedLinks**](InlineResponse2002EmbeddedLinks.md) | | [optional]
88
**batchId** | **String** | Unique identification number assigned to the submitted request. | [optional]
99
**batchCreatedDate** | **String** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional]
1010
**batchModifiedDate** | **String** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional]
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
1313
**merchantReference** | **String** | Reference used by merchant to identify batch. | [optional]
1414
**batchCaEndpoints** | **List&lt;String&gt;** | Valid Values: * VISA * MASTERCARD * AMEX | [optional]
1515
**status** | **String** | Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETE | [optional]
16-
**totals** | [**InlineResponse2005EmbeddedTotals**](InlineResponse2005EmbeddedTotals.md) | | [optional]
16+
**totals** | [**InlineResponse2002EmbeddedTotals**](InlineResponse2002EmbeddedTotals.md) | | [optional]
1717

1818

1919

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
# InlineResponse2002EmbeddedLinks
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**reports** | [**List&lt;InlineResponse2002EmbeddedLinksReports&gt;**](InlineResponse2002EmbeddedLinksReports.md) | | [optional]
8+
9+
10+

docs/InlineResponse2005EmbeddedLinksReports.md renamed to docs/InlineResponse2002EmbeddedLinksReports.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
# InlineResponse2005EmbeddedLinksReports
2+
# InlineResponse2002EmbeddedLinksReports
33

44
## Properties
55
Name | Type | Description | Notes

docs/InlineResponse2005EmbeddedTotals.md renamed to docs/InlineResponse2002EmbeddedTotals.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
# InlineResponse2005EmbeddedTotals
2+
# InlineResponse2002EmbeddedTotals
33

44
## Properties
55
Name | Type | Description | Notes

0 commit comments

Comments
 (0)