Skip to content

Commit 310e9b7

Browse files
authored
Merge pull request #26 from CyberSource/aug2019
Update to v0.0.12
2 parents 15628b6 + ff485c6 commit 310e9b7

File tree

192 files changed

+17996
-15377
lines changed

Some content is hidden

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

192 files changed

+17996
-15377
lines changed

docs/ConversionDetailsApi.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,5 @@ 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, application/xml
6262

docs/CreateInstrumentIdentifierRequest.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**type** | **String** | Type of Card | [optional]
77
**card** | [**Tmsv1instrumentidentifiersCard**](Tmsv1instrumentidentifiersCard.md) | | [optional]
8+
**bankAccount** | [**Tmsv1instrumentidentifiersBankAccount**](Tmsv1instrumentidentifiersBankAccount.md) | | [optional]
89
**billTo** | [**Tmsv1instrumentidentifiersBillTo**](Tmsv1instrumentidentifiersBillTo.md) | | [optional]
910

1011

docs/DownloadDTDApi.md

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# CyberSource.DownloadDTDApi
2+
3+
All URIs are relative to *https://apitest.cybersource.com*
4+
5+
Method | HTTP request | Description
6+
------------- | ------------- | -------------
7+
[**getDTDV2**](DownloadDTDApi.md#getDTDV2) | **GET** /dtds/{reportDefinitionNameVersion} | Used to download DTDs for reports
8+
9+
10+
<a name="getDTDV2"></a>
11+
# **getDTDV2**
12+
> getDTDV2(reportDefinitionNameVersion)
13+
14+
Used to download DTDs for reports
15+
16+
Downloads DTDs for reports on no-auth.
17+
18+
### Example
19+
```javascript
20+
var CyberSource = require('CyberSource');
21+
22+
var apiInstance = new CyberSource.DownloadDTDApi();
23+
24+
var reportDefinitionNameVersion = "reportDefinitionNameVersion_example"; // String | Name and version of DTD file to download. Some DTDs only have one version. In that case version name is not needed. Some example values are ctdr-1.0, tdr, pbdr-1.1
25+
26+
27+
var callback = function(error, data, response) {
28+
if (error) {
29+
console.error(error);
30+
} else {
31+
console.log('API called successfully.');
32+
}
33+
};
34+
apiInstance.getDTDV2(reportDefinitionNameVersion, callback);
35+
```
36+
37+
### Parameters
38+
39+
Name | Type | Description | Notes
40+
------------- | ------------- | ------------- | -------------
41+
**reportDefinitionNameVersion** | **String**| Name and version of DTD file to download. Some DTDs only have one version. In that case version name is not needed. Some example values are ctdr-1.0, tdr, pbdr-1.1 |
42+
43+
### Return type
44+
45+
null (empty response body)
46+
47+
### Authorization
48+
49+
No authorization required
50+
51+
### HTTP request headers
52+
53+
- **Content-Type**: application/json;charset=utf-8
54+
- **Accept**: application/xml-dtd
55+

docs/DownloadXSDApi.md

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# CyberSource.DownloadXSDApi
2+
3+
All URIs are relative to *https://apitest.cybersource.com*
4+
5+
Method | HTTP request | Description
6+
------------- | ------------- | -------------
7+
[**getXSDV2**](DownloadXSDApi.md#getXSDV2) | **GET** /xsds/{reportDefinitionNameVersion} | Used to download XSDs for reports
8+
9+
10+
<a name="getXSDV2"></a>
11+
# **getXSDV2**
12+
> getXSDV2(reportDefinitionNameVersion)
13+
14+
Used to download XSDs for reports
15+
16+
Downloads XSDs for reports on no-auth.
17+
18+
### Example
19+
```javascript
20+
var CyberSource = require('CyberSource');
21+
22+
var apiInstance = new CyberSource.DownloadXSDApi();
23+
24+
var reportDefinitionNameVersion = "reportDefinitionNameVersion_example"; // String | Name and version of XSD file to download. Some XSDs only have one version. In that case version name is not needed. Some example values are DecisionManagerDetailReport, DecisionManagerTypes
25+
26+
27+
var callback = function(error, data, response) {
28+
if (error) {
29+
console.error(error);
30+
} else {
31+
console.log('API called successfully.');
32+
}
33+
};
34+
apiInstance.getXSDV2(reportDefinitionNameVersion, callback);
35+
```
36+
37+
### Parameters
38+
39+
Name | Type | Description | Notes
40+
------------- | ------------- | ------------- | -------------
41+
**reportDefinitionNameVersion** | **String**| Name and version of XSD file to download. Some XSDs only have one version. In that case version name is not needed. Some example values are DecisionManagerDetailReport, DecisionManagerTypes |
42+
43+
### Return type
44+
45+
null (empty response body)
46+
47+
### Authorization
48+
49+
No authorization required
50+
51+
### HTTP request headers
52+
53+
- **Content-Type**: application/json;charset=utf-8
54+
- **Accept**: text/xml
55+

docs/EmbeddedInstrumentIdentifier.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**links** | [**TmsV1InstrumentIdentifiersPost200ResponseLinks**](TmsV1InstrumentIdentifiersPost200ResponseLinks.md) | | [optional]
77
**_object** | **String** | &#39;Describes type of token.&#39; Valid values: - instrumentIdentifier | [optional]
8-
**state** | **String** | &#39;Current state of the token.&#39; Valid values: - ACTIVE - CLOSED | [optional]
8+
**state** | **String** | &#39;Current state of the token.&#39; Valid values: - ACTIVE - CLOSED | [optional]
99
**id** | **String** | The ID of the existing instrument identifier to be linked to the newly created payment instrument. | [optional]
1010
**card** | [**TmsV1InstrumentIdentifiersPost200ResponseCard**](TmsV1InstrumentIdentifiersPost200ResponseCard.md) | | [optional]
11-
**bankAccount** | [**TmsV1InstrumentIdentifiersPost200ResponseBankAccount**](TmsV1InstrumentIdentifiersPost200ResponseBankAccount.md) | | [optional]
11+
**bankAccount** | [**Tmsv1instrumentidentifiersBankAccount**](Tmsv1instrumentidentifiersBankAccount.md) | | [optional]
1212
**processingInformation** | [**TmsV1InstrumentIdentifiersPost200ResponseProcessingInformation**](TmsV1InstrumentIdentifiersPost200ResponseProcessingInformation.md) | | [optional]
1313
**metadata** | [**TmsV1InstrumentIdentifiersPost200ResponseMetadata**](TmsV1InstrumentIdentifiersPost200ResponseMetadata.md) | | [optional]
1414

docs/Error.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**type** | **String** | | [optional]
7-
**message** | **String** | The detailed message related to the type stated above. | [optional]
8-
**details** | [**Tmsv1instrumentidentifiersDetails**](Tmsv1instrumentidentifiersDetails.md) | | [optional]
6+
**responseStatus** | [**InlineResponseDefaultResponseStatus**](InlineResponseDefaultResponseStatus.md) | | [optional]
7+
**links** | [**ErrorLinks**](ErrorLinks.md) | | [optional]
98

109

docs/ErrorBean.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ Name | Type | Description | Notes
88
**localizationKey** | **String** | Localization Key Name | [optional]
99
**correlationId** | **String** | Correlation Id | [optional]
1010
**detail** | **String** | Error Detail | [optional]
11-
**fields** | [**[InlineResponse400Fields]**](InlineResponse400Fields.md) | Error fields List | [optional]
11+
**fields** | [**[InlineResponse4001Fields]**](InlineResponse4001Fields.md) | Error fields List | [optional]
1212

1313

docs/ErrorLinks.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**next** | [**[InlineResponseDefaultLinksNext]**](InlineResponseDefaultLinksNext.md) | | [optional]
7-
**documentation** | [**[InlineResponseDefaultLinksNext]**](InlineResponseDefaultLinksNext.md) | | [optional]
86
**self** | [**InlineResponseDefaultLinksNext**](InlineResponseDefaultLinksNext.md) | | [optional]
7+
**documentation** | [**[InlineResponseDefaultLinksNext]**](InlineResponseDefaultLinksNext.md) | | [optional]
8+
**next** | [**[InlineResponseDefaultLinksNext]**](InlineResponseDefaultLinksNext.md) | | [optional]
99

1010

docs/ErrorResponse.md

+2
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6+
**responseStatus** | [**InlineResponseDefaultResponseStatus**](InlineResponseDefaultResponseStatus.md) | | [optional]
7+
**links** | [**InlineResponseDefaultLinks**](InlineResponseDefaultLinks.md) | | [optional]
68

79

docs/InlineResponse400.md

+3-6
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,8 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**code** | **String** | Error code |
7-
**message** | **String** | Error message |
8-
**localizationKey** | **String** | Localization Key Name | [optional]
9-
**correlationId** | **String** | Correlation Id | [optional]
10-
**detail** | **String** | Error Detail | [optional]
11-
**fields** | [**[InlineResponse400Fields]**](InlineResponse400Fields.md) | Error fields List | [optional]
6+
**type** | **String** | | [optional]
7+
**message** | **String** | The detailed message related to the type stated above. | [optional]
8+
**details** | [**Tmsv1instrumentidentifiersDetails**](Tmsv1instrumentidentifiersDetails.md) | | [optional]
129

1310

docs/InlineResponse4001.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**type** | **String** | | [optional]
7-
**message** | **String** | The detailed message related to the type stated above. | [optional]
8-
**details** | [**Tmsv1instrumentidentifiersDetails**](Tmsv1instrumentidentifiersDetails.md) | | [optional]
6+
**code** | **String** | Error code |
7+
**message** | **String** | Error message |
8+
**localizationKey** | **String** | Localization Key Name | [optional]
9+
**correlationId** | **String** | Correlation Id | [optional]
10+
**detail** | **String** | Error Detail | [optional]
11+
**fields** | [**[InlineResponse4001Fields]**](InlineResponse4001Fields.md) | Error fields List | [optional]
912

1013

docs/InlineResponse400Fields.md docs/InlineResponse4001Fields.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# CyberSource.InlineResponse400Fields
1+
# CyberSource.InlineResponse4001Fields
22

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

docs/InstrumentIdentifier.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
88
**_object** | **String** | &#39;Describes type of token.&#39; Valid values: - instrumentIdentifier | [optional]
99
**state** | **String** | &#39;Current state of the token.&#39; Valid values: - ACTIVE - CLOSED | [optional]
1010
**card** | [**TmsV1InstrumentIdentifiersPost200ResponseCard**](TmsV1InstrumentIdentifiersPost200ResponseCard.md) | | [optional]
11-
**bankAccount** | [**TmsV1InstrumentIdentifiersPost200ResponseBankAccount**](TmsV1InstrumentIdentifiersPost200ResponseBankAccount.md) | | [optional]
11+
**bankAccount** | [**Tmsv1instrumentidentifiersBankAccount**](Tmsv1instrumentidentifiersBankAccount.md) | | [optional]
1212
**processingInformation** | [**TmsV1InstrumentIdentifiersPost200ResponseProcessingInformation**](TmsV1InstrumentIdentifiersPost200ResponseProcessingInformation.md) | | [optional]
1313
**metadata** | [**TmsV1InstrumentIdentifiersPost200ResponseMetadata**](TmsV1InstrumentIdentifiersPost200ResponseMetadata.md) | | [optional]
1414

docs/InstrumentIdentifierEnrollableCard.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**type** | **String** | Type of Card | [optional]
77
**card** | [**Tmsv1instrumentidentifiersCard**](Tmsv1instrumentidentifiersCard.md) | | [optional]
8+
**bankAccount** | [**Tmsv1instrumentidentifiersBankAccount**](Tmsv1instrumentidentifiersBankAccount.md) | | [optional]
89
**billTo** | [**Tmsv1instrumentidentifiersBillTo**](Tmsv1instrumentidentifiersBillTo.md) | | [optional]
910

1011

docs/Link.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**href** | **String** | | [optional]
6+
**href** | **String** | URI of the linked resource. | [optional]
7+
**title** | **String** | Label of the linked resource. | [optional]
8+
**method** | **String** | HTTP method of the linked resource. | [optional]
79

810

docs/Links.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**self** | [**TmsV1InstrumentIdentifiersPost200ResponseLinksSelf**](TmsV1InstrumentIdentifiersPost200ResponseLinksSelf.md) | | [optional]
7-
**ancestor** | [**TmsV1InstrumentIdentifiersPost200ResponseLinksSelf**](TmsV1InstrumentIdentifiersPost200ResponseLinksSelf.md) | | [optional]
8-
**successor** | [**TmsV1InstrumentIdentifiersPost200ResponseLinksSelf**](TmsV1InstrumentIdentifiersPost200ResponseLinksSelf.md) | | [optional]
6+
**self** | [**InlineResponseDefaultLinksNext**](InlineResponseDefaultLinksNext.md) | | [optional]
7+
**documentation** | [**[InlineResponseDefaultLinksNext]**](InlineResponseDefaultLinksNext.md) | | [optional]
8+
**next** | [**[InlineResponseDefaultLinksNext]**](InlineResponseDefaultLinksNext.md) | | [optional]
99

1010

docs/NetFundingsApi.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@ No authorization required
6060
### HTTP request headers
6161

6262
- **Content-Type**: application/json;charset=utf-8
63-
- **Accept**: application/hal+json
63+
- **Accept**: application/hal+json, application/xml
6464

docs/PaymentBatchSummariesApi.md

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# CyberSource.PaymentBatchSummariesApi
2+
3+
All URIs are relative to *https://apitest.cybersource.com*
4+
5+
Method | HTTP request | Description
6+
------------- | ------------- | -------------
7+
[**getPaymentBatchSummary**](PaymentBatchSummariesApi.md#getPaymentBatchSummary) | **GET** /reporting/v3/payment-batch-summaries | Get payment batch summary data
8+
9+
10+
<a name="getPaymentBatchSummary"></a>
11+
# **getPaymentBatchSummary**
12+
> ReportingV3PaymentBatchSummariesGet200Response getPaymentBatchSummary(startTime, endTime, opts)
13+
14+
Get payment batch summary data
15+
16+
Scope can be either account/merchant or reseller.
17+
18+
### Example
19+
```javascript
20+
var CyberSource = require('CyberSource');
21+
22+
var apiInstance = new CyberSource.PaymentBatchSummariesApi();
23+
24+
var startTime = new Date("2013-10-20T19:20:30+01:00"); // Date | Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
25+
26+
var endTime = new Date("2013-10-20T19:20:30+01:00"); // Date | Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
27+
28+
var opts = {
29+
'organizationId': "organizationId_example", // String | Valid Cybersource Organization Id
30+
'rollUp': "rollUp_example", // String | Conditional - RollUp for data for day/week/month. Required while getting breakdown data for a Merchant
31+
'breakdown': "breakdown_example", // String | Conditional - Breakdown on account_rollup/all_merchant/selected_merchant. Required while getting breakdown data for a Merchant.
32+
'startDayOfWeek': 56 // Number | Optional - Start day of week to breakdown data for weeks in a month
33+
};
34+
35+
var callback = function(error, data, response) {
36+
if (error) {
37+
console.error(error);
38+
} else {
39+
console.log('API called successfully. Returned data: ' + data);
40+
}
41+
};
42+
apiInstance.getPaymentBatchSummary(startTime, endTime, opts, callback);
43+
```
44+
45+
### Parameters
46+
47+
Name | Type | Description | Notes
48+
------------- | ------------- | ------------- | -------------
49+
**startTime** | **Date**| Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z) |
50+
**endTime** | **Date**| Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z) |
51+
**organizationId** | **String**| Valid Cybersource Organization Id | [optional]
52+
**rollUp** | **String**| Conditional - RollUp for data for day/week/month. Required while getting breakdown data for a Merchant | [optional]
53+
**breakdown** | **String**| Conditional - Breakdown on account_rollup/all_merchant/selected_merchant. Required while getting breakdown data for a Merchant. | [optional]
54+
**startDayOfWeek** | **Number**| Optional - Start day of week to breakdown data for weeks in a month | [optional]
55+
56+
### Return type
57+
58+
[**ReportingV3PaymentBatchSummariesGet200Response**](ReportingV3PaymentBatchSummariesGet200Response.md)
59+
60+
### Authorization
61+
62+
No authorization required
63+
64+
### HTTP request headers
65+
66+
- **Content-Type**: application/json;charset=utf-8
67+
- **Accept**: application/hal+json
68+

docs/PtsV2PaymentsPost201ResponseIssuerInformation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**country** | **String** | Country in which the card was issued. This information enables you to determine whether the card was issued domestically or internationally. Use the two-character ISO Standard Country Codes. This field is supported for Visa, Mastercard, Discover, Diners Club, JCB, and Maestro (International) on Chase Paymentech Solutions. For details, see &#x60;auth_card_issuer_country&#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/wwhelp/wwhimpl/js/html/wwhelp.htm) | [optional]
7-
**discretionaryData** | **String** | Data defined by the issuer. The value for this reply field will probably be the same as the value that you submitted in the authorization request, but it is possible for the processor, issuer, or acquirer to modify the value. This field is supported only for Visa transactions on **Visa Platform Connect**. For details, see &#x60;issuer_additional_data&#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/wwhelp/wwhimpl/js/html/wwhelp.htm) | [optional]
7+
**discretionaryData** | **String** | Data defined by the issuer. The value for this reply field will probably be the same as the value that you submitted in the authorization request, but it is possible for the processor, issuer, or acquirer to modify the value. This field is supported only for Visa transactions on **CyberSource through VisaNet**. For details, see &#x60;issuer_additional_data&#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/wwhelp/wwhimpl/js/html/wwhelp.htm) | [optional]
88
**responseCode** | **String** | Additional authorization code that must be printed on the receipt when returned by the processor. This value is generated by the processor and is returned only for a successful transaction. This field is supported only on FDC Nashville Global and SIX. | [optional]
99

1010

0 commit comments

Comments
 (0)