Skip to content

Commit d6f60f6

Browse files
authored
Merge pull request #49 from CyberSource/nov2020
November 2020 Release
2 parents dafdeda + 85e9248 commit d6f60f6

File tree

87 files changed

+2023
-269
lines changed

Some content is hidden

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

87 files changed

+2023
-269
lines changed

cybersource_rest_client.gemspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ require "cybersource_rest_client/version"
1717

1818
Gem::Specification.new do |s|
1919
s.name = "cybersource_rest_client"
20-
s.version = "0.0.25"
20+
s.version = "0.0.26"
2121
s.platform = Gem::Platform::RUBY
2222
s.authors = ["CyberSource"]
2323
s.email = ["[email protected]"]
@@ -39,7 +39,7 @@ Gem::Specification.new do |s|
3939
s.add_development_dependency 'autotest-growl', '~> 0.2', '>= 0.2.16'
4040
s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.12'
4141

42-
s.add_runtime_dependency 'activesupport', '~> 5.2', '>= 5.2.0'
42+
s.add_runtime_dependency 'activesupport', '~> 6.0', '>= 6.0.3.2'
4343
s.add_runtime_dependency 'interface','~> 1.0', '>= 1.0.4'
4444
s.add_runtime_dependency 'jwt', '~> 2.1.0'
4545

docs/CustomerPaymentInstrumentApi.md

+2
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,8 @@ No authorization required
229229
230230
Create a Customer Payment Instrument
231231

232+
Include an existing TMS Customer & Instrument Identifier token id in the request. * A Customer token can be created by calling: **POST */tms/v2/customers*** * An Instrument Identifier token can be created by calling: **POST */tms/v1/instrumentidentifiers***
233+
232234
### Example
233235
```ruby
234236
# load the gem

docs/CustomerShippingAddressApi.md

+2
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,8 @@ No authorization required
229229
230230
Create a Customer Shipping Address
231231

232+
Include an existing TMS Customer token id in the request URI. * A Customer token can be created by calling: **POST */tms/v2/customers***
233+
232234
### Example
233235
```ruby
234236
# load the gem

docs/InvoiceSettingsRequest.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**invoice_settings_information** | [**InvoicingV2InvoiceSettingsGet200ResponseInvoiceSettingsInformation**](InvoicingV2InvoiceSettingsGet200ResponseInvoiceSettingsInformation.md) | | [optional]
6+
**invoice_settings_information** | [**Invoicingv2invoiceSettingsInvoiceSettingsInformation**](Invoicingv2invoiceSettingsInvoiceSettingsInformation.md) | | [optional]
77

88

docs/InvoicingV2InvoiceSettingsGet200ResponseInvoiceSettingsInformation.md

+1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@ Name | Type | Description | Notes
1010
**header_style** | [**InvoicingV2InvoiceSettingsGet200ResponseInvoiceSettingsInformationHeaderStyle**](InvoicingV2InvoiceSettingsGet200ResponseInvoiceSettingsInformationHeaderStyle.md) | | [optional]
1111
**delivery_language** | **String** | The language of the email that we send to your customers. Possible values are `zh-CN`, `zh-TW`, `en-US`, `fr-FR`, `de-DE`, `ja-JP`, `pt-BR`, `ru-RU` and `es-419`. | [optional]
1212
**default_currency_code** | **String** | Currency used for the order. Use the three-character [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) #### Used by **Authorization** Required field. **Authorization Reversal** For an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request. #### PIN Debit Currency for the amount you requested for the PIN debit purchase. This value is returned for partial authorizations. The issuing bank can approve a partial amount if the balance on the debit card is less than the requested transaction amount. For the possible values, see the [ISO Standard Currency Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/currencies.pdf). Returned by PIN debit purchase. For PIN debit reversal requests, you must use the same currency that was used for the PIN debit purchase or PIN debit credit that you are reversing. For the possible values, see the [ISO Standard Currency Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/currencies.pdf). Required field for PIN Debit purchase and PIN Debit credit requests. Optional field for PIN Debit reversal requests. #### GPX This field is optional for reversing an authorization or credit. #### DCC for First Data Your local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf). #### Tax Calculation Required for international tax and value added tax only. Optional for U.S. and Canadian taxes. Your local currency. | [optional]
13+
**payer_authentication3_ds_version** | **String** | The 3D Secure payer authentication version or status for a merchant's invoice payments. Possible values are: - `1` - `2` - `None` - `Disabled` | [optional]
1314

