stripe 15.0.0 → 15.3.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 (320) hide show
  1. checksums.yaml +4 -4
  2. data/API_VERSION +1 -0
  3. data/CHANGELOG.md +129 -44
  4. data/CONTRIBUTING.md +25 -0
  5. data/Gemfile +1 -1
  6. data/OPENAPI_VERSION +1 -1
  7. data/README.md +28 -55
  8. data/VERSION +1 -1
  9. data/lib/stripe/api_operations/nested_resource.rb +35 -35
  10. data/lib/stripe/api_requestor.rb +1 -1
  11. data/lib/stripe/api_version.rb +2 -1
  12. data/lib/stripe/connection_manager.rb +1 -3
  13. data/lib/stripe/event_types.rb +1 -0
  14. data/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb +1 -1
  15. data/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb +1 -1
  16. data/lib/stripe/events/v2_core_event_destination_ping_event.rb +21 -0
  17. data/lib/stripe/oauth.rb +1 -1
  18. data/lib/stripe/resources/account.rb +198 -28
  19. data/lib/stripe/resources/account_session.rb +176 -72
  20. data/lib/stripe/resources/apple_pay_domain.rb +1 -2
  21. data/lib/stripe/resources/balance.rb +42 -0
  22. data/lib/stripe/resources/balance_transaction.rb +2 -0
  23. data/lib/stripe/resources/bank_account.rb +2 -2
  24. data/lib/stripe/resources/billing_portal/session.rb +3 -3
  25. data/lib/stripe/resources/capability.rb +1 -1
  26. data/lib/stripe/resources/charge.rb +43 -20
  27. data/lib/stripe/resources/checkout/session.rb +120 -19
  28. data/lib/stripe/resources/confirmation_token.rb +119 -100
  29. data/lib/stripe/resources/country_spec.rb +1 -1
  30. data/lib/stripe/resources/coupon.rb +2 -3
  31. data/lib/stripe/resources/credit_note.rb +21 -18
  32. data/lib/stripe/resources/customer.rb +4 -6
  33. data/lib/stripe/resources/customer_session.rb +5 -5
  34. data/lib/stripe/resources/dispute.rb +2 -2
  35. data/lib/stripe/resources/event.rb +3 -1
  36. data/lib/stripe/resources/file.rb +1 -1
  37. data/lib/stripe/resources/funding_instructions.rb +1 -1
  38. data/lib/stripe/resources/identity/verification_report.rb +6 -0
  39. data/lib/stripe/resources/identity/verification_session.rb +51 -11
  40. data/lib/stripe/resources/invoice.rb +146 -32
  41. data/lib/stripe/resources/invoice_item.rb +3 -7
  42. data/lib/stripe/resources/invoice_line_item.rb +1 -1
  43. data/lib/stripe/resources/invoice_payment.rb +9 -2
  44. data/lib/stripe/resources/issuing/authorization.rb +8 -8
  45. data/lib/stripe/resources/issuing/card.rb +1 -1
  46. data/lib/stripe/resources/issuing/dispute.rb +3 -3
  47. data/lib/stripe/resources/login_link.rb +2 -1
  48. data/lib/stripe/resources/mandate.rb +3 -0
  49. data/lib/stripe/resources/payment_intent.rb +602 -325
  50. data/lib/stripe/resources/payment_method.rb +76 -117
  51. data/lib/stripe/resources/payment_method_configuration.rb +356 -2
  52. data/lib/stripe/resources/payment_method_domain.rb +15 -2
  53. data/lib/stripe/resources/payout.rb +4 -4
  54. data/lib/stripe/resources/person.rb +27 -3
  55. data/lib/stripe/resources/plan.rb +2 -3
  56. data/lib/stripe/resources/price.rb +1 -1
  57. data/lib/stripe/resources/product.rb +1 -2
  58. data/lib/stripe/resources/quote.rb +28 -3
  59. data/lib/stripe/resources/radar/value_list.rb +1 -2
  60. data/lib/stripe/resources/radar/value_list_item.rb +1 -2
  61. data/lib/stripe/resources/refund.rb +8 -1
  62. data/lib/stripe/resources/reversal.rb +1 -1
  63. data/lib/stripe/resources/review.rb +1 -1
  64. data/lib/stripe/resources/setup_attempt.rb +1 -1
  65. data/lib/stripe/resources/setup_intent.rb +414 -293
  66. data/lib/stripe/resources/source.rb +1 -1
  67. data/lib/stripe/resources/subscription.rb +149 -27
  68. data/lib/stripe/resources/subscription_item.rb +33 -0
  69. data/lib/stripe/resources/subscription_schedule.rb +141 -4
  70. data/lib/stripe/resources/tax/calculation.rb +6 -2
  71. data/lib/stripe/resources/tax/calculation_line_item.rb +2 -0
  72. data/lib/stripe/resources/tax/registration.rb +261 -1
  73. data/lib/stripe/resources/tax/transaction.rb +1 -1
  74. data/lib/stripe/resources/tax_id.rb +3 -4
  75. data/lib/stripe/resources/tax_rate.rb +2 -2
  76. data/lib/stripe/resources/terminal/configuration.rb +2 -2
  77. data/lib/stripe/resources/terminal/location.rb +2 -3
  78. data/lib/stripe/resources/terminal/reader.rb +426 -6
  79. data/lib/stripe/resources/test_helpers/test_clock.rb +1 -2
  80. data/lib/stripe/resources/token.rb +63 -2
  81. data/lib/stripe/resources/transfer.rb +1 -1
  82. data/lib/stripe/resources/treasury/financial_account.rb +5 -1
  83. data/lib/stripe/resources/v2/billing/meter_event.rb +2 -2
  84. data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +2 -2
  85. data/lib/stripe/resources/v2/billing/meter_event_session.rb +2 -2
  86. data/lib/stripe/resources/v2/event.rb +2 -2
  87. data/lib/stripe/resources/v2/event_destination.rb +2 -2
  88. data/lib/stripe/resources/webhook_endpoint.rb +1 -2
  89. data/lib/stripe/resources.rb +1 -0
  90. data/lib/stripe/services/account_external_account_service.rb +3 -4
  91. data/lib/stripe/services/account_login_link_service.rb +1 -1
  92. data/lib/stripe/services/account_person_service.rb +85 -2
  93. data/lib/stripe/services/account_service.rb +169 -20
  94. data/lib/stripe/services/account_session_service.rb +115 -47
  95. data/lib/stripe/services/apple_pay_domain_service.rb +1 -2
  96. data/lib/stripe/services/application_fee_service.rb +1 -1
  97. data/lib/stripe/services/apps_service.rb +1 -1
  98. data/lib/stripe/services/balance_service.rb +1 -1
  99. data/lib/stripe/services/billing/meter_service.rb +1 -1
  100. data/lib/stripe/services/billing_portal/session_service.rb +1 -1
  101. data/lib/stripe/services/billing_portal_service.rb +1 -1
  102. data/lib/stripe/services/billing_service.rb +1 -1
  103. data/lib/stripe/services/charge_service.rb +4 -4
  104. data/lib/stripe/services/checkout/session_service.rb +94 -15
  105. data/lib/stripe/services/checkout_service.rb +1 -1
  106. data/lib/stripe/services/climate_service.rb +1 -1
  107. data/lib/stripe/services/coupon_service.rb +1 -2
  108. data/lib/stripe/services/credit_note_preview_lines_service.rb +3 -3
  109. data/lib/stripe/services/credit_note_service.rb +14 -15
  110. data/lib/stripe/services/customer_balance_transaction_service.rb +3 -3
  111. data/lib/stripe/services/customer_cash_balance_transaction_service.rb +2 -2
  112. data/lib/stripe/services/customer_payment_method_service.rb +1 -1
  113. data/lib/stripe/services/customer_payment_source_service.rb +1 -1
  114. data/lib/stripe/services/customer_service.rb +5 -7
  115. data/lib/stripe/services/customer_session_service.rb +1 -1
  116. data/lib/stripe/services/customer_tax_id_service.rb +2 -3
  117. data/lib/stripe/services/dispute_service.rb +1 -1
  118. data/lib/stripe/services/entitlements_service.rb +1 -1
  119. data/lib/stripe/services/file_service.rb +1 -1
  120. data/lib/stripe/services/financial_connections/account_service.rb +1 -1
  121. data/lib/stripe/services/financial_connections_service.rb +1 -1
  122. data/lib/stripe/services/forwarding_service.rb +1 -1
  123. data/lib/stripe/services/identity/verification_session_service.rb +21 -5
  124. data/lib/stripe/services/identity_service.rb +1 -1
  125. data/lib/stripe/services/invoice_item_service.rb +1 -2
  126. data/lib/stripe/services/invoice_service.rb +122 -28
  127. data/lib/stripe/services/issuing/authorization_service.rb +4 -4
  128. data/lib/stripe/services/issuing/card_service.rb +1 -1
  129. data/lib/stripe/services/issuing/dispute_service.rb +2 -2
  130. data/lib/stripe/services/issuing_service.rb +1 -1
  131. data/lib/stripe/services/payment_intent_service.rb +563 -313
  132. data/lib/stripe/services/payment_link_service.rb +1 -1
  133. data/lib/stripe/services/payment_method_configuration_service.rb +254 -2
  134. data/lib/stripe/services/payment_method_domain_service.rb +1 -1
  135. data/lib/stripe/services/payment_method_service.rb +59 -105
  136. data/lib/stripe/services/payout_service.rb +2 -2
  137. data/lib/stripe/services/plan_service.rb +2 -3
  138. data/lib/stripe/services/price_service.rb +2 -2
  139. data/lib/stripe/services/product_feature_service.rb +1 -2
  140. data/lib/stripe/services/product_service.rb +3 -4
  141. data/lib/stripe/services/promotion_code_service.rb +1 -1
  142. data/lib/stripe/services/quote_service.rb +21 -4
  143. data/lib/stripe/services/radar/early_fraud_warning_service.rb +1 -1
  144. data/lib/stripe/services/radar/value_list_item_service.rb +1 -2
  145. data/lib/stripe/services/radar/value_list_service.rb +1 -2
  146. data/lib/stripe/services/radar_service.rb +1 -1
  147. data/lib/stripe/services/reporting_service.rb +1 -1
  148. data/lib/stripe/services/setup_intent_service.rb +403 -291
  149. data/lib/stripe/services/sigma_service.rb +1 -1
  150. data/lib/stripe/services/source_service.rb +2 -2
  151. data/lib/stripe/services/subscription_item_service.rb +26 -0
  152. data/lib/stripe/services/subscription_schedule_service.rb +106 -3
  153. data/lib/stripe/services/subscription_service.rb +121 -26
  154. data/lib/stripe/services/tax/calculation_service.rb +6 -2
  155. data/lib/stripe/services/tax/registration_service.rb +170 -1
  156. data/lib/stripe/services/tax/transaction_service.rb +1 -1
  157. data/lib/stripe/services/tax_id_service.rb +2 -3
  158. data/lib/stripe/services/tax_service.rb +1 -1
  159. data/lib/stripe/services/terminal/configuration_service.rb +1 -2
  160. data/lib/stripe/services/terminal/location_service.rb +2 -3
  161. data/lib/stripe/services/terminal/reader_service.rb +196 -2
  162. data/lib/stripe/services/terminal_service.rb +1 -1
  163. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +90 -91
  164. data/lib/stripe/services/test_helpers/issuing_service.rb +1 -1
  165. data/lib/stripe/services/test_helpers/terminal/reader_service.rb +43 -0
  166. data/lib/stripe/services/test_helpers/terminal_service.rb +1 -1
  167. data/lib/stripe/services/test_helpers/test_clock_service.rb +1 -2
  168. data/lib/stripe/services/test_helpers/treasury_service.rb +1 -1
  169. data/lib/stripe/services/test_helpers_service.rb +1 -1
  170. data/lib/stripe/services/token_service.rb +62 -1
  171. data/lib/stripe/services/transfer_service.rb +2 -2
  172. data/lib/stripe/services/treasury/financial_account_service.rb +6 -2
  173. data/lib/stripe/services/treasury_service.rb +1 -1
  174. data/lib/stripe/services/v1_services.rb +1 -1
  175. data/lib/stripe/services/v2/billing/meter_event_session_service.rb +1 -2
  176. data/lib/stripe/services/v2/billing_service.rb +3 -3
  177. data/lib/stripe/services/v2/core/event_destination_service.rb +17 -23
  178. data/lib/stripe/services/v2/core/event_service.rb +1 -2
  179. data/lib/stripe/services/v2/core_service.rb +1 -1
  180. data/lib/stripe/services/v2_services.rb +1 -1
  181. data/lib/stripe/services/webhook_endpoint_service.rb +1 -2
  182. data/lib/stripe/version.rb +1 -1
  183. data/lib/stripe/webhook.rb +1 -1
  184. data/rbi/stripe/resources/account.rbi +190 -35
  185. data/rbi/stripe/resources/account_session.rbi +196 -77
  186. data/rbi/stripe/resources/apple_pay_domain.rbi +1 -3
  187. data/rbi/stripe/resources/balance.rbi +55 -0
  188. data/rbi/stripe/resources/balance_transaction.rbi +3 -0
  189. data/rbi/stripe/resources/bank_account.rbi +2 -2
  190. data/rbi/stripe/resources/billing/alert.rbi +2 -2
  191. data/rbi/stripe/resources/billing_portal/session.rbi +3 -3
  192. data/rbi/stripe/resources/capability.rbi +1 -1
  193. data/rbi/stripe/resources/charge.rbi +52 -20
  194. data/rbi/stripe/resources/checkout/session.rbi +133 -24
  195. data/rbi/stripe/resources/confirmation_token.rbi +140 -115
  196. data/rbi/stripe/resources/country_spec.rbi +1 -1
  197. data/rbi/stripe/resources/coupon.rbi +2 -4
  198. data/rbi/stripe/resources/credit_note.rbi +23 -18
  199. data/rbi/stripe/resources/customer.rbi +4 -8
  200. data/rbi/stripe/resources/customer_session.rbi +5 -5
  201. data/rbi/stripe/resources/dispute.rbi +2 -2
  202. data/rbi/stripe/resources/event.rbi +4 -1
  203. data/rbi/stripe/resources/file.rbi +1 -1
  204. data/rbi/stripe/resources/identity/verification_report.rbi +9 -0
  205. data/rbi/stripe/resources/identity/verification_session.rbi +59 -12
  206. data/rbi/stripe/resources/invoice.rbi +149 -40
  207. data/rbi/stripe/resources/invoice_item.rbi +3 -8
  208. data/rbi/stripe/resources/invoice_line_item.rbi +2 -2
  209. data/rbi/stripe/resources/invoice_payment.rbi +9 -2
  210. data/rbi/stripe/resources/issuing/authorization.rbi +8 -8
  211. data/rbi/stripe/resources/issuing/card.rbi +1 -1
  212. data/rbi/stripe/resources/issuing/dispute.rbi +3 -3
  213. data/rbi/stripe/resources/login_link.rbi +2 -1
  214. data/rbi/stripe/resources/mandate.rbi +4 -0
  215. data/rbi/stripe/resources/payment_intent.rbi +637 -381
  216. data/rbi/stripe/resources/payment_method.rbi +81 -133
  217. data/rbi/stripe/resources/payment_method_configuration.rbi +400 -4
  218. data/rbi/stripe/resources/payment_method_domain.rbi +18 -2
  219. data/rbi/stripe/resources/payout.rbi +4 -4
  220. data/rbi/stripe/resources/person.rbi +33 -3
  221. data/rbi/stripe/resources/plan.rbi +2 -4
  222. data/rbi/stripe/resources/price.rbi +1 -1
  223. data/rbi/stripe/resources/product.rbi +1 -3
  224. data/rbi/stripe/resources/quote.rbi +25 -3
  225. data/rbi/stripe/resources/radar/value_list.rbi +1 -3
  226. data/rbi/stripe/resources/radar/value_list_item.rbi +1 -3
  227. data/rbi/stripe/resources/refund.rbi +8 -1
  228. data/rbi/stripe/resources/reversal.rbi +1 -1
  229. data/rbi/stripe/resources/review.rbi +1 -1
  230. data/rbi/stripe/resources/setup_attempt.rbi +1 -1
  231. data/rbi/stripe/resources/setup_intent.rbi +464 -346
  232. data/rbi/stripe/resources/source.rbi +1 -1
  233. data/rbi/stripe/resources/subscription.rbi +150 -34
  234. data/rbi/stripe/resources/subscription_item.rbi +36 -2
  235. data/rbi/stripe/resources/subscription_schedule.rbi +161 -11
  236. data/rbi/stripe/resources/tax/calculation.rbi +7 -3
  237. data/rbi/stripe/resources/tax/calculation_line_item.rbi +4 -1
  238. data/rbi/stripe/resources/tax/registration.rbi +249 -2
  239. data/rbi/stripe/resources/tax/transaction.rbi +1 -1
  240. data/rbi/stripe/resources/tax_id.rbi +3 -5
  241. data/rbi/stripe/resources/tax_rate.rbi +2 -2
  242. data/rbi/stripe/resources/terminal/configuration.rbi +2 -3
  243. data/rbi/stripe/resources/terminal/location.rbi +4 -6
  244. data/rbi/stripe/resources/terminal/reader.rbi +415 -8
  245. data/rbi/stripe/resources/test_helpers/test_clock.rbi +1 -3
  246. data/rbi/stripe/resources/token.rbi +70 -4
  247. data/rbi/stripe/resources/transfer.rbi +1 -1
  248. data/rbi/stripe/resources/treasury/financial_account.rbi +6 -2
  249. data/rbi/stripe/resources/v2/billing/meter_event.rbi +3 -3
  250. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +3 -3
  251. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +3 -3
  252. data/rbi/stripe/resources/v2/event.rbi +3 -3
  253. data/rbi/stripe/resources/v2/event_destination.rbi +3 -3
  254. data/rbi/stripe/resources/webhook_endpoint.rbi +1 -3
  255. data/rbi/stripe/services/account_external_account_service.rbi +3 -5
  256. data/rbi/stripe/services/account_login_link_service.rbi +1 -1
  257. data/rbi/stripe/services/account_person_service.rbi +93 -5
  258. data/rbi/stripe/services/account_service.rbi +166 -28
  259. data/rbi/stripe/services/account_session_service.rbi +126 -52
  260. data/rbi/stripe/services/apple_pay_domain_service.rbi +1 -3
  261. data/rbi/stripe/services/balance_service.rbi +1 -1
  262. data/rbi/stripe/services/billing/alert_service.rbi +2 -2
  263. data/rbi/stripe/services/billing_portal/session_service.rbi +1 -1
  264. data/rbi/stripe/services/charge_service.rbi +4 -4
  265. data/rbi/stripe/services/checkout/session_service.rbi +104 -19
  266. data/rbi/stripe/services/coupon_service.rbi +1 -3
  267. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +3 -3
  268. data/rbi/stripe/services/credit_note_service.rbi +13 -14
  269. data/rbi/stripe/services/customer_balance_transaction_service.rbi +3 -3
  270. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +2 -2
  271. data/rbi/stripe/services/customer_payment_method_service.rbi +1 -1
  272. data/rbi/stripe/services/customer_payment_source_service.rbi +1 -1
  273. data/rbi/stripe/services/customer_service.rbi +4 -8
  274. data/rbi/stripe/services/customer_session_service.rbi +1 -1
  275. data/rbi/stripe/services/customer_tax_id_service.rbi +2 -4
  276. data/rbi/stripe/services/dispute_service.rbi +1 -1
  277. data/rbi/stripe/services/file_service.rbi +1 -1
  278. data/rbi/stripe/services/identity/verification_session_service.rbi +22 -6
  279. data/rbi/stripe/services/invoice_item_service.rbi +1 -3
  280. data/rbi/stripe/services/invoice_service.rbi +126 -35
  281. data/rbi/stripe/services/issuing/authorization_service.rbi +4 -4
  282. data/rbi/stripe/services/issuing/card_service.rbi +1 -1
  283. data/rbi/stripe/services/issuing/dispute_service.rbi +2 -2
  284. data/rbi/stripe/services/payment_intent_service.rbi +599 -369
  285. data/rbi/stripe/services/payment_method_configuration_service.rbi +280 -4
  286. data/rbi/stripe/services/payment_method_domain_service.rbi +1 -1
  287. data/rbi/stripe/services/payment_method_service.rbi +62 -121
  288. data/rbi/stripe/services/payout_service.rbi +2 -2
  289. data/rbi/stripe/services/plan_service.rbi +2 -4
  290. data/rbi/stripe/services/price_service.rbi +2 -2
  291. data/rbi/stripe/services/product_feature_service.rbi +1 -3
  292. data/rbi/stripe/services/product_service.rbi +2 -4
  293. data/rbi/stripe/services/promotion_code_service.rbi +1 -1
  294. data/rbi/stripe/services/quote_service.rbi +16 -3
  295. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +1 -1
  296. data/rbi/stripe/services/radar/value_list_item_service.rbi +1 -3
  297. data/rbi/stripe/services/radar/value_list_service.rbi +1 -3
  298. data/rbi/stripe/services/setup_intent_service.rbi +457 -344
  299. data/rbi/stripe/services/source_service.rbi +1 -1
  300. data/rbi/stripe/services/subscription_item_service.rbi +28 -2
  301. data/rbi/stripe/services/subscription_schedule_service.rbi +119 -10
  302. data/rbi/stripe/services/subscription_service.rbi +121 -33
  303. data/rbi/stripe/services/tax/calculation_service.rbi +6 -2
  304. data/rbi/stripe/services/tax/registration_service.rbi +171 -2
  305. data/rbi/stripe/services/tax_id_service.rbi +2 -4
  306. data/rbi/stripe/services/terminal/configuration_service.rbi +1 -3
  307. data/rbi/stripe/services/terminal/location_service.rbi +4 -6
  308. data/rbi/stripe/services/terminal/reader_service.rbi +200 -4
  309. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +106 -106
  310. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +31 -0
  311. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +1 -3
  312. data/rbi/stripe/services/token_service.rbi +71 -3
  313. data/rbi/stripe/services/transfer_service.rbi +1 -1
  314. data/rbi/stripe/services/treasury/financial_account_service.rbi +6 -2
  315. data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +1 -3
  316. data/rbi/stripe/services/v2/billing_service.rbi +1 -1
  317. data/rbi/stripe/services/v2/core/event_destination_service.rbi +14 -22
  318. data/rbi/stripe/services/v2/core/event_service.rbi +1 -3
  319. data/rbi/stripe/services/webhook_endpoint_service.rbi +1 -3
  320. metadata +5 -2
