stripe 20.2.0.pre.alpha.2 → 20.2.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 (83) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stripe/event_types.rb +20 -0
  3. data/lib/stripe/events/v2_core_account_closed_event.rb +2 -2
  4. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +2 -2
  5. data/lib/stripe/events/v2_money_management_received_debit_mandate_canceled_event.rb +2 -0
  6. data/lib/stripe/events/v2_money_management_received_debit_mandate_created_event.rb +2 -0
  7. data/lib/stripe/events/v2_money_management_received_debit_mandate_expired_event.rb +2 -0
  8. data/lib/stripe/events/v2_money_management_received_debit_mandate_pending_cancellation_event.rb +2 -0
  9. data/lib/stripe/events/v2_money_management_received_debit_mandate_updated_event.rb +2 -0
  10. data/lib/stripe/events/v2_money_management_spending_mandate_canceled_event.rb +44 -0
  11. data/lib/stripe/events/v2_money_management_spending_mandate_created_event.rb +46 -0
  12. data/lib/stripe/events/v2_money_management_spending_mandate_expired_event.rb +44 -0
  13. data/lib/stripe/events/v2_money_management_spending_mandate_pending_cancellation_event.rb +44 -0
  14. data/lib/stripe/events/v2_money_management_spending_mandate_updated_event.rb +44 -0
  15. data/lib/stripe/object_types.rb +1 -0
  16. data/lib/stripe/params/checkout/session_create_params.rb +4 -0
  17. data/lib/stripe/params/customer_update_params.rb +55 -0
  18. data/lib/stripe/params/fx_quote_create_params.rb +2 -2
  19. data/lib/stripe/params/payment_attempt_record_report_authenticated_params.rb +10 -1
  20. data/lib/stripe/params/payment_attempt_record_report_authorized_params.rb +35 -1
  21. data/lib/stripe/params/payment_attempt_record_report_guaranteed_params.rb +35 -1
  22. data/lib/stripe/params/payment_method_configuration_create_params.rb +21 -0
  23. data/lib/stripe/params/payment_method_configuration_update_params.rb +21 -0
  24. data/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb +35 -1
  25. data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +35 -1
  26. data/lib/stripe/params/payment_record_report_payment_params.rb +35 -1
  27. data/lib/stripe/params/radar/payment_evaluation_create_params.rb +7 -1
  28. data/lib/stripe/params/setup_intent_confirm_params.rb +13 -1
  29. data/lib/stripe/params/setup_intent_create_params.rb +13 -1
  30. data/lib/stripe/params/setup_intent_update_params.rb +13 -1
  31. data/lib/stripe/params/shared_payment/issued_token_create_params.rb +19 -0
  32. data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +22 -1
  33. data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +46 -0
  34. data/lib/stripe/params/v2/money_management/payout_intent_create_params.rb +22 -1
  35. data/lib/stripe/params/v2/money_management/payout_intent_update_params.rb +22 -1
  36. data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +5 -2
  37. data/lib/stripe/params/v2/money_management/spending_mandate_cancel_params.rb +10 -0
  38. data/lib/stripe/params/v2/money_management/spending_mandate_list_params.rb +26 -0
  39. data/lib/stripe/params/v2/money_management/spending_mandate_retrieve_params.rb +10 -0
  40. data/lib/stripe/params.rb +6 -0
  41. data/lib/stripe/resources/balance_transaction.rb +1 -1
  42. data/lib/stripe/resources/charge.rb +23 -7
  43. data/lib/stripe/resources/checkout/session.rb +2 -0
  44. data/lib/stripe/resources/confirmation_token.rb +19 -3
  45. data/lib/stripe/resources/identity/verification_report.rb +34 -0
  46. data/lib/stripe/resources/mandate.rb +16 -0
  47. data/lib/stripe/resources/payment_attempt_record.rb +18 -2
  48. data/lib/stripe/resources/payment_intent.rb +26 -0
  49. data/lib/stripe/resources/payment_method.rb +19 -3
  50. data/lib/stripe/resources/payment_method_configuration.rb +34 -0
  51. data/lib/stripe/resources/payment_record.rb +18 -2
  52. data/lib/stripe/resources/radar/payment_evaluation.rb +4 -0
  53. data/lib/stripe/resources/reserve/hold.rb +2 -2
  54. data/lib/stripe/resources/reserve/plan.rb +1 -1
  55. data/lib/stripe/resources/reserve/release.rb +1 -1
  56. data/lib/stripe/resources/setup_attempt.rb +18 -2
  57. data/lib/stripe/resources/setup_intent.rb +19 -1
  58. data/lib/stripe/resources/shared_payment/granted_token.rb +32 -2
  59. data/lib/stripe/resources/shared_payment/issued_token.rb +20 -0
  60. data/lib/stripe/resources/terminal/reader.rb +18 -1
  61. data/lib/stripe/resources/v2/core/event.rb +1 -1
  62. data/lib/stripe/resources/v2/core/event_base.rb +36 -0
  63. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +74 -1
  64. data/lib/stripe/resources/v2/money_management/payout_intent.rb +22 -1
  65. data/lib/stripe/resources/v2/money_management/payout_method.rb +40 -0
  66. data/lib/stripe/resources/v2/money_management/received_debit.rb +3 -0
  67. data/lib/stripe/resources/v2/money_management/spending_mandate.rb +121 -0
  68. data/lib/stripe/resources.rb +29 -0
  69. data/lib/stripe/services/checkout/session_service.rb +2 -0
  70. data/lib/stripe/services/reserve/hold_service.rb +2 -2
  71. data/lib/stripe/services/reserve/plan_service.rb +2 -2
  72. data/lib/stripe/services/reserve/release_service.rb +2 -2
  73. data/lib/stripe/services/v2/core/vault/network_token_service.rb +1 -0
  74. data/lib/stripe/services/v2/money_management/received_debit_mandate_service.rb +3 -0
  75. data/lib/stripe/services/v2/money_management/spending_mandate_service.rb +43 -0
  76. data/lib/stripe/services/v2/money_management_service.rb +2 -1
  77. data/lib/stripe/services.rb +2 -0
  78. data/lib/stripe/stripe_event_notification_handler.rb +20 -0
  79. data/lib/stripe/version.rb +1 -1
  80. data/lib/stripe/webhook.rb +61 -2
  81. data/rbi/stripe/resources/v2/core/event_base.rbi +11 -0
  82. data/rbi/stripe.rbi +1464 -72
  83. metadata +14 -2
data/rbi/stripe.rbi CHANGED
@@ -9599,7 +9599,7 @@ module Stripe
9599
9599
  # An arbitrary string attached to the object. Often useful for displaying to users.
9600
9600
  sig { returns(T.nilable(String)) }
9601
9601
  def description; end
9602
- # If applicable, this transaction uses an exchange rate. If money converts from currency A to currency B, then the `amount` in currency A, multiplied by the `exchange_rate`, equals the `amount` in currency B. For example, if you charge a customer 10.00 EUR, the PaymentIntent's `amount` is `1000` and `currency` is `eur`. If this converts to 12.34 USD in your Stripe account, the BalanceTransaction's `amount` is `1234`, its `currency` is `usd`, and the `exchange_rate` is `1.234`.
9602
+ # The exchange rate used for this transaction, if applicable. Multiplying the source `amount` by the `exchange_rate` gives the destination `amount`, both in their currencies' smallest units. For example, `1000` EUR cents converts to `1234` USD cents at `1.234`. For a zero-decimal currency such as JPY, `1000` JPY converts to `640` USD cents (6.40 USD) at `0.64`, equivalent to `0.0064` USD per JPY. For JPY to USD, the API multiplier is 100 times the whole-unit rate because JPY amounts use yen and USD amounts use cents.
9603
9603
  sig { returns(T.nilable(Float)) }
9604
9604
  def exchange_rate; end
9605
9605
  # Fees (in cents (or local equivalent)) paid for this transaction. Represented as a positive integer when assessed.
@@ -12927,10 +12927,10 @@ module Stripe
12927
12927
  end
12928
12928
  end
12929
12929
  class Checks < ::Stripe::StripeObject
12930
- # If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
12930
+ # If an address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
12931
12931
  sig { returns(T.nilable(String)) }
12932
12932
  def address_line1_check; end
12933
- # If a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
12933
+ # If an address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
12934
12934
  sig { returns(T.nilable(String)) }
12935
12935
  def address_postal_code_check; end
12936
12936
  # If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
@@ -13129,10 +13129,10 @@ module Stripe
13129
13129
  class FundingSource < ::Stripe::StripeObject
13130
13130
  class Card < ::Stripe::StripeObject
13131
13131
  class Checks < ::Stripe::StripeObject
13132
- # If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
13132
+ # If an address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
13133
13133
  sig { returns(T.nilable(String)) }
13134
13134
  def address_line1_check; end
13135
- # If a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
13135
+ # If an address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
13136
13136
  sig { returns(T.nilable(String)) }
13137
13137
  def address_postal_code_check; end
13138
13138
  # If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
@@ -13701,6 +13701,20 @@ module Stripe
13701
13701
  end
13702
13702
  end
13703
13703
  class Receipt < ::Stripe::StripeObject
13704
+ class CardholderMessage < ::Stripe::StripeObject
13705
+ # Where the message must be printed or displayed. An empty list means the message must not be shown.
13706
+ sig { returns(T::Array[String]) }
13707
+ def destinations; end
13708
+ # The message from the card issuer, such as the remaining balance.
13709
+ sig { returns(String) }
13710
+ def value; end
13711
+ def self.inner_class_types
13712
+ @inner_class_types = {}
13713
+ end
13714
+ def self.field_remappings
13715
+ @field_remappings = {}
13716
+ end
13717
+ end
13704
13718
  # The type of account being debited or credited
13705
13719
  sig { returns(T.nilable(String)) }
13706
13720
  def account_type; end
@@ -13716,6 +13730,9 @@ module Stripe
13716
13730
  # EMV tag 8A. A code returned by the card issuer.
13717
13731
  sig { returns(T.nilable(String)) }
13718
13732
  def authorization_response_code; end
13733
+ # A message from the card issuer to show to the cardholder, and where it must be shown.
13734
+ sig { returns(T.nilable(CardholderMessage)) }
13735
+ def cardholder_message; end
13719
13736
  # Describes the method used by the cardholder to verify ownership of the card. One of the following: `approval`, `failure`, `none`, `offline_pin`, `offline_pin_and_signature`, `online_pin`, or `signature`.
13720
13737
  sig { returns(T.nilable(String)) }
13721
13738
  def cardholder_verification_method; end
@@ -13729,7 +13746,7 @@ module Stripe
13729
13746
  sig { returns(T.nilable(String)) }
13730
13747
  def transaction_status_information; end
13731
13748
  def self.inner_class_types
13732
- @inner_class_types = {}
13749
+ @inner_class_types = {cardholder_message: CardholderMessage}
13733
13750
  end
13734
13751
  def self.field_remappings
13735
13752
  @field_remappings = {}
@@ -14324,10 +14341,10 @@ module Stripe
14324
14341
  class FundingSource < ::Stripe::StripeObject
14325
14342
  class Card < ::Stripe::StripeObject
14326
14343
  class Checks < ::Stripe::StripeObject
14327
- # If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
14344
+ # If an address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
14328
14345
  sig { returns(T.nilable(String)) }
14329
14346
  def address_line1_check; end
14330
- # If a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
14347
+ # If an address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
14331
14348
  sig { returns(T.nilable(String)) }
14332
14349
  def address_postal_code_check; end
14333
14350
  # If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
@@ -19801,6 +19818,8 @@ module Stripe
19801
19818
  def self.approve(session, params = {}, opts = {}); end
19802
19819
 
19803
19820
  # Creates a Checkout Session object.
