stripe 22.7.0-alpha.2 → 22.7.0-alpha.3

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 (45) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/OPENAPI_VERSION +1 -1
  3. package/VERSION +1 -1
  4. package/cjs/resources/Charges.d.ts +1 -1
  5. package/cjs/resources/Checkout/Sessions.d.ts +9 -1
  6. package/cjs/resources/Customers.d.ts +2 -2
  7. package/cjs/resources/Identity/VerificationReports.d.ts +101 -0
  8. package/cjs/resources/Issuing/Authorizations.d.ts +4 -0
  9. package/cjs/resources/PaymentAttemptRecords.d.ts +1 -1
  10. package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +4 -0
  11. package/cjs/resources/PaymentIntents.d.ts +26 -2
  12. package/cjs/resources/PaymentIntents.js +1 -1
  13. package/cjs/resources/PaymentRecords.d.ts +1 -1
  14. package/cjs/resources/ProductCatalog/TrialOffers.d.ts +4 -0
  15. package/cjs/resources/SetupAttempts.d.ts +1 -1
  16. package/cjs/resources/Subscriptions.d.ts +1 -1
  17. package/cjs/resources/Tax/CalculationLineItems.d.ts +4 -0
  18. package/cjs/resources/Tax/Calculations.d.ts +4 -0
  19. package/cjs/resources/Tax/Transactions.d.ts +4 -0
  20. package/cjs/resources/Treasury/FinancialAccounts.d.ts +1 -1
  21. package/cjs/resources/V2/Core/Accounts.d.ts +2 -2
  22. package/cjs/stripe.cjs.node.d.ts +30 -0
  23. package/cjs/stripe.cjs.node.js.map +1 -1
  24. package/cjs/stripe.core.js +1 -1
  25. package/esm/resources/Charges.d.ts +1 -1
  26. package/esm/resources/Checkout/Sessions.d.ts +9 -1
  27. package/esm/resources/Customers.d.ts +2 -2
  28. package/esm/resources/Identity/VerificationReports.d.ts +101 -0
  29. package/esm/resources/Issuing/Authorizations.d.ts +4 -0
  30. package/esm/resources/PaymentAttemptRecords.d.ts +1 -1
  31. package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +4 -0
  32. package/esm/resources/PaymentIntents.d.ts +26 -2
  33. package/esm/resources/PaymentIntents.js +1 -1
  34. package/esm/resources/PaymentRecords.d.ts +1 -1
  35. package/esm/resources/ProductCatalog/TrialOffers.d.ts +4 -0
  36. package/esm/resources/SetupAttempts.d.ts +1 -1
  37. package/esm/resources/Subscriptions.d.ts +1 -1
  38. package/esm/resources/Tax/CalculationLineItems.d.ts +4 -0
  39. package/esm/resources/Tax/Calculations.d.ts +4 -0
  40. package/esm/resources/Tax/Transactions.d.ts +4 -0
  41. package/esm/resources/Treasury/FinancialAccounts.d.ts +1 -1
  42. package/esm/resources/V2/Core/Accounts.d.ts +2 -2
  43. package/esm/stripe.core.js +1 -1
  44. package/esm/stripe.esm.node.js +1 -1
  45. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## 22.7.0-alpha.3 - 2026-09-09