1415

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# CyberSource::Invoicingv2invoiceSettingsInvoiceSettingsInformation
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**merchant_logo** | **String** | The image file, which must be encoded in Base64 format. Supported file formats are `png`, `jpg`, and `gif`. The image file size restriction is 1 MB. | [optional]
7+
**merchant_display_name** | **String** | The merchant's display name shown on the invoice. | [optional]
8+
**custom_email_message** | **String** | The content of the email message that we send to your customers. | [optional]
9+
**enable_reminders** | **BOOLEAN** | Whether you would like us to send an auto-generated reminder email to your invoice recipients. Currently, this reminder email is sent five days before the invoice is due and one day after it is past due. | [optional]
10+
**header_style** | [**InvoicingV2InvoiceSettingsGet200ResponseInvoiceSettingsInformationHeaderStyle**](InvoicingV2InvoiceSettingsGet200ResponseInvoiceSettingsInformationHeaderStyle.md) | | [optional]
11+
**delivery_language** | **String** | The language of the email that we send to your customers. Possible values are `zh-CN`, `zh-TW`, `en-US`, `fr-FR`, `de-DE`, `ja-JP`, `pt-BR`, `ru-RU` and `es-419`. | [optional]
12+
**default_currency_code** | **String** | Currency used for the order. Use the three-character [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) #### Used by **Authorization** Required field. **Authorization Reversal** For an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request. #### PIN Debit Currency for the amount you requested for the PIN debit purchase. This value is returned for partial authorizations. The issuing bank can approve a partial amount if the balance on the debit card is less than the requested transaction amount. For the possible values, see the [ISO Standard Currency Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/currencies.pdf). Returned by PIN debit purchase. For PIN debit reversal requests, you must use the same currency that was used for the PIN debit purchase or PIN debit credit that you are reversing. For the possible values, see the [ISO Standard Currency Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/currencies.pdf). Required field for PIN Debit purchase and PIN Debit credit requests. Optional field for PIN Debit reversal requests. #### GPX This field is optional for reversing an authorization or credit. #### DCC for First Data Your local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf). #### Tax Calculation Required for international tax and value added tax only. Optional for U.S. and Canadian taxes. Your local currency. | [optional]
13+
**payer_authentication_in_invoicing** | **String** | For a merchant's invoice payments, enable 3D Secure payer authentication version 1, update to 3D Secure version 2, or disable 3D Secure. Possible values are: - `enable` - `update` - `disable` | [optional]
14+
15+

docs/PatchCustomerPaymentInstrumentRequest.md

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
66
**_links** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional]
77
**id** | **String** | The id of the Payment Instrument Token. | [optional]
88
**object** | **String** | The type of token. Valid values: - paymentInstrument | [optional]
9+
**default** | **BOOLEAN** | Flag that indicates whether customer payment instrument is the dafault. Valid values: - `true`: Payment instrument is customer's default. - `false`: Payment instrument is not customer's default. | [optional]
910
**state** | **String** | Issuers state for the card number. Valid values: - ACTIVE - CLOSED : The account has been closed. | [optional]
1011
**bank_account** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional]
1112
**card** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentCard**](Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.md) | | [optional]

docs/PatchCustomerShippingAddressRequest.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**_links** | [**Tmsv2customersEmbeddedDefaultShippingAddressLinks**](Tmsv2customersEmbeddedDefaultShippingAddressLinks.md) | | [optional]
77
**id** | **String** | The id of the Shipping Address Token. | [optional]
8+
**default** | **BOOLEAN** | Flag that indicates whether customer shipping address is the dafault. Valid values: - `true`: Shipping Address is customer's default. - `false`: Shipping Address is not customer's default. | [optional]
89
**ship_to** | [**Tmsv2customersEmbeddedDefaultShippingAddressShipTo**](Tmsv2customersEmbeddedDefaultShippingAddressShipTo.md) | | [optional]
910
**metadata** | [**Tmsv2customersEmbeddedDefaultShippingAddressMetadata**](Tmsv2customersEmbeddedDefaultShippingAddressMetadata.md) | | [optional]
1011

docs/PatchPaymentInstrumentRequest.md

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
66
**_links** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional]
77
**id** | **String** | The id of the Payment Instrument Token. | [optional]
88
**object** | **String** | The type of token. Valid values: - paymentInstrument | [optional]
9+
**default** | **BOOLEAN** | Flag that indicates whether customer payment instrument is the dafault. Valid values: - `true`: Payment instrument is customer's default. - `false`: Payment instrument is not customer's default. | [optional]
910
**state** | **String** | Issuers state for the card number. Valid values: - ACTIVE - CLOSED : The account has been closed. | [optional]
1011
**bank_account** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional]
1112
**card** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentCard**](Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.md) | | [optional]

docs/PaymentInstrumentApi.md

+2
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,8 @@ No authorization required
166166
167167
Create a Payment Instrument
168168