19821
+ #
19822
+ # Validate requests on your server and protect your application's Session-creation endpoint with access controls and limits on repeated creation. See [Protect your Session-creation endpoint](https://docs.stripe.com/payments/accept-a-payment?payment-ui=elements&api-integration=checkout#protect-session-creation).
19804
19823
  sig {
19805
19824
  params(params: T.any(::Stripe::Checkout::SessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Checkout::Session)
19806
19825
  }
@@ -20470,10 +20489,10 @@ module Stripe
20470
20489
  end
20471
20490
  end
20472
20491
  class Checks < ::Stripe::StripeObject
20473
- # If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
20492
+ # If an address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
20474
20493
  sig { returns(T.nilable(String)) }
20475
20494
  def address_line1_check; end
20476
- # If a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
20495
+ # If an address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
20477
20496
  sig { returns(T.nilable(String)) }
20478
20497
  def address_postal_code_check; end
20479
20498
  # If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
@@ -20554,6 +20573,20 @@ module Stripe
20554
20573
  end
20555
20574
  end
20556
20575
  class Receipt < ::Stripe::StripeObject
20576
+ class CardholderMessage < ::Stripe::StripeObject
20577
+ # Where the message must be printed or displayed. An empty list means the message must not be shown.
20578
+ sig { returns(T::Array[String]) }
20579
+ def destinations; end
20580
+ # The message from the card issuer, such as the remaining balance.
20581
+ sig { returns(String) }
20582
+ def value; end
20583
+ def self.inner_class_types
20584
+ @inner_class_types = {}
20585
+ end
20586
+ def self.field_remappings
20587
+ @field_remappings = {}
20588
+ end
20589
+ end
20557
20590
  # The type of account being debited or credited
20558
20591
  sig { returns(T.nilable(String)) }
20559
20592
  def account_type; end
@@ -20569,6 +20602,9 @@ module Stripe
20569
20602
  # EMV tag 8A. A code returned by the card issuer.
20570
20603
  sig { returns(T.nilable(String)) }
20571
20604
  def authorization_response_code; end
20605
+ # A message from the card issuer to show to the cardholder, and where it must be shown.
20606
+ sig { returns(T.nilable(CardholderMessage)) }
20607
+ def cardholder_message; end
20572
20608
  # Describes the method used by the cardholder to verify ownership of the card. One of the following: `approval`, `failure`, `none`, `offline_pin`, `offline_pin_and_signature`, `online_pin`, or `signature`.
20573
20609
  sig { returns(T.nilable(String)) }
20574
20610
  def cardholder_verification_method; end
@@ -20582,7 +20618,7 @@ module Stripe
20582
20618
  sig { returns(T.nilable(String)) }
20583
20619
  def transaction_status_information; end
20584
20620
  def self.inner_class_types
20585
- @inner_class_types = {}
20621
+ @inner_class_types = {cardholder_message: CardholderMessage}
20586
20622
  end
20587
20623
  def self.field_remappings
20588
20624
  @field_remappings = {}
@@ -29114,6 +29150,37 @@ module Stripe
29114
29150
  @field_remappings = {}
29115
29151
  end
29116
29152
  end
29153
+ class FraudulentSelfie < ::Stripe::StripeObject
29154
+ class Indicator < ::Stripe::StripeObject
29155
+ # A brief explanation of how this indicator contributed to the risk level.
29156
+ sig { returns(String) }
29157
+ def explanation; end
29158
+ # The effect this indicator had on the overall risk level.
29159
+ sig { returns(String) }
29160
+ def impact; end
29161
+ # The name of the specific indicator used in the risk assessment.
29162
+ sig { returns(String) }
29163
+ def indicator; end
29164
+ def self.inner_class_types
29165
+ @inner_class_types = {}
29166
+ end
29167
+ def self.field_remappings
29168
+ @field_remappings = {}
29169
+ end
29170
+ end
29171
+ # Array of objects representing individual factors that contributed to the calculated risk level.
29172
+ sig { returns(T::Array[Indicator]) }
29173
+ def indicators; end
29174
+ # Categorical assessment of the selfie risk.
29175
+ sig { returns(String) }
29176
+ def risk_level; end
29177
+ def self.inner_class_types
29178
+ @inner_class_types = {indicators: Indicator}
29179
+ end
29180
+ def self.field_remappings
29181
+ @field_remappings = {}
29182
+ end
29183
+ end
29117
29184
  # Attribute for field fraudulent_document
29118
29185
  sig { returns(T.nilable(FraudulentDocument)) }
29119
29186
  def fraudulent_document; end
@@ -29126,12 +29193,16 @@ module Stripe
29126
29193
  # Attribute for field fraudulent_phone
29127
29194
  sig { returns(T.nilable(FraudulentPhone)) }
29128
29195
  def fraudulent_phone; end
29196
+ # Attribute for field fraudulent_selfie
29197
+ sig { returns(T.nilable(FraudulentSelfie)) }
29198
+ def fraudulent_selfie; end
29129
29199
  def self.inner_class_types
29130
29200
  @inner_class_types = {
29131
29201
  fraudulent_document: FraudulentDocument,
29132
29202
  fraudulent_email: FraudulentEmail,
29133
29203
  fraudulent_person: FraudulentPerson,
29134
29204
  fraudulent_phone: FraudulentPhone,
29205
+ fraudulent_selfie: FraudulentSelfie,
29135
29206
  }
29136
29207
  end
29137
29208
  def self.field_remappings
@@ -37130,6 +37201,17 @@ module Stripe
37130
37201
  @field_remappings = {}
37131
37202
  end
37132
37203
  end
37204
+ class TossPay < ::Stripe::StripeObject
37205
+ # The buyer identifier provided by NICE for this Toss Pay account, when available.
37206
+ sig { returns(T.nilable(String)) }
37207
+ def buyer_id; end
37208
+ def self.inner_class_types
37209
+ @inner_class_types = {}
37210
+ end
37211
+ def self.field_remappings
37212
+ @field_remappings = {}
37213
+ end
37214
+ end
37133
37215
  class Twint < ::Stripe::StripeObject
37134
37216
  def self.inner_class_types
37135
37217
  @inner_class_types = {}
@@ -37223,6 +37305,9 @@ module Stripe
37223
37305
  # Attribute for field sepa_debit
37224
37306
  sig { returns(T.nilable(SepaDebit)) }
37225
37307
  def sepa_debit; end
37308
+ # Attribute for field toss_pay
37309
+ sig { returns(T.nilable(TossPay)) }
37310
+ def toss_pay; end
37226
37311
  # Attribute for field twint
37227
37312
  sig { returns(T.nilable(Twint)) }
37228
37313
  def twint; end
@@ -37255,6 +37340,7 @@ module Stripe
37255
37340
  pix: Pix,
37256
37341
  revolut_pay: RevolutPay,
37257
37342
  sepa_debit: SepaDebit,
37343
+ toss_pay: TossPay,
37258
37344
  twint: Twint,
37259
37345
  upi: Upi,
37260
37346
  us_bank_account: UsBankAccount,
@@ -38851,7 +38937,7 @@ module Stripe
38851
38937
  # If you provide a value for `address.line1`, the check result is one of `pass`, `fail`, `unavailable`, or `unchecked`.
38852
38938
  sig { returns(T.nilable(String)) }
38853
38939
  def address_line1_check; end
38854
- # If you provide a address postal code, the check result is one of `pass`, `fail`, `unavailable`, or `unchecked`.
38940
+ # If you provide an address postal code, the check result is one of `pass`, `fail`, `unavailable`, or `unchecked`.
38855
38941
  sig { returns(T.nilable(String)) }
38856
38942
  def address_postal_code_check; end
38857
38943
  # If you provide a CVC, the check results is one of `pass`, `fail`, `unavailable`, or `unchecked`.
@@ -39132,6 +39218,20 @@ module Stripe
39132
39218
  end
39133
39219
  end
39134
39220
  class Receipt < ::Stripe::StripeObject
39221
+ class CardholderMessage < ::Stripe::StripeObject
39222
+ # Where the message must be printed or displayed. An empty list means the message must not be shown.
39223
+ sig { returns(T::Array[String]) }
39224
+ def destinations; end
39225
+ # The message from the card issuer, such as the remaining balance.
39226
+ sig { returns(String) }
39227
+ def value; end
39228
+ def self.inner_class_types
39229
+ @inner_class_types = {}
39230
+ end
39231
+ def self.field_remappings
39232
+ @field_remappings = {}
39233
+ end
39234
+ end
39135
39235
  # The type of account being debited or credited
39136
39236
  sig { returns(T.nilable(String)) }
39137
39237
  def account_type; end
@@ -39147,6 +39247,9 @@ module Stripe
39147
39247
  # EMV tag 8A. A code returned by the card issuer.
39148
39248
  sig { returns(T.nilable(String)) }
39149
39249
  def authorization_response_code; end
39250
+ # A message from the card issuer to show to the cardholder, and where it must be shown.
39251
+ sig { returns(T.nilable(CardholderMessage)) }
39252
+ def cardholder_message; end
39150
39253
  # Describes the method used by the cardholder to verify ownership of the card. One of the following: `approval`, `failure`, `none`, `offline_pin`, `offline_pin_and_signature`, `online_pin`, or `signature`.
39151
39254
  sig { returns(T.nilable(String)) }
39152
39255
  def cardholder_verification_method; end
@@ -39160,7 +39263,7 @@ module Stripe
39160
39263
  sig { returns(T.nilable(String)) }
39161
39264
  def transaction_status_information; end
39162
39265
  def self.inner_class_types
39163
- @inner_class_types = {}
39266
+ @inner_class_types = {cardholder_message: CardholderMessage}
39164
39267
  end
39165
39268
  def self.field_remappings
39166
39269
  @field_remappings = {}
@@ -42849,6 +42952,32 @@ module Stripe
42849
42952
  @field_remappings = {}
42850
42953
  end
42851
42954
  end
42955
+ class WechatPayRedirectToMiniProgram < ::Stripe::StripeObject
42956
+ # Mini Program ID registered on WeChat Open Platform
42957
+ sig { returns(String) }
42958
+ def app_id; end
42959
+ # Random string
42960
+ sig { returns(String) }
42961
+ def nonce_str; end
42962
+ # Unique trading ID assigned by WeChat Pay
42963
+ sig { returns(String) }
42964
+ def prepay_id; end
42965
+ # Signature
42966
+ sig { returns(String) }
42967
+ def sign; end
42968
+ # Signature type
42969
+ sig { returns(String) }
42970
+ def sign_type; end
42971
+ # Current time in epoch format
42972
+ sig { returns(String) }
42973
+ def timestamp; end
42974
+ def self.inner_class_types
42975
+ @inner_class_types = {}
42976
+ end
42977
+ def self.field_remappings
42978
+ @field_remappings = {}
42979
+ end
42980
+ end
42852
42981
  # Attribute for field alipay_handle_redirect
42853
42982
  sig { returns(T.nilable(AlipayHandleRedirect)) }
42854
42983
  def alipay_handle_redirect; end
@@ -42921,6 +43050,9 @@ module Stripe
42921
43050
  # Attribute for field wechat_pay_redirect_to_ios_app
42922
43051
  sig { returns(T.nilable(WechatPayRedirectToIosApp)) }
42923
43052
  def wechat_pay_redirect_to_ios_app; end
43053
+ # Attribute for field wechat_pay_redirect_to_mini_program
43054
+ sig { returns(T.nilable(WechatPayRedirectToMiniProgram)) }
43055
+ def wechat_pay_redirect_to_mini_program; end
42924
43056
  def self.inner_class_types
42925
43057
  @inner_class_types = {
42926
43058
  alipay_handle_redirect: AlipayHandleRedirect,
@@ -42945,6 +43077,7 @@ module Stripe
42945
43077
  wechat_pay_handle_app_redirect: WechatPayHandleAppRedirect,
42946
43078
  wechat_pay_redirect_to_android_app: WechatPayRedirectToAndroidApp,
42947
43079
  wechat_pay_redirect_to_ios_app: WechatPayRedirectToIosApp,
43080
+ wechat_pay_redirect_to_mini_program: WechatPayRedirectToMiniProgram,
42948
43081
  }
42949
43082
  end
42950
43083
  def self.field_remappings
@@ -50914,6 +51047,37 @@ module Stripe
50914
51047
  @field_remappings = {}
50915
51048
  end
50916
51049
  end
51050
+ class TossPay < ::Stripe::StripeObject
51051
+ class DisplayPreference < ::Stripe::StripeObject
51052
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
51053
+ sig { returns(T.nilable(T::Boolean)) }
51054
+ def overridable; end
51055
+ # The account's display preference.
51056
+ sig { returns(String) }
51057
+ def preference; end
51058
+ # The effective display preference value.
51059
+ sig { returns(String) }
51060
+ def value; end
51061
+ def self.inner_class_types
51062
+ @inner_class_types = {}
51063
+ end
51064
+ def self.field_remappings
51065
+ @field_remappings = {}
51066
+ end
51067
+ end
51068
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
51069
+ sig { returns(T::Boolean) }
51070
+ def available; end
51071
+ # Attribute for field display_preference
51072
+ sig { returns(DisplayPreference) }
51073
+ def display_preference; end
51074
+ def self.inner_class_types
51075
+ @inner_class_types = {display_preference: DisplayPreference}
51076
+ end
51077
+ def self.field_remappings
51078
+ @field_remappings = {}
51079
+ end
51080
+ end
50917
51081
  class Twint < ::Stripe::StripeObject
50918
51082
  class DisplayPreference < ::Stripe::StripeObject
50919
51083
  # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
@@ -51304,6 +51468,9 @@ module Stripe
51304
51468
  # Attribute for field swish
51305
51469
  sig { returns(T.nilable(Swish)) }
51306
51470
  def swish; end
51471
+ # Attribute for field toss_pay
51472
+ sig { returns(T.nilable(TossPay)) }
51473
+ def toss_pay; end
51307
51474
  # Attribute for field twint
51308
51475
  sig { returns(T.nilable(Twint)) }
51309
51476
  def twint; end
@@ -51813,10 +51980,10 @@ module Stripe
51813
51980
  end
51814
51981
  end
51815
51982
  class Checks < ::Stripe::StripeObject
51816
- # If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
51983
+ # If an address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
51817
51984
  sig { returns(T.nilable(String)) }
51818
51985
  def address_line1_check; end
51819
- # If a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
51986
+ # If an address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
51820
51987
  sig { returns(T.nilable(String)) }
51821
51988
  def address_postal_code_check; end
51822
51989
  # If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
@@ -51897,6 +52064,20 @@ module Stripe
51897
52064
  end
51898
52065
  end
51899
52066
  class Receipt < ::Stripe::StripeObject
52067
+ class CardholderMessage < ::Stripe::StripeObject
52068
+ # Where the message must be printed or displayed. An empty list means the message must not be shown.
52069
+ sig { returns(T::Array[String]) }
52070
+ def destinations; end
52071
+ # The message from the card issuer, such as the remaining balance.
52072
+ sig { returns(String) }
52073
+ def value; end
52074
+ def self.inner_class_types
52075
+ @inner_class_types = {}
52076
+ end
52077
+ def self.field_remappings
52078
+ @field_remappings = {}
52079
+ end
52080
+ end
51900
52081
  # The type of account being debited or credited
51901
52082
  sig { returns(T.nilable(String)) }
51902
52083
  def account_type; end
@@ -51912,6 +52093,9 @@ module Stripe
51912
52093
  # EMV tag 8A. A code returned by the card issuer.
51913
52094
  sig { returns(T.nilable(String)) }
51914
52095
  def authorization_response_code; end
52096
+ # A message from the card issuer to show to the cardholder, and where it must be shown.
52097
+ sig { returns(T.nilable(CardholderMessage)) }
52098
+ def cardholder_message; end
51915
52099
  # Describes the method used by the cardholder to verify ownership of the card. One of the following: `approval`, `failure`, `none`, `offline_pin`, `offline_pin_and_signature`, `online_pin`, or `signature`.
51916
52100
  sig { returns(T.nilable(String)) }
51917
52101
  def cardholder_verification_method; end
@@ -51925,7 +52109,7 @@ module Stripe
51925
52109
  sig { returns(T.nilable(String)) }
51926
52110
  def transaction_status_information; end
51927
52111
  def self.inner_class_types
51928
- @inner_class_types = {}
52112
+ @inner_class_types = {cardholder_message: CardholderMessage}
51929
52113
  end
51930
52114
  def self.field_remappings
51931
52115
  @field_remappings = {}
@@ -54497,7 +54681,7 @@ module Stripe
54497
54681
  # If you provide a value for `address.line1`, the check result is one of `pass`, `fail`, `unavailable`, or `unchecked`.
54498
54682
  sig { returns(T.nilable(String)) }
54499
54683
  def address_line1_check; end
54500
- # If you provide a address postal code, the check result is one of `pass`, `fail`, `unavailable`, or `unchecked`.
54684
+ # If you provide an address postal code, the check result is one of `pass`, `fail`, `unavailable`, or `unchecked`.
54501
54685
  sig { returns(T.nilable(String)) }
54502
54686
  def address_postal_code_check; end
54503
54687
  # If you provide a CVC, the check results is one of `pass`, `fail`, `unavailable`, or `unchecked`.
@@ -54778,6 +54962,20 @@ module Stripe
54778
54962
  end
54779
54963
  end
54780
54964
  class Receipt < ::Stripe::StripeObject
54965
+ class CardholderMessage < ::Stripe::StripeObject
54966
+ # Where the message must be printed or displayed. An empty list means the message must not be shown.
54967
+ sig { returns(T::Array[String]) }
54968
+ def destinations; end
54969
+ # The message from the card issuer, such as the remaining balance.
54970
+ sig { returns(String) }
54971
+ def value; end
54972
+ def self.inner_class_types
54973
+ @inner_class_types = {}
54974
+ end
54975
+ def self.field_remappings
54976
+ @field_remappings = {}
54977
+ end
54978
+ end
54781
54979
  # The type of account being debited or credited
54782
54980
  sig { returns(T.nilable(String)) }
54783
54981
  def account_type; end
@@ -54793,6 +54991,9 @@ module Stripe
54793
54991
  # EMV tag 8A. A code returned by the card issuer.
54794
54992
  sig { returns(T.nilable(String)) }
54795
54993
  def authorization_response_code; end
54994
+ # A message from the card issuer to show to the cardholder, and where it must be shown.
54995
+ sig { returns(T.nilable(CardholderMessage)) }
54996
+ def cardholder_message; end
54796
54997
  # Describes the method used by the cardholder to verify ownership of the card. One of the following: `approval`, `failure`, `none`, `offline_pin`, `offline_pin_and_signature`, `online_pin`, or `signature`.
54797
54998
  sig { returns(T.nilable(String)) }
54798
54999
  def cardholder_verification_method; end
@@ -54806,7 +55007,7 @@ module Stripe
54806
55007
  sig { returns(T.nilable(String)) }
54807
55008
  def transaction_status_information; end
54808
55009
  def self.inner_class_types
54809
- @inner_class_types = {}
55010
+ @inner_class_types = {cardholder_message: CardholderMessage}
54810
55011
  end
54811
55012
  def self.field_remappings
54812
55013
  @field_remappings = {}
@@ -63420,6 +63621,12 @@ module Stripe
63420
63621
  # Creditor identifier used for the intended debit.
63421
63622
  sig { returns(T.nilable(String)) }
63422
63623
  def creditor_id; end
63624
+ # Describes the presence of the customer during the payment.
63625
+ sig { returns(T.nilable(String)) }
63626
+ def customer_presence; end
63627
+ # Describes whether this payment is one-off or recurring.
63628
+ sig { returns(T.nilable(String)) }
63629
+ def payment_type; end
63423
63630
  def self.inner_class_types
63424
63631
  @inner_class_types = {}
63425
63632
  end
@@ -64883,7 +65090,7 @@ end
64883
65090
  # typed: true
64884
65091
  module Stripe
64885
65092
  module Reserve
64886
- # ReserveHolds are used to place a temporary ReserveHold on a merchant's funds.
65093
+ # A ReserveHold holds a portion of an account's funds until it's released. Stripe or the account's platform can create a ReserveHold directly, and a ReservePlan creates ReserveHolds automatically from incoming Charges.
64887
65094
  class Hold < APIResource
64888
65095
  class ReleaseDetail < ::Stripe::StripeObject
64889
65096
  # The amount released by the ReserveRelease from this ReserveHold. A positive integer representing how much is released in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
@@ -64964,7 +65171,7 @@ module Stripe
64964
65171
  # Which source balance type this ReserveHold reserves funds from. One of `bank_account`, `card`, or `fpx`.
64965
65172
  sig { returns(String) }
64966
65173
  def source_type; end
64967
- # Returns a list of ReserveHolds previously created. The ReserveHolds are returned in sorted order, with the most recent ReserveHolds appearing first.
65174
+ # Returns a list of ReserveHolds on your account or on one of your connected accounts. The ReserveHolds are returned in sorted order, with the most recent ReserveHolds appearing first.
64968
65175
  sig {
64969
65176
  params(params: T.any(::Stripe::Reserve::HoldListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject)
64970
65177
  }
@@ -65058,7 +65265,7 @@ module Stripe
65058
65265
  # The type of the ReservePlan.
65059
65266
  sig { returns(String) }
65060
65267
  def type; end
65061
- # Returns a list of ReservePlans previously created. The ReservePlans are returned in sorted order, with the most recent ReservePlans appearing first.
65268
+ # Returns a list of ReservePlans on your account or on one of your connected accounts. The ReservePlans are returned in sorted order, with the most recent ReservePlans appearing first.
65062
65269
  sig {
65063
65270
  params(params: T.any(::Stripe::Reserve::PlanListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject)
65064
65271
  }
@@ -65130,7 +65337,7 @@ module Stripe
65130
65337
  # Attribute for field source_transaction
65131
65338
  sig { returns(T.nilable(SourceTransaction)) }
65132
65339
  def source_transaction; end
65133
- # Returns a list of ReserveReleases previously created. The ReserveReleases are returned in sorted order, with the most recent ReserveReleases appearing first.
65340
+ # Returns a list of ReserveReleases on your account or on one of your connected accounts. The ReserveReleases are returned in sorted order, with the most recent ReserveReleases appearing first.
65134
65341
  sig {
65135
65342
  params(params: T.any(::Stripe::Reserve::ReleaseListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject)
65136
65343
  }
@@ -65598,10 +65805,10 @@ module Stripe
65598
65805
  end
65599
65806
  class Card < ::Stripe::StripeObject
65600
65807
  class Checks < ::Stripe::StripeObject
65601
- # If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
65808
+ # If an address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
65602
65809
  sig { returns(T.nilable(String)) }
65603
65810
  def address_line1_check; end
65604
- # If a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
65811
+ # If an address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
65605
65812
  sig { returns(T.nilable(String)) }
65606
65813
  def address_postal_code_check; end
65607
65814
  # If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
@@ -65969,6 +66176,17 @@ module Stripe
65969
66176
  @field_remappings = {}
65970
66177
  end
65971
66178
  end
66179
+ class TossPay < ::Stripe::StripeObject
66180
+ # The buyer identifier provided by NICE for this Toss Pay account, when available.
66181
+ sig { returns(T.nilable(String)) }
66182
+ def buyer_id; end
66183
+ def self.inner_class_types
66184
+ @inner_class_types = {}
66185
+ end
66186
+ def self.field_remappings
66187
+ @field_remappings = {}
66188
+ end
66189
+ end
65972
66190
  class Twint < ::Stripe::StripeObject
65973
66191
  def self.inner_class_types
65974
66192
  @inner_class_types = {}
@@ -66074,6 +66292,9 @@ module Stripe
66074
66292
  # Attribute for field stripe_balance
66075
66293
  sig { returns(T.nilable(StripeBalance)) }
66076
66294
  def stripe_balance; end
66295
+ # Attribute for field toss_pay
66296
+ sig { returns(T.nilable(TossPay)) }
66297
+ def toss_pay; end
66077
66298
  # Attribute for field twint
66078
66299
  sig { returns(T.nilable(Twint)) }
66079
66300
  def twint; end
@@ -66115,6 +66336,7 @@ module Stripe
66115
66336
  sepa_debit: SepaDebit,
66116
66337
  sofort: Sofort,
66117
66338
  stripe_balance: StripeBalance,
66339
+ toss_pay: TossPay,
66118
66340
  twint: Twint,
66119
66341
  upi: Upi,
66120
66342
  us_bank_account: UsBankAccount,
@@ -66671,6 +66893,17 @@ module Stripe
66671
66893
  end
66672
66894
  end
66673
66895
  class BacsDebit < ::Stripe::StripeObject
66896
+ class FinancialConnections < ::Stripe::StripeObject
66897
+ # Attribute for field return_url
66898
+ sig { returns(T.nilable(String)) }
66899
+ def return_url; end
66900
+ def self.inner_class_types
66901
+ @inner_class_types = {}
66902
+ end
66903
+ def self.field_remappings
66904
+ @field_remappings = {}
66905
+ end
66906
+ end
66674
66907
  class MandateOptions < ::Stripe::StripeObject
66675
66908
  # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
66676
66909
  sig { returns(T.nilable(String)) }
@@ -66682,6 +66915,9 @@ module Stripe
66682
66915
  @field_remappings = {}
66683
66916
  end
66684
66917
  end
66918
+ # Attribute for field financial_connections
66919
+ sig { returns(T.nilable(FinancialConnections)) }
66920
+ def financial_connections; end
66685
66921
  # Attribute for field mandate_options
66686
66922
  sig { returns(T.nilable(MandateOptions)) }
66687
66923
  def mandate_options; end
@@ -66689,7 +66925,10 @@ module Stripe
66689
66925
  sig { returns(T.nilable(String)) }
66690
66926
  def verification_method; end
66691
66927
  def self.inner_class_types
66692
- @inner_class_types = {mandate_options: MandateOptions}
66928
+ @inner_class_types = {
66929
+ financial_connections: FinancialConnections,
66930
+ mandate_options: MandateOptions,
66931
+ }
66693
66932
  end
66694
66933
  def self.field_remappings
66695
66934
  @field_remappings = {}
@@ -67482,10 +67721,10 @@ module Stripe
67482
67721
  end
67483
67722
  class Card < ::Stripe::StripeObject
67484
67723
  class Checks < ::Stripe::StripeObject
67485
- # If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
67724
+ # If an address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
67486
67725
  sig { returns(T.nilable(String)) }
67487
67726
  def address_line1_check; end
67488
- # If a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
67727
+ # If an address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
67489
67728
  sig { returns(T.nilable(String)) }
67490
67729
  def address_postal_code_check; end
67491
67730
  # If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
@@ -67869,6 +68108,31 @@ module Stripe
67869
68108
  @field_remappings = {}
67870
68109
  end
67871
68110
  end
68111
+ class ReferralFeeDetails < ::Stripe::StripeObject
68112
+ class Rate < ::Stripe::StripeObject
68113
+ # The percentage of the payment amount which will be calculated as a fee.
68114
+ sig { returns(T.nilable(Float)) }
68115
+ def percentage; end
68116
+ # The type of fee rate.
68117
+ sig { returns(String) }
68118
+ def type; end
68119
+ def self.inner_class_types
68120
+ @inner_class_types = {}
68121
+ end
68122
+ def self.field_remappings
68123
+ @field_remappings = {}
68124
+ end
68125
+ end
68126
+ # Attribute for field rate
68127
+ sig { returns(Rate) }
68128
+ def rate; end
68129
+ def self.inner_class_types
68130
+ @inner_class_types = {rate: Rate}
68131
+ end
68132
+ def self.field_remappings
68133
+ @field_remappings = {}
68134
+ end
68135
+ end
67872
68136
  class RiskDetails < ::Stripe::StripeObject
67873
68137
  class Insights < ::Stripe::StripeObject
67874
68138
  class Bot < ::Stripe::StripeObject
@@ -68065,6 +68329,9 @@ module Stripe
68065
68329
  # Details of the PaymentMethod that was shared via this token.
68066
68330
  sig { returns(T.nilable(PaymentMethodDetails)) }
68067
68331
  def payment_method_details; end
68332
+ # Referral fees may be charged when a SharedPaymentGrantedToken is used. This behavior is controlled by the issuer of the token. This field provides details about the referral fee rate.
68333
+ sig { returns(T.nilable(ReferralFeeDetails)) }
68334
+ def referral_fee_details; end
68068
68335
  # Risk details of the SharedPaymentGrantedToken.
68069
68336
  sig { returns(T.nilable(RiskDetails)) }
68070
68337
  def risk_details; end
@@ -68127,6 +68394,23 @@ module Stripe
68127
68394
  @field_remappings = {}
68128
68395
  end
68129
68396
  end
68397
+ class ReferralFeeDetails < ::Stripe::StripeObject
68398
+ # The Customer to be invoiced for fees assessed.
68399
+ sig { returns(String) }
68400
+ def customer; end
68401
+ # The account to be invoiced for fees assessed.
68402
+ sig { returns(T.nilable(String)) }
68403
+ def customer_account; end
68404
+ # The percentage of the payment charged as a referral fee.
68405
+ sig { returns(Float) }
68406
+ def referral_fee_percent; end
68407
+ def self.inner_class_types
68408
+ @inner_class_types = {}
68409
+ end
68410
+ def self.field_remappings
68411
+ @field_remappings = {}
68412
+ end
68413
+ end
68130
68414
  class RiskDetails < ::Stripe::StripeObject
68131
68415
  class Insights < ::Stripe::StripeObject
68132
68416
  class Bot < ::Stripe::StripeObject
@@ -68337,6 +68621,9 @@ module Stripe
68337
68621
  # ID of an existing PaymentMethod.
68338
68622
  sig { returns(String) }
68339
68623
  def payment_method; end
68624
+ # Referral fee details of the SharedPaymentIssuedToken.
68625
+ sig { returns(T.nilable(ReferralFeeDetails)) }
68626
+ def referral_fee_details; end
68340
68627
  # If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion.
68341
68628
  sig { returns(T.nilable(String)) }
68342
68629
  def return_url; end
@@ -78832,12 +79119,29 @@ module Stripe
78832
79119
  @field_remappings = {}
78833
79120
  end
78834
79121
  end
79122
+ class DeviceHealthDetail < ::Stripe::StripeObject
79123
+ # The type of condition affecting the reader's device health.
79124
+ sig { returns(String) }
79125
+ def type; end
79126
+ def self.inner_class_types
79127
+ @inner_class_types = {}
79128
+ end
79129
+ def self.field_remappings
79130
+ @field_remappings = {}
79131
+ end
79132
+ end
78835
79133
  # The most recent action performed by the reader.
78836
79134
  sig { returns(T.nilable(Action)) }
78837
79135
  def action; end
78838
79136
  # Always true for a deleted object
78839
79137
  sig { returns(T.nilable(T::Boolean)) }
78840
79138
  def deleted; end
79139
+ # The overall device health of the reader: `healthy` or `unhealthy`. Renamed to `no_issues_detected` and `needs_attention` respectively; see `device_health_details` for the specific conditions.
79140
+ sig { returns(T.nilable(String)) }
79141
+ def device_health; end
79142
+ # The set of conditions affecting the reader's device health. Empty when there are no conditions.
79143
+ sig { returns(T.nilable(T::Array[DeviceHealthDetail])) }
79144
+ def device_health_details; end
78841
79145
  # The current software version of the reader.
78842
79146
  sig { returns(T.nilable(String)) }
78843
79147
  def device_sw_version; end
@@ -122194,7 +122498,7 @@ module Stripe
122194
122498
  module Core
122195
122499
  # Events are generated to keep you informed of activity in your business account. APIs in the /v2 namespace generate [thin events](https://docs.stripe.com/event-destinations#benefits-of-thin-events) which have small, unversioned payloads that include a reference to the ID of the object that has changed. The Events v2 API returns these new thin events. [Retrieve the event object](https://docs.stripe.com/event-destinations#fetch-data) for additional data about the event. Use the related object ID in the event payload to [fetch the API resource](https://docs.stripe.com/event-destinations#retrieve-the-object-associated-with-thin-events) of the object associated with the event. Comparatively, events generated by most API v1 include a versioned snapshot of an API object in their payload.
122196
122500
  # You can access events through the [Retrieve Event API](https://docs.stripe.com/api/v2/core/events/retrieve) for 30 days.
122197
- class Event < APIResource
122501
+ class Event < EventBase
122198
122502
  class Reason < ::Stripe::StripeObject
122199
122503
  class Request < ::Stripe::StripeObject
122200
122504
  class Client < ::Stripe::StripeObject
@@ -128440,11 +128744,34 @@ module Stripe
128440
128744
  @field_remappings = {}
128441
128745
  end
128442
128746
  end
128747
+ class CheckSend < ::Stripe::StripeObject
128748
+ # The ID of a file to include as an attachment with the check.
128749
+ sig { returns(T.nilable(String)) }
128750
+ def attachment_file; end
128751
+ # Memo printed on the memo field of the check.
128752
+ sig { returns(T.nilable(String)) }
128753
+ def memo; end
128754
+ # Open Enum. Shipping speed of the check. Defaults to standard.
128755
+ sig { returns(T.nilable(String)) }
128756
+ def shipping_speed; end
128757
+ # Signature printed on the check.
128758
+ sig { returns(String) }
128759
+ def signature; end
128760
+ def self.inner_class_types
128761
+ @inner_class_types = {}
128762
+ end
128763
+ def self.field_remappings
128764
+ @field_remappings = {}
128765
+ end
128766
+ end
128443
128767
  # Options for bank account payout methods.
128444
128768
  sig { returns(T.nilable(BankAccount)) }
128445
128769
  def bank_account; end
128770
+ # Options for check send payout methods.
128771
+ sig { returns(T.nilable(CheckSend)) }
128772
+ def check_send; end
128446
128773
  def self.inner_class_types
128447
- @inner_class_types = {bank_account: BankAccount}
128774
+ @inner_class_types = {bank_account: BankAccount, check_send: CheckSend}
128448
128775
  end
128449
128776
  def self.field_remappings
128450
128777
  @field_remappings = {}
@@ -128509,6 +128836,64 @@ module Stripe
128509
128836
  @field_remappings = {}
128510
128837
  end
128511
128838
  end
128839
+ class CheckSend < ::Stripe::StripeObject
128840
+ class MailingAddress < ::Stripe::StripeObject
128841
+ # City, district, suburb, town, or village.
128842
+ sig { returns(T.nilable(String)) }
128843
+ def city; end
128844
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
128845
+ sig { returns(T.nilable(String)) }
128846
+ def country; end
128847
+ # Address line 1 (e.g., street, PO Box, or company name).
128848
+ sig { returns(T.nilable(String)) }
128849
+ def line1; end
128850
+ # Address line 2 (e.g., apartment, suite, unit, or building).
128851
+ sig { returns(T.nilable(String)) }
128852
+ def line2; end
128853
+ # ZIP or postal code.
128854
+ sig { returns(T.nilable(String)) }
128855
+ def postal_code; end
128856
+ # State, county, province, or region.
128857
+ sig { returns(T.nilable(String)) }
128858
+ def state; end
128859
+ def self.inner_class_types
128860
+ @inner_class_types = {}
128861
+ end
128862
+ def self.field_remappings
128863
+ @field_remappings = {}
128864
+ end
128865
+ end
128866
+ # Open Enum. Carrier of the check.
128867
+ sig { returns(String) }
128868
+ def carrier; end
128869
+ # Check number.
128870
+ sig { returns(String) }
128871
+ def check_number; end
128872
+ # Postal code of the latest tracking update.
128873
+ sig { returns(String) }
128874
+ def current_postal_code; end
128875
+ # The ID of a file containing a preview image of the mailed check.
128876
+ sig { returns(T.nilable(String)) }
128877
+ def mailed_check_preview_file; end
128878
+ # Mailing address of the check.
128879
+ sig { returns(MailingAddress) }
128880
+ def mailing_address; end
128881
+ # Tracking number for the check.
128882
+ sig { returns(String) }
128883
+ def tracking_number; end
128884
+ # Open Enum. Tracking status of the check.
128885
+ sig { returns(String) }
128886
+ def tracking_status; end
128887
+ # When the tracking details were last updated.
128888
+ sig { returns(String) }
128889
+ def updated_at; end
128890
+ def self.inner_class_types
128891
+ @inner_class_types = {mailing_address: MailingAddress}
128892
+ end
128893
+ def self.field_remappings
128894
+ @field_remappings = {}
128895
+ end
128896
+ end
128512
128897
  class CryptoWallet < ::Stripe::StripeObject
128513
128898
  # A unique identifier that can be used to track this OutboundPayment with the recipient crypto wallet.
128514
128899
  sig { returns(T.nilable(String)) }
@@ -128581,6 +128966,9 @@ module Stripe
128581
128966
  # Card tracking details.
128582
128967
  sig { returns(T.nilable(Card)) }
128583
128968
  def card; end
128969
+ # Check send tracking details.
128970
+ sig { returns(T.nilable(CheckSend)) }
128971
+ def check_send; end
128584
128972
  # Crypto wallet tracking details.
128585
128973
  sig { returns(T.nilable(CryptoWallet)) }
128586
128974
  def crypto_wallet; end
@@ -128597,6 +128985,7 @@ module Stripe
128597
128985
  @inner_class_types = {
128598
128986
  bank_account: BankAccount,
128599
128987
  card: Card,
128988
+ check_send: CheckSend,
128600
128989
  crypto_wallet: CryptoWallet,
128601
128990
  paper_check: PaperCheck,
128602
128991
  }
@@ -129314,11 +129703,34 @@ module Stripe
129314
129703
  @field_remappings = {}
129315
129704
  end
129316
129705
  end
129706
+ class CheckSend < ::Stripe::StripeObject
129707
+ # The ID of a file to include as an attachment with the check.
129708
+ sig { returns(T.nilable(String)) }
129709
+ def attachment_file; end
129710
+ # Memo printed on the memo field of the check.
129711
+ sig { returns(T.nilable(String)) }
129712
+ def memo; end
129713
+ # Open Enum. Shipping speed of the check. Defaults to standard.
129714
+ sig { returns(T.nilable(String)) }
129715
+ def shipping_speed; end
129716
+ # Signature printed on the check.
129717
+ sig { returns(String) }
129718
+ def signature; end
129719
+ def self.inner_class_types
129720
+ @inner_class_types = {}
129721
+ end
129722
+ def self.field_remappings
129723
+ @field_remappings = {}
129724
+ end
129725
+ end
129317
129726
  # Options for bank account payout methods.
129318
129727
  sig { returns(T.nilable(BankAccount)) }
129319
129728
  def bank_account; end
129729
+ # Options for check send payout methods.
129730
+ sig { returns(T.nilable(CheckSend)) }
129731
+ def check_send; end
129320
129732
  def self.inner_class_types
129321
- @inner_class_types = {bank_account: BankAccount}
129733
+ @inner_class_types = {bank_account: BankAccount, check_send: CheckSend}
129322
129734
  end
129323
129735
  def self.field_remappings
129324
129736
  @field_remappings = {}
@@ -129525,6 +129937,46 @@ module Stripe
129525
129937
  @field_remappings = {}
129526
129938
  end
129527
129939
  end
129940
+ class CheckSend < ::Stripe::StripeObject
129941
+ class MailingAddress < ::Stripe::StripeObject
129942
+ # City.
129943
+ sig { returns(String) }
129944
+ def city; end
129945
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
129946
+ sig { returns(String) }
129947
+ def country; end
129948
+ # Address line 1 (e.g., street, PO Box, or company name).
129949
+ sig { returns(String) }
129950
+ def line1; end
129951
+ # Address line 2 (e.g., apartment, suite, unit, or building).
129952
+ sig { returns(T.nilable(String)) }
129953
+ def line2; end
129954
+ # ZIP or postal code.
129955
+ sig { returns(String) }
129956
+ def postal_code; end
129957
+ # State.
129958
+ sig { returns(String) }
129959
+ def state; end
129960
+ def self.inner_class_types
129961
+ @inner_class_types = {}
129962
+ end
129963
+ def self.field_remappings
129964
+ @field_remappings = {}
129965
+ end
129966
+ end
129967
+ # The US mailing address the check is sent to.
129968
+ sig { returns(MailingAddress) }
129969
+ def mailing_address; end
129970
+ # The name printed on the check's payee line.
129971
+ sig { returns(String) }
129972
+ def payee_name; end
129973
+ def self.inner_class_types
129974
+ @inner_class_types = {mailing_address: MailingAddress}
129975
+ end
129976
+ def self.field_remappings
129977
+ @field_remappings = {}
129978
+ end
129979
+ end
129528
129980
  class CryptoWallet < ::Stripe::StripeObject
129529
129981
  # Destination wallet address.
129530
129982
  sig { returns(String) }
@@ -129607,6 +130059,9 @@ module Stripe
129607
130059
  # The PayoutMethodCard object details.
129608
130060
  sig { returns(T.nilable(Card)) }
129609
130061
  def card; end
130062
+ # The PayoutMethodCheckSend object details.
130063
+ sig { returns(T.nilable(CheckSend)) }
130064
+ def check_send; end
129610
130065
  # Created timestamp.
129611
130066
  sig { returns(String) }
129612
130067
  def created; end
@@ -130443,6 +130898,7 @@ module Stripe
130443
130898
  sig { returns(String) }
130444
130899
  def network; end
130445
130900
  # The ID of the mandate associated with this debit.
130901
+ # Deprecated: use `bank_transfer.spending_mandate` instead.
130446
130902
  sig { returns(T.nilable(String)) }
130447
130903
  def received_debit_mandate; end
130448
130904
  # The sort code of the bank that originated the debit.
@@ -130531,6 +130987,9 @@ module Stripe
130531
130987
  # Open Enum. The type of the payment method used to originate the debit.
130532
130988
  sig { returns(String) }
130533
130989
  def payment_method_type; end
130990
+ # The ID of the SpendingMandate associated with this debit.
130991
+ sig { returns(T.nilable(String)) }
130992
+ def spending_mandate; end
130534
130993
  # The statement descriptor set by the originator of the debit.
130535
130994
  sig { returns(T.nilable(String)) }
130536
130995
  def statement_descriptor; end
@@ -131043,6 +131502,120 @@ module Stripe
131043
131502
  end
131044
131503
  end
131045
131504
  # typed: true
131505
+ module Stripe
131506
+ module V2
131507
+ module MoneyManagement
131508
+ # A SpendingMandate authorizes a counterparty to pull money from a Financial Account.
131509
+ class SpendingMandate < APIResource
131510
+ class BankTransfer < ::Stripe::StripeObject
131511
+ # The name of the account holder that initiated the debit.
131512
+ sig { returns(T.nilable(String)) }
131513
+ def account_holder_name; end
131514
+ # The financial address associated with this mandate.
131515
+ sig { returns(String) }
131516
+ def financial_address; end
131517
+ # The bank transfer network for this mandate.
131518
+ sig { returns(String) }
131519
+ def network; end
131520
+ # The bank transfer reference provided by the bank. Only present when `network` is `bacs`.
131521
+ sig { returns(T.nilable(String)) }
131522
+ def reference; end
131523
+ def self.inner_class_types
131524
+ @inner_class_types = {}
131525
+ end
131526
+ def self.field_remappings
131527
+ @field_remappings = {}
131528
+ end
131529
+ end
131530
+ class StatusDetails < ::Stripe::StripeObject
131531
+ class Canceled < ::Stripe::StripeObject
131532
+ # The `canceled` status reason.
131533
+ sig { returns(String) }
131534
+ def reason; end
131535
+ def self.inner_class_types
131536
+ @inner_class_types = {}
131537
+ end
131538
+ def self.field_remappings
131539
+ @field_remappings = {}
131540
+ end
131541
+ end
131542
+ # If the mandate is canceled, this field provides more details on the cancellation reason.
131543
+ sig { returns(T.nilable(Canceled)) }
131544
+ def canceled; end
131545
+ def self.inner_class_types
131546
+ @inner_class_types = {canceled: Canceled}
131547
+ end
131548
+ def self.field_remappings
131549
+ @field_remappings = {}
131550
+ end
131551
+ end
131552
+ class StatusTransitions < ::Stripe::StripeObject
131553
+ # Timestamp describing when the SpendingMandate changed status to `active`.
131554
+ # Represented as a RFC 3339 date & time UTC value in millisecond precision.
131555
+ sig { returns(T.nilable(String)) }
131556
+ def activated_at; end
131557
+ # Timestamp describing when the SpendingMandate changed status to `canceled`.
131558
+ # Represented as a RFC 3339 date & time UTC value in millisecond precision.
131559
+ sig { returns(T.nilable(String)) }
131560
+ def canceled_at; end
131561
+ # Timestamp describing when the SpendingMandate was created.
131562
+ # Represented as a RFC 3339 date & time UTC value in millisecond precision.
131563
+ sig { returns(T.nilable(String)) }
131564
+ def created_at; end
131565
+ # Timestamp describing when the SpendingMandate changed status to `expired`.
131566
+ # Represented as a RFC 3339 date & time UTC value in millisecond precision.
131567
+ sig { returns(T.nilable(String)) }
131568
+ def expired_at; end
131569
+ # Timestamp describing when the SpendingMandate changed status to `pending_cancellation`.
131570
+ # Represented as a RFC 3339 date & time UTC value in millisecond precision.
131571
+ sig { returns(T.nilable(String)) }
131572
+ def pending_cancellation_at; end
131573
+ def self.inner_class_types
131574
+ @inner_class_types = {}
131575
+ end
131576
+ def self.field_remappings
131577
+ @field_remappings = {}
131578
+ end
131579
+ end
131580
+ # Bank transfer details. Present if `type` is `bank_transfer`.
131581
+ sig { returns(T.nilable(BankTransfer)) }
131582
+ def bank_transfer; end
131583
+ # The time at which the SpendingMandate was created.
131584
+ # Represented as a RFC 3339 date & time UTC value in millisecond precision.
131585
+ sig { returns(String) }
131586
+ def created; end
131587
+ # The currency in ISO 4217 format that debits will be collected in.
131588
+ sig { returns(String) }
131589
+ def currency; end
131590
+ # Financial account ID associated with this mandate.
131591
+ sig { returns(String) }
131592
+ def financial_account; end
131593
+ # The unique identifier for the SpendingMandate.
131594
+ sig { returns(String) }
131595
+ def id; end
131596
+ # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
131597
+ sig { returns(T::Boolean) }
131598
+ def livemode; end
131599
+ # String representing the object's type. Objects of the same type share the same value of the object field.
131600
+ sig { returns(String) }
131601
+ def object; end
131602
+ # The status of the SpendingMandate.
131603
+ sig { returns(String) }
131604
+ def status; end
131605
+ # Detailed information about the status of the SpendingMandate.
131606
+ sig { returns(T.nilable(StatusDetails)) }
131607
+ def status_details; end
131608
+ # Timestamps describing when the mandate changed status.
131609
+ sig { returns(T.nilable(StatusTransitions)) }
131610
+ def status_transitions; end
131611
+ # The type of the SpendingMandate.
131612
+ sig { returns(String) }
131613
+ def type; end
131614
+ end
131615
+ end
131616
+ end
131617
+ end
131618
+ # typed: true
131046
131619
  module Stripe
131047
131620
  module V2
131048
131621
  module MoneyManagement
@@ -135567,6 +136140,8 @@ module Stripe
135567
136140
  def approve(session, params = {}, opts = {}); end
135568
136141
 
135569
136142
  # Creates a Checkout Session object.
136143
+ #
136144
+ # Validate requests on your server and protect your application's Session-creation endpoint with access controls and limits on repeated creation. See [Protect your Session-creation endpoint](https://docs.stripe.com/payments/accept-a-payment?payment-ui=elements&api-integration=checkout#protect-session-creation).
135570
136145
  sig {
135571
136146
  params(params: T.any(::Stripe::Checkout::SessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Checkout::Session)
135572
136147
  }
@@ -139277,13 +139852,13 @@ end
139277
139852
  module Stripe
139278
139853
  module Reserve
139279
139854
  class HoldService < StripeService
139280
- # Returns a list of ReserveHolds previously created. The ReserveHolds are returned in sorted order, with the most recent ReserveHolds appearing first.
139855
+ # Returns a list of ReserveHolds on your account or on one of your connected accounts. The ReserveHolds are returned in sorted order, with the most recent ReserveHolds appearing first.
139281
139856
  sig {
139282
139857
  params(params: T.any(::Stripe::Reserve::HoldListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject)
139283
139858
  }
139284
139859
  def list(params = {}, opts = {}); end
139285
139860
 
139286
- # Retrieve a ReserveHold.
139861
+ # Retrieve a ReserveHold on your account or on one of your connected accounts.
139287
139862
  sig {
139288
139863
  params(id: String, params: T.any(::Stripe::Reserve::HoldRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Reserve::Hold)
139289
139864
  }
@@ -139295,13 +139870,13 @@ end
139295
139870
  module Stripe
139296
139871
  module Reserve
139297
139872
  class PlanService < StripeService
139298
- # Returns a list of ReservePlans previously created. The ReservePlans are returned in sorted order, with the most recent ReservePlans appearing first.
139873
+ # Returns a list of ReservePlans on your account or on one of your connected accounts. The ReservePlans are returned in sorted order, with the most recent ReservePlans appearing first.
139299
139874
  sig {
139300
139875
  params(params: T.any(::Stripe::Reserve::PlanListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject)
139301
139876
  }
139302
139877
  def list(params = {}, opts = {}); end
139303
139878
 
139304
- # Retrieve a ReservePlan.
139879
+ # Retrieve a ReservePlan on your account or on one of your connected accounts.
139305
139880
  sig {
139306
139881
  params(id: String, params: T.any(::Stripe::Reserve::PlanRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Reserve::Plan)
139307
139882
  }
@@ -139313,13 +139888,13 @@ end
139313
139888
  module Stripe
139314
139889
  module Reserve
139315
139890
  class ReleaseService < StripeService
139316
- # Returns a list of ReserveReleases previously created. The ReserveReleases are returned in sorted order, with the most recent ReserveReleases appearing first.
139891
+ # Returns a list of ReserveReleases on your account or on one of your connected accounts. The ReserveReleases are returned in sorted order, with the most recent ReserveReleases appearing first.
139317
139892
  sig {
139318
139893
  params(params: T.any(::Stripe::Reserve::ReleaseListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject)
139319
139894
  }
139320
139895
  def list(params = {}, opts = {}); end
139321
139896
 
139322
- # Retrieve a ReserveRelease.
139897
+ # Retrieve a ReserveRelease on your account or on one of your connected accounts.
139323
139898
  sig {
139324
139899
  params(id: String, params: T.any(::Stripe::Reserve::ReleaseRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Reserve::Release)
139325
139900
  }
@@ -143119,6 +143694,7 @@ module Stripe
143119
143694
  #
143120
143695
  # ** raises CannotProceedError
143121
143696
  # ** raises BlockedByStripeError
143697
+ # ** raises MerchantNotGatedError
143122
143698
  sig {
143123
143699
  params(params: T.any(::Stripe::V2::Core::Vault::NetworkTokenCreateFromCredentialParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Vault::NetworkToken)
143124
143700
  }
@@ -143606,6 +144182,7 @@ module Stripe
143606
144182
  attr_reader :recipient_verifications
143607
144183
  attr_reader :reward_programs
143608
144184
  attr_reader :reward_program_enrollments
144185
+ attr_reader :spending_mandates
143609
144186
  attr_reader :test_helpers
143610
144187
  attr_reader :transactions
143611
144188
  attr_reader :transaction_entries
@@ -144315,18 +144892,21 @@ module Stripe
144315
144892
  module V2
144316
144893
  module MoneyManagement
144317
144894
  class ReceivedDebitMandateService < StripeService
144895
+ # Deprecated: Use CancelSpendingMandate instead.
144318
144896
  # Cancels an active ReceivedDebitMandate.
144319
144897
  sig {
144320
144898
  params(id: String, params: T.any(::Stripe::V2::MoneyManagement::ReceivedDebitMandateCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::ReceivedDebitMandate)
144321
144899
  }
144322
144900
  def cancel(id, params = {}, opts = {}); end
144323
144901
 
144902
+ # Deprecated: Use ListSpendingMandates instead.
144324
144903
  # Returns a list of ReceivedDebitMandates.
144325
144904
  sig {
144326
144905
  params(params: T.any(::Stripe::V2::MoneyManagement::ReceivedDebitMandateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject)
144327
144906
  }
144328
144907
  def list(params = {}, opts = {}); end
144329
144908
 
144909
+ # Deprecated: Use RetrieveSpendingMandate instead.
144330
144910
  # Retrieves the details of an existing ReceivedDebitMandate.
144331
144911
  sig {
144332
144912
  params(id: String, params: T.any(::Stripe::V2::MoneyManagement::ReceivedDebitMandateRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::ReceivedDebitMandate)
@@ -144506,6 +145086,32 @@ module Stripe
144506
145086
  end
144507
145087
  end
144508
145088
  # typed: true
145089
+ module Stripe
145090
+ module V2
145091
+ module MoneyManagement
145092
+ class SpendingMandateService < StripeService
145093
+ # Cancels an active SpendingMandate.
145094
+ sig {
145095
+ params(id: String, params: T.any(::Stripe::V2::MoneyManagement::SpendingMandateCancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::SpendingMandate)
145096
+ }
145097
+ def cancel(id, params = {}, opts = {}); end
145098
+
145099
+ # Returns a list of SpendingMandates.
145100
+ sig {
145101
+ params(params: T.any(::Stripe::V2::MoneyManagement::SpendingMandateListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject)
145102
+ }
145103
+ def list(params = {}, opts = {}); end
145104
+
145105
+ # Retrieves the details of an existing SpendingMandate.
145106
+ sig {
145107
+ params(id: String, params: T.any(::Stripe::V2::MoneyManagement::SpendingMandateRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::SpendingMandate)
145108
+ }
145109
+ def retrieve(id, params = {}, opts = {}); end
145110
+ end
145111
+ end
145112
+ end
145113
+ end
145114
+ # typed: true
144509
145115
  module Stripe
144510
145116
  module V2
144511
145117
  module MoneyManagement
@@ -171514,6 +172120,11 @@ module Stripe
171514
172120
  params(_phone_number_collection: T.nilable(::Stripe::Checkout::SessionCreateParams::PhoneNumberCollection)).returns(T.nilable(::Stripe::Checkout::SessionCreateParams::PhoneNumberCollection))
171515
172121
  }
171516
172122
  def phone_number_collection=(_phone_number_collection); end
172123
+ # Token used to resolve the presentment currency for this Checkout Session.
172124
+ sig { returns(T.nilable(String)) }
172125
+ def pricing_token; end
172126
+ sig { params(_pricing_token: T.nilable(String)).returns(T.nilable(String)) }
172127
+ def pricing_token=(_pricing_token); end
171517
172128
  # This parameter applies to `ui_mode: embedded_page`. Learn more about the [redirect behavior](https://docs.stripe.com/payments/checkout/custom-success-page?payment-ui=embedded-form) of embedded sessions. Defaults to `always`.
171518
172129
  sig { returns(T.nilable(String)) }
171519
172130
  def redirect_on_completion; end
@@ -171606,7 +172217,7 @@ module Stripe
171606
172217
  }
171607
172218
  def checkout_items=(_checkout_items); end
171608
172219
  sig {
171609
- params(adaptive_pricing: T.nilable(::Stripe::Checkout::SessionCreateParams::AdaptivePricing), after_expiration: T.nilable(::Stripe::Checkout::SessionCreateParams::AfterExpiration), allow_promotion_codes: T.nilable(T::Boolean), allowed_payment_method_types: T.nilable(T::Array[String]), approval_method: T.nilable(String), automatic_pass_through_fee: T.nilable(::Stripe::Checkout::SessionCreateParams::AutomaticPassThroughFee), automatic_surcharge: T.nilable(::Stripe::Checkout::SessionCreateParams::AutomaticSurcharge), automatic_tax: T.nilable(::Stripe::Checkout::SessionCreateParams::AutomaticTax), billing_address_collection: T.nilable(String), branding_settings: T.nilable(::Stripe::Checkout::SessionCreateParams::BrandingSettings), cancel_url: T.nilable(String), client_reference_id: T.nilable(String), consent_collection: T.nilable(::Stripe::Checkout::SessionCreateParams::ConsentCollection), currency: T.nilable(String), custom_fields: T.nilable(T::Array[::Stripe::Checkout::SessionCreateParams::CustomField]), custom_payment_method_options: T.nilable(T::Hash[String, ::Stripe::Checkout::SessionCreateParams::CustomPaymentMethodOptions]), custom_payment_method_types: T.nilable(T::Array[String]), custom_text: T.nilable(::Stripe::Checkout::SessionCreateParams::CustomText), customer: T.nilable(String), customer_account: T.nilable(String), customer_creation: T.nilable(String), customer_email: T.nilable(String), customer_update: T.nilable(::Stripe::Checkout::SessionCreateParams::CustomerUpdate), discounts: T.nilable(T::Array[::Stripe::Checkout::SessionCreateParams::Discount]), excluded_payment_method_types: T.nilable(T::Array[String]), expand: T.nilable(T::Array[String]), expires_at: T.nilable(Integer), integration_identifier: T.nilable(String), invoice_creation: T.nilable(::Stripe::Checkout::SessionCreateParams::InvoiceCreation), items: T.nilable(T::Array[::Stripe::Checkout::SessionCreateParams::Item]), line_items: T.nilable(T::Array[::Stripe::Checkout::SessionCreateParams::LineItem]), locale: T.nilable(String), managed_payments: T.nilable(::Stripe::Checkout::SessionCreateParams::ManagedPayments), marketing_attributions: T.nilable(T::Array[::Stripe::Checkout::SessionCreateParams::MarketingAttribution]), metadata: T.nilable(T::Hash[String, String]), mode: T.nilable(String), name_collection: T.nilable(::Stripe::Checkout::SessionCreateParams::NameCollection), on_behalf_of: T.nilable(String), optional_items: T.nilable(T::Array[::Stripe::Checkout::SessionCreateParams::OptionalItem]), origin_context: T.nilable(String), payment_intent_data: T.nilable(::Stripe::Checkout::SessionCreateParams::PaymentIntentData), payment_method_collection: T.nilable(String), payment_method_configuration: T.nilable(String), payment_method_data: T.nilable(::Stripe::Checkout::SessionCreateParams::PaymentMethodData), payment_method_options: T.nilable(::Stripe::Checkout::SessionCreateParams::PaymentMethodOptions), payment_settings: T.nilable(::Stripe::Checkout::SessionCreateParams::PaymentSettings), permissions: T.nilable(::Stripe::Checkout::SessionCreateParams::Permissions), phone_number_collection: T.nilable(::Stripe::Checkout::SessionCreateParams::PhoneNumberCollection), redirect_on_completion: T.nilable(String), return_url: T.nilable(String), saved_payment_method_options: T.nilable(::Stripe::Checkout::SessionCreateParams::SavedPaymentMethodOptions), setup_intent_data: T.nilable(::Stripe::Checkout::SessionCreateParams::SetupIntentData), shipping_address_collection: T.nilable(::Stripe::Checkout::SessionCreateParams::ShippingAddressCollection), shipping_options: T.nilable(T::Array[::Stripe::Checkout::SessionCreateParams::ShippingOption]), submit_type: T.nilable(String), subscription_data: T.nilable(::Stripe::Checkout::SessionCreateParams::SubscriptionData), success_url: T.nilable(String), tax_id_collection: T.nilable(::Stripe::Checkout::SessionCreateParams::TaxIdCollection), ui_mode: T.nilable(String), wallet_options: T.nilable(::Stripe::Checkout::SessionCreateParams::WalletOptions), checkout_items: T.nilable(T::Array[::Stripe::Checkout::SessionCreateParams::CheckoutItem])).void
172220
+ params(adaptive_pricing: T.nilable(::Stripe::Checkout::SessionCreateParams::AdaptivePricing), after_expiration: T.nilable(::Stripe::Checkout::SessionCreateParams::AfterExpiration), allow_promotion_codes: T.nilable(T::Boolean), allowed_payment_method_types: T.nilable(T::Array[String]), approval_method: T.nilable(String), automatic_pass_through_fee: T.nilable(::Stripe::Checkout::SessionCreateParams::AutomaticPassThroughFee), automatic_surcharge: T.nilable(::Stripe::Checkout::SessionCreateParams::AutomaticSurcharge), automatic_tax: T.nilable(::Stripe::Checkout::SessionCreateParams::AutomaticTax), billing_address_collection: T.nilable(String), branding_settings: T.nilable(::Stripe::Checkout::SessionCreateParams::BrandingSettings), cancel_url: T.nilable(String), client_reference_id: T.nilable(String), consent_collection: T.nilable(::Stripe::Checkout::SessionCreateParams::ConsentCollection), currency: T.nilable(String), custom_fields: T.nilable(T::Array[::Stripe::Checkout::SessionCreateParams::CustomField]), custom_payment_method_options: T.nilable(T::Hash[String, ::Stripe::Checkout::SessionCreateParams::CustomPaymentMethodOptions]), custom_payment_method_types: T.nilable(T::Array[String]), custom_text: T.nilable(::Stripe::Checkout::SessionCreateParams::CustomText), customer: T.nilable(String), customer_account: T.nilable(String), customer_creation: T.nilable(String), customer_email: T.nilable(String), customer_update: T.nilable(::Stripe::Checkout::SessionCreateParams::CustomerUpdate), discounts: T.nilable(T::Array[::Stripe::Checkout::SessionCreateParams::Discount]), excluded_payment_method_types: T.nilable(T::Array[String]), expand: T.nilable(T::Array[String]), expires_at: T.nilable(Integer), integration_identifier: T.nilable(String), invoice_creation: T.nilable(::Stripe::Checkout::SessionCreateParams::InvoiceCreation), items: T.nilable(T::Array[::Stripe::Checkout::SessionCreateParams::Item]), line_items: T.nilable(T::Array[::Stripe::Checkout::SessionCreateParams::LineItem]), locale: T.nilable(String), managed_payments: T.nilable(::Stripe::Checkout::SessionCreateParams::ManagedPayments), marketing_attributions: T.nilable(T::Array[::Stripe::Checkout::SessionCreateParams::MarketingAttribution]), metadata: T.nilable(T::Hash[String, String]), mode: T.nilable(String), name_collection: T.nilable(::Stripe::Checkout::SessionCreateParams::NameCollection), on_behalf_of: T.nilable(String), optional_items: T.nilable(T::Array[::Stripe::Checkout::SessionCreateParams::OptionalItem]), origin_context: T.nilable(String), payment_intent_data: T.nilable(::Stripe::Checkout::SessionCreateParams::PaymentIntentData), payment_method_collection: T.nilable(String), payment_method_configuration: T.nilable(String), payment_method_data: T.nilable(::Stripe::Checkout::SessionCreateParams::PaymentMethodData), payment_method_options: T.nilable(::Stripe::Checkout::SessionCreateParams::PaymentMethodOptions), payment_settings: T.nilable(::Stripe::Checkout::SessionCreateParams::PaymentSettings), permissions: T.nilable(::Stripe::Checkout::SessionCreateParams::Permissions), phone_number_collection: T.nilable(::Stripe::Checkout::SessionCreateParams::PhoneNumberCollection), pricing_token: T.nilable(String), redirect_on_completion: T.nilable(String), return_url: T.nilable(String), saved_payment_method_options: T.nilable(::Stripe::Checkout::SessionCreateParams::SavedPaymentMethodOptions), setup_intent_data: T.nilable(::Stripe::Checkout::SessionCreateParams::SetupIntentData), shipping_address_collection: T.nilable(::Stripe::Checkout::SessionCreateParams::ShippingAddressCollection), shipping_options: T.nilable(T::Array[::Stripe::Checkout::SessionCreateParams::ShippingOption]), submit_type: T.nilable(String), subscription_data: T.nilable(::Stripe::Checkout::SessionCreateParams::SubscriptionData), success_url: T.nilable(String), tax_id_collection: T.nilable(::Stripe::Checkout::SessionCreateParams::TaxIdCollection), ui_mode: T.nilable(String), wallet_options: T.nilable(::Stripe::Checkout::SessionCreateParams::WalletOptions), checkout_items: T.nilable(T::Array[::Stripe::Checkout::SessionCreateParams::CheckoutItem])).void
171610
172221
  }
171611
172222
  def initialize(
171612
172223
  adaptive_pricing: nil,
@@ -171657,6 +172268,7 @@ module Stripe
171657
172268
  payment_settings: nil,
171658
172269
  permissions: nil,
171659
172270
  phone_number_collection: nil,
172271
+ pricing_token: nil,
171660
172272
  redirect_on_completion: nil,
171661
172273
  return_url: nil,
171662
172274
  saved_payment_method_options: nil,
@@ -176639,6 +177251,78 @@ module Stripe
176639
177251
  rendering_options: nil
176640
177252
  ); end
176641
177253
  end
177254
+ class MarketingAttribution < ::Stripe::RequestParams
177255
+ class AdConversion < ::Stripe::RequestParams
177256
+ # Whether the customer consented to sending conversion data to an advertising platform.
177257
+ sig { returns(T::Boolean) }
177258
+ def consent_collected; end
177259
+ sig { params(_consent_collected: T::Boolean).returns(T::Boolean) }
177260
+ def consent_collected=(_consent_collected); end
177261
+ sig { params(consent_collected: T::Boolean).void }
177262
+ def initialize(consent_collected: nil); end
177263
+ end
177264
+ # Information used when sending conversions to an advertising platform.
177265
+ sig { returns(T.nilable(::Stripe::CustomerUpdateParams::MarketingAttribution::AdConversion)) }
177266
+ def ad_conversion; end
177267
+ sig {
177268
+ params(_ad_conversion: T.nilable(::Stripe::CustomerUpdateParams::MarketingAttribution::AdConversion)).returns(T.nilable(::Stripe::CustomerUpdateParams::MarketingAttribution::AdConversion))
177269
+ }
177270
+ def ad_conversion=(_ad_conversion); end
177271
+ # The advertising platform's click identifier.
177272
+ sig { returns(T.nilable(String)) }
177273
+ def click_id; end
177274
+ sig { params(_click_id: T.nilable(String)).returns(T.nilable(String)) }
177275
+ def click_id=(_click_id); end
177276
+ # The Unix timestamp when the advertising interaction occurred.
177277
+ sig { returns(T.nilable(Integer)) }
177278
+ def occurred_at; end
177279
+ sig { params(_occurred_at: T.nilable(Integer)).returns(T.nilable(Integer)) }
177280
+ def occurred_at=(_occurred_at); end
177281
+ # The advertising group ID from the `utm_adgroup` parameter.
177282
+ sig { returns(T.nilable(String)) }
177283
+ def utm_adgroup; end
177284
+ sig { params(_utm_adgroup: T.nilable(String)).returns(T.nilable(String)) }
177285
+ def utm_adgroup=(_utm_adgroup); end
177286
+ # The advertising content identifier from the `utm_content` parameter.
177287
+ sig { returns(T.nilable(String)) }
177288
+ def utm_content; end
177289
+ sig { params(_utm_content: T.nilable(String)).returns(T.nilable(String)) }
177290
+ def utm_content=(_utm_content); end
177291
+ # The advertising campaign ID from the `utm_id` parameter.
177292
+ sig { returns(T.nilable(String)) }
177293
+ def utm_id; end
177294
+ sig { params(_utm_id: T.nilable(String)).returns(T.nilable(String)) }
177295
+ def utm_id=(_utm_id); end
177296
+ # The marketing medium from the `utm_medium` parameter.
177297
+ sig { returns(T.nilable(String)) }
177298
+ def utm_medium; end
177299
+ sig { params(_utm_medium: T.nilable(String)).returns(T.nilable(String)) }
177300
+ def utm_medium=(_utm_medium); end
177301
+ # The referral source from the `utm_source` parameter.
177302
+ sig { returns(T.nilable(String)) }
177303
+ def utm_source; end
177304
+ sig { params(_utm_source: T.nilable(String)).returns(T.nilable(String)) }
177305
+ def utm_source=(_utm_source); end
177306
+ # The paid search term from the `utm_term` parameter.
177307
+ sig { returns(T.nilable(String)) }
177308
+ def utm_term; end
177309
+ sig { params(_utm_term: T.nilable(String)).returns(T.nilable(String)) }
177310
+ def utm_term=(_utm_term); end
177311
+ sig {
177312
+ params(ad_conversion: T.nilable(::Stripe::CustomerUpdateParams::MarketingAttribution::AdConversion), click_id: T.nilable(String), occurred_at: T.nilable(Integer), utm_adgroup: T.nilable(String), utm_content: T.nilable(String), utm_id: T.nilable(String), utm_medium: T.nilable(String), utm_source: T.nilable(String), utm_term: T.nilable(String)).void
177313
+ }
177314
+ def initialize(
177315
+ ad_conversion: nil,
177316
+ click_id: nil,
177317
+ occurred_at: nil,
177318
+ utm_adgroup: nil,
177319
+ utm_content: nil,
177320
+ utm_id: nil,
177321
+ utm_medium: nil,
177322
+ utm_source: nil,
177323
+ utm_term: nil
177324
+ ); end
177325
+ end
176642
177326
  class Shipping < ::Stripe::RequestParams
176643
177327
  class Address < ::Stripe::RequestParams
176644
177328
  # City, district, suburb, town, or village.
@@ -176784,6 +177468,13 @@ module Stripe
176784
177468
  params(_invoice_settings: T.nilable(::Stripe::CustomerUpdateParams::InvoiceSettings)).returns(T.nilable(::Stripe::CustomerUpdateParams::InvoiceSettings))
176785
177469
  }
176786
177470
  def invoice_settings=(_invoice_settings); end
177471
+ # Advertising attribution information for this customer. Only one attribution is supported, and it can only be set once.
177472
+ sig { returns(T.nilable(T::Array[::Stripe::CustomerUpdateParams::MarketingAttribution])) }
177473
+ def marketing_attributions; end
177474
+ sig {
177475
+ params(_marketing_attributions: T.nilable(T::Array[::Stripe::CustomerUpdateParams::MarketingAttribution])).returns(T.nilable(T::Array[::Stripe::CustomerUpdateParams::MarketingAttribution]))
177476
+ }
177477
+ def marketing_attributions=(_marketing_attributions); end
176787
177478
  # Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
176788
177479
  sig { returns(T.nilable(T.any(String, T::Hash[String, String]))) }
176789
177480
  def metadata; end
@@ -176843,7 +177534,7 @@ module Stripe
176843
177534
  sig { params(_validate: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean)) }
176844
177535
  def validate=(_validate); end
176845
177536
  sig {
176846
- params(address: T.nilable(T.any(String, ::Stripe::CustomerUpdateParams::Address)), balance: T.nilable(Integer), business_name: T.nilable(String), cash_balance: T.nilable(::Stripe::CustomerUpdateParams::CashBalance), default_source: T.nilable(String), description: T.nilable(String), email: T.nilable(String), expand: T.nilable(T::Array[String]), individual_name: T.nilable(String), invoice_prefix: T.nilable(String), invoice_settings: T.nilable(::Stripe::CustomerUpdateParams::InvoiceSettings), metadata: T.nilable(T.any(String, T::Hash[String, String])), name: T.nilable(String), next_invoice_sequence: T.nilable(Integer), phone: T.nilable(String), preferred_locales: T.nilable(T::Array[String]), shipping: T.nilable(T.any(String, ::Stripe::CustomerUpdateParams::Shipping)), source: T.nilable(String), tax: T.nilable(::Stripe::CustomerUpdateParams::Tax), tax_exempt: T.nilable(String), validate: T.nilable(T::Boolean)).void
177537
+ params(address: T.nilable(T.any(String, ::Stripe::CustomerUpdateParams::Address)), balance: T.nilable(Integer), business_name: T.nilable(String), cash_balance: T.nilable(::Stripe::CustomerUpdateParams::CashBalance), default_source: T.nilable(String), description: T.nilable(String), email: T.nilable(String), expand: T.nilable(T::Array[String]), individual_name: T.nilable(String), invoice_prefix: T.nilable(String), invoice_settings: T.nilable(::Stripe::CustomerUpdateParams::InvoiceSettings), marketing_attributions: T.nilable(T::Array[::Stripe::CustomerUpdateParams::MarketingAttribution]), metadata: T.nilable(T.any(String, T::Hash[String, String])), name: T.nilable(String), next_invoice_sequence: T.nilable(Integer), phone: T.nilable(String), preferred_locales: T.nilable(T::Array[String]), shipping: T.nilable(T.any(String, ::Stripe::CustomerUpdateParams::Shipping)), source: T.nilable(String), tax: T.nilable(::Stripe::CustomerUpdateParams::Tax), tax_exempt: T.nilable(String), validate: T.nilable(T::Boolean)).void
176847
177538
  }
176848
177539
  def initialize(
176849
177540
  address: nil,
@@ -176857,6 +177548,7 @@ module Stripe
176857
177548
  individual_name: nil,
176858
177549
  invoice_prefix: nil,
176859
177550
  invoice_settings: nil,
177551
+ marketing_attributions: nil,
176860
177552
  metadata: nil,
176861
177553
  name: nil,
176862
177554
  next_invoice_sequence: nil,
@@ -180654,7 +181346,7 @@ module Stripe
180654
181346
  def expand; end
180655
181347
  sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
180656
181348
  def expand=(_expand); end
180657
- # A list of three letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be [supported currencies](https://stripe.com/docs/currencies).
181349
+ # A list of three letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be [supported currencies](https://stripe.com/docs/currencies). Payout-only currencies are also supported, but only for informational quotes (`lock_duration=none`).
180658
181350
  sig { returns(T::Array[String]) }
180659
181351
  def from_currencies; end
180660
181352
  sig { params(_from_currencies: T::Array[String]).returns(T::Array[String]) }
@@ -180664,7 +181356,7 @@ module Stripe
180664
181356
  def lock_duration; end
180665
181357
  sig { params(_lock_duration: String).returns(String) }
180666
181358
  def lock_duration=(_lock_duration); end
180667
- # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
181359
+ # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). Payout-only currencies are also supported, but only for informational quotes (`lock_duration=none`).
180668
181360
  sig { returns(String) }
180669
181361
  def to_currency; end
180670
181362
  sig { params(_to_currency: String).returns(String) }
@@ -205653,6 +206345,13 @@ module Stripe
205653
206345
  params(_metadata: T.nilable(T.any(String, T::Hash[String, String]))).returns(T.nilable(T.any(String, T::Hash[String, String])))
205654
206346
  }
205655
206347
  def metadata=(_metadata); end
206348
+ # Payment evaluations associated with this reported payment.
206349
+ sig { returns(T.nilable(T::Array[String])) }
206350
+ def payment_evaluations; end
206351
+ sig {
206352
+ params(_payment_evaluations: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String]))
206353
+ }
206354
+ def payment_evaluations=(_payment_evaluations); end
205656
206355
  # Information about the Payment Method debited for this payment.
205657
206356
  sig {
205658
206357
  returns(T.nilable(::Stripe::PaymentAttemptRecordReportAuthenticatedParams::PaymentMethodDetails))
@@ -205663,12 +206362,13 @@ module Stripe
205663
206362
  }
205664
206363
  def payment_method_details=(_payment_method_details); end
205665
206364
  sig {
205666
- params(authenticated_at: T.nilable(Integer), expand: T.nilable(T::Array[String]), metadata: T.nilable(T.any(String, T::Hash[String, String])), payment_method_details: T.nilable(::Stripe::PaymentAttemptRecordReportAuthenticatedParams::PaymentMethodDetails)).void
206365
+ params(authenticated_at: T.nilable(Integer), expand: T.nilable(T::Array[String]), metadata: T.nilable(T.any(String, T::Hash[String, String])), payment_evaluations: T.nilable(T::Array[String]), payment_method_details: T.nilable(::Stripe::PaymentAttemptRecordReportAuthenticatedParams::PaymentMethodDetails)).void
205667
206366
  }
205668
206367
  def initialize(
205669
206368
  authenticated_at: nil,
205670
206369
  expand: nil,
205671
206370
  metadata: nil,
206371
+ payment_evaluations: nil,
205672
206372
  payment_method_details: nil
205673
206373
  ); end
205674
206374
  end
@@ -205703,6 +206403,51 @@ module Stripe
205703
206403
  cvc_check: nil
205704
206404
  ); end
205705
206405
  end
206406
+ class ThreeDSecure < ::Stripe::RequestParams
206407
+ # For authenticated transactions: Indicates how the issuing bank authenticated the customer.
206408
+ sig { returns(T.nilable(String)) }
206409
+ def authentication_flow; end
206410
+ sig { params(_authentication_flow: T.nilable(String)).returns(T.nilable(String)) }
206411
+ def authentication_flow=(_authentication_flow); end
206412
+ # The Electronic Commerce Indicator (ECI). A protocol-level field indicating what degree of authentication was performed.
206413
+ sig { returns(T.nilable(String)) }
206414
+ def electronic_commerce_indicator; end
206415
+ sig {
206416
+ params(_electronic_commerce_indicator: T.nilable(String)).returns(T.nilable(String))
206417
+ }
206418
+ def electronic_commerce_indicator=(_electronic_commerce_indicator); end
206419
+ # The exemption requested via 3DS and accepted by the issuer at authentication time.
206420
+ sig { returns(T.nilable(String)) }
206421
+ def exemption_indicator; end
206422
+ sig { params(_exemption_indicator: T.nilable(String)).returns(T.nilable(String)) }
206423
+ def exemption_indicator=(_exemption_indicator); end
206424
+ # Indicates the outcome of 3D Secure authentication.
206425
+ sig { returns(String) }
206426
+ def result; end
206427
+ sig { params(_result: String).returns(String) }
206428
+ def result=(_result); end
206429
+ # Additional information about why 3D Secure succeeded or failed, based on the `result`.
206430
+ sig { returns(T.nilable(String)) }
206431
+ def result_reason; end
206432
+ sig { params(_result_reason: T.nilable(String)).returns(T.nilable(String)) }
206433
+ def result_reason=(_result_reason); end
206434
+ # The version of 3D Secure that was used.
206435
+ sig { returns(String) }
206436
+ def version; end
206437
+ sig { params(_version: String).returns(String) }
206438
+ def version=(_version); end
206439
+ sig {
206440
+ params(authentication_flow: T.nilable(String), electronic_commerce_indicator: T.nilable(String), exemption_indicator: T.nilable(String), result: String, result_reason: T.nilable(String), version: String).void
206441
+ }
206442
+ def initialize(
206443
+ authentication_flow: nil,
206444
+ electronic_commerce_indicator: nil,
206445
+ exemption_indicator: nil,
206446
+ result: nil,
206447
+ result_reason: nil,
206448
+ version: nil
206449
+ ); end
206450
+ end
205706
206451
  # Verification checks performed on the card.
205707
206452
  sig {
205708
206453
  returns(T.nilable(::Stripe::PaymentAttemptRecordReportAuthorizedParams::PaymentMethodDetails::Card::Checks))
@@ -205712,10 +206457,19 @@ module Stripe
205712
206457
  params(_checks: T.nilable(::Stripe::PaymentAttemptRecordReportAuthorizedParams::PaymentMethodDetails::Card::Checks)).returns(T.nilable(::Stripe::PaymentAttemptRecordReportAuthorizedParams::PaymentMethodDetails::Card::Checks))
205713
206458
  }
205714
206459
  def checks=(_checks); end
206460
+ # Populated if this transaction used 3D Secure authentication.
206461
+ sig {
206462
+ returns(T.nilable(::Stripe::PaymentAttemptRecordReportAuthorizedParams::PaymentMethodDetails::Card::ThreeDSecure))
206463
+ }
206464
+ def three_d_secure; end
206465
+ sig {
206466
+ params(_three_d_secure: T.nilable(::Stripe::PaymentAttemptRecordReportAuthorizedParams::PaymentMethodDetails::Card::ThreeDSecure)).returns(T.nilable(::Stripe::PaymentAttemptRecordReportAuthorizedParams::PaymentMethodDetails::Card::ThreeDSecure))
206467
+ }
206468
+ def three_d_secure=(_three_d_secure); end
205715
206469
  sig {
205716
- params(checks: T.nilable(::Stripe::PaymentAttemptRecordReportAuthorizedParams::PaymentMethodDetails::Card::Checks)).void
206470
+ params(checks: T.nilable(::Stripe::PaymentAttemptRecordReportAuthorizedParams::PaymentMethodDetails::Card::Checks), three_d_secure: T.nilable(::Stripe::PaymentAttemptRecordReportAuthorizedParams::PaymentMethodDetails::Card::ThreeDSecure)).void
205717
206471
  }
205718
- def initialize(checks: nil); end
206472
+ def initialize(checks: nil, three_d_secure: nil); end
205719
206473
  end
205720
206474
  # Information about the card payment method used to make this payment.
205721
206475
  sig {
@@ -206099,6 +206853,51 @@ module Stripe
206099
206853
  cvc_check: nil
206100
206854
  ); end
206101
206855
  end
206856
+ class ThreeDSecure < ::Stripe::RequestParams
206857
+ # For authenticated transactions: Indicates how the issuing bank authenticated the customer.
206858
+ sig { returns(T.nilable(String)) }
206859
+ def authentication_flow; end
206860
+ sig { params(_authentication_flow: T.nilable(String)).returns(T.nilable(String)) }
206861
+ def authentication_flow=(_authentication_flow); end
206862
+ # The Electronic Commerce Indicator (ECI). A protocol-level field indicating what degree of authentication was performed.
206863
+ sig { returns(T.nilable(String)) }
206864
+ def electronic_commerce_indicator; end
206865
+ sig {
206866
+ params(_electronic_commerce_indicator: T.nilable(String)).returns(T.nilable(String))
206867
+ }
206868
+ def electronic_commerce_indicator=(_electronic_commerce_indicator); end
206869
+ # The exemption requested via 3DS and accepted by the issuer at authentication time.
206870
+ sig { returns(T.nilable(String)) }
206871
+ def exemption_indicator; end
206872
+ sig { params(_exemption_indicator: T.nilable(String)).returns(T.nilable(String)) }
206873
+ def exemption_indicator=(_exemption_indicator); end
206874
+ # Indicates the outcome of 3D Secure authentication.
206875
+ sig { returns(String) }
206876
+ def result; end
206877
+ sig { params(_result: String).returns(String) }
206878
+ def result=(_result); end
206879
+ # Additional information about why 3D Secure succeeded or failed, based on the `result`.
206880
+ sig { returns(T.nilable(String)) }
206881
+ def result_reason; end
206882
+ sig { params(_result_reason: T.nilable(String)).returns(T.nilable(String)) }
206883
+ def result_reason=(_result_reason); end
206884
+ # The version of 3D Secure that was used.
206885
+ sig { returns(String) }
206886
+ def version; end
206887
+ sig { params(_version: String).returns(String) }
206888
+ def version=(_version); end
206889
+ sig {
206890
+ params(authentication_flow: T.nilable(String), electronic_commerce_indicator: T.nilable(String), exemption_indicator: T.nilable(String), result: String, result_reason: T.nilable(String), version: String).void
206891
+ }
206892
+ def initialize(
206893
+ authentication_flow: nil,
206894
+ electronic_commerce_indicator: nil,
206895
+ exemption_indicator: nil,
206896
+ result: nil,
206897
+ result_reason: nil,
206898
+ version: nil
206899
+ ); end
206900
+ end
206102
206901
  # Verification checks performed on the card.
206103
206902
  sig {
206104
206903
  returns(T.nilable(::Stripe::PaymentAttemptRecordReportGuaranteedParams::PaymentMethodDetails::Card::Checks))
@@ -206108,10 +206907,19 @@ module Stripe
206108
206907
  params(_checks: T.nilable(::Stripe::PaymentAttemptRecordReportGuaranteedParams::PaymentMethodDetails::Card::Checks)).returns(T.nilable(::Stripe::PaymentAttemptRecordReportGuaranteedParams::PaymentMethodDetails::Card::Checks))
206109
206908
  }
206110
206909
  def checks=(_checks); end
206910
+ # Populated if this transaction used 3D Secure authentication.
206111
206911
  sig {
206112
- params(checks: T.nilable(::Stripe::PaymentAttemptRecordReportGuaranteedParams::PaymentMethodDetails::Card::Checks)).void
206912
+ returns(T.nilable(::Stripe::PaymentAttemptRecordReportGuaranteedParams::PaymentMethodDetails::Card::ThreeDSecure))
206113
206913
  }
206114
- def initialize(checks: nil); end
206914
+ def three_d_secure; end
206915
+ sig {
206916
+ params(_three_d_secure: T.nilable(::Stripe::PaymentAttemptRecordReportGuaranteedParams::PaymentMethodDetails::Card::ThreeDSecure)).returns(T.nilable(::Stripe::PaymentAttemptRecordReportGuaranteedParams::PaymentMethodDetails::Card::ThreeDSecure))
206917
+ }
206918
+ def three_d_secure=(_three_d_secure); end
206919
+ sig {
206920
+ params(checks: T.nilable(::Stripe::PaymentAttemptRecordReportGuaranteedParams::PaymentMethodDetails::Card::Checks), three_d_secure: T.nilable(::Stripe::PaymentAttemptRecordReportGuaranteedParams::PaymentMethodDetails::Card::ThreeDSecure)).void
206921
+ }
206922
+ def initialize(checks: nil, three_d_secure: nil); end
206115
206923
  end
206116
206924
  # Information about the card payment method used to make this payment.
206117
206925
  sig {
@@ -248019,6 +248827,30 @@ module Stripe
248019
248827
  }
248020
248828
  def initialize(display_preference: nil); end
248021
248829
  end
248830
+ class TossPay < ::Stripe::RequestParams
248831
+ class DisplayPreference < ::Stripe::RequestParams
248832
+ # The account's preference for whether or not to display this payment method.
248833
+ sig { returns(T.nilable(String)) }
248834
+ def preference; end
248835
+ sig { params(_preference: T.nilable(String)).returns(T.nilable(String)) }
248836
+ def preference=(_preference); end
248837
+ sig { params(preference: T.nilable(String)).void }
248838
+ def initialize(preference: nil); end
248839
+ end
248840
+ # Whether or not the payment method should be displayed.
248841
+ sig {
248842
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::TossPay::DisplayPreference))
248843
+ }
248844
+ def display_preference; end
248845
+ sig {
248846
+ params(_display_preference: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::TossPay::DisplayPreference)).returns(T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::TossPay::DisplayPreference))
248847
+ }
248848
+ def display_preference=(_display_preference); end
248849
+ sig {
248850
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::TossPay::DisplayPreference)).void
248851
+ }
248852
+ def initialize(display_preference: nil); end
248853
+ end
248022
248854
  class Twint < ::Stripe::RequestParams
248023
248855
  class DisplayPreference < ::Stripe::RequestParams
248024
248856
  # The account's preference for whether or not to display this payment method.
@@ -248614,6 +249446,13 @@ module Stripe
248614
249446
  params(_swish: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Swish)).returns(T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Swish))
248615
249447
  }
248616
249448
  def swish=(_swish); end
249449
+ # Customers are redirected to Toss Pay to authenticate their payment, then return to your website or app. You receive immediate notification of whether the payment succeeded or failed. With recurring access, customers can authorize a reusable mandate for future off-session payments.
249450
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::TossPay)) }
249451
+ def toss_pay; end
249452
+ sig {
249453
+ params(_toss_pay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::TossPay)).returns(T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::TossPay))
249454
+ }
249455
+ def toss_pay=(_toss_pay); end
248617
249456
  # Twint is a payment method popular in Switzerland. It allows customers to pay using their mobile phone. Check this [page](https://docs.stripe.com/payments/twint) for more details.
