stripe 17.5.0 → 17.6.0-beta.2
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/CHANGELOG.md +1052 -109
- package/README.md +24 -16
- package/VERSION +1 -1
- package/cjs/apiVersion.js +1 -1
- package/cjs/resources/AccountNotices.js +21 -0
- package/cjs/resources/Capital/FinancingOffers.js +21 -0
- package/cjs/resources/Capital/FinancingSummary.js +12 -0
- package/cjs/resources/Capital/FinancingTransactions.js +17 -0
- package/cjs/resources/FinancialConnections/Accounts.js +5 -0
- package/cjs/resources/FinancialConnections/Institutions.js +17 -0
- package/cjs/resources/GiftCards/Cards.js +23 -0
- package/cjs/resources/GiftCards/Transactions.js +33 -0
- package/cjs/resources/Invoices.js +17 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +33 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +17 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +17 -0
- package/cjs/resources/Margins.js +22 -0
- package/cjs/resources/Orders.js +24 -0
- package/cjs/resources/PaymentAttemptRecords.js +17 -0
- package/cjs/resources/PaymentIntents.js +8 -0
- package/cjs/resources/PaymentRecords.js +29 -0
- package/cjs/resources/Quotes.js +32 -0
- package/cjs/resources/SubscriptionSchedules.js +4 -0
- package/cjs/resources/Tax/Associations.js +9 -0
- package/cjs/resources/Tax/Forms.js +20 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js +12 -0
- package/cjs/resources/Terminal/Readers.js +12 -0
- package/cjs/resources/Treasury/FinancialAccounts.js +4 -0
- package/cjs/resources.js +48 -10
- package/cjs/stripe.core.js +1 -1
- package/esm/apiVersion.js +1 -1
- package/esm/resources/AccountNotices.js +18 -0
- package/esm/resources/Capital/FinancingOffers.js +18 -0
- package/esm/resources/Capital/FinancingSummary.js +9 -0
- package/esm/resources/Capital/FinancingTransactions.js +14 -0
- package/esm/resources/FinancialConnections/Accounts.js +5 -0
- package/esm/resources/FinancialConnections/Institutions.js +14 -0
- package/esm/resources/GiftCards/Cards.js +20 -0
- package/esm/resources/GiftCards/Transactions.js +30 -0
- package/esm/resources/Invoices.js +17 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +30 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js +14 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js +14 -0
- package/esm/resources/Margins.js +19 -0
- package/esm/resources/Orders.js +21 -0
- package/esm/resources/PaymentAttemptRecords.js +14 -0
- package/esm/resources/PaymentIntents.js +8 -0
- package/esm/resources/PaymentRecords.js +26 -0
- package/esm/resources/Quotes.js +32 -0
- package/esm/resources/SubscriptionSchedules.js +4 -0
- package/esm/resources/Tax/Associations.js +6 -0
- package/esm/resources/Tax/Forms.js +17 -0
- package/esm/resources/Terminal/ReaderCollectedData.js +9 -0
- package/esm/resources/Terminal/Readers.js +12 -0
- package/esm/resources/Treasury/FinancialAccounts.js +4 -0
- package/esm/resources.js +33 -0
- package/esm/stripe.core.js +1 -1
- package/package.json +3 -15
- package/types/AccountLinksResource.d.ts +5 -1
- package/types/AccountNotices.d.ts +113 -0
- package/types/AccountNoticesResource.d.ts +98 -0
- package/types/AccountSessions.d.ts +175 -0
- package/types/AccountSessionsResource.d.ts +376 -0
- package/types/Accounts.d.ts +225 -1
- package/types/AccountsResource.d.ts +628 -0
- package/types/Billing/CreditBalanceTransactions.d.ts +1 -1
- package/types/Billing/MeterErrorReports.d.ts +106 -0
- package/types/BillingPortal/ConfigurationsResource.d.ts +2 -2
- package/types/Capital/FinancingOffers.d.ts +188 -0
- package/types/Capital/FinancingOffersResource.d.ts +97 -0
- package/types/Capital/FinancingSummary.d.ts +106 -0
- package/types/Capital/FinancingSummaryResource.d.ts +27 -0
- package/types/Capital/FinancingTransactions.d.ts +135 -0
- package/types/Capital/FinancingTransactionsResource.d.ts +68 -0
- package/types/Cards.d.ts +6 -1
- package/types/Charges.d.ts +159 -2
- package/types/ChargesResource.d.ts +1294 -0
- package/types/Checkout/Sessions.d.ts +359 -5
- package/types/Checkout/SessionsResource.d.ts +456 -5
- package/types/ConfirmationTokens.d.ts +110 -1
- package/types/Coupons.d.ts +1 -1
- package/types/CouponsResource.d.ts +1 -1
- package/types/CreditNoteLineItems.d.ts +1 -1
- package/types/CreditNotes.d.ts +22 -1
- package/types/CreditNotesResource.d.ts +51 -0
- package/types/CustomersResource.d.ts +8 -0
- package/types/EventTypes.d.ts +596 -0
- package/types/Events.d.ts +93 -0
- package/types/FinancialConnections/AccountInferredBalances.d.ts +38 -0
- package/types/FinancialConnections/Accounts.d.ts +29 -1
- package/types/FinancialConnections/AccountsResource.d.ts +35 -3
- package/types/FinancialConnections/Institutions.d.ts +93 -0
- package/types/FinancialConnections/InstitutionsResource.d.ts +47 -0
- package/types/FinancialConnections/Sessions.d.ts +49 -1
- package/types/FinancialConnections/SessionsResource.d.ts +38 -1
- package/types/FinancialConnections/TransactionsResource.d.ts +1 -1
- package/types/GiftCards/Cards.d.ts +118 -0
- package/types/GiftCards/CardsResource.d.ts +159 -0
- package/types/GiftCards/Transactions.d.ts +129 -0
- package/types/GiftCards/TransactionsResource.d.ts +201 -0
- package/types/InvoiceItems.d.ts +5 -0
- package/types/InvoiceItemsResource.d.ts +98 -0
- package/types/InvoiceLineItems.d.ts +29 -2
- package/types/InvoicePayments.d.ts +113 -0
- package/types/Invoices.d.ts +143 -3
- package/types/InvoicesResource.d.ts +4618 -933
- package/types/Issuing/Authorizations.d.ts +2 -1
- package/types/Issuing/CardholdersResource.d.ts +2 -1
- package/types/Issuing/CreditUnderwritingRecords.d.ts +451 -0
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +1032 -0
- package/types/Issuing/DisputeSettlementDetails.d.ts +73 -0
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +52 -0
- package/types/Issuing/FraudLiabilityDebits.d.ts +52 -0
- package/types/Issuing/FraudLiabilityDebitsResource.d.ts +52 -0
- package/types/Issuing/Settlements.d.ts +103 -0
- package/types/Issuing/Transactions.d.ts +3 -1
- package/types/Issuing/TransactionsResource.d.ts +5 -0
- package/types/LineItems.d.ts +32 -0
- package/types/Mandates.d.ts +77 -0
- package/types/Margins.d.ts +56 -0
- package/types/MarginsResource.d.ts +114 -0
- package/types/Orders.d.ts +1179 -0
- package/types/OrdersResource.d.ts +2961 -0
- package/types/PaymentAttemptRecords.d.ts +242 -0
- package/types/PaymentAttemptRecordsResource.d.ts +47 -0
- package/types/PaymentIntents.d.ts +653 -1
- package/types/PaymentIntentsResource.d.ts +8018 -3686
- package/types/PaymentLinks.d.ts +8 -0
- package/types/PaymentLinksResource.d.ts +30 -0
- package/types/PaymentMethodConfigurations.d.ts +216 -0
- package/types/PaymentMethodConfigurationsResource.d.ts +300 -0
- package/types/PaymentMethods.d.ts +110 -1
- package/types/PaymentMethodsResource.d.ts +149 -0
- package/types/PaymentRecords.d.ts +242 -0
- package/types/PaymentRecordsResource.d.ts +455 -0
- package/types/Prices.d.ts +22 -0
- package/types/PricesResource.d.ts +22 -0
- package/types/Products.d.ts +39 -0
- package/types/ProductsResource.d.ts +36 -0
- package/types/QuoteLines.d.ts +634 -0
- package/types/QuotePreviewInvoices.d.ts +1658 -0
- package/types/QuotePreviewSubscriptionSchedules.d.ts +824 -0
- package/types/Quotes.d.ts +591 -1
- package/types/QuotesResource.d.ts +2526 -194
- package/types/Refunds.d.ts +14 -0
- package/types/SetupAttempts.d.ts +43 -0
- package/types/SetupIntents.d.ts +116 -1
- package/types/SetupIntentsResource.d.ts +669 -3
- package/types/Sources.d.ts +29 -0
- package/types/SubscriptionItems.d.ts +21 -0
- package/types/SubscriptionItemsResource.d.ts +109 -0
- package/types/SubscriptionSchedules.d.ts +200 -0
- package/types/SubscriptionSchedulesResource.d.ts +1234 -16
- package/types/Subscriptions.d.ts +91 -1
- package/types/SubscriptionsResource.d.ts +369 -2
- package/types/Tax/Associations.d.ts +126 -0
- package/types/Tax/AssociationsResource.d.ts +29 -0
- package/types/Tax/Forms.d.ts +220 -0
- package/types/Tax/FormsResource.d.ts +107 -0
- package/types/Terminal/Configurations.d.ts +19 -0
- package/types/Terminal/ConfigurationsResource.d.ts +44 -0
- package/types/Terminal/ReaderCollectedData.d.ts +51 -0
- package/types/Terminal/ReaderCollectedDataResource.d.ts +29 -0
- package/types/Terminal/Readers.d.ts +310 -0
- package/types/Terminal/ReadersResource.d.ts +215 -0
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +112 -0
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
- package/types/TokensResource.d.ts +30 -0
- package/types/Treasury/FinancialAccountFeatures.d.ts +7 -0
- package/types/Treasury/FinancialAccounts.d.ts +12 -0
- package/types/Treasury/FinancialAccountsResource.d.ts +121 -0
- package/types/Treasury/OutboundTransfers.d.ts +43 -1
- package/types/Treasury/OutboundTransfersResource.d.ts +43 -0
- package/types/Treasury/ReceivedCredits.d.ts +36 -0
- package/types/Treasury/ReceivedCreditsResource.d.ts +1 -0
- package/types/Treasury/ReceivedDebits.d.ts +31 -0
- package/types/WebhookEndpointsResource.d.ts +72 -1
- package/types/index.d.ts +62 -0
- package/types/lib.d.ts +1 -1
- package/types/test/typescriptTest.ts +3 -3
package/types/PaymentLinks.d.ts
CHANGED
|
@@ -553,20 +553,27 @@ declare module 'stripe' {
|
|
|
553
553
|
| 'eps'
|
|
554
554
|
| 'fpx'
|
|
555
555
|
| 'giropay'
|
|
556
|
+
| 'gopay'
|
|
556
557
|
| 'grabpay'
|
|
557
558
|
| 'ideal'
|
|
558
559
|
| 'klarna'
|
|
559
560
|
| 'konbini'
|
|
560
561
|
| 'link'
|
|
562
|
+
| 'mb_way'
|
|
561
563
|
| 'mobilepay'
|
|
562
564
|
| 'multibanco'
|
|
563
565
|
| 'oxxo'
|
|
564
566
|
| 'p24'
|
|
567
|
+
| 'pay_by_bank'
|
|
565
568
|
| 'paynow'
|
|
566
569
|
| 'paypal'
|
|
570
|
+
| 'payto'
|
|
567
571
|
| 'pix'
|
|
568
572
|
| 'promptpay'
|
|
573
|
+
| 'qris'
|
|
574
|
+
| 'rechnung'
|
|
569
575
|
| 'sepa_debit'
|
|
576
|
+
| 'shopeepay'
|
|
570
577
|
| 'sofort'
|
|
571
578
|
| 'swish'
|
|
572
579
|
| 'twint'
|
|
@@ -792,6 +799,7 @@ declare module 'stripe' {
|
|
|
792
799
|
| 'SA'
|
|
793
800
|
| 'SB'
|
|
794
801
|
| 'SC'
|
|
802
|
+
| 'SD'
|
|
795
803
|
| 'SE'
|
|
796
804
|
| 'SG'
|
|
797
805
|
| 'SH'
|
|
@@ -614,20 +614,27 @@ declare module 'stripe' {
|
|
|
614
614
|
| 'eps'
|
|
615
615
|
| 'fpx'
|
|
616
616
|
| 'giropay'
|
|
617
|
+
| 'gopay'
|
|
617
618
|
| 'grabpay'
|
|
618
619
|
| 'ideal'
|
|
619
620
|
| 'klarna'
|
|
620
621
|
| 'konbini'
|
|
621
622
|
| 'link'
|
|
623
|
+
| 'mb_way'
|
|
622
624
|
| 'mobilepay'
|
|
623
625
|
| 'multibanco'
|
|
624
626
|
| 'oxxo'
|
|
625
627
|
| 'p24'
|
|
628
|
+
| 'pay_by_bank'
|
|
626
629
|
| 'paynow'
|
|
627
630
|
| 'paypal'
|
|
631
|
+
| 'payto'
|
|
628
632
|
| 'pix'
|
|
629
633
|
| 'promptpay'
|
|
634
|
+
| 'qris'
|
|
635
|
+
| 'rechnung'
|
|
630
636
|
| 'sepa_debit'
|
|
637
|
+
| 'shopeepay'
|
|
631
638
|
| 'sofort'
|
|
632
639
|
| 'swish'
|
|
633
640
|
| 'twint'
|
|
@@ -852,6 +859,7 @@ declare module 'stripe' {
|
|
|
852
859
|
| 'SA'
|
|
853
860
|
| 'SB'
|
|
854
861
|
| 'SC'
|
|
862
|
+
| 'SD'
|
|
855
863
|
| 'SE'
|
|
856
864
|
| 'SG'
|
|
857
865
|
| 'SH'
|
|
@@ -1118,6 +1126,13 @@ declare module 'stripe' {
|
|
|
1118
1126
|
Array<PaymentLinkUpdateParams.PaymentMethodType>
|
|
1119
1127
|
>;
|
|
1120
1128
|
|
|
1129
|
+
/**
|
|
1130
|
+
* Controls phone number collection settings during checkout.
|
|
1131
|
+
*
|
|
1132
|
+
* We recommend that you review your privacy policy and check with your legal contacts.
|
|
1133
|
+
*/
|
|
1134
|
+
phone_number_collection?: PaymentLinkUpdateParams.PhoneNumberCollection;
|
|
1135
|
+
|
|
1121
1136
|
/**
|
|
1122
1137
|
* Settings that restrict the usage of a payment link.
|
|
1123
1138
|
*/
|
|
@@ -1546,20 +1561,27 @@ declare module 'stripe' {
|
|
|
1546
1561
|
| 'eps'
|
|
1547
1562
|
| 'fpx'
|
|
1548
1563
|
| 'giropay'
|
|
1564
|
+
| 'gopay'
|
|
1549
1565
|
| 'grabpay'
|
|
1550
1566
|
| 'ideal'
|
|
1551
1567
|
| 'klarna'
|
|
1552
1568
|
| 'konbini'
|
|
1553
1569
|
| 'link'
|
|
1570
|
+
| 'mb_way'
|
|
1554
1571
|
| 'mobilepay'
|
|
1555
1572
|
| 'multibanco'
|
|
1556
1573
|
| 'oxxo'
|
|
1557
1574
|
| 'p24'
|
|
1575
|
+
| 'pay_by_bank'
|
|
1558
1576
|
| 'paynow'
|
|
1559
1577
|
| 'paypal'
|
|
1578
|
+
| 'payto'
|
|
1560
1579
|
| 'pix'
|
|
1561
1580
|
| 'promptpay'
|
|
1581
|
+
| 'qris'
|
|
1582
|
+
| 'rechnung'
|
|
1562
1583
|
| 'sepa_debit'
|
|
1584
|
+
| 'shopeepay'
|
|
1563
1585
|
| 'sofort'
|
|
1564
1586
|
| 'swish'
|
|
1565
1587
|
| 'twint'
|
|
@@ -1567,6 +1589,13 @@ declare module 'stripe' {
|
|
|
1567
1589
|
| 'wechat_pay'
|
|
1568
1590
|
| 'zip';
|
|
1569
1591
|
|
|
1592
|
+
interface PhoneNumberCollection {
|
|
1593
|
+
/**
|
|
1594
|
+
* Set to `true` to enable phone number collection.
|
|
1595
|
+
*/
|
|
1596
|
+
enabled: boolean;
|
|
1597
|
+
}
|
|
1598
|
+
|
|
1570
1599
|
interface Restrictions {
|
|
1571
1600
|
/**
|
|
1572
1601
|
* Configuration for the `completed_sessions` restriction type.
|
|
@@ -1777,6 +1806,7 @@ declare module 'stripe' {
|
|
|
1777
1806
|
| 'SA'
|
|
1778
1807
|
| 'SB'
|
|
1779
1808
|
| 'SC'
|
|
1809
|
+
| 'SD'
|
|
1780
1810
|
| 'SE'
|
|
1781
1811
|
| 'SG'
|
|
1782
1812
|
| 'SH'
|
|
@@ -79,8 +79,12 @@ declare module 'stripe' {
|
|
|
79
79
|
|
|
80
80
|
google_pay?: PaymentMethodConfiguration.GooglePay;
|
|
81
81
|
|
|
82
|
+
gopay?: PaymentMethodConfiguration.Gopay;
|
|
83
|
+
|
|
82
84
|
grabpay?: PaymentMethodConfiguration.Grabpay;
|
|
83
85
|
|
|
86
|
+
id_bank_transfer?: PaymentMethodConfiguration.IdBankTransfer;
|
|
87
|
+
|
|
84
88
|
ideal?: PaymentMethodConfiguration.Ideal;
|
|
85
89
|
|
|
86
90
|
/**
|
|
@@ -119,16 +123,24 @@ declare module 'stripe' {
|
|
|
119
123
|
*/
|
|
120
124
|
parent: string | null;
|
|
121
125
|
|
|
126
|
+
pay_by_bank?: PaymentMethodConfiguration.PayByBank;
|
|
127
|
+
|
|
122
128
|
paynow?: PaymentMethodConfiguration.Paynow;
|
|
123
129
|
|
|
124
130
|
paypal?: PaymentMethodConfiguration.Paypal;
|
|
125
131
|
|
|
132
|
+
payto?: PaymentMethodConfiguration.Payto;
|
|
133
|
+
|
|
126
134
|
promptpay?: PaymentMethodConfiguration.Promptpay;
|
|
127
135
|
|
|
136
|
+
qris?: PaymentMethodConfiguration.Qris;
|
|
137
|
+
|
|
128
138
|
revolut_pay?: PaymentMethodConfiguration.RevolutPay;
|
|
129
139
|
|
|
130
140
|
sepa_debit?: PaymentMethodConfiguration.SepaDebit;
|
|
131
141
|
|
|
142
|
+
shopeepay?: PaymentMethodConfiguration.Shopeepay;
|
|
143
|
+
|
|
132
144
|
sofort?: PaymentMethodConfiguration.Sofort;
|
|
133
145
|
|
|
134
146
|
swish?: PaymentMethodConfiguration.Swish;
|
|
@@ -823,6 +835,40 @@ declare module 'stripe' {
|
|
|
823
835
|
}
|
|
824
836
|
}
|
|
825
837
|
|
|
838
|
+
interface Gopay {
|
|
839
|
+
/**
|
|
840
|
+
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
841
|
+
*/
|
|
842
|
+
available: boolean;
|
|
843
|
+
|
|
844
|
+
display_preference: Gopay.DisplayPreference;
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
namespace Gopay {
|
|
848
|
+
interface DisplayPreference {
|
|
849
|
+
/**
|
|
850
|
+
* For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
|
851
|
+
*/
|
|
852
|
+
overridable: boolean | null;
|
|
853
|
+
|
|
854
|
+
/**
|
|
855
|
+
* The account's display preference.
|
|
856
|
+
*/
|
|
857
|
+
preference: DisplayPreference.Preference;
|
|
858
|
+
|
|
859
|
+
/**
|
|
860
|
+
* The effective display preference value.
|
|
861
|
+
*/
|
|
862
|
+
value: DisplayPreference.Value;
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
namespace DisplayPreference {
|
|
866
|
+
type Preference = 'none' | 'off' | 'on';
|
|
867
|
+
|
|
868
|
+
type Value = 'off' | 'on';
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
|
|
826
872
|
interface Grabpay {
|
|
827
873
|
/**
|
|
828
874
|
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
@@ -857,6 +903,40 @@ declare module 'stripe' {
|
|
|
857
903
|
}
|
|
858
904
|
}
|
|
859
905
|
|
|
906
|
+
interface IdBankTransfer {
|
|
907
|
+
/**
|
|
908
|
+
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
909
|
+
*/
|
|
910
|
+
available: boolean;
|
|
911
|
+
|
|
912
|
+
display_preference: IdBankTransfer.DisplayPreference;
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
namespace IdBankTransfer {
|
|
916
|
+
interface DisplayPreference {
|
|
917
|
+
/**
|
|
918
|
+
* For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
|
919
|
+
*/
|
|
920
|
+
overridable: boolean | null;
|
|
921
|
+
|
|
922
|
+
/**
|
|
923
|
+
* The account's display preference.
|
|
924
|
+
*/
|
|
925
|
+
preference: DisplayPreference.Preference;
|
|
926
|
+
|
|
927
|
+
/**
|
|
928
|
+
* The effective display preference value.
|
|
929
|
+
*/
|
|
930
|
+
value: DisplayPreference.Value;
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
namespace DisplayPreference {
|
|
934
|
+
type Preference = 'none' | 'off' | 'on';
|
|
935
|
+
|
|
936
|
+
type Value = 'off' | 'on';
|
|
937
|
+
}
|
|
938
|
+
}
|
|
939
|
+
|
|
860
940
|
interface Ideal {
|
|
861
941
|
/**
|
|
862
942
|
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
@@ -1163,6 +1243,40 @@ declare module 'stripe' {
|
|
|
1163
1243
|
}
|
|
1164
1244
|
}
|
|
1165
1245
|
|
|
1246
|
+
interface PayByBank {
|
|
1247
|
+
/**
|
|
1248
|
+
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
1249
|
+
*/
|
|
1250
|
+
available: boolean;
|
|
1251
|
+
|
|
1252
|
+
display_preference: PayByBank.DisplayPreference;
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1255
|
+
namespace PayByBank {
|
|
1256
|
+
interface DisplayPreference {
|
|
1257
|
+
/**
|
|
1258
|
+
* For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
|
1259
|
+
*/
|
|
1260
|
+
overridable: boolean | null;
|
|
1261
|
+
|
|
1262
|
+
/**
|
|
1263
|
+
* The account's display preference.
|
|
1264
|
+
*/
|
|
1265
|
+
preference: DisplayPreference.Preference;
|
|
1266
|
+
|
|
1267
|
+
/**
|
|
1268
|
+
* The effective display preference value.
|
|
1269
|
+
*/
|
|
1270
|
+
value: DisplayPreference.Value;
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
namespace DisplayPreference {
|
|
1274
|
+
type Preference = 'none' | 'off' | 'on';
|
|
1275
|
+
|
|
1276
|
+
type Value = 'off' | 'on';
|
|
1277
|
+
}
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1166
1280
|
interface Paynow {
|
|
1167
1281
|
/**
|
|
1168
1282
|
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
@@ -1231,6 +1345,40 @@ declare module 'stripe' {
|
|
|
1231
1345
|
}
|
|
1232
1346
|
}
|
|
1233
1347
|
|
|
1348
|
+
interface Payto {
|
|
1349
|
+
/**
|
|
1350
|
+
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
1351
|
+
*/
|
|
1352
|
+
available: boolean;
|
|
1353
|
+
|
|
1354
|
+
display_preference: Payto.DisplayPreference;
|
|
1355
|
+
}
|
|
1356
|
+
|
|
1357
|
+
namespace Payto {
|
|
1358
|
+
interface DisplayPreference {
|
|
1359
|
+
/**
|
|
1360
|
+
* For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
|
1361
|
+
*/
|
|
1362
|
+
overridable: boolean | null;
|
|
1363
|
+
|
|
1364
|
+
/**
|
|
1365
|
+
* The account's display preference.
|
|
1366
|
+
*/
|
|
1367
|
+
preference: DisplayPreference.Preference;
|
|
1368
|
+
|
|
1369
|
+
/**
|
|
1370
|
+
* The effective display preference value.
|
|
1371
|
+
*/
|
|
1372
|
+
value: DisplayPreference.Value;
|
|
1373
|
+
}
|
|
1374
|
+
|
|
1375
|
+
namespace DisplayPreference {
|
|
1376
|
+
type Preference = 'none' | 'off' | 'on';
|
|
1377
|
+
|
|
1378
|
+
type Value = 'off' | 'on';
|
|
1379
|
+
}
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1234
1382
|
interface Promptpay {
|
|
1235
1383
|
/**
|
|
1236
1384
|
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
@@ -1265,6 +1413,40 @@ declare module 'stripe' {
|
|
|
1265
1413
|
}
|
|
1266
1414
|
}
|
|
1267
1415
|
|
|
1416
|
+
interface Qris {
|
|
1417
|
+
/**
|
|
1418
|
+
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
1419
|
+
*/
|
|
1420
|
+
available: boolean;
|
|
1421
|
+
|
|
1422
|
+
display_preference: Qris.DisplayPreference;
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1425
|
+
namespace Qris {
|
|
1426
|
+
interface DisplayPreference {
|
|
1427
|
+
/**
|
|
1428
|
+
* For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
|
1429
|
+
*/
|
|
1430
|
+
overridable: boolean | null;
|
|
1431
|
+
|
|
1432
|
+
/**
|
|
1433
|
+
* The account's display preference.
|
|
1434
|
+
*/
|
|
1435
|
+
preference: DisplayPreference.Preference;
|
|
1436
|
+
|
|
1437
|
+
/**
|
|
1438
|
+
* The effective display preference value.
|
|
1439
|
+
*/
|
|
1440
|
+
value: DisplayPreference.Value;
|
|
1441
|
+
}
|
|
1442
|
+
|
|
1443
|
+
namespace DisplayPreference {
|
|
1444
|
+
type Preference = 'none' | 'off' | 'on';
|
|
1445
|
+
|
|
1446
|
+
type Value = 'off' | 'on';
|
|
1447
|
+
}
|
|
1448
|
+
}
|
|
1449
|
+
|
|
1268
1450
|
interface RevolutPay {
|
|
1269
1451
|
/**
|
|
1270
1452
|
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
@@ -1333,6 +1515,40 @@ declare module 'stripe' {
|
|
|
1333
1515
|
}
|
|
1334
1516
|
}
|
|
1335
1517
|
|
|
1518
|
+
interface Shopeepay {
|
|
1519
|
+
/**
|
|
1520
|
+
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
1521
|
+
*/
|
|
1522
|
+
available: boolean;
|
|
1523
|
+
|
|
1524
|
+
display_preference: Shopeepay.DisplayPreference;
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1527
|
+
namespace Shopeepay {
|
|
1528
|
+
interface DisplayPreference {
|
|
1529
|
+
/**
|
|
1530
|
+
* For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
|
1531
|
+
*/
|
|
1532
|
+
overridable: boolean | null;
|
|
1533
|
+
|
|
1534
|
+
/**
|
|
1535
|
+
* The account's display preference.
|
|
1536
|
+
*/
|
|
1537
|
+
preference: DisplayPreference.Preference;
|
|
1538
|
+
|
|
1539
|
+
/**
|
|
1540
|
+
* The effective display preference value.
|
|
1541
|
+
*/
|
|
1542
|
+
value: DisplayPreference.Value;
|
|
1543
|
+
}
|
|
1544
|
+
|
|
1545
|
+
namespace DisplayPreference {
|
|
1546
|
+
type Preference = 'none' | 'off' | 'on';
|
|
1547
|
+
|
|
1548
|
+
type Value = 'off' | 'on';
|
|
1549
|
+
}
|
|
1550
|
+
}
|
|
1551
|
+
|
|
1336
1552
|
interface Sofort {
|
|
1337
1553
|
/**
|
|
1338
1554
|
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|