stripe 15.1.0 → 15.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (243) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +34 -6
  3. data/CONTRIBUTING.md +25 -0
  4. data/OPENAPI_VERSION +1 -1
  5. data/README.md +10 -7
  6. data/VERSION +1 -1
  7. data/lib/stripe/api_version.rb +1 -1
  8. data/lib/stripe/resources/account.rb +47 -20
  9. data/lib/stripe/resources/account_session.rb +111 -7
  10. data/lib/stripe/resources/apple_pay_domain.rb +1 -2
  11. data/lib/stripe/resources/balance.rb +42 -0
  12. data/lib/stripe/resources/balance_transaction.rb +2 -0
  13. data/lib/stripe/resources/bank_account.rb +2 -2
  14. data/lib/stripe/resources/billing_portal/session.rb +1 -1
  15. data/lib/stripe/resources/capability.rb +1 -1
  16. data/lib/stripe/resources/charge.rb +13 -5
  17. data/lib/stripe/resources/checkout/session.rb +20 -4
  18. data/lib/stripe/resources/confirmation_token.rb +33 -87
  19. data/lib/stripe/resources/country_spec.rb +1 -1
  20. data/lib/stripe/resources/coupon.rb +1 -2
  21. data/lib/stripe/resources/credit_note.rb +12 -9
  22. data/lib/stripe/resources/customer.rb +2 -4
  23. data/lib/stripe/resources/customer_session.rb +3 -3
  24. data/lib/stripe/resources/dispute.rb +2 -2
  25. data/lib/stripe/resources/event.rb +1 -1
  26. data/lib/stripe/resources/file.rb +1 -1
  27. data/lib/stripe/resources/identity/verification_report.rb +6 -0
  28. data/lib/stripe/resources/identity/verification_session.rb +17 -11
  29. data/lib/stripe/resources/invoice.rb +114 -27
  30. data/lib/stripe/resources/invoice_item.rb +2 -3
  31. data/lib/stripe/resources/invoice_line_item.rb +1 -1
  32. data/lib/stripe/resources/invoice_payment.rb +9 -2
  33. data/lib/stripe/resources/issuing/authorization.rb +8 -8
  34. data/lib/stripe/resources/issuing/card.rb +1 -1
  35. data/lib/stripe/resources/issuing/dispute.rb +3 -3
  36. data/lib/stripe/resources/payment_intent.rb +196 -302
  37. data/lib/stripe/resources/payment_method.rb +46 -103
  38. data/lib/stripe/resources/payment_method_configuration.rb +297 -2
  39. data/lib/stripe/resources/payment_method_domain.rb +2 -2
  40. data/lib/stripe/resources/payout.rb +4 -4
  41. data/lib/stripe/resources/person.rb +2 -2
  42. data/lib/stripe/resources/plan.rb +2 -3
  43. data/lib/stripe/resources/price.rb +1 -1
  44. data/lib/stripe/resources/product.rb +1 -2
  45. data/lib/stripe/resources/radar/value_list.rb +1 -2
  46. data/lib/stripe/resources/radar/value_list_item.rb +1 -2
  47. data/lib/stripe/resources/refund.rb +6 -1
  48. data/lib/stripe/resources/reversal.rb +1 -1
  49. data/lib/stripe/resources/review.rb +1 -1
  50. data/lib/stripe/resources/setup_intent.rb +111 -281
  51. data/lib/stripe/resources/source.rb +1 -1
  52. data/lib/stripe/resources/subscription.rb +89 -29
  53. data/lib/stripe/resources/subscription_item.rb +33 -0
  54. data/lib/stripe/resources/subscription_schedule.rb +119 -4
  55. data/lib/stripe/resources/tax/calculation.rb +4 -0
  56. data/lib/stripe/resources/tax/calculation_line_item.rb +2 -0
  57. data/lib/stripe/resources/tax/registration.rb +1 -1
  58. data/lib/stripe/resources/tax_id.rb +1 -2
  59. data/lib/stripe/resources/tax_rate.rb +2 -2
  60. data/lib/stripe/resources/terminal/configuration.rb +1 -2
  61. data/lib/stripe/resources/terminal/location.rb +2 -3
  62. data/lib/stripe/resources/terminal/reader.rb +275 -3
  63. data/lib/stripe/resources/test_helpers/test_clock.rb +1 -2
  64. data/lib/stripe/resources/token.rb +2 -2
  65. data/lib/stripe/resources/transfer.rb +1 -1
  66. data/lib/stripe/resources/webhook_endpoint.rb +1 -2
  67. data/lib/stripe/services/account_external_account_service.rb +2 -3
  68. data/lib/stripe/services/account_login_link_service.rb +1 -1
  69. data/lib/stripe/services/account_person_service.rb +1 -2
  70. data/lib/stripe/services/account_service.rb +38 -13
  71. data/lib/stripe/services/account_session_service.rb +75 -7
  72. data/lib/stripe/services/apple_pay_domain_service.rb +1 -2
  73. data/lib/stripe/services/balance_service.rb +1 -1
  74. data/lib/stripe/services/charge_service.rb +4 -4
  75. data/lib/stripe/services/checkout/session_service.rb +11 -3
  76. data/lib/stripe/services/coupon_service.rb +1 -2
  77. data/lib/stripe/services/credit_note_service.rb +7 -8
  78. data/lib/stripe/services/customer_balance_transaction_service.rb +3 -3
  79. data/lib/stripe/services/customer_cash_balance_transaction_service.rb +2 -2
  80. data/lib/stripe/services/customer_payment_source_service.rb +1 -1
  81. data/lib/stripe/services/customer_service.rb +3 -5
  82. data/lib/stripe/services/customer_tax_id_service.rb +1 -2
  83. data/lib/stripe/services/dispute_service.rb +1 -1
  84. data/lib/stripe/services/file_service.rb +1 -1
  85. data/lib/stripe/services/identity/verification_session_service.rb +5 -5
  86. data/lib/stripe/services/invoice_item_service.rb +1 -2
  87. data/lib/stripe/services/invoice_service.rb +92 -23
  88. data/lib/stripe/services/issuing/authorization_service.rb +4 -4
  89. data/lib/stripe/services/issuing/card_service.rb +1 -1
  90. data/lib/stripe/services/issuing/dispute_service.rb +2 -2
  91. data/lib/stripe/services/payment_intent_service.rb +176 -292
  92. data/lib/stripe/services/payment_method_configuration_service.rb +212 -2
  93. data/lib/stripe/services/payment_method_domain_service.rb +1 -1
  94. data/lib/stripe/services/payment_method_service.rb +43 -100
  95. data/lib/stripe/services/payout_service.rb +2 -2
  96. data/lib/stripe/services/plan_service.rb +2 -3
  97. data/lib/stripe/services/price_service.rb +2 -2
  98. data/lib/stripe/services/product_feature_service.rb +1 -2
  99. data/lib/stripe/services/product_service.rb +2 -3
  100. data/lib/stripe/services/promotion_code_service.rb +1 -1
  101. data/lib/stripe/services/radar/early_fraud_warning_service.rb +1 -1
  102. data/lib/stripe/services/radar/value_list_item_service.rb +1 -2
  103. data/lib/stripe/services/radar/value_list_service.rb +1 -2
  104. data/lib/stripe/services/setup_intent_service.rb +110 -280
  105. data/lib/stripe/services/source_service.rb +1 -1
  106. data/lib/stripe/services/subscription_item_service.rb +26 -0
  107. data/lib/stripe/services/subscription_schedule_service.rb +93 -3
  108. data/lib/stripe/services/subscription_service.rb +77 -26
  109. data/lib/stripe/services/tax/calculation_service.rb +4 -0
  110. data/lib/stripe/services/tax/registration_service.rb +1 -1
  111. data/lib/stripe/services/tax_id_service.rb +1 -2
  112. data/lib/stripe/services/terminal/configuration_service.rb +1 -2
  113. data/lib/stripe/services/terminal/location_service.rb +2 -3
  114. data/lib/stripe/services/terminal/reader_service.rb +106 -2
  115. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +33 -87
  116. data/lib/stripe/services/test_helpers/terminal/reader_service.rb +43 -0
  117. data/lib/stripe/services/test_helpers/test_clock_service.rb +1 -2
  118. data/lib/stripe/services/token_service.rb +1 -1
  119. data/lib/stripe/services/transfer_service.rb +1 -1
  120. data/lib/stripe/services/v2/billing/meter_event_session_service.rb +1 -2
  121. data/lib/stripe/services/v2/core/event_destination_service.rb +4 -10
  122. data/lib/stripe/services/v2/core/event_service.rb +1 -2
  123. data/lib/stripe/services/webhook_endpoint_service.rb +1 -2
  124. data/lib/stripe/version.rb +1 -1
  125. data/rbi/stripe/resources/account.rbi +46 -23
  126. data/rbi/stripe/resources/account_session.rbi +131 -12
  127. data/rbi/stripe/resources/apple_pay_domain.rbi +1 -3
  128. data/rbi/stripe/resources/balance.rbi +55 -0
  129. data/rbi/stripe/resources/balance_transaction.rbi +3 -0
  130. data/rbi/stripe/resources/bank_account.rbi +2 -2
  131. data/rbi/stripe/resources/billing/alert.rbi +2 -2
  132. data/rbi/stripe/resources/billing_portal/session.rbi +1 -1
  133. data/rbi/stripe/resources/capability.rbi +1 -1
  134. data/rbi/stripe/resources/charge.rbi +17 -5
  135. data/rbi/stripe/resources/checkout/session.rbi +22 -6
  136. data/rbi/stripe/resources/confirmation_token.rbi +33 -99
  137. data/rbi/stripe/resources/country_spec.rbi +1 -1
  138. data/rbi/stripe/resources/coupon.rbi +1 -3
  139. data/rbi/stripe/resources/credit_note.rbi +14 -9
  140. data/rbi/stripe/resources/customer.rbi +2 -6
  141. data/rbi/stripe/resources/customer_session.rbi +3 -3
  142. data/rbi/stripe/resources/dispute.rbi +2 -2
  143. data/rbi/stripe/resources/event.rbi +1 -1
  144. data/rbi/stripe/resources/file.rbi +1 -1
  145. data/rbi/stripe/resources/identity/verification_report.rbi +9 -0
  146. data/rbi/stripe/resources/identity/verification_session.rbi +20 -11
  147. data/rbi/stripe/resources/invoice.rbi +109 -33
  148. data/rbi/stripe/resources/invoice_item.rbi +2 -4
  149. data/rbi/stripe/resources/invoice_line_item.rbi +1 -1
  150. data/rbi/stripe/resources/invoice_payment.rbi +9 -2
  151. data/rbi/stripe/resources/issuing/authorization.rbi +8 -8
  152. data/rbi/stripe/resources/issuing/card.rbi +1 -1
  153. data/rbi/stripe/resources/issuing/dispute.rbi +3 -3
  154. data/rbi/stripe/resources/payment_intent.rbi +201 -349
  155. data/rbi/stripe/resources/payment_method.rbi +46 -116
  156. data/rbi/stripe/resources/payment_method_configuration.rbi +334 -4
  157. data/rbi/stripe/resources/payment_method_domain.rbi +2 -2
  158. data/rbi/stripe/resources/payout.rbi +4 -4
  159. data/rbi/stripe/resources/person.rbi +2 -2
  160. data/rbi/stripe/resources/plan.rbi +2 -4
  161. data/rbi/stripe/resources/price.rbi +1 -1
  162. data/rbi/stripe/resources/product.rbi +1 -3
  163. data/rbi/stripe/resources/radar/value_list.rbi +1 -3
  164. data/rbi/stripe/resources/radar/value_list_item.rbi +1 -3
  165. data/rbi/stripe/resources/refund.rbi +5 -1
  166. data/rbi/stripe/resources/reversal.rbi +1 -1
  167. data/rbi/stripe/resources/review.rbi +1 -1
  168. data/rbi/stripe/resources/setup_intent.rbi +111 -325
  169. data/rbi/stripe/resources/source.rbi +1 -1
  170. data/rbi/stripe/resources/subscription.rbi +99 -36
  171. data/rbi/stripe/resources/subscription_item.rbi +36 -2
  172. data/rbi/stripe/resources/subscription_schedule.rbi +138 -10
  173. data/rbi/stripe/resources/tax/calculation.rbi +5 -1
  174. data/rbi/stripe/resources/tax/calculation_line_item.rbi +3 -0
  175. data/rbi/stripe/resources/tax/registration.rbi +1 -1
  176. data/rbi/stripe/resources/tax_id.rbi +1 -3
  177. data/rbi/stripe/resources/tax_rate.rbi +2 -2
  178. data/rbi/stripe/resources/terminal/configuration.rbi +1 -3
  179. data/rbi/stripe/resources/terminal/location.rbi +2 -4
  180. data/rbi/stripe/resources/terminal/reader.rbi +265 -5
  181. data/rbi/stripe/resources/test_helpers/test_clock.rbi +1 -3
  182. data/rbi/stripe/resources/token.rbi +2 -2
  183. data/rbi/stripe/resources/transfer.rbi +1 -1
  184. data/rbi/stripe/resources/webhook_endpoint.rbi +1 -3
  185. data/rbi/stripe/services/account_external_account_service.rbi +2 -4
  186. data/rbi/stripe/services/account_login_link_service.rbi +1 -1
  187. data/rbi/stripe/services/account_person_service.rbi +1 -3
  188. data/rbi/stripe/services/account_service.rbi +40 -16
  189. data/rbi/stripe/services/account_session_service.rbi +86 -12
  190. data/rbi/stripe/services/apple_pay_domain_service.rbi +1 -3
  191. data/rbi/stripe/services/balance_service.rbi +1 -1
  192. data/rbi/stripe/services/billing/alert_service.rbi +2 -2
  193. data/rbi/stripe/services/charge_service.rbi +4 -4
  194. data/rbi/stripe/services/checkout/session_service.rbi +12 -5
  195. data/rbi/stripe/services/coupon_service.rbi +1 -3
  196. data/rbi/stripe/services/credit_note_service.rbi +7 -8
  197. data/rbi/stripe/services/customer_balance_transaction_service.rbi +3 -3
  198. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +2 -2
  199. data/rbi/stripe/services/customer_payment_source_service.rbi +1 -1
  200. data/rbi/stripe/services/customer_service.rbi +3 -7
  201. data/rbi/stripe/services/customer_tax_id_service.rbi +1 -3
  202. data/rbi/stripe/services/dispute_service.rbi +1 -1
  203. data/rbi/stripe/services/file_service.rbi +1 -1
  204. data/rbi/stripe/services/identity/verification_session_service.rbi +5 -5
  205. data/rbi/stripe/services/invoice_item_service.rbi +1 -3
  206. data/rbi/stripe/services/invoice_service.rbi +90 -29
  207. data/rbi/stripe/services/issuing/authorization_service.rbi +4 -4
  208. data/rbi/stripe/services/issuing/card_service.rbi +1 -1
  209. data/rbi/stripe/services/issuing/dispute_service.rbi +2 -2
  210. data/rbi/stripe/services/payment_intent_service.rbi +179 -339
  211. data/rbi/stripe/services/payment_method_configuration_service.rbi +236 -4
  212. data/rbi/stripe/services/payment_method_domain_service.rbi +1 -1
  213. data/rbi/stripe/services/payment_method_service.rbi +43 -113
  214. data/rbi/stripe/services/payout_service.rbi +2 -2
  215. data/rbi/stripe/services/plan_service.rbi +2 -4
  216. data/rbi/stripe/services/price_service.rbi +2 -2
  217. data/rbi/stripe/services/product_feature_service.rbi +1 -3
  218. data/rbi/stripe/services/product_service.rbi +2 -4
  219. data/rbi/stripe/services/promotion_code_service.rbi +1 -1
  220. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +1 -1
  221. data/rbi/stripe/services/radar/value_list_item_service.rbi +1 -3
  222. data/rbi/stripe/services/radar/value_list_service.rbi +1 -3
  223. data/rbi/stripe/services/setup_intent_service.rbi +110 -324
  224. data/rbi/stripe/services/source_service.rbi +1 -1
  225. data/rbi/stripe/services/subscription_item_service.rbi +28 -2
  226. data/rbi/stripe/services/subscription_schedule_service.rbi +107 -9
  227. data/rbi/stripe/services/subscription_service.rbi +85 -33
  228. data/rbi/stripe/services/tax/calculation_service.rbi +5 -1
  229. data/rbi/stripe/services/tax/registration_service.rbi +1 -1
  230. data/rbi/stripe/services/tax_id_service.rbi +1 -3
  231. data/rbi/stripe/services/terminal/configuration_service.rbi +1 -3
  232. data/rbi/stripe/services/terminal/location_service.rbi +2 -4
  233. data/rbi/stripe/services/terminal/reader_service.rbi +115 -4
  234. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +33 -99
  235. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +31 -0
  236. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +1 -3
  237. data/rbi/stripe/services/token_service.rbi +1 -1
  238. data/rbi/stripe/services/transfer_service.rbi +1 -1
  239. data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +1 -3
  240. data/rbi/stripe/services/v2/core/event_destination_service.rbi +4 -12
  241. data/rbi/stripe/services/v2/core/event_service.rbi +1 -3
  242. data/rbi/stripe/services/webhook_endpoint_service.rbi +1 -3
  243. metadata +3 -2