248618
249457
  sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Twint)) }
248619
249458
  def twint; end
@@ -248657,7 +249496,7 @@ module Stripe
248657
249496
  }
248658
249497
  def zip=(_zip); end
248659
249498
  sig {
248660
- params(acss_debit: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::AcssDebit), affirm: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Affirm), afterpay_clearpay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::AfterpayClearpay), alipay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Alipay), alma: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Alma), amazon_pay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::AmazonPay), apple_pay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::ApplePay), apple_pay_later: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::ApplePayLater), au_becs_debit: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::AuBecsDebit), bacs_debit: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::BacsDebit), bancontact: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Bancontact), billie: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Billie), bizum: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Bizum), blik: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Blik), boleto: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Boleto), card: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Card), cartes_bancaires: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::CartesBancaires), cashapp: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Cashapp), crypto: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Crypto), customer_balance: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::CustomerBalance), eps: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Eps), expand: T.nilable(T::Array[String]), fpx: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Fpx), fr_meal_voucher_conecs: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::FrMealVoucherConecs), giropay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Giropay), google_pay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::GooglePay), gopay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Gopay), grabpay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Grabpay), id_bank_transfer: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::IdBankTransfer), ideal: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Ideal), jcb: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Jcb), kakao_pay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::KakaoPay), klarna: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Klarna), konbini: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Konbini), kr_card: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::KrCard), link: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Link), mb_way: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::MbWay), mobilepay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Mobilepay), multibanco: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Multibanco), name: T.nilable(String), naver_pay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::NaverPay), nz_bank_account: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::NzBankAccount), oxxo: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Oxxo), p24: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::P24), parent: T.nilable(String), pay_by_bank: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::PayByBank), payco: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Payco), paynow: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Paynow), paypal: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Paypal), paypay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Paypay), payto: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Payto), pix: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Pix), promptpay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Promptpay), qris: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Qris), rakuten_pay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::RakutenPay), revolut_pay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::RevolutPay), samsung_pay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::SamsungPay), satispay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Satispay), scalapay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Scalapay), sepa_debit: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::SepaDebit), sequra: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Sequra), shopeepay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Shopeepay), sofort: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Sofort), sunbit: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Sunbit), swish: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Swish), twint: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Twint), upi: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Upi), us_bank_account: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::UsBankAccount), vipps: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Vipps), wechat_pay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::WechatPay), zip: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Zip)).void
249499
+ params(acss_debit: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::AcssDebit), affirm: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Affirm), afterpay_clearpay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::AfterpayClearpay), alipay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Alipay), alma: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Alma), amazon_pay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::AmazonPay), apple_pay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::ApplePay), apple_pay_later: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::ApplePayLater), au_becs_debit: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::AuBecsDebit), bacs_debit: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::BacsDebit), bancontact: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Bancontact), billie: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Billie), bizum: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Bizum), blik: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Blik), boleto: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Boleto), card: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Card), cartes_bancaires: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::CartesBancaires), cashapp: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Cashapp), crypto: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Crypto), customer_balance: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::CustomerBalance), eps: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Eps), expand: T.nilable(T::Array[String]), fpx: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Fpx), fr_meal_voucher_conecs: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::FrMealVoucherConecs), giropay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Giropay), google_pay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::GooglePay), gopay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Gopay), grabpay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Grabpay), id_bank_transfer: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::IdBankTransfer), ideal: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Ideal), jcb: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Jcb), kakao_pay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::KakaoPay), klarna: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Klarna), konbini: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Konbini), kr_card: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::KrCard), link: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Link), mb_way: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::MbWay), mobilepay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Mobilepay), multibanco: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Multibanco), name: T.nilable(String), naver_pay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::NaverPay), nz_bank_account: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::NzBankAccount), oxxo: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Oxxo), p24: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::P24), parent: T.nilable(String), pay_by_bank: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::PayByBank), payco: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Payco), paynow: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Paynow), paypal: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Paypal), paypay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Paypay), payto: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Payto), pix: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Pix), promptpay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Promptpay), qris: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Qris), rakuten_pay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::RakutenPay), revolut_pay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::RevolutPay), samsung_pay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::SamsungPay), satispay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Satispay), scalapay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Scalapay), sepa_debit: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::SepaDebit), sequra: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Sequra), shopeepay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Shopeepay), sofort: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Sofort), sunbit: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Sunbit), swish: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Swish), toss_pay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::TossPay), twint: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Twint), upi: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Upi), us_bank_account: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::UsBankAccount), vipps: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Vipps), wechat_pay: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::WechatPay), zip: T.nilable(::Stripe::PaymentMethodConfigurationCreateParams::Zip)).void
248661
249500
  }
