Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ override the new secure-http default setting)*.
{
"require": {
"php": ">=8.0.0",
"cybersource/rest-client-php": "0.0.67"
"cybersource/rest-client-php": "0.0.68"
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cybersource/rest-client-php",
"version": "0.0.67",
"version": "0.0.68",
"description": "Client SDK for CyberSource REST APIs",
"keywords": [
"cybersource", "payments", "ecommerce", "merchant", "merchants", "authorize", "visa", "payment", "payment-gateway", "payment-integration", "payment-module", "payment-processing", "payment-service", "payment-methods"
Expand Down
4 changes: 2 additions & 2 deletions docs/Api/BankAccountValidationApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Method | HTTP request | Description


# **bankAccountValidationRequest**
> \CyberSource\Model\InlineResponse20013 bankAccountValidationRequest($accountValidationsRequest)
> \CyberSource\Model\InlineResponse20014 bankAccountValidationRequest($accountValidationsRequest)

Visa Bank Account Validation Service

Expand Down Expand Up @@ -39,7 +39,7 @@ Name | Type | Description | Notes

### Return type

[**\CyberSource\Model\InlineResponse20013**](../Model/InlineResponse20013.md)
[**\CyberSource\Model\InlineResponse20014**](../Model/InlineResponse20014.md)

### Authorization

Expand Down
12 changes: 6 additions & 6 deletions docs/Api/BatchesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Method | HTTP request | Description


# **getBatchReport**
> \CyberSource\Model\InlineResponse20012 getBatchReport($batchId)
> \CyberSource\Model\InlineResponse20013 getBatchReport($batchId)

Retrieve a Batch Report

Expand Down Expand Up @@ -42,7 +42,7 @@ Name | Type | Description | Notes

### Return type

[**\CyberSource\Model\InlineResponse20012**](../Model/InlineResponse20012.md)
[**\CyberSource\Model\InlineResponse20013**](../Model/InlineResponse20013.md)

### Authorization

Expand All @@ -56,7 +56,7 @@ No authorization required
[[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)

# **getBatchStatus**
> \CyberSource\Model\InlineResponse20011 getBatchStatus($batchId)
> \CyberSource\Model\InlineResponse20012 getBatchStatus($batchId)

Retrieve a Batch Status

Expand Down Expand Up @@ -87,7 +87,7 @@ Name | Type | Description | Notes

### Return type

[**\CyberSource\Model\InlineResponse20011**](../Model/InlineResponse20011.md)
[**\CyberSource\Model\InlineResponse20012**](../Model/InlineResponse20012.md)

### Authorization

Expand All @@ -101,7 +101,7 @@ No authorization required
[[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)

# **getBatchesList**
> \CyberSource\Model\InlineResponse20010 getBatchesList($offset, $limit, $fromDate, $toDate)
> \CyberSource\Model\InlineResponse20011 getBatchesList($offset, $limit, $fromDate, $toDate)

List Batches

Expand Down Expand Up @@ -138,7 +138,7 @@ Name | Type | Description | Notes

### Return type

[**\CyberSource\Model\InlineResponse20010**](../Model/InlineResponse20010.md)
[**\CyberSource\Model\InlineResponse20011**](../Model/InlineResponse20011.md)

### Authorization

Expand Down
4 changes: 2 additions & 2 deletions docs/Api/CreateNewWebhooksApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Method | HTTP request | Description


# **findProductsToSubscribe**
> \CyberSource\Model\InlineResponse2004[] findProductsToSubscribe($organizationId)
> \CyberSource\Model\InlineResponse2005[] findProductsToSubscribe($organizationId)

Find Products You Can Subscribe To

Expand Down Expand Up @@ -41,7 +41,7 @@ Name | Type | Description | Notes

### Return type

[**\CyberSource\Model\InlineResponse2004[]**](../Model/InlineResponse2004.md)
[**\CyberSource\Model\InlineResponse2005[]**](../Model/InlineResponse2005.md)

### Authorization

Expand Down
4 changes: 2 additions & 2 deletions docs/Api/DecisionManagerApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Method | HTTP request | Description


# **actionDecisionManagerCase**
> \CyberSource\Model\InlineResponse2001 actionDecisionManagerCase($id, $caseManagementActionsRequest)
> \CyberSource\Model\InlineResponse2002 actionDecisionManagerCase($id, $caseManagementActionsRequest)

Take action on a DM post-transactional case

Expand Down Expand Up @@ -45,7 +45,7 @@ Name | Type | Description | Notes

### Return type

[**\CyberSource\Model\InlineResponse2001**](../Model/InlineResponse2001.md)
[**\CyberSource\Model\InlineResponse2002**](../Model/InlineResponse2002.md)

### Authorization

Expand Down
4 changes: 2 additions & 2 deletions docs/Api/DeviceDeAssociationApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ No authorization required
[[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)

# **postDeAssociateV3Terminal**
> \CyberSource\Model\InlineResponse2008[] postDeAssociateV3Terminal($deviceDeAssociateV3Request)
> \CyberSource\Model\InlineResponse2009[] postDeAssociateV3Terminal($deviceDeAssociateV3Request)

De-associate a device from merchant to account or reseller and from account to reseller

Expand Down Expand Up @@ -84,7 +84,7 @@ Name | Type | Description | Notes

### Return type

[**\CyberSource\Model\InlineResponse2008[]**](../Model/InlineResponse2008.md)
[**\CyberSource\Model\InlineResponse2009[]**](../Model/InlineResponse2009.md)

### Authorization

Expand Down
8 changes: 4 additions & 4 deletions docs/Api/DeviceSearchApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Method | HTTP request | Description


# **postSearchQuery**
> \CyberSource\Model\InlineResponse2007 postSearchQuery($postDeviceSearchRequest)
> \CyberSource\Model\InlineResponse2008 postSearchQuery($postDeviceSearchRequest)

Retrieve List of Devices for a given search query V2

Expand Down Expand Up @@ -40,7 +40,7 @@ Name | Type | Description | Notes

### Return type

[**\CyberSource\Model\InlineResponse2007**](../Model/InlineResponse2007.md)
[**\CyberSource\Model\InlineResponse2008**](../Model/InlineResponse2008.md)

### Authorization

Expand All @@ -54,7 +54,7 @@ No authorization required
[[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)

# **postSearchQueryV3**
> \CyberSource\Model\InlineResponse2009 postSearchQueryV3($postDeviceSearchRequestV3)
> \CyberSource\Model\InlineResponse20010 postSearchQueryV3($postDeviceSearchRequestV3)

Retrieve List of Devices for a given search query

Expand Down Expand Up @@ -85,7 +85,7 @@ Name | Type | Description | Notes

### Return type

[**\CyberSource\Model\InlineResponse2009**](../Model/InlineResponse2009.md)
[**\CyberSource\Model\InlineResponse20010**](../Model/InlineResponse20010.md)

### Authorization

Expand Down
8 changes: 4 additions & 4 deletions docs/Api/ManageWebhooksApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ No authorization required
[[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)

# **getWebhookSubscriptionsByOrg**
> \CyberSource\Model\InlineResponse2005[] getWebhookSubscriptionsByOrg($organizationId, $productId, $eventType)
> \CyberSource\Model\InlineResponse2006[] getWebhookSubscriptionsByOrg($organizationId, $productId, $eventType)

Get Details On All Created Webhooks

Expand Down Expand Up @@ -138,7 +138,7 @@ Name | Type | Description | Notes

### Return type

[**\CyberSource\Model\InlineResponse2005[]**](../Model/InlineResponse2005.md)
[**\CyberSource\Model\InlineResponse2006[]**](../Model/InlineResponse2006.md)

### Authorization

Expand Down Expand Up @@ -197,7 +197,7 @@ No authorization required
[[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)

# **notificationSubscriptionsV2WebhooksWebhookIdPatch**
> \CyberSource\Model\InlineResponse2006 notificationSubscriptionsV2WebhooksWebhookIdPatch($webhookId, $updateWebhook)
> \CyberSource\Model\InlineResponse2007 notificationSubscriptionsV2WebhooksWebhookIdPatch($webhookId, $updateWebhook)

Update a Webhook Subscription

Expand Down Expand Up @@ -230,7 +230,7 @@ Name | Type | Description | Notes

### Return type

[**\CyberSource\Model\InlineResponse2006**](../Model/InlineResponse2006.md)
[**\CyberSource\Model\InlineResponse2007**](../Model/InlineResponse2007.md)

### Authorization

Expand Down
4 changes: 2 additions & 2 deletions docs/Api/MerchantBoardingApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Method | HTTP request | Description


# **getRegistration**
> \CyberSource\Model\InlineResponse2003 getRegistration($registrationId)
> \CyberSource\Model\InlineResponse2004 getRegistration($registrationId)

Gets all the information on a boarding registration

Expand Down Expand Up @@ -40,7 +40,7 @@ Name | Type | Description | Notes

### Return type

[**\CyberSource\Model\InlineResponse2003**](../Model/InlineResponse2003.md)
[**\CyberSource\Model\InlineResponse2004**](../Model/InlineResponse2004.md)

### Authorization

Expand Down
12 changes: 6 additions & 6 deletions docs/Api/MerchantDefinedFieldsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Method | HTTP request | Description


# **createMerchantDefinedFieldDefinition**
> \CyberSource\Model\InlineResponse2002[] createMerchantDefinedFieldDefinition($referenceType, $merchantDefinedFieldDefinitionRequest)
> \CyberSource\Model\InlineResponse2003[] createMerchantDefinedFieldDefinition($referenceType, $merchantDefinedFieldDefinitionRequest)

Create merchant defined field for a given reference type

Expand Down Expand Up @@ -42,7 +42,7 @@ Name | Type | Description | Notes

### Return type

[**\CyberSource\Model\InlineResponse2002[]**](../Model/InlineResponse2002.md)
[**\CyberSource\Model\InlineResponse2003[]**](../Model/InlineResponse2003.md)

### Authorization

Expand Down Expand Up @@ -100,7 +100,7 @@ No authorization required
[[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)

# **getMerchantDefinedFieldsDefinitions**
> \CyberSource\Model\InlineResponse2002[] getMerchantDefinedFieldsDefinitions($referenceType)
> \CyberSource\Model\InlineResponse2003[] getMerchantDefinedFieldsDefinitions($referenceType)

Get all merchant defined fields for a given reference type

Expand Down Expand Up @@ -129,7 +129,7 @@ Name | Type | Description | Notes

### Return type

[**\CyberSource\Model\InlineResponse2002[]**](../Model/InlineResponse2002.md)
[**\CyberSource\Model\InlineResponse2003[]**](../Model/InlineResponse2003.md)

### Authorization

Expand All @@ -143,7 +143,7 @@ No authorization required
[[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)

# **putMerchantDefinedFieldsDefinitions**
> \CyberSource\Model\InlineResponse2002[] putMerchantDefinedFieldsDefinitions($referenceType, $id, $merchantDefinedFieldCore)
> \CyberSource\Model\InlineResponse2003[] putMerchantDefinedFieldsDefinitions($referenceType, $id, $merchantDefinedFieldCore)

Update a MerchantDefinedField by ID

Expand Down Expand Up @@ -176,7 +176,7 @@ Name | Type | Description | Notes

### Return type

[**\CyberSource\Model\InlineResponse2002[]**](../Model/InlineResponse2002.md)
[**\CyberSource\Model\InlineResponse2003[]**](../Model/InlineResponse2003.md)

### Authorization

Expand Down
4 changes: 2 additions & 2 deletions docs/Api/OffersApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ No authorization required
[[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)

# **getOffer**
> \CyberSource\Model\InlineResponse20014 getOffer($contentType, $xRequestid, $vCMerchantId, $vCCorrelationId, $vCOrganizationId, $id)
> \CyberSource\Model\InlineResponse20015 getOffer($contentType, $xRequestid, $vCMerchantId, $vCCorrelationId, $vCOrganizationId, $id)

Retrieve an Offer

Expand Down Expand Up @@ -105,7 +105,7 @@ Name | Type | Description | Notes

### Return type

[**\CyberSource\Model\InlineResponse20014**](../Model/InlineResponse20014.md)
[**\CyberSource\Model\InlineResponse20015**](../Model/InlineResponse20015.md)

### Authorization

Expand Down
14 changes: 7 additions & 7 deletions docs/Api/SubscriptionsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All URIs are relative to *https://apitest.cybersource.com*

Method | HTTP request | Description
------------- | ------------- | -------------
[**activateSubscription**](SubscriptionsApi.md#activateSubscription) | **POST** /rbs/v1/subscriptions/{id}/activate | Activate a Subscription
[**activateSubscription**](SubscriptionsApi.md#activateSubscription) | **POST** /rbs/v1/subscriptions/{id}/activate | Reactivating a Suspended Subscription
[**cancelSubscription**](SubscriptionsApi.md#cancelSubscription) | **POST** /rbs/v1/subscriptions/{id}/cancel | Cancel a Subscription
[**createSubscription**](SubscriptionsApi.md#createSubscription) | **POST** /rbs/v1/subscriptions | Create a Subscription
[**getAllSubscriptions**](SubscriptionsApi.md#getAllSubscriptions) | **GET** /rbs/v1/subscriptions | Get a List of Subscriptions
Expand All @@ -15,11 +15,11 @@ Method | HTTP request | Description


# **activateSubscription**
> \CyberSource\Model\ActivateSubscriptionResponse activateSubscription($id, $processSkippedPayments)
> \CyberSource\Model\ActivateSubscriptionResponse activateSubscription($id, $processMissedPayments)

Activate a Subscription
Reactivating a Suspended Subscription

Activate a `SUSPENDED` Subscription
# Reactivating a Suspended Subscription You can reactivate a suspended subscription for the next billing cycle. You cannot reactivate a canceled or completed subscription. You can specify whether you want to process missed payments for the period during which the subscription was suspended using the `processMissedPayments` query parameter by setting it to true or false. If no value is specified, the system will default to `true`. **Important:** The \"processMissedPayments\" query parameter is only effective when the Ask each time before reactivating option is selected in the reactivation settings. If any other option is chosen, the value provided in the request will be ignored by the system. For more information, see the [Recurring Billing User Guide](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/user/all/rest/recurring-billing-user/recurring-billing-user-about-guide.html). You can check how many payments were missed and the total amount by retrieving the subscription details, where you will find the `reactivationInformation` object. See: [Retrieving a Subscription](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/developer/all/rest/recurring-billing-dev/recur-bill-subscriptions/recur-bill-getting-a-subscription.html).

### Example
```php
Expand All @@ -28,10 +28,10 @@ require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new CyberSource\Api\SubscriptionsApi();
$id = "id_example"; // string | Subscription Id
$processSkippedPayments = true; // bool | Indicates if skipped payments should be processed from the period when the subscription was suspended. By default, this is set to true.
$processMissedPayments = true; // bool | Indicates if missed payments should be processed from the period when the subscription was suspended. By default, this is set to true. When any option other than \"Ask each time before reactivating\" is selected in the reactivation settings, the value that you enter will be ignored.

try {
$result = $api_instance->activateSubscription($id, $processSkippedPayments);
$result = $api_instance->activateSubscription($id, $processMissedPayments);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SubscriptionsApi->activateSubscription: ', $e->getMessage(), PHP_EOL;
Expand All @@ -44,7 +44,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **string**| Subscription Id |
**processSkippedPayments** | **bool**| Indicates if skipped payments should be processed from the period when the subscription was suspended. By default, this is set to true. | [optional] [default to true]
**processMissedPayments** | **bool**| Indicates if missed payments should be processed from the period when the subscription was suspended. By default, this is set to true. When any option other than \"Ask each time before reactivating\" is selected in the reactivation settings, the value that you enter will be ignored. | [optional] [default to true]

### Return type

Expand Down
4 changes: 2 additions & 2 deletions docs/Api/TokenApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Method | HTTP request | Description


# **getCardArtAsset**
> \CyberSource\Model\InlineResponse200 getCardArtAsset($instrumentIdentifierId, $tokenProvider, $assetType)
> \CyberSource\Model\InlineResponse2001 getCardArtAsset($instrumentIdentifierId, $tokenProvider, $assetType)

Retrieve Card Art

Expand Down Expand Up @@ -44,7 +44,7 @@ Name | Type | Description | Notes

### Return type

[**\CyberSource\Model\InlineResponse200**](../Model/InlineResponse200.md)
[**\CyberSource\Model\InlineResponse2001**](../Model/InlineResponse2001.md)

### Authorization

Expand Down
Loading