stripe 21.2.0.pre.alpha.1 → 21.2.0.pre.alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stripe/api_operations/singleton_save.rb +4 -4
  3. data/lib/stripe/api_version.rb +1 -1
  4. data/lib/stripe/event_types.rb +22 -0
  5. data/lib/stripe/events/v2_money_management_dispute_adjustment_created_event.rb +44 -0
  6. data/lib/stripe/events/v2_money_management_dispute_created_event.rb +44 -0
  7. data/lib/stripe/events/v2_money_management_dispute_lost_event.rb +44 -0
  8. data/lib/stripe/events/v2_money_management_dispute_updated_event.rb +44 -0
  9. data/lib/stripe/events/v2_money_management_dispute_won_event.rb +44 -0
  10. data/lib/stripe/events/v2_risk_evaluation_outcome_delinquency_ready_event.rb +44 -0
  11. data/lib/stripe/object_types.rb +3 -0
  12. data/lib/stripe/params/balance_transaction_list_params.rb +2 -2
  13. data/lib/stripe/params/billing_portal/session_create_params.rb +13 -0
  14. data/lib/stripe/params/checkout/session_create_params.rb +208 -4
  15. data/lib/stripe/params/crypto/onramp_session_checkout_params.rb +37 -1
  16. data/lib/stripe/params/crypto/onramp_session_create_params.rb +4 -0
  17. data/lib/stripe/params/customer_create_params.rb +7 -1
  18. data/lib/stripe/params/customer_update_params.rb +7 -1
  19. data/lib/stripe/params/invoice_rendering_template_create_params.rb +14 -2
  20. data/lib/stripe/params/invoice_rendering_template_update_params.rb +14 -2
  21. data/lib/stripe/params/issuing/authorization_create_params.rb +1 -1
  22. data/lib/stripe/params/payment_intent_confirm_params.rb +96 -4
  23. data/lib/stripe/params/payment_intent_create_params.rb +96 -4
  24. data/lib/stripe/params/payment_intent_update_params.rb +96 -4
  25. data/lib/stripe/params/payment_method_configuration_create_params.rb +63 -0
  26. data/lib/stripe/params/payment_method_configuration_update_params.rb +63 -0
  27. data/lib/stripe/params/tax/calculation_create_params.rb +1 -1
  28. data/lib/stripe/params/terminal/configuration_create_params.rb +1 -1
  29. data/lib/stripe/params/terminal/configuration_update_params.rb +1 -1
  30. data/lib/stripe/params/terminal/reader_refund_payment_params.rb +15 -1
  31. data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +1 -1
  32. data/lib/stripe/params/v2/billing/contract_create_params.rb +182 -9
  33. data/lib/stripe/params/v2/billing/contract_update_params.rb +328 -16
  34. data/lib/stripe/params/v2/core/account_create_params.rb +432 -3
  35. data/lib/stripe/params/v2/core/account_token_create_params.rb +4 -1
  36. data/lib/stripe/params/v2/core/account_update_params.rb +436 -4
  37. data/lib/stripe/params/v2/core/fee_batch_list_params.rb +7 -1
  38. data/lib/stripe/params/v2/money_management/dispute_adjustment_list_params.rb +23 -0
  39. data/lib/stripe/params/v2/money_management/dispute_adjustment_retrieve_params.rb +10 -0
  40. data/lib/stripe/params/v2/money_management/dispute_create_params.rb +37 -0
  41. data/lib/stripe/params/v2/money_management/dispute_list_params.rb +26 -0
  42. data/lib/stripe/params/v2/money_management/dispute_retrieve_params.rb +10 -0
  43. data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +41 -1
  44. data/lib/stripe/params/v2/money_management/inbound_transfer_mandate_create_params.rb +24 -8
  45. data/lib/stripe/params/v2/money_management/spending_mandate_create_params.rb +51 -0
  46. data/lib/stripe/params/v2/money_management/spending_mandate_list_params.rb +4 -1
  47. data/lib/stripe/params/v2/money_management/spending_mandate_update_params.rb +39 -0
  48. data/lib/stripe/params/v2/money_management/test_helpers/financial_address_debit_params.rb +20 -1
  49. data/lib/stripe/params/v2/risk/evaluation_outcome_list_params.rb +34 -0
  50. data/lib/stripe/params/v2/risk/evaluation_outcome_retrieve_params.rb +10 -0
  51. data/lib/stripe/params/v2/test_helpers/money_management/inbound_transfer_fail_params.rb +19 -0
  52. data/lib/stripe/params/v2/test_helpers/money_management/inbound_transfer_succeed_params.rb +12 -0
  53. data/lib/stripe/params.rb +27 -5
  54. data/lib/stripe/resources/billing_portal/session.rb +16 -0
  55. data/lib/stripe/resources/cash_balance.rb +1 -1
  56. data/lib/stripe/resources/charge.rb +32 -0
  57. data/lib/stripe/resources/checkout/session.rb +65 -2
  58. data/lib/stripe/resources/confirmation_token.rb +54 -2
  59. data/lib/stripe/resources/customer.rb +4 -0
  60. data/lib/stripe/resources/customer_tax_exemption.rb +2 -0
  61. data/lib/stripe/resources/dispute.rb +4 -0
  62. data/lib/stripe/resources/identity/verification_report.rb +34 -0
  63. data/lib/stripe/resources/invoice.rb +0 -30
  64. data/lib/stripe/resources/invoice_rendering_template.rb +19 -1
  65. data/lib/stripe/resources/issuing/authorization.rb +18 -0
  66. data/lib/stripe/resources/issuing/card.rb +28 -0
  67. data/lib/stripe/resources/issuing/transaction.rb +18 -0
  68. data/lib/stripe/resources/mandate.rb +65 -0
  69. data/lib/stripe/resources/payment_attempt_record.rb +46 -0
  70. data/lib/stripe/resources/payment_intent.rb +113 -103
  71. data/lib/stripe/resources/payment_link.rb +2 -0
  72. data/lib/stripe/resources/payment_method.rb +53 -1
  73. data/lib/stripe/resources/payment_method_configuration.rb +102 -0
  74. data/lib/stripe/resources/payment_record.rb +46 -0
  75. data/lib/stripe/resources/quote_preview_invoice.rb +0 -30
  76. data/lib/stripe/resources/radar/account_evaluation.rb +36 -2
  77. data/lib/stripe/resources/reserve/plan.rb +1 -1
  78. data/lib/stripe/resources/risk/form.rb +44 -1
  79. data/lib/stripe/resources/setup_attempt.rb +91 -0
  80. data/lib/stripe/resources/setup_intent.rb +1 -1
  81. data/lib/stripe/resources/source.rb +2 -2
  82. data/lib/stripe/resources/subscription.rb +0 -20
  83. data/lib/stripe/resources/tax/calculation.rb +1 -1
  84. data/lib/stripe/resources/tax/form.rb +6 -0
  85. data/lib/stripe/resources/tax/transaction.rb +1 -1
  86. data/lib/stripe/resources/terminal/configuration.rb +1 -1
  87. data/lib/stripe/resources/terminal/onboarding_link.rb +2 -1
  88. data/lib/stripe/resources/terminal/reader.rb +17 -1
  89. data/lib/stripe/resources/test_helpers/test_clock.rb +1 -1
  90. data/lib/stripe/resources/three_d_secure/authentication.rb +1 -1
  91. data/lib/stripe/resources/v2/billing/contract.rb +285 -6
  92. data/lib/stripe/resources/v2/billing/contract_term.rb +133 -6
  93. data/lib/stripe/resources/v2/core/account.rb +2709 -322
  94. data/lib/stripe/resources/v2/core/fee_batch.rb +3 -0
  95. data/lib/stripe/resources/v2/core/fee_entry.rb +33 -3
  96. data/lib/stripe/resources/v2/money_management/dispute.rb +78 -0
  97. data/lib/stripe/resources/v2/money_management/dispute_adjustment.rb +53 -0
  98. data/lib/stripe/resources/v2/money_management/financial_account.rb +45 -0
  99. data/lib/stripe/resources/v2/money_management/inbound_transfer_mandate.rb +6 -4
  100. data/lib/stripe/resources/v2/money_management/received_debit.rb +27 -1
  101. data/lib/stripe/resources/v2/money_management/spending_mandate.rb +18 -2
  102. data/lib/stripe/resources/v2/money_management/transaction.rb +2 -0
  103. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +2 -0
  104. data/lib/stripe/resources/v2/risk/evaluation_outcome.rb +305 -0
  105. data/lib/stripe/resources/v2/signals/account_evaluation.rb +34 -0
  106. data/lib/stripe/resources/v2/signals/account_signal.rb +23 -0
  107. data/lib/stripe/resources.rb +30 -0
  108. data/lib/stripe/services/checkout/session_service.rb +1 -1
  109. data/lib/stripe/services/payment_intent_service.rb +0 -11
  110. data/lib/stripe/services/risk/form_service.rb +44 -1
  111. data/lib/stripe/services/subscription_service.rb +0 -11
  112. data/lib/stripe/services/terminal/onboarding_link_service.rb +1 -0
  113. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +1 -1
  114. data/lib/stripe/services/v2/core/fee_batch_service.rb +4 -1
  115. data/lib/stripe/services/v2/core/fee_entry_service.rb +3 -1
  116. data/lib/stripe/services/v2/money_management/debit_dispute_service.rb +1 -0
  117. data/lib/stripe/services/v2/money_management/dispute_adjustment_service.rb +32 -0
  118. data/lib/stripe/services/v2/money_management/dispute_service.rb +46 -0
  119. data/lib/stripe/services/v2/money_management/inbound_transfer_mandate_service.rb +6 -3
  120. data/lib/stripe/services/v2/money_management/spending_mandate_service.rb +26 -0
  121. data/lib/stripe/services/v2/money_management_service.rb +3 -1
  122. data/lib/stripe/services/v2/risk/evaluation_outcome_service.rb +32 -0
  123. data/lib/stripe/services/v2/risk_service.rb +2 -1
  124. data/lib/stripe/services/v2/test_helpers/money_management/inbound_transfer_service.rb +34 -0
  125. data/lib/stripe/services/v2/test_helpers/money_management_service.rb +8 -0
  126. data/lib/stripe/services.rb +11 -0
  127. data/lib/stripe/stripe_client.rb +1 -1
  128. data/lib/stripe/stripe_event_notification_handler.rb +24 -0
  129. data/lib/stripe/stripe_object.rb +14 -4
  130. data/lib/stripe/util.rb +21 -2
  131. data/lib/stripe/v2_type_coercion.rb +6 -2
  132. data/lib/stripe/version.rb +1 -1
  133. data/lib/stripe/webhook.rb +1 -0
  134. data/rbi/stripe.rbi +8211 -782
  135. metadata +26 -4
  136. data/lib/stripe/params/payment_intent_update_crypto_refund_address_params.rb +0 -19
  137. data/lib/stripe/params/subscription_attach_cadence_params.rb +0 -16
