stripe 17.2.1 → 17.3.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.
Files changed (82) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/VERSION +1 -1
  3. package/cjs/apiVersion.js +1 -1
  4. package/cjs/resources/TestHelpers/Issuing/Cards.js +4 -0
  5. package/cjs/resources/V2/Core/EventDestinations.js +41 -0
  6. package/cjs/resources/V2/Core.js +2 -0
  7. package/cjs/stripe.core.js +1 -1
  8. package/esm/apiVersion.js +1 -1
  9. package/esm/resources/TestHelpers/Issuing/Cards.js +4 -0
  10. package/esm/resources/V2/Core/EventDestinations.js +38 -0
  11. package/esm/resources/V2/Core.js +2 -0
  12. package/esm/stripe.core.js +1 -1
  13. package/package.json +1 -1
  14. package/types/AccountSessions.d.ts +30 -5
  15. package/types/AccountSessionsResource.d.ts +30 -5
  16. package/types/Accounts.d.ts +56 -2
  17. package/types/AccountsResource.d.ts +171 -3
  18. package/types/Billing/CreditBalanceSummary.d.ts +4 -4
  19. package/types/Billing/CreditBalanceSummaryResource.d.ts +2 -2
  20. package/types/Billing/CreditBalanceTransactions.d.ts +10 -10
  21. package/types/Billing/CreditGrants.d.ts +11 -8
  22. package/types/Billing/CreditGrantsResource.d.ts +6 -6
  23. package/types/Billing/Meters.d.ts +2 -0
  24. package/types/BillingPortal/Configurations.d.ts +22 -0
  25. package/types/BillingPortal/ConfigurationsResource.d.ts +56 -4
  26. package/types/Charges.d.ts +85 -0
  27. package/types/Checkout/Sessions.d.ts +82 -1
  28. package/types/Checkout/SessionsResource.d.ts +86 -0
  29. package/types/ConfirmationTokens.d.ts +75 -0
  30. package/types/CreditNoteLineItems.d.ts +3 -0
  31. package/types/CreditNotes.d.ts +3 -0
  32. package/types/CreditNotesResource.d.ts +3 -3
  33. package/types/CustomersResource.d.ts +21 -3
  34. package/types/Disputes.d.ts +152 -0
  35. package/types/DisputesResource.d.ts +120 -0
  36. package/types/EventTypes.d.ts +37 -2
  37. package/types/Events.d.ts +2 -0
  38. package/types/Forwarding/Requests.d.ts +5 -0
  39. package/types/Forwarding/RequestsResource.d.ts +5 -0
  40. package/types/InvoiceLineItems.d.ts +3 -0
  41. package/types/Invoices.d.ts +15 -1
  42. package/types/InvoicesResource.d.ts +44 -3
  43. package/types/Issuing/CardsResource.d.ts +1 -1
  44. package/types/Mandates.d.ts +8 -0
  45. package/types/PaymentIntents.d.ts +84 -0
  46. package/types/PaymentIntentsResource.d.ts +554 -7
  47. package/types/PaymentLinks.d.ts +1 -0
  48. package/types/PaymentLinksResource.d.ts +2 -0
  49. package/types/PaymentMethodConfigurations.d.ts +36 -0
  50. package/types/PaymentMethodConfigurationsResource.d.ts +52 -2
  51. package/types/PaymentMethodDomains.d.ts +28 -0
  52. package/types/PaymentMethods.d.ts +75 -0
  53. package/types/PaymentMethodsResource.d.ts +80 -1
  54. package/types/Persons.d.ts +1 -1
  55. package/types/Refunds.d.ts +5 -4
  56. package/types/SetupAttempts.d.ts +8 -0
  57. package/types/SetupIntentsResource.d.ts +174 -3
  58. package/types/Subscriptions.d.ts +5 -0
  59. package/types/SubscriptionsResource.d.ts +12 -2
  60. package/types/Tax/CalculationLineItems.d.ts +1 -0
  61. package/types/Tax/Calculations.d.ts +33 -1
  62. package/types/Tax/CalculationsResource.d.ts +7 -1
  63. package/types/Tax/Registrations.d.ts +82 -0
  64. package/types/Tax/RegistrationsResource.d.ts +109 -0
  65. package/types/Tax/Transactions.d.ts +8 -1
  66. package/types/TaxIds.d.ts +7 -1
  67. package/types/TaxIdsResource.d.ts +7 -1
  68. package/types/TaxRates.d.ts +25 -0
  69. package/types/TaxRatesResource.d.ts +2 -0
  70. package/types/Terminal/Configurations.d.ts +19 -0
  71. package/types/Terminal/ConfigurationsResource.d.ts +44 -0
  72. package/types/TestHelpers/ConfirmationTokensResource.d.ts +58 -1
  73. package/types/TestHelpers/Issuing/CardsResource.d.ts +22 -0
  74. package/types/TokensResource.d.ts +2 -2
  75. package/types/Treasury/FinancialAccounts.d.ts +1 -1
  76. package/types/UsageRecordSummaries.d.ts +1 -1
  77. package/types/V2/Core/EventDestinationsResource.d.ts +281 -0
  78. package/types/V2/Core/EventsResource.d.ts +1 -1
  79. package/types/V2/CoreResource.d.ts +1 -0
  80. package/types/V2/EventDestinations.d.ts +164 -0
  81. package/types/WebhookEndpointsResource.d.ts +6 -1
  82. package/types/index.d.ts +2 -0