@@ -9,6 +9,124 @@ module Stripe
9
9
  # Related guide: [Connecting to a reader](https://stripe.com/docs/terminal/payments/connect-reader)
10
10
  class Reader < APIResource
11
11
  class Action < Stripe::StripeObject
12
+ class CollectInputs < Stripe::StripeObject
13
+ class Input < Stripe::StripeObject
14
+ class CustomText < Stripe::StripeObject
15
+ # Customize the default description for this input
16
+ sig { returns(T.nilable(String)) }
17
+ attr_reader :description
18
+ # Customize the default label for this input's skip button
19
+ sig { returns(T.nilable(String)) }
20
+ attr_reader :skip_button
21
+ # Customize the default label for this input's submit button
22
+ sig { returns(T.nilable(String)) }
23
+ attr_reader :submit_button
24
+ # Customize the default title for this input
25
+ sig { returns(T.nilable(String)) }
26
+ attr_reader :title
27
+ end
28
+ class Email < Stripe::StripeObject
29
+ # The collected email address
30
+ sig { returns(T.nilable(String)) }
31
+ attr_reader :value
32
+ end
33
+ class Numeric < Stripe::StripeObject
34
+ # The collected number
35
+ sig { returns(T.nilable(String)) }
36
+ attr_reader :value
37
+ end
38
+ class Phone < Stripe::StripeObject
39
+ # The collected phone number
40
+ sig { returns(T.nilable(String)) }
41
+ attr_reader :value
42
+ end
43
+ class Selection < Stripe::StripeObject
44
+ class Choice < Stripe::StripeObject
45
+ # The id to be selected
46
+ sig { returns(T.nilable(String)) }
47
+ attr_reader :id
48
+ # The button style for the choice
49
+ sig { returns(T.nilable(String)) }
50
+ attr_reader :style
51
+ # The text to be selected
52
+ sig { returns(String) }
53
+ attr_reader :text
54
+ end
55
+ # List of possible choices to be selected
56
+ sig { returns(T::Array[Choice]) }
57
+ attr_reader :choices
58
+ # The id of the selected choice
59
+ sig { returns(T.nilable(String)) }
60
+ attr_reader :id
61
+ # The text of the selected choice
62
+ sig { returns(T.nilable(String)) }
63
+ attr_reader :text
64
+ end
65
+ class Signature < Stripe::StripeObject
66
+ # The File ID of a collected signature image
67
+ sig { returns(T.nilable(String)) }
68
+ attr_reader :value
69
+ end
70
+ class Text < Stripe::StripeObject
71
+ # The collected text value
72
+ sig { returns(T.nilable(String)) }
73
+ attr_reader :value
74
+ end
75
+ class Toggle < Stripe::StripeObject
76
+ # The toggle's default value
77
+ sig { returns(T.nilable(String)) }
78
+ attr_reader :default_value
79
+ # The toggle's description text
80
+ sig { returns(T.nilable(String)) }
81
+ attr_reader :description
82
+ # The toggle's title text
83
+ sig { returns(T.nilable(String)) }
84
+ attr_reader :title
85
+ # The toggle's collected value
86
+ sig { returns(T.nilable(String)) }
87
+ attr_reader :value
88
+ end
89
+ # Default text of input being collected.
90
+ sig { returns(T.nilable(CustomText)) }
91
+ attr_reader :custom_text
92
+ # Information about a email being collected using a reader
93
+ sig { returns(Email) }
94
+ attr_reader :email
95
+ # Information about a number being collected using a reader
96
+ sig { returns(Numeric) }
97
+ attr_reader :numeric
98
+ # Information about a phone number being collected using a reader
99
+ sig { returns(Phone) }
100
+ attr_reader :phone
101
+ # Indicate that this input is required, disabling the skip button.
102
+ sig { returns(T.nilable(T::Boolean)) }
103
+ attr_reader :required
104
+ # Information about a selection being collected using a reader
105
+ sig { returns(Selection) }
106
+ attr_reader :selection
107
+ # Information about a signature being collected using a reader
108
+ sig { returns(Signature) }
109
+ attr_reader :signature
110
+ # Indicate that this input was skipped by the user.
111
+ sig { returns(T::Boolean) }
112
+ attr_reader :skipped
113
+ # Information about text being collected using a reader
114
+ sig { returns(Text) }
115
+ attr_reader :text
116
+ # List of toggles being collected. Values are present if collection is complete.
117
+ sig { returns(T.nilable(T::Array[Toggle])) }
118
+ attr_reader :toggles
119
+ # Type of input being collected.
120
+ sig { returns(String) }
121
+ attr_reader :type
122
+ end
123
+ # List of inputs to be collected.
124
+ sig { returns(T::Array[Input]) }
125
+ attr_reader :inputs
126
+ # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
127
+ sig { returns(T.nilable(T::Hash[String, String])) }
128
+ attr_reader :metadata
129
+ end
12
130
  class ProcessPaymentIntent < Stripe::StripeObject
