@blockchyp/blockchyp-ts 2.19.0 → 2.21.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/README.md +104 -1
- package/_bundles/blockchyp.js +880 -18
- 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/client.d.ts +9 -1
- package/lib/src/client.js +15 -1
- package/lib/src/client.js.map +1 -1
- package/lib/src/models.d.ts +840 -12
- package/lib/src/models.js +865 -17
- package/lib/src/models.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +15 -1
- package/src/models.ts +7473 -6031
package/lib/src/models.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright 2019-
|
|
2
|
+
* Copyright 2019-2025 BlockChyp, Inc. All rights reserved. Use of this code is governed
|
|
3
3
|
* by a license that can be found in the LICENSE file.
|
|
4
4
|
*
|
|
5
5
|
* This file was generated automatically by the BlockChyp SDK Generator. Changes to this
|
|
@@ -1062,7 +1062,11 @@ export declare class TokenMetadataResponse {
|
|
|
1062
1062
|
* The token metadata for a given query.
|
|
1063
1063
|
*/
|
|
1064
1064
|
token: CustomerToken | null;
|
|
1065
|
-
|
|
1065
|
+
/**
|
|
1066
|
+
* Details about a payment card derived from its BIN/IIN.
|
|
1067
|
+
*/
|
|
1068
|
+
cardMetadata?: CardMetadata;
|
|
1069
|
+
constructor(success?: boolean | null, error?: string | null, responseDescription?: string | null, token?: CustomerToken | null, cardMetadata?: CardMetadata | undefined);
|
|
1066
1070
|
}
|
|
1067
1071
|
/**
|
|
1068
1072
|
* Models a customer token.
|
|
@@ -1419,7 +1423,7 @@ export declare class AuthorizationRequest {
|
|
|
1419
1423
|
/**
|
|
1420
1424
|
* Details for HSA/FSA transactions.
|
|
1421
1425
|
*/
|
|
1422
|
-
|
|
1426
|
+
healthcareMetadata?: HealthcareMetadata;
|
|
1423
1427
|
/**
|
|
1424
1428
|
* That the transaction should be a cryptocurrency transaction. Value should be a
|
|
1425
1429
|
* crypto currency code (ETH, BTC) or ANY to prompt the user to choose from supported
|
|
@@ -1466,9 +1470,301 @@ export declare class AuthorizationRequest {
|
|
|
1466
1470
|
* gateway and is not directly calculated.
|
|
1467
1471
|
*/
|
|
1468
1472
|
passthroughSurcharge?: string;
|
|
1473
|
+
/**
|
|
1474
|
+
* Marks a transaction as HSA/FSA.
|
|
1475
|
+
*/
|
|
1476
|
+
healthcare?: boolean;
|
|
1477
|
+
/**
|
|
1478
|
+
* The total amount to process as healthcare.
|
|
1479
|
+
*/
|
|
1480
|
+
healthcareTotal?: string;
|
|
1481
|
+
/**
|
|
1482
|
+
* The total amount to process as ebt.
|
|
1483
|
+
*/
|
|
1484
|
+
ebtTotal?: string;
|
|
1485
|
+
/**
|
|
1486
|
+
* That this transaction will include a card metadata lookup.
|
|
1487
|
+
*/
|
|
1488
|
+
cardMetadataLookup?: boolean;
|
|
1469
1489
|
constructor(timeout?: number | null, test?: boolean | null, transactionRef?: string | undefined, autogeneratedRef?: boolean | null, async?: boolean | null, queue?: boolean | null, waitForRemovedCard?: boolean, force?: boolean, orderRef?: string | undefined, destinationAccount?: string | undefined, testCase?: string | undefined, token?: string | undefined, track1?: string | undefined, track2?: string | undefined, pan?: string | undefined, routingNumber?: string | undefined, cardholderName?: string | undefined, expMonth?: string | undefined, expYear?: string | undefined, cvv?: string | undefined, address?: string | undefined, postalCode?: string | undefined, manualEntry?: boolean, ksn?: string | undefined, pinBlock?: string | undefined, cardType?: CardType | undefined, paymentType?: string | undefined, currencyCode?: string | null, amount?: string | null, taxExempt?: boolean | null, surcharge?: boolean | null, cashDiscount?: boolean | null, sigFile?: string | undefined, sigFormat?: SignatureFormat | undefined, sigWidth?: number, disableSignature?: boolean, tipAmount?: string | undefined, taxAmount?: string | undefined, terminalName?: string | undefined, resetConnection?: boolean | null, transactionId?: string | undefined, onlineAuthCode?: string | undefined, enroll?: boolean, bypassDupeFilter?: boolean, description?: string | undefined, promptForTip?: boolean, cashBackEnabled?: boolean, cardOnFile?: boolean, recurring?: boolean, cit?: boolean, mit?: boolean, subscription?: boolean, purchaseOrderNumber?: string | undefined, supplierReferenceNumber?: string | undefined, lineItems?: TransactionDisplayItem[] | null, altPrices?: {
|
|
1470
1490
|
[key: string]: string;
|
|
1471
|
-
} | undefined, customer?: Customer | undefined, roundingMode?: RoundingMode | undefined,
|
|
1491
|
+
} | undefined, customer?: Customer | undefined, roundingMode?: RoundingMode | undefined, healthcareMetadata?: HealthcareMetadata | undefined, cryptocurrency?: string | undefined, cryptoNetwork?: string | undefined, cryptoReceiveAddress?: string | undefined, paymentRequestLabel?: string | undefined, paymentRequestMessage?: string | undefined, simulateChipRejection?: boolean, simulateOutOfOrderReversal?: boolean, asyncReversals?: boolean, passthroughSurcharge?: string | undefined, healthcare?: boolean, healthcareTotal?: string | undefined, ebtTotal?: string | undefined, cardMetadataLookup?: boolean);
|
|
1492
|
+
}
|
|
1493
|
+
/**
|
|
1494
|
+
* Essential information about a payment card derived from its BIN/IIN.
|
|
1495
|
+
*/
|
|
1496
|
+
export declare class CardMetadata {
|
|
1497
|
+
/**
|
|
1498
|
+
* The brand or network of the card (e.g., Visa, Mastercard, Amex).
|
|
1499
|
+
*/
|
|
1500
|
+
cardBrand: string | null;
|
|
1501
|
+
/**
|
|
1502
|
+
* The name of the financial institution that issued the card.
|
|
1503
|
+
*/
|
|
1504
|
+
issuerName: string | null;
|
|
1505
|
+
/**
|
|
1506
|
+
* Whether the card supports Level 3 processing for detailed transaction data.
|
|
1507
|
+
*/
|
|
1508
|
+
l3: boolean | null;
|
|
1509
|
+
/**
|
|
1510
|
+
* Whether the card supports Level 2 processing for additional transaction data.
|
|
1511
|
+
*/
|
|
1512
|
+
l2: boolean | null;
|
|
1513
|
+
/**
|
|
1514
|
+
* The general category or type of the card product.
|
|
1515
|
+
*/
|
|
1516
|
+
productType: string | null;
|
|
1517
|
+
/**
|
|
1518
|
+
* The specific name or designation of the card product.
|
|
1519
|
+
*/
|
|
1520
|
+
productName: string | null;
|
|
1521
|
+
/**
|
|
1522
|
+
* Whether the card is an Electronic Benefit Transfer (EBT) card.
|
|
1523
|
+
*/
|
|
1524
|
+
ebt: boolean | null;
|
|
1525
|
+
/**
|
|
1526
|
+
* Whether the card is a debit card.
|
|
1527
|
+
*/
|
|
1528
|
+
debit: boolean | null;
|
|
1529
|
+
/**
|
|
1530
|
+
* Whether the card is a healthcare-specific payment card.
|
|
1531
|
+
*/
|
|
1532
|
+
healthcare: boolean | null;
|
|
1533
|
+
/**
|
|
1534
|
+
* Whether the card is a prepaid card.
|
|
1535
|
+
*/
|
|
1536
|
+
prepaid: boolean | null;
|
|
1537
|
+
/**
|
|
1538
|
+
* The geographical region associated with the card's issuer.
|
|
1539
|
+
*/
|
|
1540
|
+
region: string | null;
|
|
1541
|
+
/**
|
|
1542
|
+
* The country associated with the card's issuer.
|
|
1543
|
+
*/
|
|
1544
|
+
country: string | null;
|
|
1545
|
+
constructor(cardBrand?: string | null, issuerName?: string | null, l3?: boolean | null, l2?: boolean | null, productType?: string | null, productName?: string | null, ebt?: boolean | null, debit?: boolean | null, healthcare?: boolean | null, prepaid?: boolean | null, region?: string | null, country?: string | null);
|
|
1546
|
+
}
|
|
1547
|
+
/**
|
|
1548
|
+
* Retrieves card metadata.
|
|
1549
|
+
*/
|
|
1550
|
+
export declare class CardMetadataRequest {
|
|
1551
|
+
/**
|
|
1552
|
+
* The request timeout in seconds.
|
|
1553
|
+
*/
|
|
1554
|
+
timeout: number | null;
|
|
1555
|
+
/**
|
|
1556
|
+
* Whether or not to route transaction to the test gateway.
|
|
1557
|
+
*/
|
|
1558
|
+
test: boolean | null;
|
|
1559
|
+
/**
|
|
1560
|
+
* A user-assigned reference that can be used to recall or reverse transactions.
|
|
1561
|
+
*/
|
|
1562
|
+
transactionRef?: string;
|
|
1563
|
+
/**
|
|
1564
|
+
* That the transaction reference was autogenerated and should be ignored for the
|
|
1565
|
+
* purposes of duplicate detection.
|
|
1566
|
+
*/
|
|
1567
|
+
autogeneratedRef: boolean | null;
|
|
1568
|
+
/**
|
|
1569
|
+
* Defers the response to the transaction and returns immediately. Callers should
|
|
1570
|
+
* retrive the transaction result using the Transaction Status API.
|
|
1571
|
+
*/
|
|
1572
|
+
async: boolean | null;
|
|
1573
|
+
/**
|
|
1574
|
+
* Adds the transaction to the queue and returns immediately. Callers should retrive
|
|
1575
|
+
* the transaction result using the Transaction Status API.
|
|
1576
|
+
*/
|
|
1577
|
+
queue: boolean | null;
|
|
1578
|
+
/**
|
|
1579
|
+
* Whether or not the request should block until all cards have been removed from the card
|
|
1580
|
+
* reader.
|
|
1581
|
+
*/
|
|
1582
|
+
waitForRemovedCard?: boolean;
|
|
1583
|
+
/**
|
|
1584
|
+
* Override any in-progress transactions.
|
|
1585
|
+
*/
|
|
1586
|
+
force?: boolean;
|
|
1587
|
+
/**
|
|
1588
|
+
* An identifier from an external point of sale system.
|
|
1589
|
+
*/
|
|
1590
|
+
orderRef?: string;
|
|
1591
|
+
/**
|
|
1592
|
+
* The settlement account for merchants with split settlements.
|
|
1593
|
+
*/
|
|
1594
|
+
destinationAccount?: string;
|
|
1595
|
+
/**
|
|
1596
|
+
* Can include a code used to trigger simulated conditions for the purposes of testing
|
|
1597
|
+
* and certification. Valid for test merchant accounts only.
|
|
1598
|
+
*/
|
|
1599
|
+
testCase?: string;
|
|
1600
|
+
/**
|
|
1601
|
+
* The payment token to be used for this transaction. This should be used for recurring
|
|
1602
|
+
* transactions.
|
|
1603
|
+
*/
|
|
1604
|
+
token?: string;
|
|
1605
|
+
/**
|
|
1606
|
+
* Track 1 magnetic stripe data.
|
|
1607
|
+
*/
|
|
1608
|
+
track1?: string;
|
|
1609
|
+
/**
|
|
1610
|
+
* Track 2 magnetic stripe data.
|
|
1611
|
+
*/
|
|
1612
|
+
track2?: string;
|
|
1613
|
+
/**
|
|
1614
|
+
* The primary account number. We recommend using the terminal or e-commerce
|
|
1615
|
+
* tokenization libraries instead of passing account numbers in directly, as this
|
|
1616
|
+
* would put your application in PCI scope.
|
|
1617
|
+
*/
|
|
1618
|
+
pan?: string;
|
|
1619
|
+
/**
|
|
1620
|
+
* The ACH routing number for ACH transactions.
|
|
1621
|
+
*/
|
|
1622
|
+
routingNumber?: string;
|
|
1623
|
+
/**
|
|
1624
|
+
* The cardholder name. Only required if the request includes a primary account number
|
|
1625
|
+
* or track data.
|
|
1626
|
+
*/
|
|
1627
|
+
cardholderName?: string;
|
|
1628
|
+
/**
|
|
1629
|
+
* The card expiration month for use with PAN based transactions.
|
|
1630
|
+
*/
|
|
1631
|
+
expMonth?: string;
|
|
1632
|
+
/**
|
|
1633
|
+
* The card expiration year for use with PAN based transactions.
|
|
1634
|
+
*/
|
|
1635
|
+
expYear?: string;
|
|
1636
|
+
/**
|
|
1637
|
+
* The card CVV for use with PAN based transactions.
|
|
1638
|
+
*/
|
|
1639
|
+
cvv?: string;
|
|
1640
|
+
/**
|
|
1641
|
+
* The cardholder address for use with address verification.
|
|
1642
|
+
*/
|
|
1643
|
+
address?: string;
|
|
1644
|
+
/**
|
|
1645
|
+
* The cardholder postal code for use with address verification.
|
|
1646
|
+
*/
|
|
1647
|
+
postalCode?: string;
|
|
1648
|
+
/**
|
|
1649
|
+
* That the payment entry method is a manual keyed transaction. If this is true, no other
|
|
1650
|
+
* payment method will be accepted.
|
|
1651
|
+
*/
|
|
1652
|
+
manualEntry?: boolean;
|
|
1653
|
+
/**
|
|
1654
|
+
* The key serial number used for DUKPT encryption.
|
|
1655
|
+
*/
|
|
1656
|
+
ksn?: string;
|
|
1657
|
+
/**
|
|
1658
|
+
* The encrypted pin block.
|
|
1659
|
+
*/
|
|
1660
|
+
pinBlock?: string;
|
|
1661
|
+
/**
|
|
1662
|
+
* Designates categories of cards: credit, debit, EBT.
|
|
1663
|
+
*/
|
|
1664
|
+
cardType?: CardType;
|
|
1665
|
+
/**
|
|
1666
|
+
* Designates brands of payment methods: Visa, Discover, etc.
|
|
1667
|
+
*/
|
|
1668
|
+
paymentType?: string;
|
|
1669
|
+
/**
|
|
1670
|
+
* The name of the target payment terminal.
|
|
1671
|
+
*/
|
|
1672
|
+
terminalName?: string;
|
|
1673
|
+
/**
|
|
1674
|
+
* Forces the terminal cloud connection to be reset while a transactions is in flight.
|
|
1675
|
+
* This is a diagnostic settings that can be used only for test transactions.
|
|
1676
|
+
*/
|
|
1677
|
+
resetConnection: boolean | null;
|
|
1678
|
+
/**
|
|
1679
|
+
* Marks a transaction as HSA/FSA.
|
|
1680
|
+
*/
|
|
1681
|
+
healthcare?: boolean;
|
|
1682
|
+
constructor(timeout?: number | null, test?: boolean | null, transactionRef?: string | undefined, autogeneratedRef?: boolean | null, async?: boolean | null, queue?: boolean | null, waitForRemovedCard?: boolean, force?: boolean, orderRef?: string | undefined, destinationAccount?: string | undefined, testCase?: string | undefined, token?: string | undefined, track1?: string | undefined, track2?: string | undefined, pan?: string | undefined, routingNumber?: string | undefined, cardholderName?: string | undefined, expMonth?: string | undefined, expYear?: string | undefined, cvv?: string | undefined, address?: string | undefined, postalCode?: string | undefined, manualEntry?: boolean, ksn?: string | undefined, pinBlock?: string | undefined, cardType?: CardType | undefined, paymentType?: string | undefined, terminalName?: string | undefined, resetConnection?: boolean | null, healthcare?: boolean);
|
|
1683
|
+
}
|
|
1684
|
+
/**
|
|
1685
|
+
* The response to a card metadata request.
|
|
1686
|
+
*/
|
|
1687
|
+
export declare class CardMetadataResponse {
|
|
1688
|
+
/**
|
|
1689
|
+
* Whether or not the request succeeded.
|
|
1690
|
+
*/
|
|
1691
|
+
success: boolean | null;
|
|
1692
|
+
/**
|
|
1693
|
+
* The error, if an error occurred.
|
|
1694
|
+
*/
|
|
1695
|
+
error: string | null;
|
|
1696
|
+
/**
|
|
1697
|
+
* A narrative description of the transaction result.
|
|
1698
|
+
*/
|
|
1699
|
+
responseDescription: string | null;
|
|
1700
|
+
/**
|
|
1701
|
+
* The payment token, if the payment was enrolled in the vault.
|
|
1702
|
+
*/
|
|
1703
|
+
token?: string;
|
|
1704
|
+
/**
|
|
1705
|
+
* The entry method for the transaction (CHIP, MSR, KEYED, etc).
|
|
1706
|
+
*/
|
|
1707
|
+
entryMethod?: string;
|
|
1708
|
+
/**
|
|
1709
|
+
* The card brand (VISA, MC, AMEX, DEBIT, etc).
|
|
1710
|
+
*/
|
|
1711
|
+
paymentType?: string;
|
|
1712
|
+
/**
|
|
1713
|
+
* Provides network level detail on how a transaction was routed, especially for debit
|
|
1714
|
+
* transactions.
|
|
1715
|
+
*/
|
|
1716
|
+
network?: string;
|
|
1717
|
+
/**
|
|
1718
|
+
* Identifies the card association based on bin number. Used primarily used to indicate
|
|
1719
|
+
* the major logo on a card, even when debit transactions are routed on a different
|
|
1720
|
+
* network.
|
|
1721
|
+
*/
|
|
1722
|
+
logo?: string;
|
|
1723
|
+
/**
|
|
1724
|
+
* The masked primary account number.
|
|
1725
|
+
*/
|
|
1726
|
+
maskedPan?: string;
|
|
1727
|
+
/**
|
|
1728
|
+
* The BlockChyp public key if the user presented a BlockChyp payment card.
|
|
1729
|
+
*/
|
|
1730
|
+
publicKey?: string;
|
|
1731
|
+
/**
|
|
1732
|
+
* That the transaction did something that would put the system in PCI scope.
|
|
1733
|
+
*/
|
|
1734
|
+
ScopeAlert?: boolean;
|
|
1735
|
+
/**
|
|
1736
|
+
* The cardholder name.
|
|
1737
|
+
*/
|
|
1738
|
+
cardHolder?: string;
|
|
1739
|
+
/**
|
|
1740
|
+
* The card expiration month in MM format.
|
|
1741
|
+
*/
|
|
1742
|
+
expMonth?: string;
|
|
1743
|
+
/**
|
|
1744
|
+
* The card expiration year in YY format.
|
|
1745
|
+
*/
|
|
1746
|
+
expYear?: string;
|
|
1747
|
+
/**
|
|
1748
|
+
* Address verification results if address information was submitted.
|
|
1749
|
+
*/
|
|
1750
|
+
avsResponse: AVSResponse | null;
|
|
1751
|
+
/**
|
|
1752
|
+
* Suggested receipt fields.
|
|
1753
|
+
*/
|
|
1754
|
+
receiptSuggestions: ReceiptSuggestions | null;
|
|
1755
|
+
/**
|
|
1756
|
+
* Customer data, if any. Preserved for reverse compatibility.
|
|
1757
|
+
*/
|
|
1758
|
+
customer?: Customer;
|
|
1759
|
+
/**
|
|
1760
|
+
* Customer data, if any.
|
|
1761
|
+
*/
|
|
1762
|
+
customers: Customer[] | null;
|
|
1763
|
+
/**
|
|
1764
|
+
* Details about a payment card derived from its BIN/IIN.
|
|
1765
|
+
*/
|
|
1766
|
+
cardMetadata?: CardMetadata;
|
|
1767
|
+
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);
|
|
1472
1768
|
}
|
|
1473
1769
|
/**
|
|
1474
1770
|
* A request for the remaining balance on a payment type.
|
|
@@ -1913,7 +2209,7 @@ export declare class RefundRequest {
|
|
|
1913
2209
|
/**
|
|
1914
2210
|
* Details for HSA/FSA transactions.
|
|
1915
2211
|
*/
|
|
1916
|
-
|
|
2212
|
+
healthcareMetadata?: HealthcareMetadata;
|
|
1917
2213
|
/**
|
|
1918
2214
|
* Instructs the terminal to simulate a post auth chip rejection that would trigger an
|
|
1919
2215
|
* automatic reversal.
|
|
@@ -1936,7 +2232,11 @@ export declare class RefundRequest {
|
|
|
1936
2232
|
* Manually sets the MIT (Merchant Initiated Transaction) flag.
|
|
1937
2233
|
*/
|
|
1938
2234
|
mit?: boolean;
|
|
1939
|
-
|
|
2235
|
+
/**
|
|
2236
|
+
* That this transaction will include a card metadata lookup.
|
|
2237
|
+
*/
|
|
2238
|
+
cardMetadataLookup?: boolean;
|
|
2239
|
+
constructor(timeout?: number | null, test?: boolean | null, transactionRef?: string | undefined, autogeneratedRef?: boolean | null, async?: boolean | null, queue?: boolean | null, waitForRemovedCard?: boolean, force?: boolean, orderRef?: string | undefined, destinationAccount?: string | undefined, testCase?: string | undefined, token?: string | undefined, track1?: string | undefined, track2?: string | undefined, pan?: string | undefined, routingNumber?: string | undefined, cardholderName?: string | undefined, expMonth?: string | undefined, expYear?: string | undefined, cvv?: string | undefined, address?: string | undefined, postalCode?: string | undefined, manualEntry?: boolean, ksn?: string | undefined, pinBlock?: string | undefined, cardType?: CardType | undefined, paymentType?: string | undefined, transactionId?: string | null, currencyCode?: string | null, amount?: string | null, taxExempt?: boolean | null, surcharge?: boolean | null, cashDiscount?: boolean | null, sigFile?: string | undefined, sigFormat?: SignatureFormat | undefined, sigWidth?: number, disableSignature?: boolean, tipAmount?: string | undefined, taxAmount?: string | undefined, terminalName?: string | undefined, resetConnection?: boolean | null, healthcareMetadata?: HealthcareMetadata | undefined, simulateChipRejection?: boolean, simulateOutOfOrderReversal?: boolean, asyncReversals?: boolean, cit?: boolean, mit?: boolean, cardMetadataLookup?: boolean);
|
|
1940
2240
|
}
|
|
1941
2241
|
/**
|
|
1942
2242
|
* The information needed to capture a preauth.
|
|
@@ -2557,7 +2857,11 @@ export declare class EnrollRequest {
|
|
|
2557
2857
|
* recurring transaction.
|
|
2558
2858
|
*/
|
|
2559
2859
|
subscription?: boolean;
|
|
2560
|
-
|
|
2860
|
+
/**
|
|
2861
|
+
* That this transaction will include a card metadata lookup.
|
|
2862
|
+
*/
|
|
2863
|
+
cardMetadataLookup?: boolean;
|
|
2864
|
+
constructor(timeout?: number | null, test?: boolean | null, transactionRef?: string | undefined, autogeneratedRef?: boolean | null, async?: boolean | null, queue?: boolean | null, waitForRemovedCard?: boolean, force?: boolean, orderRef?: string | undefined, destinationAccount?: string | undefined, testCase?: string | undefined, token?: string | undefined, track1?: string | undefined, track2?: string | undefined, pan?: string | undefined, routingNumber?: string | undefined, cardholderName?: string | undefined, expMonth?: string | undefined, expYear?: string | undefined, cvv?: string | undefined, address?: string | undefined, postalCode?: string | undefined, manualEntry?: boolean, ksn?: string | undefined, pinBlock?: string | undefined, cardType?: CardType | undefined, paymentType?: string | undefined, terminalName?: string | undefined, resetConnection?: boolean | null, entryMethod?: string | undefined, customer?: Customer | undefined, recurring?: boolean, subscription?: boolean, cardMetadataLookup?: boolean);
|
|
2561
2865
|
}
|
|
2562
2866
|
/**
|
|
2563
2867
|
* The response to an enroll request.
|
|
@@ -2694,7 +2998,11 @@ export declare class EnrollResponse {
|
|
|
2694
2998
|
* The hex encoded signature data.
|
|
2695
2999
|
*/
|
|
2696
3000
|
sigFile?: string;
|
|
2697
|
-
|
|
3001
|
+
/**
|
|
3002
|
+
* Details about a payment card derived from its BIN/IIN.
|
|
3003
|
+
*/
|
|
3004
|
+
cardMetadata?: CardMetadata;
|
|
3005
|
+
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);
|
|
2698
3006
|
}
|
|
2699
3007
|
/**
|
|
2700
3008
|
* The information needed to enroll a new payment method in the token vault.
|
|
@@ -3452,7 +3760,11 @@ export declare class AuthorizationResponse {
|
|
|
3452
3760
|
* The current status of a transaction.
|
|
3453
3761
|
*/
|
|
3454
3762
|
status: string | null;
|
|
3455
|
-
|
|
3763
|
+
/**
|
|
3764
|
+
* Details about a payment card derived from its BIN/IIN.
|
|
3765
|
+
*/
|
|
3766
|
+
cardMetadata?: CardMetadata;
|
|
3767
|
+
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);
|
|
3456
3768
|
}
|
|
3457
3769
|
/**
|
|
3458
3770
|
* Models the request for updated information about a transaction.
|
|
@@ -5560,7 +5872,11 @@ export declare class MerchantProfile {
|
|
|
5560
5872
|
* Bank accounts for split bank account merchants.
|
|
5561
5873
|
*/
|
|
5562
5874
|
bankAccounts: BankAccount[] | null;
|
|
5563
|
-
|
|
5875
|
+
/**
|
|
5876
|
+
* That a merchant is allowed to send a surcharge amount directly to the gateway.
|
|
5877
|
+
*/
|
|
5878
|
+
passthroughSurchargeEnabled: boolean | null;
|
|
5879
|
+
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);
|
|
5564
5880
|
}
|
|
5565
5881
|
/**
|
|
5566
5882
|
* Models a response for a single merchant profile.
|
|
@@ -5790,7 +6106,11 @@ export declare class MerchantProfileResponse {
|
|
|
5790
6106
|
* Bank accounts for split bank account merchants.
|
|
5791
6107
|
*/
|
|
5792
6108
|
bankAccounts: BankAccount[] | null;
|
|
5793
|
-
|
|
6109
|
+
/**
|
|
6110
|
+
* That a merchant is allowed to send a surcharge amount directly to the gateway.
|
|
6111
|
+
*/
|
|
6112
|
+
passthroughSurchargeEnabled: boolean | null;
|
|
6113
|
+
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);
|
|
5794
6114
|
}
|
|
5795
6115
|
/**
|
|
5796
6116
|
* Models meta data about a merchant bank account.
|
|
@@ -6266,7 +6586,7 @@ export declare class UnlinkTokenRequest {
|
|
|
6266
6586
|
/**
|
|
6267
6587
|
* Fields for HSA/FSA transactions.
|
|
6268
6588
|
*/
|
|
6269
|
-
export declare class
|
|
6589
|
+
export declare class HealthcareMetadata {
|
|
6270
6590
|
/**
|
|
6271
6591
|
* A list of healthcare categories in the transaction.
|
|
6272
6592
|
*/
|
|
@@ -9033,6 +9353,506 @@ export declare class AggregateBillingLineItemStats {
|
|
|
9033
9353
|
max: string | null;
|
|
9034
9354
|
constructor(min?: string | null, avg?: string | null, max?: string | null);
|
|
9035
9355
|
}
|
|
9356
|
+
/**
|
|
9357
|
+
* Models an individual with 25% or more ownership interest in a company.
|
|
9358
|
+
*/
|
|
9359
|
+
export declare class Owner {
|
|
9360
|
+
/**
|
|
9361
|
+
* The first name of the owner.
|
|
9362
|
+
*/
|
|
9363
|
+
firstName: string | null;
|
|
9364
|
+
/**
|
|
9365
|
+
* The last name of the owner.
|
|
9366
|
+
*/
|
|
9367
|
+
lastName: string | null;
|
|
9368
|
+
/**
|
|
9369
|
+
* The job title of the owner.
|
|
9370
|
+
*/
|
|
9371
|
+
jobTitle: string | null;
|
|
9372
|
+
/**
|
|
9373
|
+
* The tax identification number (SSN) of the owner.
|
|
9374
|
+
*/
|
|
9375
|
+
taxIdNumber: string | null;
|
|
9376
|
+
/**
|
|
9377
|
+
* The phone number of the owner.
|
|
9378
|
+
*/
|
|
9379
|
+
phoneNumber: string | null;
|
|
9380
|
+
/**
|
|
9381
|
+
* The date of birth of the owner in mm/dd/yyyy format.
|
|
9382
|
+
*/
|
|
9383
|
+
dob: string | null;
|
|
9384
|
+
/**
|
|
9385
|
+
* The percentage of ownership.
|
|
9386
|
+
*/
|
|
9387
|
+
ownership: string | null;
|
|
9388
|
+
/**
|
|
9389
|
+
* The address of the owner.
|
|
9390
|
+
*/
|
|
9391
|
+
address: Address | null;
|
|
9392
|
+
/**
|
|
9393
|
+
* The email address of the owner.
|
|
9394
|
+
*/
|
|
9395
|
+
email: string | null;
|
|
9396
|
+
/**
|
|
9397
|
+
* A single line representation of the owner's address.
|
|
9398
|
+
*/
|
|
9399
|
+
singleLineAddress: string | null;
|
|
9400
|
+
/**
|
|
9401
|
+
* The type of entity this owner represents.
|
|
9402
|
+
*/
|
|
9403
|
+
entityType: string | null;
|
|
9404
|
+
/**
|
|
9405
|
+
* The driver's license number of the owner.
|
|
9406
|
+
*/
|
|
9407
|
+
dlNumber: string | null;
|
|
9408
|
+
/**
|
|
9409
|
+
* The state that issued the owner's driver's license.
|
|
9410
|
+
*/
|
|
9411
|
+
dlStateOrProvince: string | null;
|
|
9412
|
+
/**
|
|
9413
|
+
* The expiration date of the owner's driver's license.
|
|
9414
|
+
*/
|
|
9415
|
+
dlExpiration: string | null;
|
|
9416
|
+
constructor(firstName?: string | null, lastName?: string | null, jobTitle?: string | null, taxIdNumber?: string | null, phoneNumber?: string | null, dob?: string | null, ownership?: string | null, address?: Address | null, email?: string | null, singleLineAddress?: string | null, entityType?: string | null, dlNumber?: string | null, dlStateOrProvince?: string | null, dlExpiration?: string | null);
|
|
9417
|
+
}
|
|
9418
|
+
/**
|
|
9419
|
+
* Models a bank account associated with an application.
|
|
9420
|
+
*/
|
|
9421
|
+
export declare class ApplicationAccount {
|
|
9422
|
+
/**
|
|
9423
|
+
* The name of the bank account.
|
|
9424
|
+
*/
|
|
9425
|
+
name: string | null;
|
|
9426
|
+
/**
|
|
9427
|
+
* The name of the bank.
|
|
9428
|
+
*/
|
|
9429
|
+
bank: string | null;
|
|
9430
|
+
/**
|
|
9431
|
+
* The name of the account holder.
|
|
9432
|
+
*/
|
|
9433
|
+
accountHolderName: string | null;
|
|
9434
|
+
/**
|
|
9435
|
+
* The routing number of the bank.
|
|
9436
|
+
*/
|
|
9437
|
+
routingNumber: string | null;
|
|
9438
|
+
/**
|
|
9439
|
+
* The account number.
|
|
9440
|
+
*/
|
|
9441
|
+
accountNumber: string | null;
|
|
9442
|
+
constructor(name?: string | null, bank?: string | null, accountHolderName?: string | null, routingNumber?: string | null, accountNumber?: string | null);
|
|
9443
|
+
}
|
|
9444
|
+
/**
|
|
9445
|
+
* Models a merchant application form to add a merchant account.
|
|
9446
|
+
*/
|
|
9447
|
+
export declare class MerchantApplication {
|
|
9448
|
+
/**
|
|
9449
|
+
* The invite code for the merchant.
|
|
9450
|
+
*/
|
|
9451
|
+
inviteCode: string | null;
|
|
9452
|
+
/**
|
|
9453
|
+
* The business name your customers know you by (DBA Name).
|
|
9454
|
+
*/
|
|
9455
|
+
dbaName: string | null;
|
|
9456
|
+
/**
|
|
9457
|
+
* The name of the legal entity you file your taxes under.
|
|
9458
|
+
*/
|
|
9459
|
+
corporateName: string | null;
|
|
9460
|
+
/**
|
|
9461
|
+
* The business website.
|
|
9462
|
+
*/
|
|
9463
|
+
webSite: string | null;
|
|
9464
|
+
/**
|
|
9465
|
+
* The business tax identification number (EIN).
|
|
9466
|
+
*/
|
|
9467
|
+
taxIdNumber: string | null;
|
|
9468
|
+
/**
|
|
9469
|
+
* The type of business entity.
|
|
9470
|
+
*/
|
|
9471
|
+
entityType: string | null;
|
|
9472
|
+
/**
|
|
9473
|
+
* The state where the business is incorporated.
|
|
9474
|
+
*/
|
|
9475
|
+
stateOfIncorporation: string | null;
|
|
9476
|
+
/**
|
|
9477
|
+
* The primary type of business (e.g., Retail, Service, etc.).
|
|
9478
|
+
*/
|
|
9479
|
+
merchantType: string | null;
|
|
9480
|
+
/**
|
|
9481
|
+
* A short description of the products and services sold.
|
|
9482
|
+
*/
|
|
9483
|
+
businessDescription: string | null;
|
|
9484
|
+
/**
|
|
9485
|
+
* The number of years the business has been operating.
|
|
9486
|
+
*/
|
|
9487
|
+
yearsInBusiness: string | null;
|
|
9488
|
+
/**
|
|
9489
|
+
* The business telephone number.
|
|
9490
|
+
*/
|
|
9491
|
+
businessPhoneNumber: string | null;
|
|
9492
|
+
/**
|
|
9493
|
+
* The physical address of the business.
|
|
9494
|
+
*/
|
|
9495
|
+
physicalAddress: Address | null;
|
|
9496
|
+
/**
|
|
9497
|
+
* The mailing address of the business.
|
|
9498
|
+
*/
|
|
9499
|
+
mailingAddress: Address | null;
|
|
9500
|
+
/**
|
|
9501
|
+
* The first name of the primary contact.
|
|
9502
|
+
*/
|
|
9503
|
+
contactFirstName: string | null;
|
|
9504
|
+
/**
|
|
9505
|
+
* The last name of the primary contact.
|
|
9506
|
+
*/
|
|
9507
|
+
contactLastName: string | null;
|
|
9508
|
+
/**
|
|
9509
|
+
* The phone number of the primary contact.
|
|
9510
|
+
*/
|
|
9511
|
+
contactPhoneNumber: string | null;
|
|
9512
|
+
/**
|
|
9513
|
+
* The email address of the primary contact.
|
|
9514
|
+
*/
|
|
9515
|
+
contactEmail: string | null;
|
|
9516
|
+
/**
|
|
9517
|
+
* The job title of the primary contact.
|
|
9518
|
+
*/
|
|
9519
|
+
contactTitle: string | null;
|
|
9520
|
+
/**
|
|
9521
|
+
* The tax identification number (SSN) of the primary contact.
|
|
9522
|
+
*/
|
|
9523
|
+
contactTaxIdNumber: string | null;
|
|
9524
|
+
/**
|
|
9525
|
+
* The date of birth of the primary contact.
|
|
9526
|
+
*/
|
|
9527
|
+
contactDOB: string | null;
|
|
9528
|
+
/**
|
|
9529
|
+
* The driver's license number of the primary contact.
|
|
9530
|
+
*/
|
|
9531
|
+
contactDlNumber: string | null;
|
|
9532
|
+
/**
|
|
9533
|
+
* The state that issued the primary contact's driver's license.
|
|
9534
|
+
*/
|
|
9535
|
+
contactDlStateOrProvince: string | null;
|
|
9536
|
+
/**
|
|
9537
|
+
* The expiration date of the primary contact's driver's license.
|
|
9538
|
+
*/
|
|
9539
|
+
contactDlExpiration: string | null;
|
|
9540
|
+
/**
|
|
9541
|
+
* The home address of the primary contact.
|
|
9542
|
+
*/
|
|
9543
|
+
contactHomeAddress: Address | null;
|
|
9544
|
+
/**
|
|
9545
|
+
* The role of the primary contact in the business.
|
|
9546
|
+
*/
|
|
9547
|
+
contactRole: string | null;
|
|
9548
|
+
/**
|
|
9549
|
+
* List of individuals with 25% or more ownership in the company.
|
|
9550
|
+
*/
|
|
9551
|
+
owners: Owner[] | null;
|
|
9552
|
+
/**
|
|
9553
|
+
* The bank account information for the business.
|
|
9554
|
+
*/
|
|
9555
|
+
manualAccount: ApplicationAccount | null;
|
|
9556
|
+
/**
|
|
9557
|
+
* The average transaction amount.
|
|
9558
|
+
*/
|
|
9559
|
+
averageTransaction: string | null;
|
|
9560
|
+
/**
|
|
9561
|
+
* The highest expected transaction amount.
|
|
9562
|
+
*/
|
|
9563
|
+
highTransaction: string | null;
|
|
9564
|
+
/**
|
|
9565
|
+
* The average monthly transaction volume.
|
|
9566
|
+
*/
|
|
9567
|
+
averageMonth: string | null;
|
|
9568
|
+
/**
|
|
9569
|
+
* The highest expected monthly transaction volume.
|
|
9570
|
+
*/
|
|
9571
|
+
highMonth: string | null;
|
|
9572
|
+
/**
|
|
9573
|
+
* The refund policy of the business.
|
|
9574
|
+
*/
|
|
9575
|
+
refundPolicy: string | null;
|
|
9576
|
+
/**
|
|
9577
|
+
* The number of days after purchase that refunds can be issued.
|
|
9578
|
+
*/
|
|
9579
|
+
refundDays: string | null;
|
|
9580
|
+
/**
|
|
9581
|
+
* The time zone of the business.
|
|
9582
|
+
*/
|
|
9583
|
+
timeZone: string | null;
|
|
9584
|
+
/**
|
|
9585
|
+
* The time when the daily batch should close.
|
|
9586
|
+
*/
|
|
9587
|
+
batchCloseTime: string | null;
|
|
9588
|
+
/**
|
|
9589
|
+
* Indicates if the business has multiple locations.
|
|
9590
|
+
*/
|
|
9591
|
+
multipleLocations: string | null;
|
|
9592
|
+
/**
|
|
9593
|
+
* The name of this specific business location.
|
|
9594
|
+
*/
|
|
9595
|
+
locationName: string | null;
|
|
9596
|
+
/**
|
|
9597
|
+
* The store number for this location.
|
|
9598
|
+
*/
|
|
9599
|
+
storeNumber: string | null;
|
|
9600
|
+
/**
|
|
9601
|
+
* Indicates if the business wants to accept EBT cards.
|
|
9602
|
+
*/
|
|
9603
|
+
ebtRequested: string | null;
|
|
9604
|
+
/**
|
|
9605
|
+
* The FNS number issued by the USDA for EBT processing.
|
|
9606
|
+
*/
|
|
9607
|
+
fnsNumber: string | null;
|
|
9608
|
+
/**
|
|
9609
|
+
* Indicates if the business plans to accept payments through a website.
|
|
9610
|
+
*/
|
|
9611
|
+
ecommerce: string | null;
|
|
9612
|
+
/**
|
|
9613
|
+
* Indicates if suppliers ship products directly to customers.
|
|
9614
|
+
*/
|
|
9615
|
+
dropShipping: boolean | null;
|
|
9616
|
+
/**
|
|
9617
|
+
* The percentage of transactions that will be chip or swipe.
|
|
9618
|
+
*/
|
|
9619
|
+
cardPresentPercentage: string | null;
|
|
9620
|
+
/**
|
|
9621
|
+
* The percentage of transactions that will be phone orders.
|
|
9622
|
+
*/
|
|
9623
|
+
phoneOrderPercentage: string | null;
|
|
9624
|
+
/**
|
|
9625
|
+
* The percentage of transactions that will be e-commerce.
|
|
9626
|
+
*/
|
|
9627
|
+
ecomPercentage: string | null;
|
|
9628
|
+
/**
|
|
9629
|
+
* The number of days before shipment that customers are charged.
|
|
9630
|
+
*/
|
|
9631
|
+
billBeforeShipmentDays: string | null;
|
|
9632
|
+
/**
|
|
9633
|
+
* Indicates if the business plans to process recurring payments.
|
|
9634
|
+
*/
|
|
9635
|
+
subscriptionsSupported: string | null;
|
|
9636
|
+
/**
|
|
9637
|
+
* The frequency of recurring payments (if applicable).
|
|
9638
|
+
*/
|
|
9639
|
+
subscriptionFrequency: string | null;
|
|
9640
|
+
/**
|
|
9641
|
+
* The full legal name of the person signing the application.
|
|
9642
|
+
*/
|
|
9643
|
+
signerName: string | null;
|
|
9644
|
+
constructor(inviteCode?: string | null, dbaName?: string | null, corporateName?: string | null, webSite?: string | null, taxIdNumber?: string | null, entityType?: string | null, stateOfIncorporation?: string | null, merchantType?: string | null, businessDescription?: string | null, yearsInBusiness?: string | null, businessPhoneNumber?: string | null, physicalAddress?: Address | null, mailingAddress?: Address | null, contactFirstName?: string | null, contactLastName?: string | null, contactPhoneNumber?: string | null, contactEmail?: string | null, contactTitle?: string | null, contactTaxIdNumber?: string | null, contactDOB?: string | null, contactDlNumber?: string | null, contactDlStateOrProvince?: string | null, contactDlExpiration?: string | null, contactHomeAddress?: Address | null, contactRole?: string | null, owners?: Owner[] | null, manualAccount?: ApplicationAccount | null, averageTransaction?: string | null, highTransaction?: string | null, averageMonth?: string | null, highMonth?: string | null, refundPolicy?: string | null, refundDays?: string | null, timeZone?: string | null, batchCloseTime?: string | null, multipleLocations?: string | null, locationName?: string | null, storeNumber?: string | null, ebtRequested?: string | null, fnsNumber?: string | null, ecommerce?: string | null, dropShipping?: boolean | null, cardPresentPercentage?: string | null, phoneOrderPercentage?: string | null, ecomPercentage?: string | null, billBeforeShipmentDays?: string | null, subscriptionsSupported?: string | null, subscriptionFrequency?: string | null, signerName?: string | null);
|
|
9645
|
+
}
|
|
9646
|
+
/**
|
|
9647
|
+
* Models a merchant application submission request to add a new merchant account.
|
|
9648
|
+
*/
|
|
9649
|
+
export declare class SubmitApplicationRequest {
|
|
9650
|
+
/**
|
|
9651
|
+
* The request timeout in seconds.
|
|
9652
|
+
*/
|
|
9653
|
+
timeout: number | null;
|
|
9654
|
+
/**
|
|
9655
|
+
* Whether or not to route transaction to the test gateway.
|
|
9656
|
+
*/
|
|
9657
|
+
test: boolean | null;
|
|
9658
|
+
/**
|
|
9659
|
+
* The invite code for the merchant.
|
|
9660
|
+
*/
|
|
9661
|
+
inviteCode: string | null;
|
|
9662
|
+
/**
|
|
9663
|
+
* The business name your customers know you by (DBA Name).
|
|
9664
|
+
*/
|
|
9665
|
+
dbaName: string | null;
|
|
9666
|
+
/**
|
|
9667
|
+
* The name of the legal entity you file your taxes under.
|
|
9668
|
+
*/
|
|
9669
|
+
corporateName: string | null;
|
|
9670
|
+
/**
|
|
9671
|
+
* The business website.
|
|
9672
|
+
*/
|
|
9673
|
+
webSite: string | null;
|
|
9674
|
+
/**
|
|
9675
|
+
* The business tax identification number (EIN).
|
|
9676
|
+
*/
|
|
9677
|
+
taxIdNumber: string | null;
|
|
9678
|
+
/**
|
|
9679
|
+
* The type of business entity.
|
|
9680
|
+
*/
|
|
9681
|
+
entityType: string | null;
|
|
9682
|
+
/**
|
|
9683
|
+
* The state where the business is incorporated.
|
|
9684
|
+
*/
|
|
9685
|
+
stateOfIncorporation: string | null;
|
|
9686
|
+
/**
|
|
9687
|
+
* The primary type of business (e.g., Retail, Service, etc.).
|
|
9688
|
+
*/
|
|
9689
|
+
merchantType: string | null;
|
|
9690
|
+
/**
|
|
9691
|
+
* A short description of the products and services sold.
|
|
9692
|
+
*/
|
|
9693
|
+
businessDescription: string | null;
|
|
9694
|
+
/**
|
|
9695
|
+
* The number of years the business has been operating.
|
|
9696
|
+
*/
|
|
9697
|
+
yearsInBusiness: string | null;
|
|
9698
|
+
/**
|
|
9699
|
+
* The business telephone number.
|
|
9700
|
+
*/
|
|
9701
|
+
businessPhoneNumber: string | null;
|
|
9702
|
+
/**
|
|
9703
|
+
* The physical address of the business.
|
|
9704
|
+
*/
|
|
9705
|
+
physicalAddress: Address | null;
|
|
9706
|
+
/**
|
|
9707
|
+
* The mailing address of the business.
|
|
9708
|
+
*/
|
|
9709
|
+
mailingAddress: Address | null;
|
|
9710
|
+
/**
|
|
9711
|
+
* The first name of the primary contact.
|
|
9712
|
+
*/
|
|
9713
|
+
contactFirstName: string | null;
|
|
9714
|
+
/**
|
|
9715
|
+
* The last name of the primary contact.
|
|
9716
|
+
*/
|
|
9717
|
+
contactLastName: string | null;
|
|
9718
|
+
/**
|
|
9719
|
+
* The phone number of the primary contact.
|
|
9720
|
+
*/
|
|
9721
|
+
contactPhoneNumber: string | null;
|
|
9722
|
+
/**
|
|
9723
|
+
* The email address of the primary contact.
|
|
9724
|
+
*/
|
|
9725
|
+
contactEmail: string | null;
|
|
9726
|
+
/**
|
|
9727
|
+
* The job title of the primary contact.
|
|
9728
|
+
*/
|
|
9729
|
+
contactTitle: string | null;
|
|
9730
|
+
/**
|
|
9731
|
+
* The tax identification number (SSN) of the primary contact.
|
|
9732
|
+
*/
|
|
9733
|
+
contactTaxIdNumber: string | null;
|
|
9734
|
+
/**
|
|
9735
|
+
* The date of birth of the primary contact.
|
|
9736
|
+
*/
|
|
9737
|
+
contactDOB: string | null;
|
|
9738
|
+
/**
|
|
9739
|
+
* The driver's license number of the primary contact.
|
|
9740
|
+
*/
|
|
9741
|
+
contactDlNumber: string | null;
|
|
9742
|
+
/**
|
|
9743
|
+
* The state that issued the primary contact's driver's license.
|
|
9744
|
+
*/
|
|
9745
|
+
contactDlStateOrProvince: string | null;
|
|
9746
|
+
/**
|
|
9747
|
+
* The expiration date of the primary contact's driver's license.
|
|
9748
|
+
*/
|
|
9749
|
+
contactDlExpiration: string | null;
|
|
9750
|
+
/**
|
|
9751
|
+
* The home address of the primary contact.
|
|
9752
|
+
*/
|
|
9753
|
+
contactHomeAddress: Address | null;
|
|
9754
|
+
/**
|
|
9755
|
+
* The role of the primary contact in the business.
|
|
9756
|
+
*/
|
|
9757
|
+
contactRole: string | null;
|
|
9758
|
+
/**
|
|
9759
|
+
* List of individuals with 25% or more ownership in the company.
|
|
9760
|
+
*/
|
|
9761
|
+
owners: Owner[] | null;
|
|
9762
|
+
/**
|
|
9763
|
+
* The bank account information for the business.
|
|
9764
|
+
*/
|
|
9765
|
+
manualAccount: ApplicationAccount | null;
|
|
9766
|
+
/**
|
|
9767
|
+
* The average transaction amount.
|
|
9768
|
+
*/
|
|
9769
|
+
averageTransaction: string | null;
|
|
9770
|
+
/**
|
|
9771
|
+
* The highest expected transaction amount.
|
|
9772
|
+
*/
|
|
9773
|
+
highTransaction: string | null;
|
|
9774
|
+
/**
|
|
9775
|
+
* The average monthly transaction volume.
|
|
9776
|
+
*/
|
|
9777
|
+
averageMonth: string | null;
|
|
9778
|
+
/**
|
|
9779
|
+
* The highest expected monthly transaction volume.
|
|
9780
|
+
*/
|
|
9781
|
+
highMonth: string | null;
|
|
9782
|
+
/**
|
|
9783
|
+
* The refund policy of the business.
|
|
9784
|
+
*/
|
|
9785
|
+
refundPolicy: string | null;
|
|
9786
|
+
/**
|
|
9787
|
+
* The number of days after purchase that refunds can be issued.
|
|
9788
|
+
*/
|
|
9789
|
+
refundDays: string | null;
|
|
9790
|
+
/**
|
|
9791
|
+
* The time zone of the business.
|
|
9792
|
+
*/
|
|
9793
|
+
timeZone: string | null;
|
|
9794
|
+
/**
|
|
9795
|
+
* The time when the daily batch should close.
|
|
9796
|
+
*/
|
|
9797
|
+
batchCloseTime: string | null;
|
|
9798
|
+
/**
|
|
9799
|
+
* Indicates if the business has multiple locations.
|
|
9800
|
+
*/
|
|
9801
|
+
multipleLocations: string | null;
|
|
9802
|
+
/**
|
|
9803
|
+
* The name of this specific business location.
|
|
9804
|
+
*/
|
|
9805
|
+
locationName: string | null;
|
|
9806
|
+
/**
|
|
9807
|
+
* The store number for this location.
|
|
9808
|
+
*/
|
|
9809
|
+
storeNumber: string | null;
|
|
9810
|
+
/**
|
|
9811
|
+
* Indicates if the business wants to accept EBT cards.
|
|
9812
|
+
*/
|
|
9813
|
+
ebtRequested: string | null;
|
|
9814
|
+
/**
|
|
9815
|
+
* The FNS number issued by the USDA for EBT processing.
|
|
9816
|
+
*/
|
|
9817
|
+
fnsNumber: string | null;
|
|
9818
|
+
/**
|
|
9819
|
+
* Indicates if the business plans to accept payments through a website.
|
|
9820
|
+
*/
|
|
9821
|
+
ecommerce: string | null;
|
|
9822
|
+
/**
|
|
9823
|
+
* Indicates if suppliers ship products directly to customers.
|
|
9824
|
+
*/
|
|
9825
|
+
dropShipping: boolean | null;
|
|
9826
|
+
/**
|
|
9827
|
+
* The percentage of transactions that will be chip or swipe.
|
|
9828
|
+
*/
|
|
9829
|
+
cardPresentPercentage: string | null;
|
|
9830
|
+
/**
|
|
9831
|
+
* The percentage of transactions that will be phone orders.
|
|
9832
|
+
*/
|
|
9833
|
+
phoneOrderPercentage: string | null;
|
|
9834
|
+
/**
|
|
9835
|
+
* The percentage of transactions that will be e-commerce.
|
|
9836
|
+
*/
|
|
9837
|
+
ecomPercentage: string | null;
|
|
9838
|
+
/**
|
|
9839
|
+
* The number of days before shipment that customers are charged.
|
|
9840
|
+
*/
|
|
9841
|
+
billBeforeShipmentDays: string | null;
|
|
9842
|
+
/**
|
|
9843
|
+
* Indicates if the business plans to process recurring payments.
|
|
9844
|
+
*/
|
|
9845
|
+
subscriptionsSupported: string | null;
|
|
9846
|
+
/**
|
|
9847
|
+
* The frequency of recurring payments (if applicable).
|
|
9848
|
+
*/
|
|
9849
|
+
subscriptionFrequency: string | null;
|
|
9850
|
+
/**
|
|
9851
|
+
* The full legal name of the person signing the application.
|
|
9852
|
+
*/
|
|
9853
|
+
signerName: string | null;
|
|
9854
|
+
constructor(timeout?: number | null, test?: boolean | null, inviteCode?: string | null, dbaName?: string | null, corporateName?: string | null, webSite?: string | null, taxIdNumber?: string | null, entityType?: string | null, stateOfIncorporation?: string | null, merchantType?: string | null, businessDescription?: string | null, yearsInBusiness?: string | null, businessPhoneNumber?: string | null, physicalAddress?: Address | null, mailingAddress?: Address | null, contactFirstName?: string | null, contactLastName?: string | null, contactPhoneNumber?: string | null, contactEmail?: string | null, contactTitle?: string | null, contactTaxIdNumber?: string | null, contactDOB?: string | null, contactDlNumber?: string | null, contactDlStateOrProvince?: string | null, contactDlExpiration?: string | null, contactHomeAddress?: Address | null, contactRole?: string | null, owners?: Owner[] | null, manualAccount?: ApplicationAccount | null, averageTransaction?: string | null, highTransaction?: string | null, averageMonth?: string | null, highMonth?: string | null, refundPolicy?: string | null, refundDays?: string | null, timeZone?: string | null, batchCloseTime?: string | null, multipleLocations?: string | null, locationName?: string | null, storeNumber?: string | null, ebtRequested?: string | null, fnsNumber?: string | null, ecommerce?: string | null, dropShipping?: boolean | null, cardPresentPercentage?: string | null, phoneOrderPercentage?: string | null, ecomPercentage?: string | null, billBeforeShipmentDays?: string | null, subscriptionsSupported?: string | null, subscriptionFrequency?: string | null, signerName?: string | null);
|
|
9855
|
+
}
|
|
9036
9856
|
/**
|
|
9037
9857
|
* A request for customer signature data.
|
|
9038
9858
|
*/
|
|
@@ -9089,6 +9909,14 @@ export declare class TerminalAuthorizationRequest {
|
|
|
9089
9909
|
request: AuthorizationRequest;
|
|
9090
9910
|
constructor(APICredentials: APICredentials, request: AuthorizationRequest);
|
|
9091
9911
|
}
|
|
9912
|
+
/**
|
|
9913
|
+
* Retrieves card metadata.
|
|
9914
|
+
*/
|
|
9915
|
+
export declare class TerminalCardMetadataRequest {
|
|
9916
|
+
APICredentials: APICredentials;
|
|
9917
|
+
request: CardMetadataRequest;
|
|
9918
|
+
constructor(APICredentials: APICredentials, request: CardMetadataRequest);
|
|
9919
|
+
}
|
|
9092
9920
|
/**
|
|
9093
9921
|
* A request for the remaining balance on a payment type.
|
|
9094
9922
|
*/
|