248662
249501
  def initialize(
248663
249502
  acss_debit: nil,
@@ -248725,6 +249564,7 @@ module Stripe
248725
249564
  sofort: nil,
248726
249565
  sunbit: nil,
248727
249566
  swish: nil,
249567
+ toss_pay: nil,
248728
249568
  twint: nil,
248729
249569
  upi: nil,
248730
249570
  us_bank_account: nil,
@@ -250225,6 +251065,30 @@ module Stripe
250225
251065
  }
250226
251066
  def initialize(display_preference: nil); end
250227
251067
  end
251068
+ class TossPay < ::Stripe::RequestParams
251069
+ class DisplayPreference < ::Stripe::RequestParams
251070
+ # The account's preference for whether or not to display this payment method.
251071
+ sig { returns(T.nilable(String)) }
251072
+ def preference; end
251073
+ sig { params(_preference: T.nilable(String)).returns(T.nilable(String)) }
251074
+ def preference=(_preference); end
251075
+ sig { params(preference: T.nilable(String)).void }
251076
+ def initialize(preference: nil); end
251077
+ end
251078
+ # Whether or not the payment method should be displayed.
251079
+ sig {
251080
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::TossPay::DisplayPreference))
251081
+ }
251082
+ def display_preference; end
251083
+ sig {
251084
+ params(_display_preference: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::TossPay::DisplayPreference)).returns(T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::TossPay::DisplayPreference))
251085
+ }
251086
+ def display_preference=(_display_preference); end
251087
+ sig {
251088
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::TossPay::DisplayPreference)).void
251089
+ }
251090
+ def initialize(display_preference: nil); end
251091
+ end
250228
251092
  class Twint < ::Stripe::RequestParams