13
131
  class ProcessConfig < Stripe::StripeObject
14
132
  class Tipping < Stripe::StripeObject
@@ -19,6 +137,9 @@ module Stripe
19
137
  # Enable customer initiated cancellation when processing this payment.
20
138
  sig { returns(T::Boolean) }
21
139
  attr_reader :enable_customer_cancellation
140
+ # If the customer does not abandon authenticating the payment, they will be redirected to this specified URL after completion.
141
+ sig { returns(String) }
142
+ attr_reader :return_url
22
143
  # Override showing a tipping selection screen on this transaction.
23
144
  sig { returns(T::Boolean) }
24
145
  attr_reader :skip_tipping
@@ -116,6 +237,9 @@ module Stripe
116
237
  sig { returns(String) }
117
238
  attr_reader :type
118
239
  end
240
+ # Represents a reader action to collect customer inputs
241
+ sig { returns(CollectInputs) }
242
+ attr_reader :collect_inputs
119
243
  # Failure code, only set if status is `failed`.
120
244
  sig { returns(T.nilable(String)) }
121
245
  attr_reader :failure_code
@@ -147,7 +271,7 @@ module Stripe
147
271
  # The current software version of the reader.
148
272
  sig { returns(T.nilable(String)) }
149
273
  attr_reader :device_sw_version