@@ -3175,6 +3175,21 @@ module Stripe
3175
3175
  end
3176
3176
  end
3177
3177
 
3178
+ class AeonPay < ::Stripe::RequestParams
3179
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3180
+ #
3181
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
3182
+ #
3183
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
3184
+ #
3185
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
3186
+ attr_accessor :setup_future_usage
3187
+
3188
+ def initialize(setup_future_usage: nil)
3189
+ @setup_future_usage = setup_future_usage
3190
+ end
3191
+ end
3192
+
3178
3193
  class Affirm < ::Stripe::RequestParams
3179
3194
  # Controls when the funds are captured from the customer's account.
3180
3195
  #
@@ -3302,6 +3317,21 @@ module Stripe
3302
3317
  end
3303
3318
  end
3304
3319
 
3320
+ class AuPay < ::Stripe::RequestParams
3321
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3322
+ #
3323
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
3324
+ #
3325
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
3326
+ #
3327
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
3328
+ attr_accessor :setup_future_usage
3329
+
3330
+ def initialize(setup_future_usage: nil)
3331
+ @setup_future_usage = setup_future_usage
3332
+ end
3333
+ end
3334
+
3305
3335
  class BacsDebit < ::Stripe::RequestParams
3306
3336
  class FinancialConnections < ::Stripe::RequestParams
