-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #101 from CyberSource/oct-22-release
Oct 22 release
- Loading branch information
Showing
85 changed files
with
6,345 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
/node_modules | ||
.swagger-codegen-ignore | ||
.swagger-codegen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# CyberSource.Body | ||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**requestor** | **String** | Identifies the service requesting parsing | | ||
**parsedTagLimit** | **Number** | Number of tags to parse for each EMV tag string provided. | [optional] | ||
**emvDetailsList** | [**[Tssv2transactionsemvTagDetailsEmvDetailsList]**](Tssv2transactionsemvTagDetailsEmvDetailsList.md) | An array of objects, each containing a requestId and the corresponding emvRequestCombinedTags | | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
# CyberSource.EMVTagDetailsApi | ||
|
||
All URIs are relative to *https://apitest.cybersource.com* | ||
|
||
Method | HTTP request | Description | ||
------------- | ------------- | ------------- | ||
[**getEmvTags**](EMVTagDetailsApi.md#getEmvTags) | **GET** /tss/v2/transactions/emvTagDetails | Retrieve the EMV Dictionary | ||
[**parseEmvTags**](EMVTagDetailsApi.md#parseEmvTags) | **POST** /tss/v2/transactions/emvTagDetails | Parse an EMV String | ||
|
||
|
||
<a name="getEmvTags"></a> | ||
# **getEmvTags** | ||
> TssV2GetEmvTags200Response getEmvTags() | ||
Retrieve the EMV Dictionary | ||
|
||
Returns the entire EMV tag dictionary | ||
|
||
### Example | ||
```javascript | ||
var CyberSource = require('CyberSource'); | ||
|
||
var apiInstance = new CyberSource.EMVTagDetailsApi(); | ||
|
||
var callback = function(error, data, response) { | ||
if (error) { | ||
console.error(error); | ||
} else { | ||
console.log('API called successfully. Returned data: ' + data); | ||
} | ||
}; | ||
apiInstance.getEmvTags(callback); | ||
``` | ||
|
||
### Parameters | ||
This endpoint does not need any parameter. | ||
|
||
### Return type | ||
|
||
[**TssV2GetEmvTags200Response**](TssV2GetEmvTags200Response.md) | ||
|
||
### Authorization | ||
|
||
No authorization required | ||
|
||
### HTTP request headers | ||
|
||
- **Content-Type**: application/json;charset=utf-8 | ||
- **Accept**: application/json;charset=utf-8 | ||
|
||
<a name="parseEmvTags"></a> | ||
# **parseEmvTags** | ||
> TssV2PostEmvTags200Response parseEmvTags(body) | ||
Parse an EMV String | ||
|
||
Pass an EMV Tag-Length-Value (TLV) string for parsing. | ||
|
||
### Example | ||
```javascript | ||
var CyberSource = require('CyberSource'); | ||
|
||
var apiInstance = new CyberSource.EMVTagDetailsApi(); | ||
|
||
var body = new CyberSource.Body(); // Body | | ||
|
||
|
||
var callback = function(error, data, response) { | ||
if (error) { | ||
console.error(error); | ||
} else { | ||
console.log('API called successfully. Returned data: ' + data); | ||
} | ||
}; | ||
apiInstance.parseEmvTags(body, callback); | ||
``` | ||
|
||
### Parameters | ||
|
||
Name | Type | Description | Notes | ||
------------- | ------------- | ------------- | ------------- | ||
**body** | [**Body**](Body.md)| | | ||
|
||
### Return type | ||
|
||
[**TssV2PostEmvTags200Response**](TssV2PostEmvTags200Response.md) | ||
|
||
### Authorization | ||
|
||
No authorization required | ||
|
||
### HTTP request headers | ||
|
||
- **Content-Type**: application/json;charset=utf-8 | ||
- **Accept**: application/hal+json;charset=utf-8 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# CyberSource.GenerateUnifiedCheckoutCaptureContextRequest | ||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**targetOrigins** | **[String]** | | [optional] | ||
**clientVersion** | **String** | verson number of Unified Checkout being used | [optional] | ||
**allowedCardNetworks** | **[String]** | | [optional] | ||
**allowedPaymentTypes** | **[String]** | | [optional] | ||
**country** | **String** | Country the purchase is originating from (e.g. country of the merchant). Use the two- character ISO Standard | [optional] | ||
**locale** | **String** | Localization of the User experience conforming to the ISO 639-1 language standards and two-character ISO Standard Country Code | [optional] | ||
**captureMandate** | [**Upv1capturecontextsCaptureMandate**](Upv1capturecontextsCaptureMandate.md) | | [optional] | ||
**orderInformation** | [**Upv1capturecontextsOrderInformation**](Upv1capturecontextsOrderInformation.md) | | [optional] | ||
**checkoutApiInitialization** | [**Upv1capturecontextsCheckoutApiInitialization**](Upv1capturecontextsCheckoutApiInitialization.md) | | [optional] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# CyberSource.InlineResponse4003 | ||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**correlationId** | **String** | | [optional] | ||
**details** | [**[InlineResponse4003Details]**](InlineResponse4003Details.md) | | [optional] | ||
**informationLink** | **String** | | [optional] | ||
**message** | **String** | | | ||
**reason** | **String** | | | ||
|
||
|
||
<a name="ReasonEnum"></a> | ||
## Enum: ReasonEnum | ||
|
||
|
||
* `INVALID_APIKEY` (value: `"INVALID_APIKEY"`) | ||
|
||
* `INVALID_SHIPPING_INPUT_PARAMS` (value: `"INVALID_SHIPPING_INPUT_PARAMS"`) | ||
|
||
* `CAPTURE_CONTEXT_INVALID` (value: `"CAPTURE_CONTEXT_INVALID"`) | ||
|
||
* `CAPTURE_CONTEXT_EXPIRED` (value: `"CAPTURE_CONTEXT_EXPIRED"`) | ||
|
||
* `SDK_XHR_ERROR` (value: `"SDK_XHR_ERROR"`) | ||
|
||
* `UNIFIEDPAYMENTS_VALIDATION_PARAMS` (value: `"UNIFIEDPAYMENTS_VALIDATION_PARAMS"`) | ||
|
||
* `UNIFIEDPAYMENTS_VALIDATION_FIELDS` (value: `"UNIFIEDPAYMENTS_VALIDATION_FIELDS"`) | ||
|
||
* `UNIFIEDPAYMENT_PAYMENT_PARAMITERS` (value: `"UNIFIEDPAYMENT_PAYMENT_PARAMITERS"`) | ||
|
||
* `CREATE_TOKEN_TIMEOUT` (value: `"CREATE_TOKEN_TIMEOUT"`) | ||
|
||
* `CREATE_TOKEN_XHR_ERROR` (value: `"CREATE_TOKEN_XHR_ERROR"`) | ||
|
||
* `SHOW_LOAD_CONTAINER_SELECTOR` (value: `"SHOW_LOAD_CONTAINER_SELECTOR"`) | ||
|
||
* `SHOW_LOAD_INVALID_CONTAINER` (value: `"SHOW_LOAD_INVALID_CONTAINER"`) | ||
|
||
* `SHOW_TOKEN_TIMEOUT` (value: `"SHOW_TOKEN_TIMEOUT"`) | ||
|
||
* `SHOW_TOKEN_XHR_ERROR` (value: `"SHOW_TOKEN_XHR_ERROR"`) | ||
|
||
* `SHOW_PAYMENT_TIMEOUT` (value: `"SHOW_PAYMENT_TIMEOUT"`) | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# CyberSource.InlineResponse4003Details | ||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**location** | **String** | | [optional] | ||
**message** | **String** | | [optional] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# CyberSource.PtsV2PayoutsPost201ResponseIssuerInformation | ||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**serviceProcessingType** | **String** | This field contains values that identify the service type under which the transaction should be processed. The valid value for the Visa Alias Directory Service is A0 (Alias) and 00 (normal transaction). | [optional] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.