Skip to content

Commit

Permalink
Merge pull request #101 from CyberSource/oct-22-release
Browse files Browse the repository at this point in the history
Oct 22 release
  • Loading branch information
rsachan8 authored Oct 28, 2022
2 parents 716da10 + 12620cf commit 38379d2
Show file tree
Hide file tree
Showing 85 changed files with 6,345 additions and 99 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
/node_modules
.swagger-codegen-ignore
.swagger-codegen
10 changes: 10 additions & 0 deletions docs/Body.md
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 |


96 changes: 96 additions & 0 deletions docs/EMVTagDetailsApi.md
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

16 changes: 16 additions & 0 deletions docs/GenerateUnifiedCheckoutCaptureContextRequest.md
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]


49 changes: 49 additions & 0 deletions docs/InlineResponse4003.md
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"`)




9 changes: 9 additions & 0 deletions docs/InlineResponse4003Details.md
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]


Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**riskAnalysisExemptionResult** | **String** | Possible values: Visa Platform Connect - &#x60;8401&#x60; Merchant not participating in Visa Trusted Listing Program. - &#x60;8402&#x60; Issuer not participating in Visa Trusted Listing Program. - &#x60;8403&#x60; Cardholder has not trusted the merchant (supplied by Visa Net). - &#x60;8404&#x60; Indeterminate or invalid issuer response. - &#x60;8473&#x60; Cardholder has not trusted the merchant (issuer-supplied). - &#x60;8474&#x60; Did not meet the exemption criteria (issuer-supplied). Upto 20 Values may be received in a transaction. | [optional]
**trustedMerchantExemptionResult** | **String** | Possible values: Visa Platform Connect - &#x60;2&#x60; Trusted merchant exemption validated/honored. - &#x60;3&#x60; Trusted merchant exemption failed validation/not honored. | [optional]
**lowValueExemptionResult** | **String** | This will be the value returned by Visanet when low value exemption has been requested. Valid values: Visa Platform Connect - &#x60;2&#x60; Low value exemption validated/honored - &#x60;3&#x60; Low value exemption failed validation/not honored | [optional]
**secureCorporatePaymentResult** | **String** | This will be the value returned by Visanet when secure corporate payment (scp) exemption has been requested. Valid values: Visa Platform Connect - &#x60;2&#x60; Secure corporate payment exemption validated/honored - &#x60;3&#x60; Secure corporate payment exemption failed validation/not honored | [optional]
**transactionRiskAnalysisExemptionResult** | **String** | This will be the value returned by Visanet when transaction risk analysis (TRA) exemption has been requested. Valid values: Visa Platform Connect - &#x60;2&#x60; transaction risk analysis (TRA) exemption validated/honored - &#x60;3&#x60; transaction risk analysis (TRA) exemption failed validation/not honored | [optional]


1 change: 0 additions & 1 deletion docs/PtsV2PaymentsPost201ResponseIssuerInformation.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ Name | Type | Description | Notes
**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/) | [optional]
**countrySpecificDiscretionaryData** | **String** | Data defined by the issuer. This national use field contains two subfields for information unique to the processing of Visa transactions by members in Japan. This subfield contains the Katakana text to be printed on the receipt. For details, see &#x60;jpo_issuer_message&#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]
**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 reply field is supported only for these processors: - FDC Nashville Global - SIX | [optional]
**responseRaw** | **String** | issuerInformation.responseRaw is the raw processor auth response returned to merchant in CYBS auth response if auth request includes \&quot;processingInformation.isReturnAuthRecordEnabled&#x3D;true\&quot;. If supported by the gateway code, it is available to merchants who auth through CYBS and run their own settlement processing. | [optional]


1 change: 1 addition & 0 deletions docs/PtsV2PayoutsPost201Response.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ Name | Type | Description | Notes
**orderInformation** | [**PtsV2PayoutsPost201ResponseOrderInformation**](PtsV2PayoutsPost201ResponseOrderInformation.md) | | [optional]
**processorInformation** | [**PtsV2PayoutsPost201ResponseProcessorInformation**](PtsV2PayoutsPost201ResponseProcessorInformation.md) | | [optional]
**recipientInformation** | [**PtsV2PayoutsPost201ResponseRecipientInformation**](PtsV2PayoutsPost201ResponseRecipientInformation.md) | | [optional]
**issuerInformation** | [**PtsV2PayoutsPost201ResponseIssuerInformation**](PtsV2PayoutsPost201ResponseIssuerInformation.md) | | [optional]