250229
251093
  class DisplayPreference < ::Stripe::RequestParams
250230
251094
  # The account's preference for whether or not to display this payment method.
@@ -250820,6 +251684,13 @@ module Stripe
250820
251684
  params(_swish: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Swish)).returns(T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Swish))
250821
251685
  }
250822
251686
  def swish=(_swish); end
251687
+ # Customers are redirected to Toss Pay to authenticate their payment, then return to your website or app. You receive immediate notification of whether the payment succeeded or failed. With recurring access, customers can authorize a reusable mandate for future off-session payments.
251688
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::TossPay)) }
251689
+ def toss_pay; end
251690
+ sig {
251691
+ params(_toss_pay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::TossPay)).returns(T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::TossPay))
251692
+ }
251693
+ def toss_pay=(_toss_pay); end
250823
251694
  # Twint is a payment method popular in Switzerland. It allows customers to pay using their mobile phone. Check this [page](https://docs.stripe.com/payments/twint) for more details.
250824
251695
  sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Twint)) }
250825
251696
  def twint; end
@@ -250863,7 +251734,7 @@ module Stripe
250863
251734
  }
250864
251735
  def zip=(_zip); end
250865
251736
  sig {
250866
- params(acss_debit: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::AcssDebit), active: T.nilable(T::Boolean), affirm: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Affirm), afterpay_clearpay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::AfterpayClearpay), alipay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Alipay), alma: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Alma), amazon_pay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::AmazonPay), apple_pay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::ApplePay), apple_pay_later: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::ApplePayLater), au_becs_debit: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::AuBecsDebit), bacs_debit: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::BacsDebit), bancontact: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Bancontact), billie: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Billie), bizum: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Bizum), blik: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Blik), boleto: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Boleto), card: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Card), cartes_bancaires: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::CartesBancaires), cashapp: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Cashapp), crypto: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Crypto), customer_balance: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::CustomerBalance), eps: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Eps), expand: T.nilable(T::Array[String]), fpx: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Fpx), fr_meal_voucher_conecs: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::FrMealVoucherConecs), giropay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Giropay), google_pay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::GooglePay), gopay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Gopay), grabpay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Grabpay), id_bank_transfer: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::IdBankTransfer), ideal: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Ideal), jcb: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Jcb), kakao_pay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::KakaoPay), klarna: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Klarna), konbini: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Konbini), kr_card: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::KrCard), link: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Link), mb_way: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::MbWay), mobilepay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Mobilepay), multibanco: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Multibanco), name: T.nilable(String), naver_pay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::NaverPay), nz_bank_account: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::NzBankAccount), oxxo: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Oxxo), p24: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::P24), pay_by_bank: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::PayByBank), payco: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Payco), paynow: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Paynow), paypal: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Paypal), paypay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Paypay), payto: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Payto), pix: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Pix), promptpay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Promptpay), qris: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Qris), rakuten_pay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::RakutenPay), revolut_pay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::RevolutPay), samsung_pay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::SamsungPay), satispay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Satispay), scalapay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Scalapay), sepa_debit: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::SepaDebit), sequra: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Sequra), shopeepay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Shopeepay), sofort: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Sofort), sunbit: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Sunbit), swish: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Swish), twint: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Twint), upi: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Upi), us_bank_account: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::UsBankAccount), vipps: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Vipps), wechat_pay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::WechatPay), zip: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Zip)).void
251737
+ params(acss_debit: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::AcssDebit), active: T.nilable(T::Boolean), affirm: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Affirm), afterpay_clearpay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::AfterpayClearpay), alipay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Alipay), alma: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Alma), amazon_pay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::AmazonPay), apple_pay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::ApplePay), apple_pay_later: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::ApplePayLater), au_becs_debit: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::AuBecsDebit), bacs_debit: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::BacsDebit), bancontact: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Bancontact), billie: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Billie), bizum: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Bizum), blik: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Blik), boleto: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Boleto), card: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Card), cartes_bancaires: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::CartesBancaires), cashapp: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Cashapp), crypto: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Crypto), customer_balance: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::CustomerBalance), eps: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Eps), expand: T.nilable(T::Array[String]), fpx: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Fpx), fr_meal_voucher_conecs: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::FrMealVoucherConecs), giropay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Giropay), google_pay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::GooglePay), gopay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Gopay), grabpay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Grabpay), id_bank_transfer: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::IdBankTransfer), ideal: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Ideal), jcb: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Jcb), kakao_pay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::KakaoPay), klarna: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Klarna), konbini: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Konbini), kr_card: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::KrCard), link: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Link), mb_way: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::MbWay), mobilepay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Mobilepay), multibanco: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Multibanco), name: T.nilable(String), naver_pay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::NaverPay), nz_bank_account: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::NzBankAccount), oxxo: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Oxxo), p24: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::P24), pay_by_bank: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::PayByBank), payco: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Payco), paynow: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Paynow), paypal: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Paypal), paypay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Paypay), payto: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Payto), pix: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Pix), promptpay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Promptpay), qris: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Qris), rakuten_pay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::RakutenPay), revolut_pay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::RevolutPay), samsung_pay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::SamsungPay), satispay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Satispay), scalapay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Scalapay), sepa_debit: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::SepaDebit), sequra: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Sequra), shopeepay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Shopeepay), sofort: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Sofort), sunbit: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Sunbit), swish: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Swish), toss_pay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::TossPay), twint: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Twint), upi: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Upi), us_bank_account: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::UsBankAccount), vipps: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Vipps), wechat_pay: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::WechatPay), zip: T.nilable(::Stripe::PaymentMethodConfigurationUpdateParams::Zip)).void
250867
251738
  }