@@ -6,7 +6,7 @@ module Stripe
6
6
  attr_reader :line_items
7
7
 
8
8
  def initialize(requestor)
9
- super(requestor)
9
+ super
10
10
  @line_items = Stripe::PaymentLinkLineItemService.new(@requestor)
11
11
  end
12
12
 
@@ -456,6 +456,23 @@ module Stripe
456
456
  end
457
457
  end
458
458
 
459
+ class KakaoPay < Stripe::RequestParams
460
+ class DisplayPreference < Stripe::RequestParams
461
+ # The account's preference for whether or not to display this payment method.
462
+ attr_accessor :preference
463
+
464
+ def initialize(preference: nil)
465
+ @preference = preference
466
+ end
467
+ end
468
+ # Whether or not the payment method should be displayed.
469
+ attr_accessor :display_preference
470
+
471
+ def initialize(display_preference: nil)
472
+ @display_preference = display_preference
473
+ end
474
+ end
475
+
459
476
  class Klarna < Stripe::RequestParams
460
477
  class DisplayPreference < Stripe::RequestParams
461
478
  # The account's preference for whether or not to display this payment method.
@@ -490,6 +507,23 @@ module Stripe
490
507
  end
491
508
  end
492
509
 
510
+ class KrCard < Stripe::RequestParams
511
+ class DisplayPreference < Stripe::RequestParams
512
+ # The account's preference for whether or not to display this payment method.
513
+ attr_accessor :preference
514
+
515
+ def initialize(preference: nil)
516
+ @preference = preference
517
+ end
518
+ end
519
+ # Whether or not the payment method should be displayed.
520
+ attr_accessor :display_preference
521
+
522
+ def initialize(display_preference: nil)
523
+ @display_preference = display_preference
524
+ end
525
+ end
526
+
493
527
  class Link < Stripe::RequestParams
