Skip to content

Commit 382153b

Browse files
authored
Merge pull request #70 from CyberSource/april-release
April release
2 parents 81008ae + 1c60619 commit 382153b

16 files changed

+1194
-234
lines changed

cybersource_rest_client.gemspec

Lines changed: 3 additions & 3 deletions
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.39"
20+
s.version = "0.0.40"
2121
s.platform = Gem::Platform::RUBY
2222
s.authors = ["CyberSource"]
2323
s.email = ["[email protected]"]
@@ -30,9 +30,9 @@ Gem::Specification.new do |s|
3030

3131
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
3232
s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
33-
s.add_runtime_dependency 'activesupport', '~> 6.0', '>= 6.0.3.2'
33+
s.add_runtime_dependency 'activesupport', '>= 6.0.3.2', '< 8.0'
3434
s.add_runtime_dependency 'interface','~> 1.0', '>= 1.0.4'
35-
s.add_runtime_dependency 'jwt', '~> 2.1'
35+
s.add_runtime_dependency 'jwt', '2.1'
3636
s.add_runtime_dependency 'addressable', '~> 2.3', '>= 2.3.0'
3737

3838
s.add_development_dependency 'simplecov'
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# CyberSource::CreateSharedSecretKeysVerifiRequest
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**client_reference_information** | [**Kmsv2keyssymClientReferenceInformation**](Kmsv2keyssymClientReferenceInformation.md) | | [optional]
7+
**key_information** | [**Array&lt;Kmsv2keyssymverifiKeyInformation&gt;**](Kmsv2keyssymverifiKeyInformation.md) | | [optional]
8+
9+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# CyberSource::Kmsv2keyssymverifiKeyInformation
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**organization_id** | **String** | Merchant Id |
7+
**reference_number** | **String** | Reference number is a unique identifier provided by the client along with the organization Id. This is an optional field provided solely for the client’s convenience. If client specifies value for this field in the request, it is expected to be available in the response. | [optional]
8+
**digest_algorithm** | **String** | Algorithm for message signature authentication | [optional] [default to &quot;HMACSHA2&quot;]
9+
10+

docs/Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**type** | **String** | This field indicates whether the transaction is a merchant-initiated transaction or customer-initiated transaction. Valid values: - **customer** - **merchant** | [optional]
77
**credential_stored_on_file** | **BOOLEAN** | Indicates to the issuing bank two things: - The merchant has received consent from the cardholder to store their card details on file - The merchant wants the issuing bank to check out the card details before the merchant initiates their first transaction for this cardholder. The purpose of the merchant-initiated transaction is to ensure that the cardholder’s credentials are valid (that the card is not stolen or has restrictions) and that the card details are good to be stored on the merchant’s file for future transactions. Valid values: - &#x60;true&#x60; means merchant will use this transaction to store payment credentials for follow-up merchant-initiated transactions. - &#x60;false&#x60; means merchant will not use this transaction to store payment credentials for follow-up merchant-initiated transactions. For details, see &#x60;subsequent_auth_first&#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/) **NOTE:** The value for this field does not correspond to any data in the TC 33 capture file5. This field is supported only for Visa transactions on CyberSource through VisaNet. | [optional]
8-
**stored_credential_used** | **BOOLEAN** | Indicates to an issuing bank whether a merchant-initiated transaction came from a card that was already stored on file. Possible values: - **true** means the merchant-initiated transaction came from a card that was already stored on file. - **false** means the merchant-initiated transaction came from a card that was not stored on file. | [optional]
8+
**stored_credential_used** | **String** | Indicates to an issuing bank whether a merchant-initiated transaction came from a card that was already stored on file. Possible values: - **Y** means the merchant-initiated transaction came from a card that was already stored on file. - **N** means the merchant-initiated transaction came from a card that was not stored on file. | [optional]
99
**merchant_initiated_transaction** | [**Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction**](Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.md) | | [optional]
1010

1111

