stripe 17.7.0-beta.1 → 17.7.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 +120 -1064
- package/OPENAPI_VERSION +1 -1
- package/README.md +0 -1
- package/VERSION +1 -1
- package/cjs/apiVersion.js +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/apiVersion.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 -243
- package/types/Accounts.d.ts +1 -205
- package/types/AccountsResource.d.ts +2 -526
- package/types/Billing/CreditBalanceSummaryResource.d.ts +1 -1
- package/types/Billing/CreditGrants.d.ts +5 -0
- package/types/Billing/CreditGrantsResource.d.ts +7 -2
- package/types/Cards.d.ts +0 -5
- package/types/Charges.d.ts +1 -149
- package/types/ChargesResource.d.ts +0 -1294
- package/types/Checkout/Sessions.d.ts +29 -302
- package/types/Checkout/SessionsResource.d.ts +30 -383
- package/types/ConfirmationTokens.d.ts +0 -99
- 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 +30 -648
- package/types/PaymentIntentsResource.d.ts +3848 -8060
- 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 +0 -99
- 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 +5 -36
- package/types/Quotes.d.ts +1 -591
- package/types/QuotesResource.d.ts +199 -2531
- package/types/Refunds.d.ts +0 -14
- 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/TokensResource.d.ts +1 -3
- 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 +2 -71
- package/types/index.d.ts +0 -62
- package/types/lib.d.ts +1 -1
- package/types/test/typescriptTest.ts +3 -3
- 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
|
@@ -274,21 +274,11 @@ declare module 'stripe' {
|
|
|
274
274
|
*/
|
|
275
275
|
giropay?: PaymentMethodData.Giropay;
|
|
276
276
|
|
|
277
|
-
/**
|
|
278
|
-
* If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
279
|
-
*/
|
|
280
|
-
gopay?: PaymentMethodData.Gopay;
|
|
281
|
-
|
|
282
277
|
/**
|
|
283
278
|
* If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
284
279
|
*/
|
|
285
280
|
grabpay?: PaymentMethodData.Grabpay;
|
|
286
281
|
|
|
287
|
-
/**
|
|
288
|
-
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
289
|
-
*/
|
|
290
|
-
id_bank_transfer?: PaymentMethodData.IdBankTransfer;
|
|
291
|
-
|
|
292
282
|
/**
|
|
293
283
|
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
294
284
|
*/
|
|
@@ -324,11 +314,6 @@ declare module 'stripe' {
|
|
|
324
314
|
*/
|
|
325
315
|
link?: PaymentMethodData.Link;
|
|
326
316
|
|
|
327
|
-
/**
|
|
328
|
-
* If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
|
329
|
-
*/
|
|
330
|
-
mb_way?: PaymentMethodData.MbWay;
|
|
331
|
-
|
|
332
317
|
/**
|
|
333
318
|
* Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
334
319
|
*/
|
|
@@ -379,11 +364,6 @@ declare module 'stripe' {
|
|
|
379
364
|
*/
|
|
380
365
|
paypal?: PaymentMethodData.Paypal;
|
|
381
366
|
|
|
382
|
-
/**
|
|
383
|
-
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
384
|
-
*/
|
|
385
|
-
payto?: PaymentMethodData.Payto;
|
|
386
|
-
|
|
387
367
|
/**
|
|
388
368
|
* If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
389
369
|
*/
|
|
@@ -394,21 +374,11 @@ declare module 'stripe' {
|
|
|
394
374
|
*/
|
|
395
375
|
promptpay?: PaymentMethodData.Promptpay;
|
|
396
376
|
|
|
397
|
-
/**
|
|
398
|
-
* If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
399
|
-
*/
|
|
400
|
-
qris?: PaymentMethodData.Qris;
|
|
401
|
-
|
|
402
377
|
/**
|
|
403
378
|
* Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
404
379
|
*/
|
|
405
380
|
radar_options?: PaymentMethodData.RadarOptions;
|
|
406
381
|
|
|
407
|
-
/**
|
|
408
|
-
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
409
|
-
*/
|
|
410
|
-
rechnung?: PaymentMethodData.Rechnung;
|
|
411
|
-
|
|
412
382
|
/**
|
|
413
383
|
* If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
414
384
|
*/
|
|
@@ -424,11 +394,6 @@ declare module 'stripe' {
|
|
|
424
394
|
*/
|
|
425
395
|
sepa_debit?: PaymentMethodData.SepaDebit;
|
|
426
396
|
|
|
427
|
-
/**
|
|
428
|
-
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
429
|
-
*/
|
|
430
|
-
shopeepay?: PaymentMethodData.Shopeepay;
|
|
431
|
-
|
|
432
397
|
/**
|
|
433
398
|
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
434
399
|
*/
|
|
@@ -637,21 +602,8 @@ declare module 'stripe' {
|
|
|
637
602
|
|
|
638
603
|
interface Giropay {}
|
|
639
604
|
|
|
640
|
-
interface Gopay {}
|
|
641
|
-
|
|
642
605
|
interface Grabpay {}
|
|
643
606
|
|
|
644
|
-
interface IdBankTransfer {
|
|
645
|
-
/**
|
|
646
|
-
* Bank where the account is held.
|
|
647
|
-
*/
|
|
648
|
-
bank?: IdBankTransfer.Bank;
|
|
649
|
-
}
|
|
650
|
-
|
|
651
|
-
namespace IdBankTransfer {
|
|
652
|
-
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
653
|
-
}
|
|
654
|
-
|
|
655
607
|
interface Ideal {
|
|
656
608
|
/**
|
|
657
609
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -715,8 +667,6 @@ declare module 'stripe' {
|
|
|
715
667
|
|
|
716
668
|
interface Link {}
|
|
717
669
|
|
|
718
|
-
interface MbWay {}
|
|
719
|
-
|
|
720
670
|
interface Mobilepay {}
|
|
721
671
|
|
|
722
672
|
interface Multibanco {}
|
|
@@ -779,29 +729,10 @@ declare module 'stripe' {
|
|
|
779
729
|
|
|
780
730
|
interface Paypal {}
|
|
781
731
|
|
|
782
|
-
interface Payto {
|
|
783
|
-
/**
|
|
784
|
-
* The account number for the bank account.
|
|
785
|
-
*/
|
|
786
|
-
account_number?: string;
|
|
787
|
-
|
|
788
|
-
/**
|
|
789
|
-
* Bank-State-Branch number of the bank account.
|
|
790
|
-
*/
|
|
791
|
-
bsb_number?: string;
|
|
792
|
-
|
|
793
|
-
/**
|
|
794
|
-
* The PayID alias for the bank account.
|
|
795
|
-
*/
|
|
796
|
-
pay_id?: string;
|
|
797
|
-
}
|
|
798
|
-
|
|
799
732
|
interface Pix {}
|
|
800
733
|
|
|
801
734
|
interface Promptpay {}
|
|
802
735
|
|
|
803
|
-
interface Qris {}
|
|
804
|
-
|
|
805
736
|
interface RadarOptions {
|
|
806
737
|
/**
|
|
807
738
|
* A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
@@ -809,32 +740,6 @@ declare module 'stripe' {
|
|
|
809
740
|
session?: string;
|
|
810
741
|
}
|
|
811
742
|
|
|
812
|
-
interface Rechnung {
|
|
813
|
-
/**
|
|
814
|
-
* Customer's date of birth
|
|
815
|
-
*/
|
|
816
|
-
dob: Rechnung.Dob;
|
|
817
|
-
}
|
|
818
|
-
|
|
819
|
-
namespace Rechnung {
|
|
820
|
-
interface Dob {
|
|
821
|
-
/**
|
|
822
|
-
* The day of birth, between 1 and 31.
|
|
823
|
-
*/
|
|
824
|
-
day: number;
|
|
825
|
-
|
|
826
|
-
/**
|
|
827
|
-
* The month of birth, between 1 and 12.
|
|
828
|
-
*/
|
|
829
|
-
month: number;
|
|
830
|
-
|
|
831
|
-
/**
|
|
832
|
-
* The four-digit year of birth.
|
|
833
|
-
*/
|
|
834
|
-
year: number;
|
|
835
|
-
}
|
|
836
|
-
}
|
|
837
|
-
|
|
838
743
|
interface RevolutPay {}
|
|
839
744
|
|
|
840
745
|
interface SamsungPay {}
|
|
@@ -846,8 +751,6 @@ declare module 'stripe' {
|
|
|
846
751
|
iban: string;
|
|
847
752
|
}
|
|
848
753
|
|
|
849
|
-
interface Shopeepay {}
|
|
850
|
-
|
|
851
754
|
interface Sofort {
|
|
852
755
|
/**
|
|
853
756
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
@@ -880,16 +783,13 @@ declare module 'stripe' {
|
|
|
880
783
|
| 'eps'
|
|
881
784
|
| 'fpx'
|
|
882
785
|
| 'giropay'
|
|
883
|
-
| 'gopay'
|
|
884
786
|
| 'grabpay'
|
|
885
|
-
| 'id_bank_transfer'
|
|
886
787
|
| 'ideal'
|
|
887
788
|
| 'kakao_pay'
|
|
888
789
|
| 'klarna'
|
|
889
790
|
| 'konbini'
|
|
890
791
|
| 'kr_card'
|
|
891
792
|
| 'link'
|
|
892
|
-
| 'mb_way'
|
|
893
793
|
| 'mobilepay'
|
|
894
794
|
| 'multibanco'
|
|
895
795
|
| 'naver_pay'
|
|
@@ -899,15 +799,11 @@ declare module 'stripe' {
|
|
|
899
799
|
| 'payco'
|
|
900
800
|
| 'paynow'
|
|
901
801
|
| 'paypal'
|
|
902
|
-
| 'payto'
|
|
903
802
|
| 'pix'
|
|
904
803
|
| 'promptpay'
|
|
905
|
-
| 'qris'
|
|
906
|
-
| 'rechnung'
|
|
907
804
|
| 'revolut_pay'
|
|
908
805
|
| 'samsung_pay'
|
|
909
806
|
| 'sepa_debit'
|
|
910
|
-
| 'shopeepay'
|
|
911
807
|
| 'sofort'
|
|
912
808
|
| 'swish'
|
|
913
809
|
| 'twint'
|
|
@@ -989,11 +885,6 @@ declare module 'stripe' {
|
|
|
989
885
|
*/
|
|
990
886
|
paypal?: PaymentMethodOptions.Paypal;
|
|
991
887
|
|
|
992
|
-
/**
|
|
993
|
-
* If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
|
994
|
-
*/
|
|
995
|
-
payto?: PaymentMethodOptions.Payto;
|
|
996
|
-
|
|
997
888
|
/**
|
|
998
889
|
* If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
|
999
890
|
*/
|
|
@@ -1295,86 +1186,6 @@ declare module 'stripe' {
|
|
|
1295
1186
|
* The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
1296
1187
|
*/
|
|
1297
1188
|
billing_agreement_id?: string;
|
|
1298
|
-
|
|
1299
|
-
currency?: string;
|
|
1300
|
-
|
|
1301
|
-
/**
|
|
1302
|
-
* The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
|
1303
|
-
*/
|
|
1304
|
-
subsellers?: Array<string>;
|
|
1305
|
-
}
|
|
1306
|
-
|
|
1307
|
-
interface Payto {
|
|
1308
|
-
/**
|
|
1309
|
-
* Additional fields for Mandate creation.
|
|
1310
|
-
*/
|
|
1311
|
-
mandate_options?: Payto.MandateOptions;
|
|
1312
|
-
}
|
|
1313
|
-
|
|
1314
|
-
namespace Payto {
|
|
1315
|
-
interface MandateOptions {
|
|
1316
|
-
/**
|
|
1317
|
-
* Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
1318
|
-
*/
|
|
1319
|
-
amount?: number;
|
|
1320
|
-
|
|
1321
|
-
/**
|
|
1322
|
-
* The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
|
|
1323
|
-
*/
|
|
1324
|
-
amount_type?: MandateOptions.AmountType;
|
|
1325
|
-
|
|
1326
|
-
/**
|
|
1327
|
-
* Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
1328
|
-
*/
|
|
1329
|
-
end_date?: string;
|
|
1330
|
-
|
|
1331
|
-
/**
|
|
1332
|
-
* The periodicity at which payments will be collected.
|
|
1333
|
-
*/
|
|
1334
|
-
payment_schedule?: MandateOptions.PaymentSchedule;
|
|
1335
|
-
|
|
1336
|
-
/**
|
|
1337
|
-
* The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
|
1338
|
-
*/
|
|
1339
|
-
payments_per_period?: number;
|
|
1340
|
-
|
|
1341
|
-
/**
|
|
1342
|
-
* The purpose for which payments are made. Defaults to retail.
|
|
1343
|
-
*/
|
|
1344
|
-
purpose?: MandateOptions.Purpose;
|
|
1345
|
-
|
|
1346
|
-
/**
|
|
1347
|
-
* Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
|
1348
|
-
*/
|
|
1349
|
-
start_date?: string;
|
|
1350
|
-
}
|
|
1351
|
-
|
|
1352
|
-
namespace MandateOptions {
|
|
1353
|
-
type AmountType = 'fixed' | 'maximum';
|
|
1354
|
-
|
|
1355
|
-
type PaymentSchedule =
|
|
1356
|
-
| 'adhoc'
|
|
1357
|
-
| 'annual'
|
|
1358
|
-
| 'daily'
|
|
1359
|
-
| 'fortnightly'
|
|
1360
|
-
| 'monthly'
|
|
1361
|
-
| 'quarterly'
|
|
1362
|
-
| 'semi_annual'
|
|
1363
|
-
| 'weekly';
|
|
1364
|
-
|
|
1365
|
-
type Purpose =
|
|
1366
|
-
| 'dependant_support'
|
|
1367
|
-
| 'government'
|
|
1368
|
-
| 'loan'
|
|
1369
|
-
| 'mortgage'
|
|
1370
|
-
| 'other'
|
|
1371
|
-
| 'pension'
|
|
1372
|
-
| 'personal'
|
|
1373
|
-
| 'retail'
|
|
1374
|
-
| 'salary'
|
|
1375
|
-
| 'tax'
|
|
1376
|
-
| 'utility';
|
|
1377
|
-
}
|
|
1378
1189
|
}
|
|
1379
1190
|
|
|
1380
1191
|
interface SepaDebit {
|
|
@@ -1422,11 +1233,6 @@ declare module 'stripe' {
|
|
|
1422
1233
|
*/
|
|
1423
1234
|
filters?: FinancialConnections.Filters;
|
|
1424
1235
|
|
|
1425
|
-
/**
|
|
1426
|
-
* Customize manual entry behavior
|
|
1427
|
-
*/
|
|
1428
|
-
manual_entry?: FinancialConnections.ManualEntry;
|
|
1429
|
-
|
|
1430
1236
|
/**
|
|
1431
1237
|
* The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
|
1432
1238
|
*/
|
|
@@ -1449,39 +1255,19 @@ declare module 'stripe' {
|
|
|
1449
1255
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
1450
1256
|
*/
|
|
1451
1257
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
1452
|
-
|
|
1453
|
-
/**
|
|
1454
|
-
* ID of the institution to use to filter for selectable accounts.
|
|
1455
|
-
*/
|
|
1456
|
-
institution?: string;
|
|
1457
1258
|
}
|
|
1458
1259
|
|
|
1459
1260
|
namespace Filters {
|
|
1460
1261
|
type AccountSubcategory = 'checking' | 'savings';
|
|
1461
1262
|
}
|
|
1462
1263
|
|
|
1463
|
-
interface ManualEntry {
|
|
1464
|
-
/**
|
|
1465
|
-
* Settings for configuring manual entry of account details.
|
|
1466
|
-
*/
|
|
1467
|
-
mode: ManualEntry.Mode;
|
|
1468
|
-
}
|
|
1469
|
-
|
|
1470
|
-
namespace ManualEntry {
|
|
1471
|
-
type Mode = 'automatic' | 'custom';
|
|
1472
|
-
}
|
|
1473
|
-
|
|
1474
1264
|
type Permission =
|
|
1475
1265
|
| 'balances'
|
|
1476
1266
|
| 'ownership'
|
|
1477
1267
|
| 'payment_method'
|
|
1478
1268
|
| 'transactions';
|
|
1479
1269
|
|
|
1480
|
-
type Prefetch =
|
|
1481
|
-
| 'balances'
|
|
1482
|
-
| 'inferred_balances'
|
|
1483
|
-
| 'ownership'
|
|
1484
|
-
| 'transactions';
|
|
1270
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
1485
1271
|
}
|
|
1486
1272
|
|
|
1487
1273
|
interface MandateOptions {
|
|
@@ -1691,21 +1477,11 @@ declare module 'stripe' {
|
|
|
1691
1477
|
*/
|
|
1692
1478
|
giropay?: PaymentMethodData.Giropay;
|
|
1693
1479
|
|
|
1694
|
-
/**
|
|
1695
|
-
* If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
1696
|
-
*/
|
|
1697
|
-
gopay?: PaymentMethodData.Gopay;
|
|
1698
|
-
|
|
1699
1480
|
/**
|
|
1700
1481
|
* If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
1701
1482
|
*/
|
|
1702
1483
|
grabpay?: PaymentMethodData.Grabpay;
|
|
1703
1484
|
|
|
1704
|
-
/**
|
|
1705
|
-
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
1706
|
-
*/
|
|
1707
|
-
id_bank_transfer?: PaymentMethodData.IdBankTransfer;
|
|
1708
|
-
|
|
1709
1485
|
/**
|
|
1710
1486
|
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
1711
1487
|
*/
|
|
@@ -1741,11 +1517,6 @@ declare module 'stripe' {
|
|
|
1741
1517
|
*/
|
|
1742
1518
|
link?: PaymentMethodData.Link;
|
|
1743
1519
|
|
|
1744
|
-
/**
|
|
1745
|
-
* If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
|
1746
|
-
*/
|
|
1747
|
-
mb_way?: PaymentMethodData.MbWay;
|
|
1748
|
-
|
|
1749
1520
|
/**
|
|
1750
1521
|
* Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
1751
1522
|
*/
|
|
@@ -1796,11 +1567,6 @@ declare module 'stripe' {
|
|
|
1796
1567
|
*/
|
|
1797
1568
|
paypal?: PaymentMethodData.Paypal;
|
|
1798
1569
|
|
|
1799
|
-
/**
|
|
1800
|
-
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
1801
|
-
*/
|
|
1802
|
-
payto?: PaymentMethodData.Payto;
|
|
1803
|
-
|
|
1804
1570
|
/**
|
|
1805
1571
|
* If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
1806
1572
|
*/
|
|
@@ -1811,21 +1577,11 @@ declare module 'stripe' {
|
|
|
1811
1577
|
*/
|
|
1812
1578
|
promptpay?: PaymentMethodData.Promptpay;
|
|
1813
1579
|
|
|
1814
|
-
/**
|
|
1815
|
-
* If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
1816
|
-
*/
|
|
1817
|
-
qris?: PaymentMethodData.Qris;
|
|
1818
|
-
|
|
1819
1580
|
/**
|
|
1820
1581
|
* Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
1821
1582
|
*/
|
|
1822
1583
|
radar_options?: PaymentMethodData.RadarOptions;
|
|
1823
1584
|
|
|
1824
|
-
/**
|
|
1825
|
-
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
1826
|
-
*/
|
|
1827
|
-
rechnung?: PaymentMethodData.Rechnung;
|
|
1828
|
-
|
|
1829
1585
|
/**
|
|
1830
1586
|
* If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
1831
1587
|
*/
|
|
@@ -1841,11 +1597,6 @@ declare module 'stripe' {
|
|
|
1841
1597
|
*/
|
|
1842
1598
|
sepa_debit?: PaymentMethodData.SepaDebit;
|
|
1843
1599
|
|
|
1844
|
-
/**
|
|
1845
|
-
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
1846
|
-
*/
|
|
1847
|
-
shopeepay?: PaymentMethodData.Shopeepay;
|
|
1848
|
-
|
|
1849
1600
|
/**
|
|
1850
1601
|
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
1851
1602
|
*/
|
|
@@ -2054,21 +1805,8 @@ declare module 'stripe' {
|
|
|
2054
1805
|
|
|
2055
1806
|
interface Giropay {}
|
|
2056
1807
|
|
|
2057
|
-
interface Gopay {}
|
|
2058
|
-
|
|
2059
1808
|
interface Grabpay {}
|
|
2060
1809
|
|
|
2061
|
-
interface IdBankTransfer {
|
|
2062
|
-
/**
|
|
2063
|
-
* Bank where the account is held.
|
|
2064
|
-
*/
|
|
2065
|
-
bank?: IdBankTransfer.Bank;
|
|
2066
|
-
}
|
|
2067
|
-
|
|
2068
|
-
namespace IdBankTransfer {
|
|
2069
|
-
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
2070
|
-
}
|
|
2071
|
-
|
|
2072
1810
|
interface Ideal {
|
|
2073
1811
|
/**
|
|
2074
1812
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -2132,8 +1870,6 @@ declare module 'stripe' {
|
|
|
2132
1870
|
|
|
2133
1871
|
interface Link {}
|
|
2134
1872
|
|
|
2135
|
-
interface MbWay {}
|
|
2136
|
-
|
|
2137
1873
|
interface Mobilepay {}
|
|
2138
1874
|
|
|
2139
1875
|
interface Multibanco {}
|
|
@@ -2196,29 +1932,10 @@ declare module 'stripe' {
|
|
|
2196
1932
|
|
|
2197
1933
|
interface Paypal {}
|
|
2198
1934
|
|
|
2199
|
-
interface Payto {
|
|
2200
|
-
/**
|
|
2201
|
-
* The account number for the bank account.
|
|
2202
|
-
*/
|
|
2203
|
-
account_number?: string;
|
|
2204
|
-
|
|
2205
|
-
/**
|
|
2206
|
-
* Bank-State-Branch number of the bank account.
|
|
2207
|
-
*/
|
|
2208
|
-
bsb_number?: string;
|
|
2209
|
-
|
|
2210
|
-
/**
|
|
2211
|
-
* The PayID alias for the bank account.
|
|
2212
|
-
*/
|
|
2213
|
-
pay_id?: string;
|
|
2214
|
-
}
|
|
2215
|
-
|
|
2216
1935
|
interface Pix {}
|
|
2217
1936
|
|
|
2218
1937
|
interface Promptpay {}
|
|
2219
1938
|
|
|
2220
|
-
interface Qris {}
|
|
2221
|
-
|
|
2222
1939
|
interface RadarOptions {
|
|
2223
1940
|
/**
|
|
2224
1941
|
* A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
@@ -2226,32 +1943,6 @@ declare module 'stripe' {
|
|
|
2226
1943
|
session?: string;
|
|
2227
1944
|
}
|
|
2228
1945
|
|
|
2229
|
-
interface Rechnung {
|
|
2230
|
-
/**
|
|
2231
|
-
* Customer's date of birth
|
|
2232
|
-
*/
|
|
2233
|
-
dob: Rechnung.Dob;
|
|
2234
|
-
}
|
|
2235
|
-
|
|
2236
|
-
namespace Rechnung {
|
|
2237
|
-
interface Dob {
|
|
2238
|
-
/**
|
|
2239
|
-
* The day of birth, between 1 and 31.
|
|
2240
|
-
*/
|
|
2241
|
-
day: number;
|
|
2242
|
-
|
|
2243
|
-
/**
|
|
2244
|
-
* The month of birth, between 1 and 12.
|
|
2245
|
-
*/
|
|
2246
|
-
month: number;
|
|
2247
|
-
|
|
2248
|
-
/**
|
|
2249
|
-
* The four-digit year of birth.
|
|
2250
|
-
*/
|
|
2251
|
-
year: number;
|
|
2252
|
-
}
|
|
2253
|
-
}
|
|
2254
|
-
|
|
2255
1946
|
interface RevolutPay {}
|
|
2256
1947
|
|
|
2257
1948
|
interface SamsungPay {}
|
|
@@ -2263,8 +1954,6 @@ declare module 'stripe' {
|
|
|
2263
1954
|
iban: string;
|
|
2264
1955
|
}
|
|
2265
1956
|
|
|
2266
|
-
interface Shopeepay {}
|
|
2267
|
-
|
|
2268
1957
|
interface Sofort {
|
|
2269
1958
|
/**
|
|
2270
1959
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
@@ -2297,16 +1986,13 @@ declare module 'stripe' {
|
|
|
2297
1986
|
| 'eps'
|
|
2298
1987
|
| 'fpx'
|
|
2299
1988
|
| 'giropay'
|
|
2300
|
-
| 'gopay'
|
|
2301
1989
|
| 'grabpay'
|
|
2302
|
-
| 'id_bank_transfer'
|
|
2303
1990
|
| 'ideal'
|
|
2304
1991
|
| 'kakao_pay'
|
|
2305
1992
|
| 'klarna'
|
|
2306
1993
|
| 'konbini'
|
|
2307
1994
|
| 'kr_card'
|
|
2308
1995
|
| 'link'
|
|
2309
|
-
| 'mb_way'
|
|
2310
1996
|
| 'mobilepay'
|
|
2311
1997
|
| 'multibanco'
|
|
2312
1998
|
| 'naver_pay'
|
|
@@ -2316,15 +2002,11 @@ declare module 'stripe' {
|
|
|
2316
2002
|
| 'payco'
|
|
2317
2003
|
| 'paynow'
|
|
2318
2004
|
| 'paypal'
|
|
2319
|
-
| 'payto'
|
|
2320
2005
|
| 'pix'
|
|
2321
2006
|
| 'promptpay'
|
|
2322
|
-
| 'qris'
|
|
2323
|
-
| 'rechnung'
|
|
2324
2007
|
| 'revolut_pay'
|
|
2325
2008
|
| 'samsung_pay'
|
|
2326
2009
|
| 'sepa_debit'
|
|
2327
|
-
| 'shopeepay'
|
|
2328
2010
|
| 'sofort'
|
|
2329
2011
|
| 'swish'
|
|
2330
2012
|
| 'twint'
|
|
@@ -2406,11 +2088,6 @@ declare module 'stripe' {
|
|
|
2406
2088
|
*/
|
|
2407
2089
|
paypal?: PaymentMethodOptions.Paypal;
|
|
2408
2090
|
|
|
2409
|
-
/**
|
|
2410
|
-
* If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
|
2411
|
-
*/
|
|
2412
|
-
payto?: PaymentMethodOptions.Payto;
|
|
2413
|
-
|
|
2414
2091
|
/**
|
|
2415
2092
|
* If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
|
2416
2093
|
*/
|
|
@@ -2712,86 +2389,6 @@ declare module 'stripe' {
|
|
|
2712
2389
|
* The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
2713
2390
|
*/
|
|
2714
2391
|
billing_agreement_id?: string;
|
|
2715
|
-
|
|
2716
|
-
currency?: string;
|
|
2717
|
-
|
|
2718
|
-
/**
|
|
2719
|
-
* The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
|
2720
|
-
*/
|
|
2721
|
-
subsellers?: Array<string>;
|
|
2722
|
-
}
|
|
2723
|
-
|
|
2724
|
-
interface Payto {
|
|
2725
|
-
/**
|
|
2726
|
-
* Additional fields for Mandate creation.
|
|
2727
|
-
*/
|
|
2728
|
-
mandate_options?: Payto.MandateOptions;
|
|
2729
|
-
}
|
|
2730
|
-
|
|
2731
|
-
namespace Payto {
|
|
2732
|
-
interface MandateOptions {
|
|
2733
|
-
/**
|
|
2734
|
-
* Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
2735
|
-
*/
|
|
2736
|
-
amount?: number;
|
|
2737
|
-
|
|
2738
|
-
/**
|
|
2739
|
-
* The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
|
|
2740
|
-
*/
|
|
2741
|
-
amount_type?: MandateOptions.AmountType;
|
|
2742
|
-
|
|
2743
|
-
/**
|
|
2744
|
-
* Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
2745
|
-
*/
|
|
2746
|
-
end_date?: string;
|
|
2747
|
-
|
|
2748
|
-
/**
|
|
2749
|
-
* The periodicity at which payments will be collected.
|
|
2750
|
-
*/
|
|
2751
|
-
payment_schedule?: MandateOptions.PaymentSchedule;
|
|
2752
|
-
|
|
2753
|
-
/**
|
|
2754
|
-
* The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
|
2755
|
-
*/
|
|
2756
|
-
payments_per_period?: number;
|
|
2757
|
-
|
|
2758
|
-
/**
|
|
2759
|
-
* The purpose for which payments are made. Defaults to retail.
|
|
2760
|
-
*/
|
|
2761
|
-
purpose?: MandateOptions.Purpose;
|
|
2762
|
-
|
|
2763
|
-
/**
|
|
2764
|
-
* Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
|
2765
|
-
*/
|
|
2766
|
-
start_date?: string;
|
|
2767
|
-
}
|
|
2768
|
-
|
|
2769
|
-
namespace MandateOptions {
|
|
2770
|
-
type AmountType = 'fixed' | 'maximum';
|
|
2771
|
-
|
|
2772
|
-
type PaymentSchedule =
|
|
2773
|
-
| 'adhoc'
|
|
2774
|
-
| 'annual'
|
|
2775
|
-
| 'daily'
|
|
2776
|
-
| 'fortnightly'
|
|
2777
|
-
| 'monthly'
|
|
2778
|
-
| 'quarterly'
|
|
2779
|
-
| 'semi_annual'
|
|
2780
|
-
| 'weekly';
|
|
2781
|
-
|
|
2782
|
-
type Purpose =
|
|
2783
|
-
| 'dependant_support'
|
|
2784
|
-
| 'government'
|
|
2785
|
-
| 'loan'
|
|
2786
|
-
| 'mortgage'
|
|
2787
|
-
| 'other'
|
|
2788
|
-
| 'pension'
|
|
2789
|
-
| 'personal'
|
|
2790
|
-
| 'retail'
|
|
2791
|
-
| 'salary'
|
|
2792
|
-
| 'tax'
|
|
2793
|
-
| 'utility';
|
|
2794
|
-
}
|
|
2795
2392
|
}
|
|
2796
2393
|
|
|
2797
2394
|
interface SepaDebit {
|
|
@@ -2839,11 +2436,6 @@ declare module 'stripe' {
|
|
|
2839
2436
|
*/
|
|
2840
2437
|
filters?: FinancialConnections.Filters;
|
|
2841
2438
|
|
|
2842
|
-
/**
|
|
2843
|
-
* Customize manual entry behavior
|
|
2844
|
-
*/
|
|
2845
|
-
manual_entry?: FinancialConnections.ManualEntry;
|
|
2846
|
-
|
|
2847
2439
|
/**
|
|
2848
2440
|
* The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
|
2849
2441
|
*/
|
|
@@ -2866,39 +2458,19 @@ declare module 'stripe' {
|
|
|
2866
2458
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
2867
2459
|
*/
|
|
2868
2460
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
2869
|
-
|
|
2870
|
-
/**
|
|
2871
|
-
* ID of the institution to use to filter for selectable accounts.
|
|
2872
|
-
*/
|
|
2873
|
-
institution?: string;
|
|
2874
2461
|
}
|
|
2875
2462
|
|
|
2876
2463
|
namespace Filters {
|
|
2877
2464
|
type AccountSubcategory = 'checking' | 'savings';
|
|
2878
2465
|
}
|
|
2879
2466
|
|
|
2880
|
-
interface ManualEntry {
|
|
2881
|
-
/**
|
|
2882
|
-
* Settings for configuring manual entry of account details.
|
|
2883
|
-
*/
|
|
2884
|
-
mode: ManualEntry.Mode;
|
|
2885
|
-
}
|
|
2886
|
-
|
|
2887
|
-
namespace ManualEntry {
|
|
2888
|
-
type Mode = 'automatic' | 'custom';
|
|
2889
|
-
}
|
|
2890
|
-
|
|
2891
2467
|
type Permission =
|
|
2892
2468
|
| 'balances'
|
|
2893
2469
|
| 'ownership'
|
|
2894
2470
|
| 'payment_method'
|
|
2895
2471
|
| 'transactions';
|
|
2896
2472
|
|
|
2897
|
-
type Prefetch =
|
|
2898
|
-
| 'balances'
|
|
2899
|
-
| 'inferred_balances'
|
|
2900
|
-
| 'ownership'
|
|
2901
|
-
| 'transactions';
|
|
2473
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
2902
2474
|
}
|
|
2903
2475
|
|
|
2904
2476
|
interface MandateOptions {
|
|
@@ -3157,21 +2729,11 @@ declare module 'stripe' {
|
|
|
3157
2729
|
*/
|
|
3158
2730
|
giropay?: PaymentMethodData.Giropay;
|
|
3159
2731
|
|
|
3160
|
-
/**
|
|
3161
|
-
* If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
3162
|
-
*/
|
|
3163
|
-
gopay?: PaymentMethodData.Gopay;
|
|
3164
|
-
|
|
3165
2732
|
/**
|
|
3166
2733
|
* If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
3167
2734
|
*/
|
|
3168
2735
|
grabpay?: PaymentMethodData.Grabpay;
|
|
3169
2736
|
|
|
3170
|
-
/**
|
|
3171
|
-
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
3172
|
-
*/
|
|
3173
|
-
id_bank_transfer?: PaymentMethodData.IdBankTransfer;
|
|
3174
|
-
|
|
3175
2737
|
/**
|
|
3176
2738
|
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
3177
2739
|
*/
|
|
@@ -3207,11 +2769,6 @@ declare module 'stripe' {
|
|
|
3207
2769
|
*/
|
|
3208
2770
|
link?: PaymentMethodData.Link;
|
|
3209
2771
|
|
|
3210
|
-
/**
|
|
3211
|
-
* If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
|
3212
|
-
*/
|
|
3213
|
-
mb_way?: PaymentMethodData.MbWay;
|
|
3214
|
-
|
|
3215
2772
|
/**
|
|
3216
2773
|
* Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
3217
2774
|
*/
|
|
@@ -3262,11 +2819,6 @@ declare module 'stripe' {
|
|
|
3262
2819
|
*/
|
|
3263
2820
|
paypal?: PaymentMethodData.Paypal;
|
|
3264
2821
|
|
|
3265
|
-
/**
|
|
3266
|
-
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
3267
|
-
*/
|
|
3268
|
-
payto?: PaymentMethodData.Payto;
|
|
3269
|
-
|
|
3270
2822
|
/**
|
|
3271
2823
|
* If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
3272
2824
|
*/
|
|
@@ -3277,21 +2829,11 @@ declare module 'stripe' {
|
|
|
3277
2829
|
*/
|
|
3278
2830
|
promptpay?: PaymentMethodData.Promptpay;
|
|
3279
2831
|
|
|
3280
|
-
/**
|
|
3281
|
-
* If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
3282
|
-
*/
|
|
3283
|
-
qris?: PaymentMethodData.Qris;
|
|
3284
|
-
|
|
3285
2832
|
/**
|
|
3286
2833
|
* Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
3287
2834
|
*/
|
|
3288
2835
|
radar_options?: PaymentMethodData.RadarOptions;
|
|
3289
2836
|
|
|
3290
|
-
/**
|
|
3291
|
-
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
3292
|
-
*/
|
|
3293
|
-
rechnung?: PaymentMethodData.Rechnung;
|
|
3294
|
-
|
|
3295
2837
|
/**
|
|
3296
2838
|
* If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
3297
2839
|
*/
|
|
@@ -3307,11 +2849,6 @@ declare module 'stripe' {
|
|
|
3307
2849
|
*/
|
|
3308
2850
|
sepa_debit?: PaymentMethodData.SepaDebit;
|
|
3309
2851
|
|
|
3310
|
-
/**
|
|
3311
|
-
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
3312
|
-
*/
|
|
3313
|
-
shopeepay?: PaymentMethodData.Shopeepay;
|
|
3314
|
-
|
|
3315
2852
|
/**
|
|
3316
2853
|
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
3317
2854
|
*/
|
|
@@ -3520,21 +3057,8 @@ declare module 'stripe' {
|
|
|
3520
3057
|
|
|
3521
3058
|
interface Giropay {}
|
|
3522
3059
|
|
|
3523
|
-
interface Gopay {}
|
|
3524
|
-
|
|
3525
3060
|
interface Grabpay {}
|
|
3526
3061
|
|
|
3527
|
-
interface IdBankTransfer {
|
|
3528
|
-
/**
|
|
3529
|
-
* Bank where the account is held.
|
|
3530
|
-
*/
|
|
3531
|
-
bank?: IdBankTransfer.Bank;
|
|
3532
|
-
}
|
|
3533
|
-
|
|
3534
|
-
namespace IdBankTransfer {
|
|
3535
|
-
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
3536
|
-
}
|
|
3537
|
-
|
|
3538
3062
|
interface Ideal {
|
|
3539
3063
|
/**
|
|
3540
3064
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -3598,8 +3122,6 @@ declare module 'stripe' {
|
|
|
3598
3122
|
|
|
3599
3123
|
interface Link {}
|
|
3600
3124
|
|
|
3601
|
-
interface MbWay {}
|
|
3602
|
-
|
|
3603
3125
|
interface Mobilepay {}
|
|
3604
3126
|
|
|
3605
3127
|
interface Multibanco {}
|
|
@@ -3662,29 +3184,10 @@ declare module 'stripe' {
|
|
|
3662
3184
|
|
|
3663
3185
|
interface Paypal {}
|
|
3664
3186
|
|
|
3665
|
-
interface Payto {
|
|
3666
|
-
/**
|
|
3667
|
-
* The account number for the bank account.
|
|
3668
|
-
*/
|
|
3669
|
-
account_number?: string;
|
|
3670
|
-
|
|
3671
|
-
/**
|
|
3672
|
-
* Bank-State-Branch number of the bank account.
|
|
3673
|
-
*/
|
|
3674
|
-
bsb_number?: string;
|
|
3675
|
-
|
|
3676
|
-
/**
|
|
3677
|
-
* The PayID alias for the bank account.
|
|
3678
|
-
*/
|
|
3679
|
-
pay_id?: string;
|
|
3680
|
-
}
|
|
3681
|
-
|
|
3682
3187
|
interface Pix {}
|
|
3683
3188
|
|
|
3684
3189
|
interface Promptpay {}
|
|
3685
3190
|
|
|
3686
|
-
interface Qris {}
|
|
3687
|
-
|
|
3688
3191
|
interface RadarOptions {
|
|
3689
3192
|
/**
|
|
3690
3193
|
* A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
@@ -3692,32 +3195,6 @@ declare module 'stripe' {
|
|
|
3692
3195
|
session?: string;
|
|
3693
3196
|
}
|
|
3694
3197
|
|
|
3695
|
-
interface Rechnung {
|
|
3696
|
-
/**
|
|
3697
|
-
* Customer's date of birth
|
|
3698
|
-
*/
|
|
3699
|
-
dob: Rechnung.Dob;
|
|
3700
|
-
}
|
|
3701
|
-
|
|
3702
|
-
namespace Rechnung {
|
|
3703
|
-
interface Dob {
|
|
3704
|
-
/**
|
|
3705
|
-
* The day of birth, between 1 and 31.
|
|
3706
|
-
*/
|
|
3707
|
-
day: number;
|
|
3708
|
-
|
|
3709
|
-
/**
|
|
3710
|
-
* The month of birth, between 1 and 12.
|
|
3711
|
-
*/
|
|
3712
|
-
month: number;
|
|
3713
|
-
|
|
3714
|
-
/**
|
|
3715
|
-
* The four-digit year of birth.
|
|
3716
|
-
*/
|
|
3717
|
-
year: number;
|
|
3718
|
-
}
|
|
3719
|
-
}
|
|
3720
|
-
|
|
3721
3198
|
interface RevolutPay {}
|
|
3722
3199
|
|
|
3723
3200
|
interface SamsungPay {}
|
|
@@ -3729,8 +3206,6 @@ declare module 'stripe' {
|
|
|
3729
3206
|
iban: string;
|
|
3730
3207
|
}
|
|
3731
3208
|
|
|
3732
|
-
interface Shopeepay {}
|
|
3733
|
-
|
|
3734
3209
|
interface Sofort {
|
|
3735
3210
|
/**
|
|
3736
3211
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
@@ -3763,16 +3238,13 @@ declare module 'stripe' {
|
|
|
3763
3238
|
| 'eps'
|
|
3764
3239
|
| 'fpx'
|
|
3765
3240
|
| 'giropay'
|
|
3766
|
-
| 'gopay'
|
|
3767
3241
|
| 'grabpay'
|
|
3768
|
-
| 'id_bank_transfer'
|
|
3769
3242
|
| 'ideal'
|
|
3770
3243
|
| 'kakao_pay'
|
|
3771
3244
|
| 'klarna'
|
|
3772
3245
|
| 'konbini'
|
|
3773
3246
|
| 'kr_card'
|
|
3774
3247
|
| 'link'
|
|
3775
|
-
| 'mb_way'
|
|
3776
3248
|
| 'mobilepay'
|
|
3777
3249
|
| 'multibanco'
|
|
3778
3250
|
| 'naver_pay'
|
|
@@ -3782,15 +3254,11 @@ declare module 'stripe' {
|
|
|
3782
3254
|
| 'payco'
|
|
3783
3255
|
| 'paynow'
|
|
3784
3256
|
| 'paypal'
|
|
3785
|
-
| 'payto'
|
|
3786
3257
|
| 'pix'
|
|
3787
3258
|
| 'promptpay'
|
|
3788
|
-
| 'qris'
|
|
3789
|
-
| 'rechnung'
|
|
3790
3259
|
| 'revolut_pay'
|
|
3791
3260
|
| 'samsung_pay'
|
|
3792
3261
|
| 'sepa_debit'
|
|
3793
|
-
| 'shopeepay'
|
|
3794
3262
|
| 'sofort'
|
|
3795
3263
|
| 'swish'
|
|
3796
3264
|
| 'twint'
|
|
@@ -3872,11 +3340,6 @@ declare module 'stripe' {
|
|
|
3872
3340
|
*/
|
|
3873
3341
|
paypal?: PaymentMethodOptions.Paypal;
|
|
3874
3342
|
|
|
3875
|
-
/**
|
|
3876
|
-
* If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
|
3877
|
-
*/
|
|
3878
|
-
payto?: PaymentMethodOptions.Payto;
|
|
3879
|
-
|
|
3880
3343
|
/**
|
|
3881
3344
|
* If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
|
3882
3345
|
*/
|
|
@@ -4178,86 +3641,6 @@ declare module 'stripe' {
|
|
|
4178
3641
|
* The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
4179
3642
|
*/
|
|
4180
3643
|
billing_agreement_id?: string;
|
|
4181
|
-
|
|
4182
|
-
currency?: string;
|
|
4183
|
-
|
|
4184
|
-
/**
|
|
4185
|
-
* The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
|
4186
|
-
*/
|
|
4187
|
-
subsellers?: Array<string>;
|
|
4188
|
-
}
|
|
4189
|
-
|
|
4190
|
-
interface Payto {
|
|
4191
|
-
/**
|
|
4192
|
-
* Additional fields for Mandate creation.
|
|
4193
|
-
*/
|
|
4194
|
-
mandate_options?: Payto.MandateOptions;
|
|
4195
|
-
}
|
|
4196
|
-
|
|
4197
|
-
namespace Payto {
|
|
4198
|
-
interface MandateOptions {
|
|
4199
|
-
/**
|
|
4200
|
-
* Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
4201
|
-
*/
|
|
4202
|
-
amount?: number;
|
|
4203
|
-
|
|
4204
|
-
/**
|
|
4205
|
-
* The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
|
|
4206
|
-
*/
|
|
4207
|
-
amount_type?: MandateOptions.AmountType;
|
|
4208
|
-
|
|
4209
|
-
/**
|
|
4210
|
-
* Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
4211
|
-
*/
|
|
4212
|
-
end_date?: string;
|
|
4213
|
-
|
|
4214
|
-
/**
|
|
4215
|
-
* The periodicity at which payments will be collected.
|
|
4216
|
-
*/
|
|
4217
|
-
payment_schedule?: MandateOptions.PaymentSchedule;
|
|
4218
|
-
|
|
4219
|
-
/**
|
|
4220
|
-
* The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
|
4221
|
-
*/
|
|
4222
|
-
payments_per_period?: number;
|
|
4223
|
-
|
|
4224
|
-
/**
|
|
4225
|
-
* The purpose for which payments are made. Defaults to retail.
|
|
4226
|
-
*/
|
|
4227
|
-
purpose?: MandateOptions.Purpose;
|
|
4228
|
-
|
|
4229
|
-
/**
|
|
4230
|
-
* Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
|
4231
|
-
*/
|
|
4232
|
-
start_date?: string;
|
|
4233
|
-
}
|
|
4234
|
-
|
|
4235
|
-
namespace MandateOptions {
|
|
4236
|
-
type AmountType = 'fixed' | 'maximum';
|
|
4237
|
-
|
|
4238
|
-
type PaymentSchedule =
|
|
4239
|
-
| 'adhoc'
|
|
4240
|
-
| 'annual'
|
|
4241
|
-
| 'daily'
|
|
4242
|
-
| 'fortnightly'
|
|
4243
|
-
| 'monthly'
|
|
4244
|
-
| 'quarterly'
|
|
4245
|
-
| 'semi_annual'
|
|
4246
|
-
| 'weekly';
|
|
4247
|
-
|
|
4248
|
-
type Purpose =
|
|
4249
|
-
| 'dependant_support'
|
|
4250
|
-
| 'government'
|
|
4251
|
-
| 'loan'
|
|
4252
|
-
| 'mortgage'
|
|
4253
|
-
| 'other'
|
|
4254
|
-
| 'pension'
|
|
4255
|
-
| 'personal'
|
|
4256
|
-
| 'retail'
|
|
4257
|
-
| 'salary'
|
|
4258
|
-
| 'tax'
|
|
4259
|
-
| 'utility';
|
|
4260
|
-
}
|
|
4261
3644
|
}
|
|
4262
3645
|
|
|
4263
3646
|
interface SepaDebit {
|
|
@@ -4305,11 +3688,6 @@ declare module 'stripe' {
|
|
|
4305
3688
|
*/
|
|
4306
3689
|
filters?: FinancialConnections.Filters;
|
|
4307
3690
|
|
|
4308
|
-
/**
|
|
4309
|
-
* Customize manual entry behavior
|
|
4310
|
-
*/
|
|
4311
|
-
manual_entry?: FinancialConnections.ManualEntry;
|
|
4312
|
-
|
|
4313
3691
|
/**
|
|
4314
3692
|
* The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
|
4315
3693
|
*/
|
|
@@ -4332,39 +3710,19 @@ declare module 'stripe' {
|
|
|
4332
3710
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
4333
3711
|
*/
|
|
4334
3712
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
4335
|
-
|
|
4336
|
-
/**
|
|
4337
|
-
* ID of the institution to use to filter for selectable accounts.
|
|
4338
|
-
*/
|
|
4339
|
-
institution?: string;
|
|
4340
3713
|
}
|
|
4341
3714
|
|
|
4342
3715
|
namespace Filters {
|
|
4343
3716
|
type AccountSubcategory = 'checking' | 'savings';
|
|
4344
3717
|
}
|
|
4345
3718
|
|
|
4346
|
-
interface ManualEntry {
|
|
4347
|
-
/**
|
|
4348
|
-
* Settings for configuring manual entry of account details.
|
|
4349
|
-
*/
|
|
4350
|
-
mode: ManualEntry.Mode;
|
|
4351
|
-
}
|
|
4352
|
-
|
|
4353
|
-
namespace ManualEntry {
|
|
4354
|
-
type Mode = 'automatic' | 'custom';
|
|
4355
|
-
}
|
|
4356
|
-
|
|
4357
3719
|
type Permission =
|
|
4358
3720
|
| 'balances'
|
|
4359
3721
|
| 'ownership'
|
|
4360
3722
|
| 'payment_method'
|
|
4361
3723
|
| 'transactions';
|
|
4362
3724
|
|
|
4363
|
-
type Prefetch =
|
|
4364
|
-
| 'balances'
|
|
4365
|
-
| 'inferred_balances'
|
|
4366
|
-
| 'ownership'
|
|
4367
|
-
| 'transactions';
|
|
3725
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
4368
3726
|
}
|
|
4369
3727
|
|
|
4370
3728
|
interface MandateOptions {
|