stripe 22.5.0-alpha.1 → 22.5.0-alpha.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.
Files changed (87) hide show
  1. package/CHANGELOG.md +27 -1
  2. package/OPENAPI_VERSION +1 -1
  3. package/VERSION +1 -1
  4. package/cjs/apiVersion.d.ts +1 -0
  5. package/cjs/apiVersion.js +2 -1
  6. package/cjs/apiVersion.js.map +1 -1
  7. package/cjs/resources/Accounts.d.ts +17 -0
  8. package/cjs/resources/Billing/FeedbackOptions.d.ts +32 -0
  9. package/cjs/resources/Billing/FeedbackOptions.js +4 -0
  10. package/cjs/resources/Billing/FeedbackOptions.js.map +1 -0
  11. package/cjs/resources/Billing/index.d.ts +3 -0
  12. package/cjs/resources/Billing/index.js.map +1 -1
  13. package/cjs/resources/BillingPortal/Configurations.d.ts +5 -0
  14. package/cjs/resources/BillingPortal/Configurations.js.map +1 -1
  15. package/cjs/resources/Capital/FinancingSummary.d.ts +1 -1
  16. package/cjs/resources/Charges.d.ts +15 -0
  17. package/cjs/resources/Checkout/Sessions.d.ts +28 -4
  18. package/cjs/resources/ConfirmationTokens.d.ts +8 -1
  19. package/cjs/resources/Coupons.d.ts +1 -1
  20. package/cjs/resources/Customers.d.ts +1 -1
  21. package/cjs/resources/Invoices.d.ts +1 -1
  22. package/cjs/resources/Issuing/Authorizations.d.ts +2 -2
  23. package/cjs/resources/PaymentAttemptRecords.d.ts +15 -0
  24. package/cjs/resources/PaymentIntents.d.ts +41 -7
  25. package/cjs/resources/PaymentLinks.d.ts +3 -3
  26. package/cjs/resources/PaymentMethods.d.ts +7 -3
  27. package/cjs/resources/PaymentRecords.d.ts +11 -0
  28. package/cjs/resources/QuoteLines.d.ts +1 -1
  29. package/cjs/resources/Quotes.d.ts +2 -2
  30. package/cjs/resources/Radar/PaymentEvaluations.d.ts +2 -2
  31. package/cjs/resources/SetupIntents.d.ts +6 -6
  32. package/cjs/resources/SubscriptionSchedules.d.ts +1 -1
  33. package/cjs/resources/Subscriptions.d.ts +6 -1
  34. package/cjs/resources/Subscriptions.js +1 -1
  35. package/cjs/resources/Subscriptions.js.map +1 -1
  36. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +1 -1
  37. package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +84 -0
  38. package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +84 -0
  39. package/cjs/resources/Tokens.d.ts +6 -0
  40. package/cjs/resources/V2/Billing/Contracts.d.ts +27 -27
  41. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +5 -0
  42. package/cjs/resources/V2/Payments/OffSessionPayments.d.ts +4 -0
  43. package/cjs/stripe.cjs.node.d.ts +19 -1
  44. package/cjs/stripe.cjs.node.js.map +1 -1
  45. package/cjs/stripe.core.js +1 -1
  46. package/esm/apiVersion.d.ts +1 -0
  47. package/esm/apiVersion.js +1 -0
  48. package/esm/apiVersion.js.map +1 -1
  49. package/esm/resources/Accounts.d.ts +17 -0
  50. package/esm/resources/Billing/FeedbackOptions.d.ts +32 -0
  51. package/esm/resources/Billing/FeedbackOptions.js +3 -0
  52. package/esm/resources/Billing/FeedbackOptions.js.map +1 -0
  53. package/esm/resources/Billing/index.d.ts +3 -0
  54. package/esm/resources/Billing/index.js.map +1 -1
  55. package/esm/resources/BillingPortal/Configurations.d.ts +5 -0
  56. package/esm/resources/BillingPortal/Configurations.js.map +1 -1
  57. package/esm/resources/Capital/FinancingSummary.d.ts +1 -1
  58. package/esm/resources/Charges.d.ts +15 -0
  59. package/esm/resources/Checkout/Sessions.d.ts +28 -4
  60. package/esm/resources/ConfirmationTokens.d.ts +8 -1
  61. package/esm/resources/Coupons.d.ts +1 -1
  62. package/esm/resources/Customers.d.ts +1 -1
  63. package/esm/resources/Invoices.d.ts +1 -1
  64. package/esm/resources/Issuing/Authorizations.d.ts +2 -2
  65. package/esm/resources/PaymentAttemptRecords.d.ts +15 -0
  66. package/esm/resources/PaymentIntents.d.ts +41 -7
  67. package/esm/resources/PaymentLinks.d.ts +3 -3
  68. package/esm/resources/PaymentMethods.d.ts +7 -3
  69. package/esm/resources/PaymentRecords.d.ts +11 -0
  70. package/esm/resources/QuoteLines.d.ts +1 -1
  71. package/esm/resources/Quotes.d.ts +2 -2
  72. package/esm/resources/Radar/PaymentEvaluations.d.ts +2 -2
  73. package/esm/resources/SetupIntents.d.ts +6 -6
  74. package/esm/resources/SubscriptionSchedules.d.ts +1 -1
  75. package/esm/resources/Subscriptions.d.ts +6 -1
  76. package/esm/resources/Subscriptions.js +1 -1
  77. package/esm/resources/Subscriptions.js.map +1 -1
  78. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +1 -1
  79. package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +84 -0
  80. package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +84 -0
  81. package/esm/resources/Tokens.d.ts +6 -0
  82. package/esm/resources/V2/Billing/Contracts.d.ts +27 -27
  83. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +5 -0
  84. package/esm/resources/V2/Payments/OffSessionPayments.d.ts +4 -0
  85. package/esm/stripe.core.js +1 -1
  86. package/esm/stripe.esm.node.js +1 -1
  87. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,31 @@
