stripe 15.6.0.pre.alpha.1 → 15.6.0.pre.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 (240) hide show
  1. checksums.yaml +4 -4
  2. data/API_VERSION +1 -1
  3. data/CHANGELOG.md +27 -6
  4. data/OPENAPI_VERSION +1 -1
  5. data/VERSION +1 -1
  6. data/lib/stripe/event_types.rb +5 -1
  7. data/lib/stripe/events/v2_billing_cadence_billed_event.rb +2 -0
  8. data/lib/stripe/events/{v2_billing_cadence_errored_event.rb → v2_core_claimable_sandbox_claimed_event.rb} +3 -3
  9. data/lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb +21 -0
  10. data/lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb +21 -0
  11. data/lib/stripe/events/v2_core_claimable_sandbox_sandbox_details_owner_account_updated_event.rb +21 -0
  12. data/lib/stripe/resources/account.rb +443 -0
  13. data/lib/stripe/resources/account_link.rb +8 -0
  14. data/lib/stripe/resources/account_notice.rb +24 -0
  15. data/lib/stripe/resources/account_session.rb +435 -10
  16. data/lib/stripe/resources/apple_pay_domain.rb +8 -0
  17. data/lib/stripe/resources/application.rb +8 -0
  18. data/lib/stripe/resources/application_fee.rb +16 -0
  19. data/lib/stripe/resources/application_fee_refund.rb +8 -0
  20. data/lib/stripe/resources/apps/secret.rb +16 -0
  21. data/lib/stripe/resources/balance.rb +159 -0
  22. data/lib/stripe/resources/balance_settings.rb +40 -0
  23. data/lib/stripe/resources/balance_transaction.rb +16 -0
  24. data/lib/stripe/resources/bank_account.rb +40 -0
  25. data/lib/stripe/resources/billing/alert.rb +75 -0
  26. data/lib/stripe/resources/billing/alert_triggered.rb +8 -0
  27. data/lib/stripe/resources/billing/credit_balance_summary.rb +80 -0
  28. data/lib/stripe/resources/billing/credit_balance_transaction.rb +107 -0
  29. data/lib/stripe/resources/billing/credit_grant.rb +72 -0
  30. data/lib/stripe/resources/billing/meter.rb +45 -0
  31. data/lib/stripe/resources/billing/meter_event.rb +8 -0
  32. data/lib/stripe/resources/billing/meter_event_adjustment.rb +16 -0
  33. data/lib/stripe/resources/billing/meter_event_summary.rb +8 -0
  34. data/lib/stripe/resources/billing/meter_usage.rb +8 -0
  35. data/lib/stripe/resources/billing/meter_usage_row.rb +8 -0
  36. data/lib/stripe/resources/billing_portal/configuration.rb +122 -0
  37. data/lib/stripe/resources/billing_portal/session.rb +101 -0
  38. data/lib/stripe/resources/capability.rb +56 -0
  39. data/lib/stripe/resources/capital/financing_offer.rb +24 -0
  40. data/lib/stripe/resources/capital/financing_summary.rb +24 -0
  41. data/lib/stripe/resources/capital/financing_transaction.rb +24 -0
  42. data/lib/stripe/resources/card.rb +16 -0
  43. data/lib/stripe/resources/cash_balance.rb +16 -0
  44. data/lib/stripe/resources/charge.rb +1052 -16
  45. data/lib/stripe/resources/checkout/session.rb +950 -0
  46. data/lib/stripe/resources/climate/order.rb +32 -0
  47. data/lib/stripe/resources/climate/product.rb +16 -0
  48. data/lib/stripe/resources/climate/supplier.rb +16 -0
  49. data/lib/stripe/resources/confirmation_token.rb +960 -38
  50. data/lib/stripe/resources/connect_collection_transfer.rb +8 -0
  51. data/lib/stripe/resources/country_spec.rb +32 -0
  52. data/lib/stripe/resources/coupon.rb +36 -0
  53. data/lib/stripe/resources/credit_note.rb +70 -0
  54. data/lib/stripe/resources/credit_note_line_item.rb +53 -0
  55. data/lib/stripe/resources/customer.rb +77 -0
  56. data/lib/stripe/resources/customer_balance_transaction.rb +8 -0
  57. data/lib/stripe/resources/customer_cash_balance_transaction.rb +108 -0
  58. data/lib/stripe/resources/customer_session.rb +52 -0
  59. data/lib/stripe/resources/discount.rb +8 -0
  60. data/lib/stripe/resources/dispute.rb +166 -0
  61. data/lib/stripe/resources/entitlements/active_entitlement.rb +8 -0
  62. data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +8 -0
  63. data/lib/stripe/resources/entitlements/feature.rb +8 -0
  64. data/lib/stripe/resources/ephemeral_key.rb +8 -0
  65. data/lib/stripe/resources/event.rb +56 -0
  66. data/lib/stripe/resources/exchange_rate.rb +8 -0
  67. data/lib/stripe/resources/file.rb +8 -0
  68. data/lib/stripe/resources/file_link.rb +8 -0
  69. data/lib/stripe/resources/financial_connections/account.rb +79 -0
  70. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +8 -0
  71. data/lib/stripe/resources/financial_connections/account_owner.rb +8 -0
  72. data/lib/stripe/resources/financial_connections/account_ownership.rb +8 -0
  73. data/lib/stripe/resources/financial_connections/institution.rb +53 -0
  74. data/lib/stripe/resources/financial_connections/session.rb +63 -1
  75. data/lib/stripe/resources/financial_connections/transaction.rb +16 -0
  76. data/lib/stripe/resources/forwarding/request.rb +52 -0
  77. data/lib/stripe/resources/funding_instructions.rb +193 -0
  78. data/lib/stripe/resources/fx_quote.rb +48 -0
  79. data/lib/stripe/resources/identity/verification_report.rb +166 -1
  80. data/lib/stripe/resources/identity/verification_session.rb +126 -1
  81. data/lib/stripe/resources/invoice.rb +441 -3
  82. data/lib/stripe/resources/invoice_item.rb +88 -0
  83. data/lib/stripe/resources/invoice_line_item.rb +186 -0
  84. data/lib/stripe/resources/invoice_payment.rb +24 -0
  85. data/lib/stripe/resources/invoice_rendering_template.rb +8 -0
  86. data/lib/stripe/resources/issuing/authorization.rb +177 -0
  87. data/lib/stripe/resources/issuing/card.rb +96 -0
  88. data/lib/stripe/resources/issuing/cardholder.rb +110 -0
  89. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +82 -0
  90. data/lib/stripe/resources/issuing/dispute.rb +97 -0
  91. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +16 -0
  92. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +8 -0
  93. data/lib/stripe/resources/issuing/personalization_design.rb +36 -0
  94. data/lib/stripe/resources/issuing/physical_bundle.rb +16 -0
  95. data/lib/stripe/resources/issuing/settlement.rb +8 -0
  96. data/lib/stripe/resources/issuing/token.rb +61 -0
  97. data/lib/stripe/resources/issuing/transaction.rb +151 -0
  98. data/lib/stripe/resources/line_item.rb +54 -0
  99. data/lib/stripe/resources/login_link.rb +8 -0
  100. data/lib/stripe/resources/mandate.rb +242 -11
  101. data/lib/stripe/resources/margin.rb +8 -0
  102. data/lib/stripe/resources/order.rb +348 -0
  103. data/lib/stripe/resources/payment_attempt_record.rb +890 -11
  104. data/lib/stripe/resources/payment_intent.rb +1405 -3
  105. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +56 -0
  106. data/lib/stripe/resources/payment_link.rb +337 -0
  107. data/lib/stripe/resources/payment_method.rb +884 -38
  108. data/lib/stripe/resources/payment_method_configuration.rb +961 -0
  109. data/lib/stripe/resources/payment_method_domain.rb +111 -0
  110. data/lib/stripe/resources/payment_record.rb +890 -11
  111. data/lib/stripe/resources/payout.rb +16 -0
  112. data/lib/stripe/resources/person.rb +180 -0
  113. data/lib/stripe/resources/plan.rb +24 -0
  114. data/lib/stripe/resources/price.rb +79 -0
  115. data/lib/stripe/resources/privacy/redaction_job.rb +16 -0
  116. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +16 -0
  117. data/lib/stripe/resources/product.rb +27 -0
  118. data/lib/stripe/resources/product_feature.rb +8 -0
  119. data/lib/stripe/resources/promotion_code.rb +24 -0
  120. data/lib/stripe/resources/quote.rb +432 -0
  121. data/lib/stripe/resources/quote_line.rb +247 -0
  122. data/lib/stripe/resources/quote_preview_invoice.rb +450 -3
  123. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +323 -0
  124. data/lib/stripe/resources/radar/early_fraud_warning.rb +8 -0
  125. data/lib/stripe/resources/radar/value_list.rb +8 -0
  126. data/lib/stripe/resources/radar/value_list_item.rb +8 -0
  127. data/lib/stripe/resources/refund.rb +380 -19
  128. data/lib/stripe/resources/reporting/report_run.rb +16 -0
  129. data/lib/stripe/resources/reporting/report_type.rb +8 -0
  130. data/lib/stripe/resources/reserve_transaction.rb +8 -0
  131. data/lib/stripe/resources/reversal.rb +8 -0
  132. data/lib/stripe/resources/review.rb +24 -0
  133. data/lib/stripe/resources/setup_attempt.rb +331 -20
  134. data/lib/stripe/resources/setup_intent.rb +293 -2
  135. data/lib/stripe/resources/shipping_rate.rb +48 -0
  136. data/lib/stripe/resources/sigma/scheduled_query_run.rb +16 -0
  137. data/lib/stripe/resources/source.rb +274 -0
  138. data/lib/stripe/resources/source_mandate_notification.rb +32 -0
  139. data/lib/stripe/resources/source_transaction.rb +54 -0
  140. data/lib/stripe/resources/subscription.rb +318 -3
  141. data/lib/stripe/resources/subscription_item.rb +24 -0
  142. data/lib/stripe/resources/subscription_schedule.rb +314 -0
  143. data/lib/stripe/resources/tax/association.rb +32 -0
  144. data/lib/stripe/resources/tax/calculation.rb +109 -0
  145. data/lib/stripe/resources/tax/calculation_line_item.rb +32 -0
  146. data/lib/stripe/resources/tax/form.rb +107 -0
  147. data/lib/stripe/resources/tax/registration.rb +1232 -0
  148. data/lib/stripe/resources/tax/settings.rb +61 -1
  149. data/lib/stripe/resources/tax/transaction.rb +93 -0
  150. data/lib/stripe/resources/tax/transaction_line_item.rb +16 -0
  151. data/lib/stripe/resources/tax_code.rb +8 -0
  152. data/lib/stripe/resources/tax_deducted_at_source.rb +8 -0
  153. data/lib/stripe/resources/tax_id.rb +24 -0
  154. data/lib/stripe/resources/tax_rate.rb +16 -0
  155. data/lib/stripe/resources/terminal/configuration.rb +299 -0
  156. data/lib/stripe/resources/terminal/connection_token.rb +8 -0
  157. data/lib/stripe/resources/terminal/location.rb +16 -0
  158. data/lib/stripe/resources/terminal/onboarding_link.rb +24 -0
  159. data/lib/stripe/resources/terminal/reader.rb +241 -0
  160. data/lib/stripe/resources/terminal/reader_collected_data.rb +16 -0
  161. data/lib/stripe/resources/test_helpers/test_clock.rb +24 -0
  162. data/lib/stripe/resources/token.rb +8 -0
  163. data/lib/stripe/resources/topup.rb +8 -0
  164. data/lib/stripe/resources/transfer.rb +8 -0
  165. data/lib/stripe/resources/treasury/credit_reversal.rb +16 -0
  166. data/lib/stripe/resources/treasury/debit_reversal.rb +24 -0
  167. data/lib/stripe/resources/treasury/financial_account.rb +61 -0
  168. data/lib/stripe/resources/treasury/financial_account_features.rb +192 -0
  169. data/lib/stripe/resources/treasury/inbound_transfer.rb +69 -0
  170. data/lib/stripe/resources/treasury/outbound_payment.rb +106 -0
  171. data/lib/stripe/resources/treasury/outbound_transfer.rb +114 -0
  172. data/lib/stripe/resources/treasury/received_credit.rb +97 -0
  173. data/lib/stripe/resources/treasury/received_debit.rb +89 -0
  174. data/lib/stripe/resources/treasury/transaction.rb +36 -0
  175. data/lib/stripe/resources/treasury/transaction_entry.rb +24 -0
  176. data/lib/stripe/resources/v2/billing/bill_setting.rb +40 -0
  177. data/lib/stripe/resources/v2/billing/bill_setting_version.rb +40 -0
  178. data/lib/stripe/resources/v2/billing/cadence.rb +144 -0
  179. data/lib/stripe/resources/v2/billing/collection_setting.rb +150 -2
  180. data/lib/stripe/resources/v2/billing/collection_setting_version.rb +150 -2
  181. data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +8 -0
  182. data/lib/stripe/resources/v2/billing/intent.rb +27 -0
  183. data/lib/stripe/resources/v2/billing/intent_action.rb +195 -0
  184. data/lib/stripe/resources/v2/billing/license_fee.rb +24 -0
  185. data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +8 -0
  186. data/lib/stripe/resources/v2/billing/license_fee_version.rb +24 -0
  187. data/lib/stripe/resources/v2/billing/licensed_item.rb +16 -0
  188. data/lib/stripe/resources/v2/billing/meter_event.rb +8 -0
  189. data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +16 -0
  190. data/lib/stripe/resources/v2/billing/meter_event_session.rb +8 -0
  191. data/lib/stripe/resources/v2/billing/metered_item.rb +27 -0
  192. data/lib/stripe/resources/v2/billing/pricing_plan.rb +8 -0
  193. data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +36 -0
  194. data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +31 -0
  195. data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +8 -0
  196. data/lib/stripe/resources/v2/billing/profile.rb +8 -0
  197. data/lib/stripe/resources/v2/billing/rate_card.rb +8 -0
  198. data/lib/stripe/resources/v2/billing/rate_card_rate.rb +36 -0
  199. data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +31 -0
  200. data/lib/stripe/resources/v2/billing/rate_card_version.rb +8 -0
  201. data/lib/stripe/resources/v2/billing/service_action.rb +123 -0
  202. data/lib/stripe/resources/v2/core/account.rb +1900 -0
  203. data/lib/stripe/resources/v2/core/account_link.rb +51 -0
  204. data/lib/stripe/resources/v2/core/claimable_sandbox.rb +60 -12
  205. data/lib/stripe/resources/v2/core/person.rb +201 -0
  206. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +40 -0
  207. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +8 -0
  208. data/lib/stripe/resources/v2/event.rb +24 -0
  209. data/lib/stripe/resources/v2/event_destination.rb +44 -0
  210. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +8 -0
  211. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +8 -0
  212. data/lib/stripe/resources/v2/money_management/adjustment.rb +16 -0
  213. data/lib/stripe/resources/v2/money_management/financial_account.rb +61 -0
  214. data/lib/stripe/resources/v2/money_management/financial_address.rb +32 -0
  215. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +90 -3
  216. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +88 -0
  217. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +62 -0
  218. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +24 -0
  219. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +79 -0
  220. data/lib/stripe/resources/v2/money_management/payout_method.rb +32 -0
  221. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +32 -0
  222. data/lib/stripe/resources/v2/money_management/received_credit.rb +77 -0
  223. data/lib/stripe/resources/v2/money_management/received_debit.rb +52 -0
  224. data/lib/stripe/resources/v2/money_management/transaction.rb +36 -0
  225. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +35 -0
  226. data/lib/stripe/resources/v2/payments/off_session_payment.rb +24 -0
  227. data/lib/stripe/resources/v2/reporting/report.rb +52 -0
  228. data/lib/stripe/resources/v2/reporting/report_run.rb +69 -0
  229. data/lib/stripe/resources/v2/tax/automatic_rule.rb +8 -0
  230. data/lib/stripe/resources/webhook_endpoint.rb +8 -0
  231. data/lib/stripe/resources.rb +4 -1
  232. data/lib/stripe/services/v2/billing/cadence_service.rb +7 -1
  233. data/lib/stripe/services/v2/billing/meter_event_stream_service.rb +1 -1
  234. data/lib/stripe/services/v2/billing/service_action_service.rb +23 -2
  235. data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +15 -0
  236. data/lib/stripe/stripe_object.rb +25 -1
  237. data/lib/stripe/util.rb +9 -5
  238. data/lib/stripe/version.rb +1 -1
  239. data/rbi/stripe.rbi +280275 -0
  240. metadata +7 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6142e211344d76ddc07ddfaedcf80dd664f1fbb0a04c819ad1927357840b2497