494
528
  class DisplayPreference < Stripe::RequestParams
495
529
  # The account's preference for whether or not to display this payment method.
@@ -541,6 +575,23 @@ module Stripe
541
575
  end
542
576
  end
543
577
 
578
+ class NaverPay < Stripe::RequestParams
579
+ class DisplayPreference < Stripe::RequestParams
580
+ # The account's preference for whether or not to display this payment method.
581
+ attr_accessor :preference
582
+
583
+ def initialize(preference: nil)
584
+ @preference = preference
585
+ end
586
+ end
587
+ # Whether or not the payment method should be displayed.
588
+ attr_accessor :display_preference
589
+
590
+ def initialize(display_preference: nil)
591
+ @display_preference = display_preference
592
+ end
593
+ end
594
+
544
595
  class NzBankAccount < Stripe::RequestParams
545
596
  class DisplayPreference < Stripe::RequestParams
546
597
  # The account's preference for whether or not to display this payment method.
@@ -609,6 +660,23 @@ module Stripe
609
660
  end
610
661
  end
611
662
 
663
+ class Payco < Stripe::RequestParams
664
+ class DisplayPreference < Stripe::RequestParams
665
+ # The account's preference for whether or not to display this payment method.
666
+ attr_accessor :preference
667
+
668
+ def initialize(preference: nil)
669
+ @preference = preference
670
+ end
671
+ end
672
+ # Whether or not the payment method should be displayed.
673
+ attr_accessor :display_preference
674
+
675
+ def initialize(display_preference: nil)
676
+ @display_preference = display_preference
677
+ end
678
+ end
679
+
612
680
  class Paynow < Stripe::RequestParams