4
+ * [#2839](https://github.com/stripe/stripe-node/pull/2839) Update generated code for private-preview
5
+ * Add support for `customer_tax_exemption` on `Tax.Calculation.shipping_cost.tax_breakdown[]`, `Tax.CalculationLineItem.tax_breakdown[]`, and `Tax.Transaction.shipping_cost.tax_breakdown[]`
6
+ * Add support for new value `data_share_only` on enums `Charge.payment_method_details.card.three_d_secure.result`, `PaymentAttemptRecord.payment_method_details.card.three_d_secure.result`, `PaymentRecord.payment_method_details.card.three_d_secure.result`, and `SetupAttempt.payment_method_details.card.three_d_secure.result`
7
+ * Add support for `backdate_start_date` on `Checkout.Session.items[].subscription` and `Checkout.SessionCreateParams.items[].subscription`
8
+ * Add support for `signals` on `Identity.VerificationReport`
9
+ * Add support for `network_response_code` on `Issuing.Authorization.request_history[]`
10
+ * Add support for `unit_cost_precision` on `PaymentIntentAmountDetailsLineItem`, `PaymentIntentCaptureParams.amount_details.line_items[]`, `PaymentIntentConfirmParams.amount_details.line_items[]`, `PaymentIntentCreateParams.amount_details.line_items[]`, `PaymentIntentDecrementAuthorizationParams.amount_details.line_items[]`, `PaymentIntentIncrementAuthorizationParams.amount_details.line_items[]`, and `PaymentIntentUpdateParams.amount_details.line_items[]`
11
+ * Change `PaymentIntent.payment_record` to be required
12
+ * Add support for `active` on `ProductCatalog.TrialOfferListParams`
13
+ * Change `Subscription.trial_settings.end_behavior.billing_cycle_anchor` to be required
14
+ * Add support for new value `rtp` on enum `Treasury.FinancialAccount.financial_addresses[].supported_networks`
15
+ * Add support for new value `blik_recurring_payments` on enums `V2.Core.Account.future_requirements.entries[].impact.restricts_capabilities[].capability` and `V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability`
16
+
3
17
  ## 22.7.0-alpha.2 - 2026-09-02
4
18
  * [#2825](https://github.com/stripe/stripe-node/pull/2825) Update generated code for private-preview
5
19
  * Add support for new resources `Radar.BillingEvaluation`, `V2.Signals.PaymentRetryEvaluation`, `V2.Signals.PaymentRetrySignal`, and `V2.Tax.IntegrationConfiguration`
package/OPENAPI_VERSION CHANGED
@@ -1 +1 @@
1
- v2458
1
+ v2472
package/VERSION CHANGED
@@ -1 +1 @@
1
- 22.7.0-alpha.2
1
+ 22.7.0-alpha.3
@@ -1994,7 +1994,7 @@ export declare namespace Charge {
1994
1994
  type AuthenticationFlow = 'challenge' | 'frictionless' | OtherString;
1995
1995
  type ElectronicCommerceIndicator = '01' | '02' | '05' | '06' | '07' | OtherString;
1996
1996
  type ExemptionIndicator = 'low_risk' | 'none' | OtherString;
1997
- type Result = 'attempt_acknowledged' | 'authenticated' | 'exempted' | 'failed' | 'not_supported' | 'processing_error' | OtherString;
1997
+ type Result = 'attempt_acknowledged' | 'authenticated' | 'data_share_only' | 'exempted' | 'failed' | 'not_supported' | 'processing_error' | OtherString;
1998
1998
  type ResultReason = 'abandoned' | 'bypassed' | 'canceled' | 'card_not_enrolled' | 'network_not_supported' | 'protocol_error' | 'rejected' | OtherString;
1999
1999
  type Version = '1.0.2' | '2.1.0' | '2.2.0' | '2.3.0' | '2.3.1' | OtherString;
2000
2000
  }
@@ -1373,6 +1373,10 @@ export declare namespace Session {
1373
1373
  }
1374
1374
  namespace Item {
1375
1375
  interface Subscription {
1376
+ /**
1377
+ * The Unix timestamp marking the subscription's backdated start date.
1378
+ */
1379
+ backdate_start_date?: number | null;
1376
1380
  /**
1377
1381
  * The description for the subscription.
1378
1382
  */
@@ -2821,7 +2825,7 @@ export declare namespace Checkout {
2821
2825
  *
2822
2826
  * For `subscription` mode, there is a maximum of 20 line items and optional items with recurring Prices and 20 line items and optional items with one-time Prices.
2823
2827
  *
2824
- * You can't set this parameter if `ui_mode` is `custom`.
2828
+ * You can't set this parameter if `ui_mode` is `elements` or `form`.
2825
2829
  */
2826
2830
  optional_items?: Array<SessionCreateParams.OptionalItem>;
2827
2831
  /**
@@ -3958,6 +3962,10 @@ export declare namespace Checkout {
3958
3962
  }
3959
3963
  namespace Item {
3960
3964
  interface Subscription {
3965
+ /**
3966
+ * A past timestamp to backdate the subscription's start date to.
3967
+ */
3968
+ backdate_start_date?: number;
3961
3969
  /**
3962
3970
  * Configures when the subscription schedule's billing cycle anchors to a specific day of the week or month.
3963
3971
  */
@@ -504,7 +504,7 @@ export interface CustomerCreateParams {
504
504
  */
505
505
  individual_name?: Emptyable<string>;
506
506
  /**
507
- * The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase letters or numbers.
507
+ * The prefix for the customer used to generate unique invoice numbers. Must be 1–12 uppercase letters or numbers.
508
508
  */
509
509
  invoice_prefix?: string;
510
510
  /**
@@ -707,7 +707,7 @@ export interface CustomerUpdateParams {
707
707
  */
708
708
  individual_name?: Emptyable<string>;
709
709
  /**
710
- * The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase letters or numbers.
710
+ * The prefix for the customer used to generate unique invoice numbers. Must be 1–12 uppercase letters or numbers.
711
711
  */
712
712
  invoice_prefix?: string;
713
713
  /**
@@ -54,6 +54,7 @@ export interface VerificationReport {
54
54
  * Result from a selfie check
55
55
  */
56
56
  selfie?: VerificationReport.Selfie;
57
+ signals?: VerificationReport.Signals;
57
58
  /**
58
59
  * Type of report.
59
60
  */
@@ -270,6 +271,11 @@ export declare namespace VerificationReport {
270
271
  */
271
272
  status: Selfie.Status;
272
273
  }
274
+ interface Signals {
275
+ fraudulent_email?: Signals.FraudulentEmail;
276
+ fraudulent_person?: Signals.FraudulentPerson;
277
+ fraudulent_phone?: Signals.FraudulentPhone;
278
+ }
273
279
  type Type = 'document' | 'email' | 'id_number' | 'verification_flow' | OtherString;
274
280
  namespace Document {
275
281
  interface Dob {
@@ -456,6 +462,101 @@ export declare namespace VerificationReport {
456
462
  type Code = 'selfie_document_missing_photo' | 'selfie_face_mismatch' | 'selfie_manipulated' | 'selfie_unverified_other' | OtherString;
457
463
  }
458
464
  }
465
+ namespace Signals {
466
+ interface FraudulentEmail {
467
+ /**
468
+ * Array of objects representing individual factors that contributed to the calculated risk level.
469
+ */
470
+ indicators: Array<FraudulentEmail.Indicator>;
471
+ /**
472
+ * Categorical assessment of the email risk.
473
+ */
474
+ risk_level: FraudulentEmail.RiskLevel;
475
+ }
476
+ interface FraudulentPerson {
477
+ /**
478
+ * Array of objects representing individual factors that contributed to the calculated risk level.
479
+ */
480
+ indicators: Array<FraudulentPerson.Indicator>;
481
+ /**
482
+ * Categorical assessment of the fraudulent person risk.
483
+ */
484
+ risk_level: FraudulentPerson.RiskLevel;
485
+ }
486
+ interface FraudulentPhone {
487
+ /**
488
+ * Array of objects representing individual factors that contributed to the calculated risk level.
489
+ */
490
+ indicators: Array<FraudulentPhone.Indicator>;
491
+ /**
492
+ * Categorical assessment of the phone risk.
493
+ */
494
+ risk_level: FraudulentPhone.RiskLevel;
495
+ }
496
+ namespace FraudulentEmail {
497
+ interface Indicator {
498
+ /**
499
+ * A brief explanation of how this indicator contributed to the risk level
500
+ */
501
+ explanation: string;
502
+ /**
503
+ * The effect this indicator had on the overall risk level.
504
+ */
505
+ impact: Indicator.Impact;
506
+ /**
507
+ * The name of the specific indicator used in the risk assessment.
508
+ */
509
+ indicator: Indicator.Indicator;
510
+ }
511
+ type RiskLevel = 'elevated' | 'highest' | 'low' | 'normal' | 'not_assessed' | 'unknown' | OtherString;
512
+ namespace Indicator {
513
+ type Impact = 'decrease' | 'neutral' | 'slight_increase' | 'strong_increase' | OtherString;
514
+ type Indicator = 'address_mismatch' | 'domain_reputation' | 'domain_tenure' | 'email_reputation' | 'email_tenure' | 'gibberish_email' | 'invalid_email' | 'name_mismatch' | 'other' | 'phone_mismatch' | OtherString;
515
+ }
516
+ }
517
+ namespace FraudulentPerson {
518
+ interface Indicator {
519
+ /**
520
+ * A brief explanation of how this indicator contributed to the risk level
521
+ */
522
+ explanation: string;
523
+ /**
524
+ * The effect this indicator had on the overall risk level.
525
+ */
526
+ impact: Indicator.Impact;
527
+ /**
528
+ * The name of the specific indicator used in the risk assessment.
529
+ */
530
+ indicator: Indicator.Indicator;
531
+ }
532
+ type RiskLevel = 'elevated' | 'highest' | 'low' | 'normal' | 'not_assessed' | 'unknown' | OtherString;
533
+ namespace Indicator {
534
+ type Impact = 'decrease' | 'neutral' | 'slight_increase' | 'strong_increase' | OtherString;
535
+ type Indicator = 'fraudulent_person_match' | 'no_transaction_match' | 'other' | OtherString;
536
+ }
537
+ }
538
+ namespace FraudulentPhone {
539
+ interface Indicator {
540
+ /**
541
+ * A brief explanation of how this indicator contributed to the risk level
542
+ */
543
+ explanation: string;
544
+ /**
545
+ * The effect this indicator had on the overall risk level.
546
+ */
547
+ impact: Indicator.Impact;
548
+ /**
549
+ * The name of the specific indicator used in the risk assessment.
550
+ */
551
+ indicator: Indicator.Indicator;
552
+ }
553
+ type RiskLevel = 'elevated' | 'highest' | 'low' | 'normal' | 'not_assessed' | 'unknown' | OtherString;
554
+ namespace Indicator {
555
+ type Impact = 'decrease' | 'neutral' | 'slight_increase' | 'strong_increase' | OtherString;
556
+ type Indicator = 'address_mismatch' | 'carrier_reputation' | 'line_type' | 'name_mismatch' | 'other' | 'phone_reputation' | 'phone_tenure' | 'phone_velocity' | OtherString;
557
+ }
558
+ }
559
+ }
459
560
  }
460
561
  export declare namespace Identity {
461
562
  interface VerificationReportRetrieveParams {
@@ -487,6 +487,10 @@ export declare namespace Authorization {
487
487
  * Details about the authorization request, such as identifiers, set by the card network.
488
488
  */
489
489
  network_data?: RequestHistory.NetworkData | null;
490
+ /**
491
+ * The network-specific response code associated with Stripe's decision for this authorization request. The value is a Visa or Mastercard response code depending on the network over which the authorization was routed.
492
+ */
493
+ network_response_code?: string | null;
490
494
  /**
491
495
  * The card network's estimate of the likelihood that an authorization is fraudulent. Takes on values between 1 and 99.
492
496
  */
@@ -1742,7 +1742,7 @@ export declare namespace PaymentAttemptRecord {
1742
1742
  type AuthenticationFlow = 'challenge' | 'frictionless' | OtherString;
1743
1743
  type ElectronicCommerceIndicator = '01' | '02' | '03' | '04' | '05' | '06' | '07' | OtherString;
1744
1744
  type ExemptionIndicator = 'low_risk' | 'none' | OtherString;
1745
- type Result = 'attempt_acknowledged' | 'authenticated' | 'exempted' | 'failed' | 'not_supported' | 'processing_error' | OtherString;
1745
+ type Result = 'attempt_acknowledged' | 'authenticated' | 'data_share_only' | 'exempted' | 'failed' | 'not_supported' | 'processing_error' | OtherString;
1746
1746
  type ResultReason = 'abandoned' | 'bypassed' | 'canceled' | 'card_not_enrolled' | 'network_not_supported' | 'protocol_error' | 'rejected' | OtherString;
1747
1747
  type Version = '1.0.2' | '2.1.0' | '2.2.0' | OtherString;
1748
1748
  }
@@ -44,6 +44,10 @@ export interface PaymentIntentAmountDetailsLineItem {
44
44
  * The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
45
45
  */
46
46
  unit_cost: number;
47
+ /**
48
+ * The number of decimal places implied in the unit_cost. For example, if unit_cost is 10000 and unit_cost_precision is 1, the actual unit cost is 1000.0. Defaults to 0 if not provided.
49
+ */
50
+ unit_cost_precision?: number;
47
51
  /**
48
52
  * A unit of measure for the line item, such as gallons, feet, meters, etc. Required for L3 rates. At most 12 alphanumeric characters long.
49
53
  */
@@ -36,7 +36,7 @@ export declare class PaymentIntentResource extends StripeResource {
36
36
  *
37
37
  * You can retrieve a PaymentIntent client-side using a publishable key when the client_secret is in the query string.
38
38
  *
39
- * If you retrieve a PaymentIntent with a publishable key, it only returns a subset of properties. Refer to the [payment intent](https://docs.stripe.com/api#payment_intent_object) object reference for more details.
39
+ * If you retrieve a PaymentIntent with a publishable key, it only returns a subset of properties. Refer to the [payment intent](https://docs.stripe.com/api/payment_intents/object) object reference for more details.
40
40
  */
41
41
  retrieve(id: string, params?: PaymentIntentRetrieveParams, options?: RequestOptions): Promise<Response<PaymentIntent>>;
42
42
  /**
@@ -347,7 +347,7 @@ export interface PaymentIntent {
347
347
  /**
348
348
  * ID of the [Payment Record object](https://docs.stripe.com/api/payment-record) created by this PaymentIntent.
349
349
  */
350
- payment_record?: string | PaymentRecord | null;
350
+ payment_record: string | PaymentRecord | null;
351
351
  /**
352
352
  * When you enable this parameter, this PaymentIntent will route your payment to processors that you configure in the dashboard.
353
353
  */
@@ -5589,6 +5589,10 @@ export declare namespace PaymentIntentCreateParams {
5589
5589
  * The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
5590
5590
  */
5591
5591
  unit_cost: number;
5592
+ /**
5593
+ * The number of decimal places implied in the unit_cost. For example, if unit_cost is 10000 and unit_cost_precision is 1, the actual unit cost is 1000.0. Defaults to 0 if not provided.
5594
+ */
5595
+ unit_cost_precision?: number;
5592
5596
  /**
5593
5597
  * A unit of measure for the line item, such as gallons, feet, meters, etc.
5594
5598
  */
@@ -11703,6 +11707,10 @@ export declare namespace PaymentIntentUpdateParams {
11703
11707
  * The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
11704
11708
  */
11705
11709
  unit_cost: number;
11710
+ /**
11711
+ * The number of decimal places implied in the unit_cost. For example, if unit_cost is 10000 and unit_cost_precision is 1, the actual unit cost is 1000.0. Defaults to 0 if not provided.
11712
+ */
11713
+ unit_cost_precision?: number;
11706
11714
  /**
11707
11715
  * A unit of measure for the line item, such as gallons, feet, meters, etc.
11708
11716
  */
@@ -17154,6 +17162,10 @@ export declare namespace PaymentIntentCaptureParams {
17154
17162
  * The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
17155
17163
  */
17156
17164
  unit_cost: number;
17165
+ /**
17166
+ * The number of decimal places implied in the unit_cost. For example, if unit_cost is 10000 and unit_cost_precision is 1, the actual unit cost is 1000.0. Defaults to 0 if not provided.
17167
+ */
17168
+ unit_cost_precision?: number;
17157
17169
  /**
17158
17170
  * A unit of measure for the line item, such as gallons, feet, meters, etc.
17159
17171
  */
@@ -19660,6 +19672,10 @@ export declare namespace PaymentIntentConfirmParams {
19660
19672
  * The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
19661
19673
  */
19662
19674
  unit_cost: number;
19675
+ /**
19676
+ * The number of decimal places implied in the unit_cost. For example, if unit_cost is 10000 and unit_cost_precision is 1, the actual unit cost is 1000.0. Defaults to 0 if not provided.
19677
+ */
19678
+ unit_cost_precision?: number;
19663
19679
  /**
19664
19680
  * A unit of measure for the line item, such as gallons, feet, meters, etc.
19665
19681
  */
@@ -25015,6 +25031,10 @@ export declare namespace PaymentIntentDecrementAuthorizationParams {
25015
25031
  * The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
25016
25032
  */
25017
25033
  unit_cost: number;
25034
+ /**
25035
+ * The number of decimal places implied in the unit_cost. For example, if unit_cost is 10000 and unit_cost_precision is 1, the actual unit cost is 1000.0. Defaults to 0 if not provided.
25036
+ */
25037
+ unit_cost_precision?: number;
25018
25038
  /**
25019
25039
  * A unit of measure for the line item, such as gallons, feet, meters, etc.
25020
25040
  */
@@ -25371,6 +25391,10 @@ export declare namespace PaymentIntentIncrementAuthorizationParams {
25371
25391
  * The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
25372
25392
  */
25373
25393
  unit_cost: number;
25394
+ /**
25395
+ * The number of decimal places implied in the unit_cost. For example, if unit_cost is 10000 and unit_cost_precision is 1, the actual unit cost is 1000.0. Defaults to 0 if not provided.
25396
+ */
25397
+ unit_cost_precision?: number;
25374
25398
  /**
25375
25399
  * A unit of measure for the line item, such as gallons, feet, meters, etc.
25376
25400
  */
@@ -32,7 +32,7 @@ class PaymentIntentResource extends StripeResource_js_1.StripeResource {
32
32
  *
33
33
  * You can retrieve a PaymentIntent client-side using a publishable key when the client_secret is in the query string.
34
34
  *
35
- * If you retrieve a PaymentIntent with a publishable key, it only returns a subset of properties. Refer to the [payment intent](https://docs.stripe.com/api#payment_intent_object) object reference for more details.
35
+ * If you retrieve a PaymentIntent with a publishable key, it only returns a subset of properties. Refer to the [payment intent](https://docs.stripe.com/api/payment_intents/object) object reference for more details.
36
36
  */
37
37
  retrieve(id, params, options) {
38
38
  return this._makeRequest('GET', `/v1/payment_intents/${encodeURIComponent(id)}`, params, options);
@@ -1757,7 +1757,7 @@ export declare namespace PaymentRecord {
1757
1757
  type AuthenticationFlow = 'challenge' | 'frictionless' | OtherString;
1758
1758
  type ElectronicCommerceIndicator = '01' | '02' | '03' | '04' | '05' | '06' | '07' | OtherString;
1759
1759
  type ExemptionIndicator = 'low_risk' | 'none' | OtherString;
1760
- type Result = 'attempt_acknowledged' | 'authenticated' | 'exempted' | 'failed' | 'not_supported' | 'processing_error' | OtherString;
1760
+ type Result = 'attempt_acknowledged' | 'authenticated' | 'data_share_only' | 'exempted' | 'failed' | 'not_supported' | 'processing_error' | OtherString;
1761
1761
  type ResultReason = 'abandoned' | 'bypassed' | 'canceled' | 'card_not_enrolled' | 'network_not_supported' | 'protocol_error' | 'rejected' | OtherString;
1762
1762
  type Version = '1.0.2' | '2.1.0' | '2.2.0' | OtherString;
1763
1763
  }
@@ -143,6 +143,10 @@ export declare namespace ProductCatalog {
143
143
  }
144
144
  export declare namespace ProductCatalog {
145
145
  interface TrialOfferListParams extends PaginationParams {
146
+ /**
147
+ * Only return trial offers that are active (`true`) or archived (`false`). If omitted, both active and archived trial offers are returned.
148
+ */
149
+ active?: boolean;
146
150
  /**
147
151
  * Only return trial offers that were created during the given date interval.
148
152
  */
@@ -527,7 +527,7 @@ export declare namespace SetupAttempt {
527
527
  namespace ThreeDSecure {
528
528
  type AuthenticationFlow = 'challenge' | 'frictionless' | OtherString;
529
529
  type ElectronicCommerceIndicator = '01' | '02' | '05' | '06' | '07' | OtherString;
530
- type Result = 'attempt_acknowledged' | 'authenticated' | 'exempted' | 'failed' | 'not_supported' | 'processing_error' | OtherString;
530
+ type Result = 'attempt_acknowledged' | 'authenticated' | 'data_share_only' | 'exempted' | 'failed' | 'not_supported' | 'processing_error' | OtherString;
531
531
  type ResultReason = 'abandoned' | 'bypassed' | 'canceled' | 'card_not_enrolled' | 'network_not_supported' | 'protocol_error' | 'rejected' | OtherString;
532
532
  type Version = '1.0.2' | '2.1.0' | '2.2.0' | '2.3.0' | '2.3.1' | OtherString;
533
533
  }
@@ -1092,7 +1092,7 @@ export declare namespace Subscription {
1092
1092
  /**
1093
1093
  * Indicates how the subscription's billing cycle anchor is reset when a trial ends. If not set, the default is `now`.
1094
1094
  */
1095
- billing_cycle_anchor?: EndBehavior.BillingCycleAnchor | null;
1095
+ billing_cycle_anchor: EndBehavior.BillingCycleAnchor | null;
1096
1096
  /**
1097
1097
  * Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
1098
1098
  */
@@ -67,6 +67,10 @@ export declare namespace CalculationLineItem {
67
67
  * The amount of tax, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
68
68
  */
69
69
  amount: number;
70
+ /**
71
+ * The ID of the [customer tax exemption](https://docs.stripe.com/api/tax/exemptions) that was applied to this tax breakdown.
72
+ */
73
+ customer_tax_exemption?: string;
70
74
  jurisdiction: TaxBreakdown.Jurisdiction;
71
75
  /**
72
76
  * Indicates whether the jurisdiction was determined by the origin (merchant's address) or destination (customer's address).
@@ -170,6 +170,10 @@ export declare namespace Calculation {
170
170
  * The amount of tax, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
171
171
  */
172
172
  amount: number;
173
+ /**
174
+ * The ID of the [customer tax exemption](https://docs.stripe.com/api/tax/exemptions) that was applied to this tax breakdown.
175
+ */
176
+ customer_tax_exemption?: string;
173
177
  jurisdiction: TaxBreakdown.Jurisdiction;
174
178
  /**
175
179
  * Indicates whether the jurisdiction was determined by the origin (merchant's address) or destination (customer's address).
@@ -170,6 +170,10 @@ export declare namespace Transaction {
170
170
  * The amount of tax, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
171
171
  */
172
172
  amount: number;
173
+ /**
174
+ * The ID of the [customer tax exemption](https://docs.stripe.com/api/tax/exemptions) that was applied to this tax breakdown.
175
+ */
176
+ customer_tax_exemption?: string;
173
177
  jurisdiction: TaxBreakdown.Jurisdiction;
174
178
  /**
175
179
  * Indicates whether the jurisdiction was determined by the origin (merchant's address) or destination (customer's address).
@@ -183,7 +183,7 @@ export declare namespace FinancialAccount {
183
183
  */
184
184
  routing_number: string;
185
185
  }
186
- type SupportedNetwork = 'ach' | 'us_domestic_wire' | OtherString;
186
+ type SupportedNetwork = 'ach' | 'rtp' | 'us_domestic_wire' | OtherString;
187
187
  }
188
188
  namespace PlatformRestrictions {
189
189
  type InboundFlows = 'restricted' | 'unrestricted' | OtherString;
@@ -7583,7 +7583,7 @@ export declare namespace Account {
7583
7583
  deadline: RestrictsCapability.Deadline;
7584
7584
  }
7585
7585
  namespace RestrictsCapability {
7586
- type Capability = 'ach_debit_payments' | 'acss_debit_payments' | 'affirm_payments' | 'afterpay_clearpay_payments' | 'alma_payments' | 'amazon_pay_payments' | 'automatic_indirect_tax' | 'au_becs_debit_payments' | 'bacs_debit_payments' | 'bancontact_payments' | 'bank_accounts.ach' | 'bank_accounts.becs' | 'bank_accounts.eft' | 'bank_accounts.fedwire' | 'bank_accounts.fps' | 'bank_accounts.instant' | 'bank_accounts.local' | 'bank_accounts.npp' | 'bank_accounts.rtp' | 'bank_accounts.sepa_credit' | 'bank_accounts.sepa_instant' | 'bank_accounts.swift' | 'bank_accounts.wire' | 'blik_payments' | 'boleto_payments' | 'business_storage.inbound.eur' | 'business_storage.inbound.gbp' | 'business_storage.inbound.usd' | 'business_storage.outbound.eur' | 'business_storage.outbound.gbp' | 'business_storage.outbound.usd' | 'cards' | 'card_payments' | 'cartes_bancaires_payments' | 'cashapp_payments' | 'commercial.celtic.charge_card' | 'commercial.celtic.spend_card' | 'commercial.cross_river_bank.charge_card' | 'commercial.cross_river_bank.prepaid_card' | 'commercial.cross_river_bank.spend_card' | 'commercial.fifth_third.charge_card' | 'commercial.lead.prepaid_card' | 'commercial.stripe.charge_card' | 'commercial.stripe.prepaid_card' | 'commercial.stripe.spend_card' | 'consumer.celtic.revolving_credit_card' | 'consumer.cross_river_bank.prepaid_card' | 'consumer.holds_currencies.usd' | 'consumer.lead.debit_card' | 'consumer.lead.prepaid_card' | 'consumer_storage.inbound.usd' | 'consumer_storage.outbound.usd' | 'crypto_wallets' | 'eps_payments' | 'financial_addresses.bank_accounts' | 'fpx_payments' | 'gb_bank_transfer_payments' | 'grabpay_payments' | 'holds_currencies.eur' | 'holds_currencies.gbp' | 'holds_currencies.usd' | 'ideal_payments' | 'inbound_transfers.financial_accounts' | 'jcb_payments' | 'jp_bank_transfer_payments' | 'kakao_pay_payments' | 'klarna_payments' | 'konbini_payments' | 'kr_card_payments' | 'link_payments' | 'mobilepay_payments' | 'multibanco_payments' | 'mx_bank_transfer_payments' | 'naver_pay_payments' | 'outbound_payments.bank_accounts' | 'outbound_payments.cards' | 'outbound_payments.financial_accounts' | 'outbound_payments.paper_checks' | 'outbound_transfers.bank_accounts' | 'outbound_transfers.financial_accounts' | 'oxxo_payments' | 'p24_payments' | 'paper_checks' | 'payco_payments' | 'paynow_payments' | 'pay_by_bank_payments' | 'promptpay_payments' | 'received_credits.bank_accounts' | 'received_debits.bank_accounts' | 'revolut_pay_payments' | 'samsung_pay_payments' | 'sepa_bank_transfer_payments' | 'sepa_debit_payments' | 'stripe_balance.payouts' | 'stripe_balance.stripe_transfers' | 'swish_payments' | 'twint_payments' | 'us_bank_transfer_payments' | 'zip_payments' | OtherString;
7586
+ type Capability = 'ach_debit_payments' | 'acss_debit_payments' | 'affirm_payments' | 'afterpay_clearpay_payments' | 'alma_payments' | 'amazon_pay_payments' | 'automatic_indirect_tax' | 'au_becs_debit_payments' | 'bacs_debit_payments' | 'bancontact_payments' | 'bank_accounts.ach' | 'bank_accounts.becs' | 'bank_accounts.eft' | 'bank_accounts.fedwire' | 'bank_accounts.fps' | 'bank_accounts.instant' | 'bank_accounts.local' | 'bank_accounts.npp' | 'bank_accounts.rtp' | 'bank_accounts.sepa_credit' | 'bank_accounts.sepa_instant' | 'bank_accounts.swift' | 'bank_accounts.wire' | 'blik_payments' | 'blik_recurring_payments' | 'boleto_payments' | 'business_storage.inbound.eur' | 'business_storage.inbound.gbp' | 'business_storage.inbound.usd' | 'business_storage.outbound.eur' | 'business_storage.outbound.gbp' | 'business_storage.outbound.usd' | 'cards' | 'card_payments' | 'cartes_bancaires_payments' | 'cashapp_payments' | 'commercial.celtic.charge_card' | 'commercial.celtic.spend_card' | 'commercial.cross_river_bank.charge_card' | 'commercial.cross_river_bank.prepaid_card' | 'commercial.cross_river_bank.spend_card' | 'commercial.fifth_third.charge_card' | 'commercial.lead.prepaid_card' | 'commercial.stripe.charge_card' | 'commercial.stripe.prepaid_card' | 'commercial.stripe.spend_card' | 'consumer.celtic.revolving_credit_card' | 'consumer.cross_river_bank.prepaid_card' | 'consumer.holds_currencies.usd' | 'consumer.lead.debit_card' | 'consumer.lead.prepaid_card' | 'consumer_storage.inbound.usd' | 'consumer_storage.outbound.usd' | 'crypto_wallets' | 'eps_payments' | 'financial_addresses.bank_accounts' | 'fpx_payments' | 'gb_bank_transfer_payments' | 'grabpay_payments' | 'holds_currencies.eur' | 'holds_currencies.gbp' | 'holds_currencies.usd' | 'ideal_payments' | 'inbound_transfers.financial_accounts' | 'jcb_payments' | 'jp_bank_transfer_payments' | 'kakao_pay_payments' | 'klarna_payments' | 'konbini_payments' | 'kr_card_payments' | 'link_payments' | 'mobilepay_payments' | 'multibanco_payments' | 'mx_bank_transfer_payments' | 'naver_pay_payments' | 'outbound_payments.bank_accounts' | 'outbound_payments.cards' | 'outbound_payments.financial_accounts' | 'outbound_payments.paper_checks' | 'outbound_transfers.bank_accounts' | 'outbound_transfers.financial_accounts' | 'oxxo_payments' | 'p24_payments' | 'paper_checks' | 'payco_payments' | 'paynow_payments' | 'pay_by_bank_payments' | 'promptpay_payments' | 'received_credits.bank_accounts' | 'received_debits.bank_accounts' | 'revolut_pay_payments' | 'samsung_pay_payments' | 'sepa_bank_transfer_payments' | 'sepa_debit_payments' | 'stripe_balance.payouts' | 'stripe_balance.stripe_transfers' | 'swish_payments' | 'twint_payments' | 'us_bank_transfer_payments' | 'zip_payments' | OtherString;
7587
7587
  type Configuration = 'card_creator' | 'customer' | 'merchant' | 'money_manager' | 'recipient' | 'storer' | OtherString;
7588
7588
  interface Deadline {
7589
7589
  /**
@@ -9830,7 +9830,7 @@ export declare namespace Account {
9830
9830
  deadline: RestrictsCapability.Deadline;
9831
9831
  }
9832
9832
  namespace RestrictsCapability {
9833
- type Capability = 'ach_debit_payments' | 'acss_debit_payments' | 'affirm_payments' | 'afterpay_clearpay_payments' | 'alma_payments' | 'amazon_pay_payments' | 'automatic_indirect_tax' | 'au_becs_debit_payments' | 'bacs_debit_payments' | 'bancontact_payments' | 'bank_accounts.ach' | 'bank_accounts.becs' | 'bank_accounts.eft' | 'bank_accounts.fedwire' | 'bank_accounts.fps' | 'bank_accounts.instant' | 'bank_accounts.local' | 'bank_accounts.npp' | 'bank_accounts.rtp' | 'bank_accounts.sepa_credit' | 'bank_accounts.sepa_instant' | 'bank_accounts.swift' | 'bank_accounts.wire' | 'blik_payments' | 'boleto_payments' | 'business_storage.inbound.eur' | 'business_storage.inbound.gbp' | 'business_storage.inbound.usd' | 'business_storage.outbound.eur' | 'business_storage.outbound.gbp' | 'business_storage.outbound.usd' | 'cards' | 'card_payments' | 'cartes_bancaires_payments' | 'cashapp_payments' | 'commercial.celtic.charge_card' | 'commercial.celtic.spend_card' | 'commercial.cross_river_bank.charge_card' | 'commercial.cross_river_bank.prepaid_card' | 'commercial.cross_river_bank.spend_card' | 'commercial.fifth_third.charge_card' | 'commercial.lead.prepaid_card' | 'commercial.stripe.charge_card' | 'commercial.stripe.prepaid_card' | 'commercial.stripe.spend_card' | 'consumer.celtic.revolving_credit_card' | 'consumer.cross_river_bank.prepaid_card' | 'consumer.holds_currencies.usd' | 'consumer.lead.debit_card' | 'consumer.lead.prepaid_card' | 'consumer_storage.inbound.usd' | 'consumer_storage.outbound.usd' | 'crypto_wallets' | 'eps_payments' | 'financial_addresses.bank_accounts' | 'fpx_payments' | 'gb_bank_transfer_payments' | 'grabpay_payments' | 'holds_currencies.eur' | 'holds_currencies.gbp' | 'holds_currencies.usd' | 'ideal_payments' | 'inbound_transfers.financial_accounts' | 'jcb_payments' | 'jp_bank_transfer_payments' | 'kakao_pay_payments' | 'klarna_payments' | 'konbini_payments' | 'kr_card_payments' | 'link_payments' | 'mobilepay_payments' | 'multibanco_payments' | 'mx_bank_transfer_payments' | 'naver_pay_payments' | 'outbound_payments.bank_accounts' | 'outbound_payments.cards' | 'outbound_payments.financial_accounts' | 'outbound_payments.paper_checks' | 'outbound_transfers.bank_accounts' | 'outbound_transfers.financial_accounts' | 'oxxo_payments' | 'p24_payments' | 'paper_checks' | 'payco_payments' | 'paynow_payments' | 'pay_by_bank_payments' | 'promptpay_payments' | 'received_credits.bank_accounts' | 'received_debits.bank_accounts' | 'revolut_pay_payments' | 'samsung_pay_payments' | 'sepa_bank_transfer_payments' | 'sepa_debit_payments' | 'stripe_balance.payouts' | 'stripe_balance.stripe_transfers' | 'swish_payments' | 'twint_payments' | 'us_bank_transfer_payments' | 'zip_payments' | OtherString;
9833
+ type Capability = 'ach_debit_payments' | 'acss_debit_payments' | 'affirm_payments' | 'afterpay_clearpay_payments' | 'alma_payments' | 'amazon_pay_payments' | 'automatic_indirect_tax' | 'au_becs_debit_payments' | 'bacs_debit_payments' | 'bancontact_payments' | 'bank_accounts.ach' | 'bank_accounts.becs' | 'bank_accounts.eft' | 'bank_accounts.fedwire' | 'bank_accounts.fps' | 'bank_accounts.instant' | 'bank_accounts.local' | 'bank_accounts.npp' | 'bank_accounts.rtp' | 'bank_accounts.sepa_credit' | 'bank_accounts.sepa_instant' | 'bank_accounts.swift' | 'bank_accounts.wire' | 'blik_payments' | 'blik_recurring_payments' | 'boleto_payments' | 'business_storage.inbound.eur' | 'business_storage.inbound.gbp' | 'business_storage.inbound.usd' | 'business_storage.outbound.eur' | 'business_storage.outbound.gbp' | 'business_storage.outbound.usd' | 'cards' | 'card_payments' | 'cartes_bancaires_payments' | 'cashapp_payments' | 'commercial.celtic.charge_card' | 'commercial.celtic.spend_card' | 'commercial.cross_river_bank.charge_card' | 'commercial.cross_river_bank.prepaid_card' | 'commercial.cross_river_bank.spend_card' | 'commercial.fifth_third.charge_card' | 'commercial.lead.prepaid_card' | 'commercial.stripe.charge_card' | 'commercial.stripe.prepaid_card' | 'commercial.stripe.spend_card' | 'consumer.celtic.revolving_credit_card' | 'consumer.cross_river_bank.prepaid_card' | 'consumer.holds_currencies.usd' | 'consumer.lead.debit_card' | 'consumer.lead.prepaid_card' | 'consumer_storage.inbound.usd' | 'consumer_storage.outbound.usd' | 'crypto_wallets' | 'eps_payments' | 'financial_addresses.bank_accounts' | 'fpx_payments' | 'gb_bank_transfer_payments' | 'grabpay_payments' | 'holds_currencies.eur' | 'holds_currencies.gbp' | 'holds_currencies.usd' | 'ideal_payments' | 'inbound_transfers.financial_accounts' | 'jcb_payments' | 'jp_bank_transfer_payments' | 'kakao_pay_payments' | 'klarna_payments' | 'konbini_payments' | 'kr_card_payments' | 'link_payments' | 'mobilepay_payments' | 'multibanco_payments' | 'mx_bank_transfer_payments' | 'naver_pay_payments' | 'outbound_payments.bank_accounts' | 'outbound_payments.cards' | 'outbound_payments.financial_accounts' | 'outbound_payments.paper_checks' | 'outbound_transfers.bank_accounts' | 'outbound_transfers.financial_accounts' | 'oxxo_payments' | 'p24_payments' | 'paper_checks' | 'payco_payments' | 'paynow_payments' | 'pay_by_bank_payments' | 'promptpay_payments' | 'received_credits.bank_accounts' | 'received_debits.bank_accounts' | 'revolut_pay_payments' | 'samsung_pay_payments' | 'sepa_bank_transfer_payments' | 'sepa_debit_payments' | 'stripe_balance.payouts' | 'stripe_balance.stripe_transfers' | 'swish_payments' | 'twint_payments' | 'us_bank_transfer_payments' | 'zip_payments' | OtherString;
9834
9834
  type Configuration = 'card_creator' | 'customer' | 'merchant' | 'money_manager' | 'recipient' | 'storer' | OtherString;
9835
9835
  interface Deadline {
9836
9836
  /**
@@ -18007,6 +18007,7 @@ declare namespace StripeConstructor {
18007
18007
  type Options = Stripe_.Identity.VerificationReport.Options;
18008
18008
  type Phone = Stripe_.Identity.VerificationReport.Phone;
18009
18009
  type Selfie = Stripe_.Identity.VerificationReport.Selfie;
18010
+ type Signals = Stripe_.Identity.VerificationReport.Signals;
18010
18011
  type Type = Stripe_.Identity.VerificationReport.Type;
18011
18012
  namespace Document {
18012
18013
  type Dob = Stripe_.Identity.VerificationReport.Document.Dob;
@@ -18065,6 +18066,35 @@ declare namespace StripeConstructor {
18065
18066
  type Code = Stripe_.Identity.VerificationReport.Selfie.Error.Code;
18066
18067
  }
18067
18068
  }
18069
+ namespace Signals {
18070
+ type FraudulentEmail = Stripe_.Identity.VerificationReport.Signals.FraudulentEmail;
18071
+ type FraudulentPerson = Stripe_.Identity.VerificationReport.Signals.FraudulentPerson;
18072
+ type FraudulentPhone = Stripe_.Identity.VerificationReport.Signals.FraudulentPhone;
18073
+ namespace FraudulentEmail {
18074
+ type Indicator = Stripe_.Identity.VerificationReport.Signals.FraudulentEmail.Indicator;
18075
+ type RiskLevel = Stripe_.Identity.VerificationReport.Signals.FraudulentEmail.RiskLevel;
18076
+ namespace Indicator {
18077
+ type Impact = Stripe_.Identity.VerificationReport.Signals.FraudulentEmail.Indicator.Impact;
18078
+ type Indicator = Stripe_.Identity.VerificationReport.Signals.FraudulentEmail.Indicator.Indicator;
18079
+ }
18080
+ }
18081
+ namespace FraudulentPerson {
18082
+ type Indicator = Stripe_.Identity.VerificationReport.Signals.FraudulentPerson.Indicator;
18083
+ type RiskLevel = Stripe_.Identity.VerificationReport.Signals.FraudulentPerson.RiskLevel;
18084
+ namespace Indicator {
18085
+ type Impact = Stripe_.Identity.VerificationReport.Signals.FraudulentPerson.Indicator.Impact;
18086
+ type Indicator = Stripe_.Identity.VerificationReport.Signals.FraudulentPerson.Indicator.Indicator;
18087
+ }
18088
+ }
18089
+ namespace FraudulentPhone {
18090
+ type Indicator = Stripe_.Identity.VerificationReport.Signals.FraudulentPhone.Indicator;
18091
+ type RiskLevel = Stripe_.Identity.VerificationReport.Signals.FraudulentPhone.RiskLevel;
18092
+ namespace Indicator {
18093
+ type Impact = Stripe_.Identity.VerificationReport.Signals.FraudulentPhone.Indicator.Impact;
18094
+ type Indicator = Stripe_.Identity.VerificationReport.Signals.FraudulentPhone.Indicator.Indicator;
18095
+ }
18096
+ }
18097
+ }
18068
18098
  }
18069
18099
  namespace VerificationSessionCreateParams {
18070
18100
  type Options = Stripe_.Identity.VerificationSessionCreateParams.Options;
@@ -1 +1 @@
1
- {"version":3,"file":"stripe.cjs.node.js","sourceRoot":"","sources":["../src/stripe.cjs.node.ts"],"names":[],"mappings":";AAAA,kFAA0E;AAC1E,qDAAmD;AAGnD,2DAA2D;AAC3D,uBAAO,CAAC,UAAU,CAAC,IAAI,gDAAqB,EAAE,CAAC,CAAC;AAShD,mGAAmG;AACnG,sCAAsC;AACtC,MAAM,iBAAiB,GAA+B,UAEpD,GAAW,EACX,MAAqB;IAErB,gCAAgC;IAChC,IAAI,CAAC,CAAC,IAAI,YAAY,iBAAiB,CAAC,EAAE;QACxC,OAAO,IAAI,uBAAO,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;KACjC;IACD,OAAO,IAAI,uBAAO,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;AAClC,CAA0C,CAAC;AAE3C,wDAAwD;AACxD,MAAM,CAAC,cAAc,CAAC,iBAAiB,EAAE,uBAAO,CAAC,CAAC;AAClD,MAAM,CAAC,cAAc,CAAC,iBAAiB,CAAC,SAAS,EAAE,uBAAO,CAAC,SAAS,CAAC,CAAC;AAEtE,oCAAoC;AACpC,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,mBAAmB,CAAC,uBAAO,CAAC,EAAE;IACrD,IAAI,GAAG,KAAK,QAAQ,IAAI,GAAG,KAAK,WAAW,IAAI,GAAG,KAAK,MAAM,EAAE;QAC7D,MAAM,CAAC,cAAc,CAAC,iBAAiB,EAAE,GAAG,EAAE;YAC5C,KAAK,EAAG,uBAAe,CAAC,GAAG,CAAC;YAC5B,QAAQ,EAAE,IAAI;YACd,UAAU,EAAE,IAAI;YAChB,YAAY,EAAE,IAAI;SACnB,CAAC,CAAC;KACJ;CACF;AAsp6BD,iBAAS,iBAAiB,CAAC"}
1
+ {"version":3,"file":"stripe.cjs.node.js","sourceRoot":"","sources":["../src/stripe.cjs.node.ts"],"names":[],"mappings":";AAAA,kFAA0E;AAC1E,qDAAmD;AAGnD,2DAA2D;AAC3D,uBAAO,CAAC,UAAU,CAAC,IAAI,gDAAqB,EAAE,CAAC,CAAC;AAShD,mGAAmG;AACnG,sCAAsC;AACtC,MAAM,iBAAiB,GAA+B,UAEpD,GAAW,EACX,MAAqB;IAErB,gCAAgC;IAChC,IAAI,CAAC,CAAC,IAAI,YAAY,iBAAiB,CAAC,EAAE;QACxC,OAAO,IAAI,uBAAO,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;KACjC;IACD,OAAO,IAAI,uBAAO,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;AAClC,CAA0C,CAAC;AAE3C,wDAAwD;AACxD,MAAM,CAAC,cAAc,CAAC,iBAAiB,EAAE,uBAAO,CAAC,CAAC;AAClD,MAAM,CAAC,cAAc,CAAC,iBAAiB,CAAC,SAAS,EAAE,uBAAO,CAAC,SAAS,CAAC,CAAC;AAEtE,oCAAoC;AACpC,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,mBAAmB,CAAC,uBAAO,CAAC,EAAE;IACrD,IAAI,GAAG,KAAK,QAAQ,IAAI,GAAG,KAAK,WAAW,IAAI,GAAG,KAAK,MAAM,EAAE;QAC7D,MAAM,CAAC,cAAc,CAAC,iBAAiB,EAAE,GAAG,EAAE;YAC5C,KAAK,EAAG,uBAAe,CAAC,GAAG,CAAC;YAC5B,QAAQ,EAAE,IAAI;YACd,UAAU,EAAE,IAAI;YAChB,YAAY,EAAE,IAAI;SACnB,CAAC,CAAC;KACJ;CACF;AAor6BD,iBAAS,iBAAiB,CAAC"}
@@ -667,7 +667,7 @@ class Stripe {
667
667
  }
668
668
  }
669
669
  exports.Stripe = Stripe;
670
- Stripe.PACKAGE_VERSION = '22.7.0-alpha.2';
670
+ Stripe.PACKAGE_VERSION = '22.7.0-alpha.3';
671
671
  Stripe.API_VERSION = apiVersion_js_1.ApiVersion;
672
672
  /**
673
673
  * The major API version that this SDK uses. Objects retrieved using the same
@@ -1994,7 +1994,7 @@ export declare namespace Charge {
1994
1994
  type AuthenticationFlow = 'challenge' | 'frictionless' | OtherString;
1995
1995
  type ElectronicCommerceIndicator = '01' | '02' | '05' | '06' | '07' | OtherString;
1996
1996
  type ExemptionIndicator = 'low_risk' | 'none' | OtherString;
1997
- type Result = 'attempt_acknowledged' | 'authenticated' | 'exempted' | 'failed' | 'not_supported' | 'processing_error' | OtherString;
1997
+ type Result = 'attempt_acknowledged' | 'authenticated' | 'data_share_only' | 'exempted' | 'failed' | 'not_supported' | 'processing_error' | OtherString;
1998
1998
  type ResultReason = 'abandoned' | 'bypassed' | 'canceled' | 'card_not_enrolled' | 'network_not_supported' | 'protocol_error' | 'rejected' | OtherString;
1999
1999
  type Version = '1.0.2' | '2.1.0' | '2.2.0' | '2.3.0' | '2.3.1' | OtherString;
2000
2000
  }
@@ -1373,6 +1373,10 @@ export declare namespace Session {
1373
1373
  }
1374
1374
  namespace Item {
1375
1375
  interface Subscription {
1376
+ /**
1377
+ * The Unix timestamp marking the subscription's backdated start date.
1378
+ */
1379
+ backdate_start_date?: number | null;
1376
1380
  /**
1377
1381
  * The description for the subscription.
1378
1382
  */
@@ -2821,7 +2825,7 @@ export declare namespace Checkout {
2821
2825
  *
2822
2826
  * For `subscription` mode, there is a maximum of 20 line items and optional items with recurring Prices and 20 line items and optional items with one-time Prices.
2823
2827
  *
2824
- * You can't set this parameter if `ui_mode` is `custom`.
2828
+ * You can't set this parameter if `ui_mode` is `elements` or `form`.
2825
2829
  */
2826
2830
  optional_items?: Array<SessionCreateParams.OptionalItem>;
2827
2831
  /**
@@ -3958,6 +3962,10 @@ export declare namespace Checkout {
3958
3962
  }
3959
3963
  namespace Item {
3960
3964
  interface Subscription {
3965
+ /**
3966
+ * A past timestamp to backdate the subscription's start date to.
3967
+ */
3968
+ backdate_start_date?: number;
3961
3969
  /**
3962
3970
  * Configures when the subscription schedule's billing cycle anchors to a specific day of the week or month.
3963
3971
  */
@@ -504,7 +504,7 @@ export interface CustomerCreateParams {
504
504
  */
505
505
  individual_name?: Emptyable<string>;
506
506
  /**
507
- * The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase letters or numbers.
507
+ * The prefix for the customer used to generate unique invoice numbers. Must be 1–12 uppercase letters or numbers.
508
508
  */
509
509
  invoice_prefix?: string;
510
510
  /**
@@ -707,7 +707,7 @@ export interface CustomerUpdateParams {
707
707
  */
708
708
  individual_name?: Emptyable<string>;
709
709
  /**
710
- * The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase letters or numbers.
710
+ * The prefix for the customer used to generate unique invoice numbers. Must be 1–12 uppercase letters or numbers.
711
711
  */
712
712
  invoice_prefix?: string;
713
713
  /**
@@ -54,6 +54,7 @@ export interface VerificationReport {
54
54
  * Result from a selfie check
55
55
  */
56
56
  selfie?: VerificationReport.Selfie;
57
+ signals?: VerificationReport.Signals;
57
58
  /**
58
59
  * Type of report.
59
60
  */
@@ -270,6 +271,11 @@ export declare namespace VerificationReport {
270
271
  */
271
272
  status: Selfie.Status;
272
273
  }
274
+ interface Signals {
275
+ fraudulent_email?: Signals.FraudulentEmail;
276
+ fraudulent_person?: Signals.FraudulentPerson;
277
+ fraudulent_phone?: Signals.FraudulentPhone;
278
+ }
273
279
  type Type = 'document' | 'email' | 'id_number' | 'verification_flow' | OtherString;
274
280
  namespace Document {
275
281
  interface Dob {
@@ -456,6 +462,101 @@ export declare namespace VerificationReport {
456
462
  type Code = 'selfie_document_missing_photo' | 'selfie_face_mismatch' | 'selfie_manipulated' | 'selfie_unverified_other' | OtherString;
457
463
  }
458
464
  }
465
+ namespace Signals {
466
+ interface FraudulentEmail {
467
+ /**
468
+ * Array of objects representing individual factors that contributed to the calculated risk level.
469
+ */
470
+ indicators: Array<FraudulentEmail.Indicator>;
471
+ /**
472
+ * Categorical assessment of the email risk.
473
+ */
474
+ risk_level: FraudulentEmail.RiskLevel;
475
+ }
476
+ interface FraudulentPerson {
477
+ /**
478
+ * Array of objects representing individual factors that contributed to the calculated risk level.
479
+ */
480
+ indicators: Array<FraudulentPerson.Indicator>;
481
+ /**
482
+ * Categorical assessment of the fraudulent person risk.
483
+ */
484
+ risk_level: FraudulentPerson.RiskLevel;
485
+ }
486
+ interface FraudulentPhone {
487
+ /**
488
+ * Array of objects representing individual factors that contributed to the calculated risk level.
489
+ */
490
+ indicators: Array<FraudulentPhone.Indicator>;
491
+ /**
492
+ * Categorical assessment of the phone risk.
493
+ */
494
+ risk_level: FraudulentPhone.RiskLevel;
495
+ }
496
+ namespace FraudulentEmail {
497
+ interface Indicator {
498
+ /**
499
+ * A brief explanation of how this indicator contributed to the risk level
500
+ */
501
+ explanation: string;
502
+ /**
503
+ * The effect this indicator had on the overall risk level.
504
+ */
505
+ impact: Indicator.Impact;
506
+ /**
507
+ * The name of the specific indicator used in the risk assessment.
508
+ */
509
+ indicator: Indicator.Indicator;
510
+ }
511
+ type RiskLevel = 'elevated' | 'highest' | 'low' | 'normal' | 'not_assessed' | 'unknown' | OtherString;
512
+ namespace Indicator {
513
+ type Impact = 'decrease' | 'neutral' | 'slight_increase' | 'strong_increase' | OtherString;
514
+ type Indicator = 'address_mismatch' | 'domain_reputation' | 'domain_tenure' | 'email_reputation' | 'email_tenure' | 'gibberish_email' | 'invalid_email' | 'name_mismatch' | 'other' | 'phone_mismatch' | OtherString;
515
+ }
516
+ }
517
+ namespace FraudulentPerson {
518
+ interface Indicator {
519
+ /**
520
+ * A brief explanation of how this indicator contributed to the risk level
521
+ */
522
+ explanation: string;
523
+ /**
524
+ * The effect this indicator had on the overall risk level.
525
+ */
526
+ impact: Indicator.Impact;
527
+ /**
528
+ * The name of the specific indicator used in the risk assessment.
529
+ */
530
+ indicator: Indicator.Indicator;
531
+ }
532
+ type RiskLevel = 'elevated' | 'highest' | 'low' | 'normal' | 'not_assessed' | 'unknown' | OtherString;
533
+ namespace Indicator {
534
+ type Impact = 'decrease' | 'neutral' | 'slight_increase' | 'strong_increase' | OtherString;
535
+ type Indicator = 'fraudulent_person_match' | 'no_transaction_match' | 'other' | OtherString;
536
+ }
537
+ }
538
+ namespace FraudulentPhone {
539
+ interface Indicator {
540
+ /**
541
+ * A brief explanation of how this indicator contributed to the risk level
542
+ */
543
+ explanation: string;
544
+ /**
545
+ * The effect this indicator had on the overall risk level.
546
+ */
547
+ impact: Indicator.Impact;
548
+ /**
549
+ * The name of the specific indicator used in the risk assessment.
550
+ */
551
+ indicator: Indicator.Indicator;
552
+ }
553
+ type RiskLevel = 'elevated' | 'highest' | 'low' | 'normal' | 'not_assessed' | 'unknown' | OtherString;
554
+ namespace Indicator {
555
+ type Impact = 'decrease' | 'neutral' | 'slight_increase' | 'strong_increase' | OtherString;
556
+ type Indicator = 'address_mismatch' | 'carrier_reputation' | 'line_type' | 'name_mismatch' | 'other' | 'phone_reputation' | 'phone_tenure' | 'phone_velocity' | OtherString;
557
+ }
558
+ }
559
+ }
459
560
  }
460
561
  export declare namespace Identity {
461
562
  interface VerificationReportRetrieveParams {
@@ -487,6 +487,10 @@ export declare namespace Authorization {
487
487
  * Details about the authorization request, such as identifiers, set by the card network.
488
488
  */
489
489
  network_data?: RequestHistory.NetworkData | null;
490
+ /**
491
+ * The network-specific response code associated with Stripe's decision for this authorization request. The value is a Visa or Mastercard response code depending on the network over which the authorization was routed.
492
+ */
493
+ network_response_code?: string | null;
490
494
  /**
491
495
  * The card network's estimate of the likelihood that an authorization is fraudulent. Takes on values between 1 and 99.
492
496
  */
@@ -1742,7 +1742,7 @@ export declare namespace PaymentAttemptRecord {
1742
1742
  type AuthenticationFlow = 'challenge' | 'frictionless' | OtherString;
1743
1743
  type ElectronicCommerceIndicator = '01' | '02' | '03' | '04' | '05' | '06' | '07' | OtherString;
1744
1744
  type ExemptionIndicator = 'low_risk' | 'none' | OtherString;
1745
- type Result = 'attempt_acknowledged' | 'authenticated' | 'exempted' | 'failed' | 'not_supported' | 'processing_error' | OtherString;
1745
+ type Result = 'attempt_acknowledged' | 'authenticated' | 'data_share_only' | 'exempted' | 'failed' | 'not_supported' | 'processing_error' | OtherString;
1746
1746
  type ResultReason = 'abandoned' | 'bypassed' | 'canceled' | 'card_not_enrolled' | 'network_not_supported' | 'protocol_error' | 'rejected' | OtherString;
1747
1747
  type Version = '1.0.2' | '2.1.0' | '2.2.0' | OtherString;
1748
1748
  }
@@ -44,6 +44,10 @@ export interface PaymentIntentAmountDetailsLineItem {
44
44
  * The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
45
45
  */
46
46
  unit_cost: number;
47
+ /**
48
+ * The number of decimal places implied in the unit_cost. For example, if unit_cost is 10000 and unit_cost_precision is 1, the actual unit cost is 1000.0. Defaults to 0 if not provided.
49
+ */
50
+ unit_cost_precision?: number;
47
51
  /**
48
52
  * A unit of measure for the line item, such as gallons, feet, meters, etc. Required for L3 rates. At most 12 alphanumeric characters long.
49
53
  */
@@ -36,7 +36,7 @@ export declare class PaymentIntentResource extends StripeResource {
36
36
  *
37
37
  * You can retrieve a PaymentIntent client-side using a publishable key when the client_secret is in the query string.
38
38
  *
39
- * If you retrieve a PaymentIntent with a publishable key, it only returns a subset of properties. Refer to the [payment intent](https://docs.stripe.com/api#payment_intent_object) object reference for more details.
39
+ * If you retrieve a PaymentIntent with a publishable key, it only returns a subset of properties. Refer to the [payment intent](https://docs.stripe.com/api/payment_intents/object) object reference for more details.
40
40
  */
41
41
  retrieve(id: string, params?: PaymentIntentRetrieveParams, options?: RequestOptions): Promise<Response<PaymentIntent>>;
42
42
  /**
@@ -347,7 +347,7 @@ export interface PaymentIntent {
347
347
  /**
348
348
  * ID of the [Payment Record object](https://docs.stripe.com/api/payment-record) created by this PaymentIntent.
349
349
  */
350
- payment_record?: string | PaymentRecord | null;
350
+ payment_record: string | PaymentRecord | null;
351
351
  /**
352
352
  * When you enable this parameter, this PaymentIntent will route your payment to processors that you configure in the dashboard.
353
353
  */
@@ -5589,6 +5589,10 @@ export declare namespace PaymentIntentCreateParams {
5589
5589
  * The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
5590
5590
  */
5591
5591
  unit_cost: number;
5592
+ /**
5593
+ * The number of decimal places implied in the unit_cost. For example, if unit_cost is 10000 and unit_cost_precision is 1, the actual unit cost is 1000.0. Defaults to 0 if not provided.
5594
+ */
5595
+ unit_cost_precision?: number;
5592
5596
  /**
5593
5597
  * A unit of measure for the line item, such as gallons, feet, meters, etc.
5594
5598
  */
@@ -11703,6 +11707,10 @@ export declare namespace PaymentIntentUpdateParams {
11703
11707
  * The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
11704
11708
  */
11705
11709
  unit_cost: number;
11710
+ /**
11711
+ * The number of decimal places implied in the unit_cost. For example, if unit_cost is 10000 and unit_cost_precision is 1, the actual unit cost is 1000.0. Defaults to 0 if not provided.
11712
+ */
11713
+ unit_cost_precision?: number;
11706
11714
  /**
11707
11715
  * A unit of measure for the line item, such as gallons, feet, meters, etc.
11708
11716
  */
@@ -17154,6 +17162,10 @@ export declare namespace PaymentIntentCaptureParams {
17154
17162
  * The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
17155
17163
  */
17156
17164
  unit_cost: number;
17165
+ /**
17166
+ * The number of decimal places implied in the unit_cost. For example, if unit_cost is 10000 and unit_cost_precision is 1, the actual unit cost is 1000.0. Defaults to 0 if not provided.
17167
+ */
17168
+ unit_cost_precision?: number;
17157
17169
  /**
17158
17170
  * A unit of measure for the line item, such as gallons, feet, meters, etc.
17159
17171
  */
@@ -19660,6 +19672,10 @@ export declare namespace PaymentIntentConfirmParams {
19660
19672
  * The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
19661
19673
  */
19662
19674
  unit_cost: number;
19675
+ /**
19676
+ * The number of decimal places implied in the unit_cost. For example, if unit_cost is 10000 and unit_cost_precision is 1, the actual unit cost is 1000.0. Defaults to 0 if not provided.
19677
+ */
19678
+ unit_cost_precision?: number;
19663
19679
  /**
19664
19680
  * A unit of measure for the line item, such as gallons, feet, meters, etc.
19665
19681
  */
@@ -25015,6 +25031,10 @@ export declare namespace PaymentIntentDecrementAuthorizationParams {
25015
25031
  * The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
25016
25032
  */
25017
25033
  unit_cost: number;
25034
+ /**
25035
+ * The number of decimal places implied in the unit_cost. For example, if unit_cost is 10000 and unit_cost_precision is 1, the actual unit cost is 1000.0. Defaults to 0 if not provided.
25036
+ */
25037
+ unit_cost_precision?: number;
25018
25038
  /**
25019
25039
  * A unit of measure for the line item, such as gallons, feet, meters, etc.
25020
25040
  */
@@ -25371,6 +25391,10 @@ export declare namespace PaymentIntentIncrementAuthorizationParams {
25371
25391
  * The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
25372
25392
  */
25373
25393
  unit_cost: number;
25394
+ /**
25395
+ * The number of decimal places implied in the unit_cost. For example, if unit_cost is 10000 and unit_cost_precision is 1, the actual unit cost is 1000.0. Defaults to 0 if not provided.
25396
+ */
25397
+ unit_cost_precision?: number;
25374
25398
  /**
25375
25399
  * A unit of measure for the line item, such as gallons, feet, meters, etc.
25376
25400
  */
@@ -29,7 +29,7 @@ export class PaymentIntentResource extends StripeResource {
29
29
  *
30
30
  * You can retrieve a PaymentIntent client-side using a publishable key when the client_secret is in the query string.
31
31
  *
32
- * If you retrieve a PaymentIntent with a publishable key, it only returns a subset of properties. Refer to the [payment intent](https://docs.stripe.com/api#payment_intent_object) object reference for more details.
32
+ * If you retrieve a PaymentIntent with a publishable key, it only returns a subset of properties. Refer to the [payment intent](https://docs.stripe.com/api/payment_intents/object) object reference for more details.
33
33
  */
34
34
  retrieve(id, params, options) {
35
35
  return this._makeRequest('GET', `/v1/payment_intents/${encodeURIComponent(id)}`, params, options);
@@ -1757,7 +1757,7 @@ export declare namespace PaymentRecord {
1757
1757
  type AuthenticationFlow = 'challenge' | 'frictionless' | OtherString;
1758
1758
  type ElectronicCommerceIndicator = '01' | '02' | '03' | '04' | '05' | '06' | '07' | OtherString;
1759
1759
  type ExemptionIndicator = 'low_risk' | 'none' | OtherString;
1760
- type Result = 'attempt_acknowledged' | 'authenticated' | 'exempted' | 'failed' | 'not_supported' | 'processing_error' | OtherString;
1760
+ type Result = 'attempt_acknowledged' | 'authenticated' | 'data_share_only' | 'exempted' | 'failed' | 'not_supported' | 'processing_error' | OtherString;
1761
1761
  type ResultReason = 'abandoned' | 'bypassed' | 'canceled' | 'card_not_enrolled' | 'network_not_supported' | 'protocol_error' | 'rejected' | OtherString;
1762
1762
  type Version = '1.0.2' | '2.1.0' | '2.2.0' | OtherString;
1763
1763
  }
@@ -143,6 +143,10 @@ export declare namespace ProductCatalog {
143
143
  }
144
144
  export declare namespace ProductCatalog {
145
145
  interface TrialOfferListParams extends PaginationParams {
146
+ /**
147
+ * Only return trial offers that are active (`true`) or archived (`false`). If omitted, both active and archived trial offers are returned.
148
+ */
149
+ active?: boolean;
146
150
  /**
147
151
  * Only return trial offers that were created during the given date interval.
148
152
  */
@@ -527,7 +527,7 @@ export declare namespace SetupAttempt {
527
527
  namespace ThreeDSecure {
528
528
  type AuthenticationFlow = 'challenge' | 'frictionless' | OtherString;
529
529
  type ElectronicCommerceIndicator = '01' | '02' | '05' | '06' | '07' | OtherString;
530
- type Result = 'attempt_acknowledged' | 'authenticated' | 'exempted' | 'failed' | 'not_supported' | 'processing_error' | OtherString;
530
+ type Result = 'attempt_acknowledged' | 'authenticated' | 'data_share_only' | 'exempted' | 'failed' | 'not_supported' | 'processing_error' | OtherString;
531
531
  type ResultReason = 'abandoned' | 'bypassed' | 'canceled' | 'card_not_enrolled' | 'network_not_supported' | 'protocol_error' | 'rejected' | OtherString;
532
532
  type Version = '1.0.2' | '2.1.0' | '2.2.0' | '2.3.0' | '2.3.1' | OtherString;
533
533
  }
@@ -1092,7 +1092,7 @@ export declare namespace Subscription {
1092
1092
  /**
1093
1093
  * Indicates how the subscription's billing cycle anchor is reset when a trial ends. If not set, the default is `now`.
1094
1094
  */
1095
- billing_cycle_anchor?: EndBehavior.BillingCycleAnchor | null;
1095
+ billing_cycle_anchor: EndBehavior.BillingCycleAnchor | null;
1096
1096
  /**
1097
1097
  * Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
1098
1098
  */
@@ -67,6 +67,10 @@ export declare namespace CalculationLineItem {
67
67
  * The amount of tax, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
68
68
  */
69
69
  amount: number;
70
+ /**
71
+ * The ID of the [customer tax exemption](https://docs.stripe.com/api/tax/exemptions) that was applied to this tax breakdown.
72
+ */
73
+ customer_tax_exemption?: string;
70
74
  jurisdiction: TaxBreakdown.Jurisdiction;
71
75
  /**
72
76
  * Indicates whether the jurisdiction was determined by the origin (merchant's address) or destination (customer's address).
@@ -170,6 +170,10 @@ export declare namespace Calculation {
170
170
  * The amount of tax, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
171
171
  */
172
172
  amount: number;
173
+ /**
174
+ * The ID of the [customer tax exemption](https://docs.stripe.com/api/tax/exemptions) that was applied to this tax breakdown.
175
+ */
176
+ customer_tax_exemption?: string;
173
177
  jurisdiction: TaxBreakdown.Jurisdiction;
174
178
  /**
175
179
  * Indicates whether the jurisdiction was determined by the origin (merchant's address) or destination (customer's address).
@@ -170,6 +170,10 @@ export declare namespace Transaction {
170
170
  * The amount of tax, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
171
171
  */
172
172
  amount: number;
173
+ /**
174
+ * The ID of the [customer tax exemption](https://docs.stripe.com/api/tax/exemptions) that was applied to this tax breakdown.
175
+ */
176
+ customer_tax_exemption?: string;
173
177
  jurisdiction: TaxBreakdown.Jurisdiction;
174
178
  /**
175
179
  * Indicates whether the jurisdiction was determined by the origin (merchant's address) or destination (customer's address).
@@ -183,7 +183,7 @@ export declare namespace FinancialAccount {
183
183
  */
184
184
  routing_number: string;
185
185
  }
186
- type SupportedNetwork = 'ach' | 'us_domestic_wire' | OtherString;
186
+ type SupportedNetwork = 'ach' | 'rtp' | 'us_domestic_wire' | OtherString;
187
187
  }
188
188
  namespace PlatformRestrictions {
189
189
  type InboundFlows = 'restricted' | 'unrestricted' | OtherString;
@@ -7583,7 +7583,7 @@ export declare namespace Account {
7583
7583
  deadline: RestrictsCapability.Deadline;
7584
7584
  }
7585
7585
  namespace RestrictsCapability {
7586
- type Capability = 'ach_debit_payments' | 'acss_debit_payments' | 'affirm_payments' | 'afterpay_clearpay_payments' | 'alma_payments' | 'amazon_pay_payments' | 'automatic_indirect_tax' | 'au_becs_debit_payments' | 'bacs_debit_payments' | 'bancontact_payments' | 'bank_accounts.ach' | 'bank_accounts.becs' | 'bank_accounts.eft' | 'bank_accounts.fedwire' | 'bank_accounts.fps' | 'bank_accounts.instant' | 'bank_accounts.local' | 'bank_accounts.npp' | 'bank_accounts.rtp' | 'bank_accounts.sepa_credit' | 'bank_accounts.sepa_instant' | 'bank_accounts.swift' | 'bank_accounts.wire' | 'blik_payments' | 'boleto_payments' | 'business_storage.inbound.eur' | 'business_storage.inbound.gbp' | 'business_storage.inbound.usd' | 'business_storage.outbound.eur' | 'business_storage.outbound.gbp' | 'business_storage.outbound.usd' | 'cards' | 'card_payments' | 'cartes_bancaires_payments' | 'cashapp_payments' | 'commercial.celtic.charge_card' | 'commercial.celtic.spend_card' | 'commercial.cross_river_bank.charge_card' | 'commercial.cross_river_bank.prepaid_card' | 'commercial.cross_river_bank.spend_card' | 'commercial.fifth_third.charge_card' | 'commercial.lead.prepaid_card' | 'commercial.stripe.charge_card' | 'commercial.stripe.prepaid_card' | 'commercial.stripe.spend_card' | 'consumer.celtic.revolving_credit_card' | 'consumer.cross_river_bank.prepaid_card' | 'consumer.holds_currencies.usd' | 'consumer.lead.debit_card' | 'consumer.lead.prepaid_card' | 'consumer_storage.inbound.usd' | 'consumer_storage.outbound.usd' | 'crypto_wallets' | 'eps_payments' | 'financial_addresses.bank_accounts' | 'fpx_payments' | 'gb_bank_transfer_payments' | 'grabpay_payments' | 'holds_currencies.eur' | 'holds_currencies.gbp' | 'holds_currencies.usd' | 'ideal_payments' | 'inbound_transfers.financial_accounts' | 'jcb_payments' | 'jp_bank_transfer_payments' | 'kakao_pay_payments' | 'klarna_payments' | 'konbini_payments' | 'kr_card_payments' | 'link_payments' | 'mobilepay_payments' | 'multibanco_payments' | 'mx_bank_transfer_payments' | 'naver_pay_payments' | 'outbound_payments.bank_accounts' | 'outbound_payments.cards' | 'outbound_payments.financial_accounts' | 'outbound_payments.paper_checks' | 'outbound_transfers.bank_accounts' | 'outbound_transfers.financial_accounts' | 'oxxo_payments' | 'p24_payments' | 'paper_checks' | 'payco_payments' | 'paynow_payments' | 'pay_by_bank_payments' | 'promptpay_payments' | 'received_credits.bank_accounts' | 'received_debits.bank_accounts' | 'revolut_pay_payments' | 'samsung_pay_payments' | 'sepa_bank_transfer_payments' | 'sepa_debit_payments' | 'stripe_balance.payouts' | 'stripe_balance.stripe_transfers' | 'swish_payments' | 'twint_payments' | 'us_bank_transfer_payments' | 'zip_payments' | OtherString;
7586
+ type Capability = 'ach_debit_payments' | 'acss_debit_payments' | 'affirm_payments' | 'afterpay_clearpay_payments' | 'alma_payments' | 'amazon_pay_payments' | 'automatic_indirect_tax' | 'au_becs_debit_payments' | 'bacs_debit_payments' | 'bancontact_payments' | 'bank_accounts.ach' | 'bank_accounts.becs' | 'bank_accounts.eft' | 'bank_accounts.fedwire' | 'bank_accounts.fps' | 'bank_accounts.instant' | 'bank_accounts.local' | 'bank_accounts.npp' | 'bank_accounts.rtp' | 'bank_accounts.sepa_credit' | 'bank_accounts.sepa_instant' | 'bank_accounts.swift' | 'bank_accounts.wire' | 'blik_payments' | 'blik_recurring_payments' | 'boleto_payments' | 'business_storage.inbound.eur' | 'business_storage.inbound.gbp' | 'business_storage.inbound.usd' | 'business_storage.outbound.eur' | 'business_storage.outbound.gbp' | 'business_storage.outbound.usd' | 'cards' | 'card_payments' | 'cartes_bancaires_payments' | 'cashapp_payments' | 'commercial.celtic.charge_card' | 'commercial.celtic.spend_card' | 'commercial.cross_river_bank.charge_card' | 'commercial.cross_river_bank.prepaid_card' | 'commercial.cross_river_bank.spend_card' | 'commercial.fifth_third.charge_card' | 'commercial.lead.prepaid_card' | 'commercial.stripe.charge_card' | 'commercial.stripe.prepaid_card' | 'commercial.stripe.spend_card' | 'consumer.celtic.revolving_credit_card' | 'consumer.cross_river_bank.prepaid_card' | 'consumer.holds_currencies.usd' | 'consumer.lead.debit_card' | 'consumer.lead.prepaid_card' | 'consumer_storage.inbound.usd' | 'consumer_storage.outbound.usd' | 'crypto_wallets' | 'eps_payments' | 'financial_addresses.bank_accounts' | 'fpx_payments' | 'gb_bank_transfer_payments' | 'grabpay_payments' | 'holds_currencies.eur' | 'holds_currencies.gbp' | 'holds_currencies.usd' | 'ideal_payments' | 'inbound_transfers.financial_accounts' | 'jcb_payments' | 'jp_bank_transfer_payments' | 'kakao_pay_payments' | 'klarna_payments' | 'konbini_payments' | 'kr_card_payments' | 'link_payments' | 'mobilepay_payments' | 'multibanco_payments' | 'mx_bank_transfer_payments' | 'naver_pay_payments' | 'outbound_payments.bank_accounts' | 'outbound_payments.cards' | 'outbound_payments.financial_accounts' | 'outbound_payments.paper_checks' | 'outbound_transfers.bank_accounts' | 'outbound_transfers.financial_accounts' | 'oxxo_payments' | 'p24_payments' | 'paper_checks' | 'payco_payments' | 'paynow_payments' | 'pay_by_bank_payments' | 'promptpay_payments' | 'received_credits.bank_accounts' | 'received_debits.bank_accounts' | 'revolut_pay_payments' | 'samsung_pay_payments' | 'sepa_bank_transfer_payments' | 'sepa_debit_payments' | 'stripe_balance.payouts' | 'stripe_balance.stripe_transfers' | 'swish_payments' | 'twint_payments' | 'us_bank_transfer_payments' | 'zip_payments' | OtherString;
7587
7587
  type Configuration = 'card_creator' | 'customer' | 'merchant' | 'money_manager' | 'recipient' | 'storer' | OtherString;
7588
7588
  interface Deadline {
7589
7589
  /**
@@ -9830,7 +9830,7 @@ export declare namespace Account {
9830
9830
  deadline: RestrictsCapability.Deadline;
9831
9831
  }
9832
9832
  namespace RestrictsCapability {
9833
- type Capability = 'ach_debit_payments' | 'acss_debit_payments' | 'affirm_payments' | 'afterpay_clearpay_payments' | 'alma_payments' | 'amazon_pay_payments' | 'automatic_indirect_tax' | 'au_becs_debit_payments' | 'bacs_debit_payments' | 'bancontact_payments' | 'bank_accounts.ach' | 'bank_accounts.becs' | 'bank_accounts.eft' | 'bank_accounts.fedwire' | 'bank_accounts.fps' | 'bank_accounts.instant' | 'bank_accounts.local' | 'bank_accounts.npp' | 'bank_accounts.rtp' | 'bank_accounts.sepa_credit' | 'bank_accounts.sepa_instant' | 'bank_accounts.swift' | 'bank_accounts.wire' | 'blik_payments' | 'boleto_payments' | 'business_storage.inbound.eur' | 'business_storage.inbound.gbp' | 'business_storage.inbound.usd' | 'business_storage.outbound.eur' | 'business_storage.outbound.gbp' | 'business_storage.outbound.usd' | 'cards' | 'card_payments' | 'cartes_bancaires_payments' | 'cashapp_payments' | 'commercial.celtic.charge_card' | 'commercial.celtic.spend_card' | 'commercial.cross_river_bank.charge_card' | 'commercial.cross_river_bank.prepaid_card' | 'commercial.cross_river_bank.spend_card' | 'commercial.fifth_third.charge_card' | 'commercial.lead.prepaid_card' | 'commercial.stripe.charge_card' | 'commercial.stripe.prepaid_card' | 'commercial.stripe.spend_card' | 'consumer.celtic.revolving_credit_card' | 'consumer.cross_river_bank.prepaid_card' | 'consumer.holds_currencies.usd' | 'consumer.lead.debit_card' | 'consumer.lead.prepaid_card' | 'consumer_storage.inbound.usd' | 'consumer_storage.outbound.usd' | 'crypto_wallets' | 'eps_payments' | 'financial_addresses.bank_accounts' | 'fpx_payments' | 'gb_bank_transfer_payments' | 'grabpay_payments' | 'holds_currencies.eur' | 'holds_currencies.gbp' | 'holds_currencies.usd' | 'ideal_payments' | 'inbound_transfers.financial_accounts' | 'jcb_payments' | 'jp_bank_transfer_payments' | 'kakao_pay_payments' | 'klarna_payments' | 'konbini_payments' | 'kr_card_payments' | 'link_payments' | 'mobilepay_payments' | 'multibanco_payments' | 'mx_bank_transfer_payments' | 'naver_pay_payments' | 'outbound_payments.bank_accounts' | 'outbound_payments.cards' | 'outbound_payments.financial_accounts' | 'outbound_payments.paper_checks' | 'outbound_transfers.bank_accounts' | 'outbound_transfers.financial_accounts' | 'oxxo_payments' | 'p24_payments' | 'paper_checks' | 'payco_payments' | 'paynow_payments' | 'pay_by_bank_payments' | 'promptpay_payments' | 'received_credits.bank_accounts' | 'received_debits.bank_accounts' | 'revolut_pay_payments' | 'samsung_pay_payments' | 'sepa_bank_transfer_payments' | 'sepa_debit_payments' | 'stripe_balance.payouts' | 'stripe_balance.stripe_transfers' | 'swish_payments' | 'twint_payments' | 'us_bank_transfer_payments' | 'zip_payments' | OtherString;
9833
+ type Capability = 'ach_debit_payments' | 'acss_debit_payments' | 'affirm_payments' | 'afterpay_clearpay_payments' | 'alma_payments' | 'amazon_pay_payments' | 'automatic_indirect_tax' | 'au_becs_debit_payments' | 'bacs_debit_payments' | 'bancontact_payments' | 'bank_accounts.ach' | 'bank_accounts.becs' | 'bank_accounts.eft' | 'bank_accounts.fedwire' | 'bank_accounts.fps' | 'bank_accounts.instant' | 'bank_accounts.local' | 'bank_accounts.npp' | 'bank_accounts.rtp' | 'bank_accounts.sepa_credit' | 'bank_accounts.sepa_instant' | 'bank_accounts.swift' | 'bank_accounts.wire' | 'blik_payments' | 'blik_recurring_payments' | 'boleto_payments' | 'business_storage.inbound.eur' | 'business_storage.inbound.gbp' | 'business_storage.inbound.usd' | 'business_storage.outbound.eur' | 'business_storage.outbound.gbp' | 'business_storage.outbound.usd' | 'cards' | 'card_payments' | 'cartes_bancaires_payments' | 'cashapp_payments' | 'commercial.celtic.charge_card' | 'commercial.celtic.spend_card' | 'commercial.cross_river_bank.charge_card' | 'commercial.cross_river_bank.prepaid_card' | 'commercial.cross_river_bank.spend_card' | 'commercial.fifth_third.charge_card' | 'commercial.lead.prepaid_card' | 'commercial.stripe.charge_card' | 'commercial.stripe.prepaid_card' | 'commercial.stripe.spend_card' | 'consumer.celtic.revolving_credit_card' | 'consumer.cross_river_bank.prepaid_card' | 'consumer.holds_currencies.usd' | 'consumer.lead.debit_card' | 'consumer.lead.prepaid_card' | 'consumer_storage.inbound.usd' | 'consumer_storage.outbound.usd' | 'crypto_wallets' | 'eps_payments' | 'financial_addresses.bank_accounts' | 'fpx_payments' | 'gb_bank_transfer_payments' | 'grabpay_payments' | 'holds_currencies.eur' | 'holds_currencies.gbp' | 'holds_currencies.usd' | 'ideal_payments' | 'inbound_transfers.financial_accounts' | 'jcb_payments' | 'jp_bank_transfer_payments' | 'kakao_pay_payments' | 'klarna_payments' | 'konbini_payments' | 'kr_card_payments' | 'link_payments' | 'mobilepay_payments' | 'multibanco_payments' | 'mx_bank_transfer_payments' | 'naver_pay_payments' | 'outbound_payments.bank_accounts' | 'outbound_payments.cards' | 'outbound_payments.financial_accounts' | 'outbound_payments.paper_checks' | 'outbound_transfers.bank_accounts' | 'outbound_transfers.financial_accounts' | 'oxxo_payments' | 'p24_payments' | 'paper_checks' | 'payco_payments' | 'paynow_payments' | 'pay_by_bank_payments' | 'promptpay_payments' | 'received_credits.bank_accounts' | 'received_debits.bank_accounts' | 'revolut_pay_payments' | 'samsung_pay_payments' | 'sepa_bank_transfer_payments' | 'sepa_debit_payments' | 'stripe_balance.payouts' | 'stripe_balance.stripe_transfers' | 'swish_payments' | 'twint_payments' | 'us_bank_transfer_payments' | 'zip_payments' | OtherString;
9834
9834
  type Configuration = 'card_creator' | 'customer' | 'merchant' | 'money_manager' | 'recipient' | 'storer' | OtherString;
9835
9835
  interface Deadline {
9836
9836
  /**
@@ -663,7 +663,7 @@ export class Stripe {
663
663
  return StripeEventNotificationHandler.withoutVerification(this, fallbackCallback);
664
664
  }
665
665
  }
666
- Stripe.PACKAGE_VERSION = '22.7.0-alpha.2';
666
+ Stripe.PACKAGE_VERSION = '22.7.0-alpha.3';
667
667
  Stripe.API_VERSION = ApiVersion;
668
668
  /**
669
669
  * The major API version that this SDK uses. Objects retrieved using the same
@@ -664,7 +664,7 @@ export class Stripe {
664
664
  return StripeEventNotificationHandler.withoutVerification(this, fallbackCallback);
665
665
  }
666
666
  }
667
- Stripe.PACKAGE_VERSION = '22.7.0-alpha.2';
667
+ Stripe.PACKAGE_VERSION = '22.7.0-alpha.3';
668
668
  Stripe.API_VERSION = ApiVersion;
669
669
  /**
670
670
  * The major API version that this SDK uses. Objects retrieved using the same
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stripe",
3
- "version": "22.7.0-alpha.2",
3
+ "version": "22.7.0-alpha.3",
4
4
  "description": "Stripe API wrapper",
5
5
  "keywords": [
6
6
  "stripe",