4
- data.tar.gz: c697beace10154c9bb638ef9be39bba4d330a6134122eab433511081c8ac9a48
3
+ metadata.gz: ae03e20556c6ecf245f2f5c7351da9e3bc4ce49cff9691ec88272f9be0fc1970
4
+ data.tar.gz: 26a6d0cd2f9056020b09154183d44f0c84fe118533851abd1b97962868bb76f6
5
5
  SHA512:
6
- metadata.gz: 8917f37f279a7d0ed18afaa57e52b94ee7e3d3eef65bf155f0a22979331860a13538c10d39ccc71b5a88c04ad3cbebfaeba73553dd9a0a159f1d72cbbbd08cce
7
- data.tar.gz: bdb2698ff57f264afe410407a775c3072c501d747ef20bcdccab56edb08c792bbe921eb367df486749d869c6682a5a5b7a8da83f7c210a201b51029596b0652e
6
+ metadata.gz: 21e7f42a19648e18c69cd84966b0386a685339f627c2db88d6e606fe7a03883ff5cd2bb68d71447a25a2c719bde8ace55d3ba8929983c3c77d2a2aa2fbdbc5f1
7
+ data.tar.gz: 73154cd9959530f5c3ef924a8490c247d78562ca5d1259adcca1232e1d6ea7544f17da244ac222cfc6bfd57272082f3686650c93dcbb5d19e5744537a71cb0a2
data/API_VERSION CHANGED
@@ -1 +1 @@
1
- 2025-08-27.basil
1
+ 2025-09-30.clover
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Changelog
2
2
 