package/CHANGELOG.md CHANGED
@@ -1,4 +1,42 @@
1
1
  # Changelog
2
+ ## 17.3.0 - 2024-10-29
3
+ * [#2204](https://github.com/stripe/stripe-node/pull/2204) Update generated code
4
+ * Add support for new resource `V2.EventDestinations`
5
+ * Add support for `create`, `retrieve`, `update`, `list`, `del`, `disable`, `enable` and `ping` methods on resource `V2.EventDestinations`
6
+ * Add support for `submit_card` test helper method on resource `Issuing.Card`
7
+ * Add support for `groups` on `AccountCreateParams`, `AccountUpdateParams`, and `Account`
8
+ * Add support for `alma_payments`, `kakao_pay_payments`, `kr_card_payments`, `naver_pay_payments`, `payco_payments`, and `samsung_pay_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
9
+ * Add support for `disable_stripe_user_authentication` on `AccountSession.components.account_management.features`, `AccountSession.components.account_onboarding.features`, `AccountSession.components.balances.features`, `AccountSession.components.notification_banner.features`, `AccountSession.components.payouts.features`, `AccountSessionCreateParams.components.account_management.features`, `AccountSessionCreateParams.components.account_onboarding.features`, `AccountSessionCreateParams.components.balances.features`, `AccountSessionCreateParams.components.notification_banner.features`, and `AccountSessionCreateParams.components.payouts.features`
10
+ * Add support for `schedule_at_period_end` on `BillingPortal.Configuration.features.subscription_update`, `BillingPortal.ConfigurationCreateParams.features.subscription_update`, and `BillingPortal.ConfigurationUpdateParams.features.subscription_update`
11
+ * Change `BillingPortal.ConfigurationCreateParams.business_profile` and `Refund.next_action.display_details` to be optional
12
+ * Add support for `alma` on `Charge.payment_method_details`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.testHelpers.payment_method_data`, `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_data`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_data`, `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_data`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, `PaymentMethodConfiguration`, `PaymentMethodCreateParams`, `PaymentMethod`, `Refund.destination_details`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data`
13
+ * Add support for `kakao_pay` and `kr_card` on `Charge.payment_method_details`, `Checkout.Session.payment_method_options`, `Checkout.SessionCreateParams.payment_method_options`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.testHelpers.payment_method_data`, `Mandate.payment_method_details`, `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_data`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_data`, `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_data`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentMethodCreateParams`, `PaymentMethod`, `SetupAttempt.payment_method_details`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data`
14
+ * Add support for `naver_pay` on `Charge.payment_method_details`, `Checkout.Session.payment_method_options`, `Checkout.SessionCreateParams.payment_method_options`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.testHelpers.payment_method_data`, `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_data`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_data`, `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_data`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentMethodCreateParams`, `PaymentMethodUpdateParams`, `PaymentMethod`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data`
15
+ * Add support for `payco` and `samsung_pay` on `Charge.payment_method_details`, `Checkout.Session.payment_method_options`, `Checkout.SessionCreateParams.payment_method_options`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.testHelpers.payment_method_data`, `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_data`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_data`, `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_data`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentMethodCreateParams`, `PaymentMethod`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data`
16
+ * Add support for new values `alma`, `kakao_pay`, `kr_card`, `naver_pay`, `payco`, and `samsung_pay` on enums `Checkout.SessionCreateParams.payment_method_types[]`, `CustomerListPaymentMethodsParams.type`, `PaymentMethodCreateParams.type`, and `PaymentMethodListParams.type`
17
+ * Add support for new values `by_tin`, `ma_vat`, `md_vat`, `tz_vat`, `uz_tin`, and `uz_vat` on enums `Checkout.Session.customer_details.tax_ids[].type`, `Invoice.customer_tax_ids[].type`, `Tax.Calculation.customer_details.tax_ids[].type`, `Tax.Transaction.customer_details.tax_ids[].type`, and `TaxId.type`
18
+ * Add support for new values `alma`, `kakao_pay`, `kr_card`, `naver_pay`, `payco`, and `samsung_pay` on enums `ConfirmationTokenCreateParams.testHelpers.payment_method_data.type`, `PaymentIntentConfirmParams.payment_method_data.type`, `PaymentIntentCreateParams.payment_method_data.type`, `PaymentIntentUpdateParams.payment_method_data.type`, `SetupIntentConfirmParams.payment_method_data.type`, `SetupIntentCreateParams.payment_method_data.type`, and `SetupIntentUpdateParams.payment_method_data.type`
19
+ * Add support for new values `alma`, `kakao_pay`, `kr_card`, `naver_pay`, `payco`, and `samsung_pay` on enums `ConfirmationToken.payment_method_preview.type` and `PaymentMethod.type`
20
+ * Add support for new value `auto` on enum `CustomerUpdateParams.tax.validate_location`
21
+ * Add support for new values `by_tin`, `ma_vat`, `md_vat`, `tz_vat`, `uz_tin`, and `uz_vat` on enums `CustomerCreateParams.tax_id_data[].type`, `InvoiceCreatePreviewParams.customer_details.tax_ids[].type`, `InvoiceUpcomingLinesParams.customer_details.tax_ids[].type`, `InvoiceUpcomingParams.customer_details.tax_ids[].type`, `Tax.CalculationCreateParams.customer_details.tax_ids[].type`, and `TaxIdCreateParams.type`
22
+ * Add support for `enhanced_evidence` on `Dispute.evidence` and `DisputeUpdateParams.evidence`
23
+ * Add support for `enhanced_eligibility_types` on `Dispute`
24
+ * Add support for `enhanced_eligibility` on `Dispute.evidence_details`
25
+ * Add support for new values `issuing_transaction.purchase_details_receipt_updated` and `refund.failed` on enum `Event.type`
26
+ * Add support for `metadata` on `Forwarding.RequestCreateParams` and `Forwarding.Request`
27
+ * Add support for `automatically_finalizes_at` on `InvoiceCreateParams` and `InvoiceUpdateParams`
28
+ * Add support for new values `jp_credit_transfer`, `kakao_pay`, `kr_card`, `naver_pay`, and `payco` on enums `Invoice.payment_settings.payment_method_types[]`, `InvoiceCreateParams.payment_settings.payment_method_types[]`, `InvoiceUpdateParams.payment_settings.payment_method_types[]`, `Subscription.payment_settings.payment_method_types[]`, `SubscriptionCreateParams.payment_settings.payment_method_types[]`, and `SubscriptionUpdateParams.payment_settings.payment_method_types[]`
29
+ * Add support for new value `retail_delivery_fee` on enums `InvoiceAddLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type`, `InvoiceUpdateLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type`, `Tax.Calculation.shipping_cost.tax_breakdown[].tax_rate_details.tax_type`, `Tax.Calculation.tax_breakdown[].tax_rate_details.tax_type`, `Tax.CalculationLineItem.tax_breakdown[].tax_rate_details.tax_type`, `Tax.Transaction.shipping_cost.tax_breakdown[].tax_rate_details.tax_type`, `TaxRate.tax_type`, `TaxRateCreateParams.tax_type`, and `TaxRateUpdateParams.tax_type`
30
+ * Add support for new value `alma` on enums `PaymentLink.payment_method_types[]`, `PaymentLinkCreateParams.payment_method_types[]`, and `PaymentLinkUpdateParams.payment_method_types[]`
31
+ * Add support for `amazon_pay` on `PaymentMethodDomain`
32
+ * Change type of `Refund.next_action.display_details` from `RefundNextActionDisplayDetails | null` to `RefundNextActionDisplayDetails`
33
+ * Add support for `flat_amount` and `rate_type` on `Tax.Calculation.tax_breakdown[].tax_rate_details` and `TaxRate`
34
+ * Add support for `by`, `cr`, `ec`, `ma`, `md`, `rs`, `ru`, `tz`, and `uz` on `Tax.Registration.country_options` and `Tax.RegistrationCreateParams.country_options`
35
+ * Add support for new value `state_retail_delivery_fee` on enums `Tax.Registration.country_options.us.type` and `Tax.RegistrationCreateParams.country_options.us.type`
36
+ * Add support for `pln` on `Terminal.Configuration.tipping`, `Terminal.ConfigurationCreateParams.tipping`, and `Terminal.ConfigurationUpdateParams.tipping`
37
+ * Add support for new values `issuing_transaction.purchase_details_receipt_updated` and `refund.failed` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
38
+ * Add support for new value `2024-10-28.acacia` on enum `WebhookEndpointCreateParams.api_version`
39
+
2
40
  ## 17.2.1 - 2024-10-18
3
41
  * [#2210](https://github.com/stripe/stripe-node/pull/2210) update object tags for meter-related classes
4
42
 
package/VERSION CHANGED
@@ -1 +1 @@
1
- 17.2.1
1
+ 17.3.0
package/cjs/apiVersion.js CHANGED
@@ -2,4 +2,4 @@
2
2
  // File generated from our OpenAPI spec
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.ApiVersion = void 0;
5
- exports.ApiVersion = '2024-09-30.acacia';
5
+ exports.ApiVersion = '2024-10-28.acacia';
@@ -21,4 +21,8 @@ exports.Cards = StripeResource_js_1.StripeResource.extend({
21
21
  method: 'POST',
22
22
  fullPath: '/v1/test_helpers/issuing/cards/{card}/shipping/ship',
23
23
  }),
24
+ submitCard: stripeMethod({
25
+ method: 'POST',
26
+ fullPath: '/v1/test_helpers/issuing/cards/{card}/shipping/submit',
27
+ }),
24
28
  });
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.EventDestinations = void 0;
5
+ const StripeResource_js_1 = require("../../../StripeResource.js");
6
+ const stripeMethod = StripeResource_js_1.StripeResource.method;
7
+ exports.EventDestinations = StripeResource_js_1.StripeResource.extend({
8
+ create: stripeMethod({
9
+ method: 'POST',
10
+ fullPath: '/v2/core/event_destinations',
11
+ }),
12
+ retrieve: stripeMethod({
13
+ method: 'GET',
14
+ fullPath: '/v2/core/event_destinations/{id}',
15
+ }),
16
+ update: stripeMethod({
17
+ method: 'POST',
18
+ fullPath: '/v2/core/event_destinations/{id}',
19
+ }),
20
+ list: stripeMethod({
21
+ method: 'GET',
22
+ fullPath: '/v2/core/event_destinations',
23
+ methodType: 'list',
24
+ }),
25
+ del: stripeMethod({
26
+ method: 'DELETE',
27
+ fullPath: '/v2/core/event_destinations/{id}',
28
+ }),
29
+ disable: stripeMethod({
30
+ method: 'POST',
31
+ fullPath: '/v2/core/event_destinations/{id}/disable',
32
+ }),
33
+ enable: stripeMethod({
34
+ method: 'POST',
35
+ fullPath: '/v2/core/event_destinations/{id}/enable',
36
+ }),
37
+ ping: stripeMethod({
38
+ method: 'POST',
39
+ fullPath: '/v2/core/event_destinations/{id}/ping',
40
+ }),
41
+ });
@@ -3,10 +3,12 @@
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.Core = void 0;
5
5
  const StripeResource_js_1 = require("../../StripeResource.js");
