@blockchyp/blockchyp-ts 2.22.0 → 2.24.0
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 +83 -11
- 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 +102 -11
- package/lib/src/models.js +83 -11
- package/lib/src/models.js.map +1 -1
- package/package.json +1 -1
- package/src/models.ts +157 -0
package/lib/src/models.d.ts
CHANGED
|
@@ -1108,11 +1108,19 @@ export declare class CustomerToken {
|
|
|
1108
1108
|
* Routing number.
|
|
1109
1109
|
*/
|
|
1110
1110
|
routingNumber: string | null;
|
|
1111
|
+
/**
|
|
1112
|
+
* Token hash (generated with a static salt, Merchant ID, Registration Date and PAN.
|
|
1113
|
+
*/
|
|
1114
|
+
tokenHash: string | null;
|
|
1115
|
+
/**
|
|
1116
|
+
* Card bin.
|
|
1117
|
+
*/
|
|
1118
|
+
bin: string | null;
|
|
1111
1119
|
/**
|
|
1112
1120
|
* Models customer records associated with a payment token.
|
|
1113
1121
|
*/
|
|
1114
1122
|
customers: Customer[] | null;
|
|
1115
|
-
constructor(token?: string | null, maskedPan?: string | null, expiryMonth?: string | null, expiryYear?: string | null, paymentType?: string | null, accountType?: string | null, accountHolderType?: string | null, bankName?: string | null, routingNumber?: string | null, customers?: Customer[] | null);
|
|
1123
|
+
constructor(token?: string | null, maskedPan?: string | null, expiryMonth?: string | null, expiryYear?: string | null, paymentType?: string | null, accountType?: string | null, accountHolderType?: string | null, bankName?: string | null, routingNumber?: string | null, tokenHash?: string | null, bin?: string | null, customers?: Customer[] | null);
|
|
1116
1124
|
}
|
|
1117
1125
|
/**
|
|
1118
1126
|
* The response to a text prompt request.
|
|
@@ -1764,6 +1772,10 @@ export declare class CardMetadataResponse {
|
|
|
1764
1772
|
* Address verification results if address information was submitted.
|
|
1765
1773
|
*/
|
|
1766
1774
|
avsResponse: AVSResponse | null;
|
|
1775
|
+
/**
|
|
1776
|
+
* The CVV verification result if CVV was submitted.
|
|
1777
|
+
*/
|
|
1778
|
+
cvvResponse?: string;
|
|
1767
1779
|
/**
|
|
1768
1780
|
* Suggested receipt fields.
|
|
1769
1781
|
*/
|
|
@@ -1780,7 +1792,7 @@ export declare class CardMetadataResponse {
|
|
|
1780
1792
|
* Details about a payment card derived from its BIN/IIN.
|
|
1781
1793
|
*/
|
|
1782
1794
|
cardMetadata?: CardMetadata;
|
|
1783
|
-
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);
|
|
1784
1796
|
}
|
|
1785
1797
|
/**
|
|
1786
1798
|
* A request for the remaining balance on a payment type.
|
|
@@ -2021,6 +2033,10 @@ export declare class BalanceResponse {
|
|
|
2021
2033
|
* Address verification results if address information was submitted.
|
|
2022
2034
|
*/
|
|
2023
2035
|
avsResponse: AVSResponse | null;
|
|
2036
|
+
/**
|
|
2037
|
+
* The CVV verification result if CVV was submitted.
|
|
2038
|
+
*/
|
|
2039
|
+
cvvResponse?: string;
|
|
2024
2040
|
/**
|
|
2025
2041
|
* Suggested receipt fields.
|
|
2026
2042
|
*/
|
|
@@ -2037,7 +2053,7 @@ export declare class BalanceResponse {
|
|
|
2037
2053
|
* Remaining balance on the payment method.
|
|
2038
2054
|
*/
|
|
2039
2055
|
remainingBalance?: string;
|
|
2040
|
-
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);
|
|
2041
2057
|
}
|
|
2042
2058
|
/**
|
|
2043
2059
|
* A refund request.
|
|
@@ -2515,6 +2531,10 @@ export declare class CaptureResponse {
|
|
|
2515
2531
|
* Address verification results if address information was submitted.
|
|
2516
2532
|
*/
|
|
2517
2533
|
avsResponse: AVSResponse | null;
|
|
2534
|
+
/**
|
|
2535
|
+
* The CVV verification result if CVV was submitted.
|
|
2536
|
+
*/
|
|
2537
|
+
cvvResponse?: string;
|
|
2518
2538
|
/**
|
|
2519
2539
|
* Suggested receipt fields.
|
|
2520
2540
|
*/
|
|
@@ -2527,7 +2547,7 @@ export declare class CaptureResponse {
|
|
|
2527
2547
|
* Customer data, if any.
|
|
2528
2548
|
*/
|
|
2529
2549
|
customers: Customer[] | null;
|
|
2530
|
-
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);
|
|
2531
2551
|
}
|
|
2532
2552
|
/**
|
|
2533
2553
|
* A void request.
|
|
@@ -2707,6 +2727,10 @@ export declare class VoidResponse {
|
|
|
2707
2727
|
* Address verification results if address information was submitted.
|
|
2708
2728
|
*/
|
|
2709
2729
|
avsResponse: AVSResponse | null;
|
|
2730
|
+
/**
|
|
2731
|
+
* The CVV verification result if CVV was submitted.
|
|
2732
|
+
*/
|
|
2733
|
+
cvvResponse?: string;
|
|
2710
2734
|
/**
|
|
2711
2735
|
* Suggested receipt fields.
|
|
2712
2736
|
*/
|
|
@@ -2723,7 +2747,7 @@ export declare class VoidResponse {
|
|
|
2723
2747
|
* The hex encoded signature data.
|
|
2724
2748
|
*/
|
|
2725
2749
|
sigFile?: string;
|
|
2726
|
-
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);
|
|
2727
2751
|
}
|
|
2728
2752
|
/**
|
|
2729
2753
|
* The information needed to enroll a new payment method in the token vault.
|
|
@@ -3010,6 +3034,10 @@ export declare class EnrollResponse {
|
|
|
3010
3034
|
* Address verification results if address information was submitted.
|
|
3011
3035
|
*/
|
|
3012
3036
|
avsResponse: AVSResponse | null;
|
|
3037
|
+
/**
|
|
3038
|
+
* The CVV verification result if CVV was submitted.
|
|
3039
|
+
*/
|
|
3040
|
+
cvvResponse?: string;
|
|
3013
3041
|
/**
|
|
3014
3042
|
* Suggested receipt fields.
|
|
3015
3043
|
*/
|
|
@@ -3042,7 +3070,16 @@ export declare class EnrollResponse {
|
|
|
3042
3070
|
* The bank name for an ACH payment method.
|
|
3043
3071
|
*/
|
|
3044
3072
|
bankName?: string;
|
|
3045
|
-
|
|
3073
|
+
/**
|
|
3074
|
+
* The token hash (generated with a static salt, Merchant ID, Registration Date and
|
|
3075
|
+
* PAN).
|
|
3076
|
+
*/
|
|
3077
|
+
tokenHash?: string;
|
|
3078
|
+
/**
|
|
3079
|
+
* The first 8 digits of the card aka the BIN.
|
|
3080
|
+
*/
|
|
3081
|
+
bin?: string;
|
|
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);
|
|
3046
3083
|
}
|
|
3047
3084
|
/**
|
|
3048
3085
|
* The information needed to enroll a new payment method in the token vault.
|
|
@@ -3771,6 +3808,10 @@ export declare class AuthorizationResponse {
|
|
|
3771
3808
|
* Address verification results if address information was submitted.
|
|
3772
3809
|
*/
|
|
3773
3810
|
avsResponse: AVSResponse | null;
|
|
3811
|
+
/**
|
|
3812
|
+
* The CVV verification result if CVV was submitted.
|
|
3813
|
+
*/
|
|
3814
|
+
cvvResponse?: string;
|
|
3774
3815
|
/**
|
|
3775
3816
|
* Suggested receipt fields.
|
|
3776
3817
|
*/
|
|
@@ -3804,7 +3845,7 @@ export declare class AuthorizationResponse {
|
|
|
3804
3845
|
* Details about a payment card derived from its BIN/IIN.
|
|
3805
3846
|
*/
|
|
3806
3847
|
cardMetadata?: CardMetadata;
|
|
3807
|
-
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);
|
|
3808
3849
|
}
|
|
3809
3850
|
/**
|
|
3810
3851
|
* Models the request for updated information about a transaction.
|
|
@@ -4159,6 +4200,10 @@ export declare class TransactionStatus {
|
|
|
4159
4200
|
* Address verification results if address information was submitted.
|
|
4160
4201
|
*/
|
|
4161
4202
|
avsResponse: AVSResponse | null;
|
|
4203
|
+
/**
|
|
4204
|
+
* The CVV verification result if CVV was submitted.
|
|
4205
|
+
*/
|
|
4206
|
+
cvvResponse?: string;
|
|
4162
4207
|
/**
|
|
4163
4208
|
* Suggested receipt fields.
|
|
4164
4209
|
*/
|
|
@@ -4179,7 +4224,7 @@ export declare class TransactionStatus {
|
|
|
4179
4224
|
* That the transaction was flagged for store and forward due to network problems.
|
|
4180
4225
|
*/
|
|
4181
4226
|
storeAndForward: boolean | null;
|
|
4182
|
-
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);
|
|
4183
4228
|
}
|
|
4184
4229
|
/**
|
|
4185
4230
|
* An item level discount for transaction display. Discounts never combine.
|
|
@@ -5916,7 +5961,28 @@ export declare class MerchantProfile {
|
|
|
5916
5961
|
* That a merchant is allowed to send a surcharge amount directly to the gateway.
|
|
5917
5962
|
*/
|
|
5918
5963
|
passthroughSurchargeEnabled: boolean | null;
|
|
5919
|
-
|
|
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);
|
|
5920
5986
|
}
|
|
5921
5987
|
/**
|
|
5922
5988
|
* Models a response for a single merchant profile.
|
|
@@ -6150,7 +6216,28 @@ export declare class MerchantProfileResponse {
|
|
|
6150
6216
|
* That a merchant is allowed to send a surcharge amount directly to the gateway.
|
|
6151
6217
|
*/
|
|
6152
6218
|
passthroughSurchargeEnabled: boolean | null;
|
|
6153
|
-
|
|
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);
|
|
6154
6241
|
}
|
|
6155
6242
|
/**
|
|
6156
6243
|
* Models meta data about a merchant bank account.
|
|
@@ -10248,6 +10335,10 @@ export declare class PaymentMethodResponse {
|
|
|
10248
10335
|
* Address verification results if address information was submitted.
|
|
10249
10336
|
*/
|
|
10250
10337
|
avsResponse: AVSResponse | null;
|
|
10338
|
+
/**
|
|
10339
|
+
* The CVV verification result if CVV was submitted.
|
|
10340
|
+
*/
|
|
10341
|
+
cvvResponse?: string;
|
|
10251
10342
|
/**
|
|
10252
10343
|
* Suggested receipt fields.
|
|
10253
10344
|
*/
|
|
@@ -10260,7 +10351,7 @@ export declare class PaymentMethodResponse {
|
|
|
10260
10351
|
* Customer data, if any.
|
|
10261
10352
|
*/
|
|
10262
10353
|
customers: Customer[] | null;
|
|
10263
|
-
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);
|
|
10264
10355
|
}
|
|
10265
10356
|
/**
|
|
10266
10357
|
* Response details for a cryptocurrency transaction.
|
package/lib/src/models.js
CHANGED
|
@@ -905,7 +905,7 @@ exports.TokenMetadataResponse = TokenMetadataResponse;
|
|
|
905
905
|
*/
|
|
906
906
|
class CustomerToken {
|
|
907
907
|
// Constructor with default values for optional fields
|
|
908
|
-
constructor(token = null, maskedPan = null, expiryMonth = null, expiryYear = null, paymentType = null, accountType = null, accountHolderType = null, bankName = null, routingNumber = null, customers = null) {
|
|
908
|
+
constructor(token = null, maskedPan = null, expiryMonth = null, expiryYear = null, paymentType = null, accountType = null, accountHolderType = null, bankName = null, routingNumber = null, tokenHash = null, bin = null, customers = null) {
|
|
909
909
|
/**
|
|
910
910
|
* BlockChyp assigned customer id.
|
|
911
911
|
*/
|
|
@@ -942,6 +942,14 @@ class CustomerToken {
|
|
|
942
942
|
* Routing number.
|
|
943
943
|
*/
|
|
944
944
|
this.routingNumber = null;
|
|
945
|
+
/**
|
|
946
|
+
* Token hash (generated with a static salt, Merchant ID, Registration Date and PAN.
|
|
947
|
+
*/
|
|
948
|
+
this.tokenHash = null;
|
|
949
|
+
/**
|
|
950
|
+
* Card bin.
|
|
951
|
+
*/
|
|
952
|
+
this.bin = null;
|
|
945
953
|
/**
|
|
946
954
|
* Models customer records associated with a payment token.
|
|
947
955
|
*/
|
|
@@ -955,6 +963,8 @@ class CustomerToken {
|
|
|
955
963
|
this.accountHolderType = accountHolderType;
|
|
956
964
|
this.bankName = bankName;
|
|
957
965
|
this.routingNumber = routingNumber;
|
|
966
|
+
this.tokenHash = tokenHash;
|
|
967
|
+
this.bin = bin;
|
|
958
968
|
this.customers = customers;
|
|
959
969
|
}
|
|
960
970
|
}
|
|
@@ -1321,7 +1331,7 @@ exports.CardMetadataRequest = CardMetadataRequest;
|
|
|
1321
1331
|
*/
|
|
1322
1332
|
class CardMetadataResponse {
|
|
1323
1333
|
// Constructor with default values for optional fields
|
|
1324
|
-
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) {
|
|
1325
1335
|
/**
|
|
1326
1336
|
* Whether or not the request succeeded.
|
|
1327
1337
|
*/
|
|
@@ -1361,6 +1371,7 @@ class CardMetadataResponse {
|
|
|
1361
1371
|
this.expMonth = expMonth;
|
|
1362
1372
|
this.expYear = expYear;
|
|
1363
1373
|
this.avsResponse = avsResponse;
|
|
1374
|
+
this.cvvResponse = cvvResponse;
|
|
1364
1375
|
this.receiptSuggestions = receiptSuggestions;
|
|
1365
1376
|
this.customer = customer;
|
|
1366
1377
|
this.customers = customers;
|
|
@@ -1439,7 +1450,7 @@ exports.BalanceRequest = BalanceRequest;
|
|
|
1439
1450
|
*/
|
|
1440
1451
|
class BalanceResponse {
|
|
1441
1452
|
// Constructor with default values for optional fields
|
|
1442
|
-
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) {
|
|
1443
1454
|
/**
|
|
1444
1455
|
* Whether or not the request succeeded.
|
|
1445
1456
|
*/
|
|
@@ -1508,6 +1519,7 @@ class BalanceResponse {
|
|
|
1508
1519
|
this.expMonth = expMonth;
|
|
1509
1520
|
this.expYear = expYear;
|
|
1510
1521
|
this.avsResponse = avsResponse;
|
|
1522
|
+
this.cvvResponse = cvvResponse;
|
|
1511
1523
|
this.receiptSuggestions = receiptSuggestions;
|
|
1512
1524
|
this.customer = customer;
|
|
1513
1525
|
this.customers = customers;
|
|
@@ -1716,7 +1728,7 @@ exports.CaptureRequest = CaptureRequest;
|
|
|
1716
1728
|
*/
|
|
1717
1729
|
class CaptureResponse {
|
|
1718
1730
|
// Constructor with default values for optional fields
|
|
1719
|
-
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) {
|
|
1720
1732
|
/**
|
|
1721
1733
|
* Whether or not the request succeeded.
|
|
1722
1734
|
*/
|
|
@@ -1849,6 +1861,7 @@ class CaptureResponse {
|
|
|
1849
1861
|
this.expMonth = expMonth;
|
|
1850
1862
|
this.expYear = expYear;
|
|
1851
1863
|
this.avsResponse = avsResponse;
|
|
1864
|
+
this.cvvResponse = cvvResponse;
|
|
1852
1865
|
this.receiptSuggestions = receiptSuggestions;
|
|
1853
1866
|
this.customer = customer;
|
|
1854
1867
|
this.customers = customers;
|
|
@@ -1908,7 +1921,7 @@ exports.VoidRequest = VoidRequest;
|
|
|
1908
1921
|
*/
|
|
1909
1922
|
class VoidResponse {
|
|
1910
1923
|
// Constructor with default values for optional fields
|
|
1911
|
-
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) {
|
|
1912
1925
|
/**
|
|
1913
1926
|
* Whether or not the request succeeded.
|
|
1914
1927
|
*/
|
|
@@ -1984,6 +1997,7 @@ class VoidResponse {
|
|
|
1984
1997
|
this.expMonth = expMonth;
|
|
1985
1998
|
this.expYear = expYear;
|
|
1986
1999
|
this.avsResponse = avsResponse;
|
|
2000
|
+
this.cvvResponse = cvvResponse;
|
|
1987
2001
|
this.receiptSuggestions = receiptSuggestions;
|
|
1988
2002
|
this.customer = customer;
|
|
1989
2003
|
this.customers = customers;
|
|
@@ -2070,7 +2084,7 @@ exports.EnrollRequest = EnrollRequest;
|
|
|
2070
2084
|
*/
|
|
2071
2085
|
class EnrollResponse {
|
|
2072
2086
|
// Constructor with default values for optional fields
|
|
2073
|
-
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) {
|
|
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) {
|
|
2074
2088
|
/**
|
|
2075
2089
|
* Whether or not the request succeeded.
|
|
2076
2090
|
*/
|
|
@@ -2146,6 +2160,7 @@ class EnrollResponse {
|
|
|
2146
2160
|
this.expMonth = expMonth;
|
|
2147
2161
|
this.expYear = expYear;
|
|
2148
2162
|
this.avsResponse = avsResponse;
|
|
2163
|
+
this.cvvResponse = cvvResponse;
|
|
2149
2164
|
this.receiptSuggestions = receiptSuggestions;
|
|
2150
2165
|
this.customer = customer;
|
|
2151
2166
|
this.customers = customers;
|
|
@@ -2154,6 +2169,8 @@ class EnrollResponse {
|
|
|
2154
2169
|
this.accountType = accountType;
|
|
2155
2170
|
this.accountHolderType = accountHolderType;
|
|
2156
2171
|
this.bankName = bankName;
|
|
2172
|
+
this.tokenHash = tokenHash;
|
|
2173
|
+
this.bin = bin;
|
|
2157
2174
|
}
|
|
2158
2175
|
}
|
|
2159
2176
|
exports.EnrollResponse = EnrollResponse;
|
|
@@ -2611,7 +2628,7 @@ exports.TermsAndConditionsResponse = TermsAndConditionsResponse;
|
|
|
2611
2628
|
*/
|
|
2612
2629
|
class AuthorizationResponse {
|
|
2613
2630
|
// Constructor with default values for optional fields
|
|
2614
|
-
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) {
|
|
2615
2632
|
/**
|
|
2616
2633
|
* Whether or not the request succeeded.
|
|
2617
2634
|
*/
|
|
@@ -2806,6 +2823,7 @@ class AuthorizationResponse {
|
|
|
2806
2823
|
this.expMonth = expMonth;
|
|
2807
2824
|
this.expYear = expYear;
|
|
2808
2825
|
this.avsResponse = avsResponse;
|
|
2826
|
+
this.cvvResponse = cvvResponse;
|
|
2809
2827
|
this.receiptSuggestions = receiptSuggestions;
|
|
2810
2828
|
this.customer = customer;
|
|
2811
2829
|
this.customers = customers;
|
|
@@ -2945,7 +2963,7 @@ exports.PaymentLinkStatusResponse = PaymentLinkStatusResponse;
|
|
|
2945
2963
|
*/
|
|
2946
2964
|
class TransactionStatus {
|
|
2947
2965
|
// Constructor with default values for optional fields
|
|
2948
|
-
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) {
|
|
2949
2967
|
/**
|
|
2950
2968
|
* Whether or not the request succeeded.
|
|
2951
2969
|
*/
|
|
@@ -3082,6 +3100,7 @@ class TransactionStatus {
|
|
|
3082
3100
|
this.expMonth = expMonth;
|
|
3083
3101
|
this.expYear = expYear;
|
|
3084
3102
|
this.avsResponse = avsResponse;
|
|
3103
|
+
this.cvvResponse = cvvResponse;
|
|
3085
3104
|
this.receiptSuggestions = receiptSuggestions;
|
|
3086
3105
|
this.customer = customer;
|
|
3087
3106
|
this.customers = customers;
|
|
@@ -4620,7 +4639,7 @@ exports.Address = Address;
|
|
|
4620
4639
|
*/
|
|
4621
4640
|
class MerchantProfile {
|
|
4622
4641
|
// Constructor with default values for optional fields
|
|
4623
|
-
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) {
|
|
4624
4643
|
/**
|
|
4625
4644
|
* The request timeout in seconds.
|
|
4626
4645
|
*/
|
|
@@ -4841,6 +4860,27 @@ class MerchantProfile {
|
|
|
4841
4860
|
* That a merchant is allowed to send a surcharge amount directly to the gateway.
|
|
4842
4861
|
*/
|
|
4843
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;
|
|
4844
4884
|
this.timeout = timeout;
|
|
4845
4885
|
this.test = test;
|
|
4846
4886
|
this.merchantId = merchantId;
|
|
@@ -4895,6 +4935,11 @@ class MerchantProfile {
|
|
|
4895
4935
|
this.gatewayOnly = gatewayOnly;
|
|
4896
4936
|
this.bankAccounts = bankAccounts;
|
|
4897
4937
|
this.passthroughSurchargeEnabled = passthroughSurchargeEnabled;
|
|
4938
|
+
this.cvvVerificationEnabled = cvvVerificationEnabled;
|
|
4939
|
+
this.cvvVerificationNEnabled = cvvVerificationNEnabled;
|
|
4940
|
+
this.cvvVerificationPEnabled = cvvVerificationPEnabled;
|
|
4941
|
+
this.cvvVerificationSEnabled = cvvVerificationSEnabled;
|
|
4942
|
+
this.cvvVerificationUEnabled = cvvVerificationUEnabled;
|
|
4898
4943
|
}
|
|
4899
4944
|
}
|
|
4900
4945
|
exports.MerchantProfile = MerchantProfile;
|
|
@@ -4903,7 +4948,7 @@ exports.MerchantProfile = MerchantProfile;
|
|
|
4903
4948
|
*/
|
|
4904
4949
|
class MerchantProfileResponse {
|
|
4905
4950
|
// Constructor with default values for optional fields
|
|
4906
|
-
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) {
|
|
4907
4952
|
/**
|
|
4908
4953
|
* Whether or not the request succeeded.
|
|
4909
4954
|
*/
|
|
@@ -5132,6 +5177,27 @@ class MerchantProfileResponse {
|
|
|
5132
5177
|
* That a merchant is allowed to send a surcharge amount directly to the gateway.
|
|
5133
5178
|
*/
|
|
5134
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;
|
|
5135
5201
|
this.success = success;
|
|
5136
5202
|
this.error = error;
|
|
5137
5203
|
this.responseDescription = responseDescription;
|
|
@@ -5188,6 +5254,11 @@ class MerchantProfileResponse {
|
|
|
5188
5254
|
this.gatewayOnly = gatewayOnly;
|
|
5189
5255
|
this.bankAccounts = bankAccounts;
|
|
5190
5256
|
this.passthroughSurchargeEnabled = passthroughSurchargeEnabled;
|
|
5257
|
+
this.cvvVerificationEnabled = cvvVerificationEnabled;
|
|
5258
|
+
this.cvvVerificationNEnabled = cvvVerificationNEnabled;
|
|
5259
|
+
this.cvvVerificationPEnabled = cvvVerificationPEnabled;
|
|
5260
|
+
this.cvvVerificationSEnabled = cvvVerificationSEnabled;
|
|
5261
|
+
this.cvvVerificationUEnabled = cvvVerificationUEnabled;
|
|
5191
5262
|
}
|
|
5192
5263
|
}
|
|
5193
5264
|
exports.MerchantProfileResponse = MerchantProfileResponse;
|
|
@@ -10070,7 +10141,7 @@ exports.CoreRequest = CoreRequest;
|
|
|
10070
10141
|
*/
|
|
10071
10142
|
class PaymentMethodResponse {
|
|
10072
10143
|
// Constructor with default values for optional fields
|
|
10073
|
-
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) {
|
|
10074
10145
|
/**
|
|
10075
10146
|
* Address verification results if address information was submitted.
|
|
10076
10147
|
*/
|
|
@@ -10095,6 +10166,7 @@ class PaymentMethodResponse {
|
|
|
10095
10166
|
this.expMonth = expMonth;
|
|
10096
10167
|
this.expYear = expYear;
|
|
10097
10168
|
this.avsResponse = avsResponse;
|
|
10169
|
+
this.cvvResponse = cvvResponse;
|
|
10098
10170
|
this.receiptSuggestions = receiptSuggestions;
|
|
10099
10171
|
this.customer = customer;
|
|
10100
10172
|
this.customers = customers;
|