169+
Include an existing TMS Instrument Identifier id in the request body. * An Instrument Identifier token can be created by calling: **POST */tms/v1/instrumentidentifiers***
170+
169171
### Example
170172
```ruby
171173
# load the gem

docs/PostCustomerPaymentInstrumentRequest.md

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
66
**_links** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional]
77
**id** | **String** | The id of the Payment Instrument Token. | [optional]
88
**object** | **String** | The type of token. Valid values: - paymentInstrument | [optional]
9+
**default** | **BOOLEAN** | Flag that indicates whether customer payment instrument is the dafault. Valid values: - `true`: Payment instrument is customer's default. - `false`: Payment instrument is not customer's default. | [optional]
910
**state** | **String** | Issuers state for the card number. Valid values: - ACTIVE - CLOSED : The account has been closed. | [optional]
1011
**bank_account** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional]
1112
**card** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentCard**](Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.md) | | [optional]

docs/PostCustomerShippingAddressRequest.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**_links** | [**Tmsv2customersEmbeddedDefaultShippingAddressLinks**](Tmsv2customersEmbeddedDefaultShippingAddressLinks.md) | | [optional]
77
**id** | **String** | The id of the Shipping Address Token. | [optional]
8+
**default** | **BOOLEAN** | Flag that indicates whether customer shipping address is the dafault. Valid values: - `true`: Shipping Address is customer's default. - `false`: Shipping Address is not customer's default. | [optional]
89
**ship_to** | [**Tmsv2customersEmbeddedDefaultShippingAddressShipTo**](Tmsv2customersEmbeddedDefaultShippingAddressShipTo.md) | | [optional]
910
**metadata** | [**Tmsv2customersEmbeddedDefaultShippingAddressMetadata**](Tmsv2customersEmbeddedDefaultShippingAddressMetadata.md) | | [optional]
1011

docs/PostPaymentInstrumentRequest.md

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
66
**_links** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional]
77
**id** | **String** | The id of the Payment Instrument Token. | [optional]
88
**object** | **String** | The type of token. Valid values: - paymentInstrument | [optional]
9+
**default** | **BOOLEAN** | Flag that indicates whether customer payment instrument is the dafault. Valid values: - `true`: Payment instrument is customer's default. - `false`: Payment instrument is not customer's default. | [optional]
910
**state** | **String** | Issuers state for the card number. Valid values: - ACTIVE - CLOSED : The account has been closed. | [optional]
1011
**bank_account** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional]
1112
**card** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentCard**](Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.md) | | [optional]

docs/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
1515
**challenge_cancel_code** | **String** | An indicator as to why the transaction was canceled. Possible Values: - `01`: Cardholder selected Cancel. - `02`: Reserved for future EMVCo use (values invalid until defined by EMVCo). - `03`: Transaction Timed Out—Decoupled Authentication - `04`: Transaction timed out at ACS—other timeouts - `05`: Transaction Timed out at ACS - First CReq not received by ACS - `06`: Transaction Error - `07`: Unknown - `08`: Transaction Timed Out at SDK | [optional]
1616
**challenge_required** | **String** | Indicates whether a challenge is required in order to complete authentication. **Note** Regional mandates might determine that a challenge is required. Possible values: - `Y`: Challenge required - `N`: Challenge not required **Note** Used by the Hybrid integration. | [optional]
1717
**decoupled_authentication_indicator** | **String** | Indicates whether the 3DS Requestor requests the ACS to utilize Decoupled Authentication and agrees to utilize Decoupled Authentication if the ACS confirms its use. Possible Values: Y - Decoupled Authentication is supported and preferred if challenge is necessary N - Do not use Decoupled Authentication **Default Value**: N | [optional]
18-
**directory_server_error_code** | **String** | The directory server error code indicating a problem with this transaction. | [optional]
18+
**directory_server_error_code** | **String** | The directory server error code indicating a problem with this transaction. Note - Max Length of this field is typically 3 characters. | [optional]
1919
**directory_server_error_description** | **String** | Directory server text and additional detail about the error for this transaction. | [optional]
2020
**ecommerce_indicator** | **String** | Commerce indicator for cards not enrolled. This field contains one of these values: - `internet`: Card not enrolled, or card type not supported by payer authentication. No liability shift. - `js_attempted`: Card not enrolled, but attempt to authenticate is recorded. Liability shift. - `js_failure`: J/Secure directory service is not available. No liability shift. - `spa`: Mastercard card not enrolled in the SecureCode program. No liability shift. - `vbv_attempted`: Card not enrolled, but attempt to authenticate is recorded. Liability shift. - `vbv_failure`: For payment processor Barclays, Streamline, AIBMS, or FDC Germany, you receive this result if Visa’s directory service is not available. No liability shift. | [optional]
2121
**eci** | **String** | Note This field applies only to non-U.S-issued cards. For enroll, Numeric electronic commerce indicator (ECI) returned only for Visa, American Express, JCB, Diners Club, and Discover transactions when the card is not enrolled. For more information, see \"Interpreting the Reply,\" page 22. If you are not using the CyberSource payment services, you must send this value to your payment processor in the subsequent request for card authorization. This field contains one of these values: - `06`: The card can be enrolled. Liability shift. - `07`: The card cannot be enrolled. No liability shift. For validate, Numeric electronic commerce indicator (ECI) returned only for Visa, American Express, JCB, Diners Club, and Discover transactions. The field is absent when authentication fails. You must send this value to your payment processor in the subsequent request for card authorization. This field contains one of these values: - `05`: Successful authentication - `06`: Authentication attempted - `07`: Failed authentication (No response from the merchant because of a problem.) | [optional]

0 commit comments

Comments
 (0)