stripe 17.3.0 → 17.4.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +938 -110
- package/README.md +4 -4
- package/VERSION +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/Margins.js +22 -0
- package/cjs/resources/Orders.js +24 -0
- package/cjs/resources/PaymentIntents.js +8 -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.js +42 -10
- package/cjs/stripe.core.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/Margins.js +19 -0
- package/esm/resources/Orders.js +21 -0
- package/esm/resources/PaymentIntents.js +8 -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.js +29 -0
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- 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 +45 -0
- package/types/AccountSessionsResource.d.ts +332 -0
- package/types/Accounts.d.ts +183 -1
- package/types/AccountsResource.d.ts +496 -0
- package/types/Billing/MeterErrorReports.d.ts +106 -0
- 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/Charges.d.ts +116 -0
- package/types/ChargesResource.d.ts +1294 -0
- package/types/Checkout/Sessions.d.ts +302 -4
- package/types/Checkout/SessionsResource.d.ts +354 -5
- package/types/ConfirmationTokens.d.ts +99 -0
- package/types/Coupons.d.ts +1 -1
- package/types/CouponsResource.d.ts +1 -1
- package/types/CreditNotes.d.ts +21 -0
- package/types/CreditNotesResource.d.ts +51 -0
- package/types/CustomersResource.d.ts +7 -0
- package/types/EventTypes.d.ts +545 -0
- package/types/Events.d.ts +90 -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/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 +28 -1
- package/types/InvoicePayments.d.ts +138 -0
- package/types/Invoices.d.ts +131 -2
- package/types/InvoicesResource.d.ts +5522 -1844
- 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/Settlements.d.ts +103 -0
- package/types/Issuing/Transactions.d.ts +2 -0
- package/types/Issuing/TransactionsResource.d.ts +5 -0
- package/types/LineItems.d.ts +7 -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 +1154 -0
- package/types/OrdersResource.d.ts +2911 -0
- package/types/PaymentIntents.d.ts +637 -1
- package/types/PaymentIntentsResource.d.ts +7947 -3706
- package/types/PaymentLinks.d.ts +6 -0
- package/types/PaymentLinksResource.d.ts +12 -0
- package/types/PaymentMethodConfigurations.d.ts +180 -0
- package/types/PaymentMethodConfigurationsResource.d.ts +250 -0
- package/types/PaymentMethods.d.ts +99 -0
- package/types/PaymentMethodsResource.d.ts +133 -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 +1608 -0
- package/types/QuotePreviewSubscriptionSchedules.d.ts +814 -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 +38 -0
- package/types/SetupIntents.d.ts +111 -1
- package/types/SetupIntentsResource.d.ts +645 -3
- package/types/Sources.d.ts +23 -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 +90 -1
- package/types/SubscriptionsResource.d.ts +367 -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/ReaderCollectedData.d.ts +51 -0
- package/types/Terminal/ReaderCollectedDataResource.d.ts +29 -0
- package/types/Terminal/Readers.d.ts +278 -0
- package/types/Terminal/ReadersResource.d.ts +215 -0
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +104 -0
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
- package/types/Treasury/FinancialAccountFeatures.d.ts +7 -0
- package/types/Treasury/FinancialAccounts.d.ts +5 -0
- package/types/Treasury/FinancialAccountsResource.d.ts +37 -0
- package/types/Treasury/OutboundTransfers.d.ts +26 -0
- package/types/Treasury/OutboundTransfersResource.d.ts +26 -0
- package/types/Treasury/ReceivedCredits.d.ts +26 -0
- package/types/Treasury/ReceivedDebits.d.ts +31 -0
- package/types/WebhookEndpointsResource.d.ts +64 -0
- package/types/index.d.ts +53 -0
package/types/PaymentLinks.d.ts
CHANGED
|
@@ -553,20 +553,26 @@ 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'
|
|
565
567
|
| 'paynow'
|
|
566
568
|
| 'paypal'
|
|
569
|
+
| 'payto'
|
|
567
570
|
| 'pix'
|
|
568
571
|
| 'promptpay'
|
|
572
|
+
| 'qris'
|
|
573
|
+
| 'rechnung'
|
|
569
574
|
| 'sepa_debit'
|
|
575
|
+
| 'shopeepay'
|
|
570
576
|
| 'sofort'
|
|
571
577
|
| 'swish'
|
|
572
578
|
| 'twint'
|
|
@@ -612,20 +612,26 @@ declare module 'stripe' {
|
|
|
612
612
|
| 'eps'
|
|
613
613
|
| 'fpx'
|
|
614
614
|
| 'giropay'
|
|
615
|
+
| 'gopay'
|
|
615
616
|
| 'grabpay'
|
|
616
617
|
| 'ideal'
|
|
617
618
|
| 'klarna'
|
|
618
619
|
| 'konbini'
|
|
619
620
|
| 'link'
|
|
621
|
+
| 'mb_way'
|
|
620
622
|
| 'mobilepay'
|
|
621
623
|
| 'multibanco'
|
|
622
624
|
| 'oxxo'
|
|
623
625
|
| 'p24'
|
|
624
626
|
| 'paynow'
|
|
625
627
|
| 'paypal'
|
|
628
|
+
| 'payto'
|
|
626
629
|
| 'pix'
|
|
627
630
|
| 'promptpay'
|
|
631
|
+
| 'qris'
|
|
632
|
+
| 'rechnung'
|
|
628
633
|
| 'sepa_debit'
|
|
634
|
+
| 'shopeepay'
|
|
629
635
|
| 'sofort'
|
|
630
636
|
| 'swish'
|
|
631
637
|
| 'twint'
|
|
@@ -1537,20 +1543,26 @@ declare module 'stripe' {
|
|
|
1537
1543
|
| 'eps'
|
|
1538
1544
|
| 'fpx'
|
|
1539
1545
|
| 'giropay'
|
|
1546
|
+
| 'gopay'
|
|
1540
1547
|
| 'grabpay'
|
|
1541
1548
|
| 'ideal'
|
|
1542
1549
|
| 'klarna'
|
|
1543
1550
|
| 'konbini'
|
|
1544
1551
|
| 'link'
|
|
1552
|
+
| 'mb_way'
|
|
1545
1553
|
| 'mobilepay'
|
|
1546
1554
|
| 'multibanco'
|
|
1547
1555
|
| 'oxxo'
|
|
1548
1556
|
| 'p24'
|
|
1549
1557
|
| 'paynow'
|
|
1550
1558
|
| 'paypal'
|
|
1559
|
+
| 'payto'
|
|
1551
1560
|
| 'pix'
|
|
1552
1561
|
| 'promptpay'
|
|
1562
|
+
| 'qris'
|
|
1563
|
+
| 'rechnung'
|
|
1553
1564
|
| 'sepa_debit'
|
|
1565
|
+
| 'shopeepay'
|
|
1554
1566
|
| 'sofort'
|
|
1555
1567
|
| 'swish'
|
|
1556
1568
|
| 'twint'
|
|
@@ -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
|
/**
|
|
@@ -123,12 +127,18 @@ declare module 'stripe' {
|
|
|
123
127
|
|
|
124
128
|
paypal?: PaymentMethodConfiguration.Paypal;
|
|
125
129
|
|
|
130
|
+
payto?: PaymentMethodConfiguration.Payto;
|
|
131
|
+
|
|
126
132
|
promptpay?: PaymentMethodConfiguration.Promptpay;
|
|
127
133
|
|
|
134
|
+
qris?: PaymentMethodConfiguration.Qris;
|
|
135
|
+
|
|
128
136
|
revolut_pay?: PaymentMethodConfiguration.RevolutPay;
|
|
129
137
|
|
|
130
138
|
sepa_debit?: PaymentMethodConfiguration.SepaDebit;
|
|
131
139
|
|
|
140
|
+
shopeepay?: PaymentMethodConfiguration.Shopeepay;
|
|
141
|
+
|
|
132
142
|
sofort?: PaymentMethodConfiguration.Sofort;
|
|
133
143
|
|
|
134
144
|
swish?: PaymentMethodConfiguration.Swish;
|
|
@@ -823,6 +833,40 @@ declare module 'stripe' {
|
|
|
823
833
|
}
|
|
824
834
|
}
|
|
825
835
|
|
|
836
|
+
interface Gopay {
|
|
837
|
+
/**
|
|
838
|
+
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
839
|
+
*/
|
|
840
|
+
available: boolean;
|
|
841
|
+
|
|
842
|
+
display_preference: Gopay.DisplayPreference;
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
namespace Gopay {
|
|
846
|
+
interface DisplayPreference {
|
|
847
|
+
/**
|
|
848
|
+
* For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
|
849
|
+
*/
|
|
850
|
+
overridable: boolean | null;
|
|
851
|
+
|
|
852
|
+
/**
|
|
853
|
+
* The account's display preference.
|
|
854
|
+
*/
|
|
855
|
+
preference: DisplayPreference.Preference;
|
|
856
|
+
|
|
857
|
+
/**
|
|
858
|
+
* The effective display preference value.
|
|
859
|
+
*/
|
|
860
|
+
value: DisplayPreference.Value;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
namespace DisplayPreference {
|
|
864
|
+
type Preference = 'none' | 'off' | 'on';
|
|
865
|
+
|
|
866
|
+
type Value = 'off' | 'on';
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
|
|
826
870
|
interface Grabpay {
|
|
827
871
|
/**
|
|
828
872
|
* 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 +901,40 @@ declare module 'stripe' {
|
|
|
857
901
|
}
|
|
858
902
|
}
|
|
859
903
|
|
|
904
|
+
interface IdBankTransfer {
|
|
905
|
+
/**
|
|
906
|
+
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
907
|
+
*/
|
|
908
|
+
available: boolean;
|
|
909
|
+
|
|
910
|
+
display_preference: IdBankTransfer.DisplayPreference;
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
namespace IdBankTransfer {
|
|
914
|
+
interface DisplayPreference {
|
|
915
|
+
/**
|
|
916
|
+
* For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
|
917
|
+
*/
|
|
918
|
+
overridable: boolean | null;
|
|
919
|
+
|
|
920
|
+
/**
|
|
921
|
+
* The account's display preference.
|
|
922
|
+
*/
|
|
923
|
+
preference: DisplayPreference.Preference;
|
|
924
|
+
|
|
925
|
+
/**
|
|
926
|
+
* The effective display preference value.
|
|
927
|
+
*/
|
|
928
|
+
value: DisplayPreference.Value;
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
namespace DisplayPreference {
|
|
932
|
+
type Preference = 'none' | 'off' | 'on';
|
|
933
|
+
|
|
934
|
+
type Value = 'off' | 'on';
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
|
|
860
938
|
interface Ideal {
|
|
861
939
|
/**
|
|
862
940
|
* 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 +1309,40 @@ declare module 'stripe' {
|
|
|
1231
1309
|
}
|
|
1232
1310
|
}
|
|
1233
1311
|
|
|
1312
|
+
interface Payto {
|
|
1313
|
+
/**
|
|
1314
|
+
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
1315
|
+
*/
|
|
1316
|
+
available: boolean;
|
|
1317
|
+
|
|
1318
|
+
display_preference: Payto.DisplayPreference;
|
|
1319
|
+
}
|
|
1320
|
+
|
|
1321
|
+
namespace Payto {
|
|
1322
|
+
interface DisplayPreference {
|
|
1323
|
+
/**
|
|
1324
|
+
* For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
|
1325
|
+
*/
|
|
1326
|
+
overridable: boolean | null;
|
|
1327
|
+
|
|
1328
|
+
/**
|
|
1329
|
+
* The account's display preference.
|
|
1330
|
+
*/
|
|
1331
|
+
preference: DisplayPreference.Preference;
|
|
1332
|
+
|
|
1333
|
+
/**
|
|
1334
|
+
* The effective display preference value.
|
|
1335
|
+
*/
|
|
1336
|
+
value: DisplayPreference.Value;
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1339
|
+
namespace DisplayPreference {
|
|
1340
|
+
type Preference = 'none' | 'off' | 'on';
|
|
1341
|
+
|
|
1342
|
+
type Value = 'off' | 'on';
|
|
1343
|
+
}
|
|
1344
|
+
}
|
|
1345
|
+
|
|
1234
1346
|
interface Promptpay {
|
|
1235
1347
|
/**
|
|
1236
1348
|
* 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 +1377,40 @@ declare module 'stripe' {
|
|
|
1265
1377
|
}
|
|
1266
1378
|
}
|
|
1267
1379
|
|
|
1380
|
+
interface Qris {
|
|
1381
|
+
/**
|
|
1382
|
+
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
1383
|
+
*/
|
|
1384
|
+
available: boolean;
|
|
1385
|
+
|
|
1386
|
+
display_preference: Qris.DisplayPreference;
|
|
1387
|
+
}
|
|
1388
|
+
|
|
1389
|
+
namespace Qris {
|
|
1390
|
+
interface DisplayPreference {
|
|
1391
|
+
/**
|
|
1392
|
+
* For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
|
1393
|
+
*/
|
|
1394
|
+
overridable: boolean | null;
|
|
1395
|
+
|
|
1396
|
+
/**
|
|
1397
|
+
* The account's display preference.
|
|
1398
|
+
*/
|
|
1399
|
+
preference: DisplayPreference.Preference;
|
|
1400
|
+
|
|
1401
|
+
/**
|
|
1402
|
+
* The effective display preference value.
|
|
1403
|
+
*/
|
|
1404
|
+
value: DisplayPreference.Value;
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1407
|
+
namespace DisplayPreference {
|
|
1408
|
+
type Preference = 'none' | 'off' | 'on';
|
|
1409
|
+
|
|
1410
|
+
type Value = 'off' | 'on';
|
|
1411
|
+
}
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1268
1414
|
interface RevolutPay {
|
|
1269
1415
|
/**
|
|
1270
1416
|
* 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 +1479,40 @@ declare module 'stripe' {
|
|
|
1333
1479
|
}
|
|
1334
1480
|
}
|
|
1335
1481
|
|
|
1482
|
+
interface Shopeepay {
|
|
1483
|
+
/**
|
|
1484
|
+
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
1485
|
+
*/
|
|
1486
|
+
available: boolean;
|
|
1487
|
+
|
|
1488
|
+
display_preference: Shopeepay.DisplayPreference;
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
namespace Shopeepay {
|
|
1492
|
+
interface DisplayPreference {
|
|
1493
|
+
/**
|
|
1494
|
+
* For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
|
1495
|
+
*/
|
|
1496
|
+
overridable: boolean | null;
|
|
1497
|
+
|
|
1498
|
+
/**
|
|
1499
|
+
* The account's display preference.
|
|
1500
|
+
*/
|
|
1501
|
+
preference: DisplayPreference.Preference;
|
|
1502
|
+
|
|
1503
|
+
/**
|
|
1504
|
+
* The effective display preference value.
|
|
1505
|
+
*/
|
|
1506
|
+
value: DisplayPreference.Value;
|
|
1507
|
+
}
|
|
1508
|
+
|
|
1509
|
+
namespace DisplayPreference {
|
|
1510
|
+
type Preference = 'none' | 'off' | 'on';
|
|
1511
|
+
|
|
1512
|
+
type Value = 'off' | 'on';
|
|
1513
|
+
}
|
|
1514
|
+
}
|
|
1515
|
+
|
|
1336
1516
|
interface Sofort {
|
|
1337
1517
|
/**
|
|
1338
1518
|
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
@@ -113,11 +113,21 @@ 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
|
+
|
|
116
121
|
/**
|
|
117
122
|
* 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.
|
|
118
123
|
*/
|
|
119
124
|
grabpay?: PaymentMethodConfigurationCreateParams.Grabpay;
|
|
120
125
|
|
|
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
|
+
|
|
121
131
|
/**
|
|
122
132
|
* 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.
|
|
123
133
|
*/
|
|
@@ -183,11 +193,21 @@ declare module 'stripe' {
|
|
|
183
193
|
*/
|
|
184
194
|
paypal?: PaymentMethodConfigurationCreateParams.Paypal;
|
|
185
195
|
|
|
196
|
+
/**
|
|
197
|
+
* 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.
|
|
198
|
+
*/
|
|
199
|
+
payto?: PaymentMethodConfigurationCreateParams.Payto;
|
|
200
|
+
|
|
186
201
|
/**
|
|
187
202
|
* 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.
|
|
188
203
|
*/
|
|
189
204
|
promptpay?: PaymentMethodConfigurationCreateParams.Promptpay;
|
|
190
205
|
|
|
206
|
+
/**
|
|
207
|
+
* 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.
|
|
208
|
+
*/
|
|
209
|
+
qris?: PaymentMethodConfigurationCreateParams.Qris;
|
|
210
|
+
|
|
191
211
|
/**
|
|
192
212
|
* 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.
|
|
193
213
|
*/
|
|
@@ -198,6 +218,11 @@ declare module 'stripe' {
|
|
|
198
218
|
*/
|
|
199
219
|
sepa_debit?: PaymentMethodConfigurationCreateParams.SepaDebit;
|
|
200
220
|
|
|
221
|
+
/**
|
|
222
|
+
* 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.
|
|
223
|
+
*/
|
|
224
|
+
shopeepay?: PaymentMethodConfigurationCreateParams.Shopeepay;
|
|
225
|
+
|
|
201
226
|
/**
|
|
202
227
|
* 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.
|
|
203
228
|
*/
|
|
@@ -650,6 +675,26 @@ declare module 'stripe' {
|
|
|
650
675
|
}
|
|
651
676
|
}
|
|
652
677
|
|
|
678
|
+
interface Gopay {
|
|
679
|
+
/**
|
|
680
|
+
* Whether or not the payment method should be displayed.
|
|
681
|
+
*/
|
|
682
|
+
display_preference?: Gopay.DisplayPreference;
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
namespace Gopay {
|
|
686
|
+
interface DisplayPreference {
|
|
687
|
+
/**
|
|
688
|
+
* The account's preference for whether or not to display this payment method.
|
|
689
|
+
*/
|
|
690
|
+
preference?: DisplayPreference.Preference;
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
namespace DisplayPreference {
|
|
694
|
+
type Preference = 'none' | 'off' | 'on';
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
|
|
653
698
|
interface Grabpay {
|
|
654
699
|
/**
|
|
655
700
|
* Whether or not the payment method should be displayed.
|
|
@@ -670,6 +715,26 @@ declare module 'stripe' {
|
|
|
670
715
|
}
|
|
671
716
|
}
|
|
672
717
|
|
|
718
|
+
interface IdBankTransfer {
|
|
719
|
+
/**
|
|
720
|
+
* Whether or not the payment method should be displayed.
|
|
721
|
+
*/
|
|
722
|
+
display_preference?: IdBankTransfer.DisplayPreference;
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
namespace IdBankTransfer {
|
|
726
|
+
interface DisplayPreference {
|
|
727
|
+
/**
|
|
728
|
+
* The account's preference for whether or not to display this payment method.
|
|
729
|
+
*/
|
|
730
|
+
preference?: DisplayPreference.Preference;
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
namespace DisplayPreference {
|
|
734
|
+
type Preference = 'none' | 'off' | 'on';
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
|
|
673
738
|
interface Ideal {
|
|
674
739
|
/**
|
|
675
740
|
* Whether or not the payment method should be displayed.
|
|
@@ -890,6 +955,26 @@ declare module 'stripe' {
|
|
|
890
955
|
}
|
|
891
956
|
}
|
|
892
957
|
|
|
958
|
+
interface Payto {
|
|
959
|
+
/**
|
|
960
|
+
* Whether or not the payment method should be displayed.
|
|
961
|
+
*/
|
|
962
|
+
display_preference?: Payto.DisplayPreference;
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
namespace Payto {
|
|
966
|
+
interface DisplayPreference {
|
|
967
|
+
/**
|
|
968
|
+
* The account's preference for whether or not to display this payment method.
|
|
969
|
+
*/
|
|
970
|
+
preference?: DisplayPreference.Preference;
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
namespace DisplayPreference {
|
|
974
|
+
type Preference = 'none' | 'off' | 'on';
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
|
|
893
978
|
interface Promptpay {
|
|
894
979
|
/**
|
|
895
980
|
* Whether or not the payment method should be displayed.
|
|
@@ -910,6 +995,26 @@ declare module 'stripe' {
|
|
|
910
995
|
}
|
|
911
996
|
}
|
|
912
997
|
|
|
998
|
+
interface Qris {
|
|
999
|
+
/**
|
|
1000
|
+
* Whether or not the payment method should be displayed.
|
|
1001
|
+
*/
|
|
1002
|
+
display_preference?: Qris.DisplayPreference;
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
namespace Qris {
|
|
1006
|
+
interface DisplayPreference {
|
|
1007
|
+
/**
|
|
1008
|
+
* The account's preference for whether or not to display this payment method.
|
|
1009
|
+
*/
|
|
1010
|
+
preference?: DisplayPreference.Preference;
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
namespace DisplayPreference {
|
|
1014
|
+
type Preference = 'none' | 'off' | 'on';
|
|
1015
|
+
}
|
|
1016
|
+
}
|
|
1017
|
+
|
|
913
1018
|
interface RevolutPay {
|
|
914
1019
|
/**
|
|
915
1020
|
* Whether or not the payment method should be displayed.
|
|
@@ -950,6 +1055,26 @@ declare module 'stripe' {
|
|
|
950
1055
|
}
|
|
951
1056
|
}
|
|
952
1057
|
|
|
1058
|
+
interface Shopeepay {
|
|
1059
|
+
/**
|
|
1060
|
+
* Whether or not the payment method should be displayed.
|
|
1061
|
+
*/
|
|
1062
|
+
display_preference?: Shopeepay.DisplayPreference;
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
namespace Shopeepay {
|
|
1066
|
+
interface DisplayPreference {
|
|
1067
|
+
/**
|
|
1068
|
+
* The account's preference for whether or not to display this payment method.
|
|
1069
|
+
*/
|
|
1070
|
+
preference?: DisplayPreference.Preference;
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
namespace DisplayPreference {
|
|
1074
|
+
type Preference = 'none' | 'off' | 'on';
|
|
1075
|
+
}
|
|
1076
|
+
}
|
|
1077
|
+
|
|
953
1078
|
interface Sofort {
|
|
954
1079
|
/**
|
|
955
1080
|
* Whether or not the payment method should be displayed.
|
|
@@ -1194,11 +1319,21 @@ declare module 'stripe' {
|
|
|
1194
1319
|
*/
|
|
1195
1320
|
google_pay?: PaymentMethodConfigurationUpdateParams.GooglePay;
|
|
1196
1321
|
|
|
1322
|
+
/**
|
|
1323
|
+
* 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.
|
|
1324
|
+
*/
|
|
1325
|
+
gopay?: PaymentMethodConfigurationUpdateParams.Gopay;
|
|
1326
|
+
|
|
1197
1327
|
/**
|
|
1198
1328
|
* 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.
|
|
1199
1329
|
*/
|
|
1200
1330
|
grabpay?: PaymentMethodConfigurationUpdateParams.Grabpay;
|
|
1201
1331
|
|
|
1332
|
+
/**
|
|
1333
|
+
* Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.
|
|
1334
|
+
*/
|
|
1335
|
+
id_bank_transfer?: PaymentMethodConfigurationUpdateParams.IdBankTransfer;
|
|
1336
|
+
|
|
1202
1337
|
/**
|
|
1203
1338
|
* 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.
|
|
1204
1339
|
*/
|
|
@@ -1259,11 +1394,21 @@ declare module 'stripe' {
|
|
|
1259
1394
|
*/
|
|
1260
1395
|
paypal?: PaymentMethodConfigurationUpdateParams.Paypal;
|
|
1261
1396
|
|
|
1397
|
+
/**
|
|
1398
|
+
* 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.
|
|
1399
|
+
*/
|
|
1400
|
+
payto?: PaymentMethodConfigurationUpdateParams.Payto;
|
|
1401
|
+
|
|
1262
1402
|
/**
|
|
1263
1403
|
* 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.
|
|
1264
1404
|
*/
|
|
1265
1405
|
promptpay?: PaymentMethodConfigurationUpdateParams.Promptpay;
|
|
1266
1406
|
|
|
1407
|
+
/**
|
|
1408
|
+
* 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.
|
|
1409
|
+
*/
|
|
1410
|
+
qris?: PaymentMethodConfigurationUpdateParams.Qris;
|
|
1411
|
+
|
|
1267
1412
|
/**
|
|
1268
1413
|
* 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.
|
|
1269
1414
|
*/
|
|
@@ -1274,6 +1419,11 @@ declare module 'stripe' {
|
|
|
1274
1419
|
*/
|
|
1275
1420
|
sepa_debit?: PaymentMethodConfigurationUpdateParams.SepaDebit;
|
|
1276
1421
|
|
|
1422
|
+
/**
|
|
1423
|
+
* 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.
|
|
1424
|
+
*/
|
|
1425
|
+
shopeepay?: PaymentMethodConfigurationUpdateParams.Shopeepay;
|
|
1426
|
+
|
|
1277
1427
|
/**
|
|
1278
1428
|
* 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.
|
|
1279
1429
|
*/
|
|
@@ -1726,6 +1876,26 @@ declare module 'stripe' {
|
|
|
1726
1876
|
}
|
|
1727
1877
|
}
|
|
1728
1878
|
|
|
1879
|
+
interface Gopay {
|
|
1880
|
+
/**
|
|
1881
|
+
* Whether or not the payment method should be displayed.
|
|
1882
|
+
*/
|
|
1883
|
+
display_preference?: Gopay.DisplayPreference;
|
|
1884
|
+
}
|
|
1885
|
+
|
|
1886
|
+
namespace Gopay {
|
|
1887
|
+
interface DisplayPreference {
|
|
1888
|
+
/**
|
|
1889
|
+
* The account's preference for whether or not to display this payment method.
|
|
1890
|
+
*/
|
|
1891
|
+
preference?: DisplayPreference.Preference;
|
|
1892
|
+
}
|
|
1893
|
+
|
|
1894
|
+
namespace DisplayPreference {
|
|
1895
|
+
type Preference = 'none' | 'off' | 'on';
|
|
1896
|
+
}
|
|
1897
|
+
}
|
|
1898
|
+
|
|
1729
1899
|
interface Grabpay {
|
|
1730
1900
|
/**
|
|
1731
1901
|
* Whether or not the payment method should be displayed.
|
|
@@ -1746,6 +1916,26 @@ declare module 'stripe' {
|
|
|
1746
1916
|
}
|
|
1747
1917
|
}
|
|
1748
1918
|
|
|
1919
|
+
interface IdBankTransfer {
|
|
1920
|
+
/**
|
|
1921
|
+
* Whether or not the payment method should be displayed.
|
|
1922
|
+
*/
|
|
1923
|
+
display_preference?: IdBankTransfer.DisplayPreference;
|
|
1924
|
+
}
|
|
1925
|
+
|
|
1926
|
+
namespace IdBankTransfer {
|
|
1927
|
+
interface DisplayPreference {
|
|
1928
|
+
/**
|
|
1929
|
+
* The account's preference for whether or not to display this payment method.
|
|
1930
|
+
*/
|
|
1931
|
+
preference?: DisplayPreference.Preference;
|
|
1932
|
+
}
|
|
1933
|
+
|
|
1934
|
+
namespace DisplayPreference {
|
|
1935
|
+
type Preference = 'none' | 'off' | 'on';
|
|
1936
|
+
}
|
|
1937
|
+
}
|
|
1938
|
+
|
|
1749
1939
|
interface Ideal {
|
|
1750
1940
|
/**
|
|
1751
1941
|
* Whether or not the payment method should be displayed.
|
|
@@ -1966,6 +2156,26 @@ declare module 'stripe' {
|
|
|
1966
2156
|
}
|
|
1967
2157
|
}
|
|
1968
2158
|
|
|
2159
|
+
interface Payto {
|
|
2160
|
+
/**
|
|
2161
|
+
* Whether or not the payment method should be displayed.
|
|
2162
|
+
*/
|
|
2163
|
+
display_preference?: Payto.DisplayPreference;
|
|
2164
|
+
}
|
|
2165
|
+
|
|
2166
|
+
namespace Payto {
|
|
2167
|
+
interface DisplayPreference {
|
|
2168
|
+
/**
|
|
2169
|
+
* The account's preference for whether or not to display this payment method.
|
|
2170
|
+
*/
|
|
2171
|
+
preference?: DisplayPreference.Preference;
|
|
2172
|
+
}
|
|
2173
|
+
|
|
2174
|
+
namespace DisplayPreference {
|
|
2175
|
+
type Preference = 'none' | 'off' | 'on';
|
|
2176
|
+
}
|
|
2177
|
+
}
|
|
2178
|
+
|
|
1969
2179
|
interface Promptpay {
|
|
1970
2180
|
/**
|
|
1971
2181
|
* Whether or not the payment method should be displayed.
|
|
@@ -1986,6 +2196,26 @@ declare module 'stripe' {
|
|
|
1986
2196
|
}
|
|
1987
2197
|
}
|
|
1988
2198
|
|
|
2199
|
+
interface Qris {
|
|
2200
|
+
/**
|
|
2201
|
+
* Whether or not the payment method should be displayed.
|
|
2202
|
+
*/
|
|
2203
|
+
display_preference?: Qris.DisplayPreference;
|
|
2204
|
+
}
|
|
2205
|
+
|
|
2206
|
+
namespace Qris {
|
|
2207
|
+
interface DisplayPreference {
|
|
2208
|
+
/**
|
|
2209
|
+
* The account's preference for whether or not to display this payment method.
|
|
2210
|
+
*/
|
|
2211
|
+
preference?: DisplayPreference.Preference;
|
|
2212
|
+
}
|
|
2213
|
+
|
|
2214
|
+
namespace DisplayPreference {
|
|
2215
|
+
type Preference = 'none' | 'off' | 'on';
|
|
2216
|
+
}
|
|
2217
|
+
}
|
|
2218
|
+
|
|
1989
2219
|
interface RevolutPay {
|
|
1990
2220
|
/**
|
|
1991
2221
|
* Whether or not the payment method should be displayed.
|
|
@@ -2026,6 +2256,26 @@ declare module 'stripe' {
|
|
|
2026
2256
|
}
|
|
2027
2257
|
}
|
|
2028
2258
|
|
|
2259
|
+
interface Shopeepay {
|
|
2260
|
+
/**
|
|
2261
|
+
* Whether or not the payment method should be displayed.
|
|
2262
|
+
*/
|
|
2263
|
+
display_preference?: Shopeepay.DisplayPreference;
|
|
2264
|
+
}
|
|
2265
|
+
|
|
2266
|
+
namespace Shopeepay {
|
|
2267
|
+
interface DisplayPreference {
|
|
2268
|
+
/**
|
|
2269
|
+
* The account's preference for whether or not to display this payment method.
|
|
2270
|
+
*/
|
|
2271
|
+
preference?: DisplayPreference.Preference;
|
|
2272
|
+
}
|
|
2273
|
+
|
|
2274
|
+
namespace DisplayPreference {
|
|
2275
|
+
type Preference = 'none' | 'off' | 'on';
|
|
2276
|
+
}
|
|
2277
|
+
}
|
|
2278
|
+
|
|
2029
2279
|
interface Sofort {
|
|
2030
2280
|
/**
|
|
2031
2281
|
* Whether or not the payment method should be displayed.
|