Skip to content

Commit 7cf5e92

Browse files
committed
generated code for release
1 parent 3cbc4e8 commit 7cf5e92

File tree

456 files changed

+35729
-7120
lines changed

Some content is hidden

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

456 files changed

+35729
-7120
lines changed

docs/BatchesApi.md

Lines changed: 7 additions & 7 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-
> InlineResponse2004 getBatchReport(batchId)
15+
> InlineResponse2007 getBatchReport(batchId)
1616
1717
Retrieve a Batch Report
1818

@@ -45,7 +45,7 @@ Name | Type | Description | Notes
4545

4646
### Return type
4747

48-
[**InlineResponse2004**](InlineResponse2004.md)
48+
[**InlineResponse2007**](InlineResponse2007.md)
4949

5050
### Authorization
5151

@@ -58,7 +58,7 @@ No authorization required
5858

5959
<a name="getBatchStatus"></a>
6060
# **getBatchStatus**
61-
> InlineResponse2003 getBatchStatus(batchId)
61+
> InlineResponse2006 getBatchStatus(batchId)
6262
6363
Retrieve a Batch Status
6464

@@ -91,7 +91,7 @@ Name | Type | Description | Notes
9191

9292
### Return type
9393

94-
[**InlineResponse2003**](InlineResponse2003.md)
94+
[**InlineResponse2006**](InlineResponse2006.md)
9595

9696
### Authorization
9797

@@ -104,7 +104,7 @@ No authorization required
104104

105105
<a name="getBatchesList"></a>
106106
# **getBatchesList**
107-
> InlineResponse2002 getBatchesList(opts)
107+
> InlineResponse2005 getBatchesList(opts)
108108
109109
List Batches
110110

@@ -144,7 +144,7 @@ Name | Type | Description | Notes
144144

145145
### Return type
146146

147-
[**InlineResponse2002**](InlineResponse2002.md)
147+
[**InlineResponse2005**](InlineResponse2005.md)
148148

149149
### Authorization
150150

@@ -161,7 +161,7 @@ No authorization required
161161
162162
Create a Batch
163163

164-
**Create a Batch**<br>This resource accepts TMS tokens ids of a Customer, Payment Instrument or Instrument Identifier. <br> The card numbers for the supplied tokens ids are then sent to the relevant card associations to check for updates.<br>The following type of batches can be submitted: - **oneOff** batch containing tokens id for Visa or MasterCard card numbers. - **amexRegistration** batch containing tokens id for Amex card numbers. A batch id will be returned on a successful response which can be used to get the batch status and the batch report.
164+
**Create a Batch**<br>This resource accepts TMS tokens ids of a Customer, Payment Instrument or Instrument Identifier. <br> The card numbers for the supplied tokens ids are then sent to the relevant card associations to check for updates.<br>The following type of batches can be submitted: - **oneOff** batch containing tokens id for Visa or MasterCard card numbers. - **amexRegistration** batch containing tokens id for Amex card numbers. A batch id will be returned on a successful response which can be used to get the batch status and the batch report. The availability of API features for a merchant may depend on the portfolio configuration and may need to be enabled at the portfolio level before they can be added to merchant accounts.
165165