250868
251739
  def initialize(
250869
251740
  acss_debit: nil,
@@ -250931,6 +251802,7 @@ module Stripe
250931
251802
  sofort: nil,
250932
251803
  sunbit: nil,
250933
251804
  swish: nil,
251805
+ toss_pay: nil,
250934
251806
  twint: nil,
250935
251807
  upi: nil,
250936
251808
  us_bank_account: nil,
@@ -253476,6 +254348,51 @@ module Stripe
253476
254348
  cvc_check: nil
253477
254349
  ); end
253478
254350
  end
254351
+ class ThreeDSecure < ::Stripe::RequestParams
254352
+ # For authenticated transactions: Indicates how the issuing bank authenticated the customer.
254353
+ sig { returns(T.nilable(String)) }
254354
+ def authentication_flow; end
254355
+ sig { params(_authentication_flow: T.nilable(String)).returns(T.nilable(String)) }
254356
+ def authentication_flow=(_authentication_flow); end
254357
+ # The Electronic Commerce Indicator (ECI). A protocol-level field indicating what degree of authentication was performed.
254358
+ sig { returns(T.nilable(String)) }
254359
+ def electronic_commerce_indicator; end
254360
+ sig {
254361
+ params(_electronic_commerce_indicator: T.nilable(String)).returns(T.nilable(String))
254362
+ }
254363
+ def electronic_commerce_indicator=(_electronic_commerce_indicator); end
254364
+ # The exemption requested via 3DS and accepted by the issuer at authentication time.
254365
+ sig { returns(T.nilable(String)) }
254366
+ def exemption_indicator; end
254367
+ sig { params(_exemption_indicator: T.nilable(String)).returns(T.nilable(String)) }
254368
+ def exemption_indicator=(_exemption_indicator); end
254369
+ # Indicates the outcome of 3D Secure authentication.
254370
+ sig { returns(String) }
254371
+ def result; end
254372
+ sig { params(_result: String).returns(String) }
254373
+ def result=(_result); end
254374
+ # Additional information about why 3D Secure succeeded or failed, based on the `result`.
254375
+ sig { returns(T.nilable(String)) }
254376
+ def result_reason; end
254377
+ sig { params(_result_reason: T.nilable(String)).returns(T.nilable(String)) }
254378
+ def result_reason=(_result_reason); end
254379
+ # The version of 3D Secure that was used.
254380
+ sig { returns(String) }
254381
+ def version; end
254382
+ sig { params(_version: String).returns(String) }
254383
+ def version=(_version); end
254384
+ sig {
254385
+ params(authentication_flow: T.nilable(String), electronic_commerce_indicator: T.nilable(String), exemption_indicator: T.nilable(String), result: String, result_reason: T.nilable(String), version: String).void
254386
+ }
254387
+ def initialize(
254388
+ authentication_flow: nil,
254389
+ electronic_commerce_indicator: nil,
254390
+ exemption_indicator: nil,
254391
+ result: nil,
254392
+ result_reason: nil,
254393
+ version: nil
254394
+ ); end
254395
+ end
253479
254396
  # Verification checks performed on the card.
253480
254397
  sig {
253481
254398
  returns(T.nilable(::Stripe::PaymentRecordReportPaymentAttemptParams::PaymentMethodDetails::Card::Checks))
@@ -253485,10 +254402,19 @@ module Stripe
253485
254402
  params(_checks: T.nilable(::Stripe::PaymentRecordReportPaymentAttemptParams::PaymentMethodDetails::Card::Checks)).returns(T.nilable(::Stripe::PaymentRecordReportPaymentAttemptParams::PaymentMethodDetails::Card::Checks))
253486
254403
  }
253487
254404
  def checks=(_checks); end
254405
+ # Populated if this transaction used 3D Secure authentication.
254406
+ sig {
254407
+ returns(T.nilable(::Stripe::PaymentRecordReportPaymentAttemptParams::PaymentMethodDetails::Card::ThreeDSecure))
254408
+ }
254409
+ def three_d_secure; end
254410
+ sig {
254411
+ params(_three_d_secure: T.nilable(::Stripe::PaymentRecordReportPaymentAttemptParams::PaymentMethodDetails::Card::ThreeDSecure)).returns(T.nilable(::Stripe::PaymentRecordReportPaymentAttemptParams::PaymentMethodDetails::Card::ThreeDSecure))
254412
+ }
254413
+ def three_d_secure=(_three_d_secure); end
253488
254414
  sig {
253489
- params(checks: T.nilable(::Stripe::PaymentRecordReportPaymentAttemptParams::PaymentMethodDetails::Card::Checks)).void
254415
+ params(checks: T.nilable(::Stripe::PaymentRecordReportPaymentAttemptParams::PaymentMethodDetails::Card::Checks), three_d_secure: T.nilable(::Stripe::PaymentRecordReportPaymentAttemptParams::PaymentMethodDetails::Card::ThreeDSecure)).void
253490
254416
  }
253491
- def initialize(checks: nil); end
254417
+ def initialize(checks: nil, three_d_secure: nil); end
253492
254418
  end
253493
254419
  class Custom < ::Stripe::RequestParams
253494
254420
  # Display name for the custom (user-defined) payment method type used to make this payment.
@@ -253970,6 +254896,51 @@ module Stripe
253970
254896
  cvc_check: nil
253971
254897
  ); end
253972
254898
  end
254899
+ class ThreeDSecure < ::Stripe::RequestParams
254900
+ # For authenticated transactions: Indicates how the issuing bank authenticated the customer.
254901
+ sig { returns(T.nilable(String)) }
254902
+ def authentication_flow; end
254903
+ sig { params(_authentication_flow: T.nilable(String)).returns(T.nilable(String)) }
254904
+ def authentication_flow=(_authentication_flow); end
254905
+ # The Electronic Commerce Indicator (ECI). A protocol-level field indicating what degree of authentication was performed.
254906
+ sig { returns(T.nilable(String)) }
254907
+ def electronic_commerce_indicator; end
254908
+ sig {
254909
+ params(_electronic_commerce_indicator: T.nilable(String)).returns(T.nilable(String))
254910
+ }
254911
+ def electronic_commerce_indicator=(_electronic_commerce_indicator); end
254912
+ # The exemption requested via 3DS and accepted by the issuer at authentication time.
254913
+ sig { returns(T.nilable(String)) }
254914
+ def exemption_indicator; end
254915
+ sig { params(_exemption_indicator: T.nilable(String)).returns(T.nilable(String)) }
254916
+ def exemption_indicator=(_exemption_indicator); end
254917
+ # Indicates the outcome of 3D Secure authentication.
254918
+ sig { returns(String) }
254919
+ def result; end
254920
+ sig { params(_result: String).returns(String) }
254921
+ def result=(_result); end
254922
+ # Additional information about why 3D Secure succeeded or failed, based on the `result`.
254923
+ sig { returns(T.nilable(String)) }
254924
+ def result_reason; end
254925
+ sig { params(_result_reason: T.nilable(String)).returns(T.nilable(String)) }
254926
+ def result_reason=(_result_reason); end
254927
+ # The version of 3D Secure that was used.
254928
+ sig { returns(String) }
254929
+ def version; end
254930
+ sig { params(_version: String).returns(String) }
254931
+ def version=(_version); end
254932
+ sig {
254933
+ params(authentication_flow: T.nilable(String), electronic_commerce_indicator: T.nilable(String), exemption_indicator: T.nilable(String), result: String, result_reason: T.nilable(String), version: String).void
254934
+ }
254935
+ def initialize(
254936
+ authentication_flow: nil,
254937
+ electronic_commerce_indicator: nil,
254938
+ exemption_indicator: nil,
254939
+ result: nil,
254940
+ result_reason: nil,
254941
+ version: nil
254942
+ ); end
254943
+ end
253973
254944
  # Verification checks performed on the card.
253974
254945
  sig {
253975
254946
  returns(T.nilable(::Stripe::PaymentRecordReportPaymentAttemptGuaranteedParams::PaymentMethodDetails::Card::Checks))
@@ -253979,10 +254950,19 @@ module Stripe
253979
254950
  params(_checks: T.nilable(::Stripe::PaymentRecordReportPaymentAttemptGuaranteedParams::PaymentMethodDetails::Card::Checks)).returns(T.nilable(::Stripe::PaymentRecordReportPaymentAttemptGuaranteedParams::PaymentMethodDetails::Card::Checks))
253980
254951
  }
253981
254952
  def checks=(_checks); end
254953
+ # Populated if this transaction used 3D Secure authentication.
254954
+ sig {
254955
+ returns(T.nilable(::Stripe::PaymentRecordReportPaymentAttemptGuaranteedParams::PaymentMethodDetails::Card::ThreeDSecure))
254956
+ }
254957
+ def three_d_secure; end
254958
+ sig {
254959
+ params(_three_d_secure: T.nilable(::Stripe::PaymentRecordReportPaymentAttemptGuaranteedParams::PaymentMethodDetails::Card::ThreeDSecure)).returns(T.nilable(::Stripe::PaymentRecordReportPaymentAttemptGuaranteedParams::PaymentMethodDetails::Card::ThreeDSecure))
254960
+ }
254961
+ def three_d_secure=(_three_d_secure); end
253982
254962
  sig {
253983
- params(checks: T.nilable(::Stripe::PaymentRecordReportPaymentAttemptGuaranteedParams::PaymentMethodDetails::Card::Checks)).void
254963
+ params(checks: T.nilable(::Stripe::PaymentRecordReportPaymentAttemptGuaranteedParams::PaymentMethodDetails::Card::Checks), three_d_secure: T.nilable(::Stripe::PaymentRecordReportPaymentAttemptGuaranteedParams::PaymentMethodDetails::Card::ThreeDSecure)).void
253984
254964
  }
253985
- def initialize(checks: nil); end
254965
+ def initialize(checks: nil, three_d_secure: nil); end
253986
254966
  end
253987
254967
  # Information about the card payment method used to make this payment.
253988
254968
  sig {
@@ -254665,6 +255645,51 @@ module Stripe
254665
255645
  cvc_check: nil
254666
255646
  ); end
254667
255647
  end