3307
3337
  # For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
@@ -4079,12 +4109,9 @@ module Stripe
4079
4109
  class DepositOptions < ::Stripe::RequestParams
4080
4110
  # The blockchain networks to support for deposits. Learn more about [supported networks and tokens](https://docs.stripe.com/payments/deposit-mode-stablecoin-payments#token-and-network-support).
4081
4111
  attr_accessor :networks
4082
- # If true, provisions a permanent per-customer deposit address reused across PaymentIntents.
4083
- attr_accessor :static_address
4084
4112
 
4085
- def initialize(networks: nil, static_address: nil)
4113
+ def initialize(networks: nil)
4086
4114
  @networks = networks
4087
- @static_address = static_address
4088
4115
  end
4089
4116
  end
4090
4117
 
@@ -4180,6 +4207,21 @@ module Stripe
4180
4207
  end
4181
4208
  end
4182
4209
 
4210
+ class Dbarai < ::Stripe::RequestParams
4211
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
4212
+ #
4213
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
4214
+ #
4215
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
4216
+ #
4217
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
4218
+ attr_accessor :setup_future_usage
4219
+
4220
+ def initialize(setup_future_usage: nil)
4221
+ @setup_future_usage = setup_future_usage
4222
+ end
4223
+ end
4224
+
4183
4225
  class Eps < ::Stripe::RequestParams
