stripe 17.6.0-beta.3 → 17.6.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/CHANGELOG.md +124 -1040
- package/README.md +0 -1
- package/VERSION +1 -1
- package/cjs/resources/FinancialConnections/Accounts.js +0 -5
- package/cjs/resources/Invoices.js +0 -17
- package/cjs/resources/PaymentIntents.js +0 -8
- package/cjs/resources/Quotes.js +0 -32
- package/cjs/resources/SubscriptionSchedules.js +0 -4
- package/cjs/resources/Terminal/Readers.js +0 -12
- package/cjs/resources.js +10 -48
- package/cjs/stripe.core.js +1 -1
- package/esm/resources/FinancialConnections/Accounts.js +0 -5
- package/esm/resources/Invoices.js +0 -17
- package/esm/resources/PaymentIntents.js +0 -8
- package/esm/resources/Quotes.js +0 -32
- package/esm/resources/SubscriptionSchedules.js +0 -4
- package/esm/resources/Terminal/Readers.js +0 -12
- package/esm/resources.js +0 -33
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +0 -45
- package/types/AccountSessionsResource.d.ts +0 -222
- package/types/Accounts.d.ts +1 -190
- package/types/AccountsResource.d.ts +0 -520
- package/types/Cards.d.ts +0 -5
- package/types/Charges.d.ts +3 -141
- package/types/ChargesResource.d.ts +0 -1294
- package/types/Checkout/Sessions.d.ts +4 -340
- package/types/Checkout/SessionsResource.d.ts +5 -445
- package/types/ConfirmationTokens.d.ts +1 -100
- package/types/Coupons.d.ts +1 -1
- package/types/CouponsResource.d.ts +1 -1
- package/types/CreditNotes.d.ts +0 -21
- package/types/CreditNotesResource.d.ts +0 -51
- package/types/CustomersResource.d.ts +0 -7
- package/types/EventTypes.d.ts +0 -596
- package/types/Events.d.ts +0 -93
- package/types/FinancialConnections/Accounts.d.ts +1 -29
- package/types/FinancialConnections/AccountsResource.d.ts +3 -35
- package/types/FinancialConnections/Sessions.d.ts +1 -49
- package/types/FinancialConnections/SessionsResource.d.ts +1 -38
- package/types/InvoiceItems.d.ts +0 -5
- package/types/InvoiceItemsResource.d.ts +0 -98
- package/types/InvoiceLineItems.d.ts +1 -28
- package/types/Invoices.d.ts +2 -137
- package/types/InvoicesResource.d.ts +1882 -5567
- package/types/Issuing/Authorizations.d.ts +0 -1
- package/types/Issuing/CardholdersResource.d.ts +1 -2
- package/types/Issuing/Transactions.d.ts +0 -2
- package/types/Issuing/TransactionsResource.d.ts +0 -5
- package/types/LineItems.d.ts +0 -32
- package/types/Mandates.d.ts +0 -77
- package/types/PaymentIntents.d.ts +1 -644
- package/types/PaymentIntentsResource.d.ts +3734 -8021
- package/types/PaymentLinks.d.ts +0 -6
- package/types/PaymentLinksResource.d.ts +0 -12
- package/types/PaymentMethodConfigurations.d.ts +0 -180
- package/types/PaymentMethodConfigurationsResource.d.ts +0 -250
- package/types/PaymentMethods.d.ts +1 -100
- package/types/PaymentMethodsResource.d.ts +0 -133
- package/types/Prices.d.ts +0 -22
- package/types/PricesResource.d.ts +0 -22
- package/types/Products.d.ts +0 -39
- package/types/ProductsResource.d.ts +0 -36
- package/types/Quotes.d.ts +1 -591
- package/types/QuotesResource.d.ts +199 -2531
- package/types/Refunds.d.ts +2 -16
- package/types/SetupAttempts.d.ts +0 -38
- package/types/SetupIntents.d.ts +1 -111
- package/types/SetupIntentsResource.d.ts +3 -645
- package/types/Sources.d.ts +0 -29
- package/types/SubscriptionItems.d.ts +0 -21
- package/types/SubscriptionItemsResource.d.ts +0 -109
- package/types/SubscriptionSchedules.d.ts +0 -200
- package/types/SubscriptionSchedulesResource.d.ts +13 -1231
- package/types/Subscriptions.d.ts +1 -91
- package/types/SubscriptionsResource.d.ts +2 -369
- package/types/Terminal/Readers.d.ts +0 -290
- package/types/Terminal/ReadersResource.d.ts +0 -215
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -104
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
- package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
- package/types/Treasury/FinancialAccounts.d.ts +0 -5
- package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
- package/types/Treasury/OutboundTransfers.d.ts +0 -26
- package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
- package/types/Treasury/ReceivedCredits.d.ts +0 -26
- package/types/Treasury/ReceivedDebits.d.ts +0 -31
- package/types/WebhookEndpointsResource.d.ts +0 -70
- package/types/index.d.ts +0 -62
- package/cjs/resources/AccountNotices.js +0 -21
- package/cjs/resources/Capital/FinancingOffers.js +0 -21
- package/cjs/resources/Capital/FinancingSummary.js +0 -12
- package/cjs/resources/Capital/FinancingTransactions.js +0 -17
- package/cjs/resources/FinancialConnections/Institutions.js +0 -17
- package/cjs/resources/GiftCards/Cards.js +0 -23
- package/cjs/resources/GiftCards/Transactions.js +0 -33
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
- package/cjs/resources/Margins.js +0 -22
- package/cjs/resources/Orders.js +0 -24
- package/cjs/resources/PaymentAttemptRecords.js +0 -17
- package/cjs/resources/PaymentRecords.js +0 -29
- package/cjs/resources/Tax/Associations.js +0 -9
- package/cjs/resources/Tax/Forms.js +0 -20
- package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
- package/esm/resources/AccountNotices.js +0 -18
- package/esm/resources/Capital/FinancingOffers.js +0 -18
- package/esm/resources/Capital/FinancingSummary.js +0 -9
- package/esm/resources/Capital/FinancingTransactions.js +0 -14
- package/esm/resources/FinancialConnections/Institutions.js +0 -14
- package/esm/resources/GiftCards/Cards.js +0 -20
- package/esm/resources/GiftCards/Transactions.js +0 -30
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
- package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
- package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
- package/esm/resources/Margins.js +0 -19
- package/esm/resources/Orders.js +0 -21
- package/esm/resources/PaymentAttemptRecords.js +0 -14
- package/esm/resources/PaymentRecords.js +0 -26
- package/esm/resources/Tax/Associations.js +0 -6
- package/esm/resources/Tax/Forms.js +0 -17
- package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
- package/types/AccountNotices.d.ts +0 -113
- package/types/AccountNoticesResource.d.ts +0 -98
- package/types/Billing/MeterErrorReports.d.ts +0 -106
- package/types/Capital/FinancingOffers.d.ts +0 -188
- package/types/Capital/FinancingOffersResource.d.ts +0 -97
- package/types/Capital/FinancingSummary.d.ts +0 -106
- package/types/Capital/FinancingSummaryResource.d.ts +0 -27
- package/types/Capital/FinancingTransactions.d.ts +0 -135
- package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
- package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
- package/types/FinancialConnections/Institutions.d.ts +0 -93
- package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
- package/types/GiftCards/Cards.d.ts +0 -118
- package/types/GiftCards/CardsResource.d.ts +0 -159
- package/types/GiftCards/Transactions.d.ts +0 -129
- package/types/GiftCards/TransactionsResource.d.ts +0 -201
- package/types/InvoicePayments.d.ts +0 -113
- package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
- package/types/Issuing/DisputeSettlementDetails.d.ts +0 -73
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
- package/types/Issuing/Settlements.d.ts +0 -103
- package/types/Margins.d.ts +0 -56
- package/types/MarginsResource.d.ts +0 -114
- package/types/Orders.d.ts +0 -1179
- package/types/OrdersResource.d.ts +0 -2961
- package/types/PaymentAttemptRecords.d.ts +0 -242
- package/types/PaymentAttemptRecordsResource.d.ts +0 -47
- package/types/PaymentRecords.d.ts +0 -242
- package/types/PaymentRecordsResource.d.ts +0 -455
- package/types/QuoteLines.d.ts +0 -634
- package/types/QuotePreviewInvoices.d.ts +0 -1658
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -824
- package/types/Tax/Associations.d.ts +0 -126
- package/types/Tax/AssociationsResource.d.ts +0 -29
- package/types/Tax/Forms.d.ts +0 -220
- package/types/Tax/FormsResource.d.ts +0 -107
- package/types/Terminal/ReaderCollectedData.d.ts +0 -51
- package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
package/types/PaymentLinks.d.ts
CHANGED
|
@@ -553,13 +553,11 @@ declare module 'stripe' {
|
|
|
553
553
|
| 'eps'
|
|
554
554
|
| 'fpx'
|
|
555
555
|
| 'giropay'
|
|
556
|
-
| 'gopay'
|
|
557
556
|
| 'grabpay'
|
|
558
557
|
| 'ideal'
|
|
559
558
|
| 'klarna'
|
|
560
559
|
| 'konbini'
|
|
561
560
|
| 'link'
|
|
562
|
-
| 'mb_way'
|
|
563
561
|
| 'mobilepay'
|
|
564
562
|
| 'multibanco'
|
|
565
563
|
| 'oxxo'
|
|
@@ -567,13 +565,9 @@ declare module 'stripe' {
|
|
|
567
565
|
| 'pay_by_bank'
|
|
568
566
|
| 'paynow'
|
|
569
567
|
| 'paypal'
|
|
570
|
-
| 'payto'
|
|
571
568
|
| 'pix'
|
|
572
569
|
| 'promptpay'
|
|
573
|
-
| 'qris'
|
|
574
|
-
| 'rechnung'
|
|
575
570
|
| 'sepa_debit'
|
|
576
|
-
| 'shopeepay'
|
|
577
571
|
| 'sofort'
|
|
578
572
|
| 'swish'
|
|
579
573
|
| 'twint'
|
|
@@ -614,13 +614,11 @@ declare module 'stripe' {
|
|
|
614
614
|
| 'eps'
|
|
615
615
|
| 'fpx'
|
|
616
616
|
| 'giropay'
|
|
617
|
-
| 'gopay'
|
|
618
617
|
| 'grabpay'
|
|
619
618
|
| 'ideal'
|
|
620
619
|
| 'klarna'
|
|
621
620
|
| 'konbini'
|
|
622
621
|
| 'link'
|
|
623
|
-
| 'mb_way'
|
|
624
622
|
| 'mobilepay'
|
|
625
623
|
| 'multibanco'
|
|
626
624
|
| 'oxxo'
|
|
@@ -628,13 +626,9 @@ declare module 'stripe' {
|
|
|
628
626
|
| 'pay_by_bank'
|
|
629
627
|
| 'paynow'
|
|
630
628
|
| 'paypal'
|
|
631
|
-
| 'payto'
|
|
632
629
|
| 'pix'
|
|
633
630
|
| 'promptpay'
|
|
634
|
-
| 'qris'
|
|
635
|
-
| 'rechnung'
|
|
636
631
|
| 'sepa_debit'
|
|
637
|
-
| 'shopeepay'
|
|
638
632
|
| 'sofort'
|
|
639
633
|
| 'swish'
|
|
640
634
|
| 'twint'
|
|
@@ -1561,13 +1555,11 @@ declare module 'stripe' {
|
|
|
1561
1555
|
| 'eps'
|
|
1562
1556
|
| 'fpx'
|
|
1563
1557
|
| 'giropay'
|
|
1564
|
-
| 'gopay'
|
|
1565
1558
|
| 'grabpay'
|
|
1566
1559
|
| 'ideal'
|
|
1567
1560
|
| 'klarna'
|
|
1568
1561
|
| 'konbini'
|
|
1569
1562
|
| 'link'
|
|
1570
|
-
| 'mb_way'
|
|
1571
1563
|
| 'mobilepay'
|
|
1572
1564
|
| 'multibanco'
|
|
1573
1565
|
| 'oxxo'
|
|
@@ -1575,13 +1567,9 @@ declare module 'stripe' {
|
|
|
1575
1567
|
| 'pay_by_bank'
|
|
1576
1568
|
| 'paynow'
|
|
1577
1569
|
| 'paypal'
|
|
1578
|
-
| 'payto'
|
|
1579
1570
|
| 'pix'
|
|
1580
1571
|
| 'promptpay'
|
|
1581
|
-
| 'qris'
|
|
1582
|
-
| 'rechnung'
|
|
1583
1572
|
| 'sepa_debit'
|
|
1584
|
-
| 'shopeepay'
|
|
1585
1573
|
| 'sofort'
|
|
1586
1574
|
| 'swish'
|
|
1587
1575
|
| 'twint'
|
|
@@ -79,12 +79,8 @@ declare module 'stripe' {
|
|
|
79
79
|
|
|
80
80
|
google_pay?: PaymentMethodConfiguration.GooglePay;
|
|
81
81
|
|
|
82
|
-
gopay?: PaymentMethodConfiguration.Gopay;
|
|
83
|
-
|
|
84
82
|
grabpay?: PaymentMethodConfiguration.Grabpay;
|
|
85
83
|
|
|
86
|
-
id_bank_transfer?: PaymentMethodConfiguration.IdBankTransfer;
|
|
87
|
-
|
|
88
84
|
ideal?: PaymentMethodConfiguration.Ideal;
|
|
89
85
|
|
|
90
86
|
/**
|
|
@@ -129,18 +125,12 @@ declare module 'stripe' {
|
|
|
129
125
|
|
|
130
126
|
paypal?: PaymentMethodConfiguration.Paypal;
|
|
131
127
|
|
|
132
|
-
payto?: PaymentMethodConfiguration.Payto;
|
|
133
|
-
|
|
134
128
|
promptpay?: PaymentMethodConfiguration.Promptpay;
|
|
135
129
|
|
|
136
|
-
qris?: PaymentMethodConfiguration.Qris;
|
|
137
|
-
|
|
138
130
|
revolut_pay?: PaymentMethodConfiguration.RevolutPay;
|
|
139
131
|
|
|
140
132
|
sepa_debit?: PaymentMethodConfiguration.SepaDebit;
|
|
141
133
|
|
|
142
|
-
shopeepay?: PaymentMethodConfiguration.Shopeepay;
|
|
143
|
-
|
|
144
134
|
sofort?: PaymentMethodConfiguration.Sofort;
|
|
145
135
|
|
|
146
136
|
swish?: PaymentMethodConfiguration.Swish;
|
|
@@ -835,40 +825,6 @@ declare module 'stripe' {
|
|
|
835
825
|
}
|
|
836
826
|
}
|
|
837
827
|
|
|
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
|
-
|
|
872
828
|
interface Grabpay {
|
|
873
829
|
/**
|
|
874
830
|
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
@@ -903,40 +859,6 @@ declare module 'stripe' {
|
|
|
903
859
|
}
|
|
904
860
|
}
|
|
905
861
|
|
|
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
|
-
|
|
940
862
|
interface Ideal {
|
|
941
863
|
/**
|
|
942
864
|
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
@@ -1345,40 +1267,6 @@ declare module 'stripe' {
|
|
|
1345
1267
|
}
|
|
1346
1268
|
}
|
|
1347
1269
|
|
|
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
|
-
|
|
1382
1270
|
interface Promptpay {
|
|
1383
1271
|
/**
|
|
1384
1272
|
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
@@ -1413,40 +1301,6 @@ declare module 'stripe' {
|
|
|
1413
1301
|
}
|
|
1414
1302
|
}
|
|
1415
1303
|
|
|
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
|
-
|
|
1450
1304
|
interface RevolutPay {
|
|
1451
1305
|
/**
|
|
1452
1306
|
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
@@ -1515,40 +1369,6 @@ declare module 'stripe' {
|
|
|
1515
1369
|
}
|
|
1516
1370
|
}
|
|
1517
1371
|
|
|
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
|
-
|
|
1552
1372
|
interface Sofort {
|
|
1553
1373
|
/**
|
|
1554
1374
|
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
@@ -113,21 +113,11 @@ declare module 'stripe' {
|
|
|
113
113
|
*/
|
|
114
114
|
google_pay?: PaymentMethodConfigurationCreateParams.GooglePay;
|
|
115
115
|
|
|
116
|
-
/**
|
|
117
|
-
* GoPay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Gojek app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Gojek app to confirm payment.
|
|
118
|
-
*/
|
|
119
|
-
gopay?: PaymentMethodConfigurationCreateParams.Gopay;
|
|
120
|
-
|
|
121
116
|
/**
|
|
122
117
|
* GrabPay is a payment method developed by [Grab](https://www.grab.com/sg/consumer/finance/pay/). GrabPay is a digital wallet - customers maintain a balance in their wallets that they pay out with. Check this [page](https://stripe.com/docs/payments/grabpay) for more details.
|
|
123
118
|
*/
|
|
124
119
|
grabpay?: PaymentMethodConfigurationCreateParams.Grabpay;
|
|
125
120
|
|
|
126
|
-
/**
|
|
127
|
-
* Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.
|
|
128
|
-
*/
|
|
129
|
-
id_bank_transfer?: PaymentMethodConfigurationCreateParams.IdBankTransfer;
|
|
130
|
-
|
|
131
121
|
/**
|
|
132
122
|
* iDEAL is a Netherlands-based payment method that allows customers to complete transactions online using their bank credentials. All major Dutch banks are members of Currence, the scheme that operates iDEAL, making it the most popular online payment method in the Netherlands with a share of online transactions close to 55%. Check this [page](https://stripe.com/docs/payments/ideal) for more details.
|
|
133
123
|
*/
|
|
@@ -198,21 +188,11 @@ declare module 'stripe' {
|
|
|
198
188
|
*/
|
|
199
189
|
paypal?: PaymentMethodConfigurationCreateParams.Paypal;
|
|
200
190
|
|
|
201
|
-
/**
|
|
202
|
-
* PayTo is a [real-time](https://docs.stripe.com/payments/real-time) payment method that enables customers in Australia to pay by providing their bank account details. Customers must accept a mandate authorizing you to debit their account. Check this [page](https://docs.stripe.com/payments/payto) for more details.
|
|
203
|
-
*/
|
|
204
|
-
payto?: PaymentMethodConfigurationCreateParams.Payto;
|
|
205
|
-
|
|
206
191
|
/**
|
|
207
192
|
* PromptPay is a Thailand-based payment method that allows customers to make a payment using their preferred app from participating banks. Check this [page](https://stripe.com/docs/payments/promptpay) for more details.
|
|
208
193
|
*/
|
|
209
194
|
promptpay?: PaymentMethodConfigurationCreateParams.Promptpay;
|
|
210
195
|
|
|
211
|
-
/**
|
|
212
|
-
* QRIS is a [real-time](https://docs.stripe.com/payments/real-time) payment method popular in Indonesia. When paying with QRIS, customers authenticate and approve payments by scanning a QR code in their preferred digital wallet app.
|
|
213
|
-
*/
|
|
214
|
-
qris?: PaymentMethodConfigurationCreateParams.Qris;
|
|
215
|
-
|
|
216
196
|
/**
|
|
217
197
|
* Revolut Pay, developed by Revolut, a global finance app, is a digital wallet payment method. Revolut Pay uses the customer's stored balance or cards to fund the payment, and offers the option for non-Revolut customers to save their details after their first purchase.
|
|
218
198
|
*/
|
|
@@ -223,11 +203,6 @@ declare module 'stripe' {
|
|
|
223
203
|
*/
|
|
224
204
|
sepa_debit?: PaymentMethodConfigurationCreateParams.SepaDebit;
|
|
225
205
|
|
|
226
|
-
/**
|
|
227
|
-
* ShopeePay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Shopee app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Shopee app to confirm payment.
|
|
228
|
-
*/
|
|
229
|
-
shopeepay?: PaymentMethodConfigurationCreateParams.Shopeepay;
|
|
230
|
-
|
|
231
206
|
/**
|
|
232
207
|
* Stripe users in Europe and the United States can use the [Payment Intents API](https://stripe.com/docs/payments/payment-intents)—a single integration path for creating payments using any supported method—to accept [Sofort](https://www.sofort.com/) payments from customers. Check this [page](https://stripe.com/docs/payments/sofort) for more details.
|
|
233
208
|
*/
|
|
@@ -680,26 +655,6 @@ declare module 'stripe' {
|
|
|
680
655
|
}
|
|
681
656
|
}
|
|
682
657
|
|
|
683
|
-
interface Gopay {
|
|
684
|
-
/**
|
|
685
|
-
* Whether or not the payment method should be displayed.
|
|
686
|
-
*/
|
|
687
|
-
display_preference?: Gopay.DisplayPreference;
|
|
688
|
-
}
|
|
689
|
-
|
|
690
|
-
namespace Gopay {
|
|
691
|
-
interface DisplayPreference {
|
|
692
|
-
/**
|
|
693
|
-
* The account's preference for whether or not to display this payment method.
|
|
694
|
-
*/
|
|
695
|
-
preference?: DisplayPreference.Preference;
|
|
696
|
-
}
|
|
697
|
-
|
|
698
|
-
namespace DisplayPreference {
|
|
699
|
-
type Preference = 'none' | 'off' | 'on';
|
|
700
|
-
}
|
|
701
|
-
}
|
|
702
|
-
|
|
703
658
|
interface Grabpay {
|
|
704
659
|
/**
|
|
705
660
|
* Whether or not the payment method should be displayed.
|
|
@@ -720,26 +675,6 @@ declare module 'stripe' {
|
|
|
720
675
|
}
|
|
721
676
|
}
|
|
722
677
|
|
|
723
|
-
interface IdBankTransfer {
|
|
724
|
-
/**
|
|
725
|
-
* Whether or not the payment method should be displayed.
|
|
726
|
-
*/
|
|
727
|
-
display_preference?: IdBankTransfer.DisplayPreference;
|
|
728
|
-
}
|
|
729
|
-
|
|
730
|
-
namespace IdBankTransfer {
|
|
731
|
-
interface DisplayPreference {
|
|
732
|
-
/**
|
|
733
|
-
* The account's preference for whether or not to display this payment method.
|
|
734
|
-
*/
|
|
735
|
-
preference?: DisplayPreference.Preference;
|
|
736
|
-
}
|
|
737
|
-
|
|
738
|
-
namespace DisplayPreference {
|
|
739
|
-
type Preference = 'none' | 'off' | 'on';
|
|
740
|
-
}
|
|
741
|
-
}
|
|
742
|
-
|
|
743
678
|
interface Ideal {
|
|
744
679
|
/**
|
|
745
680
|
* Whether or not the payment method should be displayed.
|
|
@@ -980,26 +915,6 @@ declare module 'stripe' {
|
|
|
980
915
|
}
|
|
981
916
|
}
|
|
982
917
|
|
|
983
|
-
interface Payto {
|
|
984
|
-
/**
|
|
985
|
-
* Whether or not the payment method should be displayed.
|
|
986
|
-
*/
|
|
987
|
-
display_preference?: Payto.DisplayPreference;
|
|
988
|
-
}
|
|
989
|
-
|
|
990
|
-
namespace Payto {
|
|
991
|
-
interface DisplayPreference {
|
|
992
|
-
/**
|
|
993
|
-
* The account's preference for whether or not to display this payment method.
|
|
994
|
-
*/
|
|
995
|
-
preference?: DisplayPreference.Preference;
|
|
996
|
-
}
|
|
997
|
-
|
|
998
|
-
namespace DisplayPreference {
|
|
999
|
-
type Preference = 'none' | 'off' | 'on';
|
|
1000
|
-
}
|
|
1001
|
-
}
|
|
1002
|
-
|
|
1003
918
|
interface Promptpay {
|
|
1004
919
|
/**
|
|
1005
920
|
* Whether or not the payment method should be displayed.
|
|
@@ -1020,26 +935,6 @@ declare module 'stripe' {
|
|
|
1020
935
|
}
|
|
1021
936
|
}
|
|
1022
937
|
|
|
1023
|
-
interface Qris {
|
|
1024
|
-
/**
|
|
1025
|
-
* Whether or not the payment method should be displayed.
|
|
1026
|
-
*/
|
|
1027
|
-
display_preference?: Qris.DisplayPreference;
|
|
1028
|
-
}
|
|
1029
|
-
|
|
1030
|
-
namespace Qris {
|
|
1031
|
-
interface DisplayPreference {
|
|
1032
|
-
/**
|
|
1033
|
-
* The account's preference for whether or not to display this payment method.
|
|
1034
|
-
*/
|
|
1035
|
-
preference?: DisplayPreference.Preference;
|
|
1036
|
-
}
|
|
1037
|
-
|
|
1038
|
-
namespace DisplayPreference {
|
|
1039
|
-
type Preference = 'none' | 'off' | 'on';
|
|
1040
|
-
}
|
|
1041
|
-
}
|
|
1042
|
-
|
|
1043
938
|
interface RevolutPay {
|
|
1044
939
|
/**
|
|
1045
940
|
* Whether or not the payment method should be displayed.
|
|
@@ -1080,26 +975,6 @@ declare module 'stripe' {
|
|
|
1080
975
|
}
|
|
1081
976
|
}
|
|
1082
977
|
|
|
1083
|
-
interface Shopeepay {
|
|
1084
|
-
/**
|
|
1085
|
-
* Whether or not the payment method should be displayed.
|
|
1086
|
-
*/
|
|
1087
|
-
display_preference?: Shopeepay.DisplayPreference;
|
|
1088
|
-
}
|
|
1089
|
-
|
|
1090
|
-
namespace Shopeepay {
|
|
1091
|
-
interface DisplayPreference {
|
|
1092
|
-
/**
|
|
1093
|
-
* The account's preference for whether or not to display this payment method.
|
|
1094
|
-
*/
|
|
1095
|
-
preference?: DisplayPreference.Preference;
|
|
1096
|
-
}
|
|
1097
|
-
|
|
1098
|
-
namespace DisplayPreference {
|
|
1099
|
-
type Preference = 'none' | 'off' | 'on';
|
|
1100
|
-
}
|
|
1101
|
-
}
|
|
1102
|
-
|
|
1103
978
|
interface Sofort {
|
|
1104
979
|
/**
|
|
1105
980
|
* Whether or not the payment method should be displayed.
|
|
@@ -1344,21 +1219,11 @@ declare module 'stripe' {
|
|
|
1344
1219
|
*/
|
|
1345
1220
|
google_pay?: PaymentMethodConfigurationUpdateParams.GooglePay;
|
|
1346
1221
|
|
|
1347
|
-
/**
|
|
1348
|
-
* GoPay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Gojek app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Gojek app to confirm payment.
|
|
1349
|
-
*/
|
|
1350
|
-
gopay?: PaymentMethodConfigurationUpdateParams.Gopay;
|
|
1351
|
-
|
|
1352
1222
|
/**
|
|
1353
1223
|
* GrabPay is a payment method developed by [Grab](https://www.grab.com/sg/consumer/finance/pay/). GrabPay is a digital wallet - customers maintain a balance in their wallets that they pay out with. Check this [page](https://stripe.com/docs/payments/grabpay) for more details.
|
|
1354
1224
|
*/
|
|
1355
1225
|
grabpay?: PaymentMethodConfigurationUpdateParams.Grabpay;
|
|
1356
1226
|
|
|
1357
|
-
/**
|
|
1358
|
-
* Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.
|
|
1359
|
-
*/
|
|
1360
|
-
id_bank_transfer?: PaymentMethodConfigurationUpdateParams.IdBankTransfer;
|
|
1361
|
-
|
|
1362
1227
|
/**
|
|
1363
1228
|
* iDEAL is a Netherlands-based payment method that allows customers to complete transactions online using their bank credentials. All major Dutch banks are members of Currence, the scheme that operates iDEAL, making it the most popular online payment method in the Netherlands with a share of online transactions close to 55%. Check this [page](https://stripe.com/docs/payments/ideal) for more details.
|
|
1364
1229
|
*/
|
|
@@ -1424,21 +1289,11 @@ declare module 'stripe' {
|
|
|
1424
1289
|
*/
|
|
1425
1290
|
paypal?: PaymentMethodConfigurationUpdateParams.Paypal;
|
|
1426
1291
|
|
|
1427
|
-
/**
|
|
1428
|
-
* PayTo is a [real-time](https://docs.stripe.com/payments/real-time) payment method that enables customers in Australia to pay by providing their bank account details. Customers must accept a mandate authorizing you to debit their account. Check this [page](https://docs.stripe.com/payments/payto) for more details.
|
|
1429
|
-
*/
|
|
1430
|
-
payto?: PaymentMethodConfigurationUpdateParams.Payto;
|
|
1431
|
-
|
|
1432
1292
|
/**
|
|
1433
1293
|
* PromptPay is a Thailand-based payment method that allows customers to make a payment using their preferred app from participating banks. Check this [page](https://stripe.com/docs/payments/promptpay) for more details.
|
|
1434
1294
|
*/
|
|
1435
1295
|
promptpay?: PaymentMethodConfigurationUpdateParams.Promptpay;
|
|
1436
1296
|
|
|
1437
|
-
/**
|
|
1438
|
-
* QRIS is a [real-time](https://docs.stripe.com/payments/real-time) payment method popular in Indonesia. When paying with QRIS, customers authenticate and approve payments by scanning a QR code in their preferred digital wallet app.
|
|
1439
|
-
*/
|
|
1440
|
-
qris?: PaymentMethodConfigurationUpdateParams.Qris;
|
|
1441
|
-
|
|
1442
1297
|
/**
|
|
1443
1298
|
* Revolut Pay, developed by Revolut, a global finance app, is a digital wallet payment method. Revolut Pay uses the customer's stored balance or cards to fund the payment, and offers the option for non-Revolut customers to save their details after their first purchase.
|
|
1444
1299
|
*/
|
|
@@ -1449,11 +1304,6 @@ declare module 'stripe' {
|
|
|
1449
1304
|
*/
|
|
1450
1305
|
sepa_debit?: PaymentMethodConfigurationUpdateParams.SepaDebit;
|
|
1451
1306
|
|
|
1452
|
-
/**
|
|
1453
|
-
* ShopeePay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Shopee app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Shopee app to confirm payment.
|
|
1454
|
-
*/
|
|
1455
|
-
shopeepay?: PaymentMethodConfigurationUpdateParams.Shopeepay;
|
|
1456
|
-
|
|
1457
1307
|
/**
|
|
1458
1308
|
* Stripe users in Europe and the United States can use the [Payment Intents API](https://stripe.com/docs/payments/payment-intents)—a single integration path for creating payments using any supported method—to accept [Sofort](https://www.sofort.com/) payments from customers. Check this [page](https://stripe.com/docs/payments/sofort) for more details.
|
|
1459
1309
|
*/
|
|
@@ -1906,26 +1756,6 @@ declare module 'stripe' {
|
|
|
1906
1756
|
}
|
|
1907
1757
|
}
|
|
1908
1758
|
|
|
1909
|
-
interface Gopay {
|
|
1910
|
-
/**
|
|
1911
|
-
* Whether or not the payment method should be displayed.
|
|
1912
|
-
*/
|
|
1913
|
-
display_preference?: Gopay.DisplayPreference;
|
|
1914
|
-
}
|
|
1915
|
-
|
|
1916
|
-
namespace Gopay {
|
|
1917
|
-
interface DisplayPreference {
|
|
1918
|
-
/**
|
|
1919
|
-
* The account's preference for whether or not to display this payment method.
|
|
1920
|
-
*/
|
|
1921
|
-
preference?: DisplayPreference.Preference;
|
|
1922
|
-
}
|
|
1923
|
-
|
|
1924
|
-
namespace DisplayPreference {
|
|
1925
|
-
type Preference = 'none' | 'off' | 'on';
|
|
1926
|
-
}
|
|
1927
|
-
}
|
|
1928
|
-
|
|
1929
1759
|
interface Grabpay {
|
|
1930
1760
|
/**
|
|
1931
1761
|
* Whether or not the payment method should be displayed.
|
|
@@ -1946,26 +1776,6 @@ declare module 'stripe' {
|
|
|
1946
1776
|
}
|
|
1947
1777
|
}
|
|
1948
1778
|
|
|
1949
|
-
interface IdBankTransfer {
|
|
1950
|
-
/**
|
|
1951
|
-
* Whether or not the payment method should be displayed.
|
|
1952
|
-
*/
|
|
1953
|
-
display_preference?: IdBankTransfer.DisplayPreference;
|
|
1954
|
-
}
|
|
1955
|
-
|
|
1956
|
-
namespace IdBankTransfer {
|
|
1957
|
-
interface DisplayPreference {
|
|
1958
|
-
/**
|
|
1959
|
-
* The account's preference for whether or not to display this payment method.
|
|
1960
|
-
*/
|
|
1961
|
-
preference?: DisplayPreference.Preference;
|
|
1962
|
-
}
|
|
1963
|
-
|
|
1964
|
-
namespace DisplayPreference {
|
|
1965
|
-
type Preference = 'none' | 'off' | 'on';
|
|
1966
|
-
}
|
|
1967
|
-
}
|
|
1968
|
-
|
|
1969
1779
|
interface Ideal {
|
|
1970
1780
|
/**
|
|
1971
1781
|
* Whether or not the payment method should be displayed.
|
|
@@ -2206,26 +2016,6 @@ declare module 'stripe' {
|
|
|
2206
2016
|
}
|
|
2207
2017
|
}
|
|
2208
2018
|
|
|
2209
|
-
interface Payto {
|
|
2210
|
-
/**
|
|
2211
|
-
* Whether or not the payment method should be displayed.
|
|
2212
|
-
*/
|
|
2213
|
-
display_preference?: Payto.DisplayPreference;
|
|
2214
|
-
}
|
|
2215
|
-
|
|
2216
|
-
namespace Payto {
|
|
2217
|
-
interface DisplayPreference {
|
|
2218
|
-
/**
|
|
2219
|
-
* The account's preference for whether or not to display this payment method.
|
|
2220
|
-
*/
|
|
2221
|
-
preference?: DisplayPreference.Preference;
|
|
2222
|
-
}
|
|
2223
|
-
|
|
2224
|
-
namespace DisplayPreference {
|
|
2225
|
-
type Preference = 'none' | 'off' | 'on';
|
|
2226
|
-
}
|
|
2227
|
-
}
|
|
2228
|
-
|
|
2229
2019
|
interface Promptpay {
|
|
2230
2020
|
/**
|
|
2231
2021
|
* Whether or not the payment method should be displayed.
|
|
@@ -2246,26 +2036,6 @@ declare module 'stripe' {
|
|
|
2246
2036
|
}
|
|
2247
2037
|
}
|
|
2248
2038
|
|
|
2249
|
-
interface Qris {
|
|
2250
|
-
/**
|
|
2251
|
-
* Whether or not the payment method should be displayed.
|
|
2252
|
-
*/
|
|
2253
|
-
display_preference?: Qris.DisplayPreference;
|
|
2254
|
-
}
|
|
2255
|
-
|
|
2256
|
-
namespace Qris {
|
|
2257
|
-
interface DisplayPreference {
|
|
2258
|
-
/**
|
|
2259
|
-
* The account's preference for whether or not to display this payment method.
|
|
2260
|
-
*/
|
|
2261
|
-
preference?: DisplayPreference.Preference;
|
|
2262
|
-
}
|
|
2263
|
-
|
|
2264
|
-
namespace DisplayPreference {
|
|
2265
|
-
type Preference = 'none' | 'off' | 'on';
|
|
2266
|
-
}
|
|
2267
|
-
}
|
|
2268
|
-
|
|
2269
2039
|
interface RevolutPay {
|
|
2270
2040
|
/**
|
|
2271
2041
|
* Whether or not the payment method should be displayed.
|
|
@@ -2306,26 +2076,6 @@ declare module 'stripe' {
|
|
|
2306
2076
|
}
|
|
2307
2077
|
}
|
|
2308
2078
|
|
|
2309
|
-
interface Shopeepay {
|
|
2310
|
-
/**
|
|
2311
|
-
* Whether or not the payment method should be displayed.
|
|
2312
|
-
*/
|
|
2313
|
-
display_preference?: Shopeepay.DisplayPreference;
|
|
2314
|
-
}
|
|
2315
|
-
|
|
2316
|
-
namespace Shopeepay {
|
|
2317
|
-
interface DisplayPreference {
|
|
2318
|
-
/**
|
|
2319
|
-
* The account's preference for whether or not to display this payment method.
|
|
2320
|
-
*/
|
|
2321
|
-
preference?: DisplayPreference.Preference;
|
|
2322
|
-
}
|
|
2323
|
-
|
|
2324
|
-
namespace DisplayPreference {
|
|
2325
|
-
type Preference = 'none' | 'off' | 'on';
|
|
2326
|
-
}
|
|
2327
|
-
}
|
|
2328
|
-
|
|
2329
2079
|
interface Sofort {
|
|
2330
2080
|
/**
|
|
2331
2081
|
* Whether or not the payment method should be displayed.
|