6
+ const EventDestinations_js_1 = require("./Core/EventDestinations.js");
6
7
  const Events_js_1 = require("./Core/Events.js");
7
8
  exports.Core = StripeResource_js_1.StripeResource.extend({
8
9
  constructor: function (...args) {
9
10
  StripeResource_js_1.StripeResource.apply(this, args);
11
+ this.eventDestinations = new EventDestinations_js_1.EventDestinations(...args);
10
12
  this.events = new Events_js_1.Events(...args);
11
13
  },
12
14
  });
@@ -36,7 +36,7 @@ const ALLOWED_CONFIG_PROPERTIES = [
36
36
  ];
37
37
  const defaultRequestSenderFactory = (stripe) => new RequestSender_js_1.RequestSender(stripe, StripeResource_js_1.StripeResource.MAX_BUFFERED_REQUEST_METRICS);
38
38
  function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) {
39
- Stripe.PACKAGE_VERSION = '17.2.1';
39
+ Stripe.PACKAGE_VERSION = '17.3.0';
40
40
  Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: 'node', publisher: 'stripe', uname: null, typescript: false }, (0, utils_js_1.determineProcessUserAgentProperties)());
41
41
  Stripe.StripeResource = StripeResource_js_1.StripeResource;
42
42
  Stripe.resources = resources;
