@blockchyp/blockchyp-ts 2.23.0 → 2.24.1
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/_bundles/blockchyp.js +70 -10
- package/_bundles/blockchyp.js.map +1 -1
- package/_bundles/blockchyp.min.js +1 -1
- package/_bundles/blockchyp.min.js.map +1 -1
- package/lib/src/models.d.ts +84 -10
- package/lib/src/models.js +70 -10
- package/lib/src/models.js.map +1 -1
- package/package.json +1 -1
- package/src/models.ts +128 -0
package/lib/src/models.d.ts
CHANGED
|
@@ -1772,6 +1772,10 @@ export declare class CardMetadataResponse {
|
|
|
1772
1772
|
* Address verification results if address information was submitted.
|
|
1773
1773
|
*/
|
|
1774
1774
|
avsResponse: AVSResponse | null;
|
|
1775
|
+
/**
|
|
1776
|
+
* The CVV verification result if CVV was submitted.
|
|
1777
|
+
*/
|
|
1778
|
+
cvvResponse?: string;
|
|
1775
1779
|
/**
|
|
1776
1780
|
* Suggested receipt fields.
|
|
1777
1781
|
*/
|
|
@@ -1788,7 +1792,7 @@ export declare class CardMetadataResponse {
|
|
|
1788
1792
|
* Details about a payment card derived from its BIN/IIN.
|
|
1789
1793
|
*/
|
|
1790
1794
|
cardMetadata?: CardMetadata;
|
|
1791
|
-
constructor(success?: boolean | null, error?: string | null, responseDescription?: string | null, token?: string | undefined, entryMethod?: string | undefined, paymentType?: string | undefined, network?: string | undefined, logo?: string | undefined, maskedPan?: string | undefined, publicKey?: string | undefined, ScopeAlert?: boolean, cardHolder?: string | undefined, expMonth?: string | undefined, expYear?: string | undefined, avsResponse?: AVSResponse | null, receiptSuggestions?: ReceiptSuggestions | null, customer?: Customer | undefined, customers?: Customer[] | null, cardMetadata?: CardMetadata | undefined);
|
|
1795
|
+
constructor(success?: boolean | null, error?: string | null, responseDescription?: string | null, token?: string | undefined, entryMethod?: string | undefined, paymentType?: string | undefined, network?: string | undefined, logo?: string | undefined, maskedPan?: string | undefined, publicKey?: string | undefined, ScopeAlert?: boolean, cardHolder?: string | undefined, expMonth?: string | undefined, expYear?: string | undefined, avsResponse?: AVSResponse | null, cvvResponse?: string | undefined, receiptSuggestions?: ReceiptSuggestions | null, customer?: Customer | undefined, customers?: Customer[] | null, cardMetadata?: CardMetadata | undefined);
|
|
1792
1796
|
}
|
|
1793
1797
|
/**
|
|
1794
1798
|
* A request for the remaining balance on a payment type.
|
|
@@ -2029,6 +2033,10 @@ export declare class BalanceResponse {
|
|
|
2029
2033
|
* Address verification results if address information was submitted.
|
|
2030
2034
|
*/
|
|
2031
2035
|
avsResponse: AVSResponse | null;
|
|
2036
|
+
/**
|
|
2037
|
+
* The CVV verification result if CVV was submitted.
|
|
2038
|
+
*/
|
|
2039
|
+
cvvResponse?: string;
|
|
2032
2040
|
/**
|
|
2033
2041
|
* Suggested receipt fields.
|
|
2034
2042
|
*/
|
|
@@ -2045,7 +2053,7 @@ export declare class BalanceResponse {
|
|
|
2045
2053
|
* Remaining balance on the payment method.
|
|
2046
2054
|
*/
|
|
2047
2055
|
remainingBalance?: string;
|
|
2048
|
-
constructor(success?: boolean | null, error?: string | null, responseDescription?: string | null, transactionId?: string | null, batchId?: string | undefined, transactionRef?: string | undefined, transactionType?: string | null, timestamp?: string | null, tickBlock?: string | null, test?: boolean | null, destinationAccount?: string | undefined, sig?: string | undefined, token?: string | undefined, entryMethod?: string | undefined, paymentType?: string | undefined, network?: string | undefined, logo?: string | undefined, maskedPan?: string | undefined, publicKey?: string | undefined, ScopeAlert?: boolean, cardHolder?: string | undefined, expMonth?: string | undefined, expYear?: string | undefined, avsResponse?: AVSResponse | null, receiptSuggestions?: ReceiptSuggestions | null, customer?: Customer | undefined, customers?: Customer[] | null, remainingBalance?: string | undefined);
|
|
2056
|
+
constructor(success?: boolean | null, error?: string | null, responseDescription?: string | null, transactionId?: string | null, batchId?: string | undefined, transactionRef?: string | undefined, transactionType?: string | null, timestamp?: string | null, tickBlock?: string | null, test?: boolean | null, destinationAccount?: string | undefined, sig?: string | undefined, token?: string | undefined, entryMethod?: string | undefined, paymentType?: string | undefined, network?: string | undefined, logo?: string | undefined, maskedPan?: string | undefined, publicKey?: string | undefined, ScopeAlert?: boolean, cardHolder?: string | undefined, expMonth?: string | undefined, expYear?: string | undefined, avsResponse?: AVSResponse | null, cvvResponse?: string | undefined, receiptSuggestions?: ReceiptSuggestions | null, customer?: Customer | undefined, customers?: Customer[] | null, remainingBalance?: string | undefined);
|
|
2049
2057
|
}
|
|
2050
2058
|
/**
|
|
2051
2059
|
* A refund request.
|
|
@@ -2523,6 +2531,10 @@ export declare class CaptureResponse {
|
|
|
2523
2531
|
* Address verification results if address information was submitted.
|
|
2524
2532
|
*/
|
|
2525
2533
|
avsResponse: AVSResponse | null;
|
|
2534
|
+
/**
|
|
2535
|
+
* The CVV verification result if CVV was submitted.
|
|
2536
|
+
*/
|
|
2537
|
+
cvvResponse?: string;
|
|
2526
2538
|
/**
|
|
2527
2539
|
* Suggested receipt fields.
|
|
2528
2540
|
*/
|
|
@@ -2535,7 +2547,7 @@ export declare class CaptureResponse {
|
|
|
2535
2547
|
* Customer data, if any.
|
|
2536
2548
|
*/
|
|
2537
2549
|
customers: Customer[] | null;
|
|
2538
|
-
constructor(success?: boolean | null, error?: string | null, responseDescription?: string | null, approved?: boolean | null, authCode?: string | undefined, authResponseCode?: string | undefined, transactionId?: string | null, batchId?: string | undefined, transactionRef?: string | undefined, transactionType?: string | null, timestamp?: string | null, tickBlock?: string | null, test?: boolean | null, destinationAccount?: string | undefined, sig?: string | undefined, partialAuth?: boolean | null, altCurrency?: boolean | null, fsaAuth?: boolean | null, currencyCode?: string | null, requestedAmount?: string | null, authorizedAmount?: string | null, remainingBalance?: string | null, tipAmount?: string | null, taxAmount?: string | null, requestedCashBackAmount?: string | null, authorizedCashBackAmount?: string | null, token?: string | undefined, entryMethod?: string | undefined, paymentType?: string | undefined, network?: string | undefined, logo?: string | undefined, maskedPan?: string | undefined, publicKey?: string | undefined, ScopeAlert?: boolean, cardHolder?: string | undefined, expMonth?: string | undefined, expYear?: string | undefined, avsResponse?: AVSResponse | null, receiptSuggestions?: ReceiptSuggestions | null, customer?: Customer | undefined, customers?: Customer[] | null);
|
|
2550
|
+
constructor(success?: boolean | null, error?: string | null, responseDescription?: string | null, approved?: boolean | null, authCode?: string | undefined, authResponseCode?: string | undefined, transactionId?: string | null, batchId?: string | undefined, transactionRef?: string | undefined, transactionType?: string | null, timestamp?: string | null, tickBlock?: string | null, test?: boolean | null, destinationAccount?: string | undefined, sig?: string | undefined, partialAuth?: boolean | null, altCurrency?: boolean | null, fsaAuth?: boolean | null, currencyCode?: string | null, requestedAmount?: string | null, authorizedAmount?: string | null, remainingBalance?: string | null, tipAmount?: string | null, taxAmount?: string | null, requestedCashBackAmount?: string | null, authorizedCashBackAmount?: string | null, token?: string | undefined, entryMethod?: string | undefined, paymentType?: string | undefined, network?: string | undefined, logo?: string | undefined, maskedPan?: string | undefined, publicKey?: string | undefined, ScopeAlert?: boolean, cardHolder?: string | undefined, expMonth?: string | undefined, expYear?: string | undefined, avsResponse?: AVSResponse | null, cvvResponse?: string | undefined, receiptSuggestions?: ReceiptSuggestions | null, customer?: Customer | undefined, customers?: Customer[] | null);
|
|
2539
2551
|
}
|
|
2540
2552
|
/**
|
|
2541
2553
|
* A void request.
|
|
@@ -2715,6 +2727,10 @@ export declare class VoidResponse {
|
|
|
2715
2727
|
* Address verification results if address information was submitted.
|
|
2716
2728
|
*/
|
|
2717
2729
|
avsResponse: AVSResponse | null;
|
|
2730
|
+
/**
|
|
2731
|
+
* The CVV verification result if CVV was submitted.
|
|
2732
|
+
*/
|
|
2733
|
+
cvvResponse?: string;
|
|
2718
2734
|
/**
|
|
2719
2735
|
* Suggested receipt fields.
|
|
2720
2736
|
*/
|
|
@@ -2731,7 +2747,7 @@ export declare class VoidResponse {
|
|
|
2731
2747
|
* The hex encoded signature data.
|
|
2732
2748
|
*/
|
|
2733
2749
|
sigFile?: string;
|
|
2734
|
-
constructor(success?: boolean | null, error?: string | null, responseDescription?: string | null, approved?: boolean | null, authCode?: string | undefined, authResponseCode?: string | undefined, transactionId?: string | null, batchId?: string | undefined, transactionRef?: string | undefined, transactionType?: string | null, timestamp?: string | null, tickBlock?: string | null, test?: boolean | null, destinationAccount?: string | undefined, sig?: string | undefined, token?: string | undefined, entryMethod?: string | undefined, paymentType?: string | undefined, network?: string | undefined, logo?: string | undefined, maskedPan?: string | undefined, publicKey?: string | undefined, ScopeAlert?: boolean, cardHolder?: string | undefined, expMonth?: string | undefined, expYear?: string | undefined, avsResponse?: AVSResponse | null, receiptSuggestions?: ReceiptSuggestions | null, customer?: Customer | undefined, customers?: Customer[] | null, sigFile?: string | undefined);
|
|
2750
|
+
constructor(success?: boolean | null, error?: string | null, responseDescription?: string | null, approved?: boolean | null, authCode?: string | undefined, authResponseCode?: string | undefined, transactionId?: string | null, batchId?: string | undefined, transactionRef?: string | undefined, transactionType?: string | null, timestamp?: string | null, tickBlock?: string | null, test?: boolean | null, destinationAccount?: string | undefined, sig?: string | undefined, token?: string | undefined, entryMethod?: string | undefined, paymentType?: string | undefined, network?: string | undefined, logo?: string | undefined, maskedPan?: string | undefined, publicKey?: string | undefined, ScopeAlert?: boolean, cardHolder?: string | undefined, expMonth?: string | undefined, expYear?: string | undefined, avsResponse?: AVSResponse | null, cvvResponse?: string | undefined, receiptSuggestions?: ReceiptSuggestions | null, customer?: Customer | undefined, customers?: Customer[] | null, sigFile?: string | undefined);
|
|
2735
2751
|
}
|
|
2736
2752
|
/**
|
|
2737
2753
|
* The information needed to enroll a new payment method in the token vault.
|
|
@@ -3018,6 +3034,10 @@ export declare class EnrollResponse {
|
|
|
3018
3034
|
* Address verification results if address information was submitted.
|
|
3019
3035
|
*/
|
|
3020
3036
|
avsResponse: AVSResponse | null;
|
|
3037
|
+
/**
|
|
3038
|
+
* The CVV verification result if CVV was submitted.
|
|
3039
|
+
*/
|
|
3040
|
+
cvvResponse?: string;
|
|
3021
3041
|
/**
|
|
3022
3042
|
* Suggested receipt fields.
|
|
3023
3043
|
*/
|
|
@@ -3059,7 +3079,7 @@ export declare class EnrollResponse {
|
|
|
3059
3079
|
* The first 8 digits of the card aka the BIN.
|
|
3060
3080
|
*/
|
|
3061
3081
|
bin?: string;
|
|
3062
|
-
constructor(success?: boolean | null, error?: string | null, responseDescription?: string | null, approved?: boolean | null, authCode?: string | undefined, authResponseCode?: string | undefined, transactionId?: string | null, batchId?: string | undefined, transactionRef?: string | undefined, transactionType?: string | null, timestamp?: string | null, tickBlock?: string | null, test?: boolean | null, destinationAccount?: string | undefined, sig?: string | undefined, token?: string | undefined, entryMethod?: string | undefined, paymentType?: string | undefined, network?: string | undefined, logo?: string | undefined, maskedPan?: string | undefined, publicKey?: string | undefined, ScopeAlert?: boolean, cardHolder?: string | undefined, expMonth?: string | undefined, expYear?: string | undefined, avsResponse?: AVSResponse | null, receiptSuggestions?: ReceiptSuggestions | null, customer?: Customer | undefined, customers?: Customer[] | null, sigFile?: string | undefined, cardMetadata?: CardMetadata | undefined, accountType?: string | undefined, accountHolderType?: string | undefined, bankName?: string | undefined, tokenHash?: string | undefined, bin?: string | undefined);
|
|
3082
|
+
constructor(success?: boolean | null, error?: string | null, responseDescription?: string | null, approved?: boolean | null, authCode?: string | undefined, authResponseCode?: string | undefined, transactionId?: string | null, batchId?: string | undefined, transactionRef?: string | undefined, transactionType?: string | null, timestamp?: string | null, tickBlock?: string | null, test?: boolean | null, destinationAccount?: string | undefined, sig?: string | undefined, token?: string | undefined, entryMethod?: string | undefined, paymentType?: string | undefined, network?: string | undefined, logo?: string | undefined, maskedPan?: string | undefined, publicKey?: string | undefined, ScopeAlert?: boolean, cardHolder?: string | undefined, expMonth?: string | undefined, expYear?: string | undefined, avsResponse?: AVSResponse | null, cvvResponse?: string | undefined, receiptSuggestions?: ReceiptSuggestions | null, customer?: Customer | undefined, customers?: Customer[] | null, sigFile?: string | undefined, cardMetadata?: CardMetadata | undefined, accountType?: string | undefined, accountHolderType?: string | undefined, bankName?: string | undefined, tokenHash?: string | undefined, bin?: string | undefined);
|
|
3063
3083
|
}
|
|
3064
3084
|
/**
|
|
3065
3085
|
* The information needed to enroll a new payment method in the token vault.
|
|
@@ -3788,6 +3808,10 @@ export declare class AuthorizationResponse {
|
|
|
3788
3808
|
* Address verification results if address information was submitted.
|
|
3789
3809
|
*/
|
|
3790
3810
|
avsResponse: AVSResponse | null;
|
|
3811
|
+
/**
|
|
3812
|
+
* The CVV verification result if CVV was submitted.
|
|
3813
|
+
*/
|
|
3814
|
+
cvvResponse?: string;
|
|
3791
3815
|
/**
|
|
3792
3816
|
* Suggested receipt fields.
|
|
3793
3817
|
*/
|
|
@@ -3821,7 +3845,7 @@ export declare class AuthorizationResponse {
|
|
|
3821
3845
|
* Details about a payment card derived from its BIN/IIN.
|
|
3822
3846
|
*/
|
|
3823
3847
|
cardMetadata?: CardMetadata;
|
|
3824
|
-
constructor(success?: boolean | null, error?: string | null, responseDescription?: string | null, approved?: boolean | null, authCode?: string | undefined, authResponseCode?: string | undefined, transactionId?: string | null, batchId?: string | undefined, transactionRef?: string | undefined, transactionType?: string | null, timestamp?: string | null, tickBlock?: string | null, test?: boolean | null, destinationAccount?: string | undefined, sig?: string | undefined, partialAuth?: boolean | null, altCurrency?: boolean | null, fsaAuth?: boolean | null, currencyCode?: string | null, requestedAmount?: string | null, authorizedAmount?: string | null, remainingBalance?: string | null, tipAmount?: string | null, taxAmount?: string | null, requestedCashBackAmount?: string | null, authorizedCashBackAmount?: string | null, confirmed?: boolean | null, cryptoAuthorizedAmount?: string | null, cryptoNetworkFee?: string | null, cryptocurrency?: string | null, cryptoNetwork?: string | null, cryptoReceiveAddress?: string | null, cryptoBlock?: string | null, cryptoTransactionId?: string | null, cryptoPaymentRequest?: string | null, cryptoStatus?: string | null, token?: string | undefined, entryMethod?: string | undefined, paymentType?: string | undefined, network?: string | undefined, logo?: string | undefined, maskedPan?: string | undefined, publicKey?: string | undefined, ScopeAlert?: boolean, cardHolder?: string | undefined, expMonth?: string | undefined, expYear?: string | undefined, avsResponse?: AVSResponse | null, receiptSuggestions?: ReceiptSuggestions | null, customer?: Customer | undefined, customers?: Customer[] | null, sigFile?: string | undefined, whiteListedCard?: WhiteListedCard | undefined, storeAndForward?: boolean | null, status?: string | null, cardMetadata?: CardMetadata | undefined);
|
|
3848
|
+
constructor(success?: boolean | null, error?: string | null, responseDescription?: string | null, approved?: boolean | null, authCode?: string | undefined, authResponseCode?: string | undefined, transactionId?: string | null, batchId?: string | undefined, transactionRef?: string | undefined, transactionType?: string | null, timestamp?: string | null, tickBlock?: string | null, test?: boolean | null, destinationAccount?: string | undefined, sig?: string | undefined, partialAuth?: boolean | null, altCurrency?: boolean | null, fsaAuth?: boolean | null, currencyCode?: string | null, requestedAmount?: string | null, authorizedAmount?: string | null, remainingBalance?: string | null, tipAmount?: string | null, taxAmount?: string | null, requestedCashBackAmount?: string | null, authorizedCashBackAmount?: string | null, confirmed?: boolean | null, cryptoAuthorizedAmount?: string | null, cryptoNetworkFee?: string | null, cryptocurrency?: string | null, cryptoNetwork?: string | null, cryptoReceiveAddress?: string | null, cryptoBlock?: string | null, cryptoTransactionId?: string | null, cryptoPaymentRequest?: string | null, cryptoStatus?: string | null, token?: string | undefined, entryMethod?: string | undefined, paymentType?: string | undefined, network?: string | undefined, logo?: string | undefined, maskedPan?: string | undefined, publicKey?: string | undefined, ScopeAlert?: boolean, cardHolder?: string | undefined, expMonth?: string | undefined, expYear?: string | undefined, avsResponse?: AVSResponse | null, cvvResponse?: string | undefined, receiptSuggestions?: ReceiptSuggestions | null, customer?: Customer | undefined, customers?: Customer[] | null, sigFile?: string | undefined, whiteListedCard?: WhiteListedCard | undefined, storeAndForward?: boolean | null, status?: string | null, cardMetadata?: CardMetadata | undefined);
|
|
3825
3849
|
}
|
|
3826
3850
|
/**
|
|
3827
3851
|
* Models the request for updated information about a transaction.
|
|
@@ -4176,6 +4200,10 @@ export declare class TransactionStatus {
|
|
|
4176
4200
|
* Address verification results if address information was submitted.
|
|
4177
4201
|
*/
|
|
4178
4202
|
avsResponse: AVSResponse | null;
|
|
4203
|
+
/**
|
|
4204
|
+
* The CVV verification result if CVV was submitted.
|
|
4205
|
+
*/
|
|
4206
|
+
cvvResponse?: string;
|
|
4179
4207
|
/**
|
|
4180
4208
|
* Suggested receipt fields.
|
|
4181
4209
|
*/
|
|
@@ -4196,7 +4224,7 @@ export declare class TransactionStatus {
|
|
|
4196
4224
|
* That the transaction was flagged for store and forward due to network problems.
|
|
4197
4225
|
*/
|
|
4198
4226
|
storeAndForward: boolean | null;
|
|
4199
|
-
constructor(success?: boolean | null, error?: string | null, responseDescription?: string | null, approved?: boolean | null, authCode?: string | undefined, authResponseCode?: string | undefined, transactionId?: string | null, batchId?: string | undefined, transactionRef?: string | undefined, transactionType?: string | null, timestamp?: string | null, tickBlock?: string | null, test?: boolean | null, destinationAccount?: string | undefined, sig?: string | undefined, partialAuth?: boolean | null, altCurrency?: boolean | null, fsaAuth?: boolean | null, currencyCode?: string | null, requestedAmount?: string | null, authorizedAmount?: string | null, remainingBalance?: string | null, tipAmount?: string | null, taxAmount?: string | null, requestedCashBackAmount?: string | null, authorizedCashBackAmount?: string | null, token?: string | undefined, entryMethod?: string | undefined, paymentType?: string | undefined, network?: string | undefined, logo?: string | undefined, maskedPan?: string | undefined, publicKey?: string | undefined, ScopeAlert?: boolean, cardHolder?: string | undefined, expMonth?: string | undefined, expYear?: string | undefined, avsResponse?: AVSResponse | null, receiptSuggestions?: ReceiptSuggestions | null, customer?: Customer | undefined, customers?: Customer[] | null, sigFile?: string | undefined, storeAndForward?: boolean | null);
|
|
4227
|
+
constructor(success?: boolean | null, error?: string | null, responseDescription?: string | null, approved?: boolean | null, authCode?: string | undefined, authResponseCode?: string | undefined, transactionId?: string | null, batchId?: string | undefined, transactionRef?: string | undefined, transactionType?: string | null, timestamp?: string | null, tickBlock?: string | null, test?: boolean | null, destinationAccount?: string | undefined, sig?: string | undefined, partialAuth?: boolean | null, altCurrency?: boolean | null, fsaAuth?: boolean | null, currencyCode?: string | null, requestedAmount?: string | null, authorizedAmount?: string | null, remainingBalance?: string | null, tipAmount?: string | null, taxAmount?: string | null, requestedCashBackAmount?: string | null, authorizedCashBackAmount?: string | null, token?: string | undefined, entryMethod?: string | undefined, paymentType?: string | undefined, network?: string | undefined, logo?: string | undefined, maskedPan?: string | undefined, publicKey?: string | undefined, ScopeAlert?: boolean, cardHolder?: string | undefined, expMonth?: string | undefined, expYear?: string | undefined, avsResponse?: AVSResponse | null, cvvResponse?: string | undefined, receiptSuggestions?: ReceiptSuggestions | null, customer?: Customer | undefined, customers?: Customer[] | null, sigFile?: string | undefined, storeAndForward?: boolean | null);
|
|
4200
4228
|
}
|
|
4201
4229
|
/**
|
|
4202
4230
|
* An item level discount for transaction display. Discounts never combine.
|
|
@@ -5933,7 +5961,28 @@ export declare class MerchantProfile {
|
|
|
5933
5961
|
* That a merchant is allowed to send a surcharge amount directly to the gateway.
|
|
5934
5962
|
*/
|
|
5935
5963
|
passthroughSurchargeEnabled: boolean | null;
|
|
5936
|
-
|
|
5964
|
+
/**
|
|
5965
|
+
* That CVV verification is enabled for manually entered transactions.
|
|
5966
|
+
*/
|
|
5967
|
+
cvvVerificationEnabled: boolean | null;
|
|
5968
|
+
/**
|
|
5969
|
+
* That CVV mismatch (N) responses should be declined.
|
|
5970
|
+
*/
|
|
5971
|
+
cvvVerificationNEnabled: boolean | null;
|
|
5972
|
+
/**
|
|
5973
|
+
* That CVV not processed (P) responses should be declined.
|
|
5974
|
+
*/
|
|
5975
|
+
cvvVerificationPEnabled: boolean | null;
|
|
5976
|
+
/**
|
|
5977
|
+
* That CVV should be on card but is not indicated (S) responses should be declined.
|
|
5978
|
+
*/
|
|
5979
|
+
cvvVerificationSEnabled: boolean | null;
|
|
5980
|
+
/**
|
|
5981
|
+
* That issuer not certified or has not provided encryption key (U) responses should be
|
|
5982
|
+
* declined.
|
|
5983
|
+
*/
|
|
5984
|
+
cvvVerificationUEnabled: boolean | null;
|
|
5985
|
+
constructor(timeout?: number | null, test?: boolean | null, merchantId?: string | null, bankMid?: string | null, companyName?: string | null, dbaName?: string | null, invoiceName?: string | null, contactName?: string | null, contactNumber?: string | null, locationName?: string | null, storeNumber?: string | null, partnerRef?: string | null, timeZone?: string | null, batchCloseTime?: string | null, terminalUpdateTime?: string | null, autoBatchClose?: boolean | null, disableBatchEmails?: boolean | null, pinEnabled?: boolean | null, cashBackEnabled?: boolean | null, storeAndForwardEnabled?: boolean | null, partialAuthEnabled?: boolean | null, splitBankAccountsEnabled?: boolean | null, storeAndForwardFloorLimit?: string | null, publicKey?: string | null, status?: string | null, cashDiscountEnabled?: boolean | null, surveyTimeout?: number | null, cooldownTimeout?: number | null, tipEnabled?: boolean | null, promptForTip?: boolean | null, tipDefaults?: string[] | null, cashbackPresets?: string[] | null, ebtEnabled?: boolean | null, freeRangeRefundsEnabled?: boolean | null, pinBypassEnabled?: boolean | null, giftCardsDisabled?: boolean | null, tcDisabled?: boolean | null, digitalSignaturesEnabled?: boolean | null, digitalSignatureReversal?: boolean | null, billingAddress?: Address | null, shippingAddress?: Address | null, visa?: boolean | null, masterCard?: boolean | null, amex?: boolean | null, discover?: boolean | null, jcb?: boolean | null, unionPay?: boolean | null, contactlessEmv?: boolean | null, manualEntryEnabled?: boolean | null, manualEntryPromptZip?: boolean | null, manualEntryPromptStreetNumber?: boolean | null, gatewayOnly?: boolean | null, bankAccounts?: BankAccount[] | null, passthroughSurchargeEnabled?: boolean | null, cvvVerificationEnabled?: boolean | null, cvvVerificationNEnabled?: boolean | null, cvvVerificationPEnabled?: boolean | null, cvvVerificationSEnabled?: boolean | null, cvvVerificationUEnabled?: boolean | null);
|
|
5937
5986
|
}
|
|
5938
5987
|
/**
|
|
5939
5988
|
* Models a response for a single merchant profile.
|
|
@@ -6167,7 +6216,28 @@ export declare class MerchantProfileResponse {
|
|
|
6167
6216
|
* That a merchant is allowed to send a surcharge amount directly to the gateway.
|
|
6168
6217
|
*/
|
|
6169
6218
|
passthroughSurchargeEnabled: boolean | null;
|
|
6170
|
-
|
|
6219
|
+
/**
|
|
6220
|
+
* That CVV verification is enabled for manually entered transactions.
|
|
6221
|
+
*/
|
|
6222
|
+
cvvVerificationEnabled: boolean | null;
|
|
6223
|
+
/**
|
|
6224
|
+
* That CVV mismatch (N) responses should be declined.
|
|
6225
|
+
*/
|
|
6226
|
+
cvvVerificationNEnabled: boolean | null;
|
|
6227
|
+
/**
|
|
6228
|
+
* That CVV not processed (P) responses should be declined.
|
|
6229
|
+
*/
|
|
6230
|
+
cvvVerificationPEnabled: boolean | null;
|
|
6231
|
+
/**
|
|
6232
|
+
* That CVV should be on card but is not indicated (S) responses should be declined.
|
|
6233
|
+
*/
|
|
6234
|
+
cvvVerificationSEnabled: boolean | null;
|
|
6235
|
+
/**
|
|
6236
|
+
* That issuer not certified or has not provided encryption key (U) responses should be
|
|
6237
|
+
* declined.
|
|
6238
|
+
*/
|
|
6239
|
+
cvvVerificationUEnabled: boolean | null;
|
|
6240
|
+
constructor(success?: boolean | null, error?: string | null, responseDescription?: string | null, test?: boolean | null, merchantId?: string | null, bankMid?: string | null, companyName?: string | null, dbaName?: string | null, invoiceName?: string | null, contactName?: string | null, contactNumber?: string | null, locationName?: string | null, storeNumber?: string | null, partnerRef?: string | null, timeZone?: string | null, batchCloseTime?: string | null, terminalUpdateTime?: string | null, autoBatchClose?: boolean | null, disableBatchEmails?: boolean | null, pinEnabled?: boolean | null, cashBackEnabled?: boolean | null, storeAndForwardEnabled?: boolean | null, partialAuthEnabled?: boolean | null, splitBankAccountsEnabled?: boolean | null, storeAndForwardFloorLimit?: string | null, publicKey?: string | null, status?: string | null, cashDiscountEnabled?: boolean | null, surveyTimeout?: number | null, cooldownTimeout?: number | null, tipEnabled?: boolean | null, promptForTip?: boolean | null, tipDefaults?: string[] | null, cashbackPresets?: string[] | null, ebtEnabled?: boolean | null, freeRangeRefundsEnabled?: boolean | null, pinBypassEnabled?: boolean | null, giftCardsDisabled?: boolean | null, tcDisabled?: boolean | null, digitalSignaturesEnabled?: boolean | null, digitalSignatureReversal?: boolean | null, billingAddress?: Address | null, shippingAddress?: Address | null, visa?: boolean | null, masterCard?: boolean | null, amex?: boolean | null, discover?: boolean | null, jcb?: boolean | null, unionPay?: boolean | null, contactlessEmv?: boolean | null, manualEntryEnabled?: boolean | null, manualEntryPromptZip?: boolean | null, manualEntryPromptStreetNumber?: boolean | null, gatewayOnly?: boolean | null, bankAccounts?: BankAccount[] | null, passthroughSurchargeEnabled?: boolean | null, cvvVerificationEnabled?: boolean | null, cvvVerificationNEnabled?: boolean | null, cvvVerificationPEnabled?: boolean | null, cvvVerificationSEnabled?: boolean | null, cvvVerificationUEnabled?: boolean | null);
|
|
6171
6241
|
}
|
|
6172
6242
|
/**
|
|
6173
6243
|
* Models meta data about a merchant bank account.
|
|
@@ -10265,6 +10335,10 @@ export declare class PaymentMethodResponse {
|
|
|
10265
10335
|
* Address verification results if address information was submitted.
|
|
10266
10336
|
*/
|
|
10267
10337
|
avsResponse: AVSResponse | null;
|
|
10338
|
+
/**
|
|
10339
|
+
* The CVV verification result if CVV was submitted.
|
|
10340
|
+
*/
|
|
10341
|
+
cvvResponse?: string;
|
|
10268
10342
|
/**
|
|
10269
10343
|
* Suggested receipt fields.
|
|
10270
10344
|
*/
|
|
@@ -10277,7 +10351,7 @@ export declare class PaymentMethodResponse {
|
|
|
10277
10351
|
* Customer data, if any.
|
|
10278
10352
|
*/
|
|
10279
10353
|
customers: Customer[] | null;
|
|
10280
|
-
constructor(token?: string | undefined, entryMethod?: string | undefined, paymentType?: string | undefined, network?: string | undefined, logo?: string | undefined, maskedPan?: string | undefined, publicKey?: string | undefined, ScopeAlert?: boolean, cardHolder?: string | undefined, expMonth?: string | undefined, expYear?: string | undefined, avsResponse?: AVSResponse | null, receiptSuggestions?: ReceiptSuggestions | null, customer?: Customer | undefined, customers?: Customer[] | null);
|
|
10354
|
+
constructor(token?: string | undefined, entryMethod?: string | undefined, paymentType?: string | undefined, network?: string | undefined, logo?: string | undefined, maskedPan?: string | undefined, publicKey?: string | undefined, ScopeAlert?: boolean, cardHolder?: string | undefined, expMonth?: string | undefined, expYear?: string | undefined, avsResponse?: AVSResponse | null, cvvResponse?: string | undefined, receiptSuggestions?: ReceiptSuggestions | null, customer?: Customer | undefined, customers?: Customer[] | null);
|
|
10281
10355
|
}
|
|
10282
10356
|
/**
|
|
10283
10357
|
* Response details for a cryptocurrency transaction.
|
package/lib/src/models.js
CHANGED
|
@@ -1331,7 +1331,7 @@ exports.CardMetadataRequest = CardMetadataRequest;
|
|
|
1331
1331
|
*/
|
|
1332
1332
|
class CardMetadataResponse {
|
|
1333
1333
|
// Constructor with default values for optional fields
|
|
1334
|
-
constructor(success = null, error = null, responseDescription = null, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, receiptSuggestions = null, customer = undefined, customers = null, cardMetadata = undefined) {
|
|
1334
|
+
constructor(success = null, error = null, responseDescription = null, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null, cardMetadata = undefined) {
|
|
1335
1335
|
/**
|
|
1336
1336
|
* Whether or not the request succeeded.
|
|
1337
1337
|
*/
|
|
@@ -1371,6 +1371,7 @@ class CardMetadataResponse {
|
|
|
1371
1371
|
this.expMonth = expMonth;
|
|
1372
1372
|
this.expYear = expYear;
|
|
1373
1373
|
this.avsResponse = avsResponse;
|
|
1374
|
+
this.cvvResponse = cvvResponse;
|
|
1374
1375
|
this.receiptSuggestions = receiptSuggestions;
|
|
1375
1376
|
this.customer = customer;
|
|
1376
1377
|
this.customers = customers;
|
|
@@ -1449,7 +1450,7 @@ exports.BalanceRequest = BalanceRequest;
|
|
|
1449
1450
|
*/
|
|
1450
1451
|
class BalanceResponse {
|
|
1451
1452
|
// Constructor with default values for optional fields
|
|
1452
|
-
constructor(success = null, error = null, responseDescription = null, transactionId = null, batchId = undefined, transactionRef = undefined, transactionType = null, timestamp = null, tickBlock = null, test = null, destinationAccount = undefined, sig = undefined, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, receiptSuggestions = null, customer = undefined, customers = null, remainingBalance = undefined) {
|
|
1453
|
+
constructor(success = null, error = null, responseDescription = null, transactionId = null, batchId = undefined, transactionRef = undefined, transactionType = null, timestamp = null, tickBlock = null, test = null, destinationAccount = undefined, sig = undefined, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null, remainingBalance = undefined) {
|
|
1453
1454
|
/**
|
|
1454
1455
|
* Whether or not the request succeeded.
|
|
1455
1456
|
*/
|
|
@@ -1518,6 +1519,7 @@ class BalanceResponse {
|
|
|
1518
1519
|
this.expMonth = expMonth;
|
|
1519
1520
|
this.expYear = expYear;
|
|
1520
1521
|
this.avsResponse = avsResponse;
|
|
1522
|
+
this.cvvResponse = cvvResponse;
|
|
1521
1523
|
this.receiptSuggestions = receiptSuggestions;
|
|
1522
1524
|
this.customer = customer;
|
|
1523
1525
|
this.customers = customers;
|
|
@@ -1726,7 +1728,7 @@ exports.CaptureRequest = CaptureRequest;
|
|
|
1726
1728
|
*/
|
|
1727
1729
|
class CaptureResponse {
|
|
1728
1730
|
// Constructor with default values for optional fields
|
|
1729
|
-
constructor(success = null, error = null, responseDescription = null, approved = null, authCode = undefined, authResponseCode = undefined, transactionId = null, batchId = undefined, transactionRef = undefined, transactionType = null, timestamp = null, tickBlock = null, test = null, destinationAccount = undefined, sig = undefined, partialAuth = null, altCurrency = null, fsaAuth = null, currencyCode = null, requestedAmount = null, authorizedAmount = null, remainingBalance = null, tipAmount = null, taxAmount = null, requestedCashBackAmount = null, authorizedCashBackAmount = null, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, receiptSuggestions = null, customer = undefined, customers = null) {
|
|
1731
|
+
constructor(success = null, error = null, responseDescription = null, approved = null, authCode = undefined, authResponseCode = undefined, transactionId = null, batchId = undefined, transactionRef = undefined, transactionType = null, timestamp = null, tickBlock = null, test = null, destinationAccount = undefined, sig = undefined, partialAuth = null, altCurrency = null, fsaAuth = null, currencyCode = null, requestedAmount = null, authorizedAmount = null, remainingBalance = null, tipAmount = null, taxAmount = null, requestedCashBackAmount = null, authorizedCashBackAmount = null, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null) {
|
|
1730
1732
|
/**
|
|
1731
1733
|
* Whether or not the request succeeded.
|
|
1732
1734
|
*/
|
|
@@ -1859,6 +1861,7 @@ class CaptureResponse {
|
|
|
1859
1861
|
this.expMonth = expMonth;
|
|
1860
1862
|
this.expYear = expYear;
|
|
1861
1863
|
this.avsResponse = avsResponse;
|
|
1864
|
+
this.cvvResponse = cvvResponse;
|
|
1862
1865
|
this.receiptSuggestions = receiptSuggestions;
|
|
1863
1866
|
this.customer = customer;
|
|
1864
1867
|
this.customers = customers;
|
|
@@ -1918,7 +1921,7 @@ exports.VoidRequest = VoidRequest;
|
|
|
1918
1921
|
*/
|
|
1919
1922
|
class VoidResponse {
|
|
1920
1923
|
// Constructor with default values for optional fields
|
|
1921
|
-
constructor(success = null, error = null, responseDescription = null, approved = null, authCode = undefined, authResponseCode = undefined, transactionId = null, batchId = undefined, transactionRef = undefined, transactionType = null, timestamp = null, tickBlock = null, test = null, destinationAccount = undefined, sig = undefined, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, receiptSuggestions = null, customer = undefined, customers = null, sigFile = undefined) {
|
|
1924
|
+
constructor(success = null, error = null, responseDescription = null, approved = null, authCode = undefined, authResponseCode = undefined, transactionId = null, batchId = undefined, transactionRef = undefined, transactionType = null, timestamp = null, tickBlock = null, test = null, destinationAccount = undefined, sig = undefined, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null, sigFile = undefined) {
|
|
1922
1925
|
/**
|
|
1923
1926
|
* Whether or not the request succeeded.
|
|
1924
1927
|
*/
|
|
@@ -1994,6 +1997,7 @@ class VoidResponse {
|
|
|
1994
1997
|
this.expMonth = expMonth;
|
|
1995
1998
|
this.expYear = expYear;
|
|
1996
1999
|
this.avsResponse = avsResponse;
|
|
2000
|
+
this.cvvResponse = cvvResponse;
|
|
1997
2001
|
this.receiptSuggestions = receiptSuggestions;
|
|
1998
2002
|
this.customer = customer;
|
|
1999
2003
|
this.customers = customers;
|
|
@@ -2080,7 +2084,7 @@ exports.EnrollRequest = EnrollRequest;
|
|
|
2080
2084
|
*/
|
|
2081
2085
|
class EnrollResponse {
|
|
2082
2086
|
// Constructor with default values for optional fields
|
|
2083
|
-
constructor(success = null, error = null, responseDescription = null, approved = null, authCode = undefined, authResponseCode = undefined, transactionId = null, batchId = undefined, transactionRef = undefined, transactionType = null, timestamp = null, tickBlock = null, test = null, destinationAccount = undefined, sig = undefined, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, receiptSuggestions = null, customer = undefined, customers = null, sigFile = undefined, cardMetadata = undefined, accountType = undefined, accountHolderType = undefined, bankName = undefined, tokenHash = undefined, bin = undefined) {
|
|
2087
|
+
constructor(success = null, error = null, responseDescription = null, approved = null, authCode = undefined, authResponseCode = undefined, transactionId = null, batchId = undefined, transactionRef = undefined, transactionType = null, timestamp = null, tickBlock = null, test = null, destinationAccount = undefined, sig = undefined, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null, sigFile = undefined, cardMetadata = undefined, accountType = undefined, accountHolderType = undefined, bankName = undefined, tokenHash = undefined, bin = undefined) {
|
|
2084
2088
|
/**
|
|
2085
2089
|
* Whether or not the request succeeded.
|
|
2086
2090
|
*/
|
|
@@ -2156,6 +2160,7 @@ class EnrollResponse {
|
|
|
2156
2160
|
this.expMonth = expMonth;
|
|
2157
2161
|
this.expYear = expYear;
|
|
2158
2162
|
this.avsResponse = avsResponse;
|
|
2163
|
+
this.cvvResponse = cvvResponse;
|
|
2159
2164
|
this.receiptSuggestions = receiptSuggestions;
|
|
2160
2165
|
this.customer = customer;
|
|
2161
2166
|
this.customers = customers;
|
|
@@ -2623,7 +2628,7 @@ exports.TermsAndConditionsResponse = TermsAndConditionsResponse;
|
|
|
2623
2628
|
*/
|
|
2624
2629
|
class AuthorizationResponse {
|
|
2625
2630
|
// Constructor with default values for optional fields
|
|
2626
|
-
constructor(success = null, error = null, responseDescription = null, approved = null, authCode = undefined, authResponseCode = undefined, transactionId = null, batchId = undefined, transactionRef = undefined, transactionType = null, timestamp = null, tickBlock = null, test = null, destinationAccount = undefined, sig = undefined, partialAuth = null, altCurrency = null, fsaAuth = null, currencyCode = null, requestedAmount = null, authorizedAmount = null, remainingBalance = null, tipAmount = null, taxAmount = null, requestedCashBackAmount = null, authorizedCashBackAmount = null, confirmed = null, cryptoAuthorizedAmount = null, cryptoNetworkFee = null, cryptocurrency = null, cryptoNetwork = null, cryptoReceiveAddress = null, cryptoBlock = null, cryptoTransactionId = null, cryptoPaymentRequest = null, cryptoStatus = null, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, receiptSuggestions = null, customer = undefined, customers = null, sigFile = undefined, whiteListedCard = undefined, storeAndForward = null, status = null, cardMetadata = undefined) {
|
|
2631
|
+
constructor(success = null, error = null, responseDescription = null, approved = null, authCode = undefined, authResponseCode = undefined, transactionId = null, batchId = undefined, transactionRef = undefined, transactionType = null, timestamp = null, tickBlock = null, test = null, destinationAccount = undefined, sig = undefined, partialAuth = null, altCurrency = null, fsaAuth = null, currencyCode = null, requestedAmount = null, authorizedAmount = null, remainingBalance = null, tipAmount = null, taxAmount = null, requestedCashBackAmount = null, authorizedCashBackAmount = null, confirmed = null, cryptoAuthorizedAmount = null, cryptoNetworkFee = null, cryptocurrency = null, cryptoNetwork = null, cryptoReceiveAddress = null, cryptoBlock = null, cryptoTransactionId = null, cryptoPaymentRequest = null, cryptoStatus = null, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null, sigFile = undefined, whiteListedCard = undefined, storeAndForward = null, status = null, cardMetadata = undefined) {
|
|
2627
2632
|
/**
|
|
2628
2633
|
* Whether or not the request succeeded.
|
|
2629
2634
|
*/
|
|
@@ -2818,6 +2823,7 @@ class AuthorizationResponse {
|
|
|
2818
2823
|
this.expMonth = expMonth;
|
|
2819
2824
|
this.expYear = expYear;
|
|
2820
2825
|
this.avsResponse = avsResponse;
|
|
2826
|
+
this.cvvResponse = cvvResponse;
|
|
2821
2827
|
this.receiptSuggestions = receiptSuggestions;
|
|
2822
2828
|
this.customer = customer;
|
|
2823
2829
|
this.customers = customers;
|
|
@@ -2957,7 +2963,7 @@ exports.PaymentLinkStatusResponse = PaymentLinkStatusResponse;
|
|
|
2957
2963
|
*/
|
|
2958
2964
|
class TransactionStatus {
|
|
2959
2965
|
// Constructor with default values for optional fields
|
|
2960
|
-
constructor(success = null, error = null, responseDescription = null, approved = null, authCode = undefined, authResponseCode = undefined, transactionId = null, batchId = undefined, transactionRef = undefined, transactionType = null, timestamp = null, tickBlock = null, test = null, destinationAccount = undefined, sig = undefined, partialAuth = null, altCurrency = null, fsaAuth = null, currencyCode = null, requestedAmount = null, authorizedAmount = null, remainingBalance = null, tipAmount = null, taxAmount = null, requestedCashBackAmount = null, authorizedCashBackAmount = null, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, receiptSuggestions = null, customer = undefined, customers = null, sigFile = undefined, storeAndForward = null) {
|
|
2966
|
+
constructor(success = null, error = null, responseDescription = null, approved = null, authCode = undefined, authResponseCode = undefined, transactionId = null, batchId = undefined, transactionRef = undefined, transactionType = null, timestamp = null, tickBlock = null, test = null, destinationAccount = undefined, sig = undefined, partialAuth = null, altCurrency = null, fsaAuth = null, currencyCode = null, requestedAmount = null, authorizedAmount = null, remainingBalance = null, tipAmount = null, taxAmount = null, requestedCashBackAmount = null, authorizedCashBackAmount = null, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null, sigFile = undefined, storeAndForward = null) {
|
|
2961
2967
|
/**
|
|
2962
2968
|
* Whether or not the request succeeded.
|
|
2963
2969
|
*/
|
|
@@ -3094,6 +3100,7 @@ class TransactionStatus {
|
|
|
3094
3100
|
this.expMonth = expMonth;
|
|
3095
3101
|
this.expYear = expYear;
|
|
3096
3102
|
this.avsResponse = avsResponse;
|
|
3103
|
+
this.cvvResponse = cvvResponse;
|
|
3097
3104
|
this.receiptSuggestions = receiptSuggestions;
|
|
3098
3105
|
this.customer = customer;
|
|
3099
3106
|
this.customers = customers;
|
|
@@ -4632,7 +4639,7 @@ exports.Address = Address;
|
|
|
4632
4639
|
*/
|
|
4633
4640
|
class MerchantProfile {
|
|
4634
4641
|
// Constructor with default values for optional fields
|
|
4635
|
-
constructor(timeout = null, test = null, merchantId = null, bankMid = null, companyName = null, dbaName = null, invoiceName = null, contactName = null, contactNumber = null, locationName = null, storeNumber = null, partnerRef = null, timeZone = null, batchCloseTime = null, terminalUpdateTime = null, autoBatchClose = null, disableBatchEmails = null, pinEnabled = null, cashBackEnabled = null, storeAndForwardEnabled = null, partialAuthEnabled = null, splitBankAccountsEnabled = null, storeAndForwardFloorLimit = null, publicKey = null, status = null, cashDiscountEnabled = null, surveyTimeout = null, cooldownTimeout = null, tipEnabled = null, promptForTip = null, tipDefaults = null, cashbackPresets = null, ebtEnabled = null, freeRangeRefundsEnabled = null, pinBypassEnabled = null, giftCardsDisabled = null, tcDisabled = null, digitalSignaturesEnabled = null, digitalSignatureReversal = null, billingAddress = null, shippingAddress = null, visa = null, masterCard = null, amex = null, discover = null, jcb = null, unionPay = null, contactlessEmv = null, manualEntryEnabled = null, manualEntryPromptZip = null, manualEntryPromptStreetNumber = null, gatewayOnly = null, bankAccounts = null, passthroughSurchargeEnabled = null) {
|
|
4642
|
+
constructor(timeout = null, test = null, merchantId = null, bankMid = null, companyName = null, dbaName = null, invoiceName = null, contactName = null, contactNumber = null, locationName = null, storeNumber = null, partnerRef = null, timeZone = null, batchCloseTime = null, terminalUpdateTime = null, autoBatchClose = null, disableBatchEmails = null, pinEnabled = null, cashBackEnabled = null, storeAndForwardEnabled = null, partialAuthEnabled = null, splitBankAccountsEnabled = null, storeAndForwardFloorLimit = null, publicKey = null, status = null, cashDiscountEnabled = null, surveyTimeout = null, cooldownTimeout = null, tipEnabled = null, promptForTip = null, tipDefaults = null, cashbackPresets = null, ebtEnabled = null, freeRangeRefundsEnabled = null, pinBypassEnabled = null, giftCardsDisabled = null, tcDisabled = null, digitalSignaturesEnabled = null, digitalSignatureReversal = null, billingAddress = null, shippingAddress = null, visa = null, masterCard = null, amex = null, discover = null, jcb = null, unionPay = null, contactlessEmv = null, manualEntryEnabled = null, manualEntryPromptZip = null, manualEntryPromptStreetNumber = null, gatewayOnly = null, bankAccounts = null, passthroughSurchargeEnabled = null, cvvVerificationEnabled = null, cvvVerificationNEnabled = null, cvvVerificationPEnabled = null, cvvVerificationSEnabled = null, cvvVerificationUEnabled = null) {
|
|
4636
4643
|
/**
|
|
4637
4644
|
* The request timeout in seconds.
|
|
4638
4645
|
*/
|
|
@@ -4853,6 +4860,27 @@ class MerchantProfile {
|
|
|
4853
4860
|
* That a merchant is allowed to send a surcharge amount directly to the gateway.
|
|
4854
4861
|
*/
|
|
4855
4862
|
this.passthroughSurchargeEnabled = null;
|
|
4863
|
+
/**
|
|
4864
|
+
* That CVV verification is enabled for manually entered transactions.
|
|
4865
|
+
*/
|
|
4866
|
+
this.cvvVerificationEnabled = null;
|
|
4867
|
+
/**
|
|
4868
|
+
* That CVV mismatch (N) responses should be declined.
|
|
4869
|
+
*/
|
|
4870
|
+
this.cvvVerificationNEnabled = null;
|
|
4871
|
+
/**
|
|
4872
|
+
* That CVV not processed (P) responses should be declined.
|
|
4873
|
+
*/
|
|
4874
|
+
this.cvvVerificationPEnabled = null;
|
|
4875
|
+
/**
|
|
4876
|
+
* That CVV should be on card but is not indicated (S) responses should be declined.
|
|
4877
|
+
*/
|
|
4878
|
+
this.cvvVerificationSEnabled = null;
|
|
4879
|
+
/**
|
|
4880
|
+
* That issuer not certified or has not provided encryption key (U) responses should be
|
|
4881
|
+
* declined.
|
|
4882
|
+
*/
|
|
4883
|
+
this.cvvVerificationUEnabled = null;
|
|
4856
4884
|
this.timeout = timeout;
|
|
4857
4885
|
this.test = test;
|
|
4858
4886
|
this.merchantId = merchantId;
|
|
@@ -4907,6 +4935,11 @@ class MerchantProfile {
|
|
|
4907
4935
|
this.gatewayOnly = gatewayOnly;
|
|
4908
4936
|
this.bankAccounts = bankAccounts;
|
|
4909
4937
|
this.passthroughSurchargeEnabled = passthroughSurchargeEnabled;
|
|
4938
|
+
this.cvvVerificationEnabled = cvvVerificationEnabled;
|
|
4939
|
+
this.cvvVerificationNEnabled = cvvVerificationNEnabled;
|
|
4940
|
+
this.cvvVerificationPEnabled = cvvVerificationPEnabled;
|
|
4941
|
+
this.cvvVerificationSEnabled = cvvVerificationSEnabled;
|
|
4942
|
+
this.cvvVerificationUEnabled = cvvVerificationUEnabled;
|
|
4910
4943
|
}
|
|
4911
4944
|
}
|
|
4912
4945
|
exports.MerchantProfile = MerchantProfile;
|
|
@@ -4915,7 +4948,7 @@ exports.MerchantProfile = MerchantProfile;
|
|
|
4915
4948
|
*/
|
|
4916
4949
|
class MerchantProfileResponse {
|
|
4917
4950
|
// Constructor with default values for optional fields
|
|
4918
|
-
constructor(success = null, error = null, responseDescription = null, test = null, merchantId = null, bankMid = null, companyName = null, dbaName = null, invoiceName = null, contactName = null, contactNumber = null, locationName = null, storeNumber = null, partnerRef = null, timeZone = null, batchCloseTime = null, terminalUpdateTime = null, autoBatchClose = null, disableBatchEmails = null, pinEnabled = null, cashBackEnabled = null, storeAndForwardEnabled = null, partialAuthEnabled = null, splitBankAccountsEnabled = null, storeAndForwardFloorLimit = null, publicKey = null, status = null, cashDiscountEnabled = null, surveyTimeout = null, cooldownTimeout = null, tipEnabled = null, promptForTip = null, tipDefaults = null, cashbackPresets = null, ebtEnabled = null, freeRangeRefundsEnabled = null, pinBypassEnabled = null, giftCardsDisabled = null, tcDisabled = null, digitalSignaturesEnabled = null, digitalSignatureReversal = null, billingAddress = null, shippingAddress = null, visa = null, masterCard = null, amex = null, discover = null, jcb = null, unionPay = null, contactlessEmv = null, manualEntryEnabled = null, manualEntryPromptZip = null, manualEntryPromptStreetNumber = null, gatewayOnly = null, bankAccounts = null, passthroughSurchargeEnabled = null) {
|
|
4951
|
+
constructor(success = null, error = null, responseDescription = null, test = null, merchantId = null, bankMid = null, companyName = null, dbaName = null, invoiceName = null, contactName = null, contactNumber = null, locationName = null, storeNumber = null, partnerRef = null, timeZone = null, batchCloseTime = null, terminalUpdateTime = null, autoBatchClose = null, disableBatchEmails = null, pinEnabled = null, cashBackEnabled = null, storeAndForwardEnabled = null, partialAuthEnabled = null, splitBankAccountsEnabled = null, storeAndForwardFloorLimit = null, publicKey = null, status = null, cashDiscountEnabled = null, surveyTimeout = null, cooldownTimeout = null, tipEnabled = null, promptForTip = null, tipDefaults = null, cashbackPresets = null, ebtEnabled = null, freeRangeRefundsEnabled = null, pinBypassEnabled = null, giftCardsDisabled = null, tcDisabled = null, digitalSignaturesEnabled = null, digitalSignatureReversal = null, billingAddress = null, shippingAddress = null, visa = null, masterCard = null, amex = null, discover = null, jcb = null, unionPay = null, contactlessEmv = null, manualEntryEnabled = null, manualEntryPromptZip = null, manualEntryPromptStreetNumber = null, gatewayOnly = null, bankAccounts = null, passthroughSurchargeEnabled = null, cvvVerificationEnabled = null, cvvVerificationNEnabled = null, cvvVerificationPEnabled = null, cvvVerificationSEnabled = null, cvvVerificationUEnabled = null) {
|
|
4919
4952
|
/**
|
|
4920
4953
|
* Whether or not the request succeeded.
|
|
4921
4954
|
*/
|
|
@@ -5144,6 +5177,27 @@ class MerchantProfileResponse {
|
|
|
5144
5177
|
* That a merchant is allowed to send a surcharge amount directly to the gateway.
|
|
5145
5178
|
*/
|
|
5146
5179
|
this.passthroughSurchargeEnabled = null;
|
|
5180
|
+
/**
|
|
5181
|
+
* That CVV verification is enabled for manually entered transactions.
|
|
5182
|
+
*/
|
|
5183
|
+
this.cvvVerificationEnabled = null;
|
|
5184
|
+
/**
|
|
5185
|
+
* That CVV mismatch (N) responses should be declined.
|
|
5186
|
+
*/
|
|
5187
|
+
this.cvvVerificationNEnabled = null;
|
|
5188
|
+
/**
|
|
5189
|
+
* That CVV not processed (P) responses should be declined.
|
|
5190
|
+
*/
|
|
5191
|
+
this.cvvVerificationPEnabled = null;
|
|
5192
|
+
/**
|
|
5193
|
+
* That CVV should be on card but is not indicated (S) responses should be declined.
|
|
5194
|
+
*/
|
|
5195
|
+
this.cvvVerificationSEnabled = null;
|
|
5196
|
+
/**
|
|
5197
|
+
* That issuer not certified or has not provided encryption key (U) responses should be
|
|
5198
|
+
* declined.
|
|
5199
|
+
*/
|
|
5200
|
+
this.cvvVerificationUEnabled = null;
|
|
5147
5201
|
this.success = success;
|
|
5148
5202
|
this.error = error;
|
|
5149
5203
|
this.responseDescription = responseDescription;
|
|
@@ -5200,6 +5254,11 @@ class MerchantProfileResponse {
|
|
|
5200
5254
|
this.gatewayOnly = gatewayOnly;
|
|
5201
5255
|
this.bankAccounts = bankAccounts;
|
|
5202
5256
|
this.passthroughSurchargeEnabled = passthroughSurchargeEnabled;
|
|
5257
|
+
this.cvvVerificationEnabled = cvvVerificationEnabled;
|
|
5258
|
+
this.cvvVerificationNEnabled = cvvVerificationNEnabled;
|
|
5259
|
+
this.cvvVerificationPEnabled = cvvVerificationPEnabled;
|
|
5260
|
+
this.cvvVerificationSEnabled = cvvVerificationSEnabled;
|
|
5261
|
+
this.cvvVerificationUEnabled = cvvVerificationUEnabled;
|
|
5203
5262
|
}
|
|
5204
5263
|
}
|
|
5205
5264
|
exports.MerchantProfileResponse = MerchantProfileResponse;
|
|
@@ -10082,7 +10141,7 @@ exports.CoreRequest = CoreRequest;
|
|
|
10082
10141
|
*/
|
|
10083
10142
|
class PaymentMethodResponse {
|
|
10084
10143
|
// Constructor with default values for optional fields
|
|
10085
|
-
constructor(token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, receiptSuggestions = null, customer = undefined, customers = null) {
|
|
10144
|
+
constructor(token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null) {
|
|
10086
10145
|
/**
|
|
10087
10146
|
* Address verification results if address information was submitted.
|
|
10088
10147
|
*/
|
|
@@ -10107,6 +10166,7 @@ class PaymentMethodResponse {
|
|
|
10107
10166
|
this.expMonth = expMonth;
|
|
10108
10167
|
this.expYear = expYear;
|
|
10109
10168
|
this.avsResponse = avsResponse;
|
|
10169
|
+
this.cvvResponse = cvvResponse;
|
|
10110
10170
|
this.receiptSuggestions = receiptSuggestions;
|
|
10111
10171
|
this.customer = customer;
|
|
10112
10172
|
this.customers = customers;
|