stripe 21.0.0 → 21.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stripe/api_operations/request.rb +16 -7
- data/lib/stripe/api_operations/save.rb +4 -4
- data/lib/stripe/api_requestor.rb +54 -34
- data/lib/stripe/api_resource.rb +1 -2
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/connection_manager.rb +3 -0
- data/lib/stripe/event_types.rb +20 -0
- data/lib/stripe/events/v2_core_account_closed_event.rb +2 -2
- data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +2 -2
- data/lib/stripe/events/v2_core_claimable_sandbox_claimed_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_created_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_updated_event.rb +44 -0
- data/lib/stripe/object_types.rb +1 -0
- data/lib/stripe/params/billing_portal/configuration_create_params.rb +1 -1
- data/lib/stripe/params/billing_portal/configuration_update_params.rb +1 -1
- data/lib/stripe/params/checkout/session_create_params.rb +8 -1
- data/lib/stripe/params/coupon_create_params.rb +1 -1
- data/lib/stripe/params/financial_connections/session_create_params.rb +1 -1
- data/lib/stripe/params/invoice_item_create_params.rb +1 -1
- data/lib/stripe/params/payment_intent_capture_params.rb +663 -1
- data/lib/stripe/params/payment_intent_confirm_params.rb +663 -1
- data/lib/stripe/params/payment_intent_create_params.rb +664 -2
- data/lib/stripe/params/payment_intent_update_params.rb +664 -2
- data/lib/stripe/params/payment_link_update_params.rb +4 -0
- data/lib/stripe/params/product_create_params.rb +4 -1
- data/lib/stripe/params/product_update_params.rb +4 -1
- data/lib/stripe/params/quote_create_params.rb +1 -1
- data/lib/stripe/params/quote_update_params.rb +1 -1
- data/lib/stripe/params/reporting/report_run_create_params.rb +4 -0
- data/lib/stripe/params/tax/registration_create_params.rb +13 -1
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.rb +23 -1
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_return_inbound_transfer_params.rb +34 -1
- data/lib/stripe/params/treasury/inbound_transfer_fail_params.rb +23 -1
- data/lib/stripe/params/treasury/inbound_transfer_return_inbound_transfer_params.rb +34 -1
- data/lib/stripe/params/v2/core/account_create_params.rb +138 -4
- data/lib/stripe/params/v2/core/account_link_create_params.rb +19 -1
- data/lib/stripe/params/v2/core/account_update_params.rb +138 -4
- data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +63 -0
- data/lib/stripe/params/v2/core/claimable_sandbox_renew_onboarding_link_params.rb +32 -0
- data/lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +1 -1
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +2 -2
- data/lib/stripe/params.rb +7 -0
- data/lib/stripe/request_options.rb +19 -2
- data/lib/stripe/resources/apps/install.rb +2 -2
- data/lib/stripe/resources/balance_transaction.rb +1 -1
- data/lib/stripe/resources/charge.rb +274 -5
- data/lib/stripe/resources/checkout/session.rb +4 -0
- data/lib/stripe/resources/confirmation_token.rb +2 -2
- data/lib/stripe/resources/coupon.rb +6 -3
- data/lib/stripe/resources/dispute.rb +1 -1
- data/lib/stripe/resources/event.rb +2 -2
- data/lib/stripe/resources/issuing/card.rb +1 -1
- data/lib/stripe/resources/payment_attempt_record.rb +4 -1
- data/lib/stripe/resources/payment_intent.rb +575 -2
- data/lib/stripe/resources/payment_method.rb +2 -2
- data/lib/stripe/resources/payment_record.rb +4 -1
- data/lib/stripe/resources/product.rb +2 -0
- data/lib/stripe/resources/radar/payment_evaluation.rb +1 -1
- data/lib/stripe/resources/refund.rb +38 -0
- data/lib/stripe/resources/reporting/report_run.rb +2 -0
- data/lib/stripe/resources/reserve/hold.rb +1 -1
- data/lib/stripe/resources/setup_attempt.rb +2 -2
- data/lib/stripe/resources/setup_intent.rb +1 -1
- data/lib/stripe/resources/tax/registration.rb +16 -1
- data/lib/stripe/resources/treasury/inbound_transfer.rb +35 -7
- data/lib/stripe/resources/treasury/outbound_payment.rb +37 -9
- data/lib/stripe/resources/treasury/outbound_transfer.rb +37 -9
- data/lib/stripe/resources/treasury/received_credit.rb +1 -1
- data/lib/stripe/resources/treasury/received_debit.rb +1 -1
- data/lib/stripe/resources/v2/core/account.rb +246 -3
- data/lib/stripe/resources/v2/core/account_link.rb +18 -1
- data/lib/stripe/resources/v2/core/account_person_token.rb +2 -0
- data/lib/stripe/resources/v2/core/account_token.rb +3 -1
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +269 -0
- data/lib/stripe/resources/v2/core/event_base.rb +8 -25
- data/lib/stripe/resources/v2/core/event_notification.rb +32 -0
- data/lib/stripe/resources.rb +17 -0
- data/lib/stripe/services/apps/install_service.rb +2 -2
- data/lib/stripe/services/checkout/session_service.rb +2 -0
- data/lib/stripe/services/event_service.rb +1 -1
- data/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +3 -3
- data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +4 -4
- data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +4 -4
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +1 -1
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +1 -1
- data/lib/stripe/services/v2/core/account_link_service.rb +1 -1
- data/lib/stripe/services/v2/core/account_token_service.rb +2 -2
- data/lib/stripe/services/v2/core/accounts/person_token_service.rb +2 -1
- data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +49 -0
- data/lib/stripe/services/v2/core_service.rb +2 -1
- data/lib/stripe/services.rb +2 -0
- data/lib/stripe/stripe_client.rb +6 -0
- data/lib/stripe/stripe_configuration.rb +9 -2
- data/lib/stripe/stripe_event_notification_handler.rb +26 -0
- data/lib/stripe/stripe_object.rb +22 -9
- data/lib/stripe/version.rb +1 -1
- data/rbi/stripe.rbi +6888 -221
- metadata +12 -2
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: stripe
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 21.
|
|
4
|
+
version: 21.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stripe
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-11-
|
|
11
|
+
date: 2026-11-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bigdecimal
|
|
@@ -356,6 +356,11 @@ files:
|
|
|
356
356
|
- lib/stripe/events/v2_core_account_person_deleted_event.rb
|
|
357
357
|
- lib/stripe/events/v2_core_account_person_updated_event.rb
|
|
358
358
|
- lib/stripe/events/v2_core_account_updated_event.rb
|
|
359
|
+
- lib/stripe/events/v2_core_claimable_sandbox_claimed_event.rb
|
|
360
|
+
- lib/stripe/events/v2_core_claimable_sandbox_created_event.rb
|
|
361
|
+
- lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb
|
|
362
|
+
- lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb
|
|
363
|
+
- lib/stripe/events/v2_core_claimable_sandbox_updated_event.rb
|
|
359
364
|
- lib/stripe/events/v2_core_event_destination_ping_event.rb
|
|
360
365
|
- lib/stripe/events/v2_money_management_adjustment_created_event.rb
|
|
361
366
|
- lib/stripe/events/v2_money_management_financial_account_created_event.rb
|
|
@@ -1025,6 +1030,9 @@ files:
|
|
|
1025
1030
|
- lib/stripe/params/v2/core/accounts/person_token_create_params.rb
|
|
1026
1031
|
- lib/stripe/params/v2/core/accounts/person_token_retrieve_params.rb
|
|
1027
1032
|
- lib/stripe/params/v2/core/accounts/person_update_params.rb
|
|
1033
|
+
- lib/stripe/params/v2/core/claimable_sandbox_create_params.rb
|
|
1034
|
+
- lib/stripe/params/v2/core/claimable_sandbox_renew_onboarding_link_params.rb
|
|
1035
|
+
- lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb
|
|
1028
1036
|
- lib/stripe/params/v2/core/event_destination_create_params.rb
|
|
1029
1037
|
- lib/stripe/params/v2/core/event_destination_delete_params.rb
|
|
1030
1038
|
- lib/stripe/params/v2/core/event_destination_disable_params.rb
|
|
@@ -1265,6 +1273,7 @@ files:
|
|
|
1265
1273
|
- lib/stripe/resources/v2/core/account_person.rb
|
|
1266
1274
|
- lib/stripe/resources/v2/core/account_person_token.rb
|
|
1267
1275
|
- lib/stripe/resources/v2/core/account_token.rb
|
|
1276
|
+
- lib/stripe/resources/v2/core/claimable_sandbox.rb
|
|
1268
1277
|
- lib/stripe/resources/v2/core/event.rb
|
|
1269
1278
|
- lib/stripe/resources/v2/core/event_base.rb
|
|
1270
1279
|
- lib/stripe/resources/v2/core/event_destination.rb
|
|
@@ -1484,6 +1493,7 @@ files:
|
|
|
1484
1493
|
- lib/stripe/services/v2/core/account_token_service.rb
|
|
1485
1494
|
- lib/stripe/services/v2/core/accounts/person_service.rb
|
|
1486
1495
|
- lib/stripe/services/v2/core/accounts/person_token_service.rb
|
|
1496
|
+
- lib/stripe/services/v2/core/claimable_sandbox_service.rb
|
|
1487
1497
|
- lib/stripe/services/v2/core/event_destination_service.rb
|
|
1488
1498
|
- lib/stripe/services/v2/core/event_service.rb
|
|
1489
1499
|
- lib/stripe/services/v2/core/vault/gb_bank_account_service.rb
|