613
681
  class DisplayPreference < Stripe::RequestParams
614
682
  # The account's preference for whether or not to display this payment method.
@@ -643,6 +711,23 @@ module Stripe
643
711
  end
644
712
  end
645
713
 
714
+ class Pix < Stripe::RequestParams
715
+ class DisplayPreference < Stripe::RequestParams
716
+ # The account's preference for whether or not to display this payment method.
717
+ attr_accessor :preference
718
+
719
+ def initialize(preference: nil)
720
+ @preference = preference
721
+ end
722
+ end
723
+ # Whether or not the payment method should be displayed.
724
+ attr_accessor :display_preference
725
+
726
+ def initialize(display_preference: nil)
727
+ @display_preference = display_preference
728
+ end
729
+ end
730
+
646
731
  class Promptpay < Stripe::RequestParams
647
732
  class DisplayPreference < Stripe::RequestParams
648
733
  # The account's preference for whether or not to display this payment method.
@@ -677,6 +762,23 @@ module Stripe
677
762
  end
678
763
  end
679
764
 
765
+ class SamsungPay < Stripe::RequestParams
766
+ class DisplayPreference < Stripe::RequestParams
767
+ # The account's preference for whether or not to display this payment method.
768
+ attr_accessor :preference
769
+
770
+ def initialize(preference: nil)
771
+ @preference = preference
772
+ end
773
+ end
774
+ # Whether or not the payment method should be displayed.
775
+ attr_accessor :display_preference
776
+
777
+ def initialize(display_preference: nil)
778
+ @display_preference = display_preference
779
+ end
780
+ end
781
+
680
782
  class Satispay < Stripe::RequestParams
