stripe 22.2.0-alpha.1 → 22.2.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 (153) hide show
  1. package/CHANGELOG.md +79 -0
  2. package/OPENAPI_VERSION +1 -1
  3. package/VERSION +1 -1
  4. package/cjs/resources/AccountSessions.d.ts +60 -0
  5. package/cjs/resources/Accounts.d.ts +51 -1
  6. package/cjs/resources/BalanceTransactions.d.ts +4 -4
  7. package/cjs/resources/Billing/MeterEvents.d.ts +1 -1
  8. package/cjs/resources/Billing/Meters.d.ts +1 -1
  9. package/cjs/resources/Charges.d.ts +22 -3
  10. package/cjs/resources/Checkout/Sessions.d.ts +27 -7
  11. package/cjs/resources/ConfirmationTokens.d.ts +4 -1
  12. package/cjs/resources/CreditNoteLineItems.d.ts +1 -1
  13. package/cjs/resources/CreditNotes.d.ts +1 -1
  14. package/cjs/resources/Customers.d.ts +5 -5
  15. package/cjs/resources/DelegatedCheckout/RequestedSessions.d.ts +52 -0
  16. package/cjs/resources/Identity/VerificationSessions.d.ts +2 -2
  17. package/cjs/resources/InvoiceLineItems.d.ts +2 -1
  18. package/cjs/resources/Invoices.d.ts +31 -13
  19. package/cjs/resources/Issuing/Authorizations.d.ts +5 -0
  20. package/cjs/resources/Issuing/Cardholders.d.ts +30 -0
  21. package/cjs/resources/Issuing/Cards.d.ts +32 -2
  22. package/cjs/resources/Orders.d.ts +6 -6
  23. package/cjs/resources/PaymentAttemptRecords.d.ts +31 -11
  24. package/cjs/resources/PaymentIntents.d.ts +76 -29
  25. package/cjs/resources/PaymentLinks.d.ts +4 -4
  26. package/cjs/resources/PaymentMethodConfigurations.d.ts +70 -0
  27. package/cjs/resources/PaymentMethods.d.ts +16 -3
  28. package/cjs/resources/PaymentRecords.d.ts +31 -11
  29. package/cjs/resources/Privacy/RedactionJobs.d.ts +5 -1
  30. package/cjs/resources/Products.d.ts +14 -0
  31. package/cjs/resources/QuotePreviewInvoices.d.ts +15 -9
  32. package/cjs/resources/Radar/PaymentEvaluations.d.ts +4 -4
  33. package/cjs/resources/Radar/ValueLists.d.ts +4 -4
  34. package/cjs/resources/SetupAttempts.d.ts +5 -1
  35. package/cjs/resources/SetupIntents.d.ts +42 -12
  36. package/cjs/resources/SharedPayment/IssuedTokens.d.ts +99 -0
  37. package/cjs/resources/SharedPayment/IssuedTokens.js +23 -0
  38. package/cjs/resources/SharedPayment/IssuedTokens.js.map +1 -1
  39. package/cjs/resources/SharedPayment/index.d.ts +5 -1
  40. package/cjs/resources/SharedPayment/index.js +2 -0
  41. package/cjs/resources/SharedPayment/index.js.map +1 -1
  42. package/cjs/resources/Subscriptions.d.ts +60 -9
  43. package/cjs/resources/Subscriptions.js +1 -1
  44. package/cjs/resources/Tax/Calculations.d.ts +5 -5
  45. package/cjs/resources/Tax/Registrations.d.ts +81 -1
  46. package/cjs/resources/Tax/Transactions.d.ts +3 -3
  47. package/cjs/resources/TaxIds.d.ts +4 -4
  48. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +11 -1
  49. package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +8 -0
  50. package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +16 -0
  51. package/cjs/resources/Treasury/OutboundPayments.d.ts +8 -0
  52. package/cjs/resources/V2/Core/AccountTokens.d.ts +2 -2
  53. package/cjs/resources/V2/Core/Accounts.d.ts +265 -16
  54. package/cjs/resources/V2/Core/Accounts.js +1 -1
  55. package/cjs/resources/V2/Core/Events.d.ts +89 -4
  56. package/cjs/resources/V2/Data/Analytics/MetricQuery.d.ts +73 -0
  57. package/cjs/resources/V2/Data/Analytics/MetricQuery.js +36 -0
  58. package/cjs/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
  59. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.d.ts +82 -0
  60. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js +4 -0
  61. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js.map +1 -0
  62. package/cjs/resources/V2/Data/Analytics/index.d.ts +12 -0
  63. package/cjs/resources/V2/Data/Analytics/index.js +13 -0
  64. package/cjs/resources/V2/Data/Analytics/index.js.map +1 -0
  65. package/cjs/resources/V2/Data/index.d.ts +3 -0
  66. package/cjs/resources/V2/Data/index.js +4 -2
  67. package/cjs/resources/V2/Data/index.js.map +1 -1
  68. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +54 -2
  69. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +92 -2
  70. package/cjs/resources/V2/Network/BusinessProfiles.d.ts +4 -4
  71. package/cjs/resources/V2/Network/BusinessProfiles.js +2 -2
  72. package/cjs/resources/V2/Payments/OffSessionPayments.d.ts +15 -15
  73. package/cjs/resources/V2/Payments/OffSessionPayments.js.map +1 -1
  74. package/cjs/resources/WebhookEndpoints.d.ts +1 -1
  75. package/cjs/resources.js +6 -0
  76. package/cjs/resources.js.map +1 -1
  77. package/cjs/stripe.core.js +1 -1
  78. package/esm/resources/AccountSessions.d.ts +60 -0
  79. package/esm/resources/Accounts.d.ts +51 -1
  80. package/esm/resources/BalanceTransactions.d.ts +4 -4
  81. package/esm/resources/Billing/MeterEvents.d.ts +1 -1
  82. package/esm/resources/Billing/Meters.d.ts +1 -1
  83. package/esm/resources/Charges.d.ts +22 -3
  84. package/esm/resources/Checkout/Sessions.d.ts +27 -7
  85. package/esm/resources/ConfirmationTokens.d.ts +4 -1
  86. package/esm/resources/CreditNoteLineItems.d.ts +1 -1
  87. package/esm/resources/CreditNotes.d.ts +1 -1
  88. package/esm/resources/Customers.d.ts +5 -5
  89. package/esm/resources/DelegatedCheckout/RequestedSessions.d.ts +52 -0
  90. package/esm/resources/Identity/VerificationSessions.d.ts +2 -2
  91. package/esm/resources/InvoiceLineItems.d.ts +2 -1
  92. package/esm/resources/Invoices.d.ts +31 -13
  93. package/esm/resources/Issuing/Authorizations.d.ts +5 -0
  94. package/esm/resources/Issuing/Cardholders.d.ts +30 -0
  95. package/esm/resources/Issuing/Cards.d.ts +32 -2
  96. package/esm/resources/Orders.d.ts +6 -6
  97. package/esm/resources/PaymentAttemptRecords.d.ts +31 -11
  98. package/esm/resources/PaymentIntents.d.ts +76 -29
  99. package/esm/resources/PaymentLinks.d.ts +4 -4
  100. package/esm/resources/PaymentMethodConfigurations.d.ts +70 -0
  101. package/esm/resources/PaymentMethods.d.ts +16 -3
  102. package/esm/resources/PaymentRecords.d.ts +31 -11
  103. package/esm/resources/Privacy/RedactionJobs.d.ts +5 -1
  104. package/esm/resources/Products.d.ts +14 -0
  105. package/esm/resources/QuotePreviewInvoices.d.ts +15 -9
  106. package/esm/resources/Radar/PaymentEvaluations.d.ts +4 -4
  107. package/esm/resources/Radar/ValueLists.d.ts +4 -4
  108. package/esm/resources/SetupAttempts.d.ts +5 -1
  109. package/esm/resources/SetupIntents.d.ts +42 -12
  110. package/esm/resources/SharedPayment/IssuedTokens.d.ts +99 -0
  111. package/esm/resources/SharedPayment/IssuedTokens.js +21 -1
  112. package/esm/resources/SharedPayment/IssuedTokens.js.map +1 -1
  113. package/esm/resources/SharedPayment/index.d.ts +5 -1
  114. package/esm/resources/SharedPayment/index.js +2 -0
  115. package/esm/resources/SharedPayment/index.js.map +1 -1
  116. package/esm/resources/Subscriptions.d.ts +60 -9
  117. package/esm/resources/Subscriptions.js +1 -1
  118. package/esm/resources/Tax/Calculations.d.ts +5 -5
  119. package/esm/resources/Tax/Registrations.d.ts +81 -1
  120. package/esm/resources/Tax/Transactions.d.ts +3 -3
  121. package/esm/resources/TaxIds.d.ts +4 -4
  122. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +11 -1
  123. package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +8 -0
  124. package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +16 -0
  125. package/esm/resources/Treasury/OutboundPayments.d.ts +8 -0
  126. package/esm/resources/V2/Core/AccountTokens.d.ts +2 -2
  127. package/esm/resources/V2/Core/Accounts.d.ts +265 -16
  128. package/esm/resources/V2/Core/Accounts.js +1 -1
  129. package/esm/resources/V2/Core/Events.d.ts +89 -4
  130. package/esm/resources/V2/Data/Analytics/MetricQuery.d.ts +73 -0
  131. package/esm/resources/V2/Data/Analytics/MetricQuery.js +32 -0
  132. package/esm/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
  133. package/esm/resources/V2/Data/Analytics/MetricQueryResults.d.ts +82 -0
  134. package/esm/resources/V2/Data/Analytics/MetricQueryResults.js +3 -0
  135. package/esm/resources/V2/Data/Analytics/MetricQueryResults.js.map +1 -0
  136. package/esm/resources/V2/Data/Analytics/index.d.ts +12 -0
  137. package/esm/resources/V2/Data/Analytics/index.js +9 -0
  138. package/esm/resources/V2/Data/Analytics/index.js.map +1 -0
  139. package/esm/resources/V2/Data/index.d.ts +3 -0
  140. package/esm/resources/V2/Data/index.js +2 -0
  141. package/esm/resources/V2/Data/index.js.map +1 -1
  142. package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +54 -2
  143. package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +92 -2
  144. package/esm/resources/V2/Network/BusinessProfiles.d.ts +4 -4
  145. package/esm/resources/V2/Network/BusinessProfiles.js +2 -2
  146. package/esm/resources/V2/Payments/OffSessionPayments.d.ts +15 -15
  147. package/esm/resources/V2/Payments/OffSessionPayments.js.map +1 -1
  148. package/esm/resources/WebhookEndpoints.d.ts +1 -1
  149. package/esm/resources.js +6 -0
  150. package/esm/resources.js.map +1 -1
  151. package/esm/stripe.core.js +1 -1
  152. package/esm/stripe.esm.node.js +1 -1
  153. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,84 @@
