stripe 17.5.0 → 17.6.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1052 -109
- package/README.md +24 -16
- package/VERSION +1 -1
- package/cjs/apiVersion.js +1 -1
- package/cjs/resources/AccountNotices.js +21 -0
- package/cjs/resources/Capital/FinancingOffers.js +21 -0
- package/cjs/resources/Capital/FinancingSummary.js +12 -0
- package/cjs/resources/Capital/FinancingTransactions.js +17 -0
- package/cjs/resources/FinancialConnections/Accounts.js +5 -0
- package/cjs/resources/FinancialConnections/Institutions.js +17 -0
- package/cjs/resources/GiftCards/Cards.js +23 -0
- package/cjs/resources/GiftCards/Transactions.js +33 -0
- package/cjs/resources/Invoices.js +17 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +33 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +17 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +17 -0
- package/cjs/resources/Margins.js +22 -0
- package/cjs/resources/Orders.js +24 -0
- package/cjs/resources/PaymentAttemptRecords.js +17 -0
- package/cjs/resources/PaymentIntents.js +8 -0
- package/cjs/resources/PaymentRecords.js +29 -0
- package/cjs/resources/Quotes.js +32 -0
- package/cjs/resources/SubscriptionSchedules.js +4 -0
- package/cjs/resources/Tax/Associations.js +9 -0
- package/cjs/resources/Tax/Forms.js +20 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js +12 -0
- package/cjs/resources/Terminal/Readers.js +12 -0
- package/cjs/resources/Treasury/FinancialAccounts.js +4 -0
- package/cjs/resources.js +48 -10
- package/cjs/stripe.core.js +1 -1
- package/esm/apiVersion.js +1 -1
- package/esm/resources/AccountNotices.js +18 -0
- package/esm/resources/Capital/FinancingOffers.js +18 -0
- package/esm/resources/Capital/FinancingSummary.js +9 -0
- package/esm/resources/Capital/FinancingTransactions.js +14 -0
- package/esm/resources/FinancialConnections/Accounts.js +5 -0
- package/esm/resources/FinancialConnections/Institutions.js +14 -0
- package/esm/resources/GiftCards/Cards.js +20 -0
- package/esm/resources/GiftCards/Transactions.js +30 -0
- package/esm/resources/Invoices.js +17 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +30 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js +14 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js +14 -0
- package/esm/resources/Margins.js +19 -0
- package/esm/resources/Orders.js +21 -0
- package/esm/resources/PaymentAttemptRecords.js +14 -0
- package/esm/resources/PaymentIntents.js +8 -0
- package/esm/resources/PaymentRecords.js +26 -0
- package/esm/resources/Quotes.js +32 -0
- package/esm/resources/SubscriptionSchedules.js +4 -0
- package/esm/resources/Tax/Associations.js +6 -0
- package/esm/resources/Tax/Forms.js +17 -0
- package/esm/resources/Terminal/ReaderCollectedData.js +9 -0
- package/esm/resources/Terminal/Readers.js +12 -0
- package/esm/resources/Treasury/FinancialAccounts.js +4 -0
- package/esm/resources.js +33 -0
- package/esm/stripe.core.js +1 -1
- package/package.json +3 -15
- package/types/AccountLinksResource.d.ts +5 -1
- package/types/AccountNotices.d.ts +113 -0
- package/types/AccountNoticesResource.d.ts +98 -0
- package/types/AccountSessions.d.ts +175 -0
- package/types/AccountSessionsResource.d.ts +376 -0
- package/types/Accounts.d.ts +225 -1
- package/types/AccountsResource.d.ts +628 -0
- package/types/Billing/CreditBalanceTransactions.d.ts +1 -1
- package/types/Billing/MeterErrorReports.d.ts +106 -0
- package/types/BillingPortal/ConfigurationsResource.d.ts +2 -2
- package/types/Capital/FinancingOffers.d.ts +188 -0
- package/types/Capital/FinancingOffersResource.d.ts +97 -0
- package/types/Capital/FinancingSummary.d.ts +106 -0
- package/types/Capital/FinancingSummaryResource.d.ts +27 -0
- package/types/Capital/FinancingTransactions.d.ts +135 -0
- package/types/Capital/FinancingTransactionsResource.d.ts +68 -0
- package/types/Cards.d.ts +6 -1
- package/types/Charges.d.ts +159 -2
- package/types/ChargesResource.d.ts +1294 -0
- package/types/Checkout/Sessions.d.ts +359 -5
- package/types/Checkout/SessionsResource.d.ts +456 -5
- package/types/ConfirmationTokens.d.ts +110 -1
- package/types/Coupons.d.ts +1 -1
- package/types/CouponsResource.d.ts +1 -1
- package/types/CreditNoteLineItems.d.ts +1 -1
- package/types/CreditNotes.d.ts +22 -1
- package/types/CreditNotesResource.d.ts +51 -0
- package/types/CustomersResource.d.ts +8 -0
- package/types/EventTypes.d.ts +596 -0
- package/types/Events.d.ts +93 -0
- package/types/FinancialConnections/AccountInferredBalances.d.ts +38 -0
- package/types/FinancialConnections/Accounts.d.ts +29 -1
- package/types/FinancialConnections/AccountsResource.d.ts +35 -3
- package/types/FinancialConnections/Institutions.d.ts +93 -0
- package/types/FinancialConnections/InstitutionsResource.d.ts +47 -0
- package/types/FinancialConnections/Sessions.d.ts +49 -1
- package/types/FinancialConnections/SessionsResource.d.ts +38 -1
- package/types/FinancialConnections/TransactionsResource.d.ts +1 -1
- package/types/GiftCards/Cards.d.ts +118 -0
- package/types/GiftCards/CardsResource.d.ts +159 -0
- package/types/GiftCards/Transactions.d.ts +129 -0
- package/types/GiftCards/TransactionsResource.d.ts +201 -0
- package/types/InvoiceItems.d.ts +5 -0
- package/types/InvoiceItemsResource.d.ts +98 -0
- package/types/InvoiceLineItems.d.ts +29 -2
- package/types/InvoicePayments.d.ts +113 -0
- package/types/Invoices.d.ts +143 -3
- package/types/InvoicesResource.d.ts +4618 -933
- package/types/Issuing/Authorizations.d.ts +2 -1
- package/types/Issuing/CardholdersResource.d.ts +2 -1
- package/types/Issuing/CreditUnderwritingRecords.d.ts +451 -0
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +1032 -0
- package/types/Issuing/DisputeSettlementDetails.d.ts +73 -0
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +52 -0
- package/types/Issuing/FraudLiabilityDebits.d.ts +52 -0
- package/types/Issuing/FraudLiabilityDebitsResource.d.ts +52 -0
- package/types/Issuing/Settlements.d.ts +103 -0
- package/types/Issuing/Transactions.d.ts +3 -1
- package/types/Issuing/TransactionsResource.d.ts +5 -0
- package/types/LineItems.d.ts +32 -0
- package/types/Mandates.d.ts +77 -0
- package/types/Margins.d.ts +56 -0
- package/types/MarginsResource.d.ts +114 -0
- package/types/Orders.d.ts +1179 -0
- package/types/OrdersResource.d.ts +2961 -0
- package/types/PaymentAttemptRecords.d.ts +242 -0
- package/types/PaymentAttemptRecordsResource.d.ts +47 -0
- package/types/PaymentIntents.d.ts +653 -1
- package/types/PaymentIntentsResource.d.ts +8018 -3686
- package/types/PaymentLinks.d.ts +8 -0
- package/types/PaymentLinksResource.d.ts +30 -0
- package/types/PaymentMethodConfigurations.d.ts +216 -0
- package/types/PaymentMethodConfigurationsResource.d.ts +300 -0
- package/types/PaymentMethods.d.ts +110 -1
- package/types/PaymentMethodsResource.d.ts +149 -0
- package/types/PaymentRecords.d.ts +242 -0
- package/types/PaymentRecordsResource.d.ts +455 -0
- package/types/Prices.d.ts +22 -0
- package/types/PricesResource.d.ts +22 -0
- package/types/Products.d.ts +39 -0
- package/types/ProductsResource.d.ts +36 -0
- package/types/QuoteLines.d.ts +634 -0
- package/types/QuotePreviewInvoices.d.ts +1658 -0
- package/types/QuotePreviewSubscriptionSchedules.d.ts +824 -0
- package/types/Quotes.d.ts +591 -1
- package/types/QuotesResource.d.ts +2526 -194
- package/types/Refunds.d.ts +14 -0
- package/types/SetupAttempts.d.ts +43 -0
- package/types/SetupIntents.d.ts +116 -1
- package/types/SetupIntentsResource.d.ts +669 -3
- package/types/Sources.d.ts +29 -0
- package/types/SubscriptionItems.d.ts +21 -0
- package/types/SubscriptionItemsResource.d.ts +109 -0
- package/types/SubscriptionSchedules.d.ts +200 -0
- package/types/SubscriptionSchedulesResource.d.ts +1234 -16
- package/types/Subscriptions.d.ts +91 -1
- package/types/SubscriptionsResource.d.ts +369 -2
- package/types/Tax/Associations.d.ts +126 -0
- package/types/Tax/AssociationsResource.d.ts +29 -0
- package/types/Tax/Forms.d.ts +220 -0
- package/types/Tax/FormsResource.d.ts +107 -0
- package/types/Terminal/Configurations.d.ts +19 -0
- package/types/Terminal/ConfigurationsResource.d.ts +44 -0
- package/types/Terminal/ReaderCollectedData.d.ts +51 -0
- package/types/Terminal/ReaderCollectedDataResource.d.ts +29 -0
- package/types/Terminal/Readers.d.ts +310 -0
- package/types/Terminal/ReadersResource.d.ts +215 -0
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +112 -0
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
- package/types/TokensResource.d.ts +30 -0
- package/types/Treasury/FinancialAccountFeatures.d.ts +7 -0
- package/types/Treasury/FinancialAccounts.d.ts +12 -0
- package/types/Treasury/FinancialAccountsResource.d.ts +121 -0
- package/types/Treasury/OutboundTransfers.d.ts +43 -1
- package/types/Treasury/OutboundTransfersResource.d.ts +43 -0
- package/types/Treasury/ReceivedCredits.d.ts +36 -0
- package/types/Treasury/ReceivedCreditsResource.d.ts +1 -0
- package/types/Treasury/ReceivedDebits.d.ts +31 -0
- package/types/WebhookEndpointsResource.d.ts +72 -1
- package/types/index.d.ts +62 -0
- package/types/lib.d.ts +1 -1
- package/types/test/typescriptTest.ts +3 -3
|
@@ -87,6 +87,11 @@ declare module 'stripe' {
|
|
|
87
87
|
*/
|
|
88
88
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
89
89
|
|
|
90
|
+
/**
|
|
91
|
+
* A hash to configure risk controls on the account. Please see [this page for more details](https://stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
92
|
+
*/
|
|
93
|
+
risk_controls?: AccountCreateParams.RiskControls;
|
|
94
|
+
|
|
90
95
|
/**
|
|
91
96
|
* Options for customizing how the account functions within Stripe.
|
|
92
97
|
*/
|
|
@@ -229,6 +234,11 @@ declare module 'stripe' {
|
|
|
229
234
|
*/
|
|
230
235
|
au_becs_debit_payments?: Capabilities.AuBecsDebitPayments;
|
|
231
236
|
|
|
237
|
+
/**
|
|
238
|
+
* The automatic_indirect_tax capability.
|
|
239
|
+
*/
|
|
240
|
+
automatic_indirect_tax?: Capabilities.AutomaticIndirectTax;
|
|
241
|
+
|
|
232
242
|
/**
|
|
233
243
|
* The bacs_debit_payments capability.
|
|
234
244
|
*/
|
|
@@ -294,11 +304,26 @@ declare module 'stripe' {
|
|
|
294
304
|
*/
|
|
295
305
|
giropay_payments?: Capabilities.GiropayPayments;
|
|
296
306
|
|
|
307
|
+
/**
|
|
308
|
+
* The gopay_payments capability.
|
|
309
|
+
*/
|
|
310
|
+
gopay_payments?: Capabilities.GopayPayments;
|
|
311
|
+
|
|
297
312
|
/**
|
|
298
313
|
* The grabpay_payments capability.
|
|
299
314
|
*/
|
|
300
315
|
grabpay_payments?: Capabilities.GrabpayPayments;
|
|
301
316
|
|
|
317
|
+
/**
|
|
318
|
+
* The id_bank_transfer_payments capability.
|
|
319
|
+
*/
|
|
320
|
+
id_bank_transfer_payments?: Capabilities.IdBankTransferPayments;
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* The id_bank_transfer_payments_bca capability.
|
|
324
|
+
*/
|
|
325
|
+
id_bank_transfer_payments_bca?: Capabilities.IdBankTransferPaymentsBca;
|
|
326
|
+
|
|
302
327
|
/**
|
|
303
328
|
* The ideal_payments capability.
|
|
304
329
|
*/
|
|
@@ -349,6 +374,11 @@ declare module 'stripe' {
|
|
|
349
374
|
*/
|
|
350
375
|
link_payments?: Capabilities.LinkPayments;
|
|
351
376
|
|
|
377
|
+
/**
|
|
378
|
+
* The mb_way_payments capability.
|
|
379
|
+
*/
|
|
380
|
+
mb_way_payments?: Capabilities.MbWayPayments;
|
|
381
|
+
|
|
352
382
|
/**
|
|
353
383
|
* The mobilepay_payments capability.
|
|
354
384
|
*/
|
|
@@ -379,6 +409,11 @@ declare module 'stripe' {
|
|
|
379
409
|
*/
|
|
380
410
|
p24_payments?: Capabilities.P24Payments;
|
|
381
411
|
|
|
412
|
+
/**
|
|
413
|
+
* The pay_by_bank_payments capability.
|
|
414
|
+
*/
|
|
415
|
+
pay_by_bank_payments?: Capabilities.PayByBankPayments;
|
|
416
|
+
|
|
382
417
|
/**
|
|
383
418
|
* The payco_payments capability.
|
|
384
419
|
*/
|
|
@@ -389,11 +424,31 @@ declare module 'stripe' {
|
|
|
389
424
|
*/
|
|
390
425
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
391
426
|
|
|
427
|
+
/**
|
|
428
|
+
* The paypal_payments capability.
|
|
429
|
+
*/
|
|
430
|
+
paypal_payments?: Capabilities.PaypalPayments;
|
|
431
|
+
|
|
432
|
+
/**
|
|
433
|
+
* The payto_payments capability.
|
|
434
|
+
*/
|
|
435
|
+
payto_payments?: Capabilities.PaytoPayments;
|
|
436
|
+
|
|
392
437
|
/**
|
|
393
438
|
* The promptpay_payments capability.
|
|
394
439
|
*/
|
|
395
440
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
396
441
|
|
|
442
|
+
/**
|
|
443
|
+
* The qris_payments capability.
|
|
444
|
+
*/
|
|
445
|
+
qris_payments?: Capabilities.QrisPayments;
|
|
446
|
+
|
|
447
|
+
/**
|
|
448
|
+
* The rechnung_payments capability.
|
|
449
|
+
*/
|
|
450
|
+
rechnung_payments?: Capabilities.RechnungPayments;
|
|
451
|
+
|
|
397
452
|
/**
|
|
398
453
|
* The revolut_pay_payments capability.
|
|
399
454
|
*/
|
|
@@ -414,6 +469,11 @@ declare module 'stripe' {
|
|
|
414
469
|
*/
|
|
415
470
|
sepa_debit_payments?: Capabilities.SepaDebitPayments;
|
|
416
471
|
|
|
472
|
+
/**
|
|
473
|
+
* The shopeepay_payments capability.
|
|
474
|
+
*/
|
|
475
|
+
shopeepay_payments?: Capabilities.ShopeepayPayments;
|
|
476
|
+
|
|
417
477
|
/**
|
|
418
478
|
* The sofort_payments capability.
|
|
419
479
|
*/
|
|
@@ -444,6 +504,21 @@ declare module 'stripe' {
|
|
|
444
504
|
*/
|
|
445
505
|
treasury?: Capabilities.Treasury;
|
|
446
506
|
|
|
507
|
+
/**
|
|
508
|
+
* The treasury_evolve capability.
|
|
509
|
+
*/
|
|
510
|
+
treasury_evolve?: Capabilities.TreasuryEvolve;
|
|
511
|
+
|
|
512
|
+
/**
|
|
513
|
+
* The treasury_fifth_third capability.
|
|
514
|
+
*/
|
|
515
|
+
treasury_fifth_third?: Capabilities.TreasuryFifthThird;
|
|
516
|
+
|
|
517
|
+
/**
|
|
518
|
+
* The treasury_goldman_sachs capability.
|
|
519
|
+
*/
|
|
520
|
+
treasury_goldman_sachs?: Capabilities.TreasuryGoldmanSachs;
|
|
521
|
+
|
|
447
522
|
/**
|
|
448
523
|
* The twint_payments capability.
|
|
449
524
|
*/
|
|
@@ -508,6 +583,13 @@ declare module 'stripe' {
|
|
|
508
583
|
requested?: boolean;
|
|
509
584
|
}
|
|
510
585
|
|
|
586
|
+
interface AutomaticIndirectTax {
|
|
587
|
+
/**
|
|
588
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
589
|
+
*/
|
|
590
|
+
requested?: boolean;
|
|
591
|
+
}
|
|
592
|
+
|
|
511
593
|
interface BacsDebitPayments {
|
|
512
594
|
/**
|
|
513
595
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -599,6 +681,13 @@ declare module 'stripe' {
|
|
|
599
681
|
requested?: boolean;
|
|
600
682
|
}
|
|
601
683
|
|
|
684
|
+
interface GopayPayments {
|
|
685
|
+
/**
|
|
686
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
687
|
+
*/
|
|
688
|
+
requested?: boolean;
|
|
689
|
+
}
|
|
690
|
+
|
|
602
691
|
interface GrabpayPayments {
|
|
603
692
|
/**
|
|
604
693
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -606,6 +695,20 @@ declare module 'stripe' {
|
|
|
606
695
|
requested?: boolean;
|
|
607
696
|
}
|
|
608
697
|
|
|
698
|
+
interface IdBankTransferPayments {
|
|
699
|
+
/**
|
|
700
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
701
|
+
*/
|
|
702
|
+
requested?: boolean;
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
interface IdBankTransferPaymentsBca {
|
|
706
|
+
/**
|
|
707
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
708
|
+
*/
|
|
709
|
+
requested?: boolean;
|
|
710
|
+
}
|
|
711
|
+
|
|
609
712
|
interface IdealPayments {
|
|
610
713
|
/**
|
|
611
714
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -676,6 +779,13 @@ declare module 'stripe' {
|
|
|
676
779
|
requested?: boolean;
|
|
677
780
|
}
|
|
678
781
|
|
|
782
|
+
interface MbWayPayments {
|
|
783
|
+
/**
|
|
784
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
785
|
+
*/
|
|
786
|
+
requested?: boolean;
|
|
787
|
+
}
|
|
788
|
+
|
|
679
789
|
interface MobilepayPayments {
|
|
680
790
|
/**
|
|
681
791
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -718,6 +828,13 @@ declare module 'stripe' {
|
|
|
718
828
|
requested?: boolean;
|
|
719
829
|
}
|
|
720
830
|
|
|
831
|
+
interface PayByBankPayments {
|
|
832
|
+
/**
|
|
833
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
834
|
+
*/
|
|
835
|
+
requested?: boolean;
|
|
836
|
+
}
|
|
837
|
+
|
|
721
838
|
interface PaycoPayments {
|
|
722
839
|
/**
|
|
723
840
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -732,6 +849,20 @@ declare module 'stripe' {
|
|
|
732
849
|
requested?: boolean;
|
|
733
850
|
}
|
|
734
851
|
|
|
852
|
+
interface PaypalPayments {
|
|
853
|
+
/**
|
|
854
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
855
|
+
*/
|
|
856
|
+
requested?: boolean;
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
interface PaytoPayments {
|
|
860
|
+
/**
|
|
861
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
862
|
+
*/
|
|
863
|
+
requested?: boolean;
|
|
864
|
+
}
|
|
865
|
+
|
|
735
866
|
interface PromptpayPayments {
|
|
736
867
|
/**
|
|
737
868
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -739,6 +870,20 @@ declare module 'stripe' {
|
|
|
739
870
|
requested?: boolean;
|
|
740
871
|
}
|
|
741
872
|
|
|
873
|
+
interface QrisPayments {
|
|
874
|
+
/**
|
|
875
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
876
|
+
*/
|
|
877
|
+
requested?: boolean;
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
interface RechnungPayments {
|
|
881
|
+
/**
|
|
882
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
883
|
+
*/
|
|
884
|
+
requested?: boolean;
|
|
885
|
+
}
|
|
886
|
+
|
|
742
887
|
interface RevolutPayPayments {
|
|
743
888
|
/**
|
|
744
889
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -767,6 +912,13 @@ declare module 'stripe' {
|
|
|
767
912
|
requested?: boolean;
|
|
768
913
|
}
|
|
769
914
|
|
|
915
|
+
interface ShopeepayPayments {
|
|
916
|
+
/**
|
|
917
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
918
|
+
*/
|
|
919
|
+
requested?: boolean;
|
|
920
|
+
}
|
|
921
|
+
|
|
770
922
|
interface SofortPayments {
|
|
771
923
|
/**
|
|
772
924
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -809,6 +961,27 @@ declare module 'stripe' {
|
|
|
809
961
|
requested?: boolean;
|
|
810
962
|
}
|
|
811
963
|
|
|
964
|
+
interface TreasuryEvolve {
|
|
965
|
+
/**
|
|
966
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
967
|
+
*/
|
|
968
|
+
requested?: boolean;
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
interface TreasuryFifthThird {
|
|
972
|
+
/**
|
|
973
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
974
|
+
*/
|
|
975
|
+
requested?: boolean;
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
interface TreasuryGoldmanSachs {
|
|
979
|
+
/**
|
|
980
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
981
|
+
*/
|
|
982
|
+
requested?: boolean;
|
|
983
|
+
}
|
|
984
|
+
|
|
812
985
|
interface TwintPayments {
|
|
813
986
|
/**
|
|
814
987
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -859,6 +1032,11 @@ declare module 'stripe' {
|
|
|
859
1032
|
*/
|
|
860
1033
|
directors_provided?: boolean;
|
|
861
1034
|
|
|
1035
|
+
/**
|
|
1036
|
+
* This hash is used to attest that the directors information provided to Stripe is both current and correct.
|
|
1037
|
+
*/
|
|
1038
|
+
directorship_declaration?: Company.DirectorshipDeclaration;
|
|
1039
|
+
|
|
862
1040
|
/**
|
|
863
1041
|
* Whether the company's executives have been provided. Set this Boolean to `true` after creating all the company's executives with [the Persons API](https://stripe.com/api/persons) for accounts with a `relationship.executive` requirement.
|
|
864
1042
|
*/
|
|
@@ -899,6 +1077,10 @@ declare module 'stripe' {
|
|
|
899
1077
|
*/
|
|
900
1078
|
ownership_declaration?: Company.OwnershipDeclaration;
|
|
901
1079
|
|
|
1080
|
+
ownership_exemption_reason?: Stripe.Emptyable<
|
|
1081
|
+
Company.OwnershipExemptionReason
|
|
1082
|
+
>;
|
|
1083
|
+
|
|
902
1084
|
/**
|
|
903
1085
|
* The company's phone number (used for verification).
|
|
904
1086
|
*/
|
|
@@ -936,6 +1118,23 @@ declare module 'stripe' {
|
|
|
936
1118
|
}
|
|
937
1119
|
|
|
938
1120
|
namespace Company {
|
|
1121
|
+
interface DirectorshipDeclaration {
|
|
1122
|
+
/**
|
|
1123
|
+
* The Unix timestamp marking when the directorship declaration attestation was made.
|
|
1124
|
+
*/
|
|
1125
|
+
date?: number;
|
|
1126
|
+
|
|
1127
|
+
/**
|
|
1128
|
+
* The IP address from which the directorship declaration attestation was made.
|
|
1129
|
+
*/
|
|
1130
|
+
ip?: string;
|
|
1131
|
+
|
|
1132
|
+
/**
|
|
1133
|
+
* The user agent of the browser from which the directorship declaration attestation was made.
|
|
1134
|
+
*/
|
|
1135
|
+
user_agent?: string;
|
|
1136
|
+
}
|
|
1137
|
+
|
|
939
1138
|
interface OwnershipDeclaration {
|
|
940
1139
|
/**
|
|
941
1140
|
* The Unix timestamp marking when the beneficial owner attestation was made.
|
|
@@ -953,6 +1152,10 @@ declare module 'stripe' {
|
|
|
953
1152
|
user_agent?: string;
|
|
954
1153
|
}
|
|
955
1154
|
|
|
1155
|
+
type OwnershipExemptionReason =
|
|
1156
|
+
| 'qualified_entity_exceeds_ownership_threshold'
|
|
1157
|
+
| 'qualifies_as_financial_institution';
|
|
1158
|
+
|
|
956
1159
|
type Structure =
|
|
957
1160
|
| 'free_zone_establishment'
|
|
958
1161
|
| 'free_zone_llc'
|
|
@@ -1001,6 +1204,16 @@ declare module 'stripe' {
|
|
|
1001
1204
|
}
|
|
1002
1205
|
|
|
1003
1206
|
interface Controller {
|
|
1207
|
+
/**
|
|
1208
|
+
* A hash of configuration describing the Connect application that controls the account.
|
|
1209
|
+
*/
|
|
1210
|
+
application?: Controller.Application;
|
|
1211
|
+
|
|
1212
|
+
/**
|
|
1213
|
+
* Properties of the account's dashboard.
|
|
1214
|
+
*/
|
|
1215
|
+
dashboard?: Controller.Dashboard;
|
|
1216
|
+
|
|
1004
1217
|
/**
|
|
1005
1218
|
* A hash of configuration for who pays Stripe fees for product usage on this account.
|
|
1006
1219
|
*/
|
|
@@ -1023,6 +1236,34 @@ declare module 'stripe' {
|
|
|
1023
1236
|
}
|
|
1024
1237
|
|
|
1025
1238
|
namespace Controller {
|
|
1239
|
+
interface Application {
|
|
1240
|
+
/**
|
|
1241
|
+
* Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
|
|
1242
|
+
*/
|
|
1243
|
+
loss_liable: boolean;
|
|
1244
|
+
|
|
1245
|
+
/**
|
|
1246
|
+
* Whether the controller owns onboarding for this account.
|
|
1247
|
+
*/
|
|
1248
|
+
onboarding_owner?: boolean;
|
|
1249
|
+
|
|
1250
|
+
/**
|
|
1251
|
+
* Whether the controller has pricing controls for this account.
|
|
1252
|
+
*/
|
|
1253
|
+
pricing_controls?: boolean;
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
interface Dashboard {
|
|
1257
|
+
/**
|
|
1258
|
+
* Whether this account should have access to the full Stripe Dashboard (`full`), to the Express Dashboard (`express`), or to no Stripe-hosted dashboard (`none`). Defaults to `full`.
|
|
1259
|
+
*/
|
|
1260
|
+
type?: Dashboard.Type;
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1263
|
+
namespace Dashboard {
|
|
1264
|
+
type Type = 'express' | 'full' | 'none';
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1026
1267
|
interface Fees {
|
|
1027
1268
|
/**
|
|
1028
1269
|
* A value indicating the responsible payer of Stripe fees on this account. Defaults to `account`. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
|
|
@@ -1094,6 +1335,11 @@ declare module 'stripe' {
|
|
|
1094
1335
|
* One or more documents showing the company's proof of registration with the national business registry.
|
|
1095
1336
|
*/
|
|
1096
1337
|
proof_of_registration?: Documents.ProofOfRegistration;
|
|
1338
|
+
|
|
1339
|
+
/**
|
|
1340
|
+
* One or more documents that demonstrate proof of ultimate beneficial ownership.
|
|
1341
|
+
*/
|
|
1342
|
+
proof_of_ultimate_beneficial_ownership?: Documents.ProofOfUltimateBeneficialOwnership;
|
|
1097
1343
|
}
|
|
1098
1344
|
|
|
1099
1345
|
namespace Documents {
|
|
@@ -1145,6 +1391,13 @@ declare module 'stripe' {
|
|
|
1145
1391
|
*/
|
|
1146
1392
|
files?: Array<string>;
|
|
1147
1393
|
}
|
|
1394
|
+
|
|
1395
|
+
interface ProofOfUltimateBeneficialOwnership {
|
|
1396
|
+
/**
|
|
1397
|
+
* One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
|
1398
|
+
*/
|
|
1399
|
+
files?: Array<string>;
|
|
1400
|
+
}
|
|
1148
1401
|
}
|
|
1149
1402
|
|
|
1150
1403
|
interface ExternalAccount {
|
|
@@ -1394,17 +1647,57 @@ declare module 'stripe' {
|
|
|
1394
1647
|
}
|
|
1395
1648
|
}
|
|
1396
1649
|
|
|
1650
|
+
interface RiskControls {
|
|
1651
|
+
/**
|
|
1652
|
+
* Represents the risk control status of charges. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
1653
|
+
*/
|
|
1654
|
+
charges?: RiskControls.Charges;
|
|
1655
|
+
|
|
1656
|
+
/**
|
|
1657
|
+
* Represents the risk control status of payouts. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
1658
|
+
*/
|
|
1659
|
+
payouts?: RiskControls.Payouts;
|
|
1660
|
+
}
|
|
1661
|
+
|
|
1662
|
+
namespace RiskControls {
|
|
1663
|
+
interface Charges {
|
|
1664
|
+
/**
|
|
1665
|
+
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
1666
|
+
* There can be a delay before the risk control is paused or unpaused.
|
|
1667
|
+
*/
|
|
1668
|
+
pause_requested?: boolean;
|
|
1669
|
+
}
|
|
1670
|
+
|
|
1671
|
+
interface Payouts {
|
|
1672
|
+
/**
|
|
1673
|
+
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
1674
|
+
* There can be a delay before the risk control is paused or unpaused.
|
|
1675
|
+
*/
|
|
1676
|
+
pause_requested?: boolean;
|
|
1677
|
+
}
|
|
1678
|
+
}
|
|
1679
|
+
|
|
1397
1680
|
interface Settings {
|
|
1398
1681
|
/**
|
|
1399
1682
|
* Settings specific to Bacs Direct Debit.
|
|
1400
1683
|
*/
|
|
1401
1684
|
bacs_debit_payments?: Settings.BacsDebitPayments;
|
|
1402
1685
|
|
|
1686
|
+
/**
|
|
1687
|
+
* Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
|
1688
|
+
*/
|
|
1689
|
+
bank_bca_onboarding?: Settings.BankBcaOnboarding;
|
|
1690
|
+
|
|
1403
1691
|
/**
|
|
1404
1692
|
* Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
|
1405
1693
|
*/
|
|
1406
1694
|
branding?: Settings.Branding;
|
|
1407
1695
|
|
|
1696
|
+
/**
|
|
1697
|
+
* Settings specific to the account's use of the Capital product.
|
|
1698
|
+
*/
|
|
1699
|
+
capital?: Settings.Capital;
|
|
1700
|
+
|
|
1408
1701
|
/**
|
|
1409
1702
|
* Settings specific to the account's use of the Card Issuing product.
|
|
1410
1703
|
*/
|
|
@@ -1425,6 +1718,11 @@ declare module 'stripe' {
|
|
|
1425
1718
|
*/
|
|
1426
1719
|
payouts?: Settings.Payouts;
|
|
1427
1720
|
|
|
1721
|
+
/**
|
|
1722
|
+
* Settings specific to the account's tax forms.
|
|
1723
|
+
*/
|
|
1724
|
+
tax_forms?: Settings.TaxForms;
|
|
1725
|
+
|
|
1428
1726
|
/**
|
|
1429
1727
|
* Settings specific to the account's Treasury FinancialAccounts.
|
|
1430
1728
|
*/
|
|
@@ -1439,6 +1737,18 @@ declare module 'stripe' {
|
|
|
1439
1737
|
display_name?: string;
|
|
1440
1738
|
}
|
|
1441
1739
|
|
|
1740
|
+
interface BankBcaOnboarding {
|
|
1741
|
+
/**
|
|
1742
|
+
* Bank BCA business account holder name
|
|
1743
|
+
*/
|
|
1744
|
+
account_holder_name?: string;
|
|
1745
|
+
|
|
1746
|
+
/**
|
|
1747
|
+
* Bank BCA business account number
|
|
1748
|
+
*/
|
|
1749
|
+
business_account_number?: string;
|
|
1750
|
+
}
|
|
1751
|
+
|
|
1442
1752
|
interface Branding {
|
|
1443
1753
|
/**
|
|
1444
1754
|
* (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.
|
|
@@ -1461,6 +1771,22 @@ declare module 'stripe' {
|
|
|
1461
1771
|
secondary_color?: string;
|
|
1462
1772
|
}
|
|
1463
1773
|
|
|
1774
|
+
interface Capital {
|
|
1775
|
+
/**
|
|
1776
|
+
* Per-currency mapping of user-selected destination accounts used to pay out loans.
|
|
1777
|
+
*/
|
|
1778
|
+
payout_destination?: {
|
|
1779
|
+
[key: string]: string;
|
|
1780
|
+
};
|
|
1781
|
+
|
|
1782
|
+
/**
|
|
1783
|
+
* Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
|
1784
|
+
*/
|
|
1785
|
+
payout_destination_selector?: {
|
|
1786
|
+
[key: string]: Array<string>;
|
|
1787
|
+
};
|
|
1788
|
+
}
|
|
1789
|
+
|
|
1464
1790
|
interface CardIssuing {
|
|
1465
1791
|
/**
|
|
1466
1792
|
* Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://stripe.com/issuing/connect/tos_acceptance).
|
|
@@ -1594,6 +1920,13 @@ declare module 'stripe' {
|
|
|
1594
1920
|
}
|
|
1595
1921
|
}
|
|
1596
1922
|
|
|
1923
|
+
interface TaxForms {
|
|
1924
|
+
/**
|
|
1925
|
+
* Whether the account opted out of receiving their tax forms by postal delivery.
|
|
1926
|
+
*/
|
|
1927
|
+
consented_to_paperless_delivery?: boolean;
|
|
1928
|
+
}
|
|
1929
|
+
|
|
1597
1930
|
interface Treasury {
|
|
1598
1931
|
/**
|
|
1599
1932
|
* Details on the account's acceptance of the Stripe Treasury Services Agreement.
|
|
@@ -1733,6 +2066,11 @@ declare module 'stripe' {
|
|
|
1733
2066
|
*/
|
|
1734
2067
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
1735
2068
|
|
|
2069
|
+
/**
|
|
2070
|
+
* A hash to configure risk controls on the account. Please see [this page for more details](https://stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
2071
|
+
*/
|
|
2072
|
+
risk_controls?: AccountUpdateParams.RiskControls;
|
|
2073
|
+
|
|
1736
2074
|
/**
|
|
1737
2075
|
* Options for customizing how the account functions within Stripe.
|
|
1738
2076
|
*/
|
|
@@ -1908,6 +2246,11 @@ declare module 'stripe' {
|
|
|
1908
2246
|
*/
|
|
1909
2247
|
au_becs_debit_payments?: Capabilities.AuBecsDebitPayments;
|
|
1910
2248
|
|
|
2249
|
+
/**
|
|
2250
|
+
* The automatic_indirect_tax capability.
|
|
2251
|
+
*/
|
|
2252
|
+
automatic_indirect_tax?: Capabilities.AutomaticIndirectTax;
|
|
2253
|
+
|
|
1911
2254
|
/**
|
|
1912
2255
|
* The bacs_debit_payments capability.
|
|
1913
2256
|
*/
|
|
@@ -1973,11 +2316,26 @@ declare module 'stripe' {
|
|
|
1973
2316
|
*/
|
|
1974
2317
|
giropay_payments?: Capabilities.GiropayPayments;
|
|
1975
2318
|
|
|
2319
|
+
/**
|
|
2320
|
+
* The gopay_payments capability.
|
|
2321
|
+
*/
|
|
2322
|
+
gopay_payments?: Capabilities.GopayPayments;
|
|
2323
|
+
|
|
1976
2324
|
/**
|
|
1977
2325
|
* The grabpay_payments capability.
|
|
1978
2326
|
*/
|
|
1979
2327
|
grabpay_payments?: Capabilities.GrabpayPayments;
|
|
1980
2328
|
|
|
2329
|
+
/**
|
|
2330
|
+
* The id_bank_transfer_payments capability.
|
|
2331
|
+
*/
|
|
2332
|
+
id_bank_transfer_payments?: Capabilities.IdBankTransferPayments;
|
|
2333
|
+
|
|
2334
|
+
/**
|
|
2335
|
+
* The id_bank_transfer_payments_bca capability.
|
|
2336
|
+
*/
|
|
2337
|
+
id_bank_transfer_payments_bca?: Capabilities.IdBankTransferPaymentsBca;
|
|
2338
|
+
|
|
1981
2339
|
/**
|
|
1982
2340
|
* The ideal_payments capability.
|
|
1983
2341
|
*/
|
|
@@ -2028,6 +2386,11 @@ declare module 'stripe' {
|
|
|
2028
2386
|
*/
|
|
2029
2387
|
link_payments?: Capabilities.LinkPayments;
|
|
2030
2388
|
|
|
2389
|
+
/**
|
|
2390
|
+
* The mb_way_payments capability.
|
|
2391
|
+
*/
|
|
2392
|
+
mb_way_payments?: Capabilities.MbWayPayments;
|
|
2393
|
+
|
|
2031
2394
|
/**
|
|
2032
2395
|
* The mobilepay_payments capability.
|
|
2033
2396
|
*/
|
|
@@ -2058,6 +2421,11 @@ declare module 'stripe' {
|
|
|
2058
2421
|
*/
|
|
2059
2422
|
p24_payments?: Capabilities.P24Payments;
|
|
2060
2423
|
|
|
2424
|
+
/**
|
|
2425
|
+
* The pay_by_bank_payments capability.
|
|
2426
|
+
*/
|
|
2427
|
+
pay_by_bank_payments?: Capabilities.PayByBankPayments;
|
|
2428
|
+
|
|
2061
2429
|
/**
|
|
2062
2430
|
* The payco_payments capability.
|
|
2063
2431
|
*/
|
|
@@ -2068,11 +2436,31 @@ declare module 'stripe' {
|
|
|
2068
2436
|
*/
|
|
2069
2437
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
2070
2438
|
|
|
2439
|
+
/**
|
|
2440
|
+
* The paypal_payments capability.
|
|
2441
|
+
*/
|
|
2442
|
+
paypal_payments?: Capabilities.PaypalPayments;
|
|
2443
|
+
|
|
2444
|
+
/**
|
|
2445
|
+
* The payto_payments capability.
|
|
2446
|
+
*/
|
|
2447
|
+
payto_payments?: Capabilities.PaytoPayments;
|
|
2448
|
+
|
|
2071
2449
|
/**
|
|
2072
2450
|
* The promptpay_payments capability.
|
|
2073
2451
|
*/
|
|
2074
2452
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
2075
2453
|
|
|
2454
|
+
/**
|
|
2455
|
+
* The qris_payments capability.
|
|
2456
|
+
*/
|
|
2457
|
+
qris_payments?: Capabilities.QrisPayments;
|
|
2458
|
+
|
|
2459
|
+
/**
|
|
2460
|
+
* The rechnung_payments capability.
|
|
2461
|
+
*/
|
|
2462
|
+
rechnung_payments?: Capabilities.RechnungPayments;
|
|
2463
|
+
|
|
2076
2464
|
/**
|
|
2077
2465
|
* The revolut_pay_payments capability.
|
|
2078
2466
|
*/
|
|
@@ -2093,6 +2481,11 @@ declare module 'stripe' {
|
|
|
2093
2481
|
*/
|
|
2094
2482
|
sepa_debit_payments?: Capabilities.SepaDebitPayments;
|
|
2095
2483
|
|
|
2484
|
+
/**
|
|
2485
|
+
* The shopeepay_payments capability.
|
|
2486
|
+
*/
|
|
2487
|
+
shopeepay_payments?: Capabilities.ShopeepayPayments;
|
|
2488
|
+
|
|
2096
2489
|
/**
|
|
2097
2490
|
* The sofort_payments capability.
|
|
2098
2491
|
*/
|
|
@@ -2123,6 +2516,21 @@ declare module 'stripe' {
|
|
|
2123
2516
|
*/
|
|
2124
2517
|
treasury?: Capabilities.Treasury;
|
|
2125
2518
|
|
|
2519
|
+
/**
|
|
2520
|
+
* The treasury_evolve capability.
|
|
2521
|
+
*/
|
|
2522
|
+
treasury_evolve?: Capabilities.TreasuryEvolve;
|
|
2523
|
+
|
|
2524
|
+
/**
|
|
2525
|
+
* The treasury_fifth_third capability.
|
|
2526
|
+
*/
|
|
2527
|
+
treasury_fifth_third?: Capabilities.TreasuryFifthThird;
|
|
2528
|
+
|
|
2529
|
+
/**
|
|
2530
|
+
* The treasury_goldman_sachs capability.
|
|
2531
|
+
*/
|
|
2532
|
+
treasury_goldman_sachs?: Capabilities.TreasuryGoldmanSachs;
|
|
2533
|
+
|
|
2126
2534
|
/**
|
|
2127
2535
|
* The twint_payments capability.
|
|
2128
2536
|
*/
|
|
@@ -2187,6 +2595,13 @@ declare module 'stripe' {
|
|
|
2187
2595
|
requested?: boolean;
|
|
2188
2596
|
}
|
|
2189
2597
|
|
|
2598
|
+
interface AutomaticIndirectTax {
|
|
2599
|
+
/**
|
|
2600
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2601
|
+
*/
|
|
2602
|
+
requested?: boolean;
|
|
2603
|
+
}
|
|
2604
|
+
|
|
2190
2605
|
interface BacsDebitPayments {
|
|
2191
2606
|
/**
|
|
2192
2607
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -2278,6 +2693,13 @@ declare module 'stripe' {
|
|
|
2278
2693
|
requested?: boolean;
|
|
2279
2694
|
}
|
|
2280
2695
|
|
|
2696
|
+
interface GopayPayments {
|
|
2697
|
+
/**
|
|
2698
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2699
|
+
*/
|
|
2700
|
+
requested?: boolean;
|
|
2701
|
+
}
|
|
2702
|
+
|
|
2281
2703
|
interface GrabpayPayments {
|
|
2282
2704
|
/**
|
|
2283
2705
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -2285,6 +2707,20 @@ declare module 'stripe' {
|
|
|
2285
2707
|
requested?: boolean;
|
|
2286
2708
|
}
|
|
2287
2709
|
|
|
2710
|
+
interface IdBankTransferPayments {
|
|
2711
|
+
/**
|
|
2712
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2713
|
+
*/
|
|
2714
|
+
requested?: boolean;
|
|
2715
|
+
}
|
|
2716
|
+
|
|
2717
|
+
interface IdBankTransferPaymentsBca {
|
|
2718
|
+
/**
|
|
2719
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2720
|
+
*/
|
|
2721
|
+
requested?: boolean;
|
|
2722
|
+
}
|
|
2723
|
+
|
|
2288
2724
|
interface IdealPayments {
|
|
2289
2725
|
/**
|
|
2290
2726
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -2355,6 +2791,13 @@ declare module 'stripe' {
|
|
|
2355
2791
|
requested?: boolean;
|
|
2356
2792
|
}
|
|
2357
2793
|
|
|
2794
|
+
interface MbWayPayments {
|
|
2795
|
+
/**
|
|
2796
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2797
|
+
*/
|
|
2798
|
+
requested?: boolean;
|
|
2799
|
+
}
|
|
2800
|
+
|
|
2358
2801
|
interface MobilepayPayments {
|
|
2359
2802
|
/**
|
|
2360
2803
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -2397,6 +2840,13 @@ declare module 'stripe' {
|
|
|
2397
2840
|
requested?: boolean;
|
|
2398
2841
|
}
|
|
2399
2842
|
|
|
2843
|
+
interface PayByBankPayments {
|
|
2844
|
+
/**
|
|
2845
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2846
|
+
*/
|
|
2847
|
+
requested?: boolean;
|
|
2848
|
+
}
|
|
2849
|
+
|
|
2400
2850
|
interface PaycoPayments {
|
|
2401
2851
|
/**
|
|
2402
2852
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -2411,6 +2861,20 @@ declare module 'stripe' {
|
|
|
2411
2861
|
requested?: boolean;
|
|
2412
2862
|
}
|
|
2413
2863
|
|
|
2864
|
+
interface PaypalPayments {
|
|
2865
|
+
/**
|
|
2866
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2867
|
+
*/
|
|
2868
|
+
requested?: boolean;
|
|
2869
|
+
}
|
|
2870
|
+
|
|
2871
|
+
interface PaytoPayments {
|
|
2872
|
+
/**
|
|
2873
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2874
|
+
*/
|
|
2875
|
+
requested?: boolean;
|
|
2876
|
+
}
|
|
2877
|
+
|
|
2414
2878
|
interface PromptpayPayments {
|
|
2415
2879
|
/**
|
|
2416
2880
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -2418,6 +2882,20 @@ declare module 'stripe' {
|
|
|
2418
2882
|
requested?: boolean;
|
|
2419
2883
|
}
|
|
2420
2884
|
|
|
2885
|
+
interface QrisPayments {
|
|
2886
|
+
/**
|
|
2887
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2888
|
+
*/
|
|
2889
|
+
requested?: boolean;
|
|
2890
|
+
}
|
|
2891
|
+
|
|
2892
|
+
interface RechnungPayments {
|
|
2893
|
+
/**
|
|
2894
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2895
|
+
*/
|
|
2896
|
+
requested?: boolean;
|
|
2897
|
+
}
|
|
2898
|
+
|
|
2421
2899
|
interface RevolutPayPayments {
|
|
2422
2900
|
/**
|
|
2423
2901
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -2446,6 +2924,13 @@ declare module 'stripe' {
|
|
|
2446
2924
|
requested?: boolean;
|
|
2447
2925
|
}
|
|
2448
2926
|
|
|
2927
|
+
interface ShopeepayPayments {
|
|
2928
|
+
/**
|
|
2929
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2930
|
+
*/
|
|
2931
|
+
requested?: boolean;
|
|
2932
|
+
}
|
|
2933
|
+
|
|
2449
2934
|
interface SofortPayments {
|
|
2450
2935
|
/**
|
|
2451
2936
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -2488,6 +2973,27 @@ declare module 'stripe' {
|
|
|
2488
2973
|
requested?: boolean;
|
|
2489
2974
|
}
|
|
2490
2975
|
|
|
2976
|
+
interface TreasuryEvolve {
|
|
2977
|
+
/**
|
|
2978
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2979
|
+
*/
|
|
2980
|
+
requested?: boolean;
|
|
2981
|
+
}
|
|
2982
|
+
|
|
2983
|
+
interface TreasuryFifthThird {
|
|
2984
|
+
/**
|
|
2985
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2986
|
+
*/
|
|
2987
|
+
requested?: boolean;
|
|
2988
|
+
}
|
|
2989
|
+
|
|
2990
|
+
interface TreasuryGoldmanSachs {
|
|
2991
|
+
/**
|
|
2992
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2993
|
+
*/
|
|
2994
|
+
requested?: boolean;
|
|
2995
|
+
}
|
|
2996
|
+
|
|
2491
2997
|
interface TwintPayments {
|
|
2492
2998
|
/**
|
|
2493
2999
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -2581,6 +3087,11 @@ declare module 'stripe' {
|
|
|
2581
3087
|
*/
|
|
2582
3088
|
directors_provided?: boolean;
|
|
2583
3089
|
|
|
3090
|
+
/**
|
|
3091
|
+
* This hash is used to attest that the directors information provided to Stripe is both current and correct.
|
|
3092
|
+
*/
|
|
3093
|
+
directorship_declaration?: Company.DirectorshipDeclaration;
|
|
3094
|
+
|
|
2584
3095
|
/**
|
|
2585
3096
|
* Whether the company's executives have been provided. Set this Boolean to `true` after creating all the company's executives with [the Persons API](https://stripe.com/api/persons) for accounts with a `relationship.executive` requirement.
|
|
2586
3097
|
*/
|
|
@@ -2621,6 +3132,10 @@ declare module 'stripe' {
|
|
|
2621
3132
|
*/
|
|
2622
3133
|
ownership_declaration?: Company.OwnershipDeclaration;
|
|
2623
3134
|
|
|
3135
|
+
ownership_exemption_reason?: Stripe.Emptyable<
|
|
3136
|
+
Company.OwnershipExemptionReason
|
|
3137
|
+
>;
|
|
3138
|
+
|
|
2624
3139
|
/**
|
|
2625
3140
|
* The company's phone number (used for verification).
|
|
2626
3141
|
*/
|
|
@@ -2658,6 +3173,23 @@ declare module 'stripe' {
|
|
|
2658
3173
|
}
|
|
2659
3174
|
|
|
2660
3175
|
namespace Company {
|
|
3176
|
+
interface DirectorshipDeclaration {
|
|
3177
|
+
/**
|
|
3178
|
+
* The Unix timestamp marking when the directorship declaration attestation was made.
|
|
3179
|
+
*/
|
|
3180
|
+
date?: number;
|
|
3181
|
+
|
|
3182
|
+
/**
|
|
3183
|
+
* The IP address from which the directorship declaration attestation was made.
|
|
3184
|
+
*/
|
|
3185
|
+
ip?: string;
|
|
3186
|
+
|
|
3187
|
+
/**
|
|
3188
|
+
* The user agent of the browser from which the directorship declaration attestation was made.
|
|
3189
|
+
*/
|
|
3190
|
+
user_agent?: string;
|
|
3191
|
+
}
|
|
3192
|
+
|
|
2661
3193
|
interface OwnershipDeclaration {
|
|
2662
3194
|
/**
|
|
2663
3195
|
* The Unix timestamp marking when the beneficial owner attestation was made.
|
|
@@ -2675,6 +3207,10 @@ declare module 'stripe' {
|
|
|
2675
3207
|
user_agent?: string;
|
|
2676
3208
|
}
|
|
2677
3209
|
|
|
3210
|
+
type OwnershipExemptionReason =
|
|
3211
|
+
| 'qualified_entity_exceeds_ownership_threshold'
|
|
3212
|
+
| 'qualifies_as_financial_institution';
|
|
3213
|
+
|
|
2678
3214
|
type Structure =
|
|
2679
3215
|
| 'free_zone_establishment'
|
|
2680
3216
|
| 'free_zone_llc'
|
|
@@ -2757,6 +3293,11 @@ declare module 'stripe' {
|
|
|
2757
3293
|
* One or more documents showing the company's proof of registration with the national business registry.
|
|
2758
3294
|
*/
|
|
2759
3295
|
proof_of_registration?: Documents.ProofOfRegistration;
|
|
3296
|
+
|
|
3297
|
+
/**
|
|
3298
|
+
* One or more documents that demonstrate proof of ultimate beneficial ownership.
|
|
3299
|
+
*/
|
|
3300
|
+
proof_of_ultimate_beneficial_ownership?: Documents.ProofOfUltimateBeneficialOwnership;
|
|
2760
3301
|
}
|
|
2761
3302
|
|
|
2762
3303
|
namespace Documents {
|
|
@@ -2808,6 +3349,13 @@ declare module 'stripe' {
|
|
|
2808
3349
|
*/
|
|
2809
3350
|
files?: Array<string>;
|
|
2810
3351
|
}
|
|
3352
|
+
|
|
3353
|
+
interface ProofOfUltimateBeneficialOwnership {
|
|
3354
|
+
/**
|
|
3355
|
+
* One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
|
3356
|
+
*/
|
|
3357
|
+
files?: Array<string>;
|
|
3358
|
+
}
|
|
2811
3359
|
}
|
|
2812
3360
|
|
|
2813
3361
|
interface Groups {
|
|
@@ -3020,17 +3568,57 @@ declare module 'stripe' {
|
|
|
3020
3568
|
}
|
|
3021
3569
|
}
|
|
3022
3570
|
|
|
3571
|
+
interface RiskControls {
|
|
3572
|
+
/**
|
|
3573
|
+
* Represents the risk control status of charges. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
3574
|
+
*/
|
|
3575
|
+
charges?: RiskControls.Charges;
|
|
3576
|
+
|
|
3577
|
+
/**
|
|
3578
|
+
* Represents the risk control status of payouts. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
3579
|
+
*/
|
|
3580
|
+
payouts?: RiskControls.Payouts;
|
|
3581
|
+
}
|
|
3582
|
+
|
|
3583
|
+
namespace RiskControls {
|
|
3584
|
+
interface Charges {
|
|
3585
|
+
/**
|
|
3586
|
+
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
3587
|
+
* There can be a delay before the risk control is paused or unpaused.
|
|
3588
|
+
*/
|
|
3589
|
+
pause_requested?: boolean;
|
|
3590
|
+
}
|
|
3591
|
+
|
|
3592
|
+
interface Payouts {
|
|
3593
|
+
/**
|
|
3594
|
+
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
3595
|
+
* There can be a delay before the risk control is paused or unpaused.
|
|
3596
|
+
*/
|
|
3597
|
+
pause_requested?: boolean;
|
|
3598
|
+
}
|
|
3599
|
+
}
|
|
3600
|
+
|
|
3023
3601
|
interface Settings {
|
|
3024
3602
|
/**
|
|
3025
3603
|
* Settings specific to Bacs Direct Debit payments.
|
|
3026
3604
|
*/
|
|
3027
3605
|
bacs_debit_payments?: Settings.BacsDebitPayments;
|
|
3028
3606
|
|
|
3607
|
+
/**
|
|
3608
|
+
* Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
|
3609
|
+
*/
|
|
3610
|
+
bank_bca_onboarding?: Settings.BankBcaOnboarding;
|
|
3611
|
+
|
|
3029
3612
|
/**
|
|
3030
3613
|
* Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
|
3031
3614
|
*/
|
|
3032
3615
|
branding?: Settings.Branding;
|
|
3033
3616
|
|
|
3617
|
+
/**
|
|
3618
|
+
* Settings specific to the account's use of the Capital product.
|
|
3619
|
+
*/
|
|
3620
|
+
capital?: Settings.Capital;
|
|
3621
|
+
|
|
3034
3622
|
/**
|
|
3035
3623
|
* Settings specific to the account's use of the Card Issuing product.
|
|
3036
3624
|
*/
|
|
@@ -3056,6 +3644,11 @@ declare module 'stripe' {
|
|
|
3056
3644
|
*/
|
|
3057
3645
|
payouts?: Settings.Payouts;
|
|
3058
3646
|
|
|
3647
|
+
/**
|
|
3648
|
+
* Settings specific to the account's tax forms.
|
|
3649
|
+
*/
|
|
3650
|
+
tax_forms?: Settings.TaxForms;
|
|
3651
|
+
|
|
3059
3652
|
/**
|
|
3060
3653
|
* Settings specific to the account's Treasury FinancialAccounts.
|
|
3061
3654
|
*/
|
|
@@ -3070,6 +3663,18 @@ declare module 'stripe' {
|
|
|
3070
3663
|
display_name?: string;
|
|
3071
3664
|
}
|
|
3072
3665
|
|
|
3666
|
+
interface BankBcaOnboarding {
|
|
3667
|
+
/**
|
|
3668
|
+
* Bank BCA business account holder name
|
|
3669
|
+
*/
|
|
3670
|
+
account_holder_name?: string;
|
|
3671
|
+
|
|
3672
|
+
/**
|
|
3673
|
+
* Bank BCA business account number
|
|
3674
|
+
*/
|
|
3675
|
+
business_account_number?: string;
|
|
3676
|
+
}
|
|
3677
|
+
|
|
3073
3678
|
interface Branding {
|
|
3074
3679
|
/**
|
|
3075
3680
|
* (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.
|
|
@@ -3092,6 +3697,22 @@ declare module 'stripe' {
|
|
|
3092
3697
|
secondary_color?: string;
|
|
3093
3698
|
}
|
|
3094
3699
|
|
|
3700
|
+
interface Capital {
|
|
3701
|
+
/**
|
|
3702
|
+
* Per-currency mapping of user-selected destination accounts used to pay out loans.
|
|
3703
|
+
*/
|
|
3704
|
+
payout_destination?: {
|
|
3705
|
+
[key: string]: string;
|
|
3706
|
+
};
|
|
3707
|
+
|
|
3708
|
+
/**
|
|
3709
|
+
* Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
|
3710
|
+
*/
|
|
3711
|
+
payout_destination_selector?: {
|
|
3712
|
+
[key: string]: Array<string>;
|
|
3713
|
+
};
|
|
3714
|
+
}
|
|
3715
|
+
|
|
3095
3716
|
interface CardIssuing {
|
|
3096
3717
|
/**
|
|
3097
3718
|
* Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://stripe.com/issuing/connect/tos_acceptance).
|
|
@@ -3232,6 +3853,13 @@ declare module 'stripe' {
|
|
|
3232
3853
|
}
|
|
3233
3854
|
}
|
|
3234
3855
|
|
|
3856
|
+
interface TaxForms {
|
|
3857
|
+
/**
|
|
3858
|
+
* Whether the account opted out of receiving their tax forms by postal delivery.
|
|
3859
|
+
*/
|
|
3860
|
+
consented_to_paperless_delivery?: boolean;
|
|
3861
|
+
}
|
|
3862
|
+
|
|
3235
3863
|
interface Treasury {
|
|
3236
3864
|
/**
|
|
3237
3865
|
* Details on the account's acceptance of the Stripe Treasury Services Agreement.
|