681
783
  class DisplayPreference < Stripe::RequestParams
682
784
  # The account's preference for whether or not to display this payment method.
@@ -824,7 +926,7 @@ module Stripe
824
926
  attr_accessor :alma
825
927
  # Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
826
928
  attr_accessor :amazon_pay
827
- # Stripe users can accept [Apple Pay](/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
929
+ # Stripe users can accept [Apple Pay](https://stripe.com/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](https://stripe.com/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
828
930
  attr_accessor :apple_pay
829
931
  # Apple Pay Later, a payment method for customers to buy now and pay later, gives your customers a way to split purchases into four installments across six weeks.
830
932
  attr_accessor :apple_pay_later
@@ -864,10 +966,14 @@ module Stripe
864
966
  attr_accessor :ideal
865
967
  # JCB is a credit card company based in Japan. JCB is currently available in Japan to businesses approved by JCB, and available to all businesses in Australia, Canada, Hong Kong, Japan, New Zealand, Singapore, Switzerland, United Kingdom, United States, and all countries in the European Economic Area except Iceland. Check this [page](https://support.stripe.com/questions/accepting-japan-credit-bureau-%28jcb%29-payments) for more details.
866
968
  attr_accessor :jcb
969
+ # Kakao Pay is a popular local wallet available in South Korea.
970
+ attr_accessor :kakao_pay
867
971
  # Klarna gives customers a range of [payment options](https://stripe.com/docs/payments/klarna#payment-options) during checkout. Available payment options vary depending on the customer's billing address and the transaction amount. These payment options make it convenient for customers to purchase items in all price ranges. Check this [page](https://stripe.com/docs/payments/klarna) for more details.
868
972
  attr_accessor :klarna
869
973
  # Konbini allows customers in Japan to pay for bills and online purchases at convenience stores with cash. Check this [page](https://stripe.com/docs/payments/konbini) for more details.
870
974
  attr_accessor :konbini
975
+ # Korean cards let users pay using locally issued cards from South Korea.
976
+ attr_accessor :kr_card
871
977
  # [Link](https://stripe.com/docs/payments/link) is a payment method network. With Link, users save their payment details once, then reuse that information to pay with one click for any business on the network.
872
978
  attr_accessor :link
873
979
  # MobilePay is a [single-use](https://stripe.com/docs/payments/payment-methods#usage) card wallet payment method used in Denmark and Finland. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the MobilePay app. Check this [page](https://stripe.com/docs/payments/mobilepay) for more details.
@@ -876,6 +982,8 @@ module Stripe
876
982
  attr_accessor :multibanco
877
983
  # Configuration name.
878
984
  attr_accessor :name
985
+ # Naver Pay is a popular local wallet available in South Korea.
986
+ attr_accessor :naver_pay
879
987
  # Stripe users in New Zealand can accept Bulk Electronic Clearing System (BECS) direct debit payments from customers with a New Zeland bank account. Check this [page](https://stripe.com/docs/payments/nz-bank-account) for more details.
880
988
  attr_accessor :nz_bank_account
881
989
  # OXXO is a Mexican chain of convenience stores with thousands of locations across Latin America and represents nearly 20% of online transactions in Mexico. OXXO allows customers to pay bills and online purchases in-store with cash. Check this [page](https://stripe.com/docs/payments/oxxo) for more details.