255648
+ class ThreeDSecure < ::Stripe::RequestParams
255649
+ # For authenticated transactions: Indicates how the issuing bank authenticated the customer.
255650
+ sig { returns(T.nilable(String)) }
255651
+ def authentication_flow; end
255652
+ sig { params(_authentication_flow: T.nilable(String)).returns(T.nilable(String)) }
255653
+ def authentication_flow=(_authentication_flow); end
255654
+ # The Electronic Commerce Indicator (ECI). A protocol-level field indicating what degree of authentication was performed.
255655
+ sig { returns(T.nilable(String)) }
255656
+ def electronic_commerce_indicator; end
255657
+ sig {
255658
+ params(_electronic_commerce_indicator: T.nilable(String)).returns(T.nilable(String))
255659
+ }
255660
+ def electronic_commerce_indicator=(_electronic_commerce_indicator); end
255661
+ # The exemption requested via 3DS and accepted by the issuer at authentication time.
255662
+ sig { returns(T.nilable(String)) }
255663
+ def exemption_indicator; end
255664
+ sig { params(_exemption_indicator: T.nilable(String)).returns(T.nilable(String)) }
255665
+ def exemption_indicator=(_exemption_indicator); end
255666
+ # Indicates the outcome of 3D Secure authentication.
255667
+ sig { returns(String) }
255668
+ def result; end
255669
+ sig { params(_result: String).returns(String) }
255670
+ def result=(_result); end
255671
+ # Additional information about why 3D Secure succeeded or failed, based on the `result`.
255672
+ sig { returns(T.nilable(String)) }
255673
+ def result_reason; end
255674
+ sig { params(_result_reason: T.nilable(String)).returns(T.nilable(String)) }
255675
+ def result_reason=(_result_reason); end
255676
+ # The version of 3D Secure that was used.
255677
+ sig { returns(String) }
255678
+ def version; end
255679
+ sig { params(_version: String).returns(String) }
255680
+ def version=(_version); end
255681
+ sig {
255682
+ params(authentication_flow: T.nilable(String), electronic_commerce_indicator: T.nilable(String), exemption_indicator: T.nilable(String), result: String, result_reason: T.nilable(String), version: String).void
255683
+ }
255684
+ def initialize(
255685
+ authentication_flow: nil,
255686
+ electronic_commerce_indicator: nil,
255687
+ exemption_indicator: nil,
255688
+ result: nil,
255689
+ result_reason: nil,
255690
+ version: nil
255691
+ ); end
255692
+ end
254668
255693
  # Verification checks performed on the card.
254669
255694
  sig {
254670
255695
  returns(T.nilable(::Stripe::PaymentRecordReportPaymentParams::PaymentMethodDetails::Card::Checks))
@@ -254674,10 +255699,19 @@ module Stripe
254674
255699
  params(_checks: T.nilable(::Stripe::PaymentRecordReportPaymentParams::PaymentMethodDetails::Card::Checks)).returns(T.nilable(::Stripe::PaymentRecordReportPaymentParams::PaymentMethodDetails::Card::Checks))
254675
255700
  }
254676
255701
  def checks=(_checks); end
255702
+ # Populated if this transaction used 3D Secure authentication.
255703
+ sig {
255704
+ returns(T.nilable(::Stripe::PaymentRecordReportPaymentParams::PaymentMethodDetails::Card::ThreeDSecure))
255705
+ }
255706
+ def three_d_secure; end
254677
255707
  sig {
254678
- params(checks: T.nilable(::Stripe::PaymentRecordReportPaymentParams::PaymentMethodDetails::Card::Checks)).void
255708
+ params(_three_d_secure: T.nilable(::Stripe::PaymentRecordReportPaymentParams::PaymentMethodDetails::Card::ThreeDSecure)).returns(T.nilable(::Stripe::PaymentRecordReportPaymentParams::PaymentMethodDetails::Card::ThreeDSecure))
254679
255709
  }
254680
- def initialize(checks: nil); end
255710
+ def three_d_secure=(_three_d_secure); end
255711
+ sig {
255712
+ params(checks: T.nilable(::Stripe::PaymentRecordReportPaymentParams::PaymentMethodDetails::Card::Checks), three_d_secure: T.nilable(::Stripe::PaymentRecordReportPaymentParams::PaymentMethodDetails::Card::ThreeDSecure)).void
255713
+ }
255714
+ def initialize(checks: nil, three_d_secure: nil); end
254681
255715
  end
254682
255716
  class Custom < ::Stripe::RequestParams
254683
255717
  # Display name for the custom (user-defined) payment method type used to make this payment.
@@ -264578,8 +265612,20 @@ module Stripe
264578
265612
  def creditor_id; end
264579
265613
  sig { params(_creditor_id: T.nilable(String)).returns(T.nilable(String)) }
264580
265614
  def creditor_id=(_creditor_id); end
264581
- sig { params(creditor_id: T.nilable(String)).void }
264582
- def initialize(creditor_id: nil); end
265615
+ # Describes the presence of the customer during the payment.
265616
+ sig { returns(T.nilable(String)) }
265617
+ def customer_presence; end
265618
+ sig { params(_customer_presence: T.nilable(String)).returns(T.nilable(String)) }
265619
+ def customer_presence=(_customer_presence); end
265620
+ # Describes whether this payment is one-off or recurring.
265621
+ sig { returns(T.nilable(String)) }
265622
+ def payment_type; end
265623
+ sig { params(_payment_type: T.nilable(String)).returns(T.nilable(String)) }
265624
+ def payment_type=(_payment_type); end
265625
+ sig {
265626
+ params(creditor_id: T.nilable(String), customer_presence: T.nilable(String), payment_type: T.nilable(String)).void
265627
+ }
265628
+ def initialize(creditor_id: nil, customer_presence: nil, payment_type: nil); end
264583
265629
  end
264584
265630
  class UsBankAccount < ::Stripe::RequestParams
264585
265631
  # Describes the presence of the customer during the payment.
@@ -267741,6 +268787,15 @@ module Stripe
267741
268787
  end
267742
268788
  class AmazonPay < ::Stripe::RequestParams; end
267743
268789
  class BacsDebit < ::Stripe::RequestParams
268790
+ class FinancialConnections < ::Stripe::RequestParams
268791
+ # 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.
268792
+ sig { returns(T.nilable(String)) }
268793
+ def return_url; end
268794
+ sig { params(_return_url: T.nilable(String)).returns(T.nilable(String)) }
268795
+ def return_url=(_return_url); end
268796
+ sig { params(return_url: T.nilable(String)).void }
268797
+ def initialize(return_url: nil); end
268798
+ end
267744
268799
  class MandateOptions < ::Stripe::RequestParams
267745
268800
  # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
267746
268801
  sig { returns(T.nilable(String)) }
@@ -267750,6 +268805,15 @@ module Stripe
267750
268805
  sig { params(reference_prefix: T.nilable(String)).void }
267751
268806
  def initialize(reference_prefix: nil); end
267752
268807
  end
268808
+ # Additional fields for Financial Connections session creation.
268809
+ sig {
268810
+ returns(T.nilable(::Stripe::SetupIntentCreateParams::PaymentMethodOptions::BacsDebit::FinancialConnections))
268811
+ }
268812
+ def financial_connections; end
268813
+ sig {
268814
+ params(_financial_connections: T.nilable(::Stripe::SetupIntentCreateParams::PaymentMethodOptions::BacsDebit::FinancialConnections)).returns(T.nilable(::Stripe::SetupIntentCreateParams::PaymentMethodOptions::BacsDebit::FinancialConnections))
268815
+ }
268816
+ def financial_connections=(_financial_connections); end
267753
268817
  # Additional fields for Mandate creation
267754
268818
  sig {
267755
268819
  returns(T.nilable(::Stripe::SetupIntentCreateParams::PaymentMethodOptions::BacsDebit::MandateOptions))
@@ -267765,9 +268829,13 @@ module Stripe
267765
268829
  sig { params(_verification_method: T.nilable(String)).returns(T.nilable(String)) }
267766
268830
  def verification_method=(_verification_method); end
267767
268831
  sig {
267768
- params(mandate_options: T.nilable(::Stripe::SetupIntentCreateParams::PaymentMethodOptions::BacsDebit::MandateOptions), verification_method: T.nilable(String)).void
268832
+ params(financial_connections: T.nilable(::Stripe::SetupIntentCreateParams::PaymentMethodOptions::BacsDebit::FinancialConnections), mandate_options: T.nilable(::Stripe::SetupIntentCreateParams::PaymentMethodOptions::BacsDebit::MandateOptions), verification_method: T.nilable(String)).void
267769
268833
  }
267770
- def initialize(mandate_options: nil, verification_method: nil); end
268834
+ def initialize(
268835
+ financial_connections: nil,
268836
+ mandate_options: nil,
268837
+ verification_method: nil
268838
+ ); end
267771
268839
  end
267772
268840
  class Bizum < ::Stripe::RequestParams; end
267773
268841
  class Blik < ::Stripe::RequestParams
@@ -270226,6 +271294,15 @@ module Stripe
270226
271294
  end
270227
271295
  class AmazonPay < ::Stripe::RequestParams; end
270228
271296
  class BacsDebit < ::Stripe::RequestParams
271297
+ class FinancialConnections < ::Stripe::RequestParams
271298
+ # 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.
271299
+ sig { returns(T.nilable(String)) }
271300
+ def return_url; end
271301
+ sig { params(_return_url: T.nilable(String)).returns(T.nilable(String)) }
271302
+ def return_url=(_return_url); end
271303
+ sig { params(return_url: T.nilable(String)).void }
271304
+ def initialize(return_url: nil); end
271305
+ end
270229
271306
  class MandateOptions < ::Stripe::RequestParams
270230
271307
  # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
270231
271308
  sig { returns(T.nilable(String)) }
@@ -270235,6 +271312,15 @@ module Stripe
270235
271312
  sig { params(reference_prefix: T.nilable(String)).void }
270236
271313
  def initialize(reference_prefix: nil); end
270237
271314
  end
271315
+ # Additional fields for Financial Connections session creation.
271316
+ sig {
271317
+ returns(T.nilable(::Stripe::SetupIntentUpdateParams::PaymentMethodOptions::BacsDebit::FinancialConnections))
271318
+ }
271319
+ def financial_connections; end
271320
+ sig {
271321
+ params(_financial_connections: T.nilable(::Stripe::SetupIntentUpdateParams::PaymentMethodOptions::BacsDebit::FinancialConnections)).returns(T.nilable(::Stripe::SetupIntentUpdateParams::PaymentMethodOptions::BacsDebit::FinancialConnections))
271322
+ }
271323
+ def financial_connections=(_financial_connections); end
270238
271324
  # Additional fields for Mandate creation
270239
271325
  sig {
270240
271326
  returns(T.nilable(::Stripe::SetupIntentUpdateParams::PaymentMethodOptions::BacsDebit::MandateOptions))
@@ -270250,9 +271336,13 @@ module Stripe
270250
271336
  sig { params(_verification_method: T.nilable(String)).returns(T.nilable(String)) }
270251
271337
  def verification_method=(_verification_method); end
270252
271338
  sig {
270253
- params(mandate_options: T.nilable(::Stripe::SetupIntentUpdateParams::PaymentMethodOptions::BacsDebit::MandateOptions), verification_method: T.nilable(String)).void
271339
+ params(financial_connections: T.nilable(::Stripe::SetupIntentUpdateParams::PaymentMethodOptions::BacsDebit::FinancialConnections), mandate_options: T.nilable(::Stripe::SetupIntentUpdateParams::PaymentMethodOptions::BacsDebit::MandateOptions), verification_method: T.nilable(String)).void
270254
271340
  }
270255
- def initialize(mandate_options: nil, verification_method: nil); end
271341
+ def initialize(
271342
+ financial_connections: nil,
271343
+ mandate_options: nil,
271344
+ verification_method: nil
271345
+ ); end
270256
271346
  end
270257
271347
  class Bizum < ::Stripe::RequestParams; end
270258
271348
  class Blik < ::Stripe::RequestParams
@@ -272690,6 +273780,15 @@ module Stripe
272690
273780
  end
272691
273781
  class AmazonPay < ::Stripe::RequestParams; end
272692
273782
  class BacsDebit < ::Stripe::RequestParams
273783
+ class FinancialConnections < ::Stripe::RequestParams
273784
+ # 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.
273785
+ sig { returns(T.nilable(String)) }
273786
+ def return_url; end
273787
+ sig { params(_return_url: T.nilable(String)).returns(T.nilable(String)) }
273788
+ def return_url=(_return_url); end
273789
+ sig { params(return_url: T.nilable(String)).void }
273790
+ def initialize(return_url: nil); end
273791
+ end
272693
273792
  class MandateOptions < ::Stripe::RequestParams
272694
273793
  # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
272695
273794
  sig { returns(T.nilable(String)) }
@@ -272699,6 +273798,15 @@ module Stripe
272699
273798
  sig { params(reference_prefix: T.nilable(String)).void }
272700
273799
  def initialize(reference_prefix: nil); end
272701
273800
  end
273801
+ # Additional fields for Financial Connections session creation.
273802
+ sig {
273803
+ returns(T.nilable(::Stripe::SetupIntentConfirmParams::PaymentMethodOptions::BacsDebit::FinancialConnections))
273804
+ }
273805
+ def financial_connections; end
273806
+ sig {
273807
+ params(_financial_connections: T.nilable(::Stripe::SetupIntentConfirmParams::PaymentMethodOptions::BacsDebit::FinancialConnections)).returns(T.nilable(::Stripe::SetupIntentConfirmParams::PaymentMethodOptions::BacsDebit::FinancialConnections))
273808
+ }
273809
+ def financial_connections=(_financial_connections); end
272702
273810
  # Additional fields for Mandate creation
272703
273811
  sig {
272704
273812
  returns(T.nilable(::Stripe::SetupIntentConfirmParams::PaymentMethodOptions::BacsDebit::MandateOptions))
@@ -272714,9 +273822,13 @@ module Stripe
272714
273822
  sig { params(_verification_method: T.nilable(String)).returns(T.nilable(String)) }
272715
273823
  def verification_method=(_verification_method); end
272716
273824
  sig {
272717
- params(mandate_options: T.nilable(::Stripe::SetupIntentConfirmParams::PaymentMethodOptions::BacsDebit::MandateOptions), verification_method: T.nilable(String)).void
273825
+ params(financial_connections: T.nilable(::Stripe::SetupIntentConfirmParams::PaymentMethodOptions::BacsDebit::FinancialConnections), mandate_options: T.nilable(::Stripe::SetupIntentConfirmParams::PaymentMethodOptions::BacsDebit::MandateOptions), verification_method: T.nilable(String)).void
272718
273826
  }
272719
- def initialize(mandate_options: nil, verification_method: nil); end
273827
+ def initialize(
273828
+ financial_connections: nil,
273829
+ mandate_options: nil,
273830
+ verification_method: nil
273831
+ ); end
272720
273832
  end
272721
273833
  class Bizum < ::Stripe::RequestParams; end
272722
273834
  class Blik < ::Stripe::RequestParams
@@ -273961,6 +275073,27 @@ end
273961
275073
  module Stripe
273962
275074
  module SharedPayment
273963
275075
  class IssuedTokenCreateParams < ::Stripe::RequestParams
275076
+ class ReferralFeeDetails < ::Stripe::RequestParams
275077
+ # The Customer to be invoiced for fees assessed.
275078
+ sig { returns(T.nilable(String)) }
275079
+ def customer; end
275080
+ sig { params(_customer: T.nilable(String)).returns(T.nilable(String)) }
275081
+ def customer=(_customer); end
275082
+ # The account with a Customer configuration to be invoiced for fees assessed.
275083
+ sig { returns(T.nilable(String)) }
275084
+ def customer_account; end
275085
+ sig { params(_customer_account: T.nilable(String)).returns(T.nilable(String)) }
275086
+ def customer_account=(_customer_account); end
275087
+ # The percentage of the payment to charge as a referral fee, from 0 through 50 with at most two decimal places.
275088
+ sig { returns(Float) }
275089
+ def referral_fee_percent; end
275090
+ sig { params(_referral_fee_percent: Float).returns(Float) }
275091
+ def referral_fee_percent=(_referral_fee_percent); end
275092
+ sig {
275093
+ params(customer: T.nilable(String), customer_account: T.nilable(String), referral_fee_percent: Float).void
275094
+ }
275095
+ def initialize(customer: nil, customer_account: nil, referral_fee_percent: nil); end
275096
+ end
273964
275097
  class SellerDetails < ::Stripe::RequestParams
273965
275098
  # A unique id within a network that identifies a logical seller, usually this would be the unique merchant id.
273966
275099
  sig { returns(T.nilable(String)) }
@@ -274042,6 +275175,15 @@ module Stripe
274042
275175
  def payment_method; end
274043
275176
  sig { params(_payment_method: String).returns(String) }
274044
275177
  def payment_method=(_payment_method); end
275178
+ # Referral fee details for this SharedPaymentToken.
275179
+ sig {
275180
+ returns(T.nilable(::Stripe::SharedPayment::IssuedTokenCreateParams::ReferralFeeDetails))
275181
+ }
275182
+ def referral_fee_details; end
275183
+ sig {
275184
+ params(_referral_fee_details: T.nilable(::Stripe::SharedPayment::IssuedTokenCreateParams::ReferralFeeDetails)).returns(T.nilable(::Stripe::SharedPayment::IssuedTokenCreateParams::ReferralFeeDetails))
275185
+ }
275186
+ def referral_fee_details=(_referral_fee_details); end
274045
275187
  # If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion.
274046
275188
  sig { returns(T.nilable(String)) }
274047
275189
  def return_url; end
@@ -274079,11 +275221,12 @@ module Stripe
274079
275221
  sig { params(_use_stripe_sdk: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean)) }
274080
275222
  def use_stripe_sdk=(_use_stripe_sdk); end
274081
275223
  sig {
274082
- params(expand: T.nilable(T::Array[String]), payment_method: String, return_url: T.nilable(String), seller_details: ::Stripe::SharedPayment::IssuedTokenCreateParams::SellerDetails, setup_future_usage: T.nilable(String), shared_metadata: T.nilable(T::Hash[String, String]), usage_limits: ::Stripe::SharedPayment::IssuedTokenCreateParams::UsageLimits, use_stripe_sdk: T.nilable(T::Boolean)).void
275224
+ params(expand: T.nilable(T::Array[String]), payment_method: String, referral_fee_details: T.nilable(::Stripe::SharedPayment::IssuedTokenCreateParams::ReferralFeeDetails), return_url: T.nilable(String), seller_details: ::Stripe::SharedPayment::IssuedTokenCreateParams::SellerDetails, setup_future_usage: T.nilable(String), shared_metadata: T.nilable(T::Hash[String, String]), usage_limits: ::Stripe::SharedPayment::IssuedTokenCreateParams::UsageLimits, use_stripe_sdk: T.nilable(T::Boolean)).void
274083
275225
  }
274084
275226
  def initialize(
274085
275227
  expand: nil,
274086
275228
  payment_method: nil,
275229
+ referral_fee_details: nil,
274087
275230
  return_url: nil,
274088
275231
  seller_details: nil,
274089
275232
  setup_future_usage: nil,
@@ -363711,6 +364854,37 @@ module Stripe
363711
364854
  }
363712
364855
  def initialize(preferred_network_options: nil, preferred_networks: nil); end
363713
364856
  end
364857
+ class CheckSend < ::Stripe::RequestParams
364858
+ # The ID of a file to include as an attachment with the check.
364859
+ sig { returns(T.nilable(String)) }
364860
+ def attachment_file; end
364861
+ sig { params(_attachment_file: T.nilable(String)).returns(T.nilable(String)) }
364862
+ def attachment_file=(_attachment_file); end
364863
+ # Memo printed on the memo field of the check.
364864
+ sig { returns(T.nilable(String)) }
364865
+ def memo; end
364866
+ sig { params(_memo: T.nilable(String)).returns(T.nilable(String)) }
364867
+ def memo=(_memo); end
364868
+ # Open Enum. Shipping speed of the check. Defaults to standard.
364869
+ sig { returns(T.nilable(String)) }
364870
+ def shipping_speed; end
364871
+ sig { params(_shipping_speed: T.nilable(String)).returns(T.nilable(String)) }
364872
+ def shipping_speed=(_shipping_speed); end
364873
+ # Signature printed on the check.
364874
+ sig { returns(String) }
364875
+ def signature; end
364876
+ sig { params(_signature: String).returns(String) }
364877
+ def signature=(_signature); end
364878
+ sig {
364879
+ params(attachment_file: T.nilable(String), memo: T.nilable(String), shipping_speed: T.nilable(String), signature: String).void
364880
+ }
364881
+ def initialize(
364882
+ attachment_file: nil,
364883
+ memo: nil,
364884
+ shipping_speed: nil,
364885
+ signature: nil
364886
+ ); end
364887
+ end
363714
364888
  # Options for bank account payout methods.
363715
364889
  sig {
363716
364890
  returns(T.nilable(::Stripe::V2::MoneyManagement::OutboundPaymentCreateParams::To::PayoutMethodOptions::BankAccount))
@@ -363720,10 +364894,19 @@ module Stripe
363720
364894
  params(_bank_account: T.nilable(::Stripe::V2::MoneyManagement::OutboundPaymentCreateParams::To::PayoutMethodOptions::BankAccount)).returns(T.nilable(::Stripe::V2::MoneyManagement::OutboundPaymentCreateParams::To::PayoutMethodOptions::BankAccount))
363721
364895
  }
363722
364896
  def bank_account=(_bank_account); end
364897
+ # Options for check send payout methods.
363723
364898
  sig {
363724
- params(bank_account: T.nilable(::Stripe::V2::MoneyManagement::OutboundPaymentCreateParams::To::PayoutMethodOptions::BankAccount)).void
364899
+ returns(T.nilable(::Stripe::V2::MoneyManagement::OutboundPaymentCreateParams::To::PayoutMethodOptions::CheckSend))
363725
364900
  }
363726
- def initialize(bank_account: nil); end
364901
+ def check_send; end
364902
+ sig {
364903
+ params(_check_send: T.nilable(::Stripe::V2::MoneyManagement::OutboundPaymentCreateParams::To::PayoutMethodOptions::CheckSend)).returns(T.nilable(::Stripe::V2::MoneyManagement::OutboundPaymentCreateParams::To::PayoutMethodOptions::CheckSend))
364904
+ }
364905
+ def check_send=(_check_send); end
364906
+ sig {
364907
+ params(bank_account: T.nilable(::Stripe::V2::MoneyManagement::OutboundPaymentCreateParams::To::PayoutMethodOptions::BankAccount), check_send: T.nilable(::Stripe::V2::MoneyManagement::OutboundPaymentCreateParams::To::PayoutMethodOptions::CheckSend)).void
364908
+ }
364909
+ def initialize(bank_account: nil, check_send: nil); end
363727
364910
  end
363728
364911
  # Describes the currency to send to the recipient.
363729
364912
  # If included, this currency must match a currency supported by the destination.
@@ -364186,6 +365369,69 @@ module Stripe
364186
365369
  }
364187
365370
  def initialize(currency: nil, exp_month: nil, exp_year: nil, number: nil); end
364188
365371
  end
365372
+ class CheckSend < ::Stripe::RequestParams
365373
+ class MailingAddress < ::Stripe::RequestParams
365374
+ # City.
365375
+ sig { returns(String) }
365376
+ def city; end
365377
+ sig { params(_city: String).returns(String) }
365378
+ def city=(_city); end
365379
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
365380
+ sig { returns(String) }
365381
+ def country; end
365382
+ sig { params(_country: String).returns(String) }
365383
+ def country=(_country); end
365384
+ # Address line 1 (e.g., street, PO Box, or company name).
365385
+ sig { returns(String) }
365386
+ def line1; end
365387
+ sig { params(_line1: String).returns(String) }
365388
+ def line1=(_line1); end
365389
+ # Address line 2 (e.g., apartment, suite, unit, or building).
365390
+ sig { returns(T.nilable(String)) }
365391
+ def line2; end
365392
+ sig { params(_line2: T.nilable(String)).returns(T.nilable(String)) }
365393
+ def line2=(_line2); end
365394
+ # ZIP or postal code.
365395
+ sig { returns(String) }
365396
+ def postal_code; end
365397
+ sig { params(_postal_code: String).returns(String) }
365398
+ def postal_code=(_postal_code); end
365399
+ # State.
365400
+ sig { returns(String) }
365401
+ def state; end
365402
+ sig { params(_state: String).returns(String) }
365403
+ def state=(_state); end
365404
+ sig {
365405
+ params(city: String, country: String, line1: String, line2: T.nilable(String), postal_code: String, state: String).void
365406
+ }
365407
+ def initialize(
365408
+ city: nil,
365409
+ country: nil,
365410
+ line1: nil,
365411
+ line2: nil,
365412
+ postal_code: nil,
365413
+ state: nil
365414
+ ); end
365415
+ end
365416
+ # The US mailing address the check is sent to.
365417
+ sig {
365418
+ returns(::Stripe::V2::MoneyManagement::OutboundSetupIntentCreateParams::PayoutMethodData::CheckSend::MailingAddress)
365419
+ }
365420
+ def mailing_address; end
365421
+ sig {
365422
+ params(_mailing_address: ::Stripe::V2::MoneyManagement::OutboundSetupIntentCreateParams::PayoutMethodData::CheckSend::MailingAddress).returns(::Stripe::V2::MoneyManagement::OutboundSetupIntentCreateParams::PayoutMethodData::CheckSend::MailingAddress)
365423
+ }
365424
+ def mailing_address=(_mailing_address); end
365425
+ # The name printed on the check's payee line.
365426
+ sig { returns(String) }
365427
+ def payee_name; end
365428
+ sig { params(_payee_name: String).returns(String) }
365429
+ def payee_name=(_payee_name); end
365430
+ sig {
365431
+ params(mailing_address: ::Stripe::V2::MoneyManagement::OutboundSetupIntentCreateParams::PayoutMethodData::CheckSend::MailingAddress, payee_name: String).void
365432
+ }
365433
+ def initialize(mailing_address: nil, payee_name: nil); end
365434
+ end
364189
365435
  class CryptoWallet < ::Stripe::RequestParams
364190
365436
  # Crypto wallet address.
364191
365437
  sig { returns(String) }
@@ -364248,6 +365494,15 @@ module Stripe
364248
365494
  params(_card: T.nilable(::Stripe::V2::MoneyManagement::OutboundSetupIntentCreateParams::PayoutMethodData::Card)).returns(T.nilable(::Stripe::V2::MoneyManagement::OutboundSetupIntentCreateParams::PayoutMethodData::Card))
364249
365495
  }