8 changes: 8 additions & 0 deletions docs/PtsV2PayoutsPost201ResponseIssuerInformation.md
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]


2 changes: 1 addition & 1 deletion docs/Ptsv2paymentsPointOfSaleInformation.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Name | Type | Description | Notes
**cardholderVerificationMethod** | **[String]** | Complete list of cardholder verification methods (CVMs) supported by the terminal. Optional field. Possible values: - &#x60;PIN&#x60;: For terminals with a PIN Pad - &#x60;Signature&#x60;: For terminals capable of receiving a signature - &#x60;pinOnGlass&#x60;: For terminals where PIN is entered on a glass-based capture mechanism **EXAMPLE**: [\&quot;PIN\&quot;,\&quot;Signature\&quot;]; [\&quot;pinOnGlass\&quot;,\&quot;Signature\&quot;] | [optional]
**terminalInputCapability** | **[String]** | Complete list of card input methods supported by the terminal. Possible values: - &#x60;Keyed&#x60;: Terminal can accept card data that is entered manually. - &#x60;Swiped&#x60;: Terminal can accept card data from a magnetic stripe reader. - &#x60;Contact&#x60;: Terminal can accept card data in EMV contact mode (\&quot;dipping a card\&quot;). - &#x60;Contactless&#x60;: Terminal can accept card data in EMV contactless mode (\&quot;tapping a card\&quot;). - &#x60;BarCode&#x60;: Terminal can read bar codes. - &#x60;QRcode&#x60;: Terminal can read or scan QR codes. - &#x60;OCR&#x60;: Terminal can perform optical character recognition (OCT) on the card. **EXAMPLE**: [\&quot;Keyed\&quot;,\&quot;Swiped\&quot;,\&quot;Contact\&quot;,\&quot;Contactless\&quot;] #### Used by **Authorization and Credit** Optional. This field is supported only by client software that is installed on your POS terminals for the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX | [optional]
**terminalCardCaptureCapability** | **String** | Indicates whether the terminal can capture the card. Possible values: - &#x60;1&#x60;: Terminal can capture card. - &#x60;0&#x60;: Terminal cannot capture card. For authorizations and credits, this field is supported only by these processors: - American Express Direct - Credit Mutuel-CIC - OmniPay Direct Optional field. | [optional]
**terminalOutputCapability** | **String** | Indicates whether the terminal can print or display messages. Possible values: - 1: Neither - 2: Print only - 3: Display only - 4: Print and display This field is supported for authorizations and credits only on the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX Optional field. | [optional]
**terminalOutputCapability** | **String** | Indicates whether the terminal can print or display messages. Possible values: - 1: Neither - 2: Print only - 3: Display only - 4: Print and display - 5: Merchant terminal supports purchase only approvals This field is supported for authorizations and credits only on the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX - VisaNet Optional field. | [optional]
**terminalPinCapability** | **Number** | Maximum PIN length that the terminal can capture. Possible values: - 0: No PIN capture capability - 1: PIN capture capability unknown - 4: Four characters - 5: Five characters - 6: Six characters - 7: Seven characters - 8: Eight characters - 9: Nine characters - 10: Ten characters - 11: Eleven characters - 12: Twelve characters This field is supported for authorizations and credits only on the following processors: - American Express Direct - Credit Mutuel-CIC - OmniPay Direct - SIX Required field for authorization or credit of PIN transactions. | [optional]
**deviceId** | **String** | Value created by the client software that uniquely identifies the POS device. This value is provided by the client software that is installed on the POS terminal. CyberSource does not forward this value to the processor. Instead, the value is forwarded to the CyberSource reporting functionality. This field is supported only on American Express Direct, FDC Nashville Global, and SIX. | [optional]
**pinBlockEncodingFormat** | **Number** | Format that is used to encode the PIN block. This value is provided by the client software that is installed on the POS terminal. Possible values: - &#x60;0&#x60;: ISO 9564 format 0 - &#x60;1&#x60;: ISO 9564 format 1 - &#x60;2&#x60;: ISO 9564 format 2 - &#x60;3&#x60;: ISO 9564 format 3 #### Used by **Authorization, PIN Debit** - Required when the cardholder enters a PIN and the card cannot verify the PIN, which means that the issuer must verify the PIN. - Required for PIN debit credit or PIN debit purchase. For authorizations, this field is supported only on these processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX This field is also supported by processors that support chip and online PIN transactions. The following table lists the EMV Cards and Cardholder Verification Methods (CVMs) that these processors support: | Processor | Chip and Offline PIN | Chip and Online PIN | Chip and Signature | | --- | --- | --- | --- | | American Express Direct | Yes | Yes | Yes | | Chase Paymentech Solutions | No | No | Yes | | Credit Mutuel-CIC | Yes | Yes | Yes | | CyberSource through VisaNet | Yes | No | Yes | | FDC Nashville Global | Yes | Yes | Yes | | GPN | No | No | Yes | | OmniPay Direct | Yes | No | Yes | | SIX | Yes | Yes | Yes | #### GPX For chip and online PIN transactions for authorization, GPX supports the following EMV Cards and Cardholder Verification Methods (CVMs): - Chip and Offline PIN - Chip and Signature For PIN Debit Purchase and Credit Service transactions, GPX supports the following EMV Cards and Cardholder Verification Methods (CVMs): - Chip and Online PIN | [optional]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Name | Type | Description | Notes
**ignoreCvResult** | **Boolean** | Flag for a sale request that indicates whether to allow the capture service to run even when the authorization receives a CVN decline, as indicated by an &#x60;processorInformation.cardVerification.resultCode&#x60; value of &#x60;D&#x60; or &#x60;N&#x60;. Possible values: - &#x60;true&#x60;: Ignore the results of CVN checking and run the capture service. - &#x60;false&#x60; (default): If the authorization receives a CVN decline, do not run the capture service. #### Used by **Authorization** Optional field. | [optional] [default to false]
**initiator** | [**Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiator**](Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiator.md) | | [optional]
**billPayment** | **Boolean** | Indicates payment for bill or payment towards existing contractual loan. Possible values: - &#x60;true&#x60;: Bill payment or loan payment. - &#x60;false&#x60; (default): Not a bill payment or loan payment. Optional request field. | [optional]
**billPaymentType** | **String** | Reason for the payment. Possible values: - 001: Utility payment - 002: Government services - 003: Mobile phone top-up - 004: Coupon payment The value for this field corresponds to the following data in the TC 33 capture file5: - Record: CP07 TCR0 - Position: 48-50 - Field: Bill Payment Transaction Type Identifier This field is supported only for bill payments in Brazil with Mastercard on CyberSource through VisaNet. | [optional]
**billPaymentType** | **String** | Reason for the payment. Possible values: - 001: Utility payment - 002: Government services - 003: Mobile phone top-up - 004: Coupon payment - 005: Installment based repayment The value for this field corresponds to the following data in the TC 33A capture file (applicable to Brazil): - Record: CP07 TCR0 - Position: 48-50 - Field: Bill Payment Transaction Type Identifier The value for this field corresponds to the following data in the TC 33A capture file (applicable to Installment) based Repayment): - Record: CP01 TCR6 - Position: 154-156 - Field: Bill Payment Transaction Type Identifier This field is supported for 1. Bill payments in Brazil with Mastercard on CyberSource through VisaNet. 2. Installment based repayment transactions on Cybersource through VisaNet. | [optional]
**redemptionInquiry** | **Boolean** | Flag that indicates the payment request is a redemption inquiry. Possible values: - &#x60;true&#x60; - &#x60;false&#x60; | [optional]
**transportationMode** | **String** | Type of transportation mode : Possible Values: - 00 &#x3D; Unknown - 01 &#x3D; Urban bus - 02 &#x3D; Interurban bus - 03&#x3D;Lighttrainmasstransit(Underground Metro LTR) - 04 &#x3D; Train - 05 &#x3D; Commuter train - 06 &#x3D; Water-borne vehicle - 07 &#x3D; Toll - 08 &#x3D; Parking - 09 &#x3D; Taxi - 10 &#x3D; High-speed train - 11 &#x3D; Rural bus - 12 &#x3D; Express commuter train - 13 &#x3D; Para transit - 14 &#x3D; Self drive vehicle - 15 &#x3D; Coach - 16 &#x3D; Locomotive - 17 &#x3D; Powered motor coach - 18 &#x3D; Trailer - 19 &#x3D; Regional train - 20 &#x3D; Inter-city - 21 &#x3D; Funicular train - 22 &#x3D; Cable car | [optional]
**aggregatedAuthIndicator** | **String** | Indicates if transaction is an aggregated auth Possible values: - **true** - **false** | [optional]
Expand Down
Loading

0 comments on commit 38379d2

Please sign in to comment.