package/esm/apiVersion.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // File generated from our OpenAPI spec
2
- export const ApiVersion = '2024-09-30.acacia';
2
+ export const ApiVersion = '2024-10-28.acacia';
@@ -18,4 +18,8 @@ export const Cards = StripeResource.extend({
18
18
  method: 'POST',
19
19
  fullPath: '/v1/test_helpers/issuing/cards/{card}/shipping/ship',
20
20
  }),
21
+ submitCard: stripeMethod({
22
+ method: 'POST',
23
+ fullPath: '/v1/test_helpers/issuing/cards/{card}/shipping/submit',
24
+ }),
21
25
  });
@@ -0,0 +1,38 @@
1
+ // File generated from our OpenAPI spec
2
+ import { StripeResource } from '../../../StripeResource.js';
3
+ const stripeMethod = StripeResource.method;
4
+ export const EventDestinations = StripeResource.extend({
5
+ create: stripeMethod({
6
+ method: 'POST',
7
+ fullPath: '/v2/core/event_destinations',
8
+ }),
9
+ retrieve: stripeMethod({
10
+ method: 'GET',
11
+ fullPath: '/v2/core/event_destinations/{id}',
12
+ }),
13
+ update: stripeMethod({
14
+ method: 'POST',
15
+ fullPath: '/v2/core/event_destinations/{id}',
16
+ }),
17
+ list: stripeMethod({
18
+ method: 'GET',
19
+ fullPath: '/v2/core/event_destinations',
20
+ methodType: 'list',
21
+ }),
22
+ del: stripeMethod({
23
+ method: 'DELETE',
24
+ fullPath: '/v2/core/event_destinations/{id}',
25
+ }),
26
+ disable: stripeMethod({
27
+ method: 'POST',
28
+ fullPath: '/v2/core/event_destinations/{id}/disable',
29
+ }),
30
+ enable: stripeMethod({
31
+ method: 'POST',
32
+ fullPath: '/v2/core/event_destinations/{id}/enable',
33
+ }),
34
+ ping: stripeMethod({
35
+ method: 'POST',
36
+ fullPath: '/v2/core/event_destinations/{id}/ping',
37
+ }),
38
+ });
@@ -1,9 +1,11 @@
1
1
  // File generated from our OpenAPI spec