1
1
  # Changelog
2
2
 
3
+ ## 22.5.0-alpha.2 - 2026-08-05
4
+ * [#2797](https://github.com/stripe/stripe-node/pull/2797) Update generated code for private-preview
5
+ * Add support for new resource `Billing.FeedbackOptions`
6
+ * Add support for `sequra_payments` on `Account.capabilities`
7
+ * Add support for `feedback_options` on `BillingPortal.Configuration.features.subscription_cancel.cancellation_reason`
8
+ * Add support for `sequra` on `Charge.payment_method_details`, `Checkout.Session.payment_method_options`, `ConfirmationToken.payment_method_preview`, `PaymentAttemptRecord.payment_method_details`, `PaymentIntent.payment_method_options`, and `PaymentRecord.payment_method_details`
9
+ * Add support for `retrieval_reference_number` on `Charge.payment_method_details.card_present`, `ConfirmationToken.payment_method_preview.card.generated_from.payment_method_details.card_present`, `PaymentAttemptRecord.payment_method_details.card_present`, `PaymentMethod.card.generated_from.payment_method_details.card_present`, and `PaymentRecord.payment_method_details.card_present`
10
+ * Add support for `pricing_group` on `Charge.payment_method_details.link`
11
+ * Add support for `tax_rates` on `Checkout.Session.shipping_options[]`, `Checkout.SessionCreateParams.shipping_options[]`, and `Checkout.SessionUpdateParams.shipping_options[]`
12
+ * ⚠️ Add support for new value `daikin` on enums `Checkout.Session.automatic_surcharge.provider` and `PaymentLink.automatic_surcharge.provider`
13
+ * Add support for `funding_types_blocked` on `Checkout.Session.payment_method_options.card.restrictions`
14
+ * Add support for new value `sequra` 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`
15
+ * Add support for new value `sequra` on enums `ConfirmationToken.payment_method_preview.type` and `PaymentMethod.type`
16
+ * Add support for new value `sequra` on enums `CustomerListPaymentMethodsParams.type`, `PaymentMethodCreateParams.type`, and `PaymentMethodListParams.type`
17
+ * Add support for `healthcare` on `Issuing.AuthorizationCaptureParams.testHelpers.purchase_details`, `Issuing.AuthorizationCreateParams.testHelpers`, `Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details`, and `Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details`
18
+ * Change type of `Issuing.Authorization.healthcare.verification_status` from `enum('iias_merchant_exempt'|'iias_merchant_not_certified'|'iias_verified'|'not_verified') | null` to `enum('iias_merchant_exempt'|'iias_merchant_not_certified'|'iias_verified'|'not_verified')`
19
+ * Add support for `is_anomalous` on `PaymentAttemptRecordReportGuaranteedParams`
20
+ * Add support for new value `sequra` on enums `PaymentIntent.excluded_payment_method_types`, `PaymentIntentConfirmParams.excluded_payment_method_types`, `PaymentIntentCreateParams.excluded_payment_method_types`, `PaymentIntentUpdateParams.excluded_payment_method_types`, `SetupIntent.excluded_payment_method_types`, `SetupIntentCreateParams.excluded_payment_method_types`, and `SetupIntentUpdateParams.excluded_payment_method_types`
21
+ * Add support for `aade_data` on `PaymentIntent.payment_method_options.card_present`
22
+ * Change `Radar.PaymentEvaluation.payment_details.payment_method_details.card.first6` to be required
23
+ * Change `Radar.PaymentEvaluation.payment_details.payment_method_details.card.last4` to be required
24
+ * Add support for `feedback_option` on `Subscription.cancellation_details`
25
+ * Add support for `application` on `V2.Payments.OffSessionPayment`
26
+ * Add support for `status` on `V2.MoneyManagement.FinancialAccountStatementListParams`
27
+ * Change `V2.Billing.ContractCreateParams.pricing_lines` to be optional
28
+
3
29
  ## 22.5.0-alpha.1 - 2026-07-29
4
30
  This release changes the pinned API version to 2026-07-29.preview.
5
31
 
@@ -101,7 +127,7 @@ This release changes the pinned API version to 2026-07-29.dahlia.
101
127
  * Add support for snapshot events `FinancialConnectionsAccountExpectedDeactivationDateUpdatedEvent`, `FinancialConnectionsAccountSupportedPaymentMethodTypesUpdatedEvent`, and `FinancialConnectionsAccountUpcomingDeactivationEvent` with resource `FinancialConnections.Account`
102
128
  * Add support for snapshot events `FinancialConnectionsAuthorizationExpectedDeactivationDateUpdatedEvent` and `FinancialConnectionsAuthorizationUpcomingDeactivationEvent` with resource `FinancialConnections.Authorization`
103
129
  * [#2790](https://github.com/stripe/stripe-node/pull/2790) Bump brace-expansion from 1.1.11 to 1.1.16
104
- * [#2786](https://github.com/stripe/stripe-node/pull/2786) Adds shared OtherString type to better annotate non-exhaustive enums
130
+ * [#2786](https://github.com/stripe/stripe-node/pull/2786) Enum type annotations for non-exhaustive ("open") enums now include a shared `OtherString` type in their unions. Many Stripe enums are open, meaning new values may appear even on older API versions. This change ensures these fields have the correct type for both the values known at SDK release time and other values that may be added later. Refer to the [API Reference](https://docs.stripe.com) for the latest set of allowed values.
105
131
 
106
132
  ## 22.4.0-alpha.5 - 2026-07-22
107
133
  * [#2791](https://github.com/stripe/stripe-node/pull/2791) Update generated code for private-preview
package/OPENAPI_VERSION CHANGED
@@ -1 +1 @@
1
- v2350
1
+ v2369
package/VERSION CHANGED
@@ -1 +1 @@
1
- 22.5.0-alpha.1
1
+ 22.5.0-alpha.2
@@ -1 +1,2 @@
1
1
  export declare const ApiVersion = "2026-07-29.preview";
2
+ export declare const ApiMajorVersion = "";
package/cjs/apiVersion.js CHANGED
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  // File generated from our OpenAPI spec
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.ApiVersion = void 0;
4
+ exports.ApiMajorVersion = exports.ApiVersion = void 0;
5
5
  exports.ApiVersion = '2026-07-29.preview';
6
+ exports.ApiMajorVersion = '';
6
7
  //# sourceMappingURL=apiVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"apiVersion.js","sourceRoot":"","sources":["../src/apiVersion.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAE1B,QAAA,UAAU,GAAG,oBAAoB,CAAC"}
1
+ {"version":3,"file":"apiVersion.js","sourceRoot":"","sources":["../src/apiVersion.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAE1B,QAAA,UAAU,GAAG,oBAAoB,CAAC;AAClC,QAAA,eAAe,GAAG,EAAE,CAAC"}
@@ -558,6 +558,10 @@ export declare namespace Account {
558
558
  * The status of the SEPA Direct Debits payments capability of the account, or whether the account can directly process SEPA Direct Debits charges.
559
559
  */
560
560
  sepa_debit_payments?: Capabilities.SepaDebitPayments;
561
+ /**
562
+ * The status of the Sequra capability of the account, or whether the account can directly process Sequra payments.
563
+ */
564
+ sequra_payments?: Capabilities.SequraPayments;
561
565
  /**
562
566
  * The status of the ShopeePay capability of the account, or whether the account can directly process ShopeePay payments.
563
567
  */
@@ -939,6 +943,7 @@ export declare namespace Account {
939
943
  type ScalapayPayments = 'active' | 'inactive' | 'pending';
940
944
  type SepaBankTransferPayments = 'active' | 'inactive' | 'pending';
941
945
  type SepaDebitPayments = 'active' | 'inactive' | 'pending';
946
+ type SequraPayments = 'active' | 'inactive' | 'pending';
942
947
  type ShopeepayPayments = 'active' | 'inactive' | 'pending';
943
948
  type SofortPayments = 'active' | 'inactive' | 'pending';
944
949
  type StripeBalancePayments = 'active' | 'inactive' | 'pending';
@@ -1975,6 +1980,9 @@ export declare namespace AccountCreateParams {
1975
1980
  * The Kanji variation of the company's primary address (Japan only).
1976
1981
  */
1977
1982
  address_kanji?: JapanAddressParam;
1983
+ /**
1984
+ * The location where the business is administered.
1985
+ */
1978
1986
  administrative_address?: AddressParam;
1979
1987
  /**
1980
1988
  * Whether the company's directors have been provided. Set this Boolean to `true` after creating all the company's directors with [the Persons API](https://docs.stripe.com/api/persons) for accounts with a `relationship.director` requirement. This value is not automatically set to `true` after creating directors, so it needs to be updated to indicate all directors have been provided.
@@ -2024,6 +2032,9 @@ export declare namespace AccountCreateParams {
2024
2032
  * The company's phone number (used for verification).
2025
2033
  */
2026
2034
  phone?: string;
2035
+ /**
2036
+ * The primary location where the business conducts operations.
2037
+ */
2027
2038
  principal_place_of_business?: AddressParam;
2028
2039
  /**
2029
2040
  * When the business was incorporated or registered.
@@ -3911,6 +3922,9 @@ export declare namespace AccountUpdateParams {
3911
3922
  * The Kanji variation of the company's primary address (Japan only).
3912
3923
  */
3913
3924
  address_kanji?: JapanAddressParam;
3925
+ /**
3926
+ * The location where the business is administered.
3927
+ */
3914
3928
  administrative_address?: AddressParam;
3915
3929
  /**
3916
3930
  * Whether the company's directors have been provided. Set this Boolean to `true` after creating all the company's directors with [the Persons API](https://docs.stripe.com/api/persons) for accounts with a `relationship.director` requirement. This value is not automatically set to `true` after creating directors, so it needs to be updated to indicate all directors have been provided.
@@ -3960,6 +3974,9 @@ export declare namespace AccountUpdateParams {
3960
3974
  * The company's phone number (used for verification).
3961
3975
  */
3962
3976
  phone?: string;
3977
+ /**
3978
+ * The primary location where the business conducts operations.
3979
+ */
3963
3980
  principal_place_of_business?: AddressParam;
3964
3981
  registration_date?: Emptyable<Company.RegistrationDate>;
3965
3982
  /**
@@ -0,0 +1,32 @@
1
+ export interface FeedbackOptions {
2
+ /**
3
+ * Unique identifier for the object.
4
+ */
5
+ id: string;
6
+ /**
7
+ * String representing the object's type. Objects of the same type share the same value.
8
+ */
9
+ object: 'billing.feedback_options';
10
+ /**
11
+ * An arbitrary string attached to the object. Often useful for displaying to users.
12
+ */
13
+ description: string;
14
+ /**
15
+ * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
16
+ */
17
+ livemode: boolean;
18
+ /**
19
+ * The feedback option's status.
20
+ */
21
+ status: FeedbackOptions.Status;
22
+ status_transitions: FeedbackOptions.StatusTransitions;
23
+ }
24
+ export declare namespace FeedbackOptions {
25
+ type Status = 'active' | 'inactive';
26
+ interface StatusTransitions {
27
+ /**
28
+ * The time the feedback option was deactivated, if any. Measured in seconds since Unix epoch.
29
+ */
30
+ deactivated_at: number | null;
31
+ }
32
+ }
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=FeedbackOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FeedbackOptions.js","sourceRoot":"","sources":["../../../src/resources/Billing/FeedbackOptions.ts"],"names":[],"mappings":";AAAA,uCAAuC"}
@@ -8,6 +8,7 @@ import { Billing as BillingNamespace5, MeterEvent, MeterEventResource } from './
8
8
  import { Billing as BillingNamespace6, MeterEventAdjustment, MeterEventAdjustmentResource } from './MeterEventAdjustments.js';
9
9
  import { AlertRecovered } from './AlertRecovereds.js';
10
10
  import { AlertTriggered } from './AlertTriggereds.js';
11
+ import { FeedbackOptions } from './FeedbackOptions.js';
11
12
  import { AlertNotification } from './AlertNotifications.js';
12
13
  import { MeterEventSummary } from './MeterEventSummaries.js';
13
14
  import { Analytics } from './Analytics/index.js';
@@ -20,6 +21,7 @@ export { MeterEvent } from './MeterEvents.js';
20
21
  export { MeterEventAdjustment } from './MeterEventAdjustments.js';
21
22
  export { AlertRecovered } from './AlertRecovereds.js';
22
23
  export { AlertTriggered } from './AlertTriggereds.js';
24
+ export { FeedbackOptions } from './FeedbackOptions.js';
23
25
  export { AlertNotification } from './AlertNotifications.js';
24
26
  export { MeterEventSummary } from './MeterEventSummaries.js';
25
27
  export declare class Billing {
@@ -69,6 +71,7 @@ export declare namespace Billing {
69
71
  export { MeterEventAdjustment, MeterEventAdjustmentResource };
70
72
  export { AlertRecovered };
71
73
  export { AlertTriggered };
74
+ export { FeedbackOptions };
72
75
  export { AlertNotification };
73
76
  export { MeterEventSummary };
74
77
  export { Analytics };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/Billing/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAGvC,2CAA+E;AAC/E,uEAImC;AACnC,iFAIwC;AACxC,uDAI2B;AAC3B,2CAA+E;AAC/E,qDAI0B;AAC1B,yEAIoC;AAKpC,mDAA+C;AAc/C,MAAa,OAAO;IAUlB,YAA6B,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;QACzC,IAAI,CAAC,MAAM,GAAG,IAAI,yBAAa,CAAC,MAAM,CAAC,CAAC;QACxC,IAAI,CAAC,sBAAsB,GAAG,IAAI,sDAA4B,CAAC,MAAM,CAAC,CAAC;QACvE,IAAI,CAAC,yBAAyB,GAAG,IAAI,+DAAgC,CACnE,MAAM,CACP,CAAC;QACF,IAAI,CAAC,YAAY,GAAG,IAAI,qCAAmB,CAAC,MAAM,CAAC,CAAC;QACpD,IAAI,CAAC,MAAM,GAAG,IAAI,yBAAa,CAAC,MAAM,CAAC,CAAC;QACxC,IAAI,CAAC,WAAW,GAAG,IAAI,mCAAkB,CAAC,MAAM,CAAC,CAAC;QAClD,IAAI,CAAC,qBAAqB,GAAG,IAAI,uDAA4B,CAAC,MAAM,CAAC,CAAC;QACtE,IAAI,CAAC,SAAS,GAAG,IAAI,oBAAS,CAAC,MAAM,CAAC,CAAC;IACzC,CAAC;CACF;AAtBD,0BAsBC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/Billing/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAGvC,2CAA+E;AAC/E,uEAImC;AACnC,iFAIwC;AACxC,uDAI2B;AAC3B,2CAA+E;AAC/E,qDAI0B;AAC1B,yEAIoC;AAMpC,mDAA+C;AAe/C,MAAa,OAAO;IAUlB,YAA6B,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;QACzC,IAAI,CAAC,MAAM,GAAG,IAAI,yBAAa,CAAC,MAAM,CAAC,CAAC;QACxC,IAAI,CAAC,sBAAsB,GAAG,IAAI,sDAA4B,CAAC,MAAM,CAAC,CAAC;QACvE,IAAI,CAAC,yBAAyB,GAAG,IAAI,+DAAgC,CACnE,MAAM,CACP,CAAC;QACF,IAAI,CAAC,YAAY,GAAG,IAAI,qCAAmB,CAAC,MAAM,CAAC,CAAC;QACpD,IAAI,CAAC,MAAM,GAAG,IAAI,yBAAa,CAAC,MAAM,CAAC,CAAC;QACxC,IAAI,CAAC,WAAW,GAAG,IAAI,mCAAkB,CAAC,MAAM,CAAC,CAAC;QAClD,IAAI,CAAC,qBAAqB,GAAG,IAAI,uDAA4B,CAAC,MAAM,CAAC,CAAC;QACtE,IAAI,CAAC,SAAS,GAAG,IAAI,oBAAS,CAAC,MAAM,CAAC,CAAC;IACzC,CAAC;CACF;AAtBD,0BAsBC"}
@@ -1,5 +1,6 @@
1
1
  import { StripeResource } from '../../StripeResource.js';
2
2
  import { Application, DeletedApplication } from './../Applications.js';
3
+ import * as Billing from './../Billing/index.js';
3
4
  import { Emptyable, MetadataParam, OtherString, PaginationParams, Metadata } from '../../shared.js';
4
5
  import { RequestOptions, ApiListPromise, Response } from '../../lib.js';
5
6
  export declare class ConfigurationResource extends StripeResource {
@@ -181,6 +182,10 @@ export declare namespace Configuration {
181
182
  * Whether the feature is enabled.
182
183
  */
183
184
  enabled: boolean;
185
+ /**
186
+ * The IDs of custom feedback options configured for this cancellation reason.
187
+ */
188
+ feedback_options?: Array<string | Billing.FeedbackOptions> | null;
184
189
  /**
185
190
  * Which cancellation reasons will be given as options to the customer.
186
191
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Configurations.js","sourceRoot":"","sources":["../../../src/resources/BillingPortal/Configurations.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,+DAAuD;AAWvD,MAAa,qBAAsB,SAAQ,kCAAc;IACvD;;OAEG;IACH,IAAI,CACF,MAA8C,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,mCAAmC,EACnC,MAAM,EACN,OAAO,EACP;YACE,UAAU,EAAE,MAAM;SACnB,CACK,CAAC;IACX,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,MAA+C,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,mCAAmC,EACnC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAkD,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,qCAAqC,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAC7D,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,EAAU,EACV,MAAgD,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,qCAAqC,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAC7D,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF;AA9DD,sDA8DC"}
1
+ {"version":3,"file":"Configurations.js","sourceRoot":"","sources":["../../../src/resources/BillingPortal/Configurations.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,+DAAuD;AAYvD,MAAa,qBAAsB,SAAQ,kCAAc;IACvD;;OAEG;IACH,IAAI,CACF,MAA8C,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,mCAAmC,EACnC,MAAM,EACN,OAAO,EACP;YACE,UAAU,EAAE,MAAM;SACnB,CACK,CAAC;IACX,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,MAA+C,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,mCAAmC,EACnC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAkD,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,qCAAqC,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAC7D,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,EAAU,EACV,MAAgD,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,qCAAqC,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAC7D,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF;AA9DD,sDA8DC"}
@@ -17,7 +17,7 @@ export interface FinancingSummary {
17
17
  * fee amount, withhold rate, remaining amount, paid amount, current repayment interval,
18
18
  * repayment start date, and advance payout date.
19
19
  *
20
- * Only present for financing offers with the `paid_out` status.
20
+ * Only present for financing offers with a `status` other than `none`.
21
21
  */
22
22
  details: FinancingSummary.Details | null;
23
23
  /**
@@ -385,6 +385,7 @@ export declare namespace Charge {
385
385
  scalapay?: PaymentMethodDetails.Scalapay;
386
386
  sepa_credit_transfer?: PaymentMethodDetails.SepaCreditTransfer;
387
387
  sepa_debit?: PaymentMethodDetails.SepaDebit;
388
+ sequra?: PaymentMethodDetails.Sequra;
388
389
  shopeepay?: PaymentMethodDetails.Shopeepay;
389
390
  sofort?: PaymentMethodDetails.Sofort;
390
391
  stripe_account?: PaymentMethodDetails.StripeAccount;
@@ -961,6 +962,10 @@ export declare namespace Charge {
961
962
  * A collection of fields required to be displayed on receipts. Only required for EMV transactions.
962
963
  */
963
964
  receipt: CardPresent.Receipt | null;
965
+ /**
966
+ * The retrieval reference number assigned to this transaction.
967
+ */
968
+ retrieval_reference_number?: string;
964
969
  wallet?: CardPresent.Wallet;
965
970
  }
966
971
  interface Cashapp {
@@ -1299,6 +1304,10 @@ export declare namespace Charge {
1299
1304
  * You could use this attribute to get a sense of international fees.
1300
1305
  */
1301
1306
  country: string | null;
1307
+ /**
1308
+ * The pricing bundle applied to this Link payment at confirmation time. Maps to a bundle in your Stripe pricing contract and on Stripe's published pricing page. Omitted if bundle lookup failed at confirmation time.
1309
+ */
1310
+ pricing_group?: string;
1302
1311
  }
1303
1312
  interface MbWay {
1304
1313
  }
@@ -1577,6 +1586,12 @@ export declare namespace Charge {
1577
1586
  */
1578
1587
  mandate: string | null;
1579
1588
  }
1589
+ interface Sequra {
1590
+ /**
1591
+ * The Sequra transaction ID associated with this payment.
1592
+ */
1593
+ transaction_id: string | null;
1594
+ }
1580
1595
  interface Shopeepay {
1581
1596
  }
1582
1597
  interface Sofort {
@@ -719,6 +719,7 @@ export declare namespace Session {
719
719
  satispay?: PaymentMethodOptions.Satispay;
720
720
  scalapay?: PaymentMethodOptions.Scalapay;
721
721
  sepa_debit?: PaymentMethodOptions.SepaDebit;
722
+ sequra?: PaymentMethodOptions.Sequra;
722
723
  sofort?: PaymentMethodOptions.Sofort;
723
724
  sunbit?: PaymentMethodOptions.Sunbit;
724
725
  swish?: PaymentMethodOptions.Swish;
@@ -825,6 +826,10 @@ export declare namespace Session {
825
826
  * The shipping rate.
826
827
  */
827
828
  shipping_rate: string | ShippingRate;
829
+ /**
830
+ * The tax rates applied to this shipping option.
831
+ */
832
+ tax_rates?: Array<string>;
828
833
  }
829
834
  type Status = 'complete' | 'expired' | 'open';
830
835
  type SubmitType = 'auto' | 'book' | 'donate' | 'pay' | 'subscribe' | OtherString;
@@ -899,7 +904,7 @@ export declare namespace Session {
899
904
  }
900
905
  namespace AutomaticSurcharge {
901
906
  type CalculationBasis = 'total_after_tax' | 'total_before_tax';
902
- type Provider = 'interpayments' | 'proserv' | 'yeeld';
907
+ type Provider = 'daikin' | 'interpayments' | 'proserv' | 'yeeld';
903
908
  type Status = 'complete' | 'failed' | 'requires_input';
904
909
  type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
905
910
  }
@@ -2072,6 +2077,12 @@ export declare namespace Session {
2072
2077
  */
2073
2078
  target_date?: string;
2074
2079
  }
2080
+ interface Sequra {
2081
+ /**
2082
+ * Controls when the funds will be captured from the customer's account.
2083
+ */
2084
+ capture_method?: 'manual';
2085
+ }
2075
2086
  interface Sofort {
2076
2087
  /**
2077
2088
  * Indicates that you intend to make future payments with this PaymentIntent's payment method.
@@ -2241,10 +2252,15 @@ export declare namespace Session {
2241
2252
  * The card brands to block. If a customer enters or selects a card belonging to a blocked brand, they can't complete the payment.
2242
2253
  */
2243
2254
  brands_blocked?: Array<Restrictions.BrandsBlocked>;
2255
+ /**
2256
+ * Card funding types to block for this Checkout Session. Supported values are `credit`, `debit`, and `prepaid`.
2257
+ */
2258
+ funding_types_blocked?: Array<Restrictions.FundingTypesBlocked>;
2244
2259
  }
2245
2260
  type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
2246
2261
  namespace Restrictions {
2247
2262
  type BrandsBlocked = 'american_express' | 'discover_global_network' | 'mastercard' | 'visa';
2263
+ type FundingTypesBlocked = 'credit' | 'debit' | 'prepaid';
2248
2264
  }
2249
2265
  }
2250
2266
  namespace CustomerBalance {
@@ -3521,6 +3537,10 @@ export declare namespace Checkout {
3521
3537
  * Parameters to be passed to Shipping Rate creation for this shipping option.
3522
3538
  */
3523
3539
  shipping_rate_data?: ShippingOption.ShippingRateData;
3540
+ /**
3541
+ * The tax rates that will be applied to this shipping option. This parameter is only supported for Checkout Sessions with `ui_mode` set to `form` or `elements`.
3542
+ */
3543
+ tax_rates?: Array<string>;
3524
3544
  }
3525
3545
  type SubmitType = 'auto' | 'book' | 'donate' | 'pay' | 'subscribe' | OtherString;
3526
3546
  interface SubscriptionData {
@@ -3727,7 +3747,7 @@ export declare namespace Checkout {
3727
3747
  namespace CustomField {
3728
3748
  interface Dropdown {
3729
3749
  /**
3730
- * The value that pre-fills the field on the payment page.Must match a `value` in the `options` array.
3750
+ * The value that pre-fills the field on the payment page. Must match a `value` in the `options` array.
3731
3751
  */
3732
3752
  default_value?: string;
3733
3753
  /**
@@ -3992,11 +4012,11 @@ export declare namespace Checkout {
3992
4012
  }
3993
4013
  interface Item {
3994
4014
  /**
3995
- * The ID of the price for this subscription item.
4015
+ * The ID of the [Price](https://docs.stripe.com/api/prices). One of `price` or `price_data` is required.
3996
4016
  */
3997
4017
  price?: string;
3998
4018
  /**
3999
- * Data used to generate a new Price object inline.
4019
+ * Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline. One of `price` or `price_data` is required.
4000
4020
  */
4001
4021
  price_data?: Item.PriceData;
4002
4022
  /**
@@ -5812,6 +5832,10 @@ export declare namespace Checkout {
5812
5832
  * Parameters to be passed to Shipping Rate creation for this shipping option.
5813
5833
  */
5814
5834
  shipping_rate_data?: ShippingOption.ShippingRateData;
5835
+ /**
5836
+ * The tax rates that will be applied to this shipping option. This parameter is only supported for Checkout Sessions with `ui_mode` set to `form` or `elements`.
5837
+ */
5838
+ tax_rates?: Emptyable<Array<string>>;
5815
5839
  }
5816
5840
  interface SubscriptionData {
5817
5841
  /**
@@ -149,6 +149,7 @@ export declare namespace ConfirmationToken {
149
149
  satispay?: PaymentMethodPreview.Satispay;
150
150
  scalapay?: PaymentMethodPreview.Scalapay;
151
151
  sepa_debit?: PaymentMethodPreview.SepaDebit;
152
+ sequra?: PaymentMethodPreview.Sequra;
152
153
  shopeepay?: PaymentMethodPreview.Shopeepay;
153
154
  sofort?: PaymentMethodPreview.Sofort;
154
155
  stripe_balance?: PaymentMethodPreview.StripeBalance;
@@ -799,6 +800,8 @@ export declare namespace ConfirmationToken {
799
800
  */
800
801
  last4: string | null;
801
802
  }
803
+ interface Sequra {
804
+ }
802
805
  interface Shopeepay {
803
806
  }
804
807
  interface Sofort {
@@ -821,7 +824,7 @@ export declare namespace ConfirmationToken {
821
824
  }
822
825
  interface Twint {
823
826
  }
824
- type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'card_present' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'interac_present' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'twint' | 'upi' | 'us_bank_account' | 'vipps' | 'wechat_pay' | 'zip' | OtherString;
827
+ type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'card_present' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'interac_present' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'twint' | 'upi' | 'us_bank_account' | 'vipps' | 'wechat_pay' | 'zip' | OtherString;
825
828
  interface Upi {
826
829
  /**
827
830
  * Customer's unique Virtual Payment Address
@@ -1074,6 +1077,10 @@ export declare namespace ConfirmationToken {
1074
1077
  * A collection of fields required to be displayed on receipts. Only required for EMV transactions.
1075
1078
  */
1076
1079
  receipt: CardPresent.Receipt | null;
1080
+ /**
1081
+ * The retrieval reference number assigned to this transaction.
1082
+ */
1083
+ retrieval_reference_number?: string;
1077
1084
  wallet?: CardPresent.Wallet;
1078
1085
  }
1079
1086
  namespace CardPresent {
@@ -111,7 +111,7 @@ export interface Coupon {
111
111
  */
112
112
  times_redeemed: number;
113
113
  /**
114
- * One of `amount_off`, `percent_off`, or `script`. Describes the type of coupon logic used to calculate the discount.
114
+ * The type of coupon logic used to calculate the discount.
115
115
  */
116
116
  type?: Coupon.Type | null;
117
117
  /**
@@ -989,7 +989,7 @@ export interface CustomerListPaymentMethodsParams extends PaginationParams {
989
989
  }
990
990
  export declare namespace CustomerListPaymentMethodsParams {
991
991
  type AllowRedisplay = 'always' | 'limited' | 'unspecified' | OtherString;
992
- type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'twint' | 'upi' | 'us_bank_account' | 'vipps' | 'wechat_pay' | 'zip' | OtherString;
992
+ type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'twint' | 'upi' | 'us_bank_account' | 'vipps' | 'wechat_pay' | 'zip' | OtherString;
993
993
  }
994
994
  export interface CustomerListSourcesParams extends PaginationParams {
995
995
  /**
@@ -3764,7 +3764,7 @@ export declare namespace InvoiceCreatePreviewParams {
3764
3764
  */
3765
3765
  amendment_start: Amendment.AmendmentStart;
3766
3766
  /**
3767
- * For point-in-time amendments (having no `amendment_end`), this attribute lets you set or remove whether the subscription's billing cycle anchor is reset at the `amendment_start` timestamp.For time-span based amendments (having both `amendment_start` and `amendment_end`), the only value valid is `automatic`, which removes any previously configured billing cycle anchor resets scheduled to occur during the window of time spanned by the amendment.
3767
+ * For point-in-time amendments (having no `amendment_end`), this attribute lets you set or remove whether the subscription's billing cycle anchor is reset at the `amendment_start` timestamp. For time-span based amendments (having both `amendment_start` and `amendment_end`), the only value valid is `automatic`, which removes any previously configured billing cycle anchor resets scheduled to occur during the window of time spanned by the amendment.
3768
3768
  */
3769
3769
  billing_cycle_anchor?: Amendment.BillingCycleAnchor;
3770
3770
  /**
@@ -309,9 +309,9 @@ export declare namespace Authorization {
309
309
  */
310
310
  total_qualified_amount?: number;
311
311
  /**
312
- * IIAS verification status from the merchant terminal. For Visa, this value will always be iias_verified.
312
+ * IIAS verification status from the merchant terminal. For Visa, this value will always be iias_verified. Defaults to not_verified when the network does not provide IIAS status.
313
313
  */
314
- verification_status?: Healthcare.VerificationStatus | null;
314
+ verification_status?: Healthcare.VerificationStatus;
315
315
  /**
316
316
  * Vision/optical sub-amount. Null if the merchant did not include this amount.
317
317
  */
@@ -296,6 +296,7 @@ export declare namespace PaymentAttemptRecord {
296
296
  scalapay?: PaymentMethodDetails.Scalapay;
297
297
  sepa_credit_transfer?: PaymentMethodDetails.SepaCreditTransfer;
298
298
  sepa_debit?: PaymentMethodDetails.SepaDebit;
299
+ sequra?: PaymentMethodDetails.Sequra;
299
300
  shopeepay?: PaymentMethodDetails.Shopeepay;
300
301
  sofort?: PaymentMethodDetails.Sofort;
301
302
  stripe_account?: PaymentMethodDetails.StripeAccount;
@@ -814,6 +815,10 @@ export declare namespace PaymentAttemptRecord {
814
815
  * A collection of fields required to be displayed on receipts. Only required for EMV transactions.
815
816
  */
816
817
  receipt: CardPresent.Receipt | null;
818
+ /**
819
+ * The retrieval reference number assigned to this transaction.
820
+ */
821
+ retrieval_reference_number?: string;
817
822
  wallet?: CardPresent.Wallet;
818
823
  }
819
824
  interface Cashapp {
@@ -1429,6 +1434,12 @@ export declare namespace PaymentAttemptRecord {
1429
1434
  */
1430
1435
  mandate: string | null;
1431
1436
  }
1437
+ interface Sequra {
1438
+ /**
1439
+ * The Sequra transaction ID associated with this payment.
1440
+ */
1441
+ transaction_id: string | null;
1442
+ }
1432
1443
  interface Shopeepay {
1433
1444
  }
1434
1445
  interface Sofort {
@@ -2273,6 +2284,10 @@ export interface PaymentAttemptRecordReportGuaranteedParams {
2273
2284
  * When the reported payment was guaranteed. Measured in seconds since the Unix epoch.
2274
2285
  */
2275
2286
  guaranteed_at?: number;
2287
+ /**
2288
+ * Set to `true` to enable writing an anomalous guaranteed payment to an outdated PaymentAttemptRecord. This parameter defaults to `false`.
2289
+ */
2290
+ is_anomalous?: boolean;
2276
2291
  /**
2277
2292
  * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
2278
2293
  */