150
- # Type of reader, one of `bbpos_wisepad3`, `stripe_m2`, `stripe_s700`, `bbpos_chipper2x`, `bbpos_wisepos_e`, `verifone_P400`, `simulated_wisepos_e`, or `mobile_phone_reader`.
274
+ # Device type of the reader.
151
275
  sig { returns(String) }
152
276
  attr_reader :device_type
153
277
  # Unique identifier for the object.
@@ -180,9 +304,7 @@ module Stripe
180
304
  # Always true for a deleted object
181
305
  sig { returns(T::Boolean) }
182
306
  attr_reader :deleted
183
- class DeleteParams < Stripe::RequestParams
184
-
185
- end
307
+ class DeleteParams < Stripe::RequestParams; end
186
308
  class UpdateParams < Stripe::RequestParams
187
309
  # Specifies which fields in the response should be expanded.
188
310
  sig { returns(T.nilable(T::Array[String])) }
@@ -271,6 +393,109 @@ module Stripe
271
393
  sig { params(expand: T.nilable(T::Array[String])).void }
272
394
  def initialize(expand: nil); end
273
395
  end
396
+ class CollectInputsParams < Stripe::RequestParams
397
+ class Input < Stripe::RequestParams
398
+ class CustomText < Stripe::RequestParams
399
+ # The description which will be displayed when collecting this input
400
+ sig { returns(T.nilable(String)) }
401
+ attr_accessor :description
402
+ # The skip button text
403
+ sig { returns(T.nilable(String)) }
404
+ attr_accessor :skip_button
405
+ # The submit button text
406
+ sig { returns(T.nilable(String)) }
407
+ attr_accessor :submit_button
408
+ # The title which will be displayed when collecting this input
409
+ sig { returns(String) }
410
+ attr_accessor :title
411
+ sig {
412
+ params(description: T.nilable(String), skip_button: T.nilable(String), submit_button: T.nilable(String), title: String).void
413
+ }
414
+ def initialize(description: nil, skip_button: nil, submit_button: nil, title: nil); end
415
+ end
416
+ class Selection < Stripe::RequestParams
417
+ class Choice < Stripe::RequestParams
418
+ # The unique identifier for this choice
419
+ sig { returns(String) }
420
+ attr_accessor :id
421
+ # The style of the button which will be shown for this choice
422
+ sig { returns(T.nilable(String)) }
423
+ attr_accessor :style
424
+ # The text which will be shown on the button for this choice
425
+ sig { returns(String) }
426
+ attr_accessor :text
427
+ sig { params(id: String, style: T.nilable(String), text: String).void }
428
+ def initialize(id: nil, style: nil, text: nil); end
429
+ end
430
+ # List of choices for the `selection` input
431
+ sig {
432
+ returns(T::Array[::Stripe::Terminal::Reader::CollectInputsParams::Input::Selection::Choice])
433
+ }
434
+ attr_accessor :choices
435
+ sig {
436
+ params(choices: T::Array[::Stripe::Terminal::Reader::CollectInputsParams::Input::Selection::Choice]).void
437
+ }
438
+ def initialize(choices: nil); end
439
+ end
440
+ class Toggle < Stripe::RequestParams
441
+ # The default value of the toggle
442
+ sig { returns(T.nilable(String)) }
443
+ attr_accessor :default_value
444
+ # The description which will be displayed for the toggle
445
+ sig { returns(T.nilable(String)) }
446
+ attr_accessor :description
447
+ # The title which will be displayed for the toggle
448
+ sig { returns(T.nilable(String)) }
449
+ attr_accessor :title
450
+ sig {
451
+ params(default_value: T.nilable(String), description: T.nilable(String), title: T.nilable(String)).void
452
+ }
453
+ def initialize(default_value: nil, description: nil, title: nil); end
454
+ end
455
+ # Customize the text which will be displayed while collecting this input
456
+ sig { returns(::Stripe::Terminal::Reader::CollectInputsParams::Input::CustomText) }
457
+ attr_accessor :custom_text
458
+ # Indicate that this input is required, disabling the skip button
459
+ sig { returns(T.nilable(T::Boolean)) }
460
+ attr_accessor :required
461
+ # Options for the `selection` input
462
+ sig {
463
+ returns(T.nilable(::Stripe::Terminal::Reader::CollectInputsParams::Input::Selection))
464
+ }
465
+ attr_accessor :selection
466
+ # List of toggles to be displayed and customization for the toggles
467
+ sig {
468
+ returns(T.nilable(T::Array[::Stripe::Terminal::Reader::CollectInputsParams::Input::Toggle]))
469
+ }
470
+ attr_accessor :toggles
471
+ # The type of input to collect
472
+ sig { returns(String) }
473
+ attr_accessor :type
474
+ sig {
475
+ params(custom_text: ::Stripe::Terminal::Reader::CollectInputsParams::Input::CustomText, required: T.nilable(T::Boolean), selection: T.nilable(::Stripe::Terminal::Reader::CollectInputsParams::Input::Selection), toggles: T.nilable(T::Array[::Stripe::Terminal::Reader::CollectInputsParams::Input::Toggle]), type: String).void
476
+ }
477
+ def initialize(
478
+ custom_text: nil,
479
+ required: nil,
480
+ selection: nil,
481
+ toggles: nil,
482
+ type: nil
483
+ ); end
484
+ end
485
+ # Specifies which fields in the response should be expanded.
486
+ sig { returns(T.nilable(T::Array[String])) }
487
+ attr_accessor :expand
488
+ # List of inputs to be collected using the Reader
489
+ sig { returns(T::Array[::Stripe::Terminal::Reader::CollectInputsParams::Input]) }
490
+ attr_accessor :inputs
491
+ # Set of [key-value pairs](https://stripe.com/docs/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`.
492
+ sig { returns(T.nilable(T::Hash[String, String])) }
493
+ attr_accessor :metadata
494
+ sig {
495
+ params(expand: T.nilable(T::Array[String]), inputs: T::Array[::Stripe::Terminal::Reader::CollectInputsParams::Input], metadata: T.nilable(T::Hash[String, String])).void
496
+ }
497
+ def initialize(expand: nil, inputs: nil, metadata: nil); end
498
+ end
274
499
  class ProcessPaymentIntentParams < Stripe::RequestParams