1
1
  # Changelog
2
2
 
3
+ ## 22.2.0-alpha.3 - 2026-04-28
4
+ * [#2696](https://github.com/stripe/stripe-node/pull/2696) Update generated code for private-preview
5
+ * Add support for `debit_card` on `V2.Core.Account.configuration.card_creator.capabilities.consumer.lead`, `V2.Core.Account.identity.attestations.terms_of_service.card_creator.consumer.lead`, `V2.Core.AccountCreateParams.configuration.card_creator.capabilities.consumer.lead`, `V2.Core.AccountCreateParams.identity.attestations.terms_of_service.card_creator.consumer.lead`, `V2.Core.AccountUpdateParams.configuration.card_creator.capabilities.consumer.lead`, and `V2.Core.AccountUpdateParams.identity.attestations.terms_of_service.card_creator.consumer.lead`
6
+ * ⚠️ Add support for new value `consumer.lead.debit_card` on enums `V2.Core.Account.future_requirements.entries[].impact.restricts_capabilities[].capability` and `V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability`
7
+ * ⚠️ Add support for new value `consumer.lead.debit_card` on enum `EventsV2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEvent.updated_capability`
8
+
9
+ ## 22.2.0-alpha.2 - 2026-04-28
10
+ * [#2695](https://github.com/stripe/stripe-node/pull/2695) Update generated code for private-preview
11
+ * Add support for new resource `V2.Data.Analytics.MetricQueryResult`
12
+ * Add support for `create`, `retrieve`, and `revoke` methods on resource `SharedPayment.IssuedToken`
13
+ * Add support for `create` method on resource `V2.Data.Analytics.MetricQueryResult`
14
+ * Add support for `app_distribution` and `sunbit_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
15
+ * Add support for `balance_report` and `payout_reconciliation_report` on `AccountSession.components` and `AccountSessionCreateParams.components`
16
+ * ⚠️ Add support for new values `fee_credit_funding`, `inbound_transfer_reversal`, and `inbound_transfer` on enum `BalanceTransaction.type`
17
+ * Add support for `sunbit` on `Charge.payment_method_details`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.testHelpers.payment_method_data`, `PaymentAttemptRecord.payment_method_details`, `PaymentIntentConfirmParams.payment_method_data`, `PaymentIntentCreateParams.payment_method_data`, `PaymentIntentUpdateParams.payment_method_data`, `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, `PaymentMethodConfiguration`, `PaymentMethodCreateParams`, `PaymentMethod`, `PaymentRecord.payment_method_details`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data`
18
+ * ⚠️ Add support for new values `phantom_cash` and `usdt` on enums `Charge.payment_method_details.crypto.token_currency`, `PaymentAttemptRecord.payment_method_details.crypto.token_currency`, and `PaymentRecord.payment_method_details.crypto.token_currency`
19
+ * Add support for `last4` on `Charge.payment_method_details.gift_card`, `PaymentAttemptRecord.payment_method_details.gift_card`, and `PaymentRecord.payment_method_details.gift_card`
20
+ * Add support for `location` and `reader` on `Charge.payment_method_details.klarna`, `PaymentAttemptRecord.payment_method_details.klarna`, and `PaymentRecord.payment_method_details.klarna`
21
+ * Add support for new value `sunbit` on enum `Checkout.SessionCreateParams.excluded_payment_method_types`
22
+ * Add support for `blik` on `Checkout.SessionCreateParams.payment_method_options`, `Invoice.payment_settings.payment_method_options`, `InvoiceCreateParams.payment_settings.payment_method_options`, `InvoiceUpdateParams.payment_settings.payment_method_options`, `QuotePreviewInvoice.payment_settings.payment_method_options`, `Subscription.payment_settings.payment_method_options`, `SubscriptionCreateParams.payment_settings.payment_method_options`, and `SubscriptionUpdateParams.payment_settings.payment_method_options`
23
+ * Add support for new value `sunbit` on enum `Checkout.SessionCreateParams.payment_method_types`
24
+ * ⚠️ Add support for new values `fo_vat`, `gi_tin`, `it_cf`, and `py_ruc` on enums `Checkout.Session.collected_information.tax_ids[].type`, `Checkout.Session.customer_details.tax_ids[].type`, `Invoice.customer_tax_ids[].type`, `Order.tax_details.tax_ids[].type`, `QuotePreviewInvoice.customer_tax_ids[].type`, `Tax.Calculation.customer_details.tax_ids[].type`, `Tax.Transaction.customer_details.tax_ids[].type`, and `TaxId.type`
25
+ * Change `Checkout.Session.managed_payments`, `PaymentIntent.managed_payments`, `PaymentLink.managed_payments`, and `Subscription.managed_payments` to be required
26
+ * Add support for `shared_payment_granted_token` on `ConfirmationTokenCreateParams.testHelpers.payment_method_data`, `PaymentIntentConfirmParams.payment_method_data`, `PaymentIntentCreateParams.payment_method_data`, `PaymentIntentUpdateParams.payment_method_data`, `PaymentMethod`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data`
27
+ * Add support for new value `sunbit` 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`
28
+ * ⚠️ Add support for new value `sunbit` on enums `ConfirmationToken.payment_method_preview.type` and `PaymentMethod.type`
29
+ * ⚠️ Change type of `CreditNote.total_taxes[].tax_rate_details.tax_rate`, `CreditNoteLineItem.taxes[].tax_rate_details.tax_rate`, `Invoice.total_taxes[].tax_rate_details.tax_rate`, `InvoiceLineItem.taxes[].tax_rate_details.tax_rate`, and `QuotePreviewInvoice.total_taxes[].tax_rate_details.tax_rate` from `string` to `expandable(TaxRate)`
30
+ * Add support for new values `fo_vat`, `gi_tin`, `it_cf`, and `py_ruc` on enums `CustomerCreateParams.tax_id_data[].type`, `CustomerCreateTaxIdParams.type`, `InvoiceCreatePreviewParams.customer_details.tax_ids[].type`, `OrderCreateParams.tax_details.tax_ids[].type`, `OrderUpdateParams.tax_details.tax_ids[].type`, `Tax.CalculationCreateParams.customer_details.tax_ids[].type`, and `TaxIdCreateParams.type`
31
+ * Add support for new value `sunbit` on enums `CustomerListPaymentMethodsParams.type`, `PaymentMethodCreateParams.type`, and `PaymentMethodListParams.type`
32
+ * Add support for `buyer_consents` on `DelegatedCheckout.RequestedSessionConfirmParams`
33
+ * Add support for `consents` on `DelegatedCheckout.RequestedSession.buyer_consents.marketing`
34
+ * Add support for new value `blik` on enums `InvoiceCreateParams.payment_settings.payment_method_types`, `InvoiceUpdateParams.payment_settings.payment_method_types`, `SubscriptionCreateParams.payment_settings.payment_method_types`, and `SubscriptionUpdateParams.payment_settings.payment_method_types`
35
+ * ⚠️ Add support for new value `blik` on enums `Invoice.payment_settings.payment_method_types`, `QuotePreviewInvoice.payment_settings.payment_method_types`, and `Subscription.payment_settings.payment_method_types`
36
+ * Change `Invoice.payment_settings.payment_method_options.pix`, `QuotePreviewInvoice.payment_settings.payment_method_options.pix`, and `Subscription.payment_settings.payment_method_options.pix` to be required
37
+ * Change `Invoice.payment_settings.payment_method_options.upi`, `QuotePreviewInvoice.payment_settings.payment_method_options.upi`, and `Subscription.payment_settings.payment_method_options.upi` to be required
38
+ * Add support for `payment_facilitator_id` and `sub_merchant_id` on `Issuing.AuthorizationCreateParams.testHelpers.merchant_data`, `Issuing.TransactionCreateForceCaptureParams.testHelpers.merchant_data`, and `Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.merchant_data`
39
+ * Add support for `card_presence` on `Issuing.Authorization`
40
+ * Add support for `allowed_card_presences` and `blocked_card_presences` on `Issuing.Card.spending_controls`, `Issuing.CardCreateParams.spending_controls`, `Issuing.CardUpdateParams.spending_controls`, `Issuing.Cardholder.spending_controls`, `Issuing.CardholderCreateParams.spending_controls`, and `Issuing.CardholderUpdateParams.spending_controls`
41
+ * ⚠️ Add support for new value `fulfillment_error` on enum `Issuing.Card.cancellation_reason`
42
+ * ⚠️ Add support for new value `fulfillment_error` on enum `Issuing.Card.replacement_reason`
43
+ * ⚠️ Change type of `PaymentAttemptRecord.payment_method_details.gift_card.balance` and `PaymentRecord.payment_method_details.gift_card.balance` from `PaymentFlowsPrivatePaymentMethodsGiftCardDeprecatedDetailsResourceBalanceAmount` to `PaymentsPrimitivesPaymentRecordsResourcePaymentMethodGiftCardDetailsResourceBalance | null`
44
+ * ⚠️ Change type of `PaymentAttemptRecord.payment_method_details.gift_card.brand` and `PaymentRecord.payment_method_details.gift_card.brand` from `enum('fiserv_valuelink'|'givex'|'svs')` to `enum('fiserv_valuelink'|'givex'|'svs') | null`
45
+ * ⚠️ Change type of `PaymentAttemptRecord.payment_method_details.gift_card.first6` and `PaymentRecord.payment_method_details.gift_card.first6` from `string` to `string | null`
46
+ * ⚠️ Change type of `PaymentAttemptRecord.payment_method_details.gift_card.transaction_id` and `PaymentRecord.payment_method_details.gift_card.transaction_id` from `string` to `string | null`
47
+ * Add support for new value `sunbit` on enums `PaymentIntentConfirmParams.excluded_payment_method_types`, `PaymentIntentCreateParams.excluded_payment_method_types`, `PaymentIntentUpdateParams.excluded_payment_method_types`, `SetupIntentCreateParams.excluded_payment_method_types`, and `SetupIntentUpdateParams.excluded_payment_method_types`
48
+ * Add support for `amount_to_confirm` on `PaymentIntentConfirmParams`
49
+ * ⚠️ Add support for new value `sunbit` on enums `PaymentIntent.excluded_payment_method_types` and `SetupIntent.excluded_payment_method_types`
50
+ * Add support for `klarna_display_qr_code` on `PaymentIntent.next_action`
51
+ * Add support for new value `sunbit` on enums `PaymentLinkCreateParams.payment_method_types` and `PaymentLinkUpdateParams.payment_method_types`
52
+ * ⚠️ Add support for new value `sunbit` on enum `PaymentLink.payment_method_types`
53
+ * Add support for `validation_errors` on `Privacy.RedactionJob`
54
+ * Add support for `tax_details` on `Product`
55
+ * ⚠️ Change type of `Radar.PaymentEvaluation.client_device_metadata_details.radar_session` from `string` to `string | null`
56
+ * ⚠️ Add support for new values `low`, `not_assessed`, and `unknown` on enum `Radar.PaymentEvaluation.signals.fraudulent_payment.risk_level`
57
+ * Add support for new value `account` on enum `Radar.ValueListCreateParams.item_type`
58
+ * ⚠️ Add support for new value `account` on enum `Radar.ValueList.item_type`
59
+ * Add support for `moto` on `SetupAttempt.payment_method_details.card`
60
+ * Change `SetupIntent.next_action.pix_display_qr_code.data` to be required
61
+ * Change `SetupIntent.next_action.pix_display_qr_code.expires_at` to be required
62
+ * Change `SetupIntent.next_action.pix_display_qr_code.hosted_instructions_url` to be required
63
+ * Change `SetupIntent.next_action.pix_display_qr_code.image_url_png` to be required
64
+ * Change `SetupIntent.next_action.pix_display_qr_code.image_url_svg` to be required
65
+ * Add support for `admissions_tax`, `attendance_tax`, `entertainment_tax`, `gross_receipts_tax`, `hospitality_tax`, `luxury_tax`, `resort_tax`, and `tourism_tax` on `Tax.RegistrationCreateParams.country_options.us`
66
+ * Add support for `purpose` on `Treasury.OutboundPaymentCreateParams` and `Treasury.OutboundPayment`
67
+ * Add support for new value `2026-04-22.dahlia` on enum `WebhookEndpointCreateParams.api_version`
68
+ * Add support for `crypto_wallet` on `V2.MoneyManagement.FinancialAddress.credentials`
69
+ * Add support for `mx_bank_account` on `V2.MoneyManagement.FinancialAddress.credentials` and `V2.MoneyManagement.ReceivedCredit.bank_transfer`
70
+ * ⚠️ Add support for new values `crypto_wallet` and `mx_bank_account` on enum `V2.MoneyManagement.FinancialAddress.credentials.type`
71
+ * Add support for `crypto_wallet_transfer` on `V2.MoneyManagement.ReceivedCredit`
72
+ * Add support for `eu_bank_account` on `V2.MoneyManagement.ReceivedCredit.bank_transfer`
73
+ * ⚠️ Add support for new values `crypto_wallet`, `eu_bank_account`, and `mx_bank_account` on enum `V2.MoneyManagement.ReceivedCredit.bank_transfer.origin_type`
74
+ * ⚠️ Add support for new value `crypto_wallet_transfer` on enum `V2.MoneyManagement.ReceivedCredit.type`
75
+ * Change `V2.Payments.OffSessionPaymentCaptureParams.metadata` and `V2.Payments.OffSessionPaymentCreateParams.metadata` to be optional
76
+ * Add support for `crypto_properties` and `settlement_currency` on `V2.MoneyManagement.FinancialAddressCreateParams`
77
+ * Add support for new values `crypto_wallet` and `mx_bank_account` on enum `V2.MoneyManagement.FinancialAddressCreateParams.type`
78
+ * Add support for event notifications `V2CoreApprovalRequestCreatedEvent` and `V2CoreApprovalRequestExpiredEvent` with related object `V2.Core.ApprovalRequest`
79
+ * Add support for event notification `V2ExtendExtensionRunFailedEvent`
80
+ * Add support for error codes `action_blocked` and `approval_required` on `Invoice.last_finalization_error`, `PaymentIntent.last_payment_error`, `QuotePreviewInvoice.last_finalization_error`, `SetupAttempt.setup_error`, `SetupIntent.last_setup_error`, and `StripeError`
81
+
3
82
  ## 22.2.0-alpha.1 - 2026-04-24
4
83
  This release changes the pinned API version to 2026-04-22.private.
5
84
 
package/OPENAPI_VERSION CHANGED
@@ -1 +1 @@
1
- v2253
1
+ v2254
package/VERSION CHANGED
@@ -1 +1 @@
1
- 22.2.0-alpha.1
1
+ 22.2.0-alpha.3
@@ -42,6 +42,7 @@ export declare namespace AccountSession {
42
42
  * Configuration for the [agentic commerce settings](https://docs.stripe.com/connect/supported-embedded-components/agentic-commerce-settings/) embedded component.
43
43
  */
44
44
  agentic_commerce_settings?: Components.AgenticCommerceSettings | null;
45
+ balance_report: Components.BalanceReport;
45
46
  balances: Components.Balances;
46
47
  /**
47
48
  * Configuration for the [Bills](https://docs.stripe.com/connect/supported-embedded-components/bills/) embedded component.
@@ -78,6 +79,7 @@ export declare namespace AccountSession {
78
79
  payment_disputes: Components.PaymentDisputes;
79
80
  payments: Components.Payments;
80
81
  payout_details: Components.PayoutDetails;
82
+ payout_reconciliation_report: Components.PayoutReconciliationReport;
81
83
  payouts: Components.Payouts;
82
84
  payouts_list: Components.PayoutsList;
83
85
  tax_registrations: Components.TaxRegistrations;
@@ -113,6 +115,13 @@ export declare namespace AccountSession {
113
115
  enabled: boolean;
114
116
  features: AgenticCommerceSettings.Features;
115
117
  }
118
+ interface BalanceReport {
119
+ /**
120
+ * Whether the embedded component is enabled.
121
+ */
122
+ enabled: boolean;
123
+ features: BalanceReport.Features;
124
+ }
116
125
  interface Balances {
117
126
  /**
118
127
  * Whether the embedded component is enabled.
@@ -260,6 +269,13 @@ export declare namespace AccountSession {
260
269
  enabled: boolean;
261
270
  features: PayoutDetails.Features;
262
271
  }
272
+ interface PayoutReconciliationReport {
273
+ /**
274
+ * Whether the embedded component is enabled.
275
+ */
276
+ enabled: boolean;
277
+ features: PayoutReconciliationReport.Features;
278
+ }
263
279
  interface Payouts {
264
280
  /**
265
281
  * Whether the embedded component is enabled.
@@ -330,6 +346,10 @@ export declare namespace AccountSession {
330
346
  interface Features {
331
347
  }
332
348
  }
349
+ namespace BalanceReport {
350
+ interface Features {
351
+ }
352
+ }
333
353
  namespace Balances {
334
354
  interface Features {
335
355
  /**
@@ -578,6 +598,10 @@ export declare namespace AccountSession {
578
598
  interface Features {
579
599
  }
580
600
  }
601
+ namespace PayoutReconciliationReport {
602
+ interface Features {
603
+ }
604
+ }
581
605
  namespace Payouts {
582
606
  interface Features {
583
607
  /**
@@ -660,6 +684,10 @@ export declare namespace AccountSessionCreateParams {
660
684
  * Configuration for the [app viewport](https://docs.stripe.com/connect/supported-embedded-components/app-viewport/) embedded component.
661
685
  */
662
686
  app_viewport?: Components.AppViewport;
687
+ /**
688
+ * Configuration for the [balance report](https://docs.stripe.com/connect/supported-embedded-components/financial-reports#balance-report) embedded component.
689
+ */
690
+ balance_report?: Components.BalanceReport;
663
691
  /**
664
692
  * Configuration for the [balances](https://docs.stripe.com/connect/supported-embedded-components/balances/) embedded component.
665
693
  */
@@ -740,6 +768,10 @@ export declare namespace AccountSessionCreateParams {
740
768
  * Configuration for the [payout details](https://docs.stripe.com/connect/supported-embedded-components/payout-details/) embedded component.
741
769
  */
742
770
  payout_details?: Components.PayoutDetails;
771
+ /**
772
+ * Configuration for the [payout reconciliation report](https://docs.stripe.com/connect/supported-embedded-components/financial-reports#payout-reconciliation-report) embedded component.
773
+ */
774
+ payout_reconciliation_report?: Components.PayoutReconciliationReport;
743
775
  /**
744
776
  * Configuration for the [payouts](https://docs.stripe.com/connect/supported-embedded-components/payouts/) embedded component.
745
777
  */
@@ -832,6 +864,16 @@ export declare namespace AccountSessionCreateParams {
832
864
  */
833
865
  features?: AppViewport.Features;
834
866
  }
867
+ interface BalanceReport {
868
+ /**
869
+ * Whether the embedded component is enabled.
870
+ */
871
+ enabled: boolean;
872
+ /**
873
+ * An empty list, because this embedded component has no features.
874
+ */
875
+ features?: BalanceReport.Features;
876
+ }
835
877
  interface Balances {
836
878
  /**
837
879
  * Whether the embedded component is enabled.
@@ -1032,6 +1074,16 @@ export declare namespace AccountSessionCreateParams {
1032
1074
  */
1033
1075
  features?: PayoutDetails.Features;
1034
1076
  }
1077
+ interface PayoutReconciliationReport {
1078
+ /**
1079
+ * Whether the embedded component is enabled.
1080
+ */
1081
+ enabled: boolean;
1082
+ /**
1083
+ * An empty list, because this embedded component has no features.
1084
+ */
1085
+ features?: PayoutReconciliationReport.Features;
1086
+ }
1035
1087
  interface Payouts {
1036
1088
  /**
1037
1089
  * Whether the embedded component is enabled.
@@ -1173,6 +1225,10 @@ export declare namespace AccountSessionCreateParams {
1173
1225
  allowed_apps?: Emptyable<Array<string>>;
1174
1226
  }
1175
1227
  }
1228
+ namespace BalanceReport {
1229
+ interface Features {
1230
+ }
1231
+ }
1176
1232
  namespace Balances {
1177
1233
  interface Features {
1178
1234
  /**
@@ -1410,6 +1466,10 @@ export declare namespace AccountSessionCreateParams {
1410
1466
  interface Features {
1411
1467
  }
1412
1468
  }
1469
+ namespace PayoutReconciliationReport {
1470
+ interface Features {
1471
+ }
1472
+ }
1413
1473
  namespace Payouts {
1414
1474
  interface Features {
1415
1475
  /**
@@ -314,6 +314,10 @@ export declare namespace Account {
314
314
  * The status of the AmazonPay capability of the account, or whether the account can directly process AmazonPay payments.
315
315
  */
316
316
  amazon_pay_payments?: Capabilities.AmazonPayPayments;
317
+ /**
318
+ * The status of the `app_distribution` capability of the account, or whether the platform can distribute apps to other accounts.
319
+ */
320
+ app_distribution?: Capabilities.AppDistribution;
317
321
  /**
318
322
  * The status of the BECS Direct Debit (AU) payments capability of the account, or whether the account can directly process BECS Direct Debit (AU) charges.
319
323
  */
@@ -542,6 +546,10 @@ export declare namespace Account {
542
546
  * The status of the stripe_balance payments capability of the account, or whether the account can directly process stripe_balance charges.
543
547
  */
544
548
  stripe_balance_payments?: Capabilities.StripeBalancePayments;
549
+ /**
550
+ * The status of the Sunbit capability of the account, or whether the account can directly process Sunbit payments.
551
+ */
552
+ sunbit_payments?: Capabilities.SunbitPayments;
545
553
  /**
546
554
  * The status of the Swish capability of the account, or whether the account can directly process Swish payments.
547
555
  */
@@ -848,6 +856,7 @@ export declare namespace Account {
848
856
  type AfterpayClearpayPayments = 'active' | 'inactive' | 'pending';
849
857
  type AlmaPayments = 'active' | 'inactive' | 'pending';
850
858
  type AmazonPayPayments = 'active' | 'inactive' | 'pending';
859
+ type AppDistribution = 'active' | 'inactive' | 'pending';
851
860
  type AuBecsDebitPayments = 'active' | 'inactive' | 'pending';
852
861
  type AutomaticIndirectTax = 'active' | 'inactive' | 'pending';
853
862
  type BacsDebitPayments = 'active' | 'inactive' | 'pending';
@@ -905,6 +914,7 @@ export declare namespace Account {
905
914
  type ShopeepayPayments = 'active' | 'inactive' | 'pending';
906
915
  type SofortPayments = 'active' | 'inactive' | 'pending';
907
916
  type StripeBalancePayments = 'active' | 'inactive' | 'pending';
917
+ type SunbitPayments = 'active' | 'inactive' | 'pending';
908
918
  type SwishPayments = 'active' | 'inactive' | 'pending';
909
919
  type TaxReportingUs1099K = 'active' | 'inactive' | 'pending';
910
920
  type TaxReportingUs1099Misc = 'active' | 'inactive' | 'pending';
@@ -1546,7 +1556,7 @@ export interface AccountCreateParams {
1546
1556
  */
1547
1557
  tos_acceptance?: AccountCreateParams.TosAcceptance;
1548
1558
  /**
1549
- * The type of Stripe account to create. May be one of `custom`, `express` or `standard`.
1559
+ * The `type` parameter is deprecated. Use [`controller`](https://docs.stripe.com/api/accounts/create#create_account-controller) instead to configure dashboard access, fee payer, loss liability, and requirement collection.
1550
1560
  */
1551
1561
  type?: AccountCreateParams.Type;
1552
1562
  }
@@ -1627,6 +1637,10 @@ export declare namespace AccountCreateParams {
1627
1637
  * The amazon_pay_payments capability.
1628
1638
  */
1629
1639
  amazon_pay_payments?: Capabilities.AmazonPayPayments;
1640
+ /**
1641
+ * The app_distribution capability.
1642
+ */
1643
+ app_distribution?: Capabilities.AppDistribution;
1630
1644
  /**
1631
1645
  * The au_becs_debit_payments capability.
1632
1646
  */
@@ -1855,6 +1869,10 @@ export declare namespace AccountCreateParams {
1855
1869
  * The stripe_balance_payments capability.
1856
1870
  */
1857
1871
  stripe_balance_payments?: Capabilities.StripeBalancePayments;
1872
+ /**
1873
+ * The sunbit_payments capability.
1874
+ */
1875
+ sunbit_payments?: Capabilities.SunbitPayments;
1858
1876
  /**
1859
1877
  * The swish_payments capability.
1860
1878
  */
@@ -2345,6 +2363,12 @@ export declare namespace AccountCreateParams {
2345
2363
  */
2346
2364
  requested?: boolean;
2347
2365
  }
2366
+ interface AppDistribution {
2367
+ /**
2368
+ * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2369
+ */
2370
+ requested?: boolean;
2371
+ }
2348
2372
  interface AuBecsDebitPayments {
2349
2373
  /**
2350
2374
  * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
@@ -2687,6 +2711,12 @@ export declare namespace AccountCreateParams {
2687
2711
  */
2688
2712
  requested?: boolean;
2689
2713
  }
2714
+ interface SunbitPayments {
2715
+ /**
2716
+ * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2717
+ */
2718
+ requested?: boolean;
2719
+ }
2690
2720
  interface SwishPayments {
2691
2721
  /**
2692
2722
  * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
@@ -3520,6 +3550,10 @@ export declare namespace AccountUpdateParams {
3520
3550
  * The amazon_pay_payments capability.
3521
3551
  */
3522
3552
  amazon_pay_payments?: Capabilities.AmazonPayPayments;
3553
+ /**
3554
+ * The app_distribution capability.
3555
+ */
3556
+ app_distribution?: Capabilities.AppDistribution;
3523
3557
  /**
3524
3558
  * The au_becs_debit_payments capability.
3525
3559
  */
@@ -3748,6 +3782,10 @@ export declare namespace AccountUpdateParams {
3748
3782
  * The stripe_balance_payments capability.
3749
3783
  */
3750
3784
  stripe_balance_payments?: Capabilities.StripeBalancePayments;
3785
+ /**
3786
+ * The sunbit_payments capability.
3787
+ */
3788
+ sunbit_payments?: Capabilities.SunbitPayments;
3751
3789
  /**
3752
3790
  * The swish_payments capability.
3753
3791
  */
@@ -4233,6 +4271,12 @@ export declare namespace AccountUpdateParams {
4233
4271
  */
4234
4272
  requested?: boolean;
4235
4273
  }
4274
+ interface AppDistribution {
4275
+ /**
4276
+ * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
4277
+ */
4278
+ requested?: boolean;
4279
+ }
4236
4280
  interface AuBecsDebitPayments {
4237
4281
  /**
4238
4282
  * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
@@ -4575,6 +4619,12 @@ export declare namespace AccountUpdateParams {
4575
4619
  */
4576
4620
  requested?: boolean;
4577
4621
  }
4622
+ interface SunbitPayments {
4623
+ /**
4624
+ * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
4625
+ */
4626
+ requested?: boolean;
4627
+ }
4578
4628
  interface SwishPayments {
4579
4629
  /**
4580
4630
  * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
@@ -78,7 +78,7 @@ export interface BalanceTransaction {
78
78
  */
79
79
  status: string;
80
80
  /**
81
- * Transaction type: `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `obligation_outbound`, `obligation_reversal_inbound`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `payout_minimum_balance_hold`, `payout_minimum_balance_release`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `reserve_hold`, `reserve_release`, `stripe_fee`, `stripe_fx_fee`, `stripe_balance_payment_debit`, `stripe_balance_payment_debit_reversal`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, or `transfer_refund`. Learn more about [balance transaction types and what they represent](https://stripe.com/docs/reports/balance-transaction-types). To classify transactions for accounting purposes, consider `reporting_category` instead.
81
+ * Transaction type: `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `inbound_transfer`, `inbound_transfer_reversal`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `obligation_outbound`, `obligation_reversal_inbound`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `payout_minimum_balance_hold`, `payout_minimum_balance_release`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `reserve_hold`, `reserve_release`, `stripe_fee`, `stripe_fx_fee`, `stripe_balance_payment_debit`, `stripe_balance_payment_debit_reversal`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, `transfer_refund`, or `fee_credit_funding`. Learn more about [balance transaction types and what they represent](https://stripe.com/docs/reports/balance-transaction-types). To classify transactions for accounting purposes, consider `reporting_category` instead.
82
82
  */
83
83
  type: BalanceTransaction.Type;
84
84
  }
@@ -102,11 +102,11 @@ export declare namespace BalanceTransaction {
102
102
  */
103
103
  description: string | null;
104
104
  /**
105
- * Type of the fee, one of: `application_fee`, `payment_method_passthrough_fee`, `stripe_fee` or `tax`.
105
+ * Type of the fee, one of: `application_fee`, `payment_method_passthrough_fee`, `stripe_fee`, `tax`, or `withheld_tax`.
106
106
  */
107
107
  type: string;
108
108
  }
109
- type Type = 'adjustment' | 'advance' | 'advance_funding' | 'anticipation_repayment' | 'application_fee' | 'application_fee_refund' | 'charge' | 'climate_order_purchase' | 'climate_order_refund' | 'connect_collection_transfer' | 'contribution' | 'issuing_authorization_hold' | 'issuing_authorization_release' | 'issuing_dispute' | 'issuing_transaction' | 'obligation_outbound' | 'obligation_reversal_inbound' | 'payment' | 'payment_failure_refund' | 'payment_network_reserve_hold' | 'payment_network_reserve_release' | 'payment_refund' | 'payment_reversal' | 'payment_unreconciled' | 'payout' | 'payout_cancel' | 'payout_failure' | 'payout_minimum_balance_hold' | 'payout_minimum_balance_release' | 'refund' | 'refund_failure' | 'reserve_hold' | 'reserve_release' | 'reserve_transaction' | 'reserved_funds' | 'stripe_balance_payment_debit' | 'stripe_balance_payment_debit_reversal' | 'stripe_fee' | 'stripe_fx_fee' | 'tax_fee' | 'topup' | 'topup_reversal' | 'transfer' | 'transfer_cancel' | 'transfer_failure' | 'transfer_refund';
109
+ type Type = 'adjustment' | 'advance' | 'advance_funding' | 'anticipation_repayment' | 'application_fee' | 'application_fee_refund' | 'charge' | 'climate_order_purchase' | 'climate_order_refund' | 'connect_collection_transfer' | 'contribution' | 'fee_credit_funding' | 'inbound_transfer' | 'inbound_transfer_reversal' | 'issuing_authorization_hold' | 'issuing_authorization_release' | 'issuing_dispute' | 'issuing_transaction' | 'obligation_outbound' | 'obligation_reversal_inbound' | 'payment' | 'payment_failure_refund' | 'payment_network_reserve_hold' | 'payment_network_reserve_release' | 'payment_refund' | 'payment_reversal' | 'payment_unreconciled' | 'payout' | 'payout_cancel' | 'payout_failure' | 'payout_minimum_balance_hold' | 'payout_minimum_balance_release' | 'refund' | 'refund_failure' | 'reserve_hold' | 'reserve_release' | 'reserve_transaction' | 'reserved_funds' | 'stripe_balance_payment_debit' | 'stripe_balance_payment_debit_reversal' | 'stripe_fee' | 'stripe_fx_fee' | 'tax_fee' | 'topup' | 'topup_reversal' | 'transfer' | 'transfer_cancel' | 'transfer_failure' | 'transfer_refund';
110
110
  }
111
111
  export interface BalanceTransactionRetrieveParams {
112
112
  /**
@@ -136,7 +136,7 @@ export interface BalanceTransactionListParams extends PaginationParams {
136
136
  */
137
137
  source?: string;
138
138
  /**
139
- * Only returns transactions of the given type. One of: `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `obligation_outbound`, `obligation_reversal_inbound`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `payout_minimum_balance_hold`, `payout_minimum_balance_release`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `reserve_hold`, `reserve_release`, `stripe_fee`, `stripe_fx_fee`, `stripe_balance_payment_debit`, `stripe_balance_payment_debit_reversal`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, or `transfer_refund`.
139
+ * Only returns transactions of the given type. One of: `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `inbound_transfer`, `inbound_transfer_reversal`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `obligation_outbound`, `obligation_reversal_inbound`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `payout_minimum_balance_hold`, `payout_minimum_balance_release`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `reserve_hold`, `reserve_release`, `stripe_fee`, `stripe_fx_fee`, `stripe_balance_payment_debit`, `stripe_balance_payment_debit_reversal`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, `transfer_refund`, or `fee_credit_funding`.
140
140
  */
141
141
  type?: string;
142
142
  }
@@ -55,7 +55,7 @@ export declare namespace Billing {
55
55
  */
56
56
  expand?: Array<string>;
57
57
  /**
58
- * A unique identifier for the event. If not provided, one is generated. We recommend using UUID-like identifiers. We will enforce uniqueness within a rolling period of at least 24 hours. The enforcement of uniqueness primarily addresses issues arising from accidental retries or other problems occurring within extremely brief time intervals. This approach helps prevent duplicate entries and ensures data integrity in high-frequency operations.
58
+ * A unique identifier for the event. If not provided, one is generated. We recommend using UUID-like identifiers. Stripe enforces uniqueness within a rolling period of at least 24 hours. The enforcement of uniqueness primarily addresses issues arising from accidental retries or other problems occurring within extremely brief time intervals. This approach helps prevent duplicate entries and ensures data integrity in high-frequency operations.
59
59
  */
60
60
  identifier?: string;
61
61
  /**
@@ -153,7 +153,7 @@ export declare namespace Billing {
153
153
  namespace MeterCreateParams {
154
154
  interface DefaultAggregation {
155
155
  /**
156
- * Specifies how events are aggregated. Allowed values are `count` to count the number of events, `sum` to sum each event's value and `last` to take the last event's value in the window.
156
+ * Specifies how events are aggregated.
157
157
  */
158
158
  formula: DefaultAggregation.Formula;
159
159
  }
@@ -383,6 +383,7 @@ export declare namespace Charge {
383
383
  sofort?: PaymentMethodDetails.Sofort;
384
384
  stripe_account?: PaymentMethodDetails.StripeAccount;
385
385
  stripe_balance?: PaymentMethodDetails.StripeBalance;
386
+ sunbit?: PaymentMethodDetails.Sunbit;
386
387
  swish?: PaymentMethodDetails.Swish;
387
388
  twint?: PaymentMethodDetails.Twint;
388
389
  /**
@@ -547,11 +548,11 @@ export declare namespace Charge {
547
548
  }
548
549
  interface Affirm {
549
550
  /**
550
- * ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
551
+ * ID of the location that this reader is assigned to.
551
552
  */
552
553
  location?: string;
553
554
  /**
554
- * ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
555
+ * ID of the reader this transaction was made on.
555
556
  */
556
557
  reader?: string;
557
558
  /**
@@ -1008,6 +1009,10 @@ export declare namespace Charge {
1008
1009
  * The first six digits of the gift card number.
1009
1010
  */
1010
1011
  first6: string;
1012
+ /**
1013
+ * The last four digits of the gift card number.
1014
+ */
1015
+ last4: string | null;
1011
1016
  /**
1012
1017
  * The transaction ID from the gift card processor.
1013
1018
  */
@@ -1189,6 +1194,10 @@ export declare namespace Charge {
1189
1194
  transaction_id: string | null;
1190
1195
  }
1191
1196
  interface Klarna {
1197
+ /**
1198
+ * ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
1199
+ */
1200
+ location?: string;
1192
1201
  /**
1193
1202
  * The payer details for this transaction.
1194
1203
  */
@@ -1203,6 +1212,10 @@ export declare namespace Charge {
1203
1212
  * Can be one of `de-AT`, `en-AT`, `nl-BE`, `fr-BE`, `en-BE`, `de-DE`, `en-DE`, `da-DK`, `en-DK`, `es-ES`, `en-ES`, `fi-FI`, `sv-FI`, `en-FI`, `en-GB`, `en-IE`, `it-IT`, `en-IT`, `nl-NL`, `en-NL`, `nb-NO`, `en-NO`, `sv-SE`, `en-SE`, `en-US`, `es-US`, `fr-FR`, `en-FR`, `cs-CZ`, `en-CZ`, `ro-RO`, `en-RO`, `el-GR`, `en-GR`, `en-AU`, `en-NZ`, `en-CA`, `fr-CA`, `pl-PL`, `en-PL`, `pt-PT`, `en-PT`, `de-CH`, `fr-CH`, `it-CH`, or `en-CH`
1204
1213
  */
1205
1214
  preferred_locale: string | null;
1215
+ /**
1216
+ * ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
1217
+ */
1218
+ reader?: string;
1206
1219
  }
1207
1220
  interface Konbini {
1208
1221
  /**
@@ -1552,6 +1565,12 @@ export declare namespace Charge {
1552
1565
  */
1553
1566
  account?: string | null;
1554
1567
  }
1568
+ interface Sunbit {
1569
+ /**
1570
+ * The Sunbit transaction ID associated with this payment.
1571
+ */
1572
+ transaction_id: string | null;
1573
+ }
1555
1574
  interface Swish {
1556
1575
  /**
1557
1576
  * Uniquely identifies the payer's Swish account. You can use this attribute to check whether two Swish transactions were paid for by the same payer
@@ -2007,7 +2026,7 @@ export declare namespace Charge {
2007
2026
  }
2008
2027
  namespace Crypto {
2009
2028
  type Network = 'base' | 'ethereum' | 'polygon' | 'solana' | 'tempo';
2010
- type TokenCurrency = 'usdc' | 'usdg' | 'usdp';
2029
+ type TokenCurrency = 'phantom_cash' | 'usdc' | 'usdg' | 'usdp' | 'usdt';
2011
2030
  }
2012
2031
  namespace Eps {
2013
2032
  type Bank = 'arzte_und_apotheker_bank' | 'austrian_anadi_bank_ag' | 'bank_austria' | 'bankhaus_carl_spangler' | 'bankhaus_schelhammer_und_schattera_ag' | 'bawag_psk_ag' | 'bks_bank_ag' | 'brull_kallmus_bank_ag' | 'btv_vier_lander_bank' | 'capital_bank_grawe_gruppe_ag' | 'deutsche_bank_ag' | 'dolomitenbank' | 'easybank_ag' | 'erste_bank_und_sparkassen' | 'hypo_alpeadriabank_international_ag' | 'hypo_bank_burgenland_aktiengesellschaft' | 'hypo_noe_lb_fur_niederosterreich_u_wien' | 'hypo_oberosterreich_salzburg_steiermark' | 'hypo_tirol_bank_ag' | 'hypo_vorarlberg_bank_ag' | 'marchfelder_bank' | 'oberbank_ag' | 'raiffeisen_bankengruppe_osterreich' | 'schoellerbank_ag' | 'sparda_bank_wien' | 'volksbank_gruppe' | 'volkskreditbank_ag' | 'vr_bank_braunau';