@@ -886,14 +994,20 @@ module Stripe
886
994
  attr_accessor :parent
887
995
  # Pay by bank is a redirect payment method backed by bank transfers. A customer is redirected to their bank to authorize a bank transfer for a given amount. This removes a lot of the error risks inherent in waiting for the customer to initiate a transfer themselves, and is less expensive than card payments.
888
996
  attr_accessor :pay_by_bank
997
+ # PAYCO is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.
998
+ attr_accessor :payco
889
999
  # PayNow is a Singapore-based payment method that allows customers to make a payment using their preferred app from participating banks and participating non-bank financial institutions. Check this [page](https://stripe.com/docs/payments/paynow) for more details.
890
1000
  attr_accessor :paynow
891
1001
  # PayPal, a digital wallet popular with customers in Europe, allows your customers worldwide to pay using their PayPal account. Check this [page](https://stripe.com/docs/payments/paypal) for more details.
892
1002
  attr_accessor :paypal
1003
+ # Pix is a payment method popular in Brazil. When paying with Pix, customers authenticate and approve payments by scanning a QR code in their preferred banking app. Check this [page](https://docs.stripe.com/payments/pix) for more details.
1004
+ attr_accessor :pix
893
1005
  # PromptPay is a Thailand-based payment method that allows customers to make a payment using their preferred app from participating banks. Check this [page](https://stripe.com/docs/payments/promptpay) for more details.
894
1006
  attr_accessor :promptpay
895
1007
  # Revolut Pay, developed by Revolut, a global finance app, is a digital wallet payment method. Revolut Pay uses the customer’s stored balance or cards to fund the payment, and offers the option for non-Revolut customers to save their details after their first purchase.
896
1008
  attr_accessor :revolut_pay
1009
+ # Samsung Pay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.
1010
+ attr_accessor :samsung_pay
897
1011
  # Satispay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method where customers are required to [authenticate](/payments/payment-methods#customer-actions) their payment. Customers pay by being redirected from your website or app, authorizing the payment with Satispay, then returning to your website or app. You get [immediate notification](/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
898
1012
  attr_accessor :satispay
899
1013
  # The [Single Euro Payments Area (SEPA)](https://en.wikipedia.org/wiki/Single_Euro_Payments_Area) is an initiative of the European Union to simplify payments within and across member countries. SEPA established and enforced banking standards to allow for the direct debiting of every EUR-denominated bank account within the SEPA region, check this [page](https://stripe.com/docs/payments/sepa-debit) for more details.
@@ -938,21 +1052,27 @@ module Stripe
938
1052
  grabpay: nil,
939
1053
  ideal: nil,
940
1054
  jcb: nil,
1055
+ kakao_pay: nil,
941
1056
  klarna: nil,
942
1057
  konbini: nil,
1058
+ kr_card: nil,
943
1059
  link: nil,
944
1060
  mobilepay: nil,
945
1061
  multibanco: nil,
946
1062
  name: nil,
1063
+ naver_pay: nil,
947
1064
  nz_bank_account: nil,
948
1065
  oxxo: nil,
949
1066
  p24: nil,
950
1067
  parent: nil,
951
1068
  pay_by_bank: nil,
1069
+ payco: nil,
952
1070
  paynow: nil,
953
1071
  paypal: nil,
1072
+ pix: nil,
954
1073
  promptpay: nil,
955
1074
  revolut_pay: nil,
1075
+ samsung_pay: nil,
956
1076
  satispay: nil,
957
1077
  sepa_debit: nil,
958
1078
  sofort: nil,
@@ -988,21 +1108,27 @@ module Stripe
988
1108
  @grabpay = grabpay
989
1109
  @ideal = ideal
990
1110
  @jcb = jcb
1111
+ @kakao_pay = kakao_pay
991
1112
  @klarna = klarna
992
1113
  @konbini = konbini
1114
+ @kr_card = kr_card
993
1115
  @link = link
994
1116
  @mobilepay = mobilepay
995
1117
  @multibanco = multibanco
996
1118
  @name = name
1119
+ @naver_pay = naver_pay
997
1120
  @nz_bank_account = nz_bank_account
998
1121
  @oxxo = oxxo
999
1122
  @p24 = p24
1000
1123
  @parent = parent
1001
1124
  @pay_by_bank = pay_by_bank
1125
+ @payco = payco
1002
1126
  @paynow = paynow
1003
1127
  @paypal = paypal
1128
+ @pix = pix
1004
1129
  @promptpay = promptpay
1005
1130
  @revolut_pay = revolut_pay
1131
+ @samsung_pay = samsung_pay
1006
1132
  @satispay = satispay
1007
1133
  @sepa_debit = sepa_debit
1008
1134
  @sofort = sofort
@@ -1449,6 +1575,23 @@ module Stripe
1449
1575
  end
1450
1576
  end
1451
1577
 
1578
+ class KakaoPay < Stripe::RequestParams
1579
+ class DisplayPreference < Stripe::RequestParams
1580
+ # The account's preference for whether or not to display this payment method.
1581
+ attr_accessor :preference
1582
+
1583
+ def initialize(preference: nil)
1584
+ @preference = preference
1585
+ end
1586
+ end
1587
+ # Whether or not the payment method should be displayed.
1588
+ attr_accessor :display_preference
1589
+
1590
+ def initialize(display_preference: nil)
1591
+ @display_preference = display_preference
1592
+ end
1593
+ end
1594
+
1452
1595
  class Klarna < Stripe::RequestParams
1453
1596
  class DisplayPreference < Stripe::RequestParams
1454
1597
  # The account's preference for whether or not to display this payment method.
@@ -1483,6 +1626,23 @@ module Stripe
1483
1626
  end
1484
1627
  end
1485
1628
 
1629
+ class KrCard < Stripe::RequestParams
1630
+ class DisplayPreference < Stripe::RequestParams
1631
+ # The account's preference for whether or not to display this payment method.
1632
+ attr_accessor :preference
1633
+
1634
+ def initialize(preference: nil)
1635
+ @preference = preference
1636
+ end
1637
+ end
1638
+ # Whether or not the payment method should be displayed.
1639
+ attr_accessor :display_preference
1640
+
1641
+ def initialize(display_preference: nil)
1642
+ @display_preference = display_preference
1643
+ end
1644
+ end
1645
+
1486
1646
  class Link < Stripe::RequestParams