275
500
  class ProcessConfig < Stripe::RequestParams
276
501
  class Tipping < Stripe::RequestParams
@@ -286,6 +511,9 @@ module Stripe
286
511
  # Enables cancel button on transaction screens.
287
512
  sig { returns(T.nilable(T::Boolean)) }
288
513
  attr_accessor :enable_customer_cancellation
514
+ # The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.
515
+ sig { returns(T.nilable(String)) }
516
+ attr_accessor :return_url
289
517
  # Override showing a tipping selection screen on this transaction.
290
518
  sig { returns(T.nilable(T::Boolean)) }
291
519
  attr_accessor :skip_tipping
@@ -295,11 +523,12 @@ module Stripe
295
523
  }
296
524
  attr_accessor :tipping
297
525
  sig {
298
- params(allow_redisplay: T.nilable(String), enable_customer_cancellation: T.nilable(T::Boolean), skip_tipping: T.nilable(T::Boolean), tipping: T.nilable(::Stripe::Terminal::Reader::ProcessPaymentIntentParams::ProcessConfig::Tipping)).void
526
+ params(allow_redisplay: T.nilable(String), enable_customer_cancellation: T.nilable(T::Boolean), return_url: T.nilable(String), skip_tipping: T.nilable(T::Boolean), tipping: T.nilable(::Stripe::Terminal::Reader::ProcessPaymentIntentParams::ProcessConfig::Tipping)).void
299
527
  }
300
528
  def initialize(
301
529
  allow_redisplay: nil,
302
530
  enable_customer_cancellation: nil,
531
+ return_url: nil,
303
532
  skip_tipping: nil,
304
533
  tipping: nil
305
534
  ); end
@@ -493,6 +722,25 @@ module Stripe
493
722
  type: nil
494
723
  ); end
495
724
  end
725
+ class SucceedInputCollectionParams < Stripe::RequestParams
726
+ # Specifies which fields in the response should be expanded.
727
+ sig { returns(T.nilable(T::Array[String])) }
728
+ attr_accessor :expand
729
+ # This parameter defines the skip behavior for input collection.
730
+ sig { returns(T.nilable(String)) }
731
+ attr_accessor :skip_non_required_inputs
732
+ sig {
733
+ params(expand: T.nilable(T::Array[String]), skip_non_required_inputs: T.nilable(String)).void
734
+ }
735
+ def initialize(expand: nil, skip_non_required_inputs: nil); end
736
+ end
737
+ class TimeoutInputCollectionParams < Stripe::RequestParams
738
+ # Specifies which fields in the response should be expanded.
739
+ sig { returns(T.nilable(T::Array[String])) }
740
+ attr_accessor :expand
741
+ sig { params(expand: T.nilable(T::Array[String])).void }
742
+ def initialize(expand: nil); end
743
+ end
496
744
  # Cancels the current reader action.