4184
4226
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
4185
4227
  #
@@ -5511,6 +5553,21 @@ module Stripe
5511
5553
  end
5512
5554
  end
5513
5555
 
5556
+ class Merpay < ::Stripe::RequestParams
5557
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
5558
+ #
5559
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
5560
+ #
5561
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
5562
+ #
5563
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
5564
+ attr_accessor :setup_future_usage
5565
+
5566
+ def initialize(setup_future_usage: nil)
5567
+ @setup_future_usage = setup_future_usage
5568
+ end
5569
+ end
5570
+
5514
5571
  class Mobilepay < ::Stripe::RequestParams
5515
5572
  # Controls when the funds are captured from the customer's account.
5516
5573
  #
@@ -5944,6 +6001,21 @@ module Stripe
5944
6001
  end
5945
6002
  end
5946
6003
 
6004
+ class RakutenPay < ::Stripe::RequestParams
6005
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
6006
+ #
6007
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
6008
+ #
6009
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
6010
+ #
6011
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
6012
+ attr_accessor :setup_future_usage
6013
+
6014
+ def initialize(setup_future_usage: nil)
6015
+ @setup_future_usage = setup_future_usage
6016
+ end
6017
+ end
6018
+
5947
6019
  class Rechnung < ::Stripe::RequestParams; end
5948
6020
 
5949
6021
  class RevolutPay < ::Stripe::RequestParams
@@ -6480,6 +6552,8 @@ module Stripe
6480
6552
  end
6481
6553
  # If this is a `acss_debit` PaymentMethod, this sub-hash contains details about the ACSS Debit payment method options.
6482
6554
  attr_accessor :acss_debit
6555
+ # If this is a `aeon_pay` PaymentMethod, this sub-hash contains details about the AEON Pay payment method options.
6556
+ attr_accessor :aeon_pay
6483
6557
  # If this is an `affirm` PaymentMethod, this sub-hash contains details about the Affirm payment method options.
6484
6558
  attr_accessor :affirm
6485
6559
  # If this is a `afterpay_clearpay` PaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options.
@@ -6492,6 +6566,8 @@ module Stripe
6492
6566
  attr_accessor :amazon_pay
6493
6567
  # If this is a `au_becs_debit` PaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options.
6494
6568
  attr_accessor :au_becs_debit
