cybersource-rest-client 0.0.70 → 0.0.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/BatchesApi.md +6 -6
- package/docs/CreateWebhook.md +3 -2
- package/docs/DeviceDeAssociationApi.md +2 -2
- package/docs/DeviceSearchApi.md +4 -4
- package/docs/InlineResponse20010.md +7 -7
- package/docs/{InlineResponse2009Billing.md → InlineResponse20010Billing.md} +1 -1
- package/docs/InlineResponse20010Links.md +9 -0
- package/docs/{InlineResponse2009LinksReport.md → InlineResponse20010LinksReport.md} +1 -1
- package/docs/InlineResponse20011.md +17 -0
- package/docs/InlineResponse20011Records.md +10 -0
- package/docs/{InlineResponse20010ResponseRecord.md → InlineResponse20011ResponseRecord.md} +2 -2
- package/docs/{InlineResponse20010ResponseRecordAdditionalUpdates.md → InlineResponse20011ResponseRecordAdditionalUpdates.md} +1 -1
- package/docs/{InlineResponse20010SourceRecord.md → InlineResponse20011SourceRecord.md} +1 -1
- package/docs/InlineResponse2004.md +2 -2
- package/docs/InlineResponse2005.md +13 -6
- package/docs/InlineResponse2006.md +6 -2
- package/docs/{InlineResponse2005Devices.md → InlineResponse2006Devices.md} +1 -1
- package/docs/InlineResponse2007.md +2 -6
- package/docs/InlineResponse2008.md +6 -7
- package/docs/{InlineResponse2007Devices.md → InlineResponse2008Devices.md} +2 -2
- package/docs/{InlineResponse2007PaymentProcessorToTerminalMap.md → InlineResponse2008PaymentProcessorToTerminalMap.md} +1 -1
- package/docs/InlineResponse2009.md +7 -10
- package/docs/InlineResponse2009Embedded.md +8 -0
- package/docs/{InlineResponse2008EmbeddedBatches.md → InlineResponse2009EmbeddedBatches.md} +3 -3
- package/docs/InlineResponse2009EmbeddedLinks.md +8 -0
- package/docs/{InlineResponse2008EmbeddedLinksReports.md → InlineResponse2009EmbeddedLinksReports.md} +1 -1
- package/docs/{InlineResponse2008EmbeddedTotals.md → InlineResponse2009EmbeddedTotals.md} +1 -1
- package/docs/InlineResponse2009Links.md +2 -2
- package/docs/InlineResponse2015.md +2 -2
- package/docs/InvoicesApi.md +47 -0
- package/docs/InvoicingV2InvoiceSettingsGet200ResponseInvoiceSettingsInformation.md +1 -0
- package/docs/InvoicingV2InvoicesPost201ResponseInvoiceInformation.md +1 -0
- package/docs/InvoicingV2InvoicesPost201ResponseInvoiceInformationCustomLabels.md +12 -0
- package/docs/InvoicingV2InvoicesPublish200Response.md +15 -0
- package/docs/Invoicingv2invoiceSettingsInvoiceSettingsInformation.md +1 -0
- package/docs/ManageWebhooksApi.md +3 -3
- package/docs/Notificationsubscriptionsv2webhooksRetryPolicy.md +1 -1
- package/docs/Notificationsubscriptionsv2webhooksSecurityPolicy.md +1 -1
- package/docs/Notificationsubscriptionsv2webhooksSecurityPolicyConfig.md +2 -2
- package/docs/{Notificationsubscriptionsv2webhooksSecurityPolicy1ConfigAdditionalConfig.md → Notificationsubscriptionsv2webhooksSecurityPolicyConfigAdditionalConfig.md} +1 -1
- package/docs/PaymentLinksApi.md +2 -2
- package/docs/Ptsv2paymentsInstallmentInformation.md +2 -0
- package/docs/Ptsv2paymentsPaymentInformationPaymentTypeMethod.md +1 -1
- package/docs/Ptsv2paymentsidcapturesPaymentInformationPaymentTypeMethod.md +1 -1
- package/docs/TssV2TransactionsGet200Response.md +1 -0
- package/docs/TssV2TransactionsGet200ResponseBankAccountValidation.md +10 -0
- package/docs/TssV2TransactionsGet200ResponseProcessingInformation.md +1 -0
- package/docs/TssV2TransactionsGet200ResponseProcessorInformation.md +1 -0
- package/docs/UpdateWebhook.md +2 -2
- package/package.json +1 -1
- package/src/api/BatchesApi.js +21 -21
- package/src/api/BillingAgreementsApi.js +6 -6
- package/src/api/BinLookupApi.js +2 -2
- package/src/api/CaptureApi.js +2 -2
- package/src/api/ChargebackDetailsApi.js +2 -2
- package/src/api/ChargebackSummariesApi.js +2 -2
- package/src/api/ConversionDetailsApi.js +2 -2
- package/src/api/CreateNewWebhooksApi.js +6 -6
- package/src/api/CreditApi.js +2 -2
- package/src/api/CustomerApi.js +8 -8
- package/src/api/CustomerPaymentInstrumentApi.js +10 -10
- package/src/api/CustomerShippingAddressApi.js +10 -10
- package/src/api/DecisionManagerApi.js +10 -10
- package/src/api/DeviceDeAssociationApi.js +11 -11
- package/src/api/DeviceSearchApi.js +14 -14
- package/src/api/DownloadDTDApi.js +2 -2
- package/src/api/DownloadXSDApi.js +2 -2
- package/src/api/EMVTagDetailsApi.js +4 -4
- package/src/api/FlexAPIApi.js +2 -2
- package/src/api/InstrumentIdentifierApi.js +12 -12
- package/src/api/InterchangeClearingLevelDetailsApi.js +2 -2
- package/src/api/InvoiceSettingsApi.js +4 -4
- package/src/api/InvoicesApi.js +81 -16
- package/src/api/ManageWebhooksApi.js +21 -20
- package/src/api/MerchantBoardingApi.js +4 -4
- package/src/api/MicroformIntegrationApi.js +2 -2
- package/src/api/NetFundingsApi.js +2 -2
- package/src/api/NotificationOfChangesApi.js +2 -2
- package/src/api/OrdersApi.js +4 -4
- package/src/api/PayerAuthenticationApi.js +6 -6
- package/src/api/PaymentBatchSummariesApi.js +2 -2
- package/src/api/PaymentInstrumentApi.js +8 -8
- package/src/api/PaymentLinksApi.js +10 -10
- package/src/api/PaymentTokensApi.js +2 -2
- package/src/api/PaymentsApi.js +12 -12
- package/src/api/PayoutsApi.js +2 -2
- package/src/api/PlansApi.js +16 -16
- package/src/api/PurchaseAndRefundDetailsApi.js +2 -2
- package/src/api/PushFundsApi.js +2 -2
- package/src/api/RefundApi.js +4 -4
- package/src/api/ReportDefinitionsApi.js +4 -4
- package/src/api/ReportDownloadsApi.js +2 -2
- package/src/api/ReportSubscriptionsApi.js +10 -10
- package/src/api/ReportsApi.js +6 -6
- package/src/api/RetrievalDetailsApi.js +2 -2
- package/src/api/RetrievalSummariesApi.js +2 -2
- package/src/api/ReversalApi.js +4 -4
- package/src/api/SearchTransactionsApi.js +4 -4
- package/src/api/SecureFileShareApi.js +4 -4
- package/src/api/SubscriptionsApi.js +16 -16
- package/src/api/SubscriptionsFollowOnsApi.js +4 -4
- package/src/api/TaxesApi.js +4 -4
- package/src/api/TokenApi.js +4 -4
- package/src/api/TokenizedCardApi.js +6 -6
- package/src/api/TransactionBatchesApi.js +8 -8
- package/src/api/TransactionDetailsApi.js +2 -2
- package/src/api/TransientTokenDataApi.js +4 -4
- package/src/api/UnifiedCheckoutCaptureContextApi.js +2 -2
- package/src/api/UserManagementApi.js +2 -2
- package/src/api/UserManagementSearchApi.js +2 -2
- package/src/api/VerificationApi.js +4 -4
- package/src/api/VoidApi.js +10 -10
- package/src/authentication/core/MerchantConfig.js +88 -4
- package/src/authentication/logging/SensitiveDataTags.js +1 -0
- package/src/authentication/util/Cache.js +169 -4
- package/src/authentication/util/Constants.js +2 -0
- package/src/authentication/util/MLEUtility.js +63 -56
- package/src/authentication/util/Utility.js +64 -1
- package/src/index.js +84 -74
- package/src/model/CreateWebhook.js +17 -7
- package/src/model/InlineResponse20010.js +37 -37
- package/src/model/{InlineResponse2009Billing.js → InlineResponse20010Billing.js} +8 -8
- package/src/model/InlineResponse20010Links.js +89 -0
- package/src/model/{InlineResponse2009LinksReport.js → InlineResponse20010LinksReport.js} +8 -8
- package/src/model/InlineResponse20011.js +158 -0
- package/src/model/{InlineResponse20010Records.js → InlineResponse20011Records.js} +15 -15
- package/src/model/{InlineResponse20010ResponseRecord.js → InlineResponse20011ResponseRecord.js} +13 -13
- package/src/model/{InlineResponse20010ResponseRecordAdditionalUpdates.js → InlineResponse20011ResponseRecordAdditionalUpdates.js} +8 -8
- package/src/model/{InlineResponse20010SourceRecord.js → InlineResponse20011SourceRecord.js} +8 -8
- package/src/model/InlineResponse2004.js +7 -6
- package/src/model/InlineResponse2005.js +96 -34
- package/src/model/InlineResponse2006.js +48 -11
- package/src/model/{InlineResponse2005Devices.js → InlineResponse2006Devices.js} +8 -8
- package/src/model/InlineResponse2007.js +11 -48
- package/src/model/InlineResponse2008.js +25 -27
- package/src/model/{InlineResponse2007Devices.js → InlineResponse2008Devices.js} +13 -13
- package/src/model/{InlineResponse2007PaymentProcessorToTerminalMap.js → InlineResponse2008PaymentProcessorToTerminalMap.js} +8 -8
- package/src/model/InlineResponse2009.js +30 -59
- package/src/model/{InlineResponse2008Embedded.js → InlineResponse2009Embedded.js} +13 -13
- package/src/model/{InlineResponse2008EmbeddedBatches.js → InlineResponse2009EmbeddedBatches.js} +15 -15
- package/src/model/{InlineResponse2008EmbeddedLinks.js → InlineResponse2009EmbeddedLinks.js} +13 -13
- package/src/model/{InlineResponse2008EmbeddedLinksReports.js → InlineResponse2009EmbeddedLinksReports.js} +8 -8
- package/src/model/{InlineResponse2008EmbeddedTotals.js → InlineResponse2009EmbeddedTotals.js} +8 -8
- package/src/model/InlineResponse2009Links.js +13 -12
- package/src/model/InlineResponse2015.js +7 -6
- package/src/model/InvoicingV2InvoiceSettingsGet200ResponseInvoiceSettingsInformation.js +13 -4
- package/src/model/InvoicingV2InvoicesPost201ResponseInvoiceInformation.js +13 -4
- package/src/model/InvoicingV2InvoicesPost201ResponseInvoiceInformationCustomLabels.js +121 -0
- package/src/model/InvoicingV2InvoicesPublish200Response.js +140 -0
- package/src/model/Invoicingv2invoiceSettingsInvoiceSettingsInformation.js +13 -4
- package/src/model/Notificationsubscriptionsv2webhooksRetryPolicy.js +2 -1
- package/src/model/Notificationsubscriptionsv2webhooksSecurityPolicy.js +1 -1
- package/src/model/Notificationsubscriptionsv2webhooksSecurityPolicyConfig.js +12 -13
- package/src/model/{Notificationsubscriptionsv2webhooksSecurityPolicy1ConfigAdditionalConfig.js → Notificationsubscriptionsv2webhooksSecurityPolicyConfigAdditionalConfig.js} +8 -8
- package/src/model/Ptsv2paymentsInstallmentInformation.js +18 -0
- package/src/model/Ptsv2paymentsPaymentInformationPaymentTypeMethod.js +1 -1
- package/src/model/Ptsv2paymentsidcapturesPaymentInformationPaymentTypeMethod.js +1 -1
- package/src/model/TssV2TransactionsGet200Response.js +12 -4
- package/src/model/TssV2TransactionsGet200ResponseBankAccountValidation.js +99 -0
- package/src/model/TssV2TransactionsGet200ResponseProcessingInformation.js +9 -0
- package/src/model/TssV2TransactionsGet200ResponseProcessorInformation.js +12 -4
- package/src/model/UpdateWebhook.js +10 -9
- package/docs/InlineResponse20010Records.md +0 -10
- package/docs/InlineResponse2008Embedded.md +0 -8
- package/docs/InlineResponse2008EmbeddedLinks.md +0 -8
- package/docs/InlineResponse2008Links.md +0 -9
- package/docs/Notificationsubscriptionsv2webhooksSecurityPolicy1.md +0 -9
- package/docs/Notificationsubscriptionsv2webhooksSecurityPolicy1Config.md +0 -11
- package/src/model/InlineResponse2008Links.js +0 -90
- package/src/model/Notificationsubscriptionsv2webhooksSecurityPolicy1.js +0 -91
- package/src/model/Notificationsubscriptionsv2webhooksSecurityPolicy1Config.js +0 -109
package/docs/BatchesApi.md
CHANGED
|
@@ -12,7 +12,7 @@ Method | HTTP request | Description
|
|
|
12
12
|
|
|
13
13
|
<a name="getBatchReport"></a>
|
|
14
14
|
# **getBatchReport**
|
|
15
|
-
>
|
|
15
|
+
> InlineResponse20011 getBatchReport(batchId)
|
|
16
16
|
|
|
17
17
|
Retrieve a Batch Report
|
|
18
18
|
|
|
@@ -45,7 +45,7 @@ Name | Type | Description | Notes
|
|
|
45
45
|
|
|
46
46
|
### Return type
|
|
47
47
|
|
|
48
|
-
[**
|
|
48
|
+
[**InlineResponse20011**](InlineResponse20011.md)
|
|
49
49
|
|
|
50
50
|
### Authorization
|
|
51
51
|
|
|
@@ -58,7 +58,7 @@ No authorization required
|
|
|
58
58
|
|
|
59
59
|
<a name="getBatchStatus"></a>
|
|
60
60
|
# **getBatchStatus**
|
|
61
|
-
>
|
|
61
|
+
> InlineResponse20010 getBatchStatus(batchId)
|
|
62
62
|
|
|
63
63
|
Retrieve a Batch Status
|
|
64
64
|
|
|
@@ -91,7 +91,7 @@ Name | Type | Description | Notes
|
|
|
91
91
|
|
|
92
92
|
### Return type
|
|
93
93
|
|
|
94
|
-
[**
|
|
94
|
+
[**InlineResponse20010**](InlineResponse20010.md)
|
|
95
95
|
|
|
96
96
|
### Authorization
|
|
97
97
|
|
|
@@ -104,7 +104,7 @@ No authorization required
|
|
|
104
104
|
|
|
105
105
|
<a name="getBatchesList"></a>
|
|
106
106
|
# **getBatchesList**
|
|
107
|
-
>
|
|
107
|
+
> InlineResponse2009 getBatchesList(opts)
|
|
108
108
|
|
|
109
109
|
List Batches
|
|
110
110
|
|
|
@@ -144,7 +144,7 @@ Name | Type | Description | Notes
|
|
|
144
144
|
|
|
145
145
|
### Return type
|
|
146
146
|
|
|
147
|
-
[**
|
|
147
|
+
[**InlineResponse2009**](InlineResponse2009.md)
|
|
148
148
|
|
|
149
149
|
### Authorization
|
|
150
150
|
|
package/docs/CreateWebhook.md
CHANGED
|
@@ -8,8 +8,9 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**organizationId** | **String** | Organization Identifier (OrgId) or Merchant Identifier (MID). | [optional]
|
|
9
9
|
**products** | [**[Notificationsubscriptionsv2webhooksProducts1]**](Notificationsubscriptionsv2webhooksProducts1.md) | To see the valid productId and eventTypes, call the \"Create and Manage Webhooks - Retrieve a list of event types\" endpoint. | [optional]
|
|
10
10
|
**webhookUrl** | **String** | The client's endpoint (URL) to receive webhooks. | [optional]
|
|
11
|
-
**healthCheckUrl** | **String** | The client's health check endpoint (URL).
|
|
11
|
+
**healthCheckUrl** | **String** | The client's health check endpoint (URL). If the user does not provide the health check URL, it is the user's responsibility to re-activate the webhook if it is deactivated by calling the test endpoint. | [optional]
|
|
12
12
|
**retryPolicy** | [**Notificationsubscriptionsv2webhooksRetryPolicy**](Notificationsubscriptionsv2webhooksRetryPolicy.md) | | [optional]
|
|
13
|
-
**
|
|
13
|
+
**notificationScope** | **String** | The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. This field is optional. Possible values: - SELF - DESCENDANTS | [optional] [default to 'DESCENDANTS']
|
|
14
|
+
**securityPolicy** | [**Notificationsubscriptionsv2webhooksSecurityPolicy**](Notificationsubscriptionsv2webhooksSecurityPolicy.md) | | [optional]
|
|
14
15
|
|
|
15
16
|
|
|
@@ -56,7 +56,7 @@ No authorization required
|
|
|
56
56
|
|
|
57
57
|
<a name="postDeAssociateV3Terminal"></a>
|
|
58
58
|
# **postDeAssociateV3Terminal**
|
|
59
|
-
> [
|
|
59
|
+
> [InlineResponse2007] postDeAssociateV3Terminal(deviceDeAssociateV3Request)
|
|
60
60
|
|
|
61
61
|
De-associate a device from merchant to account or reseller and from account to reseller
|
|
62
62
|
|
|
@@ -89,7 +89,7 @@ Name | Type | Description | Notes
|
|
|
89
89
|
|
|
90
90
|
### Return type
|
|
91
91
|
|
|
92
|
-
[**[
|
|
92
|
+
[**[InlineResponse2007]**](InlineResponse2007.md)
|
|
93
93
|
|
|
94
94
|
### Authorization
|
|
95
95
|
|
package/docs/DeviceSearchApi.md
CHANGED
|
@@ -10,7 +10,7 @@ Method | HTTP request | Description
|
|
|
10
10
|
|
|
11
11
|
<a name="postSearchQuery"></a>
|
|
12
12
|
# **postSearchQuery**
|
|
13
|
-
>
|
|
13
|
+
> InlineResponse2006 postSearchQuery(postDeviceSearchRequest)
|
|
14
14
|
|
|
15
15
|
Retrieve List of Devices for a given search query V2
|
|
16
16
|
|
|
@@ -43,7 +43,7 @@ Name | Type | Description | Notes
|
|
|
43
43
|
|
|
44
44
|
### Return type
|
|
45
45
|
|
|
46
|
-
[**
|
|
46
|
+
[**InlineResponse2006**](InlineResponse2006.md)
|
|
47
47
|
|
|
48
48
|
### Authorization
|
|
49
49
|
|
|
@@ -56,7 +56,7 @@ No authorization required
|
|
|
56
56
|
|
|
57
57
|
<a name="postSearchQueryV3"></a>
|
|
58
58
|
# **postSearchQueryV3**
|
|
59
|
-
>
|
|
59
|
+
> InlineResponse2008 postSearchQueryV3(postDeviceSearchRequestV3)
|
|
60
60
|
|
|
61
61
|
Retrieve List of Devices for a given search query
|
|
62
62
|
|
|
@@ -89,7 +89,7 @@ Name | Type | Description | Notes
|
|
|
89
89
|
|
|
90
90
|
### Return type
|
|
91
91
|
|
|
92
|
-
[**
|
|
92
|
+
[**InlineResponse2008**](InlineResponse2008.md)
|
|
93
93
|
|
|
94
94
|
### Authorization
|
|
95
95
|
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
## Properties
|
|
4
4
|
Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
|
-
**
|
|
7
|
-
**reportCreatedDate** | **String** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional]
|
|
6
|
+
**links** | [**InlineResponse20010Links**](InlineResponse20010Links.md) | | [optional]
|
|
8
7
|
**batchId** | **String** | Unique identification number assigned to the submitted request. | [optional]
|
|
9
|
-
**batchSource** | **String** | Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE | [optional]
|
|
10
|
-
**batchCaEndpoints** | **String** | | [optional]
|
|
11
8
|
**batchCreatedDate** | **String** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional]
|
|
9
|
+
**batchSource** | **String** | Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE | [optional]
|
|
12
10
|
**merchantReference** | **String** | Reference used by merchant to identify batch. | [optional]
|
|
13
|
-
**
|
|
14
|
-
**
|
|
15
|
-
**
|
|
11
|
+
**batchCaEndpoints** | **String** | | [optional]
|
|
12
|
+
**status** | **String** | Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETED | [optional]
|
|
13
|
+
**totals** | [**InlineResponse2009EmbeddedTotals**](InlineResponse2009EmbeddedTotals.md) | | [optional]
|
|
14
|
+
**billing** | [**InlineResponse20010Billing**](InlineResponse20010Billing.md) | | [optional]
|
|
15
|
+
**description** | **String** | | [optional]
|
|
16
16
|
|
|
17
17
|
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# CyberSource.InlineResponse20010Links
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**self** | [**InlineResponse202LinksStatus**](InlineResponse202LinksStatus.md) | | [optional]
|
|
7
|
+
**report** | [**[InlineResponse20010LinksReport]**](InlineResponse20010LinksReport.md) | | [optional]
|
|
8
|
+
|
|
9
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# CyberSource.InlineResponse20011
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**version** | **String** | | [optional]
|
|
7
|
+
**reportCreatedDate** | **String** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional]
|
|
8
|
+
**batchId** | **String** | Unique identification number assigned to the submitted request. | [optional]
|
|
9
|
+
**batchSource** | **String** | Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE | [optional]
|
|
10
|
+
**batchCaEndpoints** | **String** | | [optional]
|
|
11
|
+
**batchCreatedDate** | **String** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional]
|
|
12
|
+
**merchantReference** | **String** | Reference used by merchant to identify batch. | [optional]
|
|
13
|
+
**totals** | [**InlineResponse2009EmbeddedTotals**](InlineResponse2009EmbeddedTotals.md) | | [optional]
|
|
14
|
+
**billing** | [**InlineResponse20010Billing**](InlineResponse20010Billing.md) | | [optional]
|
|
15
|
+
**records** | [**[InlineResponse20011Records]**](InlineResponse20011Records.md) | | [optional]
|
|
16
|
+
|
|
17
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# CyberSource.InlineResponse20011Records
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**id** | **String** | | [optional]
|
|
7
|
+
**sourceRecord** | [**InlineResponse20011SourceRecord**](InlineResponse20011SourceRecord.md) | | [optional]
|
|
8
|
+
**responseRecord** | [**InlineResponse20011ResponseRecord**](InlineResponse20011ResponseRecord.md) | | [optional]
|
|
9
|
+
|
|
10
|
+
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# CyberSource.
|
|
1
|
+
# CyberSource.InlineResponse20011ResponseRecord
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
4
|
Name | Type | Description | Notes
|
|
@@ -12,6 +12,6 @@ Name | Type | Description | Notes
|
|
|
12
12
|
**cardExpiryMonth** | **String** | | [optional]
|
|
13
13
|
**cardExpiryYear** | **String** | | [optional]
|
|
14
14
|
**cardType** | **String** | | [optional]
|
|
15
|
-
**additionalUpdates** | [**[
|
|
15
|
+
**additionalUpdates** | [**[InlineResponse20011ResponseRecordAdditionalUpdates]**](InlineResponse20011ResponseRecordAdditionalUpdates.md) | | [optional]
|
|
16
16
|
|
|
17
17
|
|
|
@@ -7,13 +7,13 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**organizationId** | **String** | Organization ID. | [optional]
|
|
8
8
|
**products** | [**[Notificationsubscriptionsv2webhooksProducts]**](Notificationsubscriptionsv2webhooksProducts.md) | | [optional]
|
|
9
9
|
**webhookUrl** | **String** | The client's endpoint (URL) to receive webhooks. | [optional]
|
|
10
|
-
**healthCheckUrl** | **String** | The client's health check endpoint (URL).
|
|
10
|
+
**healthCheckUrl** | **String** | The client's health check endpoint (URL). | [optional]
|
|
11
11
|
**status** | **String** | Webhook status. | [optional] [default to 'INACTIVE']
|
|
12
12
|
**name** | **String** | Client friendly webhook name. | [optional]
|
|
13
13
|
**description** | **String** | Client friendly webhook description. | [optional]
|
|
14
14
|
**retryPolicy** | [**Notificationsubscriptionsv2webhooksRetryPolicy**](Notificationsubscriptionsv2webhooksRetryPolicy.md) | | [optional]
|
|
15
15
|
**securityPolicy** | [**Notificationsubscriptionsv2webhooksSecurityPolicy**](Notificationsubscriptionsv2webhooksSecurityPolicy.md) | | [optional]
|
|
16
16
|
**createdOn** | **String** | Date on which webhook was created/registered. | [optional]
|
|
17
|
-
**
|
|
17
|
+
**notificationScope** | **String** | The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. This field is optional. Possible values: - SELF - DESCENDANTS | [optional] [default to 'DESCENDANTS']
|
|
18
18
|
|
|
19
19
|
|
|
@@ -3,11 +3,18 @@
|
|
|
3
3
|
## Properties
|
|
4
4
|
Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
|
-
**
|
|
7
|
-
**
|
|
8
|
-
**
|
|
9
|
-
**
|
|
10
|
-
**
|
|
11
|
-
**
|
|
6
|
+
**webhookId** | **String** | Webhook Id. This is generated by the server. | [optional]
|
|
7
|
+
**organizationId** | **String** | Organization ID. | [optional]
|
|
8
|
+
**products** | [**[Notificationsubscriptionsv2webhooksProducts]**](Notificationsubscriptionsv2webhooksProducts.md) | | [optional]
|
|
9
|
+
**webhookUrl** | **String** | The client's endpoint (URL) to receive webhooks. | [optional]
|
|
10
|
+
**healthCheckUrl** | **String** | The client's health check endpoint (URL). | [optional]
|
|
11
|
+
**status** | **String** | Webhook status. | [optional] [default to 'INACTIVE']
|
|
12
|
+
**name** | **String** | Client friendly webhook name. | [optional]
|
|
13
|
+
**description** | **String** | Client friendly webhook description. | [optional]
|
|
14
|
+
**retryPolicy** | [**Notificationsubscriptionsv2webhooksRetryPolicy**](Notificationsubscriptionsv2webhooksRetryPolicy.md) | | [optional]
|
|
15
|
+
**securityPolicy** | [**Notificationsubscriptionsv2webhooksSecurityPolicy**](Notificationsubscriptionsv2webhooksSecurityPolicy.md) | | [optional]
|
|
16
|
+
**createdOn** | **String** | Date on which webhook was created/registered. | [optional]
|
|
17
|
+
**updatedOn** | **String** | Date on which webhook was most recently updated. | [optional]
|
|
18
|
+
**notificationScope** | **String** | The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. This field is optional. Possible values: - SELF - DESCENDANTS | [optional] [default to 'DESCENDANTS']
|
|
12
19
|
|
|
13
20
|
|
|
@@ -3,7 +3,11 @@
|
|
|
3
3
|
## Properties
|
|
4
4
|
Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
|
-
**
|
|
7
|
-
**
|
|
6
|
+
**totalCount** | **Number** | Total number of results. | [optional]
|
|
7
|
+
**offset** | **Number** | Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. | [optional]
|
|
8
|
+
**limit** | **Number** | Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. | [optional]
|
|
9
|
+
**sort** | **String** | A comma separated list of the following form: `submitTimeUtc:desc` | [optional]
|
|
10
|
+
**count** | **Number** | Results for this page, this could be below the limit. | [optional]
|
|
11
|
+
**devices** | [**[InlineResponse2006Devices]**](InlineResponse2006Devices.md) | A collection of devices | [optional]
|
|
8
12
|
|
|
9
13
|
|
|
@@ -3,11 +3,7 @@
|
|
|
3
3
|
## Properties
|
|
4
4
|
Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
|
-
**
|
|
7
|
-
**
|
|
8
|
-
**limit** | **Number** | Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. | [optional]
|
|
9
|
-
**sort** | **String** | A comma separated list of the following form: `terminalCreationDate:desc or serialNumber or terminalUpdationDate` | [optional]
|
|
10
|
-
**count** | **Number** | Results for this page, this could be below the limit. | [optional]
|
|
11
|
-
**devices** | [**[InlineResponse2007Devices]**](InlineResponse2007Devices.md) | A collection of devices | [optional]
|
|
6
|
+
**status** | **String** | Possible values: - OK | [optional]
|
|
7
|
+
**devices** | [**[Dmsv3devicesdeassociateDevices]**](Dmsv3devicesdeassociateDevices.md) | | [optional]
|
|
12
8
|
|
|
13
9
|
|
|
@@ -3,12 +3,11 @@
|
|
|
3
3
|
## Properties
|
|
4
4
|
Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
|
-
**
|
|
7
|
-
**
|
|
8
|
-
**
|
|
9
|
-
**
|
|
10
|
-
**count** | **Number** |
|
|
11
|
-
**
|
|
12
|
-
**embedded** | [**InlineResponse2008Embedded**](InlineResponse2008Embedded.md) | | [optional]
|
|
6
|
+
**totalCount** | **Number** | Total number of results. | [optional]
|
|
7
|
+
**offset** | **Number** | Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. | [optional]
|
|
8
|
+
**limit** | **Number** | Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. | [optional]
|
|
9
|
+
**sort** | **String** | A comma separated list of the following form: `terminalCreationDate:desc or serialNumber or terminalUpdationDate` | [optional]
|
|
10
|
+
**count** | **Number** | Results for this page, this could be below the limit. | [optional]
|
|
11
|
+
**devices** | [**[InlineResponse2008Devices]**](InlineResponse2008Devices.md) | A collection of devices | [optional]
|
|
13
12
|
|
|
14
13
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# CyberSource.
|
|
1
|
+
# CyberSource.InlineResponse2008Devices
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
4
|
Name | Type | Description | Notes
|
|
@@ -14,6 +14,6 @@ Name | Type | Description | Notes
|
|
|
14
14
|
**accountId** | **String** | ID of the account to whom the device assigned. | [optional]
|
|
15
15
|
**terminalCreationDate** | **Date** | Timestamp in which the device was created. | [optional]
|
|
16
16
|
**terminalUpdationDate** | **Date** | Timestamp in which the device was updated/modified. | [optional]
|
|
17
|
-
**paymentProcessorToTerminalMap** | [**
|
|
17
|
+
**paymentProcessorToTerminalMap** | [**InlineResponse2008PaymentProcessorToTerminalMap**](InlineResponse2008PaymentProcessorToTerminalMap.md) | | [optional]
|
|
18
18
|
|
|
19
19
|
|
|
@@ -3,15 +3,12 @@
|
|
|
3
3
|
## Properties
|
|
4
4
|
Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
|
-
**links** | [**InlineResponse2009Links**](InlineResponse2009Links.md) | | [optional]
|
|
7
|
-
**
|
|
8
|
-
**
|
|
9
|
-
**
|
|
10
|
-
**
|
|
11
|
-
**
|
|
12
|
-
**
|
|
13
|
-
**totals** | [**InlineResponse2008EmbeddedTotals**](InlineResponse2008EmbeddedTotals.md) | | [optional]
|
|
14
|
-
**billing** | [**InlineResponse2009Billing**](InlineResponse2009Billing.md) | | [optional]
|
|
15
|
-
**description** | **String** | | [optional]
|
|
6
|
+
**links** | [**[InlineResponse2009Links]**](InlineResponse2009Links.md) | | [optional]
|
|
7
|
+
**_object** | **String** | | [optional]
|
|
8
|
+
**offset** | **Number** | | [optional]
|
|
9
|
+
**limit** | **Number** | | [optional]
|
|
10
|
+
**count** | **Number** | | [optional]
|
|
11
|
+
**total** | **Number** | | [optional]
|
|
12
|
+
**embedded** | [**InlineResponse2009Embedded**](InlineResponse2009Embedded.md) | | [optional]
|
|
16
13
|
|
|
17
14
|
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# CyberSource.InlineResponse2009Embedded
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**batches** | [**[InlineResponse2009EmbeddedBatches]**](InlineResponse2009EmbeddedBatches.md) | | [optional]
|
|
7
|
+
|
|
8
|
+
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
# CyberSource.
|
|
1
|
+
# CyberSource.InlineResponse2009EmbeddedBatches
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
4
|
Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
|
-
**links** | [**
|
|
6
|
+
**links** | [**InlineResponse2009EmbeddedLinks**](InlineResponse2009EmbeddedLinks.md) | | [optional]
|
|
7
7
|
**batchId** | **String** | Unique identification number assigned to the submitted request. | [optional]
|
|
8
8
|
**batchCreatedDate** | **String** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional]
|
|
9
9
|
**batchModifiedDate** | **String** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional]
|
|
@@ -12,6 +12,6 @@ Name | Type | Description | Notes
|
|
|
12
12
|
**merchantReference** | **String** | Reference used by merchant to identify batch. | [optional]
|
|
13
13
|
**batchCaEndpoints** | **[String]** | Valid Values: * VISA * MASTERCARD * AMEX | [optional]
|
|
14
14
|
**status** | **String** | Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETE | [optional]
|
|
15
|
-
**totals** | [**
|
|
15
|
+
**totals** | [**InlineResponse2009EmbeddedTotals**](InlineResponse2009EmbeddedTotals.md) | | [optional]
|
|
16
16
|
|
|
17
17
|
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# CyberSource.InlineResponse2009EmbeddedLinks
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**reports** | [**[InlineResponse2009EmbeddedLinksReports]**](InlineResponse2009EmbeddedLinksReports.md) | | [optional]
|
|
7
|
+
|
|
8
|
+
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
## Properties
|
|
4
4
|
Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
|
-
**
|
|
7
|
-
**
|
|
6
|
+
**rel** | **String** | Valid Values: * self * first * last * prev * next | [optional]
|
|
7
|
+
**href** | **String** | | [optional]
|
|
8
8
|
|
|
9
9
|
|
|
@@ -7,13 +7,13 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**organizationId** | **String** | Organization ID. | [optional]
|
|
8
8
|
**products** | [**[Notificationsubscriptionsv2webhooksProducts]**](Notificationsubscriptionsv2webhooksProducts.md) | | [optional]
|
|
9
9
|
**webhookUrl** | **String** | The client's endpoint (URL) to receive webhooks. | [optional]
|
|
10
|
-
**healthCheckUrl** | **String** | The client's health check endpoint (URL).
|
|
10
|
+
**healthCheckUrl** | **String** | The client's health check endpoint (URL). | [optional]
|
|
11
11
|
**status** | **String** | Webhook status. | [optional] [default to 'INACTIVE']
|
|
12
12
|
**name** | **String** | Client friendly webhook name. | [optional]
|
|
13
13
|
**description** | **String** | Client friendly webhook description. | [optional]
|
|
14
14
|
**retryPolicy** | [**Notificationsubscriptionsv2webhooksRetryPolicy**](Notificationsubscriptionsv2webhooksRetryPolicy.md) | | [optional]
|
|
15
15
|
**securityPolicy** | [**Notificationsubscriptionsv2webhooksSecurityPolicy**](Notificationsubscriptionsv2webhooksSecurityPolicy.md) | | [optional]
|
|
16
16
|
**createdOn** | **String** | Date on which webhook was created/registered. | [optional]
|
|
17
|
-
**
|
|
17
|
+
**notificationScope** | **String** | The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. This field is optional. Possible values: - SELF - DESCENDANTS | [optional] [default to 'DESCENDANTS']
|
|
18
18
|
|
|
19
19
|
|
package/docs/InvoicesApi.md
CHANGED
|
@@ -8,6 +8,7 @@ Method | HTTP request | Description
|
|
|
8
8
|
[**getAllInvoices**](InvoicesApi.md#getAllInvoices) | **GET** /invoicing/v2/invoices | Get a List of Invoices
|
|
9
9
|
[**getInvoice**](InvoicesApi.md#getInvoice) | **GET** /invoicing/v2/invoices/{id} | Get Invoice Details
|
|
10
10
|
[**performCancelAction**](InvoicesApi.md#performCancelAction) | **POST** /invoicing/v2/invoices/{id}/cancelation | Cancel an Invoice
|
|
11
|
+
[**performPublishAction**](InvoicesApi.md#performPublishAction) | **POST** /invoicing/v2/invoices/{id}/publication | Publish an Invoice
|
|
11
12
|
[**performSendAction**](InvoicesApi.md#performSendAction) | **POST** /invoicing/v2/invoices/{id}/delivery | Send an Invoice
|
|
12
13
|
[**updateInvoice**](InvoicesApi.md#updateInvoice) | **PUT** /invoicing/v2/invoices/{id} | Update an Invoice
|
|
13
14
|
|
|
@@ -198,6 +199,52 @@ Name | Type | Description | Notes
|
|
|
198
199
|
|
|
199
200
|
No authorization required
|
|
200
201
|
|
|
202
|
+
### HTTP request headers
|
|
203
|
+
|
|
204
|
+
- **Content-Type**: application/json;charset=utf-8
|
|
205
|
+
- **Accept**: application/json, application/hal+json, application/json;charset=utf-8, application/hal+json;charset=utf-8
|
|
206
|
+
|
|
207
|
+
<a name="performPublishAction"></a>
|
|
208
|
+
# **performPublishAction**
|
|
209
|
+
> InvoicingV2InvoicesPublish200Response performPublishAction(id)
|
|
210
|
+
|
|
211
|
+
Publish an Invoice
|
|
212
|
+
|
|
213
|
+
You can publish an invoice in DRAFT status. After invoking this method, the invoice status is changed to CREATED.
|
|
214
|
+
|
|
215
|
+
### Example
|
|
216
|
+
```javascript
|
|
217
|
+
var CyberSource = require('CyberSource');
|
|
218
|
+
|
|
219
|
+
var apiInstance = new CyberSource.InvoicesApi();
|
|
220
|
+
|
|
221
|
+
var id = "id_example"; // String | The invoice number.
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
var callback = function(error, data, response) {
|
|
225
|
+
if (error) {
|
|
226
|
+
console.error(error);
|
|
227
|
+
} else {
|
|
228
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
229
|
+
}
|
|
230
|
+
};
|
|
231
|
+
apiInstance.performPublishAction(id, callback);
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
### Parameters
|
|
235
|
+
|
|
236
|
+
Name | Type | Description | Notes
|
|
237
|
+
------------- | ------------- | ------------- | -------------
|
|
238
|
+
**id** | **String**| The invoice number. |
|
|
239
|
+
|
|
240
|
+
### Return type
|
|
241
|
+
|
|
242
|
+
[**InvoicingV2InvoicesPublish200Response**](InvoicingV2InvoicesPublish200Response.md)
|
|
243
|
+
|
|
244
|
+
### Authorization
|
|
245
|
+
|
|
246
|
+
No authorization required
|
|
247
|
+
|
|
201
248
|
### HTTP request headers
|
|
202
249
|
|
|
203
250
|
- **Content-Type**: application/json;charset=utf-8
|
|
@@ -17,5 +17,6 @@ Name | Type | Description | Notes
|
|
|
17
17
|
**phoneNumber** | **Boolean** | Collect the payers phone number. | [optional] [default to false]
|
|
18
18
|
**email** | **Boolean** | Collect the payers email address when the email address is not known or confirm it if it is known at the time of invoice creation. | [optional] [default to false]
|
|
19
19
|
**enableMerchantEmailNotifications** | **Boolean** | Whether you would like to receive payment notification for successful transaction | [optional] [default to false]
|
|
20
|
+
**customLabels** | [**[InvoicingV2InvoicesPost201ResponseInvoiceInformationCustomLabels]**](InvoicingV2InvoicesPost201ResponseInvoiceInformationCustomLabels.md) | A list of custom labels that allows you to override (rename) default field names and control the visibility of specific fields on invoices and items. If the list is empty, the labels will not be overwritten. | [optional]
|
|
20
21
|
|
|
21
22
|
|
|
@@ -10,5 +10,6 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**allowPartialPayments** | **Boolean** | If set to `true`, the payer can make a partial invoice payment. | [optional] [default to false]
|
|
11
11
|
**paymentLink** | **String** | Returns the payment link to an invoice when the invoice status is `SENT`, `CREATED`, `PARTIAL`, or `PAID`. | [optional]
|
|
12
12
|
**deliveryMode** | **String** | If this field is set to 'None', an invoice will be generated with the status 'CREATED', but no email will be dispatched. Possible values: - `None` - `Email` | [optional]
|
|
13
|
+
**customLabels** | [**[InvoicingV2InvoicesPost201ResponseInvoiceInformationCustomLabels]**](InvoicingV2InvoicesPost201ResponseInvoiceInformationCustomLabels.md) | A list of custom labels that allows you to override (rename) default field names and control the visibility of specific fields on invoices and items. If the list is empty, the labels will not be overwritten. | [optional]
|
|
13
14
|
|
|
14
15
|
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# CyberSource.InvoicingV2InvoicesPost201ResponseInvoiceInformationCustomLabels
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**key** | **String** | The invoice field key. Possible values: - billTo - invoiceNumber - customerId - companyName - description - shipping - partialPayment - discount - tax | [optional]
|
|
7
|
+
**value** | **String** | The new (overridden) field name | [optional]
|
|
8
|
+
**hidden** | **Boolean** | Hides the specified field. This field is applicable for keys: - customerId - companyName - description - shipping - partialPayment | [optional] [default to false]
|
|
9
|
+
**hiddenForInvoice** | **Boolean** | Hides the field at invoice level. This field is applicable for keys: - discount - tax | [optional] [default to false]
|
|
10
|
+
**hiddenForItem** | **Boolean** | Hides the field at invoice item level. This field is applicable for keys: - discount - tax | [optional] [default to false]
|
|
11
|
+
|
|
12
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# CyberSource.InvoicingV2InvoicesPublish200Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**links** | [**InvoicingV2InvoicesAllGet200ResponseLinks**](InvoicingV2InvoicesAllGet200ResponseLinks.md) | | [optional]
|
|
7
|
+
**id** | **String** | An unique identification number generated by Cybersource to identify the submitted request. Returned by all services. It is also appended to the endpoint of the resource. On incremental authorizations, this value with be the same as the identification number returned in the original authorization response. | [optional]
|
|
8
|
+
**submitTimeUtc** | **String** | Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services. | [optional]
|
|
9
|
+
**status** | **String** | The status of the invoice. Possible values: - DRAFT - CREATED - SENT - PARTIAL - PAID - CANCELED - PENDING | [optional]
|
|
10
|
+
**customerInformation** | [**Invoicingv2invoicesCustomerInformation**](Invoicingv2invoicesCustomerInformation.md) | | [optional]
|
|
11
|
+
**processingInformation** | [**Invoicingv2invoicesProcessingInformation**](Invoicingv2invoicesProcessingInformation.md) | | [optional]
|
|
12
|
+
**invoiceInformation** | [**InvoicingV2InvoicesPost201ResponseInvoiceInformation**](InvoicingV2InvoicesPost201ResponseInvoiceInformation.md) | | [optional]
|
|
13
|
+
**orderInformation** | [**InvoicingV2InvoicesPost201ResponseOrderInformation**](InvoicingV2InvoicesPost201ResponseOrderInformation.md) | | [optional]
|
|
14
|
+
|
|
15
|
+
|
|
@@ -17,5 +17,6 @@ Name | Type | Description | Notes
|
|
|
17
17
|
**phoneNumber** | **Boolean** | Collect the payers phone number. | [optional] [default to false]
|
|
18
18
|
**email** | **Boolean** | Collect the payers email address when the email address is not known or confirm it if it is known at the time of invoice creation. | [optional] [default to false]
|
|
19
19
|
**enableMerchantEmailNotifications** | **Boolean** | Whether you would like to receive payment notification for successful transaction | [optional] [default to false]
|
|
20
|
+
**customLabels** | [**[InvoicingV2InvoicesPost201ResponseInvoiceInformationCustomLabels]**](InvoicingV2InvoicesPost201ResponseInvoiceInformationCustomLabels.md) | A list of custom labels that allows you to override (rename) default field names and control the visibility of specific fields on invoices and items. If the list is empty, the labels will not be overwritten. | [optional]
|
|
20
21
|
|
|
21
22
|
|
|
@@ -205,7 +205,7 @@ No authorization required
|
|
|
205
205
|
|
|
206
206
|
<a name="notificationSubscriptionsV2WebhooksWebhookIdPatch"></a>
|
|
207
207
|
# **notificationSubscriptionsV2WebhooksWebhookIdPatch**
|
|
208
|
-
> notificationSubscriptionsV2WebhooksWebhookIdPatch(webhookId, opts)
|
|
208
|
+
> InlineResponse2005 notificationSubscriptionsV2WebhooksWebhookIdPatch(webhookId, opts)
|
|
209
209
|
|
|
210
210
|
Update a Webhook Subscription
|
|
211
211
|
|
|
@@ -227,7 +227,7 @@ var callback = function(error, data, response) {
|
|
|
227
227
|
if (error) {
|
|
228
228
|
console.error(error);
|
|
229
229
|
} else {
|
|
230
|
-
console.log('API called successfully.');
|
|
230
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
231
231
|
}
|
|
232
232
|
};
|
|
233
233
|
apiInstance.notificationSubscriptionsV2WebhooksWebhookIdPatch(webhookId, opts, callback);
|
|
@@ -242,7 +242,7 @@ Name | Type | Description | Notes
|
|
|
242
242
|
|
|
243
243
|
### Return type
|
|
244
244
|
|
|
245
|
-
|
|
245
|
+
[**InlineResponse2005**](InlineResponse2005.md)
|
|
246
246
|
|
|
247
247
|
### Authorization
|
|
248
248
|
|