497
745
  sig {
498
746
  params(params: T.any(::Stripe::Terminal::Reader::CancelActionParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader)
@@ -505,6 +753,18 @@ module Stripe
505
753
  }
506
754
  def self.cancel_action(reader, params = {}, opts = {}); end
507
755
 
756
+ # Initiates an input collection flow on a Reader.
757
+ sig {
758
+ params(params: T.any(::Stripe::Terminal::Reader::CollectInputsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader)
759
+ }
760
+ def collect_inputs(params = {}, opts = {}); end
761
+
762
+ # Initiates an input collection flow on a Reader.
763
+ sig {
764
+ params(reader: String, params: T.any(::Stripe::Terminal::Reader::CollectInputsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader)
765
+ }
766
+ def self.collect_inputs(reader, params = {}, opts = {}); end
767
+
508
768
  # Creates a new Reader object.
509
769
  sig {
510
770
  params(params: T.any(::Stripe::Terminal::Reader::CreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Reader)
@@ -48,9 +48,7 @@ module Stripe
48
48
  # Always true for a deleted object
49
49
  sig { returns(T::Boolean) }
50
50
  attr_reader :deleted
51
- class DeleteParams < Stripe::RequestParams
52
-
53
- end
51
+ class DeleteParams < Stripe::RequestParams; end
54
52
  class ListParams < Stripe::RequestParams
55
53
  # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
56
54
  sig { returns(T.nilable(String)) }
@@ -20,7 +20,7 @@ module Stripe
20
20
  #
21
21
  # You can't store or use tokens more than once. To store card or bank account
22
22
  # information for later use, create [Customer](https://stripe.com/docs/api#customers)
23
- # objects or [External accounts](https://stripe.com/api#external_accounts).
23
+ # objects or [External accounts](https://docs.stripe.com/api#external_accounts).
24
24
  # [Radar](https://stripe.com/docs/radar), our integrated solution for automatic fraud protection,
25
25
  # performs best with integrations that use client-side tokenization.
26
26
  class Token < APIResource
@@ -1274,7 +1274,7 @@ module Stripe
1274
1274
  ); end
1275
1275
  end
1276
1276
  # Creates a single-use token that represents a bank account's details.
1277
- # You can use this token with any v1 API method in place of a bank account dictionary. You can only use this token once. To do so, attach it to a [connected account](https://stripe.com/docs/api#accounts) where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection) is application, which includes Custom accounts.
1277
+ # You can use this token with any v1 API method in place of a bank account dictionary. You can only use this token once. To do so, attach it to a [connected account](https://docs.stripe.com/api#accounts) where [controller.requirement_collection](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection) is application, which includes Custom accounts.
1278
1278
  sig {
1279
1279
  params(params: T.any(::Stripe::Token::CreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Token)
1280
1280
  }
@@ -176,7 +176,7 @@ module Stripe
176
176
  }
177
177
  def initialize(description: nil, expand: nil, metadata: nil); end
178
178
  end
179
- # To send funds from your Stripe account to a connected account, you create a new transfer object. Your [Stripe balance](https://stripe.com/docs/api#balance) must be able to cover the transfer amount, or you'll receive an “Insufficient Funds” error.
179
+ # To send funds from your Stripe account to a connected account, you create a new transfer object. Your [Stripe balance](https://docs.stripe.com/api#balance) must be able to cover the transfer amount, or you'll receive an “Insufficient Funds” error.
180
180
  sig {
181
181
  params(params: T.any(::Stripe::Transfer::CreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Transfer)
182
182
  }
@@ -50,9 +50,7 @@ module Stripe
50
50
  # Always true for a deleted object
51
51
  sig { returns(T::Boolean) }
52
52
  attr_reader :deleted
53
- class DeleteParams < Stripe::RequestParams
54
-
55
- end
53
+ class DeleteParams < Stripe::RequestParams; end
56
54
  class UpdateParams < Stripe::RequestParams
57
55
  # An optional description of what the webhook is used for.
58
56
  sig { returns(T.nilable(T.nilable(String))) }
@@ -4,9 +4,7 @@
4
4
  # typed: true
5
5
  module Stripe
6
6
  class AccountExternalAccountService < StripeService
7
- class DeleteParams < Stripe::RequestParams
8
-
9
- end
7
+ class DeleteParams < Stripe::RequestParams; end
10
8
  class RetrieveParams < Stripe::RequestParams
11
9
  # Specifies which fields in the response should be expanded.
12
10
  sig { returns(T.nilable(T::Array[String])) }
@@ -294,7 +292,7 @@ module Stripe
294
292
  # a connected account and optionally sets it as the default for its currency. Other bank account
295
293
  # details are not editable by design.
296
294
  #
297
- # You can only update bank accounts when [account.controller.requirement_collection is application, which includes <a href="/connect/custom-accounts">Custom accounts](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection).
295
+ # You can only update bank accounts when [account.controller.requirement_collection is application, which includes <a href="/connect/custom-accounts">Custom accounts](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection).
298
296
  #
299
297
  # You can re-enable a disabled bank account by performing an update call without providing any
300
298
  # arguments or changes.
@@ -13,7 +13,7 @@ module Stripe
13
13
  end
14
14
  # Creates a login link for a connected account to access the Express Dashboard.
15
15
  #
16
- # You can only create login links for accounts that use the [Express Dashboard](https://stripe.com/connect/express-dashboard) and are connected to your platform.
16
+ # You can only create login links for accounts that use the [Express Dashboard](https://docs.stripe.com/connect/express-dashboard) and are connected to your platform.
17
17
  sig {
18
18
  params(account: String, params: T.any(::Stripe::AccountLoginLinkService::CreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::LoginLink)
19
19
  }
@@ -4,9 +4,7 @@
4
4
  # typed: true
5
5
  module Stripe
6
6
  class AccountPersonService < StripeService
7
- class DeleteParams < Stripe::RequestParams
8
-
9
- end
7
+ class DeleteParams < Stripe::RequestParams; end
10
8
  class RetrieveParams < Stripe::RequestParams
11
9
  # Specifies which fields in the response should be expanded.
12
10
  sig { returns(T.nilable(T::Array[String])) }
@@ -8,9 +8,7 @@ module Stripe
8
8
  attr_reader :external_accounts
9
9
  attr_reader :login_links
10
10
  attr_reader :persons
11
- class DeleteParams < Stripe::RequestParams
12
-
13
- end
11
+ class DeleteParams < Stripe::RequestParams; end
14
12
  class RetrieveParams < Stripe::RequestParams
15
13
  # Specifies which fields in the response should be expanded.
16
14
  sig { returns(T.nilable(T::Array[String])) }
@@ -457,6 +455,13 @@ module Stripe
457
455
  sig { params(requested: T.nilable(T::Boolean)).void }
458
456
  def initialize(requested: nil); end
459
457
  end
458
+ class PixPayments < Stripe::RequestParams
459
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
460
+ sig { returns(T.nilable(T::Boolean)) }
461
+ attr_accessor :requested
462
+ sig { params(requested: T.nilable(T::Boolean)).void }
463
+ def initialize(requested: nil); end
464
+ end
460
465
  class PromptpayPayments < Stripe::RequestParams
461
466
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
462
467
  sig { returns(T.nilable(T::Boolean)) }
@@ -774,6 +779,11 @@ module Stripe
774
779
  returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::PaynowPayments))
775
780
  }
776
781
  attr_accessor :paynow_payments
782
+ # The pix_payments capability.
783
+ sig {
784
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::PixPayments))
785
+ }
786
+ attr_accessor :pix_payments
777
787
  # The promptpay_payments capability.
778
788
  sig {
779
789
  returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::PromptpayPayments))
@@ -851,7 +861,7 @@ module Stripe
851
861
  }
852
862
  attr_accessor :zip_payments
853
863
  sig {
854
- params(acss_debit_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::AcssDebitPayments), affirm_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::AffirmPayments), afterpay_clearpay_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::AfterpayClearpayPayments), alma_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::AlmaPayments), amazon_pay_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::AmazonPayPayments), au_becs_debit_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::AuBecsDebitPayments), bacs_debit_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::BacsDebitPayments), bancontact_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::BancontactPayments), bank_transfer_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::BankTransferPayments), billie_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::BilliePayments), blik_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::BlikPayments), boleto_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::BoletoPayments), card_issuing: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::CardIssuing), card_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::CardPayments), cartes_bancaires_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::CartesBancairesPayments), cashapp_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::CashappPayments), eps_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::EpsPayments), fpx_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::FpxPayments), gb_bank_transfer_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::GbBankTransferPayments), giropay_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::GiropayPayments), grabpay_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::GrabpayPayments), ideal_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::IdealPayments), india_international_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::IndiaInternationalPayments), jcb_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::JcbPayments), jp_bank_transfer_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::JpBankTransferPayments), kakao_pay_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::KakaoPayPayments), klarna_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::KlarnaPayments), konbini_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::KonbiniPayments), kr_card_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::KrCardPayments), legacy_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::LegacyPayments), link_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::LinkPayments), mobilepay_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::MobilepayPayments), multibanco_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::MultibancoPayments), mx_bank_transfer_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::MxBankTransferPayments), naver_pay_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::NaverPayPayments), nz_bank_account_becs_debit_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::NzBankAccountBecsDebitPayments), oxxo_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::OxxoPayments), p24_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::P24Payments), pay_by_bank_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::PayByBankPayments), payco_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::PaycoPayments), paynow_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::PaynowPayments), promptpay_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::PromptpayPayments), revolut_pay_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::RevolutPayPayments), samsung_pay_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::SamsungPayPayments), satispay_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::SatispayPayments), sepa_bank_transfer_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::SepaBankTransferPayments), sepa_debit_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::SepaDebitPayments), sofort_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::SofortPayments), swish_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::SwishPayments), tax_reporting_us_1099_k: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::TaxReportingUs1099K), tax_reporting_us_1099_misc: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::TaxReportingUs1099Misc), transfers: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::Transfers), treasury: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::Treasury), twint_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::TwintPayments), us_bank_account_ach_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::UsBankAccountAchPayments), us_bank_transfer_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::UsBankTransferPayments), zip_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::ZipPayments)).void
864
+ params(acss_debit_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::AcssDebitPayments), affirm_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::AffirmPayments), afterpay_clearpay_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::AfterpayClearpayPayments), alma_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::AlmaPayments), amazon_pay_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::AmazonPayPayments), au_becs_debit_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::AuBecsDebitPayments), bacs_debit_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::BacsDebitPayments), bancontact_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::BancontactPayments), bank_transfer_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::BankTransferPayments), billie_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::BilliePayments), blik_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::BlikPayments), boleto_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::BoletoPayments), card_issuing: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::CardIssuing), card_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::CardPayments), cartes_bancaires_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::CartesBancairesPayments), cashapp_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::CashappPayments), eps_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::EpsPayments), fpx_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::FpxPayments), gb_bank_transfer_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::GbBankTransferPayments), giropay_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::GiropayPayments), grabpay_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::GrabpayPayments), ideal_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::IdealPayments), india_international_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::IndiaInternationalPayments), jcb_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::JcbPayments), jp_bank_transfer_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::JpBankTransferPayments), kakao_pay_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::KakaoPayPayments), klarna_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::KlarnaPayments), konbini_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::KonbiniPayments), kr_card_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::KrCardPayments), legacy_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::LegacyPayments), link_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::LinkPayments), mobilepay_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::MobilepayPayments), multibanco_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::MultibancoPayments), mx_bank_transfer_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::MxBankTransferPayments), naver_pay_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::NaverPayPayments), nz_bank_account_becs_debit_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::NzBankAccountBecsDebitPayments), oxxo_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::OxxoPayments), p24_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::P24Payments), pay_by_bank_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::PayByBankPayments), payco_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::PaycoPayments), paynow_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::PaynowPayments), pix_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::PixPayments), promptpay_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::PromptpayPayments), revolut_pay_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::RevolutPayPayments), samsung_pay_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::SamsungPayPayments), satispay_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::SatispayPayments), sepa_bank_transfer_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::SepaBankTransferPayments), sepa_debit_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::SepaDebitPayments), sofort_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::SofortPayments), swish_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::SwishPayments), tax_reporting_us_1099_k: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::TaxReportingUs1099K), tax_reporting_us_1099_misc: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::TaxReportingUs1099Misc), transfers: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::Transfers), treasury: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::Treasury), twint_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::TwintPayments), us_bank_account_ach_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::UsBankAccountAchPayments), us_bank_transfer_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::UsBankTransferPayments), zip_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::ZipPayments)).void
855
865
  }