6569
+ # If this is a `au_pay` PaymentMethod, this sub-hash contains details about the au PAY payment method options.
6570
+ attr_accessor :au_pay
6495
6571
  # If this is a `bacs_debit` PaymentMethod, this sub-hash contains details about the BACS Debit payment method options.
6496
6572
  attr_accessor :bacs_debit
6497
6573
  # If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options.
@@ -6516,6 +6592,8 @@ module Stripe
6516
6592
  attr_accessor :crypto
6517
6593
  # If this is a `customer balance` PaymentMethod, this sub-hash contains details about the customer balance payment method options.
6518
6594
  attr_accessor :customer_balance
6595
+ # If this is a `dbarai` PaymentMethod, this sub-hash contains details about the d-Barai payment method options.
6596
+ attr_accessor :dbarai
6519
6597
  # If this is a `eps` PaymentMethod, this sub-hash contains details about the EPS payment method options.
6520
6598
  attr_accessor :eps
6521
6599
  # If this is a `fpx` PaymentMethod, this sub-hash contains details about the FPX payment method options.
@@ -6548,6 +6626,8 @@ module Stripe
6548
6626
  attr_accessor :link
6549
6627
  # If this is a `mb_way` PaymentMethod, this sub-hash contains details about the MB WAY payment method options.
6550
6628
  attr_accessor :mb_way
6629
+ # If this is a `merpay` PaymentMethod, this sub-hash contains details about the Merpay payment method options.
6630
+ attr_accessor :merpay
6551
6631
  # If this is a `MobilePay` PaymentMethod, this sub-hash contains details about the MobilePay payment method options.
6552
6632
  attr_accessor :mobilepay
6553
6633
  # If this is a `multibanco` PaymentMethod, this sub-hash contains details about the Multibanco payment method options.
@@ -6578,6 +6658,8 @@ module Stripe
6578
6658
  attr_accessor :promptpay
6579
6659
  # If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options.
6580
6660
  attr_accessor :qris
6661
+ # If this is a `rakuten_pay` PaymentMethod, this sub-hash contains details about the Rakuten Pay payment method options.
6662
+ attr_accessor :rakuten_pay
6581
6663
  # If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options.
6582
6664
  attr_accessor :rechnung
6583
6665
  # If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
@@ -6621,12 +6703,14 @@ module Stripe
6621
6703
 
6622
6704
  def initialize(
6623
6705
  acss_debit: nil,
6706
+ aeon_pay: nil,
6624
6707
  affirm: nil,
6625
6708
  afterpay_clearpay: nil,
6626
6709
  alipay: nil,
6627
6710
  alma: nil,
6628
6711
  amazon_pay: nil,
6629
6712
  au_becs_debit: nil,
6713
+ au_pay: nil,
6630
6714
  bacs_debit: nil,
6631
6715
  bancontact: nil,
6632
6716
  billie: nil,
@@ -6639,6 +6723,7 @@ module Stripe
6639
6723
  cashapp: nil,
6640
6724
  crypto: nil,
6641
6725
  customer_balance: nil,
6726
+ dbarai: nil,
6642
6727
  eps: nil,
6643
6728
  fpx: nil,
6644
6729
  getflex: nil,
@@ -6655,6 +6740,7 @@ module Stripe
6655
6740
  kr_card: nil,
6656
6741
  link: nil,
6657
6742
  mb_way: nil,
6743
+ merpay: nil,
6658
6744
  mobilepay: nil,
6659
6745
  multibanco: nil,
6660
6746
  naver_pay: nil,
@@ -6670,6 +6756,7 @@ module Stripe
6670
6756
  pix: nil,
6671
6757
  promptpay: nil,
6672
6758
  qris: nil,
6759
+ rakuten_pay: nil,
6673
6760
  rechnung: nil,
6674
6761
  revolut_pay: nil,
6675
6762
  samsung_pay: nil,
@@ -6692,12 +6779,14 @@ module Stripe
6692
6779
  zip: nil
6693
6780
  )
6694
6781
  @acss_debit = acss_debit
6782
+ @aeon_pay = aeon_pay
6695
6783
  @affirm = affirm
