Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ec458ad

Browse files
authoredFeb 7, 2023
Merge pull request #121 from CyberSource/feb-release
Feb release
2 parents 23338cc + 873d379 commit ec458ad

File tree

952 files changed

+16869
-1271
lines changed

Some content is hidden

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

952 files changed

+16869
-1271
lines changed
 

‎docs/Invoicingv2invoicesOrderInformationAmountDetailsTaxDetails.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**type** | **String** | Indicates the type of tax data for the _taxDetails_ object. Possible values: - `alternate` - `local` - `national` - `vat` - `other` For processor-specific details, see the `alternate_tax_amount`, `local_tax`, `national_tax` or `vat_tax_amount` field descriptions in [Level II and Level III Processing Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html/) | [optional]
8-
**amount** | **String** | Indicates the amount of tax based on the `type` field as described in the table below: | type | type description | | ------------- |:-------------:| | `alternate` | Total amount of alternate tax for the order. | | `local` | Sales tax for the order. | | `national` | National tax for the order. | | `vat` | Total amount of value added tax (VAT) included in the order. | | `other` | Other tax. | | [optional]
7+
**type** | **String** | Indicates the type of tax data for the _taxDetails_ object. Possible values: - `alternate` - `local` - `national` - `vat` - `other` - `green` For processor-specific details, see the `alternate_tax_amount`, `local_tax`, `national_tax` or `vat_tax_amount` field descriptions in [Level II and Level III Processing Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html/) | [optional]
8+
**amount** | **String** | Indicates the amount of tax based on the `type` field as described in the table below: | type | type description | | ------------- |:-------------:| | `alternate` | Total amount of alternate tax for the order. | | `local` | Sales tax for the order. | | `national` | National tax for the order. | | `vat` | Total amount of value added tax (VAT) included in the order. | | `other` | Other tax. | | `green` | Green tax amount for Korean Processing. | | [optional]
99
**rate** | **String** | Rate of VAT or other tax for the order. Example 0.040 (=4%) Valid range: 0.01 to 0.99 (1% to 99%, with only whole percentage values accepted; values with additional decimal places will be truncated) For processor-specific details, see the `alternate_tax_amount`, `vat_rate`, `vat_tax_rate`, `local_tax`, `national_tax`, `vat_tax_amount` or `other_tax#_rate` field descriptions in the [Level II and Level III Processing Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html/) | [optional]
1010

1111

‎docs/PaymentsApi.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Method | HTTP request | Description
66
------------- | ------------- | -------------
77
[**createPayment**](PaymentsApi.md#createPayment) | **POST** /pts/v2/payments | Process a Payment
88
[**incrementAuth**](PaymentsApi.md#incrementAuth) | **PATCH** /pts/v2/payments/{id} | Increment an Authorization
9+
[**refreshPaymentStatus**](PaymentsApi.md#refreshPaymentStatus) | **POST** /pts/v2/refresh-payment-status/{id} | Check a Payment Status
910

1011

1112
<a name="createPayment"></a>
@@ -100,3 +101,50 @@ No authorization required
100101
- **Content-Type**: application/json;charset=utf-8
101102
- **Accept**: application/hal+json;charset=utf-8
102103

104+
<a name="refreshPaymentStatus"></a>
105+
# **refreshPaymentStatus**
106+
> PtsV2PaymentsPost201Response1 refreshPaymentStatus(id, refreshPaymentStatusRequest)
107+
108+
Check a Payment Status
109+
110+
Checks and updates the payment status
111+
112+
### Example
113+
```java
114+
// Import classes:
115+
//import Invokers.ApiException;
116+
//import Api.PaymentsApi;
117+
118+
119+
PaymentsApi apiInstance = new PaymentsApi();
120+
String id = "id_example"; // String | The payment id whose status needs to be checked and updated.
121+
RefreshPaymentStatusRequest refreshPaymentStatusRequest = new RefreshPaymentStatusRequest(); // RefreshPaymentStatusRequest |
122+
try {
123+
PtsV2PaymentsPost201Response1 result = apiInstance.refreshPaymentStatus(id, refreshPaymentStatusRequest);
124+
System.out.println(result);
125+
} catch (ApiException e) {
126+
System.err.println("Exception when calling PaymentsApi#refreshPaymentStatus");
127+
e.printStackTrace();
128+
}
129+
```
130+
131+
### Parameters
132+
133+
Name | Type | Description | Notes
134+
------------- | ------------- | ------------- | -------------
135+
**id** | **String**| The payment id whose status needs to be checked and updated. |
136+
**refreshPaymentStatusRequest** | [**RefreshPaymentStatusRequest**](RefreshPaymentStatusRequest.md)| |
137+
138+
### Return type
139+
140+
[**PtsV2PaymentsPost201Response1**](PtsV2PaymentsPost201Response1.md)
141+
142+
### Authorization
143+
144+
No authorization required
145+
146+
### HTTP request headers
147+
148+
- **Content-Type**: application/json;charset=utf-8
149+
- **Accept**: application/hal+json;charset=utf-8
150+

0 commit comments

Comments
 (0)
Please sign in to comment.