docs/Ptsv2paymentsidProcessingInformationAuthorizationOptionsInitiator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**stored_credential_used** | **BOOLEAN** | Indicates to an issuing bank whether a merchant-initiated transaction came from a card that was already stored on file. Possible values: - **true** means the merchant-initiated transaction came from a card that was already stored on file. - **false** means the merchant-initiated transaction came from a card that was not stored on file. | [optional]
6+
**stored_credential_used** | **String** | Indicates to an issuing bank whether a merchant-initiated transaction came from a card that was already stored on file. Possible values: - **Y** means the merchant-initiated transaction came from a card that was already stored on file. - **N** means the merchant-initiated transaction came from a card that was not stored on file. | [optional]
77

88

docs/SymmetricKeyManagementApi.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ All URIs are relative to *https://apitest.cybersource.com*
55
Method | HTTP request | Description
66
------------- | ------------- | -------------
77
[**create_v2_shared_secret_keys**](SymmetricKeyManagementApi.md#create_v2_shared_secret_keys) | **POST** /kms/v2/keys-sym | Create Shared-Secret Keys
8+
[**create_v2_shared_secret_keys_verifi**](SymmetricKeyManagementApi.md#create_v2_shared_secret_keys_verifi) | **POST** /kms/v2/keys-sym/verifi | Create Shared-Secret Keys as per verifi spec
89
[**delete_bulk_symmetric_keys**](SymmetricKeyManagementApi.md#delete_bulk_symmetric_keys) | **POST** /kms/v2/keys-sym/deletes | Delete one or more Symmetric keys
910
[**get_key_details**](SymmetricKeyManagementApi.md#get_key_details) | **GET** /kms/v2/keys-sym/{keyId} | Retrieves shared secret key details
1011

@@ -56,6 +57,56 @@ No authorization required
5657

5758

5859

60+
# **create_v2_shared_secret_keys_verifi**
61+
> KmsV2KeysSymPost201Response create_v2_shared_secret_keys_verifi(v_ic_domain, create_shared_secret_keys_verifi_request)
62+
63+
Create Shared-Secret Keys as per verifi spec
64+
65+
Create one or more Shared-Secret Keys as per Verifi spec with 32 chars, store digest algo during key generation.
66+
67+
### Example
68+
```ruby
69+
# load the gem
70+
require 'cybersource_rest_client'
71+
72+
api_instance = CyberSource::SymmetricKeyManagementApi.new
73+
74+
v_ic_domain = "v_ic_domain_example" # String | domain
75+
76+
create_shared_secret_keys_verifi_request = CyberSource::CreateSharedSecretKeysVerifiRequest.new # CreateSharedSecretKeysVerifiRequest |
77+
78+
79+
begin
80+
#Create Shared-Secret Keys as per verifi spec
81+
result = api_instance.create_v2_shared_secret_keys_verifi(v_ic_domain, create_shared_secret_keys_verifi_request)
82+
p result
83+
rescue CyberSource::ApiError => e
84+
puts "Exception when calling SymmetricKeyManagementApi->create_v2_shared_secret_keys_verifi: #{e}"
85+
end
86+
```
87+
88+
### Parameters
89+
90+
Name | Type | Description | Notes
91+
------------- | ------------- | ------------- | -------------
92+
**v_ic_domain** | **String**| domain |
93+
**create_shared_secret_keys_verifi_request** | [**CreateSharedSecretKeysVerifiRequest**](CreateSharedSecretKeysVerifiRequest.md)| |
94+
95+
### Return type
96+
97+
[**KmsV2KeysSymPost201Response**](KmsV2KeysSymPost201Response.md)
98+
99+
### Authorization
100+
101+
No authorization required
102+
103+
### HTTP request headers
104+
105+
- **Content-Type**: application/json;charset=utf-8
106+
- **Accept**: application/hal+json;charset=utf-8
107+
108+
109+
59110
# **delete_bulk_symmetric_keys**
60111
> KmsV2KeysSymDeletesPost200Response delete_bulk_symmetric_keys(delete_bulk_symmetric_keys_request)
61112

0 commit comments

Comments
 (0)