6696
6784
  @afterpay_clearpay = afterpay_clearpay
6697
6785
  @alipay = alipay
6698
6786
  @alma = alma
6699
6787
  @amazon_pay = amazon_pay
6700
6788
  @au_becs_debit = au_becs_debit
6789
+ @au_pay = au_pay
6701
6790
  @bacs_debit = bacs_debit
6702
6791
  @bancontact = bancontact
6703
6792
  @billie = billie
@@ -6710,6 +6799,7 @@ module Stripe
6710
6799
  @cashapp = cashapp
6711
6800
  @crypto = crypto
6712
6801
  @customer_balance = customer_balance
6802
+ @dbarai = dbarai
6713
6803
  @eps = eps
6714
6804
  @fpx = fpx
6715
6805
  @getflex = getflex
@@ -6726,6 +6816,7 @@ module Stripe
6726
6816
  @kr_card = kr_card
6727
6817
  @link = link
6728
6818
  @mb_way = mb_way
6819
+ @merpay = merpay
6729
6820
  @mobilepay = mobilepay
6730
6821
  @multibanco = multibanco
6731
6822
  @naver_pay = naver_pay
@@ -6741,6 +6832,7 @@ module Stripe
6741
6832
  @pix = pix
6742
6833
  @promptpay = promptpay
6743
6834
  @qris = qris
6835
+ @rakuten_pay = rakuten_pay
6744
6836
  @rechnung = rechnung
6745
6837
  @revolut_pay = revolut_pay
6746
6838
  @samsung_pay = samsung_pay
@@ -3189,6 +3189,21 @@ module Stripe
3189
3189
  end
3190
3190
  end
3191
3191
 
3192
+ class AeonPay < ::Stripe::RequestParams
3193
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3194
+ #
3195
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
3196
+ #
3197
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
3198
+ #
3199
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
3200
+ attr_accessor :setup_future_usage
3201
+
3202
+ def initialize(setup_future_usage: nil)
3203
+ @setup_future_usage = setup_future_usage
3204
+ end
3205
+ end
3206
+
3192
3207
  class Affirm < ::Stripe::RequestParams
3193
3208
  # Controls when the funds are captured from the customer's account.
3194
3209
  #
@@ -3316,6 +3331,21 @@ module Stripe
3316
3331
  end
3317
3332
  end
3318
3333
 
3334
+ class AuPay < ::Stripe::RequestParams
3335
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3336
+ #
3337
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
3338
+ #
3339
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
3340
+ #
3341
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
3342
+ attr_accessor :setup_future_usage
3343
+
3344
+ def initialize(setup_future_usage: nil)
3345
+ @setup_future_usage = setup_future_usage
3346
+ end
3347
+ end
3348
+
3319
3349
  class BacsDebit < ::Stripe::RequestParams
3320
3350
  class FinancialConnections < ::Stripe::RequestParams
3321
3351
  # For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
@@ -4093,12 +4123,9 @@ module Stripe
4093
4123
  class DepositOptions < ::Stripe::RequestParams
4094
4124
  # The blockchain networks to support for deposits. Learn more about [supported networks and tokens](https://docs.stripe.com/payments/deposit-mode-stablecoin-payments#token-and-network-support).
4095
4125
  attr_accessor :networks
4096
- # If true, provisions a permanent per-customer deposit address reused across PaymentIntents.
4097
- attr_accessor :static_address
4098
4126
 
4099
- def initialize(networks: nil, static_address: nil)
4127
+ def initialize(networks: nil)
4100
4128
  @networks = networks
4101
- @static_address = static_address
4102
4129
  end
4103
4130
  end
4104
4131
 
@@ -4194,6 +4221,21 @@ module Stripe
4194
4221
  end
4195
4222
  end
4196
4223
 
4224
+ class Dbarai < ::Stripe::RequestParams
4225
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
4226
+ #
4227
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
4228
+ #
4229
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
4230
+ #
4231
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
4232
+ attr_accessor :setup_future_usage
4233
+
4234
+ def initialize(setup_future_usage: nil)
4235
+ @setup_future_usage = setup_future_usage
4236
+ end
4237
+ end
4238
+
4197
4239
  class Eps < ::Stripe::RequestParams