166166
### Example
167167
```javascript

docs/CreateInvoiceRequest.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6+
**clientReferenceInformation** | [**Invoicingv2invoicesClientReferenceInformation**](Invoicingv2invoicesClientReferenceInformation.md) | | [optional]
67
**customerInformation** | [**Invoicingv2invoicesCustomerInformation**](Invoicingv2invoicesCustomerInformation.md) | | [optional]
7-
**invoiceInformation** | [**Invoicingv2invoicesInvoiceInformation**](Invoicingv2invoicesInvoiceInformation.md) | | [optional]
8-
**orderInformation** | [**Invoicingv2invoicesOrderInformation**](Invoicingv2invoicesOrderInformation.md) | | [optional]
8+
**processingInformation** | [**Invoicingv2invoicesProcessingInformation**](Invoicingv2invoicesProcessingInformation.md) | | [optional]
9+
**invoiceInformation** | [**Invoicingv2invoicesInvoiceInformation**](Invoicingv2invoicesInvoiceInformation.md) | |
10+
**orderInformation** | [**Invoicingv2invoicesOrderInformation**](Invoicingv2invoicesOrderInformation.md) | |
911

1012

docs/CreateNewWebhooksApi.md

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

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

911

12+
<a name="findProductsToSubscribe"></a>
13+
# **findProductsToSubscribe**
14+
> [InlineResponse2003] findProductsToSubscribe(organizationId)
15+
16+
Find Products You Can Subscribe To
17+
18+
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.
19+
20+
### Example
21+
```javascript
22+
var CyberSource = require('CyberSource');
23+
24+
var apiInstance = new CyberSource.CreateNewWebhooksApi();
25+
26+
var organizationId = "organizationId_example"; // String | The Organization Identifier.
27+
28+
29+
var callback = function(error, data, response) {
30+
if (error) {
31+
console.error(error);
32+
} else {
33+
console.log('API called successfully. Returned data: ' + data);
34+
}
35+
};
36+
apiInstance.findProductsToSubscribe(organizationId, callback);
37+
```
38+
39+
### Parameters
40+
41+
Name | Type | Description | Notes
42+
------------- | ------------- | ------------- | -------------
43+
**organizationId** | **String**| The Organization Identifier. |
44+
45+
### Return type
46+
47+
[**[InlineResponse2003]**](InlineResponse2003.md)
48+
49+
### Authorization
50+
51+
No authorization required
52+
53+
### HTTP request headers
54+
55+
- **Content-Type**: application/json;charset=utf-8
56+
- **Accept**: application/hal+json;charset=utf-8
57+
58+
<a name="notificationSubscriptionsV2WebhooksPost"></a>
59+
# **notificationSubscriptionsV2WebhooksPost**
60+
> InlineResponse2014 notificationSubscriptionsV2WebhooksPost(opts)
61+
62+
Create a New Webhook Subscription
63+
64+
Create a new webhook subscription. Before creating a webhook, ensure that a signature key has been created. For the example \"Create Webhook using oAuth with Client Credentials\" - for clients who have more than one oAuth Provider and have different client secrets that they would like to config for a given webhook, they may do so by overriding the keyId inside security config of webhook subscription. See the Developer Center examples section titled \"Webhook Security - Create or Store Egress Symmetric Key - Store oAuth Credentials For Symmetric Key\" to store these oAuth credentials that CYBS will need for oAuth. For JWT authentication, attach your oAuth details to the webhook subscription. See the example \"Create Webhook using oAuth with JWT\"
65+
66+
### Example
67+
```javascript
68+
var CyberSource = require('CyberSource');
69+
70+
var apiInstance = new CyberSource.CreateNewWebhooksApi();
71+
72+
var opts = {
73+
'createWebhook': new CyberSource.CreateWebhook() // CreateWebhook | The webhook payload
74+
};
75+
76+
var callback = function(error, data, response) {
77+
if (error) {
78+
console.error(error);
79+
} else {
80+
console.log('API called successfully. Returned data: ' + data);
81+
}
82+
};
83+
apiInstance.notificationSubscriptionsV2WebhooksPost(opts, callback);
84+
```
85+
86+
### Parameters
87+
88+
Name | Type | Description | Notes
89+
------------- | ------------- | ------------- | -------------
90+
**createWebhook** | [**CreateWebhook**](CreateWebhook.md)| The webhook payload | [optional]
91+
92+
### Return type
93+
94+
[**InlineResponse2014**](InlineResponse2014.md)
95+
96+
### Authorization
97+
98+
No authorization required
99+
100+
### HTTP request headers
101+
102+
- **Content-Type**: application/json;charset=utf-8
103+
- **Accept**: application/hal+json;charset=utf-8
104+
10105
<a name="saveSymEgressKey"></a>
11106
# **saveSymEgressKey**
12107
> InlineResponse2013 saveSymEgressKey(vCSenderOrganizationId, vCPermissions, opts)

docs/CreatePaymentLinkRequest.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# CyberSource.CreatePaymentLinkRequest
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**clientReferenceInformation** | [**Invoicingv2invoicesClientReferenceInformation**](Invoicingv2invoicesClientReferenceInformation.md) | | [optional]
7+
**processingInformation** | [**Iplv2paymentlinksProcessingInformation**](Iplv2paymentlinksProcessingInformation.md) | |
8+
**purchaseInformation** | [**Iplv2paymentlinksPurchaseInformation**](Iplv2paymentlinksPurchaseInformation.md) | |
9+
**orderInformation** | [**Iplv2paymentlinksOrderInformation**](Iplv2paymentlinksOrderInformation.md) | |
10+
11+

docs/CreateSubscriptionRequest1.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# CyberSource.CreateSubscriptionRequest1
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**clientReferenceInformation** | [**Rbsv1subscriptionsClientReferenceInformation**](Rbsv1subscriptionsClientReferenceInformation.md) | | [optional]
7+
**processingInformation** | [**Rbsv1subscriptionsProcessingInformation**](Rbsv1subscriptionsProcessingInformation.md) | | [optional]
8+
**planInformation** | [**Rbsv1subscriptionsPlanInformation**](Rbsv1subscriptionsPlanInformation.md) | | [optional]
9+
**subscriptionInformation** | [**Rbsv1subscriptionsSubscriptionInformation**](Rbsv1subscriptionsSubscriptionInformation.md) | | [optional]
10+
**orderInformation** | [**GetAllPlansResponseOrderInformation**](GetAllPlansResponseOrderInformation.md) | | [optional]
11+
12+

docs/CreateWebhook.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# CyberSource.CreateWebhook
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**name** | **String** | Client friendly webhook name. | [optional]
7+
**description** | **String** | Client friendly webhook description. | [optional]
8+
**organizationId** | **String** | Organization Identifier (OrgId) or Merchant Identifier (MID). | [optional]
9+
**products** | [**[Notificationsubscriptionsv2webhooksProducts1]**](Notificationsubscriptionsv2webhooksProducts1.md) | To see the valid productId and eventTypes, call the \"Create and Manage Webhooks - Retrieve a list of event types\" endpoint. | [optional]
10+
**webhookUrl** | **String** | The client's endpoint (URL) to receive webhooks. | [optional]
11+
**healthCheckUrl** | **String** | The client's health check endpoint (URL). This should be as close as possible to the actual webhookUrl. If the user does not provide the health check URL, it is the user's responsibility to re-activate the webhook if it is deactivated by calling the test endpoint. | [optional]
12+
**retryPolicy** | [**Notificationsubscriptionsv2webhooksRetryPolicy**](Notificationsubscriptionsv2webhooksRetryPolicy.md) | | [optional]
13+
**securityPolicy** | [**Notificationsubscriptionsv2webhooksSecurityPolicy1**](Notificationsubscriptionsv2webhooksSecurityPolicy1.md) | | [optional]
14+
15+

docs/CustomerApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ No authorization required
171171
172172
Create a Customer
173173

174-
| | | | | --- | --- | --- | |**Customers**<br>A Customer represents your tokenized customer information.<br>You should associate the Customer Id with the customer account on your systems.<br>A Customer can have one or more [Payment Instruments](#token-management_customer-payment-instrument_create-a-customer-payment-instrumentl) or [Shipping Addresses](#token-management_customer-shipping-address_create-a-customer-shipping-address) with one allocated as the Customers default.<br><br>**Creating a Customer**<br>It is recommended you [create a Customer via a Payment Authorization](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-with-customer-token-creation_liveconsole-tab-request-body), this can be for a zero amount.<br>The Customer will be created with a Payment Instrument and Shipping Address.<br>You can also [add additional Payment Instruments to a Customer via a Payment Authorization](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-create-default-payment-instrument-shipping-address-for-existing-customer_liveconsole-tab-request-body).<br>In Europe: You should perform Payer Authentication alongside the Authorization.|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|**Payment Network Tokens**<br>Network tokens perform better than regular card numbers and they are not necessarily invalidated when a cardholder loses their card, or it expires.<br>A Payment Network Token will be automatically created and used in future payments if you are enabled for the service.<br>A Payment Network Token can also be [provisioned for an existing Instrument Identifier](#token-management_instrument-identifier_enroll-an-instrument-identifier-for-payment-network-token).<br>For more information about Payment Network Tokens see the Developer Guide.<br><br>**Payments with Customers**<br>To perform a payment with the Customers default details specify the [Customer Id in the payments request](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-customer-token-id_liveconsole-tab-request-body).<br>To perform a payment with a particular Payment Instrument or Shipping Address <br>specify the [Payment Instrument or Shipping Address Ids in the payments request](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-customer-payment-instrument-and-shipping-address-token-id_liveconsole-tab-request-body).
174+
| | | | | --- | --- | --- | |**Customers**<br>A Customer represents your tokenized customer information.<br>You should associate the Customer Id with the customer account on your systems.<br>A Customer can have one or more [Payment Instruments](#token-management_customer-payment-instrument_create-a-customer-payment-instrumentl) or [Shipping Addresses](#token-management_customer-shipping-address_create-a-customer-shipping-address) with one allocated as the Customers default.<br><br>**Creating a Customer**<br>It is recommended you [create a Customer via a Payment Authorization](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-with-customer-token-creation_liveconsole-tab-request-body), this can be for a zero amount.<br>The Customer will be created with a Payment Instrument and Shipping Address.<br>You can also [add additional Payment Instruments to a Customer via a Payment Authorization](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-create-default-payment-instrument-shipping-address-for-existing-customer_liveconsole-tab-request-body).<br>In Europe: You should perform Payer Authentication alongside the Authorization.|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|**Payment Network Tokens**<br>Network tokens perform better than regular card numbers and they are not necessarily invalidated when a cardholder loses their card, or it expires.<br>A Payment Network Token will be automatically created and used in future payments if you are enabled for the service.<br>A Payment Network Token can also be [provisioned for an existing Instrument Identifier](#token-management_instrument-identifier_enroll-an-instrument-identifier-for-payment-network-token).<br>For more information about Payment Network Tokens see the Developer Guide.<br><br>**Payments with Customers**<br>To perform a payment with the Customers default details specify the [Customer Id in the payments request](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-customer-token-id_liveconsole-tab-request-body).<br>To perform a payment with a particular Payment Instrument or Shipping Address <br>specify the [Payment Instrument or Shipping Address Ids in the payments request](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-customer-payment-instrument-and-shipping-address-token-id_liveconsole-tab-request-body). The availability of API features for a merchant may depend on the portfolio configuration and may need to be enabled at the portfolio level before they can be added to merchant accounts.
175175

176176
### Example
177177
```javascript

docs/DecisionManagerApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Method | HTTP request | Description
1313

1414
<a name="actionDecisionManagerCase"></a>
1515
# **actionDecisionManagerCase**
16-
> InlineResponse200 actionDecisionManagerCase(id, caseManagementActionsRequest)
16+
> InlineResponse2001 actionDecisionManagerCase(id, caseManagementActionsRequest)
1717
1818
Take action on a DM post-transactional case
1919

@@ -49,7 +49,7 @@ Name | Type | Description | Notes
4949

5050
### Return type
5151

52-
[**InlineResponse200**](InlineResponse200.md)
52+
[**InlineResponse2001**](InlineResponse2001.md)
5353

5454
### Authorization
5555

0 commit comments

Comments
 (0)