1487
1647
  class DisplayPreference < Stripe::RequestParams
1488
1648
  # The account's preference for whether or not to display this payment method.
@@ -1534,6 +1694,23 @@ module Stripe
1534
1694
  end
1535
1695
  end
1536
1696
 
1697
+ class NaverPay < Stripe::RequestParams
1698
+ class DisplayPreference < Stripe::RequestParams
1699
+ # The account's preference for whether or not to display this payment method.
1700
+ attr_accessor :preference
1701
+
1702
+ def initialize(preference: nil)
1703
+ @preference = preference
1704
+ end
1705
+ end
1706
+ # Whether or not the payment method should be displayed.
1707
+ attr_accessor :display_preference
1708
+
1709
+ def initialize(display_preference: nil)
1710
+ @display_preference = display_preference
1711
+ end
1712
+ end
1713
+
1537
1714
  class NzBankAccount < Stripe::RequestParams
1538
1715
  class DisplayPreference < Stripe::RequestParams
1539
1716
  # The account's preference for whether or not to display this payment method.
@@ -1602,6 +1779,23 @@ module Stripe
1602
1779
  end
1603
1780
  end
1604
1781
 
1782
+ class Payco < Stripe::RequestParams
1783
+ class DisplayPreference < Stripe::RequestParams
1784
+ # The account's preference for whether or not to display this payment method.
1785
+ attr_accessor :preference
1786
+
1787
+ def initialize(preference: nil)
1788
+ @preference = preference
1789
+ end
1790
+ end
1791
+ # Whether or not the payment method should be displayed.
1792
+ attr_accessor :display_preference
1793
+
1794
+ def initialize(display_preference: nil)
1795
+ @display_preference = display_preference
1796
+ end
1797
+ end
1798
+
1605
1799
  class Paynow < Stripe::RequestParams
1606
1800
  class DisplayPreference < Stripe::RequestParams
1607
1801
  # The account's preference for whether or not to display this payment method.
@@ -1636,6 +1830,23 @@ module Stripe
1636
1830
  end
1637
1831
  end
1638
1832
 
1833
+ class Pix < Stripe::RequestParams
1834
+ class DisplayPreference < Stripe::RequestParams
1835
+ # The account's preference for whether or not to display this payment method.
1836
+ attr_accessor :preference
1837
+
1838
+ def initialize(preference: nil)
1839
+ @preference = preference
1840
+ end
1841
+ end
1842
+ # Whether or not the payment method should be displayed.
1843
+ attr_accessor :display_preference
1844
+
1845
+ def initialize(display_preference: nil)
1846
+ @display_preference = display_preference
1847
+ end
1848
+ end
1849
+
1639
1850
  class Promptpay < Stripe::RequestParams
1640
1851
  class DisplayPreference < Stripe::RequestParams
1641
1852
  # The account's preference for whether or not to display this payment method.
@@ -1670,6 +1881,23 @@ module Stripe
1670
1881
  end
1671
1882
  end
1672
1883
 
1884
+ class SamsungPay < Stripe::RequestParams
1885
+ class DisplayPreference < Stripe::RequestParams
1886
+ # The account's preference for whether or not to display this payment method.
1887
+ attr_accessor :preference
1888
+
1889
+ def initialize(preference: nil)
1890
+ @preference = preference
1891
+ end
1892
+ end
1893
+ # Whether or not the payment method should be displayed.
1894
+ attr_accessor :display_preference
1895
+
1896
+ def initialize(display_preference: nil)
1897
+ @display_preference = display_preference
1898
+ end
1899
+ end
1900
+
1673
1901
  class Satispay < Stripe::RequestParams
1674
1902
  class DisplayPreference < Stripe::RequestParams
1675
1903
  # The account's preference for whether or not to display this payment method.
@@ -1819,7 +2047,7 @@ module Stripe
1819
2047
  attr_accessor :alma
1820
2048
  # Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
1821
2049
  attr_accessor :amazon_pay
1822
- # Stripe users can accept [Apple Pay](/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
2050
+ # Stripe users can accept [Apple Pay](https://stripe.com/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](https://stripe.com/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
1823
2051
  attr_accessor :apple_pay
1824
2052
  # Apple Pay Later, a payment method for customers to buy now and pay later, gives your customers a way to split purchases into four installments across six weeks.
1825
2053
  attr_accessor :apple_pay_later
@@ -1859,10 +2087,14 @@ module Stripe
1859
2087
  attr_accessor :ideal
1860
2088
  # JCB is a credit card company based in Japan. JCB is currently available in Japan to businesses approved by JCB, and available to all businesses in Australia, Canada, Hong Kong, Japan, New Zealand, Singapore, Switzerland, United Kingdom, United States, and all countries in the European Economic Area except Iceland. Check this [page](https://support.stripe.com/questions/accepting-japan-credit-bureau-%28jcb%29-payments) for more details.
1861
2089
  attr_accessor :jcb
2090
+ # Kakao Pay is a popular local wallet available in South Korea.
2091
+ attr_accessor :kakao_pay
1862
2092
  # Klarna gives customers a range of [payment options](https://stripe.com/docs/payments/klarna#payment-options) during checkout. Available payment options vary depending on the customer's billing address and the transaction amount. These payment options make it convenient for customers to purchase items in all price ranges. Check this [page](https://stripe.com/docs/payments/klarna) for more details.
1863
2093
  attr_accessor :klarna
1864
2094
  # Konbini allows customers in Japan to pay for bills and online purchases at convenience stores with cash. Check this [page](https://stripe.com/docs/payments/konbini) for more details.
1865
2095
  attr_accessor :konbini
2096
+ # Korean cards let users pay using locally issued cards from South Korea.
2097
+ attr_accessor :kr_card
1866
2098
  # [Link](https://stripe.com/docs/payments/link) is a payment method network. With Link, users save their payment details once, then reuse that information to pay with one click for any business on the network.
1867
2099
  attr_accessor :link
1868
2100
  # MobilePay is a [single-use](https://stripe.com/docs/payments/payment-methods#usage) card wallet payment method used in Denmark and Finland. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the MobilePay app. Check this [page](https://stripe.com/docs/payments/mobilepay) for more details.