4198
4240
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
4199
4241
  #
@@ -5525,6 +5567,21 @@ module Stripe
5525
5567
  end
5526
5568
  end
5527
5569
 
5570
+ class Merpay < ::Stripe::RequestParams
5571
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
5572
+ #
5573
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
5574
+ #
5575
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
5576
+ #
5577
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
5578
+ attr_accessor :setup_future_usage
5579
+
5580
+ def initialize(setup_future_usage: nil)
5581
+ @setup_future_usage = setup_future_usage
5582
+ end
5583
+ end
5584
+
5528
5585
  class Mobilepay < ::Stripe::RequestParams
5529
5586
  # Controls when the funds are captured from the customer's account.
5530
5587
  #
@@ -5958,6 +6015,21 @@ module Stripe
5958
6015
  end
5959
6016
  end
5960
6017
 
6018
+ class RakutenPay < ::Stripe::RequestParams
6019
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
6020
+ #
6021
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
6022
+ #
6023
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
6024
+ #
6025
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
6026
+ attr_accessor :setup_future_usage
6027
+
6028
+ def initialize(setup_future_usage: nil)
6029
+ @setup_future_usage = setup_future_usage
6030
+ end
6031
+ end
6032
+
5961
6033
  class Rechnung < ::Stripe::RequestParams; end
5962
6034
 
5963
6035
  class RevolutPay < ::Stripe::RequestParams
@@ -6494,6 +6566,8 @@ module Stripe
6494
6566
  end
6495
6567
  # If this is a `acss_debit` PaymentMethod, this sub-hash contains details about the ACSS Debit payment method options.
6496
6568
  attr_accessor :acss_debit
6569
+ # If this is a `aeon_pay` PaymentMethod, this sub-hash contains details about the AEON Pay payment method options.
6570
+ attr_accessor :aeon_pay
6497
6571
  # If this is an `affirm` PaymentMethod, this sub-hash contains details about the Affirm payment method options.
6498
6572
  attr_accessor :affirm
6499
6573
  # If this is a `afterpay_clearpay` PaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options.
@@ -6506,6 +6580,8 @@ module Stripe
6506
6580
  attr_accessor :amazon_pay
6507
6581
  # If this is a `au_becs_debit` PaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options.
6508
6582
  attr_accessor :au_becs_debit
6583
+ # If this is a `au_pay` PaymentMethod, this sub-hash contains details about the au PAY payment method options.
6584
+ attr_accessor :au_pay
6509
6585
  # If this is a `bacs_debit` PaymentMethod, this sub-hash contains details about the BACS Debit payment method options.
6510
6586
  attr_accessor :bacs_debit
6511
6587
  # If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options.
@@ -6530,6 +6606,8 @@ module Stripe
6530
6606
  attr_accessor :crypto
6531
6607
  # If this is a `customer balance` PaymentMethod, this sub-hash contains details about the customer balance payment method options.
6532
6608
  attr_accessor :customer_balance
6609
+ # If this is a `dbarai` PaymentMethod, this sub-hash contains details about the d-Barai payment method options.
6610
+ attr_accessor :dbarai
6533
6611
  # If this is a `eps` PaymentMethod, this sub-hash contains details about the EPS payment method options.
6534
6612
  attr_accessor :eps
6535
6613
  # If this is a `fpx` PaymentMethod, this sub-hash contains details about the FPX payment method options.
@@ -6562,6 +6640,8 @@ module Stripe
6562
6640
  attr_accessor :link
6563
6641
  # If this is a `mb_way` PaymentMethod, this sub-hash contains details about the MB WAY payment method options.
6564
6642
  attr_accessor :mb_way
6643
+ # If this is a `merpay` PaymentMethod, this sub-hash contains details about the Merpay payment method options.
6644
+ attr_accessor :merpay
6565
6645
  # If this is a `MobilePay` PaymentMethod, this sub-hash contains details about the MobilePay payment method options.