3
+ ## 15.6.0-alpha.3 - 2025-09-17
4
+ * [#1654](https://github.com/stripe/stripe-ruby/pull/1654) generate private-preview SDK w/ mid Sept changes
5
+ * Add support for `retrieve` method on resource `V2.Core.ClaimableSandbox`
6
+ * Add support for `month_of_year` on `V2.Billing.Cadence#create.billing_cycle.month` and `V2.Billing.Cadence.billing_cycle.month`
7
+ * Add support for `claimed_at`, `expires_at`, `sandbox_details`, and `status` on `V2.Core.ClaimableSandbox`
8
+ * Remove support for `api_keys` on `V2.Core.ClaimableSandbox`
9
+ * Change type of `V2.Core.ClaimableSandbox.claim_url` from `string` to `nullable(string)`
10
+ * Add support for new value `current_billing_period_end` on enums `V2.Billing.Intent#create.actions[].deactivate.effective_at.type` and `V2.Billing.IntentAction.deactivate.effective_at.type`
11
+ * Add support for `will_activate_at` and `will_cancel_at` on `V2.Billing.PricingPlanSubscription.servicing_status_transitions` and `V2.Billing.RateCardSubscription.servicing_status_transitions`
12
+ * Add support for `category` and `priority` on `V2.Billing.ServiceAction#create.credit_grant_per_tenant`, `V2.Billing.ServiceAction#create.credit_grant`, `V2.Billing.ServiceAction.credit_grant_per_tenant`, and `V2.Billing.ServiceAction.credit_grant`
13
+ * Change `V2.Billing.LicenseFee#update.display_name` to be optional
14
+ * Add support for `invoices` on `EventsV2BillingCadenceBilledEvent`
15
+ * Add support for thin events `V2CoreClaimableSandboxClaimedEvent`, `V2CoreClaimableSandboxExpiredEvent`, `V2CoreClaimableSandboxExpiringEvent`, and `V2CoreClaimableSandboxSandboxDetailsOwnerAccountUpdatedEvent` with related object `V2.Core.ClaimableSandbox`
16
+ * Remove support for thin event `V2BillingCadenceErroredEvent` with related object `V2.Billing.Cadence`
17
+
18
+ ## 15.6.0-alpha.2 - 2025-09-02
19
+ * [#1642](https://github.com/stripe/stripe-ruby/pull/1642) Deserialize inner types in resources for more detailed types
20
+ * ⚠️ Deserialize inner classes, so inner class types will now reflect generated inner classes
21
+ * [#1647](https://github.com/stripe/stripe-ruby/pull/1647) Update generated code for private-preview
22
+ * Explicitly define methods for RBIs to help Tapioca generation and ship combined RBI for Tapioca
23
+
3
24
  ## 15.6.0-alpha.1 - 2025-08-27
4
25
  * [#1640](https://github.com/stripe/stripe-ruby/pull/1640) Use the right API version 2025-08-27.preview
5
26
  * [#1636](https://github.com/stripe/stripe-ruby/pull/1636) Update generated code for private-preview
@@ -45,7 +66,7 @@
45
66
  * Add support for thin events `V2CoreHealthApiErrorFiringEvent`, `V2CoreHealthApiErrorResolvedEvent`, `V2CoreHealthApiLatencyFiringEvent`, `V2CoreHealthApiLatencyResolvedEvent`, `V2CoreHealthAuthorizationRateDropFiringEvent`, `V2CoreHealthAuthorizationRateDropResolvedEvent`, `V2CoreHealthEventGenerationFailureResolvedEvent`, `V2CoreHealthFraudRateIncreasedEvent`, `V2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent`, `V2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent`, `V2CoreHealthPaymentMethodErrorFiringEvent`, `V2CoreHealthPaymentMethodErrorResolvedEvent`, `V2CoreHealthTrafficVolumeDropFiringEvent`, `V2CoreHealthTrafficVolumeDropResolvedEvent`, `V2CoreHealthWebhookLatencyFiringEvent`, and `V2CoreHealthWebhookLatencyResolvedEvent`
46
67
  * Add support for thin events `V2ReportingReportRunCreatedEvent`, `V2ReportingReportRunFailedEvent`, `V2ReportingReportRunSucceededEvent`, and `V2ReportingReportRunUpdatedEvent` with related object `V2::Reporting::ReportRun`
47
68
  * Add support for error type `RateLimitError`
48
-
69
+
49
70
  ## 15.6.0-beta.1 - 2025-08-27
50
71
  This release changes the pinned API version to `2025-08-27.preview`.
51
72
 
@@ -234,7 +255,7 @@ This release changes the pinned API version to `2025-05-28.preview`.
234
255
  * Change type of `Privacy::RedactionJobValidationError.erroring_object` from `map(string: string)` to `RedactionResourceErroringObject`
235
256
  * Remove support for `async_workflows` on `PaymentIntent::CaptureParams`, `PaymentIntent::ConfirmParams`, `PaymentIntent::CreateParams`, `PaymentIntent::DecrementAuthorizationParams`, `PaymentIntent::IncrementAuthorizationParams`, `PaymentIntent::UpdateParams`, and `PaymentIntent`
236
257
  * Remove support for `status_details` and `status` on `Tax::Association`
237
-
258
+
238
259
  ### Other changes
239
260
  * Add support for `migrate` method on resource `Subscription`
240
261
  * Add support for `distance`, `pickup_location_name`, `return_location_name`, and `vehicle_identification_number` on `Charge::CaptureParams::PaymentDetail::CarRental`, `Charge::UpdateParams::PaymentDetail::CarRental`, `PaymentIntent::CaptureParams::PaymentDetail::CarRental`, `PaymentIntent::ConfirmParams::PaymentDetail::CarRental`, `PaymentIntent::CreateParams::PaymentDetail::CarRental`, `PaymentIntent::PaymentDetail::CarRental`, and `PaymentIntent::UpdateParams::PaymentDetail::CarRental`
@@ -340,10 +361,10 @@ This release changes the pinned API version to `2025-05-28.preview`.
340
361
 
341
362
  ## 15.1.0-beta.1 - 2025-04-10
342
363
  * [#1569](https://github.com/stripe/stripe-ruby/pull/1569) Update generated code for beta
343
-
364
+
344
365
  ### Breaking changes
345
366
  * Change type of `V2MoneyManagementReceivedDebit.status_transitions` from `an object` to `nullable(an object)`
346
-
367
+
347
368
  ### Additions
348
369
  * Add support for new resources `Privacy::RedactionJobRootObjects`, `Privacy::RedactionJobValidationError`, and `Privacy::RedactionJob`
349
370
  * Add support for `cancel`, `create`, `list`, `retrieve`, `run`, `update`, and `validate` methods on resource `RedactionJob`
@@ -385,7 +406,7 @@ This release changes the pinned API version to `2025-05-28.preview`.
385
406
  ### Breaking changes
386
407
  * Change type of `QuotePreviewInvoice::Parent::SubscriptionDetail.subscription` from `string` to `expandable($Subscription)`
387
408
  * Remove support for `value` on `TerminalReader::Action::CollectInput::Input::Selection::Choice`, `TerminalReader::Action::CollectInput::Input::Selection`, and `TerminalReader::CollectInputsParams::Input::Selection::Choice`
388
-
409
+
389
410
  ### Additions
390
411
  * Add support for `payment_method_options` on `ConfirmationToken::CreateParams`
391
412
  * Add support for `installments` on `ConfirmationToken::PaymentMethodOption::Card`
@@ -464,7 +485,7 @@ This release changes the pinned API version to `2025-05-28.preview`.
464
485
  ## 13.6.0-beta.1 - 2025-03-18
465
486
  * [#1550](https://github.com/stripe/stripe-ruby/pull/1550) Merge from stripe-ruby master
466
487
  * [#1546](https://github.com/stripe/stripe-ruby/pull/1546) Beta SDK updates between Open API versions 1473 and 1505
467
-
488
+
468
489
  * Add support for `succeed_input_collection` and `timeout_input_collection` test helper methods on resource `Terminal.Reader`
469
490
  * [#1545](https://github.com/stripe/stripe-ruby/pull/1545) fix ruby merge conflict for beta
470
491
 
data/OPENAPI_VERSION CHANGED
@@ -1 +1 @@
1
- f4b80890ea17e89a543a77a389f29ca9be6fe615
1
+ 0c253852e3399cf28d0866b76ef13986753ce505
data/VERSION CHANGED
@@ -1 +1 @@
1
- 15.6.0-alpha.1
1
+ 15.6.0-alpha.3
@@ -10,7 +10,6 @@ module Stripe
10
10
  V2BillingCadenceBilledEvent.lookup_type => V2BillingCadenceBilledEvent,
11
11
  V2BillingCadenceCanceledEvent.lookup_type => V2BillingCadenceCanceledEvent,
12
12
  V2BillingCadenceCreatedEvent.lookup_type => V2BillingCadenceCreatedEvent,
13
- V2BillingCadenceErroredEvent.lookup_type => V2BillingCadenceErroredEvent,
14
13
  V2BillingLicenseFeeCreatedEvent.lookup_type => V2BillingLicenseFeeCreatedEvent,
15
14
  V2BillingLicenseFeeUpdatedEvent.lookup_type => V2BillingLicenseFeeUpdatedEvent,
16
15
  V2BillingLicenseFeeVersionCreatedEvent.lookup_type => V2BillingLicenseFeeVersionCreatedEvent,
@@ -92,6 +91,11 @@ module Stripe
92
91
  V2CoreAccountPersonDeletedEvent.lookup_type => V2CoreAccountPersonDeletedEvent,
93
92
  V2CoreAccountPersonUpdatedEvent.lookup_type => V2CoreAccountPersonUpdatedEvent,
94
93
  V2CoreAccountUpdatedEvent.lookup_type => V2CoreAccountUpdatedEvent,
94
+ V2CoreClaimableSandboxClaimedEvent.lookup_type => V2CoreClaimableSandboxClaimedEvent,
95
+ V2CoreClaimableSandboxExpiredEvent.lookup_type => V2CoreClaimableSandboxExpiredEvent,
96
+ V2CoreClaimableSandboxExpiringEvent.lookup_type => V2CoreClaimableSandboxExpiringEvent,
97
+ V2CoreClaimableSandboxSandboxDetailsOwnerAccountUpdatedEvent.lookup_type =>
98
+ V2CoreClaimableSandboxSandboxDetailsOwnerAccountUpdatedEvent,
95
99
  V2CoreEventDestinationPingEvent.lookup_type => V2CoreEventDestinationPingEvent,
96
100
  V2CoreHealthApiErrorFiringEvent.lookup_type => V2CoreHealthApiErrorFiringEvent,
97
101
  V2CoreHealthApiErrorResolvedEvent.lookup_type => V2CoreHealthApiErrorResolvedEvent,
@@ -7,6 +7,8 @@ module Stripe
7
7
  def self.lookup_type
8
8
  "v2.billing.cadence.billed"
9
9
  end
10
+ # There is additional data present for this event, accessible with the `data` property.
11
+ # See the Stripe API docs for more information.
10
12
 
11
13
  # Retrieves the related object from the API. Make an API request on every call.
12
14
  def fetch_related_object
@@ -2,10 +2,10 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module Stripe
5
- # Occurs when a billing Cadence encounters an error during a tick.
6
- class V2BillingCadenceErroredEvent < Stripe::V2::Event
5
+ # Occurs when a claimable sandbox is claimed.
6
+ class V2CoreClaimableSandboxClaimedEvent < Stripe::V2::Event
7
7
  def self.lookup_type
8
- "v2.billing.cadence.errored"
8
+ "v2.core.claimable_sandbox.claimed"
9
9
  end
10
10
 
11
11
  # Retrieves the related object from the API. Make an API request on every call.
@@ -0,0 +1,21 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ # Occurs when a claimable sandbox expires.
6
+ class V2CoreClaimableSandboxExpiredEvent < Stripe::V2::Event
7
+ def self.lookup_type
8
+ "v2.core.claimable_sandbox.expired"
9
+ end
10
+
11
+ # Retrieves the related object from the API. Make an API request on every call.
12
+ def fetch_related_object
13
+ _request(
14
+ method: :get,
15
+ path: related_object.url,
16
+ base_address: :api,
17
+ opts: { stripe_account: context }
18
+ )
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,21 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ # Occurs when a claimable sandbox is expiring in 7 days.
6
+ class V2CoreClaimableSandboxExpiringEvent < Stripe::V2::Event
7
+ def self.lookup_type
8
+ "v2.core.claimable_sandbox.expiring"
9
+ end
10
+
11
+ # Retrieves the related object from the API. Make an API request on every call.
12
+ def fetch_related_object
13
+ _request(
14
+ method: :get,
15
+ path: related_object.url,
16
+ base_address: :api,
17
+ opts: { stripe_account: context }
18
+ )
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,21 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ # Occurs when a claimable sandbox is activated by the user with the intention to go live and your Stripe app is installed on the live account.
6
+ class V2CoreClaimableSandboxSandboxDetailsOwnerAccountUpdatedEvent < Stripe::V2::Event
7
+ def self.lookup_type
8
+ "v2.core.claimable_sandbox.sandbox_details_owner_account_updated"
9
+ end
10
+
11
+ # Retrieves the related object from the API. Make an API request on every call.
12
+ def fetch_related_object
13
+ _request(
14
+ method: :get,
15
+ path: related_object.url,
16
+ base_address: :api,
17
+ opts: { stripe_account: context }
18
+ )
19
+ end
20
+ end
21
+ end