856
866
  def initialize(
857
867
  acss_debit_payments: nil,
@@ -895,6 +905,7 @@ module Stripe
895
905
  pay_by_bank_payments: nil,
896
906
  payco_payments: nil,
897
907
  paynow_payments: nil,
908
+ pix_payments: nil,
898
909
  promptpay_payments: nil,
899
910
  revolut_pay_payments: nil,
900
911
  samsung_pay_payments: nil,
@@ -2502,6 +2513,13 @@ module Stripe
2502
2513
  sig { params(requested: T.nilable(T::Boolean)).void }
2503
2514
  def initialize(requested: nil); end
2504
2515
  end
2516
+ class PixPayments < Stripe::RequestParams
2517
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2518
+ sig { returns(T.nilable(T::Boolean)) }
2519
+ attr_accessor :requested
2520
+ sig { params(requested: T.nilable(T::Boolean)).void }
2521
+ def initialize(requested: nil); end
2522
+ end
2505
2523
  class PromptpayPayments < Stripe::RequestParams
2506
2524
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2507
2525
  sig { returns(T.nilable(T::Boolean)) }
@@ -2819,6 +2837,11 @@ module Stripe
2819
2837
  returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::PaynowPayments))
2820
2838
  }
2821
2839
  attr_accessor :paynow_payments
2840
+ # The pix_payments capability.
2841
+ sig {
2842
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::PixPayments))
2843
+ }
2844
+ attr_accessor :pix_payments
2822
2845
  # The promptpay_payments capability.
2823
2846
  sig {
2824
2847
  returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::PromptpayPayments))
@@ -2896,7 +2919,7 @@ module Stripe
2896
2919
  }
2897
2920
  attr_accessor :zip_payments
2898
2921
  sig {
2899
- params(acss_debit_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::AcssDebitPayments), affirm_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::AffirmPayments), afterpay_clearpay_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::AfterpayClearpayPayments), alma_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::AlmaPayments), amazon_pay_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::AmazonPayPayments), au_becs_debit_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::AuBecsDebitPayments), bacs_debit_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::BacsDebitPayments), bancontact_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::BancontactPayments), bank_transfer_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::BankTransferPayments), billie_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::BilliePayments), blik_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::BlikPayments), boleto_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::BoletoPayments), card_issuing: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::CardIssuing), card_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::CardPayments), cartes_bancaires_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::CartesBancairesPayments), cashapp_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::CashappPayments), eps_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::EpsPayments), fpx_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::FpxPayments), gb_bank_transfer_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::GbBankTransferPayments), giropay_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::GiropayPayments), grabpay_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::GrabpayPayments), ideal_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::IdealPayments), india_international_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::IndiaInternationalPayments), jcb_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::JcbPayments), jp_bank_transfer_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::JpBankTransferPayments), kakao_pay_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::KakaoPayPayments), klarna_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::KlarnaPayments), konbini_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::KonbiniPayments), kr_card_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::KrCardPayments), legacy_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::LegacyPayments), link_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::LinkPayments), mobilepay_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::MobilepayPayments), multibanco_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::MultibancoPayments), mx_bank_transfer_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::MxBankTransferPayments), naver_pay_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::NaverPayPayments), nz_bank_account_becs_debit_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::NzBankAccountBecsDebitPayments), oxxo_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::OxxoPayments), p24_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::P24Payments), pay_by_bank_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::PayByBankPayments), payco_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::PaycoPayments), paynow_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::PaynowPayments), promptpay_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::PromptpayPayments), revolut_pay_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::RevolutPayPayments), samsung_pay_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::SamsungPayPayments), satispay_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::SatispayPayments), sepa_bank_transfer_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::SepaBankTransferPayments), sepa_debit_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::SepaDebitPayments), sofort_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::SofortPayments), swish_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::SwishPayments), tax_reporting_us_1099_k: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::TaxReportingUs1099K), tax_reporting_us_1099_misc: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::TaxReportingUs1099Misc), transfers: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::Transfers), treasury: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::Treasury), twint_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::TwintPayments), us_bank_account_ach_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::UsBankAccountAchPayments), us_bank_transfer_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::UsBankTransferPayments), zip_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::ZipPayments)).void
2922
+ params(acss_debit_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::AcssDebitPayments), affirm_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::AffirmPayments), afterpay_clearpay_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::AfterpayClearpayPayments), alma_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::AlmaPayments), amazon_pay_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::AmazonPayPayments), au_becs_debit_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::AuBecsDebitPayments), bacs_debit_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::BacsDebitPayments), bancontact_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::BancontactPayments), bank_transfer_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::BankTransferPayments), billie_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::BilliePayments), blik_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::BlikPayments), boleto_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::BoletoPayments), card_issuing: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::CardIssuing), card_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::CardPayments), cartes_bancaires_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::CartesBancairesPayments), cashapp_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::CashappPayments), eps_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::EpsPayments), fpx_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::FpxPayments), gb_bank_transfer_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::GbBankTransferPayments), giropay_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::GiropayPayments), grabpay_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::GrabpayPayments), ideal_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::IdealPayments), india_international_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::IndiaInternationalPayments), jcb_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::JcbPayments), jp_bank_transfer_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::JpBankTransferPayments), kakao_pay_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::KakaoPayPayments), klarna_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::KlarnaPayments), konbini_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::KonbiniPayments), kr_card_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::KrCardPayments), legacy_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::LegacyPayments), link_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::LinkPayments), mobilepay_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::MobilepayPayments), multibanco_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::MultibancoPayments), mx_bank_transfer_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::MxBankTransferPayments), naver_pay_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::NaverPayPayments), nz_bank_account_becs_debit_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::NzBankAccountBecsDebitPayments), oxxo_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::OxxoPayments), p24_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::P24Payments), pay_by_bank_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::PayByBankPayments), payco_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::PaycoPayments), paynow_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::PaynowPayments), pix_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::PixPayments), promptpay_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::PromptpayPayments), revolut_pay_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::RevolutPayPayments), samsung_pay_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::SamsungPayPayments), satispay_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::SatispayPayments), sepa_bank_transfer_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::SepaBankTransferPayments), sepa_debit_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::SepaDebitPayments), sofort_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::SofortPayments), swish_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::SwishPayments), tax_reporting_us_1099_k: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::TaxReportingUs1099K), tax_reporting_us_1099_misc: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::TaxReportingUs1099Misc), transfers: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::Transfers), treasury: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::Treasury), twint_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::TwintPayments), us_bank_account_ach_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::UsBankAccountAchPayments), us_bank_transfer_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::UsBankTransferPayments), zip_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::ZipPayments)).void
2900
2923
  }