6566
6646
  attr_accessor :mobilepay
6567
6647
  # If this is a `multibanco` PaymentMethod, this sub-hash contains details about the Multibanco payment method options.
@@ -6592,6 +6672,8 @@ module Stripe
6592
6672
  attr_accessor :promptpay
6593
6673
  # If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options.
6594
6674
  attr_accessor :qris
6675
+ # If this is a `rakuten_pay` PaymentMethod, this sub-hash contains details about the Rakuten Pay payment method options.
6676
+ attr_accessor :rakuten_pay
6595
6677
  # If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options.
6596
6678
  attr_accessor :rechnung
6597
6679
  # If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
@@ -6635,12 +6717,14 @@ module Stripe
6635
6717
 
6636
6718
  def initialize(
6637
6719
  acss_debit: nil,
6720
+ aeon_pay: nil,
6638
6721
  affirm: nil,
6639
6722
  afterpay_clearpay: nil,
6640
6723
  alipay: nil,
6641
6724
  alma: nil,
6642
6725
  amazon_pay: nil,
6643
6726
  au_becs_debit: nil,
6727
+ au_pay: nil,
6644
6728
  bacs_debit: nil,
6645
6729
  bancontact: nil,
6646
6730
  billie: nil,
@@ -6653,6 +6737,7 @@ module Stripe
6653
6737
  cashapp: nil,
6654
6738
  crypto: nil,
6655
6739
  customer_balance: nil,
6740
+ dbarai: nil,
6656
6741
  eps: nil,
6657
6742
  fpx: nil,
6658
6743
  getflex: nil,
@@ -6669,6 +6754,7 @@ module Stripe
6669
6754
  kr_card: nil,
6670
6755
  link: nil,
6671
6756
  mb_way: nil,
6757
+ merpay: nil,
6672
6758
  mobilepay: nil,
6673
6759
  multibanco: nil,
6674
6760
  naver_pay: nil,
@@ -6684,6 +6770,7 @@ module Stripe
6684
6770
  pix: nil,
6685
6771
  promptpay: nil,
6686
6772
  qris: nil,
6773
+ rakuten_pay: nil,
6687
6774
  rechnung: nil,
6688
6775
  revolut_pay: nil,
6689
6776
  samsung_pay: nil,
@@ -6706,12 +6793,14 @@ module Stripe
6706
6793
  zip: nil
6707
6794
  )
6708
6795
  @acss_debit = acss_debit
6796
+ @aeon_pay = aeon_pay
6709
6797
  @affirm = affirm
6710
6798
  @afterpay_clearpay = afterpay_clearpay
6711
6799
  @alipay = alipay
6712
6800
  @alma = alma
6713
6801
  @amazon_pay = amazon_pay
6714
6802
  @au_becs_debit = au_becs_debit
6803
+ @au_pay = au_pay
6715
6804
  @bacs_debit = bacs_debit
6716
6805
  @bancontact = bancontact
6717
6806
  @billie = billie
@@ -6724,6 +6813,7 @@ module Stripe
6724
6813
  @cashapp = cashapp
6725
6814
  @crypto = crypto
6726
6815
  @customer_balance = customer_balance
6816
+ @dbarai = dbarai
6727
6817
  @eps = eps
6728
6818
  @fpx = fpx
6729
6819
  @getflex = getflex
@@ -6740,6 +6830,7 @@ module Stripe
6740
6830
  @kr_card = kr_card
6741
6831
  @link = link
6742
6832
  @mb_way = mb_way
6833
+ @merpay = merpay
6743
6834
  @mobilepay = mobilepay
6744
6835
  @multibanco = multibanco
6745
6836
  @naver_pay = naver_pay
@@ -6755,6 +6846,7 @@ module Stripe
6755
6846
  @pix = pix
6756
6847
  @promptpay = promptpay
6757
6848
  @qris = qris
6849
+ @rakuten_pay = rakuten_pay
6758
6850
  @rechnung = rechnung
6759
6851
  @revolut_pay = revolut_pay
6760
6852
  @samsung_pay = samsung_pay