364250
365496
  def card=(_card); end
365497
+ # The type specific details of the check send payout method.
365498
+ sig {
365499
+ returns(T.nilable(::Stripe::V2::MoneyManagement::OutboundSetupIntentCreateParams::PayoutMethodData::CheckSend))
365500
+ }
365501
+ def check_send; end
365502
+ sig {
365503
+ params(_check_send: T.nilable(::Stripe::V2::MoneyManagement::OutboundSetupIntentCreateParams::PayoutMethodData::CheckSend)).returns(T.nilable(::Stripe::V2::MoneyManagement::OutboundSetupIntentCreateParams::PayoutMethodData::CheckSend))
365504
+ }
365505
+ def check_send=(_check_send); end
364251
365506
  # The type specific details of the crypto wallet payout method.
364252
365507
  sig {
364253
365508
  returns(T.nilable(::Stripe::V2::MoneyManagement::OutboundSetupIntentCreateParams::PayoutMethodData::CryptoWallet))
@@ -364272,12 +365527,13 @@ module Stripe
364272
365527
  sig { params(_type: String).returns(String) }
364273
365528
  def type=(_type); end
364274
365529
  sig {
364275
- params(apple_pay: T.nilable(::Stripe::V2::MoneyManagement::OutboundSetupIntentCreateParams::PayoutMethodData::ApplePay), bank_account: T.nilable(::Stripe::V2::MoneyManagement::OutboundSetupIntentCreateParams::PayoutMethodData::BankAccount), card: T.nilable(::Stripe::V2::MoneyManagement::OutboundSetupIntentCreateParams::PayoutMethodData::Card), crypto_wallet: T.nilable(::Stripe::V2::MoneyManagement::OutboundSetupIntentCreateParams::PayoutMethodData::CryptoWallet), pix: T.nilable(::Stripe::V2::MoneyManagement::OutboundSetupIntentCreateParams::PayoutMethodData::Pix), type: String).void
365530
+ params(apple_pay: T.nilable(::Stripe::V2::MoneyManagement::OutboundSetupIntentCreateParams::PayoutMethodData::ApplePay), bank_account: T.nilable(::Stripe::V2::MoneyManagement::OutboundSetupIntentCreateParams::PayoutMethodData::BankAccount), card: T.nilable(::Stripe::V2::MoneyManagement::OutboundSetupIntentCreateParams::PayoutMethodData::Card), check_send: T.nilable(::Stripe::V2::MoneyManagement::OutboundSetupIntentCreateParams::PayoutMethodData::CheckSend), crypto_wallet: T.nilable(::Stripe::V2::MoneyManagement::OutboundSetupIntentCreateParams::PayoutMethodData::CryptoWallet), pix: T.nilable(::Stripe::V2::MoneyManagement::OutboundSetupIntentCreateParams::PayoutMethodData::Pix), type: String).void
364276
365531
  }
364277
365532
  def initialize(
364278
365533
  apple_pay: nil,
364279
365534
  bank_account: nil,
364280
365535
  card: nil,
365536
+ check_send: nil,
364281
365537
  crypto_wallet: nil,
364282
365538
  pix: nil,
364283
365539
  type: nil
@@ -364852,6 +366108,37 @@ module Stripe
364852
366108
  }
364853
366109
  def initialize(preferred_network_options: nil, preferred_networks: nil); end
364854
366110
  end
366111
+ class CheckSend < ::Stripe::RequestParams
366112
+ # The ID of a file to include as an attachment with the check.
366113
+ sig { returns(T.nilable(String)) }
366114
+ def attachment_file; end
366115
+ sig { params(_attachment_file: T.nilable(String)).returns(T.nilable(String)) }
366116
+ def attachment_file=(_attachment_file); end
366117
+ # Memo printed on the memo field of the check.
366118
+ sig { returns(T.nilable(String)) }
366119
+ def memo; end
366120
+ sig { params(_memo: T.nilable(String)).returns(T.nilable(String)) }
366121
+ def memo=(_memo); end
366122
+ # Open Enum. Shipping speed of the check. Defaults to standard.
366123
+ sig { returns(T.nilable(String)) }
366124
+ def shipping_speed; end
366125
+ sig { params(_shipping_speed: T.nilable(String)).returns(T.nilable(String)) }
366126
+ def shipping_speed=(_shipping_speed); end
366127
+ # Signature printed on the check.
366128
+ sig { returns(String) }
366129
+ def signature; end
366130
+ sig { params(_signature: String).returns(String) }
366131
+ def signature=(_signature); end
366132
+ sig {
366133
+ params(attachment_file: T.nilable(String), memo: T.nilable(String), shipping_speed: T.nilable(String), signature: String).void
366134
+ }
366135
+ def initialize(
366136
+ attachment_file: nil,
366137
+ memo: nil,
366138
+ shipping_speed: nil,
366139
+ signature: nil
366140
+ ); end
366141
+ end
364855
366142
  # Options for bank account payout methods.
364856
366143
  sig {
364857
366144
  returns(T.nilable(::Stripe::V2::MoneyManagement::PayoutIntentCreateParams::To::PayoutMethodOptions::BankAccount))
@@ -364861,10 +366148,19 @@ module Stripe
364861
366148
  params(_bank_account: T.nilable(::Stripe::V2::MoneyManagement::PayoutIntentCreateParams::To::PayoutMethodOptions::BankAccount)).returns(T.nilable(::Stripe::V2::MoneyManagement::PayoutIntentCreateParams::To::PayoutMethodOptions::BankAccount))
364862
366149
  }
364863
366150
  def bank_account=(_bank_account); end
366151
+ # Options for check send payout methods.
364864
366152
  sig {
364865
- params(bank_account: T.nilable(::Stripe::V2::MoneyManagement::PayoutIntentCreateParams::To::PayoutMethodOptions::BankAccount)).void
366153
+ returns(T.nilable(::Stripe::V2::MoneyManagement::PayoutIntentCreateParams::To::PayoutMethodOptions::CheckSend))
364866
366154
  }
364867
- def initialize(bank_account: nil); end
366155
+ def check_send; end
366156
+ sig {
366157
+ params(_check_send: T.nilable(::Stripe::V2::MoneyManagement::PayoutIntentCreateParams::To::PayoutMethodOptions::CheckSend)).returns(T.nilable(::Stripe::V2::MoneyManagement::PayoutIntentCreateParams::To::PayoutMethodOptions::CheckSend))
366158
+ }
366159
+ def check_send=(_check_send); end
366160
+ sig {
366161
+ params(bank_account: T.nilable(::Stripe::V2::MoneyManagement::PayoutIntentCreateParams::To::PayoutMethodOptions::BankAccount), check_send: T.nilable(::Stripe::V2::MoneyManagement::PayoutIntentCreateParams::To::PayoutMethodOptions::CheckSend)).void
366162
+ }
366163
+ def initialize(bank_account: nil, check_send: nil); end
364868
366164
  end
364869
366165
  # The currency to send to the recipient.
364870
366166
  sig { returns(T.nilable(String)) }
@@ -365069,6 +366365,37 @@ module Stripe
365069
366365
  }
365070
366366
  def initialize(preferred_network_options: nil, preferred_networks: nil); end
365071
366367
  end
366368
+ class CheckSend < ::Stripe::RequestParams
366369
+ # The ID of a file to include as an attachment with the check.
366370
+ sig { returns(T.nilable(String)) }
366371
+ def attachment_file; end
366372
+ sig { params(_attachment_file: T.nilable(String)).returns(T.nilable(String)) }
366373
+ def attachment_file=(_attachment_file); end
366374
+ # Memo printed on the memo field of the check.
366375
+ sig { returns(T.nilable(String)) }
366376
+ def memo; end
366377
+ sig { params(_memo: T.nilable(String)).returns(T.nilable(String)) }
366378
+ def memo=(_memo); end
366379
+ # Open Enum. Shipping speed of the check. Defaults to standard.
366380
+ sig { returns(T.nilable(String)) }
366381
+ def shipping_speed; end
366382
+ sig { params(_shipping_speed: T.nilable(String)).returns(T.nilable(String)) }
366383
+ def shipping_speed=(_shipping_speed); end
366384
+ # Signature printed on the check.
366385
+ sig { returns(String) }
366386
+ def signature; end
366387
+ sig { params(_signature: String).returns(String) }
366388
+ def signature=(_signature); end
366389
+ sig {
366390
+ params(attachment_file: T.nilable(String), memo: T.nilable(String), shipping_speed: T.nilable(String), signature: String).void
366391
+ }
366392
+ def initialize(
366393
+ attachment_file: nil,
366394
+ memo: nil,
366395
+ shipping_speed: nil,
366396
+ signature: nil
366397
+ ); end
366398
+ end
365072
366399
  # Options for bank account payout methods.
365073
366400
  sig {
365074
366401
  returns(T.nilable(::Stripe::V2::MoneyManagement::PayoutIntentUpdateParams::To::PayoutMethodOptions::BankAccount))
@@ -365078,10 +366405,19 @@ module Stripe
365078
366405
  params(_bank_account: T.nilable(::Stripe::V2::MoneyManagement::PayoutIntentUpdateParams::To::PayoutMethodOptions::BankAccount)).returns(T.nilable(::Stripe::V2::MoneyManagement::PayoutIntentUpdateParams::To::PayoutMethodOptions::BankAccount))
365079
366406
  }
365080
366407
  def bank_account=(_bank_account); end
366408
+ # Options for check send payout methods.
365081
366409
  sig {
365082
- params(bank_account: T.nilable(::Stripe::V2::MoneyManagement::PayoutIntentUpdateParams::To::PayoutMethodOptions::BankAccount)).void
366410
+ returns(T.nilable(::Stripe::V2::MoneyManagement::PayoutIntentUpdateParams::To::PayoutMethodOptions::CheckSend))
365083
366411
  }
365084
- def initialize(bank_account: nil); end
366412
+ def check_send; end
366413
+ sig {
366414
+ params(_check_send: T.nilable(::Stripe::V2::MoneyManagement::PayoutIntentUpdateParams::To::PayoutMethodOptions::CheckSend)).returns(T.nilable(::Stripe::V2::MoneyManagement::PayoutIntentUpdateParams::To::PayoutMethodOptions::CheckSend))
366415
+ }
366416
+ def check_send=(_check_send); end
366417
+ sig {
366418
+ params(bank_account: T.nilable(::Stripe::V2::MoneyManagement::PayoutIntentUpdateParams::To::PayoutMethodOptions::BankAccount), check_send: T.nilable(::Stripe::V2::MoneyManagement::PayoutIntentUpdateParams::To::PayoutMethodOptions::CheckSend)).void
366419
+ }
366420
+ def initialize(bank_account: nil, check_send: nil); end
365085
366421
  end
365086
366422
  # The currency to send to the recipient.
365087
366423
  sig { returns(T.nilable(String)) }
@@ -365374,13 +366710,20 @@ module Stripe
365374
366710
  def limit; end
365375
366711
  sig { params(_limit: T.nilable(Integer)).returns(T.nilable(Integer)) }
365376
366712
  def limit=(_limit); end
365377
- # Filter by the received debit mandate ID.
366713
+ # Filter by the received debit mandate ID. Deprecated: use `spending_mandate` instead.
365378
366714
  sig { returns(T.nilable(String)) }
365379
366715
  def received_debit_mandate; end
365380
366716
  sig { params(_received_debit_mandate: T.nilable(String)).returns(T.nilable(String)) }
365381
366717
  def received_debit_mandate=(_received_debit_mandate); end
365382
- sig { params(limit: T.nilable(Integer), received_debit_mandate: T.nilable(String)).void }
365383
- def initialize(limit: nil, received_debit_mandate: nil); end
366718
+ # Filter by the SpendingMandate ID.
366719
+ sig { returns(T.nilable(String)) }
366720
+ def spending_mandate; end
366721
+ sig { params(_spending_mandate: T.nilable(String)).returns(T.nilable(String)) }
366722
+ def spending_mandate=(_spending_mandate); end
366723
+ sig {
366724
+ params(limit: T.nilable(Integer), received_debit_mandate: T.nilable(String), spending_mandate: T.nilable(String)).void
366725
+ }
366726
+ def initialize(limit: nil, received_debit_mandate: nil, spending_mandate: nil); end
365384
366727
  end
365385
366728
  end
365386
366729
  end
@@ -365951,6 +367294,55 @@ module Stripe
365951
367294
  end
365952
367295
  end
365953
367296
  # typed: true
367297
+ module Stripe
367298
+ module V2
367299
+ module MoneyManagement
367300
+ class SpendingMandateListParams < ::Stripe::RequestParams
367301
+ # The ID of the FinancialAccount to filter by.
367302
+ sig { returns(T.nilable(String)) }
367303
+ def financial_account; end
367304
+ sig { params(_financial_account: T.nilable(String)).returns(T.nilable(String)) }
367305
+ def financial_account=(_financial_account); end
367306
+ # The page limit.
367307
+ sig { returns(T.nilable(Integer)) }
367308
+ def limit; end
367309
+ sig { params(_limit: T.nilable(Integer)).returns(T.nilable(Integer)) }
367310
+ def limit=(_limit); end
367311
+ # Filter by mandate status.
367312
+ sig { returns(T.nilable(T::Array[String])) }
367313
+ def statuses; end
367314
+ sig { params(_statuses: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
367315
+ def statuses=(_statuses); end
367316
+ # The type of SpendingMandate to filter by.
367317
+ sig { returns(T.nilable(String)) }
367318
+ def type; end
367319
+ sig { params(_type: T.nilable(String)).returns(T.nilable(String)) }
367320
+ def type=(_type); end
367321
+ sig {
367322
+ params(financial_account: T.nilable(String), limit: T.nilable(Integer), statuses: T.nilable(T::Array[String]), type: T.nilable(String)).void
367323
+ }
367324
+ def initialize(financial_account: nil, limit: nil, statuses: nil, type: nil); end
367325
+ end
367326
+ end
367327
+ end
367328
+ end
367329
+ # typed: true
367330
+ module Stripe
367331
+ module V2
367332
+ module MoneyManagement
367333
+ class SpendingMandateRetrieveParams < ::Stripe::RequestParams; end
367334
+ end
367335
+ end
367336
+ end
367337
+ # typed: true
367338
+ module Stripe
367339
+ module V2
367340
+ module MoneyManagement
367341
+ class SpendingMandateCancelParams < ::Stripe::RequestParams; end
367342
+ end
367343
+ end
367344
+ end
367345
+ # typed: true
365954
367346
  module Stripe
365955
367347
  module V2
365956
367348
  module MoneyManagement