2
2
  import { StripeResource } from '../../StripeResource.js';
3
+ import { EventDestinations } from './Core/EventDestinations.js';
3
4
  import { Events } from './Core/Events.js';
4
5
  export const Core = StripeResource.extend({
5
6
  constructor: function (...args) {
6
7
  StripeResource.apply(this, args);
8
+ this.eventDestinations = new EventDestinations(...args);
7
9
  this.events = new Events(...args);
8
10
  },
9
11
  });
@@ -33,7 +33,7 @@ const ALLOWED_CONFIG_PROPERTIES = [
33
33
  ];
34
34
  const defaultRequestSenderFactory = (stripe) => new RequestSender(stripe, StripeResource.MAX_BUFFERED_REQUEST_METRICS);
35
35
  export function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) {
36
- Stripe.PACKAGE_VERSION = '17.2.1';
36
+ Stripe.PACKAGE_VERSION = '17.3.0';
37
37
  Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: 'node', publisher: 'stripe', uname: null, typescript: false }, determineProcessUserAgentProperties());
38
38
  Stripe.StripeResource = StripeResource;
39
39
  Stripe.resources = resources;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stripe",
3
- "version": "17.2.1",
3
+ "version": "17.3.0",
4
4
  "description": "Stripe API wrapper",
5
5
  "keywords": [
6
6
  "stripe",
@@ -82,7 +82,12 @@ declare module 'stripe' {
82
82
  namespace AccountManagement {
83
83
  interface Features {
84
84
  /**
85
- * Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for custom accounts (or accounts where the platform is compliance owner). Otherwise, bank account collection is determined by compliance requirements.
85
+ * Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
86
+ */
87
+ disable_stripe_user_authentication?: boolean;
88
+
89
+ /**
90
+ * Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.
86
91
  */
87
92
  external_account_collection: boolean;
88
93
  }
@@ -100,7 +105,12 @@ declare module 'stripe' {
100
105
  namespace AccountOnboarding {
101
106
  interface Features {
102
107
  /**
103
- * Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for custom accounts (or accounts where the platform is compliance owner). Otherwise, bank account collection is determined by compliance requirements.
108
+ * Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
109
+ */
110
+ disable_stripe_user_authentication?: boolean;
111
+
112
+ /**
113
+ * Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.
104
114
  */
105
115
  external_account_collection: boolean;
106
116
  }
@@ -117,13 +127,18 @@ declare module 'stripe' {
117
127
 
118
128
  namespace Balances {
119
129
  interface Features {
130
+ /**
131
+ * Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
132
+ */
133
+ disable_stripe_user_authentication?: boolean;
134
+
120
135
  /**
121
136
  * Whether to allow payout schedule to be changed. Default `true` when Stripe owns Loss Liability, default `false` otherwise.
122
137
  */
123
138
  edit_payout_schedule: boolean;
124
139
 
125
140
  /**
126
- * Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for custom accounts (or accounts where the platform is compliance owner). Otherwise, bank account collection is determined by compliance requirements.
141
+ * Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.
127
142
  */
128
143
  external_account_collection: boolean;
129
144
 
@@ -164,7 +179,12 @@ declare module 'stripe' {
164
179
  namespace NotificationBanner {
165
180
  interface Features {
166
181
  /**
167
- * Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for custom accounts (or accounts where the platform is compliance owner). Otherwise, bank account collection is determined by compliance requirements.
182
+ * Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
183
+ */
184
+ disable_stripe_user_authentication?: boolean;
185
+
186
+ /**
187
+ * Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.
168
188
  */
169
189
  external_account_collection: boolean;
170
190
  }
@@ -247,13 +267,18 @@ declare module 'stripe' {
247
267
 
248
268
  namespace Payouts {
249
269
  interface Features {
270
+ /**
271
+ * Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
272
+ */
273
+ disable_stripe_user_authentication?: boolean;
274
+
250
275
  /**
251
276
  * Whether to allow payout schedule to be changed. Default `true` when Stripe owns Loss Liability, default `false` otherwise.
252
277
  */
253
278
  edit_payout_schedule: boolean;
254
279
 
255
280
  /**
256
- * Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for custom accounts (or accounts where the platform is compliance owner). Otherwise, bank account collection is determined by compliance requirements.
281
+ * Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.
257
282
  */
258
283
  external_account_collection: boolean;
259
284
 
@@ -93,7 +93,12 @@ declare module 'stripe' {
93
93
  namespace AccountManagement {
94
94
  interface Features {
95
95
  /**
96
- * Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for custom accounts (or accounts where the platform is compliance owner). Otherwise, bank account collection is determined by compliance requirements.
96
+ * Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
97
+ */
98
+ disable_stripe_user_authentication?: boolean;
99
+
100
+ /**
101
+ * Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.
97
102
  */
98
103
  external_account_collection?: boolean;
99
104
  }
@@ -114,7 +119,12 @@ declare module 'stripe' {
114
119
  namespace AccountOnboarding {
115
120
  interface Features {
116
121
  /**
117
- * Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for custom accounts (or accounts where the platform is compliance owner). Otherwise, bank account collection is determined by compliance requirements.
122
+ * Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
123
+ */
124
+ disable_stripe_user_authentication?: boolean;
125
+
126
+ /**
127
+ * Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.
118
128
  */
119
129
  external_account_collection?: boolean;
120
130
  }
@@ -134,13 +144,18 @@ declare module 'stripe' {
134
144
 
135
145
  namespace Balances {
136
146
  interface Features {
147
+ /**
148
+ * Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
149
+ */
150
+ disable_stripe_user_authentication?: boolean;
151
+
137
152
  /**
138
153
  * Whether to allow payout schedule to be changed. Default `true` when Stripe owns Loss Liability, default `false` otherwise.
139
154
  */
140
155
  edit_payout_schedule?: boolean;
141
156
 
142
157
  /**
143
- * Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for custom accounts (or accounts where the platform is compliance owner). Otherwise, bank account collection is determined by compliance requirements.
158
+ * Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.
144
159
  */
145
160
  external_account_collection?: boolean;
146
161
 
@@ -187,7 +202,12 @@ declare module 'stripe' {
187
202
  namespace NotificationBanner {
188
203
  interface Features {
189
204
  /**
190
- * Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for custom accounts (or accounts where the platform is compliance owner). Otherwise, bank account collection is determined by compliance requirements.
205
+ * Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
206
+ */
207
+ disable_stripe_user_authentication?: boolean;
208
+
209
+ /**
210
+ * Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.
191
211
  */
192
212
  external_account_collection?: boolean;
193
213
  }
@@ -279,13 +299,18 @@ declare module 'stripe' {
279
299
 
280
300
  namespace Payouts {
281
301
  interface Features {
302
+ /**
303
+ * Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
304
+ */
305
+ disable_stripe_user_authentication?: boolean;
306
+
282
307
  /**
283
308
  * Whether to allow payout schedule to be changed. Default `true` when Stripe owns Loss Liability, default `false` otherwise.
284
309
  */
285
310
  edit_payout_schedule?: boolean;
286
311
 
287
312
  /**
288
- * Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for custom accounts (or accounts where the platform is compliance owner). Otherwise, bank account collection is determined by compliance requirements.
313
+ * Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.
289
314
  */
290
315
  external_account_collection?: boolean;
291
316
 
@@ -40,7 +40,7 @@ declare module 'stripe' {
40
40
  capabilities?: Account.Capabilities;
41
41
 
42
42
  /**
43
- * Whether the account can create live charges.
43
+ * Whether the account can process charges.
44
44
  */
45
45
  charges_enabled: boolean;
46
46
 
@@ -85,6 +85,11 @@ declare module 'stripe' {
85
85
 
86
86
  future_requirements?: Account.FutureRequirements;
87
87
 
88
+ /**
89
+ * The groups associated with the account.
90
+ */
91
+ groups?: Account.Groups | null;
92
+
88
93
  /**
89
94
  * This is an object representing a person associated with a Stripe account.
90
95
  *
@@ -100,7 +105,7 @@ declare module 'stripe' {
100
105
  metadata?: Stripe.Metadata;
101
106
 
102
107
  /**
103
- * Whether Stripe can send payouts to this account.
108
+ * Whether the funds in this account can be paid out.
104
109
  */
105
110
  payouts_enabled: boolean;
106
111
 
@@ -227,6 +232,11 @@ declare module 'stripe' {
227
232
  */
228
233
  afterpay_clearpay_payments?: Capabilities.AfterpayClearpayPayments;
229
234
 
235
+ /**
236
+ * The status of the Alma capability of the account, or whether the account can directly process Alma payments.
237
+ */
238
+ alma_payments?: Capabilities.AlmaPayments;
239
+
230
240
  /**
231
241
  * The status of the AmazonPay capability of the account, or whether the account can directly process AmazonPay payments.
232
242
  */
@@ -327,6 +337,11 @@ declare module 'stripe' {
327
337
  */
328
338
  jp_bank_transfer_payments?: Capabilities.JpBankTransferPayments;
329
339
 
340
+ /**
341
+ * The status of the KakaoPay capability of the account, or whether the account can directly process KakaoPay payments.
342
+ */
343
+ kakao_pay_payments?: Capabilities.KakaoPayPayments;
344
+
330
345
  /**
331
346
  * The status of the Klarna payments capability of the account, or whether the account can directly process Klarna charges.
332
347
  */
@@ -337,6 +352,11 @@ declare module 'stripe' {
337
352
  */
338
353
  konbini_payments?: Capabilities.KonbiniPayments;
339
354
 
355
+ /**
356
+ * The status of the KrCard capability of the account, or whether the account can directly process KrCard payments.
357
+ */
358
+ kr_card_payments?: Capabilities.KrCardPayments;
359
+
340
360
  /**
341
361
  * The status of the legacy payments capability of the account.
342
362
  */
@@ -362,6 +382,11 @@ declare module 'stripe' {
362
382
  */
363
383
  mx_bank_transfer_payments?: Capabilities.MxBankTransferPayments;
364
384
 
385
+ /**
386
+ * The status of the NaverPay capability of the account, or whether the account can directly process NaverPay payments.
387
+ */
388
+ naver_pay_payments?: Capabilities.NaverPayPayments;
389
+
365
390
  /**
366
391
  * The status of the OXXO payments capability of the account, or whether the account can directly process OXXO charges.
367
392
  */
@@ -372,6 +397,11 @@ declare module 'stripe' {
372
397
  */
373
398
  p24_payments?: Capabilities.P24Payments;
374
399
 
400
+ /**
401
+ * The status of the Payco capability of the account, or whether the account can directly process Payco payments.
402
+ */
403
+ payco_payments?: Capabilities.PaycoPayments;
404
+
375
405
  /**
376
406
  * The status of the paynow payments capability of the account, or whether the account can directly process paynow charges.
377
407
  */
@@ -387,6 +417,11 @@ declare module 'stripe' {
387
417
  */
388
418
  revolut_pay_payments?: Capabilities.RevolutPayPayments;
389
419
 
420
+ /**
421
+ * The status of the SamsungPay capability of the account, or whether the account can directly process SamsungPay payments.
422
+ */
423
+ samsung_pay_payments?: Capabilities.SamsungPayPayments;
424
+
390
425
  /**
391
426
  * The status of the SEPA customer_balance payments (EUR currency) capability of the account, or whether the account can directly process SEPA customer_balance charges.
392
427
  */
@@ -455,6 +490,8 @@ declare module 'stripe' {
455
490
 
456
491
  type AfterpayClearpayPayments = 'active' | 'inactive' | 'pending';
457
492
 
493
+ type AlmaPayments = 'active' | 'inactive' | 'pending';
494
+
458
495
  type AmazonPayPayments = 'active' | 'inactive' | 'pending';
459
496
 
460
497
  type AuBecsDebitPayments = 'active' | 'inactive' | 'pending';
@@ -495,10 +532,14 @@ declare module 'stripe' {
495
532
 
496
533
  type JpBankTransferPayments = 'active' | 'inactive' | 'pending';
497
534
 
535
+ type KakaoPayPayments = 'active' | 'inactive' | 'pending';
536
+
498
537
  type KlarnaPayments = 'active' | 'inactive' | 'pending';
499
538
 
500
539
  type KonbiniPayments = 'active' | 'inactive' | 'pending';
501
540
 
541
+ type KrCardPayments = 'active' | 'inactive' | 'pending';
542
+
502
543
  type LegacyPayments = 'active' | 'inactive' | 'pending';
503
544
 
504
545
  type LinkPayments = 'active' | 'inactive' | 'pending';
@@ -509,16 +550,22 @@ declare module 'stripe' {
509
550
 
510
551
  type MxBankTransferPayments = 'active' | 'inactive' | 'pending';
511
552
 
553
+ type NaverPayPayments = 'active' | 'inactive' | 'pending';
554
+
512
555
  type OxxoPayments = 'active' | 'inactive' | 'pending';
513
556
 
514
557
  type P24Payments = 'active' | 'inactive' | 'pending';
515
558
 
559
+ type PaycoPayments = 'active' | 'inactive' | 'pending';
560
+
516
561
  type PaynowPayments = 'active' | 'inactive' | 'pending';
517
562
 
518
563
  type PromptpayPayments = 'active' | 'inactive' | 'pending';
519
564
 
520
565
  type RevolutPayPayments = 'active' | 'inactive' | 'pending';
521
566
 
567
+ type SamsungPayPayments = 'active' | 'inactive' | 'pending';
568
+
522
569
  type SepaBankTransferPayments = 'active' | 'inactive' | 'pending';
523
570
 
524
571
  type SepaDebitPayments = 'active' | 'inactive' | 'pending';
@@ -1012,6 +1059,13 @@ declare module 'stripe' {
1012
1059
  }
1013
1060
  }
1014
1061
 
1062
+ interface Groups {
1063
+ /**
1064
+ * The group the account is in to determine their payments pricing, and null if the account is on customized pricing. [See the Platform pricing tool documentation](https://stripe.com/docs/connect/platform-pricing-tools) for details.
1065
+ */
1066
+ payments_pricing: string | null;
1067
+ }
1068
+
1015
1069
  interface Requirements {
1016
1070
  /**
1017
1071
  * Fields that are due and can be satisfied by providing the corresponding alternative fields instead.