Skip to content

Commit b03efc1

Browse files
authored
Merge pull request #99 from CyberSource/april-release
April release
2 parents 04b6d9e + d8f9421 commit b03efc1

16 files changed

+1275
-16
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ override the new secure-http default setting)*.
3131
{
3232
"require": {
3333
"php": ">=5.6",
34-
"cybersource/rest-client-php": "0.0.30"
34+
"cybersource/rest-client-php": "0.0.31"
3535
}
3636
}
3737
```

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cybersource/rest-client-php",
3-
"version": "0.0.30",
3+
"version": "0.0.31",
44
"description": "Client SDK for CyberSource REST APIs",
55
"keywords": [
66
"cybersource", "payments", "ecommerce", "merchant", "merchants", "authorize", "visa", "payment", "payment-gateway", "payment-integration", "payment-module", "payment-processing", "payment-service", "payment-methods"

docs/Api/SymmetricKeyManagementApi.md

Lines changed: 48 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
[**createV2SharedSecretKeys**](SymmetricKeyManagementApi.md#createV2SharedSecretKeys) | **POST** /kms/v2/keys-sym | Create Shared-Secret Keys
8+
[**createV2SharedSecretKeysVerifi**](SymmetricKeyManagementApi.md#createV2SharedSecretKeysVerifi) | **POST** /kms/v2/keys-sym/verifi | Create Shared-Secret Keys as per verifi spec
89
[**deleteBulkSymmetricKeys**](SymmetricKeyManagementApi.md#deleteBulkSymmetricKeys) | **POST** /kms/v2/keys-sym/deletes | Delete one or more Symmetric keys
910
[**getKeyDetails**](SymmetricKeyManagementApi.md#getKeyDetails) | **GET** /kms/v2/keys-sym/{keyId} | Retrieves shared secret key details
1011

@@ -54,6 +55,53 @@ No authorization required
5455

5556
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)
5657

58+
# **createV2SharedSecretKeysVerifi**
59+
> \CyberSource\Model\KmsV2KeysSymPost201Response createV2SharedSecretKeysVerifi($vIcDomain, $createSharedSecretKeysVerifiRequest)
60+
61+
Create Shared-Secret Keys as per verifi spec
62+
63+
Create one or more Shared-Secret Keys as per Verifi spec with 32 chars, store digest algo during key generation.
64+
65+
### Example
66+
```php
67+
<?php
68+
require_once(__DIR__ . '/vendor/autoload.php');
69+
70+
$api_instance = new CyberSource\Api\SymmetricKeyManagementApi();
71+
$vIcDomain = "vIcDomain_example"; // string | domain
72+
$createSharedSecretKeysVerifiRequest = new \CyberSource\Model\CreateSharedSecretKeysVerifiRequest(); // \CyberSource\Model\CreateSharedSecretKeysVerifiRequest |
73+
74+
try {
75+
$result = $api_instance->createV2SharedSecretKeysVerifi($vIcDomain, $createSharedSecretKeysVerifiRequest);
76+
print_r($result);
77+
} catch (Exception $e) {
78+
echo 'Exception when calling SymmetricKeyManagementApi->createV2SharedSecretKeysVerifi: ', $e->getMessage(), PHP_EOL;
79+
}
80+
?>
81+
```
82+
83+
### Parameters
84+
85+
Name | Type | Description | Notes
86+
------------- | ------------- | ------------- | -------------
87+
**vIcDomain** | **string**| domain |
88+
**createSharedSecretKeysVerifiRequest** | [**\CyberSource\Model\CreateSharedSecretKeysVerifiRequest**](../Model/CreateSharedSecretKeysVerifiRequest.md)| |
89+
90+
### Return type
91+
92+
[**\CyberSource\Model\KmsV2KeysSymPost201Response**](../Model/KmsV2KeysSymPost201Response.md)
93+
94+
### Authorization
95+
96+
No authorization required
97+
98+
### HTTP request headers
99+
100+
- **Content-Type**: application/json;charset=utf-8
101+
- **Accept**: application/hal+json;charset=utf-8
102+
103+
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)
104+
57105
# **deleteBulkSymmetricKeys**
58106
> \CyberSource\Model\KmsV2KeysSymDeletesPost200Response deleteBulkSymmetricKeys($deleteBulkSymmetricKeysRequest)
59107
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# CreateSharedSecretKeysVerifiRequest
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**clientReferenceInformation** | [**\CyberSource\Model\Kmsv2keyssymClientReferenceInformation**](Kmsv2keyssymClientReferenceInformation.md) | | [optional]
7+
**keyInformation** | [**\CyberSource\Model\Kmsv2keyssymverifiKeyInformation[]**](Kmsv2keyssymverifiKeyInformation.md) | | [optional]
8+
9+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
10+
11+
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Kmsv2keyssymverifiKeyInformation
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**organizationId** | **string** | Merchant Id |
7+
**referenceNumber** | **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+
**digestAlgorithm** | **string** | Algorithm for message signature authentication | [optional] [default to 'HMACSHA2']
9+
10+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
11+
12+

docs/Model/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
**credentialStoredOnFile** | **bool** | 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-
**storedCredentialUsed** | **bool** | 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+
**storedCredentialUsed** | **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
**merchantInitiatedTransaction** | [**\CyberSource\Model\Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction**](Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.md) | | [optional]
1010

1111
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

docs/Model/Ptsv2paymentsidProcessingInformationAuthorizationOptionsInitiator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**storedCredentialUsed** | **bool** | 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+
**storedCredentialUsed** | **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
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
99

0 commit comments

Comments
 (0)