Skip to content

Commit aee1b42

Browse files
authored
Merge pull request #112 from CyberSource/june-release
June release
2 parents 0d83963 + 408c959 commit aee1b42

File tree

44 files changed

+1835
-207
lines changed

Some content is hidden

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

44 files changed

+1835
-207
lines changed

docs/PlansApi.md

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

1717
<a name="activatePlan"></a>
1818
# **activatePlan**
19-
> InlineResponse2004 activatePlan(id, opts)
19+
> InlineResponse2004 activatePlan(id)
2020
2121
Activate a Plan
2222

@@ -30,9 +30,6 @@ var apiInstance = new CyberSource.PlansApi();
3030

3131
var id = "id_example"; // String | Plan Id
3232

33-
var opts = {
34-
'activatePlanRequest': null // Object |
35-
};
3633

3734
var callback = function(error, data, response) {
3835
if (error) {
@@ -41,15 +38,14 @@ var callback = function(error, data, response) {
4138
console.log('API called successfully. Returned data: ' + data);
4239
}
4340
};
44-
apiInstance.activatePlan(id, opts, callback);
41+
apiInstance.activatePlan(id, callback);
4542
```
4643

4744
### Parameters
4845

4946
Name | Type | Description | Notes
5047
------------- | ------------- | ------------- | -------------
5148
**id** | **String**| Plan Id |
52-
**activatePlanRequest** | **Object**| | [optional]
5349

5450
### Return type
5551

@@ -62,7 +58,7 @@ No authorization required
6258
### HTTP request headers
6359

6460
- **Content-Type**: application/json;charset=utf-8
65-
- **Accept**: application/hal+json;charset=utf-8
61+
- **Accept**: application/json;charset=utf-8
6662

6763
<a name="createPlan"></a>
6864
# **createPlan**
@@ -108,11 +104,11 @@ No authorization required
108104
### HTTP request headers
109105

110106
- **Content-Type**: application/json;charset=utf-8
111-
- **Accept**: application/hal+json;charset=utf-8
107+
- **Accept**: application/json;charset=utf-8
112108

113109
<a name="deactivatePlan"></a>
114110
# **deactivatePlan**
115-
> InlineResponse2004 deactivatePlan(id, opts)
111+
> InlineResponse2004 deactivatePlan(id)
116112
117113
Deactivate a Plan
118114

@@ -126,9 +122,6 @@ var apiInstance = new CyberSource.PlansApi();
126122

127123
var id = "id_example"; // String | Plan Id
128124

129-
var opts = {
130-
'deactivatePlanRequest': null // Object |
131-
};
132125

133126
var callback = function(error, data, response) {
134127
if (error) {
@@ -137,15 +130,14 @@ var callback = function(error, data, response) {
137130
console.log('API called successfully. Returned data: ' + data);
138131
}
139132
};
140-
apiInstance.deactivatePlan(id, opts, callback);
133+
apiInstance.deactivatePlan(id, callback);
141134
```
142135

143136
### Parameters
144137

145138
Name | Type | Description | Notes
146139
------------- | ------------- | ------------- | -------------
147140
**id** | **String**| Plan Id |
148-
**deactivatePlanRequest** | **Object**| | [optional]
149141

150142
### Return type
151143

@@ -158,7 +150,7 @@ No authorization required
158150
### HTTP request headers
159151

160152
- **Content-Type**: application/json;charset=utf-8
161-
- **Accept**: application/hal+json;charset=utf-8
153+
- **Accept**: application/json;charset=utf-8
162154

163155
<a name="deletePlan"></a>
164156
# **deletePlan**
@@ -204,7 +196,7 @@ No authorization required
204196
### HTTP request headers
205197

206198
- **Content-Type**: application/json;charset=utf-8
207-
- **Accept**: application/hal+json;charset=utf-8
199+
- **Accept**: application/json;charset=utf-8
208200

209201
<a name="getPlan"></a>
210202
# **getPlan**
@@ -250,7 +242,7 @@ No authorization required
250242
### HTTP request headers
251243

252244
- **Content-Type**: application/json;charset=utf-8
253-
- **Accept**: application/hal+json;charset=utf-8
245+
- **Accept**: application/json;charset=utf-8
254246

255247
<a name="getPlanCode"></a>
256248
# **getPlanCode**
@@ -290,7 +282,7 @@ No authorization required
290282
### HTTP request headers
291283

292284
- **Content-Type**: application/json;charset=utf-8
293-
- **Accept**: application/hal+json;charset=utf-8
285+
- **Accept**: application/json;charset=utf-8
294286

295287
<a name="getPlans"></a>
296288
# **getPlans**
@@ -345,7 +337,7 @@ No authorization required
345337
### HTTP request headers
346338

347339
- **Content-Type**: application/json;charset=utf-8
348-
- **Accept**: application/hal+json;charset=utf-8
340+
- **Accept**: application/json;charset=utf-8
349341

350342
<a name="updatePlan"></a>
351343
# **updatePlan**
@@ -394,5 +386,5 @@ No authorization required
394386
### HTTP request headers
395387

396388
- **Content-Type**: application/json;charset=utf-8
397-
- **Accept**: application/hal+json;charset=utf-8
389+
- **Accept**: application/json;charset=utf-8
398390

docs/PtsV2PaymentsPost201Response.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Name | Type | Description | Notes
2323
**buyerInformation** | [**PtsV2PaymentsPost201ResponseBuyerInformation**](PtsV2PaymentsPost201ResponseBuyerInformation.md) | | [optional]
2424
**riskInformation** | [**PtsV2PaymentsPost201ResponseRiskInformation**](PtsV2PaymentsPost201ResponseRiskInformation.md) | | [optional]
2525
**consumerAuthenticationInformation** | [**PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation**](PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation.md) | | [optional]
26+
**embeddedActions** | [**PtsV2PaymentsPost201ResponseEmbeddedActions**](PtsV2PaymentsPost201ResponseEmbeddedActions.md) | | [optional]
2627
**watchlistScreeningInformation** | [**PtsV2PaymentsPost201ResponseWatchlistScreeningInformation**](PtsV2PaymentsPost201ResponseWatchlistScreeningInformation.md) | | [optional]
2728

2829

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# CyberSource.PtsV2PaymentsPost201ResponseEmbeddedActions
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**CAPTURE** | [**PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE**](PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE.md) | | [optional]
7+
**DECISION** | [**PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION**](PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION.md) | | [optional]
8+
**CONSUMER_AUTHENTICATION** | [**PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION**](PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION.md) | | [optional]
9+
**VALIDATE_CONSUMER_AUTHENTICATION** | [**PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION**](PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION.md) | | [optional]
10+
**WATCHLIST_SCREENING** | [**PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING**](PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING.md) | | [optional]
11+
12+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# CyberSource.PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**status** | **String** | The status of the submitted transaction. Possible values: - PENDING | [optional]
7+
**reason** | **String** | The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_MERCHANT_CONFIGURATION - EXCEEDS_AUTH_AMOUNT - AUTH_ALREADY_REVERSED - TRANSACTION_ALREADY_SETTLED - INVALID_AMOUNT - MISSING_AUTH - TRANSACTION_ALREADY_REVERSED_OR_SETTLED - NOT_SUPPORTED | [optional]
8+
**message** | **String** | The detail message related to the status and reason listed above. | [optional]
9+
10+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# CyberSource.PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**status** | **String** | The status for payerAuthentication 201 enroll and validate calls. Possible values are: - &#x60;AUTHENTICATION_SUCCESSFUL&#x60; - &#x60;PENDING_AUTHENTICATION&#x60; - &#x60;INVALID_REQUEST&#x60; - &#x60;AUTHENTICATION_FAILED&#x60; | [optional]
7+
**reason** | **String** | The reason of the status. Possible values are: - &#x60;INVALID_MERCHANT_CONFIGURATION&#x60; - &#x60;CONSUMER_AUTHENTICATION_REQUIRED&#x60; - &#x60;CONSUMER_AUTHENTICATION_FAILED&#x60; - &#x60;AUTHENTICATION_FAILED&#x60; | [optional]
8+
**message** | **String** | The message describing the reason of the status. Value is: - Encountered a Payer Authentication problem. Payer could not be authenticated. | [optional]
9+
10+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# CyberSource.PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**status** | **String** | The status of the submitted transaction. Possible values: - &#x60;ACCEPTED&#x60; - &#x60;REJECTED&#x60; - &#x60;PENDING_REVIEW&#x60; - &#x60;DECLINED&#x60; - &#x60;PENDING_AUTHENTICATION&#x60; - &#x60;INVALID_REQUEST&#x60; - &#x60;AUTHENTICATION_FAILED&#x60; - &#x60;CHALLENGE&#x60; | [optional]
7+
**reason** | **String** | The reason of the status. Possible values: - &#x60;EXPIRED_CARD&#x60; - &#x60;SCORE_EXCEEDS_THRESHOLD&#x60; - &#x60;DECISION_PROFILE_REVIEW&#x60; - &#x60;DECISION_PROFILE_REJECT&#x60; - &#x60;CONSUMER_AUTHENTICATION_REQUIRED&#x60; - &#x60;INVALID_MERCHANT_CONFIGURATION&#x60; - &#x60;CONSUMER_AUTHENTICATION_FAILED&#x60; - &#x60;DECISION_PROFILE_CHALLENGE&#x60; - &#x60;CUSTOMER_WATCHLIST_MATCH&#x60; - &#x60;ADDRESS_COUNTRY_WATCHLIST_MATCH&#x60; - &#x60;EMAIL_COUNTRY_WATCHLIST_MATCH&#x60; - &#x60;IP_COUNTRY_WATCHLIST_MATCH&#x60; | [optional]
8+
**message** | **String** | The detail message related to the status and reason listed above. | [optional]
9+
10+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# CyberSource.PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**status** | **String** | The status for the call can be: - COMPLETED - INVALID_REQUEST - DECLINED | [optional]
7+
**reason** | **String** | The reason of the status. Value can be - &#x60;CUSTOMER_WATCHLIST_MATCH&#x60; - &#x60;ADDRESS_COUNTRY_WATCHLIST_MATCH&#x60; - &#x60;EMAIL_COUNTRY_WATCHLIST_MATCH&#x60; - &#x60;IP_COUNTRY_WATCHLIST_MATCH&#x60; - &#x60;INVALID_MERCHANT_CONFIGURATION&#x60; | [optional]
8+
**message** | **String** | The message describing the reason of the status. Value can be - The customer matched the Denied Parties List - The Export bill_country/ship_country match - Export email_country match - Export hostname_country/ip_country match | [optional]
9+
10+

docs/Ptsv2paymentsProcessingInformation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**actionList** | **[String]** | Array of actions (one or more) to be included in the payment to invoke bundled services along with payment. Possible values are one or more of follows: - &#x60;DECISION_SKIP&#x60;: Use this when you want to skip Decision Manager service(s). - &#x60;TOKEN_CREATE&#x60;: Use this when you want to create a token from the card/bank data in your payment request. - &#x60;CONSUMER_AUTHENTICATION&#x60;: Use this when you want to check if a card is enrolled in Payer Authentioncation along with your payment request. - &#x60;VALIDATE_CONSUMER_AUTHENTICATION&#x60;: Use this after you acquire a Payer Authentioncation result that needs to be included for your payment request. - &#x60;AP_INITIATE&#x60;: Use this when Alternative Payment Initiate service is requested. - &#x60;WATCHLIST_SCREENING&#x60; : Use this when you want to call Watchlist Screening service. | [optional]
6+
**actionList** | **[String]** | Array of actions (one or more) to be included in the payment to invoke bundled services along with payment. Possible values are one or more of follows: - &#x60;DECISION_SKIP&#x60;: Use this when you want to skip Decision Manager service(s). - &#x60;TOKEN_CREATE&#x60;: Use this when you want to create a token from the card/bank data in your payment request. - &#x60;CONSUMER_AUTHENTICATION&#x60;: Use this when you want to check if a card is enrolled in Payer Authentication along with your payment request. - &#x60;VALIDATE_CONSUMER_AUTHENTICATION&#x60;: Use this after you acquire a Payer Authentication result that needs to be included for your payment request. - &#x60;AP_INITIATE&#x60;: Use this when Alternative Payment Initiate service is requested. - &#x60;WATCHLIST_SCREENING&#x60; : Use this when you want to call Watchlist Screening service. | [optional]
77
**enableEscrowOption** | **Boolean** | Indicates whether to use the customer’s escrow agreement. Possible values: - &#x60;true&#x60;: yes, use the customer’s escrow agreement. - &#x60;false&#x60;: no, do not use the customer’s escrow agreement. | [optional]
88
**actionTokenTypes** | **[String]** | CyberSource tokens types you are performing a create on. If not supplied the default token type for the merchants token vault will be used. Valid values: - customer - paymentInstrument - instrumentIdentifier - shippingAddress | [optional]
99
**binSource** | **String** | Bin Source File Identifier. Possible values: - itmx - rupay | [optional]

docs/Ptsv2paymentsRecipientInformation.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ Name | Type | Description | Notes
77
**lastName** | **String** | Recipient’s last name. This field is a _passthrough_, which means that CyberSource does not verify the value or modify it in any way before sending it to the processor. If the field is not required for the transaction, CyberSource does not forward it to the processor. For details, see the &#x60;recipient_lastname&#x60; field description in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) | [optional]
88
**middleName** | **String** | Recipient’s middle name. This field is a _passthrough_, which means that CyberSource does not verify the value or modify it in any way before sending it to the processor. If the field is not required for the transaction, CyberSource does not forward it to the processor. For details, see the &#x60;recipient_middlename&#x60; field description in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) | [optional]
99
**postalCode** | **String** | Partial postal code for the recipient’s address. For example, if the postal code is **NN5 7SG**, the value for this field should be the first part of the postal code: **NN5**. This field is a _pass-through_, which means that CyberSource does not verify the value or modify it in any way before sending it to the processor. If the field is not required for the transaction, CyberSource does not forward it to the processor. For details, see the &#x60;recipient_postal_code&#x60; field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) | [optional]
10+
**dateOfBirth** | **String** | Recipient’s date of birth. **Format**: &#x60;YYYYMMDD&#x60;. This field is a &#x60;pass-through&#x60;, which means that CyberSource ensures that the value is eight numeric characters but otherwise does not verify the value or modify it in any way before sending it to the processor. If the field is not required for the transaction, CyberSource does not forward it to the processor. For more details, see &#x60;recipient_date_of_birth&#x60; field description in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) | [optional]
1011

1112

docs/SubscriptionsApi.md

Lines changed: 14 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Method | HTTP request | Description
1616

1717
<a name="activateSubscription"></a>
1818
# **activateSubscription**
19-
> InlineResponse2009 activateSubscription(id, opts)
19+
> InlineResponse2009 activateSubscription(id)
2020
2121
Activate a Subscription
2222

@@ -30,9 +30,6 @@ var apiInstance = new CyberSource.SubscriptionsApi();
3030

3131
var id = "id_example"; // String | Subscription Id
3232

33-
var opts = {
34-
'activateSubscriptionRequest': null // Object |
35-
};
3633

3734
var callback = function(error, data, response) {
3835
if (error) {
@@ -41,15 +38,14 @@ var callback = function(error, data, response) {
4138
console.log('API called successfully. Returned data: ' + data);
4239
}
4340
};
44-
apiInstance.activateSubscription(id, opts, callback);
41+
apiInstance.activateSubscription(id, callback);
4542
```
4643

4744
### Parameters
4845

4946
Name | Type | Description | Notes
5047
------------- | ------------- | ------------- | -------------
5148
**id** | **String**| Subscription Id |
52-
**activateSubscriptionRequest** | **Object**| | [optional]
5349

5450
### Return type
5551

@@ -62,11 +58,11 @@ No authorization required
6258
### HTTP request headers
6359

6460
- **Content-Type**: application/json;charset=utf-8
65-
- **Accept**: application/hal+json;charset=utf-8
61+
- **Accept**: application/json;charset=utf-8
6662

6763
<a name="cancelSubscription"></a>
6864
# **cancelSubscription**
69-
> InlineResponse202 cancelSubscription(id, opts)
65+
> InlineResponse202 cancelSubscription(id)
7066
7167
Cancel a Subscription
7268

@@ -80,9 +76,6 @@ var apiInstance = new CyberSource.SubscriptionsApi();
8076

8177
var id = "id_example"; // String | Subscription Id
8278

83-
var opts = {
84-
'cancelSubscriptionRequest': null // Object |
85-
};
8679

8780
var callback = function(error, data, response) {
8881
if (error) {
@@ -91,15 +84,14 @@ var callback = function(error, data, response) {
9184
console.log('API called successfully. Returned data: ' + data);
9285
}
9386
};
94-
apiInstance.cancelSubscription(id, opts, callback);
87+
apiInstance.cancelSubscription(id, callback);
9588
```
9689

9790
### Parameters
9891

9992
Name | Type | Description | Notes
10093
------------- | ------------- | ------------- | -------------
10194
**id** | **String**| Subscription Id |
102-
**cancelSubscriptionRequest** | **Object**| | [optional]
10395

10496
### Return type
10597

@@ -112,7 +104,7 @@ No authorization required
112104
### HTTP request headers
113105

114106
- **Content-Type**: application/json;charset=utf-8
115-
- **Accept**: application/hal+json;charset=utf-8
107+
- **Accept**: application/json;charset=utf-8
116108

117109
<a name="createSubscription"></a>
118110
# **createSubscription**
@@ -158,7 +150,7 @@ No authorization required
158150
### HTTP request headers
159151

160152
- **Content-Type**: application/json;charset=utf-8
161-
- **Accept**: application/hal+json;charset=utf-8
153+
- **Accept**: application/json;charset=utf-8
162154

163155
<a name="getAllSubscriptions"></a>
164156
# **getAllSubscriptions**
@@ -211,7 +203,7 @@ No authorization required
211203
### HTTP request headers
212204

213205
- **Content-Type**: application/json;charset=utf-8
214-
- **Accept**: application/hal+json;charset=utf-8
206+
- **Accept**: application/json;charset=utf-8
215207

216208
<a name="getSubscription"></a>
217209
# **getSubscription**
@@ -257,7 +249,7 @@ No authorization required
257249
### HTTP request headers
258250

259251
- **Content-Type**: application/json;charset=utf-8
260-
- **Accept**: application/hal+json;charset=utf-8
252+
- **Accept**: application/json;charset=utf-8
261253

262254
<a name="getSubscriptionCode"></a>
263255
# **getSubscriptionCode**
@@ -297,11 +289,11 @@ No authorization required
297289
### HTTP request headers
298290

299291
- **Content-Type**: application/json;charset=utf-8
300-
- **Accept**: application/hal+json;charset=utf-8
292+
- **Accept**: application/json;charset=utf-8
301293

302294
<a name="suspendSubscription"></a>
303295
# **suspendSubscription**
304-
> InlineResponse2021 suspendSubscription(id, opts)
296+
> InlineResponse2021 suspendSubscription(id)
305297
306298
Suspend a Subscription
307299

@@ -315,9 +307,6 @@ var apiInstance = new CyberSource.SubscriptionsApi();
315307

316308
var id = "id_example"; // String | Subscription Id
317309

318-
var opts = {
319-
'suspendSubscriptionRequest': null // Object |
320-
};
321310

322311
var callback = function(error, data, response) {
323312
if (error) {
@@ -326,15 +315,14 @@ var callback = function(error, data, response) {
326315
console.log('API called successfully. Returned data: ' + data);
327316
}
328317
};
329-
apiInstance.suspendSubscription(id, opts, callback);
318+
apiInstance.suspendSubscription(id, callback);
330319
```
331320

332321
### Parameters
333322

334323
Name | Type | Description | Notes
335324
------------- | ------------- | ------------- | -------------
336325
**id** | **String**| Subscription Id |
337-
**suspendSubscriptionRequest** | **Object**| | [optional]
338326

339327
### Return type
340328

@@ -347,7 +335,7 @@ No authorization required
347335
### HTTP request headers
348336

349337
- **Content-Type**: application/json;charset=utf-8
350-
- **Accept**: application/hal+json;charset=utf-8
338+
- **Accept**: application/json;charset=utf-8
351339

352340
<a name="updateSubscription"></a>
353341
# **updateSubscription**
@@ -396,5 +384,5 @@ No authorization required
396384
### HTTP request headers
397385

398386
- **Content-Type**: application/json;charset=utf-8
399-
- **Accept**: application/hal+json;charset=utf-8
387+
- **Accept**: application/json;charset=utf-8
400388

0 commit comments

Comments
 (0)