2901
2924
  def initialize(
2902
2925
  acss_debit_payments: nil,
@@ -2940,6 +2963,7 @@ module Stripe
2940
2963
  pay_by_bank_payments: nil,
2941
2964
  payco_payments: nil,
2942
2965
  paynow_payments: nil,
2966
+ pix_payments: nil,
2943
2967
  promptpay_payments: nil,
2944
2968
  revolut_pay_payments: nil,
2945
2969
  samsung_pay_payments: nil,
@@ -4119,10 +4143,10 @@ module Stripe
4119
4143
  sig { params(expand: T.nilable(T::Array[String]), reason: String).void }
4120
4144
  def initialize(expand: nil, reason: nil); end
4121
4145
  end
4122
- # With [Connect](https://stripe.com/docs/connect), you can create Stripe accounts for your users.
4146
+ # With [Connect](https://docs.stripe.com/docs/connect), you can create Stripe accounts for your users.
4123
4147
  # To do this, you'll first need to [register your platform](https://dashboard.stripe.com/account/applications/settings).
4124
4148
  #
4125
- # If you've already collected information for your connected accounts, you [can prefill that information](https://stripe.com/docs/connect/best-practices#onboarding) when
4149
+ # If you've already collected information for your connected accounts, you [can prefill that information](https://docs.stripe.com/docs/connect/best-practices#onboarding) when
4126
4150
  # creating the account. Connect Onboarding won't ask for the prefilled information during account onboarding.
4127
4151
  # You can prefill any information on the account.
4128
4152
  sig {
@@ -4130,11 +4154,11 @@ module Stripe
4130
4154
  }
4131
4155
  def create(params = {}, opts = {}); end
4132
4156
 
4133
- # With [Connect](https://stripe.com/connect), you can delete accounts you manage.
4157
+ # With [Connect](https://docs.stripe.com/connect), you can delete accounts you manage.
4134
4158
  #
4135
4159
  # Test-mode accounts can be deleted at any time.
4136
4160
  #
4137
- # Live-mode accounts where Stripe is responsible for negative account balances cannot be deleted, which includes Standard accounts. Live-mode accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be deleted when all [balances](https://stripe.com/api/balance/balance_object) are zero.
4161
+ # Live-mode accounts where Stripe is responsible for negative account balances cannot be deleted, which includes Standard accounts. Live-mode accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be deleted when all [balances](https://docs.stripe.com/api/balance/balance_object) are zero.
4138
4162
  #
4139
4163
  # If you want to delete your own account, use the [account information tab in your account settings](https://dashboard.stripe.com/settings/account) instead.
4140
4164
  sig {
@@ -4142,13 +4166,13 @@ module Stripe
4142
4166
  }
4143
4167
  def delete(account, params = {}, opts = {}); end
4144
4168
 
4145
- # Returns a list of accounts connected to your platform via [Connect](https://stripe.com/docs/connect). If you're not a platform, the list is empty.
4169
+ # Returns a list of accounts connected to your platform via [Connect](https://docs.stripe.com/docs/connect). If you're not a platform, the list is empty.
4146
4170
  sig {
4147
4171
  params(params: T.any(::Stripe::AccountService::ListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject)
4148
4172
  }
4149
4173
  def list(params = {}, opts = {}); end
4150
4174
 
4151
- # With [Connect](https://stripe.com/connect), you can reject accounts that you have flagged as suspicious.
4175
+ # With [Connect](https://docs.stripe.com/connect), you can reject accounts that you have flagged as suspicious.
4152
4176
  #
4153
4177
  # Only accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be rejected. Test-mode accounts can be rejected at any time. Live-mode accounts can only be rejected after all balances are zero.
4154
4178
  sig {
@@ -4168,19 +4192,19 @@ module Stripe
4168
4192
  }
4169
4193
  def retrieve_current(params = {}, opts = {}); end
4170
4194
 
4171
- # Updates a [connected account](https://stripe.com/connect/accounts) by setting the values of the parameters passed. Any parameters not provided are
4195
+ # Updates a [connected account](https://docs.stripe.com/connect/accounts) by setting the values of the parameters passed. Any parameters not provided are
4172
4196
  # left unchanged.
4173
4197
  #
4174
- # For accounts where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection)
4198
+ # For accounts where [controller.requirement_collection](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection)
4175
4199
  # is application, which includes Custom accounts, you can update any information on the account.
4176
4200
  #
4177
- # For accounts where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection)
4201
+ # For accounts where [controller.requirement_collection](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection)
4178
4202
  # is stripe, which includes Standard and Express accounts, you can update all information until you create
4179
- # an [Account Link or <a href="/api/account_sessions">Account Session](https://stripe.com/api/account_links) to start Connect onboarding,
4203
+ # an [Account Link or <a href="/api/account_sessions">Account Session](https://docs.stripe.com/api/account_links) to start Connect onboarding,
4180
4204
  # after which some properties can no longer be updated.
4181
4205
  #
4182
4206
  # To update your own account, use the [Dashboard](https://dashboard.stripe.com/settings/account). Refer to our
4183
- # [Connect](https://stripe.com/docs/connect/updating-accounts) documentation to learn more about updating accounts.
4207
+ # [Connect](https://docs.stripe.com/docs/connect/updating-accounts) documentation to learn more about updating accounts.
4184
4208
  sig {
4185
4209
  params(account: String, params: T.any(::Stripe::AccountService::UpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Account)
4186
4210
  }