@@ -1871,6 +2103,8 @@ module Stripe
1871
2103
  attr_accessor :multibanco
1872
2104
  # Configuration name.
1873
2105
  attr_accessor :name
2106
+ # Naver Pay is a popular local wallet available in South Korea.
2107
+ attr_accessor :naver_pay
1874
2108
  # Stripe users in New Zealand can accept Bulk Electronic Clearing System (BECS) direct debit payments from customers with a New Zeland bank account. Check this [page](https://stripe.com/docs/payments/nz-bank-account) for more details.
1875
2109
  attr_accessor :nz_bank_account
1876
2110
  # OXXO is a Mexican chain of convenience stores with thousands of locations across Latin America and represents nearly 20% of online transactions in Mexico. OXXO allows customers to pay bills and online purchases in-store with cash. Check this [page](https://stripe.com/docs/payments/oxxo) for more details.
@@ -1879,14 +2113,20 @@ module Stripe
1879
2113
  attr_accessor :p24
1880
2114
  # Pay by bank is a redirect payment method backed by bank transfers. A customer is redirected to their bank to authorize a bank transfer for a given amount. This removes a lot of the error risks inherent in waiting for the customer to initiate a transfer themselves, and is less expensive than card payments.
1881
2115
  attr_accessor :pay_by_bank
2116
+ # PAYCO is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.
2117
+ attr_accessor :payco
1882
2118
  # PayNow is a Singapore-based payment method that allows customers to make a payment using their preferred app from participating banks and participating non-bank financial institutions. Check this [page](https://stripe.com/docs/payments/paynow) for more details.
1883
2119
  attr_accessor :paynow
1884
2120
  # PayPal, a digital wallet popular with customers in Europe, allows your customers worldwide to pay using their PayPal account. Check this [page](https://stripe.com/docs/payments/paypal) for more details.
1885
2121
  attr_accessor :paypal
2122
+ # Pix is a payment method popular in Brazil. When paying with Pix, customers authenticate and approve payments by scanning a QR code in their preferred banking app. Check this [page](https://docs.stripe.com/payments/pix) for more details.
2123
+ attr_accessor :pix
1886
2124
  # PromptPay is a Thailand-based payment method that allows customers to make a payment using their preferred app from participating banks. Check this [page](https://stripe.com/docs/payments/promptpay) for more details.
1887
2125
  attr_accessor :promptpay
1888
2126
  # Revolut Pay, developed by Revolut, a global finance app, is a digital wallet payment method. Revolut Pay uses the customer’s stored balance or cards to fund the payment, and offers the option for non-Revolut customers to save their details after their first purchase.
1889
2127
  attr_accessor :revolut_pay
2128
+ # Samsung Pay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.
2129
+ attr_accessor :samsung_pay
1890
2130
  # Satispay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method where customers are required to [authenticate](/payments/payment-methods#customer-actions) their payment. Customers pay by being redirected from your website or app, authorizing the payment with Satispay, then returning to your website or app. You get [immediate notification](/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
1891
2131
  attr_accessor :satispay
1892
2132
  # The [Single Euro Payments Area (SEPA)](https://en.wikipedia.org/wiki/Single_Euro_Payments_Area) is an initiative of the European Union to simplify payments within and across member countries. SEPA established and enforced banking standards to allow for the direct debiting of every EUR-denominated bank account within the SEPA region, check this [page](https://stripe.com/docs/payments/sepa-debit) for more details.
@@ -1932,20 +2172,26 @@ module Stripe
1932
2172
  grabpay: nil,
1933
2173
  ideal: nil,
1934
2174
  jcb: nil,
2175
+ kakao_pay: nil,
1935
2176
  klarna: nil,
1936
2177
  konbini: nil,
2178
+ kr_card: nil,
1937
2179
  link: nil,
1938
2180
  mobilepay: nil,
1939
2181
  multibanco: nil,
1940
2182
  name: nil,
2183
+ naver_pay: nil,
1941
2184
  nz_bank_account: nil,
1942
2185
  oxxo: nil,
1943
2186
  p24: nil,
1944
2187
  pay_by_bank: nil,
2188
+ payco: nil,
1945
2189
  paynow: nil,
1946
2190
  paypal: nil,
2191
+ pix: nil,
1947
2192
  promptpay: nil,
1948
2193
  revolut_pay: nil,
2194
+ samsung_pay: nil,
1949
2195
  satispay: nil,
1950
2196
  sepa_debit: nil,
1951
2197
  sofort: nil,
@@ -1982,20 +2228,26 @@ module Stripe
1982
2228
  @grabpay = grabpay
1983
2229
  @ideal = ideal
1984
2230
  @jcb = jcb
2231
+ @kakao_pay = kakao_pay
1985
2232
  @klarna = klarna
1986
2233
  @konbini = konbini
2234
+ @kr_card = kr_card
1987
2235
  @link = link
1988
2236
  @mobilepay = mobilepay
1989
2237
  @multibanco = multibanco
1990
2238
  @name = name
2239
+ @naver_pay = naver_pay
1991
2240
  @nz_bank_account = nz_bank_account
1992
2241
  @oxxo = oxxo
1993
2242
  @p24 = p24
1994
2243
  @pay_by_bank = pay_by_bank
2244
+ @payco = payco
1995
2245
  @paynow = paynow
1996
2246
  @paypal = paypal
2247
+ @pix = pix
1997
2248
  @promptpay = promptpay
1998
2249
  @revolut_pay = revolut_pay
2250
+ @samsung_pay = samsung_pay
1999
2251
  @satispay = satispay
2000
2252
  @sepa_debit = sepa_debit
2001
2253
  @sofort = sofort
@@ -128,7 +128,7 @@ module Stripe
128
128
  #
129
129
  # To activate a payment method on an existing payment method domain, complete the required registration steps specific to the payment method, and then validate the payment method domain with this endpoint.
130
130
  #
131
- # Related guides: [Payment method domains](https://stripe.com/docs/payments/payment-methods/pmd-registration).
131
+ # Related guides: [Payment method domains](https://docs.stripe.com/docs/payments/payment-methods/pmd-registration).
132
132
  def validate(payment_method_domain, params = {}, opts = {})
133
133
  request(
134
134
  method: :post,