mega-pure-kit 0.0.1

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 (1044) hide show
  1. checksums.yaml +7 -0
  2. data/mega-pure-kit.gemspec +12 -0
  3. data/stripe-19.3.0/exe/stripe-console +16 -0
  4. data/stripe-19.3.0/lib/data/ca-certificates.crt +3511 -0
  5. data/stripe-19.3.0/lib/stripe/api_operations/create.rb +16 -0
  6. data/stripe-19.3.0/lib/stripe/api_operations/delete.rb +44 -0
  7. data/stripe-19.3.0/lib/stripe/api_operations/list.rb +16 -0
  8. data/stripe-19.3.0/lib/stripe/api_operations/nested_resource.rb +101 -0
  9. data/stripe-19.3.0/lib/stripe/api_operations/request.rb +94 -0
  10. data/stripe-19.3.0/lib/stripe/api_operations/save.rb +107 -0
  11. data/stripe-19.3.0/lib/stripe/api_operations/search.rb +21 -0
  12. data/stripe-19.3.0/lib/stripe/api_operations/singleton_save.rb +90 -0
  13. data/stripe-19.3.0/lib/stripe/api_requestor.rb +1168 -0
  14. data/stripe-19.3.0/lib/stripe/api_resource.rb +145 -0
  15. data/stripe-19.3.0/lib/stripe/api_resource_test_helpers.rb +53 -0
  16. data/stripe-19.3.0/lib/stripe/api_version.rb +9 -0
  17. data/stripe-19.3.0/lib/stripe/connection_manager.rb +196 -0
  18. data/stripe-19.3.0/lib/stripe/error_object.rb +93 -0
  19. data/stripe-19.3.0/lib/stripe/errors.rb +171 -0
  20. data/stripe-19.3.0/lib/stripe/event_types.rb +106 -0
  21. data/stripe-19.3.0/lib/stripe/events/unknown_event_notification.rb +19 -0
  22. data/stripe-19.3.0/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb +123 -0
  23. data/stripe-19.3.0/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb +100 -0
  24. data/stripe-19.3.0/lib/stripe/events/v2_commerce_product_catalog_imports_failed_event.rb +44 -0
  25. data/stripe-19.3.0/lib/stripe/events/v2_commerce_product_catalog_imports_processing_event.rb +44 -0
  26. data/stripe-19.3.0/lib/stripe/events/v2_commerce_product_catalog_imports_succeeded_event.rb +44 -0
  27. data/stripe-19.3.0/lib/stripe/events/v2_commerce_product_catalog_imports_succeeded_with_errors_event.rb +44 -0
  28. data/stripe-19.3.0/lib/stripe/events/v2_core_account_closed_event.rb +44 -0
  29. data/stripe-19.3.0/lib/stripe/events/v2_core_account_created_event.rb +44 -0
  30. data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +63 -0
  31. data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +44 -0
  32. data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +63 -0
  33. data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +44 -0
  34. data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +63 -0
  35. data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +44 -0
  36. data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +44 -0
  37. data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_future_requirements_updated_event.rb +44 -0
  38. data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +44 -0
  39. data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +44 -0
  40. data/stripe-19.3.0/lib/stripe/events/v2_core_account_link_returned_event.rb +42 -0
  41. data/stripe-19.3.0/lib/stripe/events/v2_core_account_person_created_event.rb +61 -0
  42. data/stripe-19.3.0/lib/stripe/events/v2_core_account_person_deleted_event.rb +61 -0
  43. data/stripe-19.3.0/lib/stripe/events/v2_core_account_person_updated_event.rb +61 -0
  44. data/stripe-19.3.0/lib/stripe/events/v2_core_account_updated_event.rb +44 -0
  45. data/stripe-19.3.0/lib/stripe/events/v2_core_event_destination_ping_event.rb +44 -0
  46. data/stripe-19.3.0/lib/stripe/instrumentation.rb +106 -0
  47. data/stripe-19.3.0/lib/stripe/list_object.rb +141 -0
  48. data/stripe-19.3.0/lib/stripe/multipart_encoder.rb +131 -0
  49. data/stripe-19.3.0/lib/stripe/oauth.rb +58 -0
  50. data/stripe-19.3.0/lib/stripe/object_types.rb +189 -0
  51. data/stripe-19.3.0/lib/stripe/params/account_capability_list_params.rb +13 -0
  52. data/stripe-19.3.0/lib/stripe/params/account_capability_retrieve_params.rb +13 -0
  53. data/stripe-19.3.0/lib/stripe/params/account_capability_update_params.rb +18 -0
  54. data/stripe-19.3.0/lib/stripe/params/account_create_params.rb +2202 -0
  55. data/stripe-19.3.0/lib/stripe/params/account_delete_params.rb +6 -0
  56. data/stripe-19.3.0/lib/stripe/params/account_external_account_create_params.rb +134 -0
  57. data/stripe-19.3.0/lib/stripe/params/account_external_account_delete_params.rb +6 -0
  58. data/stripe-19.3.0/lib/stripe/params/account_external_account_list_params.rb +25 -0
  59. data/stripe-19.3.0/lib/stripe/params/account_external_account_retrieve_params.rb +13 -0
  60. data/stripe-19.3.0/lib/stripe/params/account_external_account_update_params.rb +91 -0
  61. data/stripe-19.3.0/lib/stripe/params/account_link_create_params.rb +52 -0
  62. data/stripe-19.3.0/lib/stripe/params/account_list_params.rb +42 -0
  63. data/stripe-19.3.0/lib/stripe/params/account_login_link_create_params.rb +13 -0
  64. data/stripe-19.3.0/lib/stripe/params/account_person_create_params.rb +435 -0
  65. data/stripe-19.3.0/lib/stripe/params/account_person_delete_params.rb +6 -0
  66. data/stripe-19.3.0/lib/stripe/params/account_person_list_params.rb +61 -0
  67. data/stripe-19.3.0/lib/stripe/params/account_person_retrieve_params.rb +13 -0
  68. data/stripe-19.3.0/lib/stripe/params/account_person_update_params.rb +435 -0
  69. data/stripe-19.3.0/lib/stripe/params/account_persons_params.rb +61 -0
  70. data/stripe-19.3.0/lib/stripe/params/account_reject_params.rb +16 -0
  71. data/stripe-19.3.0/lib/stripe/params/account_retrieve_current_params.rb +13 -0
  72. data/stripe-19.3.0/lib/stripe/params/account_retrieve_params.rb +13 -0
  73. data/stripe-19.3.0/lib/stripe/params/account_session_create_params.rb +632 -0
  74. data/stripe-19.3.0/lib/stripe/params/account_update_params.rb +2149 -0
  75. data/stripe-19.3.0/lib/stripe/params/apple_pay_domain_create_params.rb +16 -0
  76. data/stripe-19.3.0/lib/stripe/params/apple_pay_domain_delete_params.rb +6 -0
  77. data/stripe-19.3.0/lib/stripe/params/apple_pay_domain_list_params.rb +31 -0
  78. data/stripe-19.3.0/lib/stripe/params/apple_pay_domain_retrieve_params.rb +13 -0
  79. data/stripe-19.3.0/lib/stripe/params/application_fee_list_params.rb +52 -0
  80. data/stripe-19.3.0/lib/stripe/params/application_fee_refund_create_params.rb +19 -0
  81. data/stripe-19.3.0/lib/stripe/params/application_fee_refund_list_params.rb +22 -0
  82. data/stripe-19.3.0/lib/stripe/params/application_fee_refund_retrieve_params.rb +13 -0
  83. data/stripe-19.3.0/lib/stripe/params/application_fee_refund_update_params.rb +16 -0
  84. data/stripe-19.3.0/lib/stripe/params/application_fee_retrieve_params.rb +13 -0
  85. data/stripe-19.3.0/lib/stripe/params/apps/secret_create_params.rb +38 -0
  86. data/stripe-19.3.0/lib/stripe/params/apps/secret_delete_where_params.rb +32 -0
  87. data/stripe-19.3.0/lib/stripe/params/apps/secret_find_params.rb +32 -0
  88. data/stripe-19.3.0/lib/stripe/params/apps/secret_list_params.rb +38 -0
  89. data/stripe-19.3.0/lib/stripe/params/balance_retrieve_params.rb +13 -0
  90. data/stripe-19.3.0/lib/stripe/params/balance_settings_retrieve_params.rb +13 -0
  91. data/stripe-19.3.0/lib/stripe/params/balance_settings_update_params.rb +107 -0
  92. data/stripe-19.3.0/lib/stripe/params/balance_transaction_list_params.rb +64 -0
  93. data/stripe-19.3.0/lib/stripe/params/balance_transaction_retrieve_params.rb +13 -0
  94. data/stripe-19.3.0/lib/stripe/params/billing/alert_activate_params.rb +15 -0
  95. data/stripe-19.3.0/lib/stripe/params/billing/alert_archive_params.rb +15 -0
  96. data/stripe-19.3.0/lib/stripe/params/billing/alert_create_params.rb +52 -0
  97. data/stripe-19.3.0/lib/stripe/params/billing/alert_deactivate_params.rb +15 -0
  98. data/stripe-19.3.0/lib/stripe/params/billing/alert_list_params.rb +37 -0
  99. data/stripe-19.3.0/lib/stripe/params/billing/alert_retrieve_params.rb +15 -0
  100. data/stripe-19.3.0/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +57 -0
  101. data/stripe-19.3.0/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +41 -0
  102. data/stripe-19.3.0/lib/stripe/params/billing/credit_balance_transaction_retrieve_params.rb +15 -0
  103. data/stripe-19.3.0/lib/stripe/params/billing/credit_grant_create_params.rb +107 -0
  104. data/stripe-19.3.0/lib/stripe/params/billing/credit_grant_expire_params.rb +15 -0
  105. data/stripe-19.3.0/lib/stripe/params/billing/credit_grant_list_params.rb +37 -0
  106. data/stripe-19.3.0/lib/stripe/params/billing/credit_grant_retrieve_params.rb +15 -0
  107. data/stripe-19.3.0/lib/stripe/params/billing/credit_grant_update_params.rb +21 -0
  108. data/stripe-19.3.0/lib/stripe/params/billing/credit_grant_void_grant_params.rb +15 -0
  109. data/stripe-19.3.0/lib/stripe/params/billing/meter_create_params.rb +70 -0
  110. data/stripe-19.3.0/lib/stripe/params/billing/meter_deactivate_params.rb +15 -0
  111. data/stripe-19.3.0/lib/stripe/params/billing/meter_event_adjustment_create_params.rb +32 -0
  112. data/stripe-19.3.0/lib/stripe/params/billing/meter_event_create_params.rb +27 -0
  113. data/stripe-19.3.0/lib/stripe/params/billing/meter_event_summary_list_params.rb +45 -0
  114. data/stripe-19.3.0/lib/stripe/params/billing/meter_list_params.rb +27 -0
  115. data/stripe-19.3.0/lib/stripe/params/billing/meter_reactivate_params.rb +15 -0
  116. data/stripe-19.3.0/lib/stripe/params/billing/meter_retrieve_params.rb +15 -0
  117. data/stripe-19.3.0/lib/stripe/params/billing/meter_update_params.rb +18 -0
  118. data/stripe-19.3.0/lib/stripe/params/billing_portal/configuration_create_params.rb +232 -0
  119. data/stripe-19.3.0/lib/stripe/params/billing_portal/configuration_list_params.rb +37 -0
  120. data/stripe-19.3.0/lib/stripe/params/billing_portal/configuration_retrieve_params.rb +15 -0
  121. data/stripe-19.3.0/lib/stripe/params/billing_portal/configuration_update_params.rb +238 -0
  122. data/stripe-19.3.0/lib/stripe/params/billing_portal/session_create_params.rb +183 -0
  123. data/stripe-19.3.0/lib/stripe/params/charge_capture_params.rb +57 -0
  124. data/stripe-19.3.0/lib/stripe/params/charge_create_params.rb +175 -0
  125. data/stripe-19.3.0/lib/stripe/params/charge_list_params.rb +60 -0
  126. data/stripe-19.3.0/lib/stripe/params/charge_retrieve_params.rb +13 -0
  127. data/stripe-19.3.0/lib/stripe/params/charge_search_params.rb +22 -0
  128. data/stripe-19.3.0/lib/stripe/params/charge_update_params.rb +102 -0
  129. data/stripe-19.3.0/lib/stripe/params/checkout/session_create_params.rb +2740 -0
  130. data/stripe-19.3.0/lib/stripe/params/checkout/session_expire_params.rb +15 -0
  131. data/stripe-19.3.0/lib/stripe/params/checkout/session_line_item_list_params.rb +24 -0
  132. data/stripe-19.3.0/lib/stripe/params/checkout/session_list_line_items_params.rb +24 -0
  133. data/stripe-19.3.0/lib/stripe/params/checkout/session_list_params.rb +87 -0
  134. data/stripe-19.3.0/lib/stripe/params/checkout/session_retrieve_params.rb +15 -0
  135. data/stripe-19.3.0/lib/stripe/params/checkout/session_update_params.rb +348 -0
  136. data/stripe-19.3.0/lib/stripe/params/climate/order_cancel_params.rb +15 -0
  137. data/stripe-19.3.0/lib/stripe/params/climate/order_create_params.rb +53 -0
  138. data/stripe-19.3.0/lib/stripe/params/climate/order_list_params.rb +24 -0
  139. data/stripe-19.3.0/lib/stripe/params/climate/order_retrieve_params.rb +15 -0
  140. data/stripe-19.3.0/lib/stripe/params/climate/order_update_params.rb +29 -0
  141. data/stripe-19.3.0/lib/stripe/params/climate/product_list_params.rb +24 -0
  142. data/stripe-19.3.0/lib/stripe/params/climate/product_retrieve_params.rb +15 -0
  143. data/stripe-19.3.0/lib/stripe/params/climate/supplier_list_params.rb +24 -0
  144. data/stripe-19.3.0/lib/stripe/params/climate/supplier_retrieve_params.rb +15 -0
  145. data/stripe-19.3.0/lib/stripe/params/confirmation_token_create_params.rb +715 -0
  146. data/stripe-19.3.0/lib/stripe/params/confirmation_token_retrieve_params.rb +13 -0
  147. data/stripe-19.3.0/lib/stripe/params/country_spec_list_params.rb +22 -0
  148. data/stripe-19.3.0/lib/stripe/params/country_spec_retrieve_params.rb +13 -0
  149. data/stripe-19.3.0/lib/stripe/params/coupon_create_params.rb +80 -0
  150. data/stripe-19.3.0/lib/stripe/params/coupon_delete_params.rb +6 -0
  151. data/stripe-19.3.0/lib/stripe/params/coupon_list_params.rb +42 -0
  152. data/stripe-19.3.0/lib/stripe/params/coupon_retrieve_params.rb +13 -0
  153. data/stripe-19.3.0/lib/stripe/params/coupon_update_params.rb +30 -0
  154. data/stripe-19.3.0/lib/stripe/params/credit_note_create_params.rb +178 -0
  155. data/stripe-19.3.0/lib/stripe/params/credit_note_line_item_list_params.rb +22 -0
  156. data/stripe-19.3.0/lib/stripe/params/credit_note_list_params.rb +60 -0
  157. data/stripe-19.3.0/lib/stripe/params/credit_note_list_preview_line_items_params.rb +190 -0
  158. data/stripe-19.3.0/lib/stripe/params/credit_note_preview_lines_list_params.rb +190 -0
  159. data/stripe-19.3.0/lib/stripe/params/credit_note_preview_params.rb +178 -0
  160. data/stripe-19.3.0/lib/stripe/params/credit_note_retrieve_params.rb +13 -0
  161. data/stripe-19.3.0/lib/stripe/params/credit_note_update_params.rb +19 -0
  162. data/stripe-19.3.0/lib/stripe/params/credit_note_void_credit_note_params.rb +13 -0
  163. data/stripe-19.3.0/lib/stripe/params/customer_balance_transaction_create_params.rb +25 -0
  164. data/stripe-19.3.0/lib/stripe/params/customer_balance_transaction_list_params.rb +52 -0
  165. data/stripe-19.3.0/lib/stripe/params/customer_balance_transaction_retrieve_params.rb +13 -0
  166. data/stripe-19.3.0/lib/stripe/params/customer_balance_transaction_update_params.rb +19 -0
  167. data/stripe-19.3.0/lib/stripe/params/customer_cash_balance_retrieve_params.rb +13 -0
  168. data/stripe-19.3.0/lib/stripe/params/customer_cash_balance_transaction_list_params.rb +22 -0
  169. data/stripe-19.3.0/lib/stripe/params/customer_cash_balance_transaction_retrieve_params.rb +13 -0
  170. data/stripe-19.3.0/lib/stripe/params/customer_cash_balance_update_params.rb +24 -0
  171. data/stripe-19.3.0/lib/stripe/params/customer_create_funding_instructions_params.rb +46 -0
  172. data/stripe-19.3.0/lib/stripe/params/customer_create_params.rb +259 -0
  173. data/stripe-19.3.0/lib/stripe/params/customer_delete_discount_params.rb +6 -0
  174. data/stripe-19.3.0/lib/stripe/params/customer_delete_params.rb +6 -0
  175. data/stripe-19.3.0/lib/stripe/params/customer_fund_cash_balance_params.rb +22 -0
  176. data/stripe-19.3.0/lib/stripe/params/customer_funding_instructions_create_params.rb +46 -0
  177. data/stripe-19.3.0/lib/stripe/params/customer_list_params.rb +56 -0
  178. data/stripe-19.3.0/lib/stripe/params/customer_list_payment_methods_params.rb +35 -0
  179. data/stripe-19.3.0/lib/stripe/params/customer_payment_method_list_params.rb +35 -0
  180. data/stripe-19.3.0/lib/stripe/params/customer_payment_method_retrieve_params.rb +13 -0
  181. data/stripe-19.3.0/lib/stripe/params/customer_payment_source_create_params.rb +22 -0
  182. data/stripe-19.3.0/lib/stripe/params/customer_payment_source_delete_params.rb +13 -0
  183. data/stripe-19.3.0/lib/stripe/params/customer_payment_source_list_params.rb +25 -0
  184. data/stripe-19.3.0/lib/stripe/params/customer_payment_source_retrieve_params.rb +13 -0
  185. data/stripe-19.3.0/lib/stripe/params/customer_payment_source_update_params.rb +114 -0
  186. data/stripe-19.3.0/lib/stripe/params/customer_payment_source_verify_params.rb +16 -0
  187. data/stripe-19.3.0/lib/stripe/params/customer_retrieve_params.rb +13 -0
  188. data/stripe-19.3.0/lib/stripe/params/customer_retrieve_payment_method_params.rb +13 -0
  189. data/stripe-19.3.0/lib/stripe/params/customer_search_params.rb +22 -0
  190. data/stripe-19.3.0/lib/stripe/params/customer_session_create_params.rb +188 -0
  191. data/stripe-19.3.0/lib/stripe/params/customer_tax_id_create_params.rb +19 -0
  192. data/stripe-19.3.0/lib/stripe/params/customer_tax_id_delete_params.rb +6 -0
  193. data/stripe-19.3.0/lib/stripe/params/customer_tax_id_list_params.rb +22 -0
  194. data/stripe-19.3.0/lib/stripe/params/customer_tax_id_retrieve_params.rb +13 -0
  195. data/stripe-19.3.0/lib/stripe/params/customer_update_params.rb +243 -0
  196. data/stripe-19.3.0/lib/stripe/params/dispute_close_params.rb +13 -0
  197. data/stripe-19.3.0/lib/stripe/params/dispute_list_params.rb +56 -0
  198. data/stripe-19.3.0/lib/stripe/params/dispute_retrieve_params.rb +13 -0
  199. data/stripe-19.3.0/lib/stripe/params/dispute_update_params.rb +324 -0
  200. data/stripe-19.3.0/lib/stripe/params/entitlements/active_entitlement_list_params.rb +33 -0
  201. data/stripe-19.3.0/lib/stripe/params/entitlements/active_entitlement_retrieve_params.rb +15 -0
  202. data/stripe-19.3.0/lib/stripe/params/entitlements/feature_create_params.rb +24 -0
  203. data/stripe-19.3.0/lib/stripe/params/entitlements/feature_list_params.rb +37 -0
  204. data/stripe-19.3.0/lib/stripe/params/entitlements/feature_retrieve_params.rb +15 -0
  205. data/stripe-19.3.0/lib/stripe/params/entitlements/feature_update_params.rb +24 -0
  206. data/stripe-19.3.0/lib/stripe/params/ephemeral_key_create_params.rb +31 -0
  207. data/stripe-19.3.0/lib/stripe/params/ephemeral_key_delete_params.rb +13 -0
  208. data/stripe-19.3.0/lib/stripe/params/event_list_params.rb +60 -0
  209. data/stripe-19.3.0/lib/stripe/params/event_retrieve_params.rb +13 -0
  210. data/stripe-19.3.0/lib/stripe/params/exchange_rate_list_params.rb +22 -0
  211. data/stripe-19.3.0/lib/stripe/params/exchange_rate_retrieve_params.rb +13 -0
  212. data/stripe-19.3.0/lib/stripe/params/file_create_params.rb +36 -0
  213. data/stripe-19.3.0/lib/stripe/params/file_link_create_params.rb +22 -0
  214. data/stripe-19.3.0/lib/stripe/params/file_link_list_params.rb +56 -0
  215. data/stripe-19.3.0/lib/stripe/params/file_link_retrieve_params.rb +13 -0
  216. data/stripe-19.3.0/lib/stripe/params/file_link_update_params.rb +19 -0
  217. data/stripe-19.3.0/lib/stripe/params/file_list_params.rb +52 -0
  218. data/stripe-19.3.0/lib/stripe/params/file_retrieve_params.rb +13 -0
  219. data/stripe-19.3.0/lib/stripe/params/financial_connections/account_disconnect_params.rb +15 -0
  220. data/stripe-19.3.0/lib/stripe/params/financial_connections/account_list_owners_params.rb +33 -0
  221. data/stripe-19.3.0/lib/stripe/params/financial_connections/account_list_params.rb +51 -0
  222. data/stripe-19.3.0/lib/stripe/params/financial_connections/account_owner_list_params.rb +33 -0
  223. data/stripe-19.3.0/lib/stripe/params/financial_connections/account_refresh_account_params.rb +18 -0
  224. data/stripe-19.3.0/lib/stripe/params/financial_connections/account_refresh_params.rb +18 -0
  225. data/stripe-19.3.0/lib/stripe/params/financial_connections/account_retrieve_params.rb +15 -0
  226. data/stripe-19.3.0/lib/stripe/params/financial_connections/account_subscribe_params.rb +18 -0
  227. data/stripe-19.3.0/lib/stripe/params/financial_connections/account_unsubscribe_params.rb +18 -0
  228. data/stripe-19.3.0/lib/stripe/params/financial_connections/session_create_params.rb +68 -0
  229. data/stripe-19.3.0/lib/stripe/params/financial_connections/session_retrieve_params.rb +15 -0
  230. data/stripe-19.3.0/lib/stripe/params/financial_connections/transaction_list_params.rb +67 -0
  231. data/stripe-19.3.0/lib/stripe/params/financial_connections/transaction_retrieve_params.rb +15 -0
  232. data/stripe-19.3.0/lib/stripe/params/forwarding/request_create_params.rb +59 -0
  233. data/stripe-19.3.0/lib/stripe/params/forwarding/request_list_params.rb +44 -0
  234. data/stripe-19.3.0/lib/stripe/params/forwarding/request_retrieve_params.rb +15 -0
  235. data/stripe-19.3.0/lib/stripe/params/identity/verification_report_list_params.rb +62 -0
  236. data/stripe-19.3.0/lib/stripe/params/identity/verification_report_retrieve_params.rb +15 -0
  237. data/stripe-19.3.0/lib/stripe/params/identity/verification_session_cancel_params.rb +15 -0
  238. data/stripe-19.3.0/lib/stripe/params/identity/verification_session_create_params.rb +111 -0
  239. data/stripe-19.3.0/lib/stripe/params/identity/verification_session_list_params.rb +66 -0
  240. data/stripe-19.3.0/lib/stripe/params/identity/verification_session_redact_params.rb +15 -0
  241. data/stripe-19.3.0/lib/stripe/params/identity/verification_session_retrieve_params.rb +15 -0
  242. data/stripe-19.3.0/lib/stripe/params/identity/verification_session_update_params.rb +69 -0
  243. data/stripe-19.3.0/lib/stripe/params/invoice_add_lines_params.rb +261 -0
  244. data/stripe-19.3.0/lib/stripe/params/invoice_attach_payment_params.rb +19 -0
  245. data/stripe-19.3.0/lib/stripe/params/invoice_create_params.rb +664 -0
  246. data/stripe-19.3.0/lib/stripe/params/invoice_create_preview_params.rb +1230 -0
  247. data/stripe-19.3.0/lib/stripe/params/invoice_delete_params.rb +6 -0
  248. data/stripe-19.3.0/lib/stripe/params/invoice_finalize_invoice_params.rb +16 -0
  249. data/stripe-19.3.0/lib/stripe/params/invoice_item_create_params.rb +165 -0
  250. data/stripe-19.3.0/lib/stripe/params/invoice_item_delete_params.rb +6 -0
  251. data/stripe-19.3.0/lib/stripe/params/invoice_item_list_params.rb +64 -0
  252. data/stripe-19.3.0/lib/stripe/params/invoice_item_retrieve_params.rb +13 -0
  253. data/stripe-19.3.0/lib/stripe/params/invoice_item_update_params.rb +145 -0
  254. data/stripe-19.3.0/lib/stripe/params/invoice_line_item_list_params.rb +22 -0
  255. data/stripe-19.3.0/lib/stripe/params/invoice_line_item_update_params.rb +232 -0
  256. data/stripe-19.3.0/lib/stripe/params/invoice_list_params.rb +90 -0
  257. data/stripe-19.3.0/lib/stripe/params/invoice_mark_uncollectible_params.rb +13 -0
  258. data/stripe-19.3.0/lib/stripe/params/invoice_pay_params.rb +41 -0
  259. data/stripe-19.3.0/lib/stripe/params/invoice_payment_list_params.rb +75 -0
  260. data/stripe-19.3.0/lib/stripe/params/invoice_payment_retrieve_params.rb +13 -0
  261. data/stripe-19.3.0/lib/stripe/params/invoice_remove_lines_params.rb +30 -0
  262. data/stripe-19.3.0/lib/stripe/params/invoice_rendering_template_archive_params.rb +13 -0
  263. data/stripe-19.3.0/lib/stripe/params/invoice_rendering_template_list_params.rb +25 -0
  264. data/stripe-19.3.0/lib/stripe/params/invoice_rendering_template_retrieve_params.rb +16 -0
  265. data/stripe-19.3.0/lib/stripe/params/invoice_rendering_template_unarchive_params.rb +13 -0
  266. data/stripe-19.3.0/lib/stripe/params/invoice_retrieve_params.rb +13 -0
  267. data/stripe-19.3.0/lib/stripe/params/invoice_search_params.rb +22 -0
  268. data/stripe-19.3.0/lib/stripe/params/invoice_send_invoice_params.rb +13 -0
  269. data/stripe-19.3.0/lib/stripe/params/invoice_update_lines_params.rb +261 -0
  270. data/stripe-19.3.0/lib/stripe/params/invoice_update_params.rb +628 -0
  271. data/stripe-19.3.0/lib/stripe/params/invoice_void_invoice_params.rb +13 -0
  272. data/stripe-19.3.0/lib/stripe/params/issuing/authorization_approve_params.rb +21 -0
  273. data/stripe-19.3.0/lib/stripe/params/issuing/authorization_capture_params.rb +390 -0
  274. data/stripe-19.3.0/lib/stripe/params/issuing/authorization_create_params.rb +452 -0
  275. data/stripe-19.3.0/lib/stripe/params/issuing/authorization_decline_params.rb +18 -0
  276. data/stripe-19.3.0/lib/stripe/params/issuing/authorization_expire_params.rb +15 -0
  277. data/stripe-19.3.0/lib/stripe/params/issuing/authorization_finalize_amount_params.rb +223 -0
  278. data/stripe-19.3.0/lib/stripe/params/issuing/authorization_increment_params.rb +21 -0
  279. data/stripe-19.3.0/lib/stripe/params/issuing/authorization_list_params.rb +62 -0
  280. data/stripe-19.3.0/lib/stripe/params/issuing/authorization_respond_params.rb +18 -0
  281. data/stripe-19.3.0/lib/stripe/params/issuing/authorization_retrieve_params.rb +15 -0
  282. data/stripe-19.3.0/lib/stripe/params/issuing/authorization_reverse_params.rb +18 -0
  283. data/stripe-19.3.0/lib/stripe/params/issuing/authorization_update_params.rb +18 -0
  284. data/stripe-19.3.0/lib/stripe/params/issuing/card_create_params.rb +242 -0
  285. data/stripe-19.3.0/lib/stripe/params/issuing/card_deliver_card_params.rb +15 -0
  286. data/stripe-19.3.0/lib/stripe/params/issuing/card_fail_card_params.rb +15 -0
  287. data/stripe-19.3.0/lib/stripe/params/issuing/card_list_params.rb +78 -0
  288. data/stripe-19.3.0/lib/stripe/params/issuing/card_retrieve_params.rb +15 -0
  289. data/stripe-19.3.0/lib/stripe/params/issuing/card_return_card_params.rb +15 -0
  290. data/stripe-19.3.0/lib/stripe/params/issuing/card_ship_card_params.rb +15 -0
  291. data/stripe-19.3.0/lib/stripe/params/issuing/card_submit_card_params.rb +15 -0
  292. data/stripe-19.3.0/lib/stripe/params/issuing/card_update_params.rb +189 -0
  293. data/stripe-19.3.0/lib/stripe/params/issuing/cardholder_create_params.rb +246 -0
  294. data/stripe-19.3.0/lib/stripe/params/issuing/cardholder_list_params.rb +66 -0
  295. data/stripe-19.3.0/lib/stripe/params/issuing/cardholder_retrieve_params.rb +15 -0
  296. data/stripe-19.3.0/lib/stripe/params/issuing/cardholder_update_params.rb +238 -0
  297. data/stripe-19.3.0/lib/stripe/params/issuing/dispute_create_params.rb +297 -0
  298. data/stripe-19.3.0/lib/stripe/params/issuing/dispute_list_params.rb +58 -0
  299. data/stripe-19.3.0/lib/stripe/params/issuing/dispute_retrieve_params.rb +15 -0
  300. data/stripe-19.3.0/lib/stripe/params/issuing/dispute_submit_params.rb +18 -0
  301. data/stripe-19.3.0/lib/stripe/params/issuing/dispute_update_params.rb +275 -0
  302. data/stripe-19.3.0/lib/stripe/params/issuing/personalization_design_activate_params.rb +15 -0
  303. data/stripe-19.3.0/lib/stripe/params/issuing/personalization_design_create_params.rb +75 -0
  304. data/stripe-19.3.0/lib/stripe/params/issuing/personalization_design_deactivate_params.rb +15 -0
  305. data/stripe-19.3.0/lib/stripe/params/issuing/personalization_design_list_params.rb +52 -0
  306. data/stripe-19.3.0/lib/stripe/params/issuing/personalization_design_reject_params.rb +29 -0
  307. data/stripe-19.3.0/lib/stripe/params/issuing/personalization_design_retrieve_params.rb +15 -0
  308. data/stripe-19.3.0/lib/stripe/params/issuing/personalization_design_update_params.rb +75 -0
  309. data/stripe-19.3.0/lib/stripe/params/issuing/physical_bundle_list_params.rb +37 -0
  310. data/stripe-19.3.0/lib/stripe/params/issuing/physical_bundle_retrieve_params.rb +15 -0
  311. data/stripe-19.3.0/lib/stripe/params/issuing/token_list_params.rb +58 -0
  312. data/stripe-19.3.0/lib/stripe/params/issuing/token_retrieve_params.rb +15 -0
  313. data/stripe-19.3.0/lib/stripe/params/issuing/token_update_params.rb +18 -0
  314. data/stripe-19.3.0/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +441 -0
  315. data/stripe-19.3.0/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +441 -0
  316. data/stripe-19.3.0/lib/stripe/params/issuing/transaction_list_params.rb +62 -0
  317. data/stripe-19.3.0/lib/stripe/params/issuing/transaction_refund_params.rb +18 -0
  318. data/stripe-19.3.0/lib/stripe/params/issuing/transaction_retrieve_params.rb +15 -0
  319. data/stripe-19.3.0/lib/stripe/params/issuing/transaction_update_params.rb +18 -0
  320. data/stripe-19.3.0/lib/stripe/params/mandate_retrieve_params.rb +13 -0
  321. data/stripe-19.3.0/lib/stripe/params/payment_attempt_record_list_params.rb +22 -0
  322. data/stripe-19.3.0/lib/stripe/params/payment_attempt_record_retrieve_params.rb +13 -0
  323. data/stripe-19.3.0/lib/stripe/params/payment_intent_amount_details_line_item_list_params.rb +22 -0
  324. data/stripe-19.3.0/lib/stripe/params/payment_intent_apply_customer_balance_params.rb +23 -0
  325. data/stripe-19.3.0/lib/stripe/params/payment_intent_cancel_params.rb +16 -0
  326. data/stripe-19.3.0/lib/stripe/params/payment_intent_capture_params.rb +291 -0
  327. data/stripe-19.3.0/lib/stripe/params/payment_intent_confirm_params.rb +2878 -0
  328. data/stripe-19.3.0/lib/stripe/params/payment_intent_create_params.rb +3009 -0
  329. data/stripe-19.3.0/lib/stripe/params/payment_intent_increment_authorization_params.rb +285 -0
  330. data/stripe-19.3.0/lib/stripe/params/payment_intent_list_params.rb +56 -0
  331. data/stripe-19.3.0/lib/stripe/params/payment_intent_retrieve_params.rb +16 -0
  332. data/stripe-19.3.0/lib/stripe/params/payment_intent_search_params.rb +22 -0
  333. data/stripe-19.3.0/lib/stripe/params/payment_intent_update_params.rb +2876 -0
  334. data/stripe-19.3.0/lib/stripe/params/payment_intent_verify_microdeposits_params.rb +19 -0
  335. data/stripe-19.3.0/lib/stripe/params/payment_link_create_params.rb +879 -0
  336. data/stripe-19.3.0/lib/stripe/params/payment_link_line_item_list_params.rb +22 -0
  337. data/stripe-19.3.0/lib/stripe/params/payment_link_list_line_items_params.rb +22 -0
  338. data/stripe-19.3.0/lib/stripe/params/payment_link_list_params.rb +25 -0
  339. data/stripe-19.3.0/lib/stripe/params/payment_link_retrieve_params.rb +13 -0
  340. data/stripe-19.3.0/lib/stripe/params/payment_link_update_params.rb +667 -0
  341. data/stripe-19.3.0/lib/stripe/params/payment_method_attach_params.rb +19 -0
  342. data/stripe-19.3.0/lib/stripe/params/payment_method_configuration_create_params.rb +1282 -0
  343. data/stripe-19.3.0/lib/stripe/params/payment_method_configuration_list_params.rb +35 -0
  344. data/stripe-19.3.0/lib/stripe/params/payment_method_configuration_retrieve_params.rb +13 -0
  345. data/stripe-19.3.0/lib/stripe/params/payment_method_configuration_update_params.rb +1282 -0
  346. data/stripe-19.3.0/lib/stripe/params/payment_method_create_params.rb +662 -0
  347. data/stripe-19.3.0/lib/stripe/params/payment_method_detach_params.rb +13 -0
  348. data/stripe-19.3.0/lib/stripe/params/payment_method_domain_create_params.rb +19 -0
  349. data/stripe-19.3.0/lib/stripe/params/payment_method_domain_list_params.rb +35 -0
  350. data/stripe-19.3.0/lib/stripe/params/payment_method_domain_retrieve_params.rb +13 -0
  351. data/stripe-19.3.0/lib/stripe/params/payment_method_domain_update_params.rb +16 -0
  352. data/stripe-19.3.0/lib/stripe/params/payment_method_domain_validate_params.rb +13 -0
  353. data/stripe-19.3.0/lib/stripe/params/payment_method_list_params.rb +43 -0
  354. data/stripe-19.3.0/lib/stripe/params/payment_method_retrieve_params.rb +13 -0
  355. data/stripe-19.3.0/lib/stripe/params/payment_method_update_params.rb +139 -0
  356. data/stripe-19.3.0/lib/stripe/params/payment_record_report_payment_attempt_canceled_params.rb +19 -0
  357. data/stripe-19.3.0/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb +19 -0
  358. data/stripe-19.3.0/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb +19 -0
  359. data/stripe-19.3.0/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb +93 -0
  360. data/stripe-19.3.0/lib/stripe/params/payment_record_report_payment_attempt_params.rb +186 -0
  361. data/stripe-19.3.0/lib/stripe/params/payment_record_report_payment_params.rb +252 -0
  362. data/stripe-19.3.0/lib/stripe/params/payment_record_report_refund_params.rb +79 -0
  363. data/stripe-19.3.0/lib/stripe/params/payment_record_retrieve_params.rb +13 -0
  364. data/stripe-19.3.0/lib/stripe/params/payout_cancel_params.rb +13 -0
  365. data/stripe-19.3.0/lib/stripe/params/payout_create_params.rb +51 -0
  366. data/stripe-19.3.0/lib/stripe/params/payout_list_params.rb +78 -0
  367. data/stripe-19.3.0/lib/stripe/params/payout_retrieve_params.rb +13 -0
  368. data/stripe-19.3.0/lib/stripe/params/payout_reverse_params.rb +16 -0
  369. data/stripe-19.3.0/lib/stripe/params/payout_update_params.rb +16 -0
  370. data/stripe-19.3.0/lib/stripe/params/plan_create_params.rb +178 -0
  371. data/stripe-19.3.0/lib/stripe/params/plan_delete_params.rb +6 -0
  372. data/stripe-19.3.0/lib/stripe/params/plan_list_params.rb +56 -0
  373. data/stripe-19.3.0/lib/stripe/params/plan_retrieve_params.rb +13 -0
  374. data/stripe-19.3.0/lib/stripe/params/plan_update_params.rb +35 -0
  375. data/stripe-19.3.0/lib/stripe/params/price_create_params.rb +318 -0
  376. data/stripe-19.3.0/lib/stripe/params/price_list_params.rb +87 -0
  377. data/stripe-19.3.0/lib/stripe/params/price_retrieve_params.rb +13 -0
  378. data/stripe-19.3.0/lib/stripe/params/price_search_params.rb +22 -0
  379. data/stripe-19.3.0/lib/stripe/params/price_update_params.rb +133 -0
  380. data/stripe-19.3.0/lib/stripe/params/product_create_params.rb +276 -0
  381. data/stripe-19.3.0/lib/stripe/params/product_delete_params.rb +6 -0
  382. data/stripe-19.3.0/lib/stripe/params/product_feature_create_params.rb +16 -0
  383. data/stripe-19.3.0/lib/stripe/params/product_feature_delete_params.rb +6 -0
  384. data/stripe-19.3.0/lib/stripe/params/product_feature_list_params.rb +22 -0
  385. data/stripe-19.3.0/lib/stripe/params/product_feature_retrieve_params.rb +13 -0
  386. data/stripe-19.3.0/lib/stripe/params/product_list_params.rb +68 -0
  387. data/stripe-19.3.0/lib/stripe/params/product_retrieve_params.rb +13 -0
  388. data/stripe-19.3.0/lib/stripe/params/product_search_params.rb +22 -0
  389. data/stripe-19.3.0/lib/stripe/params/product_update_params.rb +96 -0
  390. data/stripe-19.3.0/lib/stripe/params/promotion_code_create_params.rb +95 -0
  391. data/stripe-19.3.0/lib/stripe/params/promotion_code_list_params.rb +68 -0
  392. data/stripe-19.3.0/lib/stripe/params/promotion_code_retrieve_params.rb +13 -0
  393. data/stripe-19.3.0/lib/stripe/params/promotion_code_update_params.rb +38 -0
  394. data/stripe-19.3.0/lib/stripe/params/quote_accept_params.rb +13 -0
  395. data/stripe-19.3.0/lib/stripe/params/quote_cancel_params.rb +13 -0
  396. data/stripe-19.3.0/lib/stripe/params/quote_computed_upfront_line_items_list_params.rb +22 -0
  397. data/stripe-19.3.0/lib/stripe/params/quote_create_params.rb +327 -0
  398. data/stripe-19.3.0/lib/stripe/params/quote_finalize_quote_params.rb +16 -0
  399. data/stripe-19.3.0/lib/stripe/params/quote_line_item_list_params.rb +22 -0
  400. data/stripe-19.3.0/lib/stripe/params/quote_list_computed_upfront_line_items_params.rb +22 -0
  401. data/stripe-19.3.0/lib/stripe/params/quote_list_line_items_params.rb +22 -0
  402. data/stripe-19.3.0/lib/stripe/params/quote_list_params.rb +43 -0
  403. data/stripe-19.3.0/lib/stripe/params/quote_pdf_params.rb +13 -0
  404. data/stripe-19.3.0/lib/stripe/params/quote_retrieve_params.rb +13 -0
  405. data/stripe-19.3.0/lib/stripe/params/quote_update_params.rb +289 -0
  406. data/stripe-19.3.0/lib/stripe/params/radar/early_fraud_warning_list_params.rb +58 -0
  407. data/stripe-19.3.0/lib/stripe/params/radar/early_fraud_warning_retrieve_params.rb +15 -0
  408. data/stripe-19.3.0/lib/stripe/params/radar/payment_evaluation_create_params.rb +223 -0
  409. data/stripe-19.3.0/lib/stripe/params/radar/value_list_create_params.rb +27 -0
  410. data/stripe-19.3.0/lib/stripe/params/radar/value_list_delete_params.rb +8 -0
  411. data/stripe-19.3.0/lib/stripe/params/radar/value_list_item_create_params.rb +21 -0
  412. data/stripe-19.3.0/lib/stripe/params/radar/value_list_item_delete_params.rb +8 -0
  413. data/stripe-19.3.0/lib/stripe/params/radar/value_list_item_list_params.rb +58 -0
  414. data/stripe-19.3.0/lib/stripe/params/radar/value_list_item_retrieve_params.rb +15 -0
  415. data/stripe-19.3.0/lib/stripe/params/radar/value_list_list_params.rb +58 -0
  416. data/stripe-19.3.0/lib/stripe/params/radar/value_list_retrieve_params.rb +15 -0
  417. data/stripe-19.3.0/lib/stripe/params/radar/value_list_update_params.rb +24 -0
  418. data/stripe-19.3.0/lib/stripe/params/refund_cancel_params.rb +13 -0
  419. data/stripe-19.3.0/lib/stripe/params/refund_create_params.rb +59 -0
  420. data/stripe-19.3.0/lib/stripe/params/refund_expire_params.rb +13 -0
  421. data/stripe-19.3.0/lib/stripe/params/refund_list_params.rb +56 -0
  422. data/stripe-19.3.0/lib/stripe/params/refund_retrieve_params.rb +13 -0
  423. data/stripe-19.3.0/lib/stripe/params/refund_update_params.rb +16 -0
  424. data/stripe-19.3.0/lib/stripe/params/reporting/report_run_create_params.rb +59 -0
  425. data/stripe-19.3.0/lib/stripe/params/reporting/report_run_list_params.rb +44 -0
  426. data/stripe-19.3.0/lib/stripe/params/reporting/report_run_retrieve_params.rb +15 -0
  427. data/stripe-19.3.0/lib/stripe/params/reporting/report_type_list_params.rb +15 -0
  428. data/stripe-19.3.0/lib/stripe/params/reporting/report_type_retrieve_params.rb +15 -0
  429. data/stripe-19.3.0/lib/stripe/params/review_approve_params.rb +13 -0
  430. data/stripe-19.3.0/lib/stripe/params/review_list_params.rb +42 -0
  431. data/stripe-19.3.0/lib/stripe/params/review_retrieve_params.rb +13 -0
  432. data/stripe-19.3.0/lib/stripe/params/setup_attempt_list_params.rb +55 -0
  433. data/stripe-19.3.0/lib/stripe/params/setup_intent_cancel_params.rb +16 -0
  434. data/stripe-19.3.0/lib/stripe/params/setup_intent_confirm_params.rb +1252 -0
  435. data/stripe-19.3.0/lib/stripe/params/setup_intent_create_params.rb +1342 -0
  436. data/stripe-19.3.0/lib/stripe/params/setup_intent_list_params.rb +66 -0
  437. data/stripe-19.3.0/lib/stripe/params/setup_intent_retrieve_params.rb +16 -0
  438. data/stripe-19.3.0/lib/stripe/params/setup_intent_update_params.rb +1237 -0
  439. data/stripe-19.3.0/lib/stripe/params/setup_intent_verify_microdeposits_params.rb +19 -0
  440. data/stripe-19.3.0/lib/stripe/params/shipping_rate_create_params.rb +103 -0
  441. data/stripe-19.3.0/lib/stripe/params/shipping_rate_list_params.rb +56 -0
  442. data/stripe-19.3.0/lib/stripe/params/shipping_rate_retrieve_params.rb +13 -0
  443. data/stripe-19.3.0/lib/stripe/params/shipping_rate_update_params.rb +44 -0
  444. data/stripe-19.3.0/lib/stripe/params/sigma/scheduled_query_run_list_params.rb +24 -0
  445. data/stripe-19.3.0/lib/stripe/params/sigma/scheduled_query_run_retrieve_params.rb +15 -0
  446. data/stripe-19.3.0/lib/stripe/params/source_create_params.rb +317 -0
  447. data/stripe-19.3.0/lib/stripe/params/source_detach_params.rb +13 -0
  448. data/stripe-19.3.0/lib/stripe/params/source_retrieve_params.rb +16 -0
  449. data/stripe-19.3.0/lib/stripe/params/source_transaction_list_params.rb +22 -0
  450. data/stripe-19.3.0/lib/stripe/params/source_update_params.rb +259 -0
  451. data/stripe-19.3.0/lib/stripe/params/source_verify_params.rb +16 -0
  452. data/stripe-19.3.0/lib/stripe/params/subscription_cancel_params.rb +33 -0
  453. data/stripe-19.3.0/lib/stripe/params/subscription_create_params.rb +917 -0
  454. data/stripe-19.3.0/lib/stripe/params/subscription_delete_discount_params.rb +6 -0
  455. data/stripe-19.3.0/lib/stripe/params/subscription_item_create_params.rb +138 -0
  456. data/stripe-19.3.0/lib/stripe/params/subscription_item_delete_params.rb +27 -0
  457. data/stripe-19.3.0/lib/stripe/params/subscription_item_list_params.rb +31 -0
  458. data/stripe-19.3.0/lib/stripe/params/subscription_item_retrieve_params.rb +13 -0
  459. data/stripe-19.3.0/lib/stripe/params/subscription_item_update_params.rb +138 -0
  460. data/stripe-19.3.0/lib/stripe/params/subscription_list_params.rb +133 -0
  461. data/stripe-19.3.0/lib/stripe/params/subscription_migrate_params.rb +35 -0
  462. data/stripe-19.3.0/lib/stripe/params/subscription_resume_params.rb +27 -0
  463. data/stripe-19.3.0/lib/stripe/params/subscription_retrieve_params.rb +13 -0
  464. data/stripe-19.3.0/lib/stripe/params/subscription_schedule_cancel_params.rb +19 -0
  465. data/stripe-19.3.0/lib/stripe/params/subscription_schedule_create_params.rb +668 -0
  466. data/stripe-19.3.0/lib/stripe/params/subscription_schedule_list_params.rb +126 -0
  467. data/stripe-19.3.0/lib/stripe/params/subscription_schedule_release_params.rb +16 -0
  468. data/stripe-19.3.0/lib/stripe/params/subscription_schedule_retrieve_params.rb +13 -0
  469. data/stripe-19.3.0/lib/stripe/params/subscription_schedule_update_params.rb +636 -0
  470. data/stripe-19.3.0/lib/stripe/params/subscription_search_params.rb +22 -0
  471. data/stripe-19.3.0/lib/stripe/params/subscription_update_params.rb +896 -0
  472. data/stripe-19.3.0/lib/stripe/params/tax/association_find_params.rb +18 -0
  473. data/stripe-19.3.0/lib/stripe/params/tax/calculation_create_params.rb +206 -0
  474. data/stripe-19.3.0/lib/stripe/params/tax/calculation_line_item_list_params.rb +24 -0
  475. data/stripe-19.3.0/lib/stripe/params/tax/calculation_list_line_items_params.rb +24 -0
  476. data/stripe-19.3.0/lib/stripe/params/tax/calculation_retrieve_params.rb +15 -0
  477. data/stripe-19.3.0/lib/stripe/params/tax/registration_create_params.rb +2044 -0
  478. data/stripe-19.3.0/lib/stripe/params/tax/registration_list_params.rb +27 -0
  479. data/stripe-19.3.0/lib/stripe/params/tax/registration_retrieve_params.rb +15 -0
  480. data/stripe-19.3.0/lib/stripe/params/tax/registration_update_params.rb +21 -0
  481. data/stripe-19.3.0/lib/stripe/params/tax/settings_retrieve_params.rb +15 -0
  482. data/stripe-19.3.0/lib/stripe/params/tax/settings_update_params.rb +71 -0
  483. data/stripe-19.3.0/lib/stripe/params/tax/transaction_create_from_calculation_params.rb +27 -0
  484. data/stripe-19.3.0/lib/stripe/params/tax/transaction_create_reversal_params.rb +87 -0
  485. data/stripe-19.3.0/lib/stripe/params/tax/transaction_line_item_list_params.rb +24 -0
  486. data/stripe-19.3.0/lib/stripe/params/tax/transaction_list_line_items_params.rb +24 -0
  487. data/stripe-19.3.0/lib/stripe/params/tax/transaction_retrieve_params.rb +15 -0
  488. data/stripe-19.3.0/lib/stripe/params/tax_code_list_params.rb +22 -0
  489. data/stripe-19.3.0/lib/stripe/params/tax_code_retrieve_params.rb +13 -0
  490. data/stripe-19.3.0/lib/stripe/params/tax_id_create_params.rb +39 -0
  491. data/stripe-19.3.0/lib/stripe/params/tax_id_delete_params.rb +6 -0
  492. data/stripe-19.3.0/lib/stripe/params/tax_id_list_params.rb +42 -0
  493. data/stripe-19.3.0/lib/stripe/params/tax_id_retrieve_params.rb +13 -0
  494. data/stripe-19.3.0/lib/stripe/params/tax_rate_create_params.rb +55 -0
  495. data/stripe-19.3.0/lib/stripe/params/tax_rate_list_params.rb +56 -0
  496. data/stripe-19.3.0/lib/stripe/params/tax_rate_retrieve_params.rb +13 -0
  497. data/stripe-19.3.0/lib/stripe/params/tax_rate_update_params.rb +47 -0
  498. data/stripe-19.3.0/lib/stripe/params/terminal/configuration_create_params.rb +671 -0
  499. data/stripe-19.3.0/lib/stripe/params/terminal/configuration_delete_params.rb +8 -0
  500. data/stripe-19.3.0/lib/stripe/params/terminal/configuration_list_params.rb +33 -0
  501. data/stripe-19.3.0/lib/stripe/params/terminal/configuration_retrieve_params.rb +15 -0
  502. data/stripe-19.3.0/lib/stripe/params/terminal/configuration_update_params.rb +671 -0
  503. data/stripe-19.3.0/lib/stripe/params/terminal/connection_token_create_params.rb +18 -0
  504. data/stripe-19.3.0/lib/stripe/params/terminal/location_create_params.rb +153 -0
  505. data/stripe-19.3.0/lib/stripe/params/terminal/location_delete_params.rb +8 -0
  506. data/stripe-19.3.0/lib/stripe/params/terminal/location_list_params.rb +24 -0
  507. data/stripe-19.3.0/lib/stripe/params/terminal/location_retrieve_params.rb +15 -0
  508. data/stripe-19.3.0/lib/stripe/params/terminal/location_update_params.rb +153 -0
  509. data/stripe-19.3.0/lib/stripe/params/terminal/onboarding_link_create_params.rb +43 -0
  510. data/stripe-19.3.0/lib/stripe/params/terminal/reader_cancel_action_params.rb +15 -0
  511. data/stripe-19.3.0/lib/stripe/params/terminal/reader_collect_inputs_params.rb +96 -0
  512. data/stripe-19.3.0/lib/stripe/params/terminal/reader_collect_payment_method_params.rb +51 -0
  513. data/stripe-19.3.0/lib/stripe/params/terminal/reader_confirm_payment_intent_params.rb +29 -0
  514. data/stripe-19.3.0/lib/stripe/params/terminal/reader_create_params.rb +27 -0
  515. data/stripe-19.3.0/lib/stripe/params/terminal/reader_delete_params.rb +8 -0
  516. data/stripe-19.3.0/lib/stripe/params/terminal/reader_list_params.rb +45 -0
  517. data/stripe-19.3.0/lib/stripe/params/terminal/reader_present_payment_method_params.rb +72 -0
  518. data/stripe-19.3.0/lib/stripe/params/terminal/reader_process_payment_intent_params.rb +55 -0
  519. data/stripe-19.3.0/lib/stripe/params/terminal/reader_process_setup_intent_params.rb +32 -0
  520. data/stripe-19.3.0/lib/stripe/params/terminal/reader_refund_payment_params.rb +53 -0
  521. data/stripe-19.3.0/lib/stripe/params/terminal/reader_retrieve_params.rb +15 -0
  522. data/stripe-19.3.0/lib/stripe/params/terminal/reader_set_reader_display_params.rb +52 -0
  523. data/stripe-19.3.0/lib/stripe/params/terminal/reader_succeed_input_collection_params.rb +18 -0
  524. data/stripe-19.3.0/lib/stripe/params/terminal/reader_timeout_input_collection_params.rb +15 -0
  525. data/stripe-19.3.0/lib/stripe/params/terminal/reader_update_params.rb +21 -0
  526. data/stripe-19.3.0/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +717 -0
  527. data/stripe-19.3.0/lib/stripe/params/test_helpers/customer_fund_cash_balance_params.rb +24 -0
  528. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +395 -0
  529. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +457 -0
  530. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/authorization_expire_params.rb +17 -0
  531. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb +228 -0
  532. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/authorization_increment_params.rb +23 -0
  533. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/authorization_respond_params.rb +20 -0
  534. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/authorization_reverse_params.rb +20 -0
  535. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/card_deliver_card_params.rb +17 -0
  536. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/card_fail_card_params.rb +17 -0
  537. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/card_return_card_params.rb +17 -0
  538. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/card_ship_card_params.rb +17 -0
  539. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/card_submit_card_params.rb +17 -0
  540. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/personalization_design_activate_params.rb +17 -0
  541. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/personalization_design_deactivate_params.rb +17 -0
  542. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/personalization_design_reject_params.rb +31 -0
  543. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +446 -0
  544. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +446 -0
  545. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/transaction_refund_params.rb +20 -0
  546. data/stripe-19.3.0/lib/stripe/params/test_helpers/refund_expire_params.rb +15 -0
  547. data/stripe-19.3.0/lib/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rb +74 -0
  548. data/stripe-19.3.0/lib/stripe/params/test_helpers/terminal/reader_succeed_input_collection_params.rb +20 -0
  549. data/stripe-19.3.0/lib/stripe/params/test_helpers/terminal/reader_timeout_input_collection_params.rb +17 -0
  550. data/stripe-19.3.0/lib/stripe/params/test_helpers/test_clock_advance_params.rb +18 -0
  551. data/stripe-19.3.0/lib/stripe/params/test_helpers/test_clock_create_params.rb +24 -0
  552. data/stripe-19.3.0/lib/stripe/params/test_helpers/test_clock_delete_params.rb +8 -0
  553. data/stripe-19.3.0/lib/stripe/params/test_helpers/test_clock_list_params.rb +24 -0
  554. data/stripe-19.3.0/lib/stripe/params/test_helpers/test_clock_retrieve_params.rb +15 -0
  555. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.rb +28 -0
  556. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/inbound_transfer_return_inbound_transfer_params.rb +17 -0
  557. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/inbound_transfer_succeed_params.rb +17 -0
  558. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/outbound_payment_fail_params.rb +17 -0
  559. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/outbound_payment_post_params.rb +17 -0
  560. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/outbound_payment_return_outbound_payment_params.rb +28 -0
  561. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/outbound_payment_update_params.rb +57 -0
  562. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/outbound_transfer_fail_params.rb +17 -0
  563. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/outbound_transfer_post_params.rb +17 -0
  564. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/outbound_transfer_return_outbound_transfer_params.rb +28 -0
  565. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/outbound_transfer_update_params.rb +57 -0
  566. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +68 -0
  567. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +68 -0
  568. data/stripe-19.3.0/lib/stripe/params/token_create_params.rb +1210 -0
  569. data/stripe-19.3.0/lib/stripe/params/token_retrieve_params.rb +13 -0
  570. data/stripe-19.3.0/lib/stripe/params/topup_cancel_params.rb +13 -0
  571. data/stripe-19.3.0/lib/stripe/params/topup_create_params.rb +67 -0
  572. data/stripe-19.3.0/lib/stripe/params/topup_list_params.rb +74 -0
  573. data/stripe-19.3.0/lib/stripe/params/topup_retrieve_params.rb +13 -0
  574. data/stripe-19.3.0/lib/stripe/params/topup_update_params.rb +19 -0
  575. data/stripe-19.3.0/lib/stripe/params/transfer_create_params.rb +47 -0
  576. data/stripe-19.3.0/lib/stripe/params/transfer_list_params.rb +56 -0
  577. data/stripe-19.3.0/lib/stripe/params/transfer_retrieve_params.rb +13 -0
  578. data/stripe-19.3.0/lib/stripe/params/transfer_reversal_create_params.rb +31 -0
  579. data/stripe-19.3.0/lib/stripe/params/transfer_reversal_list_params.rb +22 -0
  580. data/stripe-19.3.0/lib/stripe/params/transfer_reversal_retrieve_params.rb +13 -0
  581. data/stripe-19.3.0/lib/stripe/params/transfer_reversal_update_params.rb +16 -0
  582. data/stripe-19.3.0/lib/stripe/params/transfer_update_params.rb +19 -0
  583. data/stripe-19.3.0/lib/stripe/params/treasury/credit_reversal_create_params.rb +21 -0
  584. data/stripe-19.3.0/lib/stripe/params/treasury/credit_reversal_list_params.rb +41 -0
  585. data/stripe-19.3.0/lib/stripe/params/treasury/credit_reversal_retrieve_params.rb +15 -0
  586. data/stripe-19.3.0/lib/stripe/params/treasury/debit_reversal_create_params.rb +21 -0
  587. data/stripe-19.3.0/lib/stripe/params/treasury/debit_reversal_list_params.rb +45 -0
  588. data/stripe-19.3.0/lib/stripe/params/treasury/debit_reversal_retrieve_params.rb +15 -0
  589. data/stripe-19.3.0/lib/stripe/params/treasury/financial_account_close_params.rb +32 -0
  590. data/stripe-19.3.0/lib/stripe/params/treasury/financial_account_create_params.rb +201 -0
  591. data/stripe-19.3.0/lib/stripe/params/treasury/financial_account_features_retrieve_params.rb +15 -0
  592. data/stripe-19.3.0/lib/stripe/params/treasury/financial_account_features_update_params.rb +163 -0
  593. data/stripe-19.3.0/lib/stripe/params/treasury/financial_account_list_params.rb +54 -0
  594. data/stripe-19.3.0/lib/stripe/params/treasury/financial_account_retrieve_features_params.rb +15 -0
  595. data/stripe-19.3.0/lib/stripe/params/treasury/financial_account_retrieve_params.rb +15 -0
  596. data/stripe-19.3.0/lib/stripe/params/treasury/financial_account_update_features_params.rb +163 -0
  597. data/stripe-19.3.0/lib/stripe/params/treasury/financial_account_update_params.rb +216 -0
  598. data/stripe-19.3.0/lib/stripe/params/treasury/inbound_transfer_cancel_params.rb +15 -0
  599. data/stripe-19.3.0/lib/stripe/params/treasury/inbound_transfer_create_params.rb +45 -0
  600. data/stripe-19.3.0/lib/stripe/params/treasury/inbound_transfer_fail_params.rb +26 -0
  601. data/stripe-19.3.0/lib/stripe/params/treasury/inbound_transfer_list_params.rb +37 -0
  602. data/stripe-19.3.0/lib/stripe/params/treasury/inbound_transfer_retrieve_params.rb +15 -0
  603. data/stripe-19.3.0/lib/stripe/params/treasury/inbound_transfer_return_inbound_transfer_params.rb +15 -0
  604. data/stripe-19.3.0/lib/stripe/params/treasury/inbound_transfer_succeed_params.rb +15 -0
  605. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_payment_cancel_params.rb +15 -0
  606. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_payment_create_params.rb +190 -0
  607. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_payment_fail_params.rb +15 -0
  608. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_payment_list_params.rb +62 -0
  609. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_payment_post_params.rb +15 -0
  610. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_payment_retrieve_params.rb +15 -0
  611. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_payment_return_outbound_payment_params.rb +26 -0
  612. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_payment_update_params.rb +55 -0
  613. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_transfer_cancel_params.rb +15 -0
  614. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_transfer_create_params.rb +81 -0
  615. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_transfer_fail_params.rb +15 -0
  616. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_transfer_list_params.rb +37 -0
  617. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_transfer_post_params.rb +15 -0
  618. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_transfer_retrieve_params.rb +15 -0
  619. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_transfer_return_outbound_transfer_params.rb +26 -0
  620. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_transfer_update_params.rb +55 -0
  621. data/stripe-19.3.0/lib/stripe/params/treasury/received_credit_create_params.rb +66 -0
  622. data/stripe-19.3.0/lib/stripe/params/treasury/received_credit_list_params.rb +49 -0
  623. data/stripe-19.3.0/lib/stripe/params/treasury/received_credit_retrieve_params.rb +15 -0
  624. data/stripe-19.3.0/lib/stripe/params/treasury/received_debit_create_params.rb +66 -0
  625. data/stripe-19.3.0/lib/stripe/params/treasury/received_debit_list_params.rb +37 -0
  626. data/stripe-19.3.0/lib/stripe/params/treasury/received_debit_retrieve_params.rb +15 -0
  627. data/stripe-19.3.0/lib/stripe/params/treasury/transaction_entry_list_params.rb +84 -0
  628. data/stripe-19.3.0/lib/stripe/params/treasury/transaction_entry_retrieve_params.rb +15 -0
  629. data/stripe-19.3.0/lib/stripe/params/treasury/transaction_list_params.rb +92 -0
  630. data/stripe-19.3.0/lib/stripe/params/treasury/transaction_retrieve_params.rb +15 -0
  631. data/stripe-19.3.0/lib/stripe/params/v2/billing/meter_event_adjustment_create_params.rb +31 -0
  632. data/stripe-19.3.0/lib/stripe/params/v2/billing/meter_event_create_params.rb +33 -0
  633. data/stripe-19.3.0/lib/stripe/params/v2/billing/meter_event_session_create_params.rb +10 -0
  634. data/stripe-19.3.0/lib/stripe/params/v2/billing/meter_event_stream_create_params.rb +41 -0
  635. data/stripe-19.3.0/lib/stripe/params/v2/commerce/product_catalog/import_create_params.rb +25 -0
  636. data/stripe-19.3.0/lib/stripe/params/v2/commerce/product_catalog/import_list_params.rb +54 -0
  637. data/stripe-19.3.0/lib/stripe/params/v2/commerce/product_catalog/import_retrieve_params.rb +12 -0
  638. data/stripe-19.3.0/lib/stripe/params/v2/core/account_close_params.rb +17 -0
  639. data/stripe-19.3.0/lib/stripe/params/v2/core/account_create_params.rb +2189 -0
  640. data/stripe-19.3.0/lib/stripe/params/v2/core/account_link_create_params.rb +101 -0
  641. data/stripe-19.3.0/lib/stripe/params/v2/core/account_list_params.rb +23 -0
  642. data/stripe-19.3.0/lib/stripe/params/v2/core/account_retrieve_params.rb +17 -0
  643. data/stripe-19.3.0/lib/stripe/params/v2/core/account_token_create_params.rb +1070 -0
  644. data/stripe-19.3.0/lib/stripe/params/v2/core/account_token_retrieve_params.rb +10 -0
  645. data/stripe-19.3.0/lib/stripe/params/v2/core/account_update_params.rb +2242 -0
  646. data/stripe-19.3.0/lib/stripe/params/v2/core/accounts/person_create_params.rb +507 -0
  647. data/stripe-19.3.0/lib/stripe/params/v2/core/accounts/person_delete_params.rb +12 -0
  648. data/stripe-19.3.0/lib/stripe/params/v2/core/accounts/person_list_params.rb +19 -0
  649. data/stripe-19.3.0/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb +12 -0
  650. data/stripe-19.3.0/lib/stripe/params/v2/core/accounts/person_token_create_params.rb +497 -0
  651. data/stripe-19.3.0/lib/stripe/params/v2/core/accounts/person_token_retrieve_params.rb +12 -0
  652. data/stripe-19.3.0/lib/stripe/params/v2/core/accounts/person_update_params.rb +507 -0
  653. data/stripe-19.3.0/lib/stripe/params/v2/core/event_destination_create_params.rb +106 -0
  654. data/stripe-19.3.0/lib/stripe/params/v2/core/event_destination_delete_params.rb +10 -0
  655. data/stripe-19.3.0/lib/stripe/params/v2/core/event_destination_disable_params.rb +10 -0
  656. data/stripe-19.3.0/lib/stripe/params/v2/core/event_destination_enable_params.rb +10 -0
  657. data/stripe-19.3.0/lib/stripe/params/v2/core/event_destination_list_params.rb +20 -0
  658. data/stripe-19.3.0/lib/stripe/params/v2/core/event_destination_ping_params.rb +10 -0
  659. data/stripe-19.3.0/lib/stripe/params/v2/core/event_destination_retrieve_params.rb +17 -0
  660. data/stripe-19.3.0/lib/stripe/params/v2/core/event_destination_update_params.rb +47 -0
  661. data/stripe-19.3.0/lib/stripe/params/v2/core/event_list_params.rb +45 -0
  662. data/stripe-19.3.0/lib/stripe/params/v2/core/event_retrieve_params.rb +10 -0
  663. data/stripe-19.3.0/lib/stripe/params/webhook_endpoint_create_params.rb +39 -0
  664. data/stripe-19.3.0/lib/stripe/params/webhook_endpoint_delete_params.rb +6 -0
  665. data/stripe-19.3.0/lib/stripe/params/webhook_endpoint_list_params.rb +22 -0
  666. data/stripe-19.3.0/lib/stripe/params/webhook_endpoint_retrieve_params.rb +13 -0
  667. data/stripe-19.3.0/lib/stripe/params/webhook_endpoint_update_params.rb +35 -0
  668. data/stripe-19.3.0/lib/stripe/params.rb +1345 -0
  669. data/stripe-19.3.0/lib/stripe/railtie.rb +8 -0
  670. data/stripe-19.3.0/lib/stripe/request_options.rb +138 -0
  671. data/stripe-19.3.0/lib/stripe/request_params.rb +140 -0
  672. data/stripe-19.3.0/lib/stripe/resources/account.rb +1295 -0
  673. data/stripe-19.3.0/lib/stripe/resources/account_link.rb +39 -0
  674. data/stripe-19.3.0/lib/stripe/resources/account_session.rb +737 -0
  675. data/stripe-19.3.0/lib/stripe/resources/apple_pay_domain.rb +76 -0
  676. data/stripe-19.3.0/lib/stripe/resources/application.rb +28 -0
  677. data/stripe-19.3.0/lib/stripe/resources/application_fee.rb +76 -0
  678. data/stripe-19.3.0/lib/stripe/resources/application_fee_refund.rb +63 -0
  679. data/stripe-19.3.0/lib/stripe/resources/apps/secret.rb +96 -0
  680. data/stripe-19.3.0/lib/stripe/resources/balance.rb +340 -0
  681. data/stripe-19.3.0/lib/stripe/resources/balance_settings.rb +132 -0
  682. data/stripe-19.3.0/lib/stripe/resources/balance_transaction.rb +90 -0
  683. data/stripe-19.3.0/lib/stripe/resources/bank_account.rb +214 -0
  684. data/stripe-19.3.0/lib/stripe/resources/billing/alert.rb +142 -0
  685. data/stripe-19.3.0/lib/stripe/resources/billing/alert_triggered.rb +34 -0
  686. data/stripe-19.3.0/lib/stripe/resources/billing/credit_balance_summary.rb +104 -0
  687. data/stripe-19.3.0/lib/stripe/resources/billing/credit_balance_transaction.rb +177 -0
  688. data/stripe-19.3.0/lib/stripe/resources/billing/credit_grant.rb +200 -0
  689. data/stripe-19.3.0/lib/stripe/resources/billing/meter.rb +178 -0
  690. data/stripe-19.3.0/lib/stripe/resources/billing/meter_event.rb +49 -0
  691. data/stripe-19.3.0/lib/stripe/resources/billing/meter_event_adjustment.rb +59 -0
  692. data/stripe-19.3.0/lib/stripe/resources/billing/meter_event_summary.rb +40 -0
  693. data/stripe-19.3.0/lib/stripe/resources/billing_portal/configuration.rb +306 -0
  694. data/stripe-19.3.0/lib/stripe/resources/billing_portal/session.rb +240 -0
  695. data/stripe-19.3.0/lib/stripe/resources/capability.rb +179 -0
  696. data/stripe-19.3.0/lib/stripe/resources/card.rb +162 -0
  697. data/stripe-19.3.0/lib/stripe/resources/cash_balance.rb +61 -0
  698. data/stripe-19.3.0/lib/stripe/resources/charge.rb +2418 -0
  699. data/stripe-19.3.0/lib/stripe/resources/checkout/session.rb +2541 -0
  700. data/stripe-19.3.0/lib/stripe/resources/climate/order.rb +177 -0
  701. data/stripe-19.3.0/lib/stripe/resources/climate/product.rb +76 -0
  702. data/stripe-19.3.0/lib/stripe/resources/climate/supplier.rb +69 -0
  703. data/stripe-19.3.0/lib/stripe/resources/confirmation_token.rb +1808 -0
  704. data/stripe-19.3.0/lib/stripe/resources/connect_collection_transfer.rb +32 -0
  705. data/stripe-19.3.0/lib/stripe/resources/country_spec.rb +92 -0
  706. data/stripe-19.3.0/lib/stripe/resources/coupon.rb +131 -0
  707. data/stripe-19.3.0/lib/stripe/resources/credit_note.rb +317 -0
  708. data/stripe-19.3.0/lib/stripe/resources/credit_note_line_item.rb +129 -0
  709. data/stripe-19.3.0/lib/stripe/resources/customer.rb +450 -0
  710. data/stripe-19.3.0/lib/stripe/resources/customer_balance_transaction.rb +78 -0
  711. data/stripe-19.3.0/lib/stripe/resources/customer_cash_balance_transaction.rb +234 -0
  712. data/stripe-19.3.0/lib/stripe/resources/customer_session.rb +228 -0
  713. data/stripe-19.3.0/lib/stripe/resources/discount.rb +66 -0
  714. data/stripe-19.3.0/lib/stripe/resources/dispute.rb +496 -0
  715. data/stripe-19.3.0/lib/stripe/resources/entitlements/active_entitlement.rb +45 -0
  716. data/stripe-19.3.0/lib/stripe/resources/entitlements/active_entitlement_summary.rb +31 -0
  717. data/stripe-19.3.0/lib/stripe/resources/entitlements/feature.rb +72 -0
  718. data/stripe-19.3.0/lib/stripe/resources/ephemeral_key.rb +64 -0
  719. data/stripe-19.3.0/lib/stripe/resources/event.rb +96 -0
  720. data/stripe-19.3.0/lib/stripe/resources/exchange_rate.rb +69 -0
  721. data/stripe-19.3.0/lib/stripe/resources/file.rb +89 -0
  722. data/stripe-19.3.0/lib/stripe/resources/file_link.rb +65 -0
  723. data/stripe-19.3.0/lib/stripe/resources/financial_connections/account.rb +375 -0
  724. data/stripe-19.3.0/lib/stripe/resources/financial_connections/account_owner.rb +39 -0
  725. data/stripe-19.3.0/lib/stripe/resources/financial_connections/account_ownership.rb +31 -0
  726. data/stripe-19.3.0/lib/stripe/resources/financial_connections/session.rb +88 -0
  727. data/stripe-19.3.0/lib/stripe/resources/financial_connections/transaction.rb +73 -0
  728. data/stripe-19.3.0/lib/stripe/resources/forwarding/request.rb +163 -0
  729. data/stripe-19.3.0/lib/stripe/resources/funding_instructions.rb +525 -0
  730. data/stripe-19.3.0/lib/stripe/resources/identity/verification_report.rb +408 -0
  731. data/stripe-19.3.0/lib/stripe/resources/identity/verification_session.rb +428 -0
  732. data/stripe-19.3.0/lib/stripe/resources/invoice.rb +1361 -0
  733. data/stripe-19.3.0/lib/stripe/resources/invoice_item.rb +271 -0
  734. data/stripe-19.3.0/lib/stripe/resources/invoice_line_item.rb +321 -0
  735. data/stripe-19.3.0/lib/stripe/resources/invoice_payment.rb +92 -0
  736. data/stripe-19.3.0/lib/stripe/resources/invoice_rendering_template.rb +90 -0
  737. data/stripe-19.3.0/lib/stripe/resources/issuing/authorization.rb +762 -0
  738. data/stripe-19.3.0/lib/stripe/resources/issuing/card.rb +463 -0
  739. data/stripe-19.3.0/lib/stripe/resources/issuing/cardholder.rb +296 -0
  740. data/stripe-19.3.0/lib/stripe/resources/issuing/dispute.rb +324 -0
  741. data/stripe-19.3.0/lib/stripe/resources/issuing/personalization_design.rb +206 -0
  742. data/stripe-19.3.0/lib/stripe/resources/issuing/physical_bundle.rb +65 -0
  743. data/stripe-19.3.0/lib/stripe/resources/issuing/token.rb +195 -0
  744. data/stripe-19.3.0/lib/stripe/resources/issuing/transaction.rb +571 -0
  745. data/stripe-19.3.0/lib/stripe/resources/line_item.rb +108 -0
  746. data/stripe-19.3.0/lib/stripe/resources/login_link.rb +35 -0
  747. data/stripe-19.3.0/lib/stripe/resources/mandate.rb +468 -0
  748. data/stripe-19.3.0/lib/stripe/resources/payment_attempt_record.rb +2060 -0
  749. data/stripe-19.3.0/lib/stripe/resources/payment_intent.rb +3456 -0
  750. data/stripe-19.3.0/lib/stripe/resources/payment_intent_amount_details_line_item.rb +138 -0
  751. data/stripe-19.3.0/lib/stripe/resources/payment_link.rb +849 -0
  752. data/stripe-19.3.0/lib/stripe/resources/payment_method.rb +1754 -0
  753. data/stripe-19.3.0/lib/stripe/resources/payment_method_configuration.rb +2056 -0
  754. data/stripe-19.3.0/lib/stripe/resources/payment_method_domain.rb +280 -0
  755. data/stripe-19.3.0/lib/stripe/resources/payment_record.rb +2190 -0
  756. data/stripe-19.3.0/lib/stripe/resources/payout.rb +168 -0
  757. data/stripe-19.3.0/lib/stripe/resources/person.rb +506 -0
  758. data/stripe-19.3.0/lib/stripe/resources/plan.rb +170 -0
  759. data/stripe-19.3.0/lib/stripe/resources/price.rb +280 -0
  760. data/stripe-19.3.0/lib/stripe/resources/product.rb +159 -0
  761. data/stripe-19.3.0/lib/stripe/resources/product_feature.rb +33 -0
  762. data/stripe-19.3.0/lib/stripe/resources/promotion_code.rb +122 -0
  763. data/stripe-19.3.0/lib/stripe/resources/quote.rb +675 -0
  764. data/stripe-19.3.0/lib/stripe/resources/radar/early_fraud_warning.rb +54 -0
  765. data/stripe-19.3.0/lib/stripe/resources/radar/payment_evaluation.rb +497 -0
  766. data/stripe-19.3.0/lib/stripe/resources/radar/value_list.rb +102 -0
  767. data/stripe-19.3.0/lib/stripe/resources/radar/value_list_item.rb +85 -0
  768. data/stripe-19.3.0/lib/stripe/resources/refund.rb +781 -0
  769. data/stripe-19.3.0/lib/stripe/resources/reporting/report_run.rb +104 -0
  770. data/stripe-19.3.0/lib/stripe/resources/reporting/report_type.rb +60 -0
  771. data/stripe-19.3.0/lib/stripe/resources/reserve/hold.rb +84 -0
  772. data/stripe-19.3.0/lib/stripe/resources/reserve/plan.rb +78 -0
  773. data/stripe-19.3.0/lib/stripe/resources/reserve/release.rb +65 -0
  774. data/stripe-19.3.0/lib/stripe/resources/reserve_transaction.rb +30 -0
  775. data/stripe-19.3.0/lib/stripe/resources/reversal.rb +74 -0
  776. data/stripe-19.3.0/lib/stripe/resources/review.rb +118 -0
  777. data/stripe-19.3.0/lib/stripe/resources/setup_attempt.rb +683 -0
  778. data/stripe-19.3.0/lib/stripe/resources/setup_intent.rb +942 -0
  779. data/stripe-19.3.0/lib/stripe/resources/shipping_rate.rb +144 -0
  780. data/stripe-19.3.0/lib/stripe/resources/sigma/scheduled_query_run.rb +76 -0
  781. data/stripe-19.3.0/lib/stripe/resources/source.rb +972 -0
  782. data/stripe-19.3.0/lib/stripe/resources/source_mandate_notification.rb +98 -0
  783. data/stripe-19.3.0/lib/stripe/resources/source_transaction.rb +154 -0
  784. data/stripe-19.3.0/lib/stripe/resources/subscription.rb +975 -0
  785. data/stripe-19.3.0/lib/stripe/resources/subscription_item.rb +131 -0
  786. data/stripe-19.3.0/lib/stripe/resources/subscription_schedule.rb +618 -0
  787. data/stripe-19.3.0/lib/stripe/resources/tax/association.rb +86 -0
  788. data/stripe-19.3.0/lib/stripe/resources/tax/calculation.rb +321 -0
  789. data/stripe-19.3.0/lib/stripe/resources/tax/calculation_line_item.rb +103 -0
  790. data/stripe-19.3.0/lib/stripe/resources/tax/registration.rb +2275 -0
  791. data/stripe-19.3.0/lib/stripe/resources/tax/settings.rb +131 -0
  792. data/stripe-19.3.0/lib/stripe/resources/tax/transaction.rb +287 -0
  793. data/stripe-19.3.0/lib/stripe/resources/tax/transaction_line_item.rb +60 -0
  794. data/stripe-19.3.0/lib/stripe/resources/tax_code.rb +36 -0
  795. data/stripe-19.3.0/lib/stripe/resources/tax_deducted_at_source.rb +30 -0
  796. data/stripe-19.3.0/lib/stripe/resources/tax_id.rb +119 -0
  797. data/stripe-19.3.0/lib/stripe/resources/tax_rate.rb +99 -0
  798. data/stripe-19.3.0/lib/stripe/resources/terminal/configuration.rb +799 -0
  799. data/stripe-19.3.0/lib/stripe/resources/terminal/connection_token.rb +43 -0
  800. data/stripe-19.3.0/lib/stripe/resources/terminal/location.rb +183 -0
  801. data/stripe-19.3.0/lib/stripe/resources/terminal/onboarding_link.rb +71 -0
  802. data/stripe-19.3.0/lib/stripe/resources/terminal/reader.rb +925 -0
  803. data/stripe-19.3.0/lib/stripe/resources/test_helpers/test_clock.rb +133 -0
  804. data/stripe-19.3.0/lib/stripe/resources/token.rb +76 -0
  805. data/stripe-19.3.0/lib/stripe/resources/topup.rb +101 -0
  806. data/stripe-19.3.0/lib/stripe/resources/transfer.rb +93 -0
  807. data/stripe-19.3.0/lib/stripe/resources/treasury/credit_reversal.rb +86 -0
  808. data/stripe-19.3.0/lib/stripe/resources/treasury/debit_reversal.rb +101 -0
  809. data/stripe-19.3.0/lib/stripe/resources/treasury/financial_account.rb +253 -0
  810. data/stripe-19.3.0/lib/stripe/resources/treasury/financial_account_features.rb +396 -0
  811. data/stripe-19.3.0/lib/stripe/resources/treasury/inbound_transfer.rb +308 -0
  812. data/stripe-19.3.0/lib/stripe/resources/treasury/outbound_payment.rb +408 -0
  813. data/stripe-19.3.0/lib/stripe/resources/treasury/outbound_transfer.rb +388 -0
  814. data/stripe-19.3.0/lib/stripe/resources/treasury/received_credit.rb +261 -0
  815. data/stripe-19.3.0/lib/stripe/resources/treasury/received_debit.rb +226 -0
  816. data/stripe-19.3.0/lib/stripe/resources/treasury/transaction.rb +143 -0
  817. data/stripe-19.3.0/lib/stripe/resources/treasury/transaction_entry.rb +124 -0
  818. data/stripe-19.3.0/lib/stripe/resources/v2/amount.rb +9 -0
  819. data/stripe-19.3.0/lib/stripe/resources/v2/billing/meter_event.rb +43 -0
  820. data/stripe-19.3.0/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +53 -0
  821. data/stripe-19.3.0/lib/stripe/resources/v2/billing/meter_event_session.rb +38 -0
  822. data/stripe-19.3.0/lib/stripe/resources/v2/commerce/product_catalog_import.rb +276 -0
  823. data/stripe-19.3.0/lib/stripe/resources/v2/core/account.rb +3645 -0
  824. data/stripe-19.3.0/lib/stripe/resources/v2/core/account_link.rb +123 -0
  825. data/stripe-19.3.0/lib/stripe/resources/v2/core/account_person.rb +487 -0
  826. data/stripe-19.3.0/lib/stripe/resources/v2/core/account_person_token.rb +37 -0
  827. data/stripe-19.3.0/lib/stripe/resources/v2/core/account_token.rb +37 -0
  828. data/stripe-19.3.0/lib/stripe/resources/v2/core/event.rb +70 -0
  829. data/stripe-19.3.0/lib/stripe/resources/v2/core/event_destination.rb +147 -0
  830. data/stripe-19.3.0/lib/stripe/resources/v2/core/event_notification.rb +63 -0
  831. data/stripe-19.3.0/lib/stripe/resources/v2/deleted_object.rb +21 -0
  832. data/stripe-19.3.0/lib/stripe/resources/webhook_endpoint.rb +103 -0
  833. data/stripe-19.3.0/lib/stripe/resources.rb +503 -0
  834. data/stripe-19.3.0/lib/stripe/search_result_object.rb +89 -0
  835. data/stripe-19.3.0/lib/stripe/services/account_capability_service.rb +39 -0
  836. data/stripe-19.3.0/lib/stripe/services/account_external_account_service.rb +68 -0
  837. data/stripe-19.3.0/lib/stripe/services/account_link_service.rb +17 -0
  838. data/stripe-19.3.0/lib/stripe/services/account_login_link_service.rb +19 -0
  839. data/stripe-19.3.0/lib/stripe/services/account_person_service.rb +61 -0
  840. data/stripe-19.3.0/lib/stripe/services/account_service.rb +100 -0
  841. data/stripe-19.3.0/lib/stripe/services/account_session_service.rb +17 -0
  842. data/stripe-19.3.0/lib/stripe/services/apple_pay_domain_service.rb +50 -0
  843. data/stripe-19.3.0/lib/stripe/services/application_fee_refund_service.rb +60 -0
  844. data/stripe-19.3.0/lib/stripe/services/application_fee_service.rb +35 -0
  845. data/stripe-19.3.0/lib/stripe/services/apps/secret_service.rb +52 -0
  846. data/stripe-19.3.0/lib/stripe/services/apps_service.rb +13 -0
  847. data/stripe-19.3.0/lib/stripe/services/balance_service.rb +12 -0
  848. data/stripe-19.3.0/lib/stripe/services/balance_settings_service.rb +30 -0
  849. data/stripe-19.3.0/lib/stripe/services/balance_transaction_service.rb +32 -0
  850. data/stripe-19.3.0/lib/stripe/services/billing/alert_service.rb +74 -0
  851. data/stripe-19.3.0/lib/stripe/services/billing/credit_balance_summary_service.rb +19 -0
  852. data/stripe-19.3.0/lib/stripe/services/billing/credit_balance_transaction_service.rb +30 -0
  853. data/stripe-19.3.0/lib/stripe/services/billing/credit_grant_service.rb +74 -0
  854. data/stripe-19.3.0/lib/stripe/services/billing/meter_event_adjustment_service.rb +19 -0
  855. data/stripe-19.3.0/lib/stripe/services/billing/meter_event_service.rb +19 -0
  856. data/stripe-19.3.0/lib/stripe/services/billing/meter_event_summary_service.rb +19 -0
  857. data/stripe-19.3.0/lib/stripe/services/billing/meter_service.rb +81 -0
  858. data/stripe-19.3.0/lib/stripe/services/billing_portal/configuration_service.rb +52 -0
  859. data/stripe-19.3.0/lib/stripe/services/billing_portal/session_service.rb +19 -0
  860. data/stripe-19.3.0/lib/stripe/services/billing_portal_service.rb +14 -0
  861. data/stripe-19.3.0/lib/stripe/services/billing_service.rb +20 -0
  862. data/stripe-19.3.0/lib/stripe/services/charge_service.rb +69 -0
  863. data/stripe-19.3.0/lib/stripe/services/checkout/session_line_item_service.rb +19 -0
  864. data/stripe-19.3.0/lib/stripe/services/checkout/session_service.rb +82 -0
  865. data/stripe-19.3.0/lib/stripe/services/checkout_service.rb +13 -0
  866. data/stripe-19.3.0/lib/stripe/services/climate/order_service.rb +70 -0
  867. data/stripe-19.3.0/lib/stripe/services/climate/product_service.rb +30 -0
  868. data/stripe-19.3.0/lib/stripe/services/climate/supplier_service.rb +30 -0
  869. data/stripe-19.3.0/lib/stripe/services/climate_service.rb +15 -0
  870. data/stripe-19.3.0/lib/stripe/services/confirmation_token_service.rb +17 -0
  871. data/stripe-19.3.0/lib/stripe/services/country_spec_service.rb +28 -0
  872. data/stripe-19.3.0/lib/stripe/services/coupon_service.rb +51 -0
  873. data/stripe-19.3.0/lib/stripe/services/credit_note_line_item_service.rb +17 -0
  874. data/stripe-19.3.0/lib/stripe/services/credit_note_preview_lines_service.rb +21 -0
  875. data/stripe-19.3.0/lib/stripe/services/credit_note_service.rb +98 -0
  876. data/stripe-19.3.0/lib/stripe/services/customer_balance_transaction_service.rb +50 -0
  877. data/stripe-19.3.0/lib/stripe/services/customer_cash_balance_service.rb +28 -0
  878. data/stripe-19.3.0/lib/stripe/services/customer_cash_balance_transaction_service.rb +28 -0
  879. data/stripe-19.3.0/lib/stripe/services/customer_funding_instructions_service.rb +19 -0
  880. data/stripe-19.3.0/lib/stripe/services/customer_payment_method_service.rb +28 -0
  881. data/stripe-19.3.0/lib/stripe/services/customer_payment_source_service.rb +76 -0
  882. data/stripe-19.3.0/lib/stripe/services/customer_service.rb +89 -0
  883. data/stripe-19.3.0/lib/stripe/services/customer_session_service.rb +17 -0
  884. data/stripe-19.3.0/lib/stripe/services/customer_tax_id_service.rb +50 -0
  885. data/stripe-19.3.0/lib/stripe/services/dispute_service.rb +48 -0
  886. data/stripe-19.3.0/lib/stripe/services/entitlements/active_entitlement_service.rb +30 -0
  887. data/stripe-19.3.0/lib/stripe/services/entitlements/feature_service.rb +52 -0
  888. data/stripe-19.3.0/lib/stripe/services/entitlements_service.rb +14 -0
  889. data/stripe-19.3.0/lib/stripe/services/ephemeral_key_service.rb +28 -0
  890. data/stripe-19.3.0/lib/stripe/services/event_service.rb +22 -0
  891. data/stripe-19.3.0/lib/stripe/services/exchange_rate_service.rb +32 -0
  892. data/stripe-19.3.0/lib/stripe/services/file_link_service.rb +38 -0
  893. data/stripe-19.3.0/lib/stripe/services/file_service.rb +35 -0
  894. data/stripe-19.3.0/lib/stripe/services/financial_connections/account_owner_service.rb +19 -0
  895. data/stripe-19.3.0/lib/stripe/services/financial_connections/account_service.rb +81 -0
  896. data/stripe-19.3.0/lib/stripe/services/financial_connections/session_service.rb +30 -0
  897. data/stripe-19.3.0/lib/stripe/services/financial_connections/transaction_service.rb +30 -0
  898. data/stripe-19.3.0/lib/stripe/services/financial_connections_service.rb +15 -0
  899. data/stripe-19.3.0/lib/stripe/services/forwarding/request_service.rb +41 -0
  900. data/stripe-19.3.0/lib/stripe/services/forwarding_service.rb +13 -0
  901. data/stripe-19.3.0/lib/stripe/services/identity/verification_report_service.rb +30 -0
  902. data/stripe-19.3.0/lib/stripe/services/identity/verification_session_service.rb +106 -0
  903. data/stripe-19.3.0/lib/stripe/services/identity_service.rb +14 -0
  904. data/stripe-19.3.0/lib/stripe/services/invoice_item_service.rb +65 -0
  905. data/stripe-19.3.0/lib/stripe/services/invoice_line_item_service.rb +33 -0
  906. data/stripe-19.3.0/lib/stripe/services/invoice_payment_service.rb +28 -0
  907. data/stripe-19.3.0/lib/stripe/services/invoice_rendering_template_service.rb +50 -0
  908. data/stripe-19.3.0/lib/stripe/services/invoice_service.rb +212 -0
  909. data/stripe-19.3.0/lib/stripe/services/issuing/authorization_service.rb +65 -0
  910. data/stripe-19.3.0/lib/stripe/services/issuing/card_service.rb +52 -0
  911. data/stripe-19.3.0/lib/stripe/services/issuing/cardholder_service.rb +52 -0
  912. data/stripe-19.3.0/lib/stripe/services/issuing/dispute_service.rb +63 -0
  913. data/stripe-19.3.0/lib/stripe/services/issuing/personalization_design_service.rb +52 -0
  914. data/stripe-19.3.0/lib/stripe/services/issuing/physical_bundle_service.rb +30 -0
  915. data/stripe-19.3.0/lib/stripe/services/issuing/token_service.rb +41 -0
  916. data/stripe-19.3.0/lib/stripe/services/issuing/transaction_service.rb +41 -0
  917. data/stripe-19.3.0/lib/stripe/services/issuing_service.rb +20 -0
  918. data/stripe-19.3.0/lib/stripe/services/mandate_service.rb +17 -0
  919. data/stripe-19.3.0/lib/stripe/services/oauth_service.rb +63 -0
  920. data/stripe-19.3.0/lib/stripe/services/payment_attempt_record_service.rb +28 -0
  921. data/stripe-19.3.0/lib/stripe/services/payment_intent_amount_details_line_item_service.rb +17 -0
  922. data/stripe-19.3.0/lib/stripe/services/payment_intent_service.rb +218 -0
  923. data/stripe-19.3.0/lib/stripe/services/payment_link_line_item_service.rb +17 -0
  924. data/stripe-19.3.0/lib/stripe/services/payment_link_service.rb +59 -0
  925. data/stripe-19.3.0/lib/stripe/services/payment_method_configuration_service.rb +50 -0
  926. data/stripe-19.3.0/lib/stripe/services/payment_method_domain_service.rb +66 -0
  927. data/stripe-19.3.0/lib/stripe/services/payment_method_service.rb +86 -0
  928. data/stripe-19.3.0/lib/stripe/services/payment_record_service.rb +101 -0
  929. data/stripe-19.3.0/lib/stripe/services/payout_service.rb +66 -0
  930. data/stripe-19.3.0/lib/stripe/services/plan_service.rb +51 -0
  931. data/stripe-19.3.0/lib/stripe/services/price_service.rb +54 -0
  932. data/stripe-19.3.0/lib/stripe/services/product_feature_service.rb +50 -0
  933. data/stripe-19.3.0/lib/stripe/services/product_service.rb +72 -0
  934. data/stripe-19.3.0/lib/stripe/services/promotion_code_service.rb +50 -0
  935. data/stripe-19.3.0/lib/stripe/services/quote_computed_upfront_line_items_service.rb +17 -0
  936. data/stripe-19.3.0/lib/stripe/services/quote_line_item_service.rb +17 -0
  937. data/stripe-19.3.0/lib/stripe/services/quote_service.rb +96 -0
  938. data/stripe-19.3.0/lib/stripe/services/radar/early_fraud_warning_service.rb +32 -0
  939. data/stripe-19.3.0/lib/stripe/services/radar/payment_evaluation_service.rb +19 -0
  940. data/stripe-19.3.0/lib/stripe/services/radar/value_list_item_service.rb +52 -0
  941. data/stripe-19.3.0/lib/stripe/services/radar/value_list_service.rb +63 -0
  942. data/stripe-19.3.0/lib/stripe/services/radar_service.rb +16 -0
  943. data/stripe-19.3.0/lib/stripe/services/refund_service.rb +63 -0
  944. data/stripe-19.3.0/lib/stripe/services/reporting/report_run_service.rb +41 -0
  945. data/stripe-19.3.0/lib/stripe/services/reporting/report_type_service.rb +30 -0
  946. data/stripe-19.3.0/lib/stripe/services/reporting_service.rb +14 -0
  947. data/stripe-19.3.0/lib/stripe/services/review_service.rb +33 -0
  948. data/stripe-19.3.0/lib/stripe/services/setup_attempt_service.rb +17 -0
  949. data/stripe-19.3.0/lib/stripe/services/setup_intent_service.rb +105 -0
  950. data/stripe-19.3.0/lib/stripe/services/shipping_rate_service.rb +50 -0
  951. data/stripe-19.3.0/lib/stripe/services/sigma/scheduled_query_run_service.rb +30 -0
  952. data/stripe-19.3.0/lib/stripe/services/sigma_service.rb +13 -0
  953. data/stripe-19.3.0/lib/stripe/services/source_service.rb +64 -0
  954. data/stripe-19.3.0/lib/stripe/services/source_transaction_service.rb +17 -0
  955. data/stripe-19.3.0/lib/stripe/services/subscription_item_service.rb +65 -0
  956. data/stripe-19.3.0/lib/stripe/services/subscription_schedule_service.rb +80 -0
  957. data/stripe-19.3.0/lib/stripe/services/subscription_service.rb +142 -0
  958. data/stripe-19.3.0/lib/stripe/services/tax/association_service.rb +19 -0
  959. data/stripe-19.3.0/lib/stripe/services/tax/calculation_line_item_service.rb +19 -0
  960. data/stripe-19.3.0/lib/stripe/services/tax/calculation_service.rb +37 -0
  961. data/stripe-19.3.0/lib/stripe/services/tax/registration_service.rb +54 -0
  962. data/stripe-19.3.0/lib/stripe/services/tax/settings_service.rb +30 -0
  963. data/stripe-19.3.0/lib/stripe/services/tax/transaction_line_item_service.rb +19 -0
  964. data/stripe-19.3.0/lib/stripe/services/tax/transaction_service.rb +48 -0
  965. data/stripe-19.3.0/lib/stripe/services/tax_code_service.rb +22 -0
  966. data/stripe-19.3.0/lib/stripe/services/tax_id_service.rb +38 -0
  967. data/stripe-19.3.0/lib/stripe/services/tax_rate_service.rb +38 -0
  968. data/stripe-19.3.0/lib/stripe/services/tax_service.rb +17 -0
  969. data/stripe-19.3.0/lib/stripe/services/terminal/configuration_service.rb +63 -0
  970. data/stripe-19.3.0/lib/stripe/services/terminal/connection_token_service.rb +19 -0
  971. data/stripe-19.3.0/lib/stripe/services/terminal/location_service.rb +64 -0
  972. data/stripe-19.3.0/lib/stripe/services/terminal/onboarding_link_service.rb +19 -0
  973. data/stripe-19.3.0/lib/stripe/services/terminal/reader_service.rb +151 -0
  974. data/stripe-19.3.0/lib/stripe/services/terminal_service.rb +17 -0
  975. data/stripe-19.3.0/lib/stripe/services/test_helpers/confirmation_token_service.rb +19 -0
  976. data/stripe-19.3.0/lib/stripe/services/test_helpers/customer_service.rb +19 -0
  977. data/stripe-19.3.0/lib/stripe/services/test_helpers/issuing/authorization_service.rb +99 -0
  978. data/stripe-19.3.0/lib/stripe/services/test_helpers/issuing/card_service.rb +65 -0
  979. data/stripe-19.3.0/lib/stripe/services/test_helpers/issuing/personalization_design_service.rb +43 -0
  980. data/stripe-19.3.0/lib/stripe/services/test_helpers/issuing/transaction_service.rb +51 -0
  981. data/stripe-19.3.0/lib/stripe/services/test_helpers/issuing_service.rb +19 -0
  982. data/stripe-19.3.0/lib/stripe/services/test_helpers/refund_service.rb +19 -0
  983. data/stripe-19.3.0/lib/stripe/services/test_helpers/terminal/reader_service.rb +43 -0
  984. data/stripe-19.3.0/lib/stripe/services/test_helpers/terminal_service.rb +15 -0
  985. data/stripe-19.3.0/lib/stripe/services/test_helpers/test_clock_service.rb +63 -0
  986. data/stripe-19.3.0/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +43 -0
  987. data/stripe-19.3.0/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +54 -0
  988. data/stripe-19.3.0/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +54 -0
  989. data/stripe-19.3.0/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +21 -0
  990. data/stripe-19.3.0/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +21 -0
  991. data/stripe-19.3.0/lib/stripe/services/test_helpers/treasury_service.rb +19 -0
  992. data/stripe-19.3.0/lib/stripe/services/test_helpers_service.rb +19 -0
  993. data/stripe-19.3.0/lib/stripe/services/token_service.rb +23 -0
  994. data/stripe-19.3.0/lib/stripe/services/topup_service.rb +49 -0
  995. data/stripe-19.3.0/lib/stripe/services/transfer_reversal_service.rb +56 -0
  996. data/stripe-19.3.0/lib/stripe/services/transfer_service.rb +47 -0
  997. data/stripe-19.3.0/lib/stripe/services/treasury/credit_reversal_service.rb +41 -0
  998. data/stripe-19.3.0/lib/stripe/services/treasury/debit_reversal_service.rb +41 -0
  999. data/stripe-19.3.0/lib/stripe/services/treasury/financial_account_features_service.rb +30 -0
  1000. data/stripe-19.3.0/lib/stripe/services/treasury/financial_account_service.rb +70 -0
  1001. data/stripe-19.3.0/lib/stripe/services/treasury/inbound_transfer_service.rb +52 -0
  1002. data/stripe-19.3.0/lib/stripe/services/treasury/outbound_payment_service.rb +52 -0
  1003. data/stripe-19.3.0/lib/stripe/services/treasury/outbound_transfer_service.rb +52 -0
  1004. data/stripe-19.3.0/lib/stripe/services/treasury/received_credit_service.rb +30 -0
  1005. data/stripe-19.3.0/lib/stripe/services/treasury/received_debit_service.rb +30 -0
  1006. data/stripe-19.3.0/lib/stripe/services/treasury/transaction_entry_service.rb +30 -0
  1007. data/stripe-19.3.0/lib/stripe/services/treasury/transaction_service.rb +30 -0
  1008. data/stripe-19.3.0/lib/stripe/services/treasury_service.rb +22 -0
  1009. data/stripe-19.3.0/lib/stripe/services/v1_services.rb +93 -0
  1010. data/stripe-19.3.0/lib/stripe/services/v2/billing/meter_event_adjustment_service.rb +21 -0
  1011. data/stripe-19.3.0/lib/stripe/services/v2/billing/meter_event_service.rb +21 -0
  1012. data/stripe-19.3.0/lib/stripe/services/v2/billing/meter_event_session_service.rb +21 -0
  1013. data/stripe-19.3.0/lib/stripe/services/v2/billing/meter_event_stream_service.rb +23 -0
  1014. data/stripe-19.3.0/lib/stripe/services/v2/billing_service.rb +18 -0
  1015. data/stripe-19.3.0/lib/stripe/services/v2/commerce/product_catalog/import_service.rb +45 -0
  1016. data/stripe-19.3.0/lib/stripe/services/v2/commerce/product_catalog_service.rb +17 -0
  1017. data/stripe-19.3.0/lib/stripe/services/v2/commerce_service.rb +15 -0
  1018. data/stripe-19.3.0/lib/stripe/services/v2/core/account_link_service.rb +23 -0
  1019. data/stripe-19.3.0/lib/stripe/services/v2/core/account_service.rb +91 -0
  1020. data/stripe-19.3.0/lib/stripe/services/v2/core/account_token_service.rb +44 -0
  1021. data/stripe-19.3.0/lib/stripe/services/v2/core/accounts/person_service.rb +85 -0
  1022. data/stripe-19.3.0/lib/stripe/services/v2/core/accounts/person_token_service.rb +43 -0
  1023. data/stripe-19.3.0/lib/stripe/services/v2/core/event_destination_service.rb +98 -0
  1024. data/stripe-19.3.0/lib/stripe/services/v2/core/event_service.rb +33 -0
  1025. data/stripe-19.3.0/lib/stripe/services/v2/core_service.rb +19 -0
  1026. data/stripe-19.3.0/lib/stripe/services/v2_services.rb +15 -0
  1027. data/stripe-19.3.0/lib/stripe/services/webhook_endpoint_service.rb +61 -0
  1028. data/stripe-19.3.0/lib/stripe/services.rb +472 -0
  1029. data/stripe-19.3.0/lib/stripe/singleton_api_resource.rb +26 -0
  1030. data/stripe-19.3.0/lib/stripe/stripe_client.rb +97 -0
  1031. data/stripe-19.3.0/lib/stripe/stripe_configuration.rb +210 -0
  1032. data/stripe-19.3.0/lib/stripe/stripe_context.rb +68 -0
  1033. data/stripe-19.3.0/lib/stripe/stripe_object.rb +692 -0
  1034. data/stripe-19.3.0/lib/stripe/stripe_response.rb +108 -0
  1035. data/stripe-19.3.0/lib/stripe/stripe_service.rb +34 -0
  1036. data/stripe-19.3.0/lib/stripe/util.rb +490 -0
  1037. data/stripe-19.3.0/lib/stripe/v2_list_object.rb +84 -0
  1038. data/stripe-19.3.0/lib/stripe/version.rb +5 -0
  1039. data/stripe-19.3.0/lib/stripe/webhook.rb +129 -0
  1040. data/stripe-19.3.0/lib/stripe.rb +185 -0
  1041. data/stripe-19.3.0/rbi/stripe/resources/v2/core/event_notification.rbi +43 -0
  1042. data/stripe-19.3.0/rbi/stripe/stripe_client.rbi +17 -0
  1043. data/stripe-19.3.0/rbi/stripe.rbi +170441 -0
  1044. metadata +1083 -0
@@ -0,0 +1,2878 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ class PaymentIntentConfirmParams < ::Stripe::RequestParams
6
+ class AmountDetails < ::Stripe::RequestParams
7
+ class LineItem < ::Stripe::RequestParams
8
+ class PaymentMethodOptions < ::Stripe::RequestParams
9
+ class Card < ::Stripe::RequestParams
10
+ # Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, and so on.
11
+ attr_accessor :commodity_code
12
+
13
+ def initialize(commodity_code: nil)
14
+ @commodity_code = commodity_code
15
+ end
16
+ end
17
+
18
+ class CardPresent < ::Stripe::RequestParams
19
+ # Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, and so on.
20
+ attr_accessor :commodity_code
21
+
22
+ def initialize(commodity_code: nil)
23
+ @commodity_code = commodity_code
24
+ end
25
+ end
26
+
27
+ class Klarna < ::Stripe::RequestParams
28
+ # URL to an image for the product. Max length, 4096 characters.
29
+ attr_accessor :image_url
30
+ # URL to the product page. Max length, 4096 characters.
31
+ attr_accessor :product_url
32
+ # Unique reference for this line item to correlate it with your system’s internal records. The field is displayed in the Klarna Consumer App if passed.
33
+ attr_accessor :reference
34
+ # Reference for the subscription this line item is for.
35
+ attr_accessor :subscription_reference
36
+
37
+ def initialize(
38
+ image_url: nil,
39
+ product_url: nil,
40
+ reference: nil,
41
+ subscription_reference: nil
42
+ )
43
+ @image_url = image_url
44
+ @product_url = product_url
45
+ @reference = reference
46
+ @subscription_reference = subscription_reference
47
+ end
48
+ end
49
+
50
+ class Paypal < ::Stripe::RequestParams
51
+ # Type of the line item.
52
+ attr_accessor :category
53
+ # Description of the line item.
54
+ attr_accessor :description
55
+ # The Stripe account ID of the connected account that sells the item.
56
+ attr_accessor :sold_by
57
+
58
+ def initialize(category: nil, description: nil, sold_by: nil)
59
+ @category = category
60
+ @description = description
61
+ @sold_by = sold_by
62
+ end
63
+ end
64
+ # This sub-hash contains line item details that are specific to the `card` payment method.
65
+ attr_accessor :card
66
+ # This sub-hash contains line item details that are specific to the `card_present` payment method.
67
+ attr_accessor :card_present
68
+ # This sub-hash contains line item details that are specific to the `klarna` payment method.
69
+ attr_accessor :klarna
70
+ # This sub-hash contains line item details that are specific to the `paypal` payment method.
71
+ attr_accessor :paypal
72
+
73
+ def initialize(card: nil, card_present: nil, klarna: nil, paypal: nil)
74
+ @card = card
75
+ @card_present = card_present
76
+ @klarna = klarna
77
+ @paypal = paypal
78
+ end
79
+ end
80
+
81
+ class Tax < ::Stripe::RequestParams
82
+ # The total amount of tax on a single line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
83
+ #
84
+ # This field is mutually exclusive with the `amount_details[tax][total_tax_amount]` field.
85
+ attr_accessor :total_tax_amount
86
+
87
+ def initialize(total_tax_amount: nil)
88
+ @total_tax_amount = total_tax_amount
89
+ end
90
+ end
91
+ # The discount applied on this line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.
92
+ #
93
+ # This field is mutually exclusive with the `amount_details[discount_amount]` field.
94
+ attr_accessor :discount_amount
95
+ # Payment method-specific information for line items.
96
+ attr_accessor :payment_method_options
97
+ # The product code of the line item, such as an SKU. Required for L3 rates. At most 12 characters long.
98
+ attr_accessor :product_code
99
+ # The product name of the line item. Required for L3 rates. At most 1024 characters long.
100
+ #
101
+ # For Cards, this field is truncated to 26 alphanumeric characters before being sent to the card networks. For PayPal, this field is truncated to 127 characters.
102
+ attr_accessor :product_name
103
+ # The quantity of items. Required for L3 rates. An integer greater than 0.
104
+ attr_accessor :quantity
105
+ # Contains information about the tax on the item.
106
+ attr_accessor :tax
107
+ # The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
108
+ attr_accessor :unit_cost
109
+ # A unit of measure for the line item, such as gallons, feet, meters, etc.
110
+ attr_accessor :unit_of_measure
111
+
112
+ def initialize(
113
+ discount_amount: nil,
114
+ payment_method_options: nil,
115
+ product_code: nil,
116
+ product_name: nil,
117
+ quantity: nil,
118
+ tax: nil,
119
+ unit_cost: nil,
120
+ unit_of_measure: nil
121
+ )
122
+ @discount_amount = discount_amount
123
+ @payment_method_options = payment_method_options
124
+ @product_code = product_code
125
+ @product_name = product_name
126
+ @quantity = quantity
127
+ @tax = tax
128
+ @unit_cost = unit_cost
129
+ @unit_of_measure = unit_of_measure
130
+ end
131
+ end
132
+
133
+ class Shipping < ::Stripe::RequestParams
134
+ # If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than or equal to 0.
135
+ attr_accessor :amount
136
+ # If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens and spaces are allowed.
137
+ attr_accessor :from_postal_code
138
+ # If a physical good is being shipped, the postal code of where it is being shipped to. At most 10 alphanumeric characters long, hyphens and spaces are allowed.
139
+ attr_accessor :to_postal_code
140
+
141
+ def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil)
142
+ @amount = amount
143
+ @from_postal_code = from_postal_code
144
+ @to_postal_code = to_postal_code
145
+ end
146
+ end
147
+
148
+ class Tax < ::Stripe::RequestParams
149
+ # The total amount of tax on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0.
150
+ #
151
+ # This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.
152
+ attr_accessor :total_tax_amount
153
+
154
+ def initialize(total_tax_amount: nil)
155
+ @total_tax_amount = total_tax_amount
156
+ end
157
+ end
158
+ # The total discount applied on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.
159
+ #
160
+ # This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.
161
+ attr_accessor :discount_amount
162
+ # Set to `false` to return arithmetic validation errors in the response without failing the request. Use this when you want the operation to proceed regardless of arithmetic errors in the line item data.
163
+ #
164
+ # Omit or set to `true` to immediately return a 400 error when arithmetic validation fails. Use this for strict validation that prevents processing with line item data that has arithmetic inconsistencies.
165
+ #
166
+ # For card payments, Stripe doesn't send line item data to card networks if there's an arithmetic validation error.
167
+ attr_accessor :enforce_arithmetic_validation
168
+ # A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 200 line items.
169
+ attr_accessor :line_items
170
+ # Contains information about the shipping portion of the amount.
171
+ attr_accessor :shipping
172
+ # Contains information about the tax portion of the amount.
173
+ attr_accessor :tax
174
+
175
+ def initialize(
176
+ discount_amount: nil,
177
+ enforce_arithmetic_validation: nil,
178
+ line_items: nil,
179
+ shipping: nil,
180
+ tax: nil
181
+ )
182
+ @discount_amount = discount_amount
183
+ @enforce_arithmetic_validation = enforce_arithmetic_validation
184
+ @line_items = line_items
185
+ @shipping = shipping
186
+ @tax = tax
187
+ end
188
+ end
189
+
190
+ class Hooks < ::Stripe::RequestParams
191
+ class Inputs < ::Stripe::RequestParams
192
+ class Tax < ::Stripe::RequestParams
193
+ # The [TaxCalculation](https://docs.stripe.com/api/tax/calculations) id
194
+ attr_accessor :calculation
195
+
196
+ def initialize(calculation: nil)
197
+ @calculation = calculation
198
+ end
199
+ end
200
+ # Tax arguments for automations
201
+ attr_accessor :tax
202
+
203
+ def initialize(tax: nil)
204
+ @tax = tax
205
+ end
206
+ end
207
+ # Arguments passed in automations
208
+ attr_accessor :inputs
209
+
210
+ def initialize(inputs: nil)
211
+ @inputs = inputs
212
+ end
213
+ end
214
+
215
+ class MandateData < ::Stripe::RequestParams
216
+ class CustomerAcceptance < ::Stripe::RequestParams
217
+ class Offline < ::Stripe::RequestParams; end
218
+
219
+ class Online < ::Stripe::RequestParams
220
+ # The IP address from which the Mandate was accepted by the customer.
221
+ attr_accessor :ip_address
222
+ # The user agent of the browser from which the Mandate was accepted by the customer.
223
+ attr_accessor :user_agent
224
+
225
+ def initialize(ip_address: nil, user_agent: nil)
226
+ @ip_address = ip_address
227
+ @user_agent = user_agent
228
+ end
229
+ end
230
+ # The time at which the customer accepted the Mandate.
231
+ attr_accessor :accepted_at
232
+ # If this is a Mandate accepted offline, this hash contains details about the offline acceptance.
233
+ attr_accessor :offline
234
+ # If this is a Mandate accepted online, this hash contains details about the online acceptance.
235
+ attr_accessor :online
236
+ # The type of customer acceptance information included with the Mandate. One of `online` or `offline`.
237
+ attr_accessor :type
238
+
239
+ def initialize(accepted_at: nil, offline: nil, online: nil, type: nil)
240
+ @accepted_at = accepted_at
241
+ @offline = offline
242
+ @online = online
243
+ @type = type
244
+ end
245
+ end
246
+ # This hash contains details about the customer acceptance of the Mandate.
247
+ attr_accessor :customer_acceptance
248
+
249
+ def initialize(customer_acceptance: nil)
250
+ @customer_acceptance = customer_acceptance
251
+ end
252
+ end
253
+
254
+ class PaymentDetails < ::Stripe::RequestParams
255
+ # A unique value to identify the customer. This field is available only for card payments.
256
+ #
257
+ # This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
258
+ attr_accessor :customer_reference
259
+ # A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
260
+ #
261
+ # For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
262
+ attr_accessor :order_reference
263
+
264
+ def initialize(customer_reference: nil, order_reference: nil)
265
+ @customer_reference = customer_reference
266
+ @order_reference = order_reference
267
+ end
268
+ end
269
+
270
+ class PaymentMethodData < ::Stripe::RequestParams
271
+ class AcssDebit < ::Stripe::RequestParams
272
+ # Customer's bank account number.
273
+ attr_accessor :account_number
274
+ # Institution number of the customer's bank.
275
+ attr_accessor :institution_number
276
+ # Transit number of the customer's bank.
277
+ attr_accessor :transit_number
278
+
279
+ def initialize(account_number: nil, institution_number: nil, transit_number: nil)
280
+ @account_number = account_number
281
+ @institution_number = institution_number
282
+ @transit_number = transit_number
283
+ end
284
+ end
285
+
286
+ class Affirm < ::Stripe::RequestParams; end
287
+ class AfterpayClearpay < ::Stripe::RequestParams; end
288
+ class Alipay < ::Stripe::RequestParams; end
289
+ class Alma < ::Stripe::RequestParams; end
290
+ class AmazonPay < ::Stripe::RequestParams; end
291
+
292
+ class AuBecsDebit < ::Stripe::RequestParams
293
+ # The account number for the bank account.
294
+ attr_accessor :account_number
295
+ # Bank-State-Branch number of the bank account.
296
+ attr_accessor :bsb_number
297
+
298
+ def initialize(account_number: nil, bsb_number: nil)
299
+ @account_number = account_number
300
+ @bsb_number = bsb_number
301
+ end
302
+ end
303
+
304
+ class BacsDebit < ::Stripe::RequestParams
305
+ # Account number of the bank account that the funds will be debited from.
306
+ attr_accessor :account_number
307
+ # Sort code of the bank account. (e.g., `10-20-30`)
308
+ attr_accessor :sort_code
309
+
310
+ def initialize(account_number: nil, sort_code: nil)
311
+ @account_number = account_number
312
+ @sort_code = sort_code
313
+ end
314
+ end
315
+
316
+ class Bancontact < ::Stripe::RequestParams; end
317
+ class Billie < ::Stripe::RequestParams; end
318
+
319
+ class BillingDetails < ::Stripe::RequestParams
320
+ class Address < ::Stripe::RequestParams
321
+ # City, district, suburb, town, or village.
322
+ attr_accessor :city
323
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
324
+ attr_accessor :country
325
+ # Address line 1, such as the street, PO Box, or company name.
326
+ attr_accessor :line1
327
+ # Address line 2, such as the apartment, suite, unit, or building.
328
+ attr_accessor :line2
329
+ # ZIP or postal code.
330
+ attr_accessor :postal_code
331
+ # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
332
+ attr_accessor :state
333
+
334
+ def initialize(
335
+ city: nil,
336
+ country: nil,
337
+ line1: nil,
338
+ line2: nil,
339
+ postal_code: nil,
340
+ state: nil
341
+ )
342
+ @city = city
343
+ @country = country
344
+ @line1 = line1
345
+ @line2 = line2
346
+ @postal_code = postal_code
347
+ @state = state
348
+ end
349
+ end
350
+ # Billing address.
351
+ attr_accessor :address
352
+ # Email address.
353
+ attr_accessor :email
354
+ # Full name.
355
+ attr_accessor :name
356
+ # Billing phone number (including extension).
357
+ attr_accessor :phone
358
+ # Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
359
+ attr_accessor :tax_id
360
+
361
+ def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil)
362
+ @address = address
363
+ @email = email
364
+ @name = name
365
+ @phone = phone
366
+ @tax_id = tax_id
367
+ end
368
+ end
369
+
370
+ class Bizum < ::Stripe::RequestParams; end
371
+ class Blik < ::Stripe::RequestParams; end
372
+
373
+ class Boleto < ::Stripe::RequestParams
374
+ # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
375
+ attr_accessor :tax_id
376
+
377
+ def initialize(tax_id: nil)
378
+ @tax_id = tax_id
379
+ end
380
+ end
381
+
382
+ class Cashapp < ::Stripe::RequestParams; end
383
+ class Crypto < ::Stripe::RequestParams; end
384
+ class CustomerBalance < ::Stripe::RequestParams; end
385
+
386
+ class Eps < ::Stripe::RequestParams
387
+ # The customer's bank.
388
+ attr_accessor :bank
389
+
390
+ def initialize(bank: nil)
391
+ @bank = bank
392
+ end
393
+ end
394
+
395
+ class Fpx < ::Stripe::RequestParams
396
+ # Account holder type for FPX transaction
397
+ attr_accessor :account_holder_type
398
+ # The customer's bank.
399
+ attr_accessor :bank
400
+
401
+ def initialize(account_holder_type: nil, bank: nil)
402
+ @account_holder_type = account_holder_type
403
+ @bank = bank
404
+ end
405
+ end
406
+
407
+ class Giropay < ::Stripe::RequestParams; end
408
+ class Grabpay < ::Stripe::RequestParams; end
409
+
410
+ class Ideal < ::Stripe::RequestParams
411
+ # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
412
+ attr_accessor :bank
413
+
414
+ def initialize(bank: nil)
415
+ @bank = bank
416
+ end
417
+ end
418
+
419
+ class InteracPresent < ::Stripe::RequestParams; end
420
+ class KakaoPay < ::Stripe::RequestParams; end
421
+
422
+ class Klarna < ::Stripe::RequestParams
423
+ class Dob < ::Stripe::RequestParams
424
+ # The day of birth, between 1 and 31.
425
+ attr_accessor :day
426
+ # The month of birth, between 1 and 12.
427
+ attr_accessor :month
428
+ # The four-digit year of birth.
429
+ attr_accessor :year
430
+
431
+ def initialize(day: nil, month: nil, year: nil)
432
+ @day = day
433
+ @month = month
434
+ @year = year
435
+ end
436
+ end
437
+ # Customer's date of birth
438
+ attr_accessor :dob
439
+
440
+ def initialize(dob: nil)
441
+ @dob = dob
442
+ end
443
+ end
444
+
445
+ class Konbini < ::Stripe::RequestParams; end
446
+ class KrCard < ::Stripe::RequestParams; end
447
+ class Link < ::Stripe::RequestParams; end
448
+ class MbWay < ::Stripe::RequestParams; end
449
+ class Mobilepay < ::Stripe::RequestParams; end
450
+ class Multibanco < ::Stripe::RequestParams; end
451
+
452
+ class NaverPay < ::Stripe::RequestParams
453
+ # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
454
+ attr_accessor :funding
455
+
456
+ def initialize(funding: nil)
457
+ @funding = funding
458
+ end
459
+ end
460
+
461
+ class NzBankAccount < ::Stripe::RequestParams
462
+ # The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details.
463
+ attr_accessor :account_holder_name
464
+ # The account number for the bank account.
465
+ attr_accessor :account_number
466
+ # The numeric code for the bank account's bank.
467
+ attr_accessor :bank_code
468
+ # The numeric code for the bank account's bank branch.
469
+ attr_accessor :branch_code
470
+ # Attribute for param field reference
471
+ attr_accessor :reference
472
+ # The suffix of the bank account number.
473
+ attr_accessor :suffix
474
+
475
+ def initialize(
476
+ account_holder_name: nil,
477
+ account_number: nil,
478
+ bank_code: nil,
479
+ branch_code: nil,
480
+ reference: nil,
481
+ suffix: nil
482
+ )
483
+ @account_holder_name = account_holder_name
484
+ @account_number = account_number
485
+ @bank_code = bank_code
486
+ @branch_code = branch_code
487
+ @reference = reference
488
+ @suffix = suffix
489
+ end
490
+ end
491
+
492
+ class Oxxo < ::Stripe::RequestParams; end
493
+
494
+ class P24 < ::Stripe::RequestParams
495
+ # The customer's bank.
496
+ attr_accessor :bank
497
+
498
+ def initialize(bank: nil)
499
+ @bank = bank
500
+ end
501
+ end
502
+
503
+ class PayByBank < ::Stripe::RequestParams; end
504
+ class Payco < ::Stripe::RequestParams; end
505
+ class Paynow < ::Stripe::RequestParams; end
506
+ class Paypal < ::Stripe::RequestParams; end
507
+
508
+ class Payto < ::Stripe::RequestParams
509
+ # The account number for the bank account.
510
+ attr_accessor :account_number
511
+ # Bank-State-Branch number of the bank account.
512
+ attr_accessor :bsb_number
513
+ # The PayID alias for the bank account.
514
+ attr_accessor :pay_id
515
+
516
+ def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
517
+ @account_number = account_number
518
+ @bsb_number = bsb_number
519
+ @pay_id = pay_id
520
+ end
521
+ end
522
+
523
+ class Pix < ::Stripe::RequestParams; end
524
+ class Promptpay < ::Stripe::RequestParams; end
525
+
526
+ class RadarOptions < ::Stripe::RequestParams
527
+ # A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
528
+ attr_accessor :session
529
+
530
+ def initialize(session: nil)
531
+ @session = session
532
+ end
533
+ end
534
+
535
+ class RevolutPay < ::Stripe::RequestParams; end
536
+ class SamsungPay < ::Stripe::RequestParams; end
537
+ class Satispay < ::Stripe::RequestParams; end
538
+ class Scalapay < ::Stripe::RequestParams; end
539
+
540
+ class SepaDebit < ::Stripe::RequestParams
541
+ # IBAN of the bank account.
542
+ attr_accessor :iban
543
+
544
+ def initialize(iban: nil)
545
+ @iban = iban
546
+ end
547
+ end
548
+
549
+ class Sofort < ::Stripe::RequestParams
550
+ # Two-letter ISO code representing the country the bank account is located in.
551
+ attr_accessor :country
552
+
553
+ def initialize(country: nil)
554
+ @country = country
555
+ end
556
+ end
557
+
558
+ class Sunbit < ::Stripe::RequestParams; end
559
+ class Swish < ::Stripe::RequestParams; end
560
+ class Twint < ::Stripe::RequestParams; end
561
+
562
+ class Upi < ::Stripe::RequestParams
563
+ class MandateOptions < ::Stripe::RequestParams
564
+ # Amount to be charged for future payments.
565
+ attr_accessor :amount
566
+ # One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.
567
+ attr_accessor :amount_type
568
+ # A description of the mandate or subscription that is meant to be displayed to the customer.
569
+ attr_accessor :description
570
+ # End date of the mandate or subscription.
571
+ attr_accessor :end_date
572
+
573
+ def initialize(amount: nil, amount_type: nil, description: nil, end_date: nil)
574
+ @amount = amount
575
+ @amount_type = amount_type
576
+ @description = description
577
+ @end_date = end_date
578
+ end
579
+ end
580
+ # Configuration options for setting up an eMandate
581
+ attr_accessor :mandate_options
582
+
583
+ def initialize(mandate_options: nil)
584
+ @mandate_options = mandate_options
585
+ end
586
+ end
587
+
588
+ class UsBankAccount < ::Stripe::RequestParams
589
+ # Account holder type: individual or company.
590
+ attr_accessor :account_holder_type
591
+ # Account number of the bank account.
592
+ attr_accessor :account_number
593
+ # Account type: checkings or savings. Defaults to checking if omitted.
594
+ attr_accessor :account_type
595
+ # The ID of a Financial Connections Account to use as a payment method.
596
+ attr_accessor :financial_connections_account
597
+ # Routing number of the bank account.
598
+ attr_accessor :routing_number
599
+
600
+ def initialize(
601
+ account_holder_type: nil,
602
+ account_number: nil,
603
+ account_type: nil,
604
+ financial_connections_account: nil,
605
+ routing_number: nil
606
+ )
607
+ @account_holder_type = account_holder_type
608
+ @account_number = account_number
609
+ @account_type = account_type
610
+ @financial_connections_account = financial_connections_account
611
+ @routing_number = routing_number
612
+ end
613
+ end
614
+
615
+ class WechatPay < ::Stripe::RequestParams; end
616
+ class Zip < ::Stripe::RequestParams; end
617
+ # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
618
+ attr_accessor :acss_debit
619
+ # If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
620
+ attr_accessor :affirm
621
+ # If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
622
+ attr_accessor :afterpay_clearpay
623
+ # If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.
624
+ attr_accessor :alipay
625
+ # This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to `unspecified`.
626
+ attr_accessor :allow_redisplay
627
+ # If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
628
+ attr_accessor :alma
629
+ # If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
630
+ attr_accessor :amazon_pay
631
+ # If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
632
+ attr_accessor :au_becs_debit
633
+ # If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
634
+ attr_accessor :bacs_debit
635
+ # If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
636
+ attr_accessor :bancontact
637
+ # If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method.
638
+ attr_accessor :billie
639
+ # Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
640
+ attr_accessor :billing_details
641
+ # If this is a `bizum` PaymentMethod, this hash contains details about the Bizum payment method.
642
+ attr_accessor :bizum
643
+ # If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
644
+ attr_accessor :blik
645
+ # If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.
646
+ attr_accessor :boleto
647
+ # If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
648
+ attr_accessor :cashapp
649
+ # If this is a Crypto PaymentMethod, this hash contains details about the Crypto payment method.
650
+ attr_accessor :crypto
651
+ # If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
652
+ attr_accessor :customer_balance
653
+ # If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
654
+ attr_accessor :eps
655
+ # If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
656
+ attr_accessor :fpx
657
+ # If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
658
+ attr_accessor :giropay
659
+ # If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
660
+ attr_accessor :grabpay
661
+ # If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
662
+ attr_accessor :ideal
663
+ # If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
664
+ attr_accessor :interac_present
665
+ # If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.
666
+ attr_accessor :kakao_pay
667
+ # If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.
668
+ attr_accessor :klarna
669
+ # If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.
670
+ attr_accessor :konbini
671
+ # If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.
672
+ attr_accessor :kr_card
673
+ # If this is an `Link` PaymentMethod, this hash contains details about the Link payment method (Link is also known as Onelink in the UK).
674
+ attr_accessor :link
675
+ # If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
676
+ attr_accessor :mb_way
677
+ # Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
678
+ attr_accessor :metadata
679
+ # If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
680
+ attr_accessor :mobilepay
681
+ # If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
682
+ attr_accessor :multibanco
683
+ # If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
684
+ attr_accessor :naver_pay
685
+ # If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method.
686
+ attr_accessor :nz_bank_account
687
+ # If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
688
+ attr_accessor :oxxo
689
+ # If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
690
+ attr_accessor :p24
691
+ # If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.
692
+ attr_accessor :pay_by_bank
693
+ # If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.
694
+ attr_accessor :payco
695
+ # If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.
696
+ attr_accessor :paynow
697
+ # If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
698
+ attr_accessor :paypal
699
+ # If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
700
+ attr_accessor :payto
701
+ # If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
702
+ attr_accessor :pix
703
+ # If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
704
+ attr_accessor :promptpay
705
+ # Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
706
+ attr_accessor :radar_options
707
+ # If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
708
+ attr_accessor :revolut_pay
709
+ # If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
710
+ attr_accessor :samsung_pay
711
+ # If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method.
712
+ attr_accessor :satispay
713
+ # If this is a Scalapay PaymentMethod, this hash contains details about the Scalapay payment method.
714
+ attr_accessor :scalapay
715
+ # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
716
+ attr_accessor :sepa_debit
717
+ # If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
718
+ attr_accessor :sofort
719
+ # If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method.
720
+ attr_accessor :sunbit
721
+ # If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
722
+ attr_accessor :swish
723
+ # If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
724
+ attr_accessor :twint
725
+ # The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.
726
+ attr_accessor :type
727
+ # If this is a `upi` PaymentMethod, this hash contains details about the UPI payment method.
728
+ attr_accessor :upi
729
+ # If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
730
+ attr_accessor :us_bank_account
731
+ # If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
732
+ attr_accessor :wechat_pay
733
+ # If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
734
+ attr_accessor :zip
735
+
736
+ def initialize(
737
+ acss_debit: nil,
738
+ affirm: nil,
739
+ afterpay_clearpay: nil,
740
+ alipay: nil,
741
+ allow_redisplay: nil,
742
+ alma: nil,
743
+ amazon_pay: nil,
744
+ au_becs_debit: nil,
745
+ bacs_debit: nil,
746
+ bancontact: nil,
747
+ billie: nil,
748
+ billing_details: nil,
749
+ bizum: nil,
750
+ blik: nil,
751
+ boleto: nil,
752
+ cashapp: nil,
753
+ crypto: nil,
754
+ customer_balance: nil,
755
+ eps: nil,
756
+ fpx: nil,
757
+ giropay: nil,
758
+ grabpay: nil,
759
+ ideal: nil,
760
+ interac_present: nil,
761
+ kakao_pay: nil,
762
+ klarna: nil,
763
+ konbini: nil,
764
+ kr_card: nil,
765
+ link: nil,
766
+ mb_way: nil,
767
+ metadata: nil,
768
+ mobilepay: nil,
769
+ multibanco: nil,
770
+ naver_pay: nil,
771
+ nz_bank_account: nil,
772
+ oxxo: nil,
773
+ p24: nil,
774
+ pay_by_bank: nil,
775
+ payco: nil,
776
+ paynow: nil,
777
+ paypal: nil,
778
+ payto: nil,
779
+ pix: nil,
780
+ promptpay: nil,
781
+ radar_options: nil,
782
+ revolut_pay: nil,
783
+ samsung_pay: nil,
784
+ satispay: nil,
785
+ scalapay: nil,
786
+ sepa_debit: nil,
787
+ sofort: nil,
788
+ sunbit: nil,
789
+ swish: nil,
790
+ twint: nil,
791
+ type: nil,
792
+ upi: nil,
793
+ us_bank_account: nil,
794
+ wechat_pay: nil,
795
+ zip: nil
796
+ )
797
+ @acss_debit = acss_debit
798
+ @affirm = affirm
799
+ @afterpay_clearpay = afterpay_clearpay
800
+ @alipay = alipay
801
+ @allow_redisplay = allow_redisplay
802
+ @alma = alma
803
+ @amazon_pay = amazon_pay
804
+ @au_becs_debit = au_becs_debit
805
+ @bacs_debit = bacs_debit
806
+ @bancontact = bancontact
807
+ @billie = billie
808
+ @billing_details = billing_details
809
+ @bizum = bizum
810
+ @blik = blik
811
+ @boleto = boleto
812
+ @cashapp = cashapp
813
+ @crypto = crypto
814
+ @customer_balance = customer_balance
815
+ @eps = eps
816
+ @fpx = fpx
817
+ @giropay = giropay
818
+ @grabpay = grabpay
819
+ @ideal = ideal
820
+ @interac_present = interac_present
821
+ @kakao_pay = kakao_pay
822
+ @klarna = klarna
823
+ @konbini = konbini
824
+ @kr_card = kr_card
825
+ @link = link
826
+ @mb_way = mb_way
827
+ @metadata = metadata
828
+ @mobilepay = mobilepay
829
+ @multibanco = multibanco
830
+ @naver_pay = naver_pay
831
+ @nz_bank_account = nz_bank_account
832
+ @oxxo = oxxo
833
+ @p24 = p24
834
+ @pay_by_bank = pay_by_bank
835
+ @payco = payco
836
+ @paynow = paynow
837
+ @paypal = paypal
838
+ @payto = payto
839
+ @pix = pix
840
+ @promptpay = promptpay
841
+ @radar_options = radar_options
842
+ @revolut_pay = revolut_pay
843
+ @samsung_pay = samsung_pay
844
+ @satispay = satispay
845
+ @scalapay = scalapay
846
+ @sepa_debit = sepa_debit
847
+ @sofort = sofort
848
+ @sunbit = sunbit
849
+ @swish = swish
850
+ @twint = twint
851
+ @type = type
852
+ @upi = upi
853
+ @us_bank_account = us_bank_account
854
+ @wechat_pay = wechat_pay
855
+ @zip = zip
856
+ end
857
+ end
858
+
859
+ class PaymentMethodOptions < ::Stripe::RequestParams
860
+ class AcssDebit < ::Stripe::RequestParams
861
+ class MandateOptions < ::Stripe::RequestParams
862
+ # A URL for custom mandate text to render during confirmation step.
863
+ # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,
864
+ # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
865
+ attr_accessor :custom_mandate_url
866
+ # Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
867
+ attr_accessor :interval_description
868
+ # Payment schedule for the mandate.
869
+ attr_accessor :payment_schedule
870
+ # Transaction type of the mandate.
871
+ attr_accessor :transaction_type
872
+
873
+ def initialize(
874
+ custom_mandate_url: nil,
875
+ interval_description: nil,
876
+ payment_schedule: nil,
877
+ transaction_type: nil
878
+ )
879
+ @custom_mandate_url = custom_mandate_url
880
+ @interval_description = interval_description
881
+ @payment_schedule = payment_schedule
882
+ @transaction_type = transaction_type
883
+ end
884
+ end
885
+ # Additional fields for Mandate creation
886
+ attr_accessor :mandate_options
887
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
888
+ #
889
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
890
+ #
891
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
892
+ #
893
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
894
+ #
895
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
896
+ attr_accessor :setup_future_usage
897
+ # Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
898
+ attr_accessor :target_date
899
+ # Bank account verification method. The default value is `automatic`.
900
+ attr_accessor :verification_method
901
+
902
+ def initialize(
903
+ mandate_options: nil,
904
+ setup_future_usage: nil,
905
+ target_date: nil,
906
+ verification_method: nil
907
+ )
908
+ @mandate_options = mandate_options
909
+ @setup_future_usage = setup_future_usage
910
+ @target_date = target_date
911
+ @verification_method = verification_method
912
+ end
913
+ end
914
+
915
+ class Affirm < ::Stripe::RequestParams
916
+ # Controls when the funds are captured from the customer's account.
917
+ #
918
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
919
+ #
920
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
921
+ attr_accessor :capture_method
922
+ # Preferred language of the Affirm authorization page that the customer is redirected to.
923
+ attr_accessor :preferred_locale
924
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
925
+ #
926
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
927
+ #
928
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
929
+ #
930
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
931
+ #
932
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
933
+ attr_accessor :setup_future_usage
934
+
935
+ def initialize(capture_method: nil, preferred_locale: nil, setup_future_usage: nil)
936
+ @capture_method = capture_method
937
+ @preferred_locale = preferred_locale
938
+ @setup_future_usage = setup_future_usage
939
+ end
940
+ end
941
+
942
+ class AfterpayClearpay < ::Stripe::RequestParams
943
+ # Controls when the funds are captured from the customer's account.
944
+ #
945
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
946
+ #
947
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
948
+ attr_accessor :capture_method
949
+ # An internal identifier or reference that this payment corresponds to. You must limit the identifier to 128 characters, and it can only contain letters, numbers, underscores, backslashes, and dashes.
950
+ # This field differs from the statement descriptor and item name.
951
+ attr_accessor :reference
952
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
953
+ #
954
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
955
+ #
956
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
957
+ #
958
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
959
+ #
960
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
961
+ attr_accessor :setup_future_usage
962
+
963
+ def initialize(capture_method: nil, reference: nil, setup_future_usage: nil)
964
+ @capture_method = capture_method
965
+ @reference = reference
966
+ @setup_future_usage = setup_future_usage
967
+ end
968
+ end
969
+
970
+ class Alipay < ::Stripe::RequestParams
971
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
972
+ #
973
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
974
+ #
975
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
976
+ #
977
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
978
+ #
979
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
980
+ attr_accessor :setup_future_usage
981
+
982
+ def initialize(setup_future_usage: nil)
983
+ @setup_future_usage = setup_future_usage
984
+ end
985
+ end
986
+
987
+ class Alma < ::Stripe::RequestParams
988
+ # Controls when the funds are captured from the customer's account.
989
+ #
990
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
991
+ #
992
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
993
+ attr_accessor :capture_method
994
+
995
+ def initialize(capture_method: nil)
996
+ @capture_method = capture_method
997
+ end
998
+ end
999
+
1000
+ class AmazonPay < ::Stripe::RequestParams
1001
+ # Controls when the funds are captured from the customer's account.
1002
+ #
1003
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
1004
+ #
1005
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
1006
+ attr_accessor :capture_method
1007
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1008
+ #
1009
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
1010
+ #
1011
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1012
+ #
1013
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1014
+ attr_accessor :setup_future_usage
1015
+
1016
+ def initialize(capture_method: nil, setup_future_usage: nil)
1017
+ @capture_method = capture_method
1018
+ @setup_future_usage = setup_future_usage
1019
+ end
1020
+ end
1021
+
1022
+ class AuBecsDebit < ::Stripe::RequestParams
1023
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1024
+ #
1025
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
1026
+ #
1027
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1028
+ #
1029
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1030
+ #
1031
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
1032
+ attr_accessor :setup_future_usage
1033
+ # Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
1034
+ attr_accessor :target_date
1035
+
1036
+ def initialize(setup_future_usage: nil, target_date: nil)
1037
+ @setup_future_usage = setup_future_usage
1038
+ @target_date = target_date
1039
+ end
1040
+ end
1041
+
1042
+ class BacsDebit < ::Stripe::RequestParams
1043
+ class MandateOptions < ::Stripe::RequestParams
1044
+ # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
1045
+ attr_accessor :reference_prefix
1046
+
1047
+ def initialize(reference_prefix: nil)
1048
+ @reference_prefix = reference_prefix
1049
+ end
1050
+ end
1051
+ # Additional fields for Mandate creation
1052
+ attr_accessor :mandate_options
1053
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1054
+ #
1055
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
1056
+ #
1057
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1058
+ #
1059
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1060
+ #
1061
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
1062
+ attr_accessor :setup_future_usage
1063
+ # Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
1064
+ attr_accessor :target_date
1065
+
1066
+ def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil)
1067
+ @mandate_options = mandate_options
1068
+ @setup_future_usage = setup_future_usage
1069
+ @target_date = target_date
1070
+ end
1071
+ end
1072
+
1073
+ class Bancontact < ::Stripe::RequestParams
1074
+ # Preferred language of the Bancontact authorization page that the customer is redirected to.
1075
+ attr_accessor :preferred_language
1076
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1077
+ #
1078
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
1079
+ #
1080
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1081
+ #
1082
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1083
+ #
1084
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
1085
+ attr_accessor :setup_future_usage
1086
+
1087
+ def initialize(preferred_language: nil, setup_future_usage: nil)
1088
+ @preferred_language = preferred_language
1089
+ @setup_future_usage = setup_future_usage
1090
+ end
1091
+ end
1092
+
1093
+ class Billie < ::Stripe::RequestParams
1094
+ # Controls when the funds are captured from the customer's account.
1095
+ #
1096
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
1097
+ #
1098
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
1099
+ attr_accessor :capture_method
1100
+
1101
+ def initialize(capture_method: nil)
1102
+ @capture_method = capture_method
1103
+ end
1104
+ end
1105
+
1106
+ class Bizum < ::Stripe::RequestParams; end
1107
+
1108
+ class Blik < ::Stripe::RequestParams
1109
+ # The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation.
1110
+ attr_accessor :code
1111
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1112
+ #
1113
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
1114
+ #
1115
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1116
+ #
1117
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1118
+ #
1119
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
1120
+ attr_accessor :setup_future_usage
1121
+
1122
+ def initialize(code: nil, setup_future_usage: nil)
1123
+ @code = code
1124
+ @setup_future_usage = setup_future_usage
1125
+ end
1126
+ end
1127
+
1128
+ class Boleto < ::Stripe::RequestParams
1129
+ # The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time.
1130
+ attr_accessor :expires_after_days
1131
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1132
+ #
1133
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
1134
+ #
1135
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1136
+ #
1137
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1138
+ #
1139
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
1140
+ attr_accessor :setup_future_usage
1141
+
1142
+ def initialize(expires_after_days: nil, setup_future_usage: nil)
1143
+ @expires_after_days = expires_after_days
1144
+ @setup_future_usage = setup_future_usage
1145
+ end
1146
+ end
1147
+
1148
+ class Card < ::Stripe::RequestParams
1149
+ class Installments < ::Stripe::RequestParams
1150
+ class Plan < ::Stripe::RequestParams
1151
+ # For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card.
1152
+ attr_accessor :count
1153
+ # For `fixed_count` installment plans, this is required. It represents the interval between installment payments your customer will make to their credit card.
1154
+ # One of `month`.
1155
+ attr_accessor :interval
1156
+ # Type of installment plan, one of `fixed_count`, `bonus`, or `revolving`.
1157
+ attr_accessor :type
1158
+
1159
+ def initialize(count: nil, interval: nil, type: nil)
1160
+ @count = count
1161
+ @interval = interval
1162
+ @type = type
1163
+ end
1164
+ end
1165
+ # Setting to true enables installments for this PaymentIntent.
1166
+ # This will cause the response to contain a list of available installment plans.
1167
+ # Setting to false will prevent any selected plan from applying to a charge.
1168
+ attr_accessor :enabled
1169
+ # The selected installment plan to use for this payment attempt.
1170
+ # This parameter can only be provided during confirmation.
1171
+ attr_accessor :plan
1172
+
1173
+ def initialize(enabled: nil, plan: nil)
1174
+ @enabled = enabled
1175
+ @plan = plan
1176
+ end
1177
+ end
1178
+
1179
+ class MandateOptions < ::Stripe::RequestParams
1180
+ # Amount to be charged for future payments, specified in the presentment currency.
1181
+ attr_accessor :amount
1182
+ # One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.
1183
+ attr_accessor :amount_type
1184
+ # A description of the mandate or subscription that is meant to be displayed to the customer.
1185
+ attr_accessor :description
1186
+ # End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
1187
+ attr_accessor :end_date
1188
+ # Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
1189
+ attr_accessor :interval
1190
+ # The number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`.
1191
+ attr_accessor :interval_count
1192
+ # Unique identifier for the mandate or subscription.
1193
+ attr_accessor :reference
1194
+ # Start date of the mandate or subscription. Start date should not be lesser than yesterday.
1195
+ attr_accessor :start_date
1196
+ # Specifies the type of mandates supported. Possible values are `india`.
1197
+ attr_accessor :supported_types
1198
+
1199
+ def initialize(
1200
+ amount: nil,
1201
+ amount_type: nil,
1202
+ description: nil,
1203
+ end_date: nil,
1204
+ interval: nil,
1205
+ interval_count: nil,
1206
+ reference: nil,
1207
+ start_date: nil,
1208
+ supported_types: nil
1209
+ )
1210
+ @amount = amount
1211
+ @amount_type = amount_type
1212
+ @description = description
1213
+ @end_date = end_date
1214
+ @interval = interval
1215
+ @interval_count = interval_count
1216
+ @reference = reference
1217
+ @start_date = start_date
1218
+ @supported_types = supported_types
1219
+ end
1220
+ end
1221
+
1222
+ class ThreeDSecure < ::Stripe::RequestParams
1223
+ class NetworkOptions < ::Stripe::RequestParams
1224
+ class CartesBancaires < ::Stripe::RequestParams
1225
+ # The cryptogram calculation algorithm used by the card Issuer's ACS
1226
+ # to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`.
1227
+ # messageExtension: CB-AVALGO
1228
+ attr_accessor :cb_avalgo
1229
+ # The exemption indicator returned from Cartes Bancaires in the ARes.
1230
+ # message extension: CB-EXEMPTION; string (4 characters)
1231
+ # This is a 3 byte bitmap (low significant byte first and most significant
1232
+ # bit first) that has been Base64 encoded
1233
+ attr_accessor :cb_exemption
1234
+ # The risk score returned from Cartes Bancaires in the ARes.
1235
+ # message extension: CB-SCORE; numeric value 0-99
1236
+ attr_accessor :cb_score
1237
+
1238
+ def initialize(cb_avalgo: nil, cb_exemption: nil, cb_score: nil)
1239
+ @cb_avalgo = cb_avalgo
1240
+ @cb_exemption = cb_exemption
1241
+ @cb_score = cb_score
1242
+ end
1243
+ end
1244
+ # Cartes Bancaires-specific 3DS fields.
1245
+ attr_accessor :cartes_bancaires
1246
+
1247
+ def initialize(cartes_bancaires: nil)
1248
+ @cartes_bancaires = cartes_bancaires
1249
+ end
1250
+ end
1251
+ # The `transStatus` returned from the card Issuer’s ACS in the ARes.
1252
+ attr_accessor :ares_trans_status
1253
+ # The cryptogram, also known as the "authentication value" (AAV, CAVV or
1254
+ # AEVV). This value is 20 bytes, base64-encoded into a 28-character string.
1255
+ # (Most 3D Secure providers will return the base64-encoded version, which
1256
+ # is what you should specify here.)
1257
+ attr_accessor :cryptogram
1258
+ # The Electronic Commerce Indicator (ECI) is returned by your 3D Secure
1259
+ # provider and indicates what degree of authentication was performed.
1260
+ attr_accessor :electronic_commerce_indicator
1261
+ # The exemption requested via 3DS and accepted by the issuer at authentication time.
1262
+ attr_accessor :exemption_indicator
1263
+ # Network specific 3DS fields. Network specific arguments require an
1264
+ # explicit card brand choice. The parameter `payment_method_options.card.network``
1265
+ # must be populated accordingly
1266
+ attr_accessor :network_options
1267
+ # The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the
1268
+ # AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99.
1269
+ attr_accessor :requestor_challenge_indicator
1270
+ # For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server
1271
+ # Transaction ID (dsTransID).
1272
+ attr_accessor :transaction_id
1273
+ # The version of 3D Secure that was performed.
1274
+ attr_accessor :version
1275
+
1276
+ def initialize(
1277
+ ares_trans_status: nil,
1278
+ cryptogram: nil,
1279
+ electronic_commerce_indicator: nil,
1280
+ exemption_indicator: nil,
1281
+ network_options: nil,
1282
+ requestor_challenge_indicator: nil,
1283
+ transaction_id: nil,
1284
+ version: nil
1285
+ )
1286
+ @ares_trans_status = ares_trans_status
1287
+ @cryptogram = cryptogram
1288
+ @electronic_commerce_indicator = electronic_commerce_indicator
1289
+ @exemption_indicator = exemption_indicator
1290
+ @network_options = network_options
1291
+ @requestor_challenge_indicator = requestor_challenge_indicator
1292
+ @transaction_id = transaction_id
1293
+ @version = version
1294
+ end
1295
+ end
1296
+ # Controls when the funds are captured from the customer's account.
1297
+ #
1298
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
1299
+ #
1300
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
1301
+ attr_accessor :capture_method
1302
+ # A single-use `cvc_update` Token that represents a card CVC value. When provided, the CVC value will be verified during the card payment attempt. This parameter can only be provided during confirmation.
1303
+ attr_accessor :cvc_token
1304
+ # Installment configuration for payments attempted on this PaymentIntent.
1305
+ #
1306
+ # For more information, see the [installments integration guide](https://docs.stripe.com/payments/installments).
1307
+ attr_accessor :installments
1308
+ # Configuration options for setting up an eMandate for cards issued in India.
1309
+ attr_accessor :mandate_options
1310
+ # When specified, this parameter indicates that a transaction will be marked
1311
+ # as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This
1312
+ # parameter can only be provided during confirmation.
1313
+ attr_accessor :moto
1314
+ # Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time.
1315
+ attr_accessor :network
1316
+ # Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.
1317
+ attr_accessor :request_extended_authorization
1318
+ # Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.
1319
+ attr_accessor :request_incremental_authorization
1320
+ # Request ability to make [multiple captures](https://docs.stripe.com/payments/multicapture) for this PaymentIntent.
1321
+ attr_accessor :request_multicapture
1322
+ # Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.
1323
+ attr_accessor :request_overcapture
1324
+ # We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
1325
+ attr_accessor :request_three_d_secure
1326
+ # When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).
1327
+ attr_accessor :require_cvc_recollection
1328
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1329
+ #
1330
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
1331
+ #
1332
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1333
+ #
1334
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1335
+ #
1336
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
1337
+ attr_accessor :setup_future_usage
1338
+ # Provides information about a card payment that customers see on their statements. Concatenated with the Kana prefix (shortened Kana descriptor) or Kana statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 22 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 22 characters.
1339
+ attr_accessor :statement_descriptor_suffix_kana
1340
+ # Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters.
1341
+ attr_accessor :statement_descriptor_suffix_kanji
1342
+ # If 3D Secure authentication was performed with a third-party provider,
1343
+ # the authentication details to use for this payment.
1344
+ attr_accessor :three_d_secure
1345
+
1346
+ def initialize(
1347
+ capture_method: nil,
1348
+ cvc_token: nil,
1349
+ installments: nil,
1350
+ mandate_options: nil,
1351
+ moto: nil,
1352
+ network: nil,
1353
+ request_extended_authorization: nil,
1354
+ request_incremental_authorization: nil,
1355
+ request_multicapture: nil,
1356
+ request_overcapture: nil,
1357
+ request_three_d_secure: nil,
1358
+ require_cvc_recollection: nil,
1359
+ setup_future_usage: nil,
1360
+ statement_descriptor_suffix_kana: nil,
1361
+ statement_descriptor_suffix_kanji: nil,
1362
+ three_d_secure: nil
1363
+ )
1364
+ @capture_method = capture_method
1365
+ @cvc_token = cvc_token
1366
+ @installments = installments
1367
+ @mandate_options = mandate_options
1368
+ @moto = moto
1369
+ @network = network
1370
+ @request_extended_authorization = request_extended_authorization
1371
+ @request_incremental_authorization = request_incremental_authorization
1372
+ @request_multicapture = request_multicapture
1373
+ @request_overcapture = request_overcapture
1374
+ @request_three_d_secure = request_three_d_secure
1375
+ @require_cvc_recollection = require_cvc_recollection
1376
+ @setup_future_usage = setup_future_usage
1377
+ @statement_descriptor_suffix_kana = statement_descriptor_suffix_kana
1378
+ @statement_descriptor_suffix_kanji = statement_descriptor_suffix_kanji
1379
+ @three_d_secure = three_d_secure
1380
+ end
1381
+ end
1382
+
1383
+ class CardPresent < ::Stripe::RequestParams
1384
+ class Routing < ::Stripe::RequestParams
1385
+ # Routing requested priority
1386
+ attr_accessor :requested_priority
1387
+
1388
+ def initialize(requested_priority: nil)
1389
+ @requested_priority = requested_priority
1390
+ end
1391
+ end
1392
+ # Controls when the funds are captured from the customer's account.
1393
+ #
1394
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
1395
+ #
1396
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
1397
+ attr_accessor :capture_method
1398
+ # Request ability to capture this payment beyond the standard [authorization validity window](https://docs.stripe.com/terminal/features/extended-authorizations#authorization-validity)
1399
+ attr_accessor :request_extended_authorization
1400
+ # Request ability to [increment](https://docs.stripe.com/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://docs.stripe.com/api/payment_intents/confirm) response to verify support.
1401
+ attr_accessor :request_incremental_authorization_support
1402
+ # Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes.
1403
+ attr_accessor :routing
1404
+
1405
+ def initialize(
1406
+ capture_method: nil,
1407
+ request_extended_authorization: nil,
1408
+ request_incremental_authorization_support: nil,
1409
+ routing: nil
1410
+ )
1411
+ @capture_method = capture_method
1412
+ @request_extended_authorization = request_extended_authorization
1413
+ @request_incremental_authorization_support = request_incremental_authorization_support
1414
+ @routing = routing
1415
+ end
1416
+ end
1417
+
1418
+ class Cashapp < ::Stripe::RequestParams
1419
+ # Controls when the funds are captured from the customer's account.
1420
+ #
1421
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
1422
+ #
1423
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
1424
+ attr_accessor :capture_method
1425
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1426
+ #
1427
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
1428
+ #
1429
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1430
+ #
1431
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1432
+ #
1433
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
1434
+ attr_accessor :setup_future_usage
1435
+
1436
+ def initialize(capture_method: nil, setup_future_usage: nil)
1437
+ @capture_method = capture_method
1438
+ @setup_future_usage = setup_future_usage
1439
+ end
1440
+ end
1441
+
1442
+ class Crypto < ::Stripe::RequestParams
1443
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1444
+ #
1445
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
1446
+ #
1447
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1448
+ #
1449
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1450
+ #
1451
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
1452
+ attr_accessor :setup_future_usage
1453
+
1454
+ def initialize(setup_future_usage: nil)
1455
+ @setup_future_usage = setup_future_usage
1456
+ end
1457
+ end
1458
+
1459
+ class CustomerBalance < ::Stripe::RequestParams
1460
+ class BankTransfer < ::Stripe::RequestParams
1461
+ class EuBankTransfer < ::Stripe::RequestParams
1462
+ # The desired country code of the bank account information. Permitted values include: `DE`, `FR`, `IE`, or `NL`.
1463
+ attr_accessor :country
1464
+
1465
+ def initialize(country: nil)
1466
+ @country = country
1467
+ end
1468
+ end
1469
+ # Configuration for the eu_bank_transfer funding type.
1470
+ attr_accessor :eu_bank_transfer
1471
+ # List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned.
1472
+ #
1473
+ # Permitted values include: `sort_code`, `zengin`, `iban`, or `spei`.
1474
+ attr_accessor :requested_address_types
1475
+ # The list of bank transfer types that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
1476
+ attr_accessor :type
1477
+
1478
+ def initialize(eu_bank_transfer: nil, requested_address_types: nil, type: nil)
1479
+ @eu_bank_transfer = eu_bank_transfer
1480
+ @requested_address_types = requested_address_types
1481
+ @type = type
1482
+ end
1483
+ end
1484
+ # Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
1485
+ attr_accessor :bank_transfer
1486
+ # The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.
1487
+ attr_accessor :funding_type
1488
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1489
+ #
1490
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
1491
+ #
1492
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1493
+ #
1494
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1495
+ #
1496
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
1497
+ attr_accessor :setup_future_usage
1498
+
1499
+ def initialize(bank_transfer: nil, funding_type: nil, setup_future_usage: nil)
1500
+ @bank_transfer = bank_transfer
1501
+ @funding_type = funding_type
1502
+ @setup_future_usage = setup_future_usage
1503
+ end
1504
+ end
1505
+
1506
+ class Eps < ::Stripe::RequestParams
1507
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1508
+ #
1509
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
1510
+ #
1511
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1512
+ #
1513
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1514
+ #
1515
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
1516
+ attr_accessor :setup_future_usage
1517
+
1518
+ def initialize(setup_future_usage: nil)
1519
+ @setup_future_usage = setup_future_usage
1520
+ end
1521
+ end
1522
+
1523
+ class Fpx < ::Stripe::RequestParams
1524
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1525
+ #
1526
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
1527
+ #
1528
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1529
+ #
1530
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1531
+ #
1532
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
1533
+ attr_accessor :setup_future_usage
1534
+
1535
+ def initialize(setup_future_usage: nil)
1536
+ @setup_future_usage = setup_future_usage
1537
+ end
1538
+ end
1539
+
1540
+ class Giropay < ::Stripe::RequestParams
1541
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1542
+ #
1543
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
1544
+ #
1545
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1546
+ #
1547
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1548
+ #
1549
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
1550
+ attr_accessor :setup_future_usage
1551
+
1552
+ def initialize(setup_future_usage: nil)
1553
+ @setup_future_usage = setup_future_usage
1554
+ end
1555
+ end
1556
+
1557
+ class Grabpay < ::Stripe::RequestParams
1558
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1559
+ #
1560
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
1561
+ #
1562
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1563
+ #
1564
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1565
+ #
1566
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
1567
+ attr_accessor :setup_future_usage
1568
+
1569
+ def initialize(setup_future_usage: nil)
1570
+ @setup_future_usage = setup_future_usage
1571
+ end
1572
+ end
1573
+
1574
+ class Ideal < ::Stripe::RequestParams
1575
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1576
+ #
1577
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
1578
+ #
1579
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1580
+ #
1581
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1582
+ #
1583
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
1584
+ attr_accessor :setup_future_usage
1585
+
1586
+ def initialize(setup_future_usage: nil)
1587
+ @setup_future_usage = setup_future_usage
1588
+ end
1589
+ end
1590
+
1591
+ class InteracPresent < ::Stripe::RequestParams; end
1592
+
1593
+ class KakaoPay < ::Stripe::RequestParams
1594
+ # Controls when the funds are captured from the customer's account.
1595
+ #
1596
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
1597
+ #
1598
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
1599
+ attr_accessor :capture_method
1600
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1601
+ #
1602
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
1603
+ #
1604
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1605
+ #
1606
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1607
+ attr_accessor :setup_future_usage
1608
+
1609
+ def initialize(capture_method: nil, setup_future_usage: nil)
1610
+ @capture_method = capture_method
1611
+ @setup_future_usage = setup_future_usage
1612
+ end
1613
+ end
1614
+
1615
+ class Klarna < ::Stripe::RequestParams
1616
+ class OnDemand < ::Stripe::RequestParams
1617
+ # Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc.
1618
+ attr_accessor :average_amount
1619
+ # The maximum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc.
1620
+ attr_accessor :maximum_amount
1621
+ # The lowest or minimum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc.
1622
+ attr_accessor :minimum_amount
1623
+ # Interval at which the customer is making purchases
1624
+ attr_accessor :purchase_interval
1625
+ # The number of `purchase_interval` between charges
1626
+ attr_accessor :purchase_interval_count
1627
+
1628
+ def initialize(
1629
+ average_amount: nil,
1630
+ maximum_amount: nil,
1631
+ minimum_amount: nil,
1632
+ purchase_interval: nil,
1633
+ purchase_interval_count: nil
1634
+ )
1635
+ @average_amount = average_amount
1636
+ @maximum_amount = maximum_amount
1637
+ @minimum_amount = minimum_amount
1638
+ @purchase_interval = purchase_interval
1639
+ @purchase_interval_count = purchase_interval_count
1640
+ end
1641
+ end
1642
+
1643
+ class Subscription < ::Stripe::RequestParams
1644
+ class NextBilling < ::Stripe::RequestParams
1645
+ # The amount of the next charge for the subscription.
1646
+ attr_accessor :amount
1647
+ # The date of the next charge for the subscription in YYYY-MM-DD format.
1648
+ attr_accessor :date
1649
+
1650
+ def initialize(amount: nil, date: nil)
1651
+ @amount = amount
1652
+ @date = date
1653
+ end
1654
+ end
1655
+ # Unit of time between subscription charges.
1656
+ attr_accessor :interval
1657
+ # The number of intervals (specified in the `interval` attribute) between subscription charges. For example, `interval=month` and `interval_count=3` charges every 3 months.
1658
+ attr_accessor :interval_count
1659
+ # Name for subscription.
1660
+ attr_accessor :name
1661
+ # Describes the upcoming charge for this subscription.
1662
+ attr_accessor :next_billing
1663
+ # A non-customer-facing reference to correlate subscription charges in the Klarna app. Use a value that persists across subscription charges.
1664
+ attr_accessor :reference
1665
+
1666
+ def initialize(
1667
+ interval: nil,
1668
+ interval_count: nil,
1669
+ name: nil,
1670
+ next_billing: nil,
1671
+ reference: nil
1672
+ )
1673
+ @interval = interval
1674
+ @interval_count = interval_count
1675
+ @name = name
1676
+ @next_billing = next_billing
1677
+ @reference = reference
1678
+ end
1679
+ end
1680
+ # Controls when the funds are captured from the customer's account.
1681
+ #
1682
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
1683
+ #
1684
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
1685
+ attr_accessor :capture_method
1686
+ # On-demand details if setting up or charging an on-demand payment.
1687
+ attr_accessor :on_demand
1688
+ # Preferred language of the Klarna authorization page that the customer is redirected to
1689
+ attr_accessor :preferred_locale
1690
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1691
+ #
1692
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
1693
+ #
1694
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1695
+ #
1696
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1697
+ #
1698
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
1699
+ attr_accessor :setup_future_usage
1700
+ # Subscription details if setting up or charging a subscription.
1701
+ attr_accessor :subscriptions
1702
+
1703
+ def initialize(
1704
+ capture_method: nil,
1705
+ on_demand: nil,
1706
+ preferred_locale: nil,
1707
+ setup_future_usage: nil,
1708
+ subscriptions: nil
1709
+ )
1710
+ @capture_method = capture_method
1711
+ @on_demand = on_demand
1712
+ @preferred_locale = preferred_locale
1713
+ @setup_future_usage = setup_future_usage
1714
+ @subscriptions = subscriptions
1715
+ end
1716
+ end
1717
+
1718
+ class Konbini < ::Stripe::RequestParams
1719
+ # An optional 10 to 11 digit numeric-only string determining the confirmation code at applicable convenience stores. Must not consist of only zeroes and could be rejected in case of insufficient uniqueness. We recommend to use the customer's phone number.
1720
+ attr_accessor :confirmation_number
1721
+ # The number of calendar days (between 1 and 60) after which Konbini payment instructions will expire. For example, if a PaymentIntent is confirmed with Konbini and `expires_after_days` set to 2 on Monday JST, the instructions will expire on Wednesday 23:59:59 JST. Defaults to 3 days.
1722
+ attr_accessor :expires_after_days
1723
+ # The timestamp at which the Konbini payment instructions will expire. Only one of `expires_after_days` or `expires_at` may be set.
1724
+ attr_accessor :expires_at
1725
+ # A product descriptor of up to 22 characters, which will appear to customers at the convenience store.
1726
+ attr_accessor :product_description
1727
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1728
+ #
1729
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
1730
+ #
1731
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1732
+ #
1733
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1734
+ #
1735
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
1736
+ attr_accessor :setup_future_usage
1737
+
1738
+ def initialize(
1739
+ confirmation_number: nil,
1740
+ expires_after_days: nil,
1741
+ expires_at: nil,
1742
+ product_description: nil,
1743
+ setup_future_usage: nil
1744
+ )
1745
+ @confirmation_number = confirmation_number
1746
+ @expires_after_days = expires_after_days
1747
+ @expires_at = expires_at
1748
+ @product_description = product_description
1749
+ @setup_future_usage = setup_future_usage
1750
+ end
1751
+ end
1752
+
1753
+ class KrCard < ::Stripe::RequestParams
1754
+ # Controls when the funds are captured from the customer's account.
1755
+ #
1756
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
1757
+ #
1758
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
1759
+ attr_accessor :capture_method
1760
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1761
+ #
1762
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
1763
+ #
1764
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1765
+ #
1766
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1767
+ attr_accessor :setup_future_usage
1768
+
1769
+ def initialize(capture_method: nil, setup_future_usage: nil)
1770
+ @capture_method = capture_method
1771
+ @setup_future_usage = setup_future_usage
1772
+ end
1773
+ end
1774
+
1775
+ class Link < ::Stripe::RequestParams
1776
+ # Controls when the funds are captured from the customer's account.
1777
+ #
1778
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
1779
+ #
1780
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
1781
+ attr_accessor :capture_method
1782
+ # [Deprecated] This is a legacy parameter that no longer has any function.
1783
+ attr_accessor :persistent_token
1784
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1785
+ #
1786
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
1787
+ #
1788
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1789
+ #
1790
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1791
+ #
1792
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
1793
+ attr_accessor :setup_future_usage
1794
+
1795
+ def initialize(capture_method: nil, persistent_token: nil, setup_future_usage: nil)
1796
+ @capture_method = capture_method
1797
+ @persistent_token = persistent_token
1798
+ @setup_future_usage = setup_future_usage
1799
+ end
1800
+ end
1801
+
1802
+ class MbWay < ::Stripe::RequestParams
1803
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1804
+ #
1805
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
1806
+ #
1807
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1808
+ #
1809
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1810
+ #
1811
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
1812
+ attr_accessor :setup_future_usage
1813
+
1814
+ def initialize(setup_future_usage: nil)
1815
+ @setup_future_usage = setup_future_usage
1816
+ end
1817
+ end
1818
+
1819
+ class Mobilepay < ::Stripe::RequestParams
1820
+ # Controls when the funds are captured from the customer's account.
1821
+ #
1822
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
1823
+ #
1824
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
1825
+ attr_accessor :capture_method
1826
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1827
+ #
1828
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
1829
+ #
1830
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1831
+ #
1832
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1833
+ #
1834
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
1835
+ attr_accessor :setup_future_usage
1836
+
1837
+ def initialize(capture_method: nil, setup_future_usage: nil)
1838
+ @capture_method = capture_method
1839
+ @setup_future_usage = setup_future_usage
1840
+ end
1841
+ end
1842
+
1843
+ class Multibanco < ::Stripe::RequestParams
1844
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1845
+ #
1846
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
1847
+ #
1848
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1849
+ #
1850
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1851
+ #
1852
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
1853
+ attr_accessor :setup_future_usage
1854
+
1855
+ def initialize(setup_future_usage: nil)
1856
+ @setup_future_usage = setup_future_usage
1857
+ end
1858
+ end
1859
+
1860
+ class NaverPay < ::Stripe::RequestParams
1861
+ # Controls when the funds are captured from the customer's account.
1862
+ #
1863
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
1864
+ #
1865
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
1866
+ attr_accessor :capture_method
1867
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1868
+ #
1869
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
1870
+ #
1871
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1872
+ #
1873
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1874
+ attr_accessor :setup_future_usage
1875
+
1876
+ def initialize(capture_method: nil, setup_future_usage: nil)
1877
+ @capture_method = capture_method
1878
+ @setup_future_usage = setup_future_usage
1879
+ end
1880
+ end
1881
+
1882
+ class NzBankAccount < ::Stripe::RequestParams
1883
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1884
+ #
1885
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
1886
+ #
1887
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1888
+ #
1889
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1890
+ #
1891
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
1892
+ attr_accessor :setup_future_usage
1893
+ # Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
1894
+ attr_accessor :target_date
1895
+
1896
+ def initialize(setup_future_usage: nil, target_date: nil)
1897
+ @setup_future_usage = setup_future_usage
1898
+ @target_date = target_date
1899
+ end
1900
+ end
1901
+
1902
+ class Oxxo < ::Stripe::RequestParams
1903
+ # The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time.
1904
+ attr_accessor :expires_after_days
1905
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1906
+ #
1907
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
1908
+ #
1909
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1910
+ #
1911
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1912
+ #
1913
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
1914
+ attr_accessor :setup_future_usage
1915
+
1916
+ def initialize(expires_after_days: nil, setup_future_usage: nil)
1917
+ @expires_after_days = expires_after_days
1918
+ @setup_future_usage = setup_future_usage
1919
+ end
1920
+ end
1921
+
1922
+ class P24 < ::Stripe::RequestParams
1923
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1924
+ #
1925
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
1926
+ #
1927
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1928
+ #
1929
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1930
+ #
1931
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
1932
+ attr_accessor :setup_future_usage
1933
+ # Confirm that the payer has accepted the P24 terms and conditions.
1934
+ attr_accessor :tos_shown_and_accepted
1935
+
1936
+ def initialize(setup_future_usage: nil, tos_shown_and_accepted: nil)
1937
+ @setup_future_usage = setup_future_usage
1938
+ @tos_shown_and_accepted = tos_shown_and_accepted
1939
+ end
1940
+ end
1941
+
1942
+ class PayByBank < ::Stripe::RequestParams; end
1943
+
1944
+ class Payco < ::Stripe::RequestParams
1945
+ # Controls when the funds are captured from the customer's account.
1946
+ #
1947
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
1948
+ #
1949
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
1950
+ attr_accessor :capture_method
1951
+
1952
+ def initialize(capture_method: nil)
1953
+ @capture_method = capture_method
1954
+ end
1955
+ end
1956
+
1957
+ class Paynow < ::Stripe::RequestParams
1958
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1959
+ #
1960
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
1961
+ #
1962
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1963
+ #
1964
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1965
+ #
1966
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
1967
+ attr_accessor :setup_future_usage
1968
+
1969
+ def initialize(setup_future_usage: nil)
1970
+ @setup_future_usage = setup_future_usage
1971
+ end
1972
+ end
1973
+
1974
+ class Paypal < ::Stripe::RequestParams
1975
+ # Controls when the funds will be captured from the customer's account.
1976
+ attr_accessor :capture_method
1977
+ # [Preferred locale](https://docs.stripe.com/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
1978
+ attr_accessor :preferred_locale
1979
+ # A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
1980
+ attr_accessor :reference
1981
+ # The risk correlation ID for an on-session payment using a saved PayPal payment method.
1982
+ attr_accessor :risk_correlation_id
1983
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1984
+ #
1985
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
1986
+ #
1987
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1988
+ #
1989
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1990
+ #
1991
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
1992
+ attr_accessor :setup_future_usage
1993
+
1994
+ def initialize(
1995
+ capture_method: nil,
1996
+ preferred_locale: nil,
1997
+ reference: nil,
1998
+ risk_correlation_id: nil,
1999
+ setup_future_usage: nil
2000
+ )
2001
+ @capture_method = capture_method
2002
+ @preferred_locale = preferred_locale
2003
+ @reference = reference
2004
+ @risk_correlation_id = risk_correlation_id
2005
+ @setup_future_usage = setup_future_usage
2006
+ end
2007
+ end
2008
+
2009
+ class Payto < ::Stripe::RequestParams
2010
+ class MandateOptions < ::Stripe::RequestParams
2011
+ # Amount that will be collected. It is required when `amount_type` is `fixed`.
2012
+ attr_accessor :amount
2013
+ # The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`.
2014
+ attr_accessor :amount_type
2015
+ # Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
2016
+ attr_accessor :end_date
2017
+ # The periodicity at which payments will be collected. Defaults to `adhoc`.
2018
+ attr_accessor :payment_schedule
2019
+ # The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
2020
+ attr_accessor :payments_per_period
2021
+ # The purpose for which payments are made. Has a default value based on your merchant category code.
2022
+ attr_accessor :purpose
2023
+
2024
+ def initialize(
2025
+ amount: nil,
2026
+ amount_type: nil,
2027
+ end_date: nil,
2028
+ payment_schedule: nil,
2029
+ payments_per_period: nil,
2030
+ purpose: nil
2031
+ )
2032
+ @amount = amount
2033
+ @amount_type = amount_type
2034
+ @end_date = end_date
2035
+ @payment_schedule = payment_schedule
2036
+ @payments_per_period = payments_per_period
2037
+ @purpose = purpose
2038
+ end
2039
+ end
2040
+ # Additional fields for Mandate creation. Only `purpose` field is configurable for PayTo PaymentIntent with `setup_future_usage=none`. Other fields are only applicable to PayTo PaymentIntent with `setup_future_usage=off_session`
2041
+ attr_accessor :mandate_options
2042
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2043
+ #
2044
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
2045
+ #
2046
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2047
+ #
2048
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
2049
+ #
2050
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
2051
+ attr_accessor :setup_future_usage
2052
+
2053
+ def initialize(mandate_options: nil, setup_future_usage: nil)
2054
+ @mandate_options = mandate_options
2055
+ @setup_future_usage = setup_future_usage
2056
+ end
2057
+ end
2058
+
2059
+ class Pix < ::Stripe::RequestParams
2060
+ class MandateOptions < ::Stripe::RequestParams
2061
+ # Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
2062
+ attr_accessor :amount
2063
+ # Determines if the amount includes the IOF tax. Defaults to `never`.
2064
+ attr_accessor :amount_includes_iof
2065
+ # Type of amount. Defaults to `maximum`.
2066
+ attr_accessor :amount_type
2067
+ # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
2068
+ attr_accessor :currency
2069
+ # Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
2070
+ attr_accessor :end_date
2071
+ # Schedule at which the future payments will be charged. Defaults to `monthly`.
2072
+ attr_accessor :payment_schedule
2073
+ # Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
2074
+ attr_accessor :reference
2075
+ # Start date of the mandate, in `YYYY-MM-DD`. Start date should be at least 3 days in the future. Defaults to 3 days after the current date.
2076
+ attr_accessor :start_date
2077
+
2078
+ def initialize(
2079
+ amount: nil,
2080
+ amount_includes_iof: nil,
2081
+ amount_type: nil,
2082
+ currency: nil,
2083
+ end_date: nil,
2084
+ payment_schedule: nil,
2085
+ reference: nil,
2086
+ start_date: nil
2087
+ )
2088
+ @amount = amount
2089
+ @amount_includes_iof = amount_includes_iof
2090
+ @amount_type = amount_type
2091
+ @currency = currency
2092
+ @end_date = end_date
2093
+ @payment_schedule = payment_schedule
2094
+ @reference = reference
2095
+ @start_date = start_date
2096
+ end
2097
+ end
2098
+ # Determines if the amount includes the IOF tax. Defaults to `never`.
2099
+ attr_accessor :amount_includes_iof
2100
+ # The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
2101
+ attr_accessor :expires_after_seconds
2102
+ # The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.
2103
+ attr_accessor :expires_at
2104
+ # Additional fields for mandate creation. Only applicable when `setup_future_usage=off_session`.
2105
+ attr_accessor :mandate_options
2106
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2107
+ #
2108
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
2109
+ #
2110
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2111
+ #
2112
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
2113
+ attr_accessor :setup_future_usage
2114
+
2115
+ def initialize(
2116
+ amount_includes_iof: nil,
2117
+ expires_after_seconds: nil,
2118
+ expires_at: nil,
2119
+ mandate_options: nil,
2120
+ setup_future_usage: nil
2121
+ )
2122
+ @amount_includes_iof = amount_includes_iof
2123
+ @expires_after_seconds = expires_after_seconds
2124
+ @expires_at = expires_at
2125
+ @mandate_options = mandate_options
2126
+ @setup_future_usage = setup_future_usage
2127
+ end
2128
+ end
2129
+
2130
+ class Promptpay < ::Stripe::RequestParams
2131
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2132
+ #
2133
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
2134
+ #
2135
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2136
+ #
2137
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
2138
+ #
2139
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
2140
+ attr_accessor :setup_future_usage
2141
+
2142
+ def initialize(setup_future_usage: nil)
2143
+ @setup_future_usage = setup_future_usage
2144
+ end
2145
+ end
2146
+
2147
+ class RevolutPay < ::Stripe::RequestParams
2148
+ # Controls when the funds are captured from the customer's account.
2149
+ #
2150
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
2151
+ #
2152
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
2153
+ attr_accessor :capture_method
2154
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2155
+ #
2156
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
2157
+ #
2158
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2159
+ #
2160
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
2161
+ attr_accessor :setup_future_usage
2162
+
2163
+ def initialize(capture_method: nil, setup_future_usage: nil)
2164
+ @capture_method = capture_method
2165
+ @setup_future_usage = setup_future_usage
2166
+ end
2167
+ end
2168
+
2169
+ class SamsungPay < ::Stripe::RequestParams
2170
+ # Controls when the funds are captured from the customer's account.
2171
+ #
2172
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
2173
+ #
2174
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
2175
+ attr_accessor :capture_method
2176
+
2177
+ def initialize(capture_method: nil)
2178
+ @capture_method = capture_method
2179
+ end
2180
+ end
2181
+
2182
+ class Satispay < ::Stripe::RequestParams
2183
+ # Controls when the funds are captured from the customer's account.
2184
+ #
2185
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
2186
+ #
2187
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
2188
+ attr_accessor :capture_method
2189
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2190
+ #
2191
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
2192
+ #
2193
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2194
+ #
2195
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
2196
+ attr_accessor :setup_future_usage
2197
+
2198
+ def initialize(capture_method: nil, setup_future_usage: nil)
2199
+ @capture_method = capture_method
2200
+ @setup_future_usage = setup_future_usage
2201
+ end
2202
+ end
2203
+
2204
+ class Scalapay < ::Stripe::RequestParams
2205
+ # Controls when the funds are captured from the customer's account.
2206
+ #
2207
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
2208
+ #
2209
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
2210
+ attr_accessor :capture_method
2211
+
2212
+ def initialize(capture_method: nil)
2213
+ @capture_method = capture_method
2214
+ end
2215
+ end
2216
+
2217
+ class SepaDebit < ::Stripe::RequestParams
2218
+ class MandateOptions < ::Stripe::RequestParams
2219
+ # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.
2220
+ attr_accessor :reference_prefix
2221
+
2222
+ def initialize(reference_prefix: nil)
2223
+ @reference_prefix = reference_prefix
2224
+ end
2225
+ end
2226
+ # Additional fields for Mandate creation
2227
+ attr_accessor :mandate_options
2228
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2229
+ #
2230
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
2231
+ #
2232
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2233
+ #
2234
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
2235
+ #
2236
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
2237
+ attr_accessor :setup_future_usage
2238
+ # Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
2239
+ attr_accessor :target_date
2240
+
2241
+ def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil)
2242
+ @mandate_options = mandate_options
2243
+ @setup_future_usage = setup_future_usage
2244
+ @target_date = target_date
2245
+ end
2246
+ end
2247
+
2248
+ class Sofort < ::Stripe::RequestParams
2249
+ # Language shown to the payer on redirect.
2250
+ attr_accessor :preferred_language
2251
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2252
+ #
2253
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
2254
+ #
2255
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2256
+ #
2257
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
2258
+ #
2259
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
2260
+ attr_accessor :setup_future_usage
2261
+
2262
+ def initialize(preferred_language: nil, setup_future_usage: nil)
2263
+ @preferred_language = preferred_language
2264
+ @setup_future_usage = setup_future_usage
2265
+ end
2266
+ end
2267
+
2268
+ class Sunbit < ::Stripe::RequestParams
2269
+ # Controls when the funds are captured from the customer's account.
2270
+ #
2271
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
2272
+ #
2273
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
2274
+ attr_accessor :capture_method
2275
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2276
+ #
2277
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
2278
+ #
2279
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2280
+ #
2281
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
2282
+ attr_accessor :setup_future_usage
2283
+
2284
+ def initialize(capture_method: nil, setup_future_usage: nil)
2285
+ @capture_method = capture_method
2286
+ @setup_future_usage = setup_future_usage
2287
+ end
2288
+ end
2289
+
2290
+ class Swish < ::Stripe::RequestParams
2291
+ # A reference for this payment to be displayed in the Swish app.
2292
+ attr_accessor :reference
2293
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2294
+ #
2295
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
2296
+ #
2297
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2298
+ #
2299
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
2300
+ #
2301
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
2302
+ attr_accessor :setup_future_usage
2303
+
2304
+ def initialize(reference: nil, setup_future_usage: nil)
2305
+ @reference = reference
2306
+ @setup_future_usage = setup_future_usage
2307
+ end
2308
+ end
2309
+
2310
+ class Twint < ::Stripe::RequestParams
2311
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2312
+ #
2313
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
2314
+ #
2315
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2316
+ #
2317
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
2318
+ #
2319
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
2320
+ attr_accessor :setup_future_usage
2321
+
2322
+ def initialize(setup_future_usage: nil)
2323
+ @setup_future_usage = setup_future_usage
2324
+ end
2325
+ end
2326
+
2327
+ class Upi < ::Stripe::RequestParams
2328
+ class MandateOptions < ::Stripe::RequestParams
2329
+ # Amount to be charged for future payments.
2330
+ attr_accessor :amount
2331
+ # One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.
2332
+ attr_accessor :amount_type
2333
+ # A description of the mandate or subscription that is meant to be displayed to the customer.
2334
+ attr_accessor :description
2335
+ # End date of the mandate or subscription.
2336
+ attr_accessor :end_date
2337
+
2338
+ def initialize(amount: nil, amount_type: nil, description: nil, end_date: nil)
2339
+ @amount = amount
2340
+ @amount_type = amount_type
2341
+ @description = description
2342
+ @end_date = end_date
2343
+ end
2344
+ end
2345
+ # Configuration options for setting up an eMandate
2346
+ attr_accessor :mandate_options
2347
+ # Attribute for param field setup_future_usage
2348
+ attr_accessor :setup_future_usage
2349
+
2350
+ def initialize(mandate_options: nil, setup_future_usage: nil)
2351
+ @mandate_options = mandate_options
2352
+ @setup_future_usage = setup_future_usage
2353
+ end
2354
+ end
2355
+
2356
+ class UsBankAccount < ::Stripe::RequestParams
2357
+ class FinancialConnections < ::Stripe::RequestParams
2358
+ class Filters < ::Stripe::RequestParams
2359
+ # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
2360
+ attr_accessor :account_subcategories
2361
+
2362
+ def initialize(account_subcategories: nil)
2363
+ @account_subcategories = account_subcategories
2364
+ end
2365
+ end
2366
+ # Provide filters for the linked accounts that the customer can select for the payment method.
2367
+ attr_accessor :filters
2368
+ # The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
2369
+ attr_accessor :permissions
2370
+ # List of data features that you would like to retrieve upon account creation.
2371
+ attr_accessor :prefetch
2372
+ # For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
2373
+ attr_accessor :return_url
2374
+
2375
+ def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
2376
+ @filters = filters
2377
+ @permissions = permissions
2378
+ @prefetch = prefetch
2379
+ @return_url = return_url
2380
+ end
2381
+ end
2382
+
2383
+ class MandateOptions < ::Stripe::RequestParams
2384
+ # The method used to collect offline mandate customer acceptance.
2385
+ attr_accessor :collection_method
2386
+
2387
+ def initialize(collection_method: nil)
2388
+ @collection_method = collection_method
2389
+ end
2390
+ end
2391
+
2392
+ class Networks < ::Stripe::RequestParams
2393
+ # Triggers validations to run across the selected networks
2394
+ attr_accessor :requested
2395
+
2396
+ def initialize(requested: nil)
2397
+ @requested = requested
2398
+ end
2399
+ end
2400
+ # Additional fields for Financial Connections Session creation
2401
+ attr_accessor :financial_connections
2402
+ # Additional fields for Mandate creation
2403
+ attr_accessor :mandate_options
2404
+ # Additional fields for network related functions
2405
+ attr_accessor :networks
2406
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2407
+ #
2408
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
2409
+ #
2410
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2411
+ #
2412
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
2413
+ #
2414
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
2415
+ attr_accessor :setup_future_usage
2416
+ # Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
2417
+ attr_accessor :target_date
2418
+ # The purpose of the transaction.
2419
+ attr_accessor :transaction_purpose
2420
+ # Bank account verification method. The default value is `automatic`.
2421
+ attr_accessor :verification_method
2422
+
2423
+ def initialize(
2424
+ financial_connections: nil,
2425
+ mandate_options: nil,
2426
+ networks: nil,
2427
+ setup_future_usage: nil,
2428
+ target_date: nil,
2429
+ transaction_purpose: nil,
2430
+ verification_method: nil
2431
+ )
2432
+ @financial_connections = financial_connections
2433
+ @mandate_options = mandate_options
2434
+ @networks = networks
2435
+ @setup_future_usage = setup_future_usage
2436
+ @target_date = target_date
2437
+ @transaction_purpose = transaction_purpose
2438
+ @verification_method = verification_method
2439
+ end
2440
+ end
2441
+
2442
+ class WechatPay < ::Stripe::RequestParams
2443
+ # The app ID registered with WeChat Pay. Only required when client is ios, android, or mini_program.
2444
+ attr_accessor :app_id
2445
+ # The client type that the end customer will pay from
2446
+ attr_accessor :client
2447
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2448
+ #
2449
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
2450
+ #
2451
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2452
+ #
2453
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
2454
+ #
2455
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
2456
+ attr_accessor :setup_future_usage
2457
+
2458
+ def initialize(app_id: nil, client: nil, setup_future_usage: nil)
2459
+ @app_id = app_id
2460
+ @client = client
2461
+ @setup_future_usage = setup_future_usage
2462
+ end
2463
+ end
2464
+
2465
+ class Zip < ::Stripe::RequestParams
2466
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2467
+ #
2468
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
2469
+ #
2470
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2471
+ #
2472
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
2473
+ #
2474
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
2475
+ attr_accessor :setup_future_usage
2476
+
2477
+ def initialize(setup_future_usage: nil)
2478
+ @setup_future_usage = setup_future_usage
2479
+ end
2480
+ end
2481
+ # If this is a `acss_debit` PaymentMethod, this sub-hash contains details about the ACSS Debit payment method options.
2482
+ attr_accessor :acss_debit
2483
+ # If this is an `affirm` PaymentMethod, this sub-hash contains details about the Affirm payment method options.
2484
+ attr_accessor :affirm
2485
+ # If this is a `afterpay_clearpay` PaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options.
2486
+ attr_accessor :afterpay_clearpay
2487
+ # If this is a `alipay` PaymentMethod, this sub-hash contains details about the Alipay payment method options.
2488
+ attr_accessor :alipay
2489
+ # If this is a `alma` PaymentMethod, this sub-hash contains details about the Alma payment method options.
2490
+ attr_accessor :alma
2491
+ # If this is a `amazon_pay` PaymentMethod, this sub-hash contains details about the Amazon Pay payment method options.
2492
+ attr_accessor :amazon_pay
2493
+ # If this is a `au_becs_debit` PaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options.
2494
+ attr_accessor :au_becs_debit
2495
+ # If this is a `bacs_debit` PaymentMethod, this sub-hash contains details about the BACS Debit payment method options.
2496
+ attr_accessor :bacs_debit
2497
+ # If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options.
2498
+ attr_accessor :bancontact
2499
+ # If this is a `billie` PaymentMethod, this sub-hash contains details about the Billie payment method options.
2500
+ attr_accessor :billie
2501
+ # If this is a `bizum` PaymentMethod, this sub-hash contains details about the Bizum payment method options.
2502
+ attr_accessor :bizum
2503
+ # If this is a `blik` PaymentMethod, this sub-hash contains details about the BLIK payment method options.
2504
+ attr_accessor :blik
2505
+ # If this is a `boleto` PaymentMethod, this sub-hash contains details about the Boleto payment method options.
2506
+ attr_accessor :boleto
2507
+ # Configuration for any card payments attempted on this PaymentIntent.
2508
+ attr_accessor :card
2509
+ # If this is a `card_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
2510
+ attr_accessor :card_present
2511
+ # If this is a `cashapp` PaymentMethod, this sub-hash contains details about the Cash App Pay payment method options.
2512
+ attr_accessor :cashapp
2513
+ # If this is a `crypto` PaymentMethod, this sub-hash contains details about the Crypto payment method options.
2514
+ attr_accessor :crypto
2515
+ # If this is a `customer balance` PaymentMethod, this sub-hash contains details about the customer balance payment method options.
2516
+ attr_accessor :customer_balance
2517
+ # If this is a `eps` PaymentMethod, this sub-hash contains details about the EPS payment method options.
2518
+ attr_accessor :eps
2519
+ # If this is a `fpx` PaymentMethod, this sub-hash contains details about the FPX payment method options.
2520
+ attr_accessor :fpx
2521
+ # If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.
2522
+ attr_accessor :giropay
2523
+ # If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
2524
+ attr_accessor :grabpay
2525
+ # If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
2526
+ attr_accessor :ideal
2527
+ # If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
2528
+ attr_accessor :interac_present
2529
+ # If this is a `kakao_pay` PaymentMethod, this sub-hash contains details about the Kakao Pay payment method options.
2530
+ attr_accessor :kakao_pay
2531
+ # If this is a `klarna` PaymentMethod, this sub-hash contains details about the Klarna payment method options.
2532
+ attr_accessor :klarna
2533
+ # If this is a `konbini` PaymentMethod, this sub-hash contains details about the Konbini payment method options.
2534
+ attr_accessor :konbini
2535
+ # If this is a `kr_card` PaymentMethod, this sub-hash contains details about the KR Card payment method options.
2536
+ attr_accessor :kr_card
2537
+ # If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options (Link is also known as Onelink in the UK).
2538
+ attr_accessor :link
2539
+ # If this is a `mb_way` PaymentMethod, this sub-hash contains details about the MB WAY payment method options.
2540
+ attr_accessor :mb_way
2541
+ # If this is a `MobilePay` PaymentMethod, this sub-hash contains details about the MobilePay payment method options.
2542
+ attr_accessor :mobilepay
2543
+ # If this is a `multibanco` PaymentMethod, this sub-hash contains details about the Multibanco payment method options.
2544
+ attr_accessor :multibanco
2545
+ # If this is a `naver_pay` PaymentMethod, this sub-hash contains details about the Naver Pay payment method options.
2546
+ attr_accessor :naver_pay
2547
+ # If this is a `nz_bank_account` PaymentMethod, this sub-hash contains details about the NZ BECS Direct Debit payment method options.
2548
+ attr_accessor :nz_bank_account
2549
+ # If this is a `oxxo` PaymentMethod, this sub-hash contains details about the OXXO payment method options.
2550
+ attr_accessor :oxxo
2551
+ # If this is a `p24` PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options.
2552
+ attr_accessor :p24
2553
+ # If this is a `pay_by_bank` PaymentMethod, this sub-hash contains details about the PayByBank payment method options.
2554
+ attr_accessor :pay_by_bank
2555
+ # If this is a `payco` PaymentMethod, this sub-hash contains details about the PAYCO payment method options.
2556
+ attr_accessor :payco
2557
+ # If this is a `paynow` PaymentMethod, this sub-hash contains details about the PayNow payment method options.
2558
+ attr_accessor :paynow
2559
+ # If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
2560
+ attr_accessor :paypal
2561
+ # If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options.
2562
+ attr_accessor :payto
2563
+ # If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options.
2564
+ attr_accessor :pix
2565
+ # If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options.
2566
+ attr_accessor :promptpay
2567
+ # If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
2568
+ attr_accessor :revolut_pay
2569
+ # If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.
2570
+ attr_accessor :samsung_pay
2571
+ # If this is a `satispay` PaymentMethod, this sub-hash contains details about the Satispay payment method options.
2572
+ attr_accessor :satispay
2573
+ # If this is a `scalapay` PaymentMethod, this sub-hash contains details about the ScalaPay payment method options.
2574
+ attr_accessor :scalapay
2575
+ # If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
2576
+ attr_accessor :sepa_debit
2577
+ # If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
2578
+ attr_accessor :sofort
2579
+ # If this is a `sunbit` PaymentMethod, this sub-hash contains details about the Sunbit payment method options.
2580
+ attr_accessor :sunbit
2581
+ # If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options.
2582
+ attr_accessor :swish
2583
+ # If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options.
2584
+ attr_accessor :twint
2585
+ # If this is a `upi` PaymentIntent, this sub-hash contains details about the UPI payment method options.
2586
+ attr_accessor :upi
2587
+ # If this is a `us_bank_account` PaymentMethod, this sub-hash contains details about the US bank account payment method options.
2588
+ attr_accessor :us_bank_account
2589
+ # If this is a `wechat_pay` PaymentMethod, this sub-hash contains details about the WeChat Pay payment method options.
2590
+ attr_accessor :wechat_pay
2591
+ # If this is a `zip` PaymentMethod, this sub-hash contains details about the Zip payment method options.
2592
+ attr_accessor :zip
2593
+
2594
+ def initialize(
2595
+ acss_debit: nil,
2596
+ affirm: nil,
2597
+ afterpay_clearpay: nil,
2598
+ alipay: nil,
2599
+ alma: nil,
2600
+ amazon_pay: nil,
2601
+ au_becs_debit: nil,
2602
+ bacs_debit: nil,
2603
+ bancontact: nil,
2604
+ billie: nil,
2605
+ bizum: nil,
2606
+ blik: nil,
2607
+ boleto: nil,
2608
+ card: nil,
2609
+ card_present: nil,
2610
+ cashapp: nil,
2611
+ crypto: nil,
2612
+ customer_balance: nil,
2613
+ eps: nil,
2614
+ fpx: nil,
2615
+ giropay: nil,
2616
+ grabpay: nil,
2617
+ ideal: nil,
2618
+ interac_present: nil,
2619
+ kakao_pay: nil,
2620
+ klarna: nil,
2621
+ konbini: nil,
2622
+ kr_card: nil,
2623
+ link: nil,
2624
+ mb_way: nil,
2625
+ mobilepay: nil,
2626
+ multibanco: nil,
2627
+ naver_pay: nil,
2628
+ nz_bank_account: nil,
2629
+ oxxo: nil,
2630
+ p24: nil,
2631
+ pay_by_bank: nil,
2632
+ payco: nil,
2633
+ paynow: nil,
2634
+ paypal: nil,
2635
+ payto: nil,
2636
+ pix: nil,
2637
+ promptpay: nil,
2638
+ revolut_pay: nil,
2639
+ samsung_pay: nil,
2640
+ satispay: nil,
2641
+ scalapay: nil,
2642
+ sepa_debit: nil,
2643
+ sofort: nil,
2644
+ sunbit: nil,
2645
+ swish: nil,
2646
+ twint: nil,
2647
+ upi: nil,
2648
+ us_bank_account: nil,
2649
+ wechat_pay: nil,
2650
+ zip: nil
2651
+ )
2652
+ @acss_debit = acss_debit
2653
+ @affirm = affirm
2654
+ @afterpay_clearpay = afterpay_clearpay
2655
+ @alipay = alipay
2656
+ @alma = alma
2657
+ @amazon_pay = amazon_pay
2658
+ @au_becs_debit = au_becs_debit
2659
+ @bacs_debit = bacs_debit
2660
+ @bancontact = bancontact
2661
+ @billie = billie
2662
+ @bizum = bizum
2663
+ @blik = blik
2664
+ @boleto = boleto
2665
+ @card = card
2666
+ @card_present = card_present
2667
+ @cashapp = cashapp
2668
+ @crypto = crypto
2669
+ @customer_balance = customer_balance
2670
+ @eps = eps
2671
+ @fpx = fpx
2672
+ @giropay = giropay
2673
+ @grabpay = grabpay
2674
+ @ideal = ideal
2675
+ @interac_present = interac_present
2676
+ @kakao_pay = kakao_pay
2677
+ @klarna = klarna
2678
+ @konbini = konbini
2679
+ @kr_card = kr_card
2680
+ @link = link
2681
+ @mb_way = mb_way
2682
+ @mobilepay = mobilepay
2683
+ @multibanco = multibanco
2684
+ @naver_pay = naver_pay
2685
+ @nz_bank_account = nz_bank_account
2686
+ @oxxo = oxxo
2687
+ @p24 = p24
2688
+ @pay_by_bank = pay_by_bank
2689
+ @payco = payco
2690
+ @paynow = paynow
2691
+ @paypal = paypal
2692
+ @payto = payto
2693
+ @pix = pix
2694
+ @promptpay = promptpay
2695
+ @revolut_pay = revolut_pay
2696
+ @samsung_pay = samsung_pay
2697
+ @satispay = satispay
2698
+ @scalapay = scalapay
2699
+ @sepa_debit = sepa_debit
2700
+ @sofort = sofort
2701
+ @sunbit = sunbit
2702
+ @swish = swish
2703
+ @twint = twint
2704
+ @upi = upi
2705
+ @us_bank_account = us_bank_account
2706
+ @wechat_pay = wechat_pay
2707
+ @zip = zip
2708
+ end
2709
+ end
2710
+
2711
+ class RadarOptions < ::Stripe::RequestParams
2712
+ # A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
2713
+ attr_accessor :session
2714
+
2715
+ def initialize(session: nil)
2716
+ @session = session
2717
+ end
2718
+ end
2719
+
2720
+ class Shipping < ::Stripe::RequestParams
2721
+ class Address < ::Stripe::RequestParams
2722
+ # City, district, suburb, town, or village.
2723
+ attr_accessor :city
2724
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2725
+ attr_accessor :country
2726
+ # Address line 1, such as the street, PO Box, or company name.
2727
+ attr_accessor :line1
2728
+ # Address line 2, such as the apartment, suite, unit, or building.
2729
+ attr_accessor :line2
2730
+ # ZIP or postal code.
2731
+ attr_accessor :postal_code
2732
+ # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
2733
+ attr_accessor :state
2734
+
2735
+ def initialize(
2736
+ city: nil,
2737
+ country: nil,
2738
+ line1: nil,
2739
+ line2: nil,
2740
+ postal_code: nil,
2741
+ state: nil
2742
+ )
2743
+ @city = city
2744
+ @country = country
2745
+ @line1 = line1
2746
+ @line2 = line2
2747
+ @postal_code = postal_code
2748
+ @state = state
2749
+ end
2750
+ end
2751
+ # Shipping address.
2752
+ attr_accessor :address
2753
+ # The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
2754
+ attr_accessor :carrier
2755
+ # Recipient name.
2756
+ attr_accessor :name
2757
+ # Recipient phone (including extension).
2758
+ attr_accessor :phone
2759
+ # The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.
2760
+ attr_accessor :tracking_number
2761
+
2762
+ def initialize(address: nil, carrier: nil, name: nil, phone: nil, tracking_number: nil)
2763
+ @address = address
2764
+ @carrier = carrier
2765
+ @name = name
2766
+ @phone = phone
2767
+ @tracking_number = tracking_number
2768
+ end
2769
+ end
2770
+ # Provides industry-specific information about the amount.
2771
+ attr_accessor :amount_details
2772
+ # Amount to confirm on the PaymentIntent. Defaults to `amount` if not provided.
2773
+ attr_accessor :amount_to_confirm
2774
+ # Controls when the funds will be captured from the customer's account.
2775
+ attr_accessor :capture_method
2776
+ # ID of the ConfirmationToken used to confirm this PaymentIntent.
2777
+ #
2778
+ # If the provided ConfirmationToken contains properties that are also being provided in this request, such as `payment_method`, then the values in this request will take precedence.
2779
+ attr_accessor :confirmation_token
2780
+ # Set to `true` to fail the payment attempt if the PaymentIntent transitions into `requires_action`. This parameter is intended for simpler integrations that do not handle customer actions, like [saving cards without authentication](https://docs.stripe.com/payments/save-card-without-authentication).
2781
+ attr_accessor :error_on_requires_action
2782
+ # The list of payment method types to exclude from use with this payment.
2783
+ attr_accessor :excluded_payment_method_types
2784
+ # Specifies which fields in the response should be expanded.
2785
+ attr_accessor :expand
2786
+ # Automations to be run during the PaymentIntent lifecycle
2787
+ attr_accessor :hooks
2788
+ # ID of the mandate that's used for this payment.
2789
+ attr_accessor :mandate
2790
+ # Attribute for param field mandate_data
2791
+ attr_accessor :mandate_data
2792
+ # Set to `true` to indicate that the customer isn't in your checkout flow during this payment attempt and can't authenticate. Use this parameter in scenarios where you collect payment method details and [charge them later](https://docs.stripe.com/payments/save-during-payment).
2793
+ attr_accessor :off_session
2794
+ # Provides industry-specific information about the charge.
2795
+ attr_accessor :payment_details
2796
+ # ID of the payment method (a PaymentMethod, Card, or [compatible Source](https://docs.stripe.com/payments/payment-methods/transitioning#compatibility) object) to attach to this PaymentIntent.
2797
+ # If the payment method is attached to a Customer, it must match the [customer](https://api.stripe.com#create_payment_intent-customer) that is set on this PaymentIntent.
2798
+ attr_accessor :payment_method
2799
+ # If provided, this hash will be used to create a PaymentMethod. The new PaymentMethod will appear
2800
+ # in the [payment_method](https://docs.stripe.com/api/payment_intents/object#payment_intent_object-payment_method)
2801
+ # property on the PaymentIntent.
2802
+ attr_accessor :payment_method_data
2803
+ # Payment method-specific configuration for this PaymentIntent.
2804
+ attr_accessor :payment_method_options
2805
+ # The list of payment method types (for example, a card) that this PaymentIntent can use. Use `automatic_payment_methods` to manage payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods). A list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).
2806
+ attr_accessor :payment_method_types
2807
+ # Options to configure Radar. Learn more about [Radar Sessions](https://docs.stripe.com/radar/radar-session).
2808
+ attr_accessor :radar_options
2809
+ # Email address that the receipt for the resulting payment will be sent to. If `receipt_email` is specified for a payment in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails).
2810
+ attr_accessor :receipt_email
2811
+ # The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site.
2812
+ # If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.
2813
+ # This parameter is only used for cards and other redirect-based payment methods.
2814
+ attr_accessor :return_url
2815
+ # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2816
+ #
2817
+ # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
2818
+ #
2819
+ # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2820
+ #
2821
+ # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
2822
+ #
2823
+ # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
2824
+ attr_accessor :setup_future_usage
2825
+ # Shipping information for this PaymentIntent.
2826
+ attr_accessor :shipping
2827
+ # Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.
2828
+ attr_accessor :use_stripe_sdk
2829
+
2830
+ def initialize(
2831
+ amount_details: nil,
2832
+ amount_to_confirm: nil,
2833
+ capture_method: nil,
2834
+ confirmation_token: nil,
2835
+ error_on_requires_action: nil,
2836
+ excluded_payment_method_types: nil,
2837
+ expand: nil,
2838
+ hooks: nil,
2839
+ mandate: nil,
2840
+ mandate_data: nil,
2841
+ off_session: nil,
2842
+ payment_details: nil,
2843
+ payment_method: nil,
2844
+ payment_method_data: nil,
2845
+ payment_method_options: nil,
2846
+ payment_method_types: nil,
2847
+ radar_options: nil,
2848
+ receipt_email: nil,
2849
+ return_url: nil,
2850
+ setup_future_usage: nil,
2851
+ shipping: nil,
2852
+ use_stripe_sdk: nil
2853
+ )
2854
+ @amount_details = amount_details
2855
+ @amount_to_confirm = amount_to_confirm
2856
+ @capture_method = capture_method
2857
+ @confirmation_token = confirmation_token
2858
+ @error_on_requires_action = error_on_requires_action
2859
+ @excluded_payment_method_types = excluded_payment_method_types
2860
+ @expand = expand
2861
+ @hooks = hooks
2862
+ @mandate = mandate
2863
+ @mandate_data = mandate_data
2864
+ @off_session = off_session
2865
+ @payment_details = payment_details
2866
+ @payment_method = payment_method
2867
+ @payment_method_data = payment_method_data
2868
+ @payment_method_options = payment_method_options
2869
+ @payment_method_types = payment_method_types
2870
+ @radar_options = radar_options
2871
+ @receipt_email = receipt_email
2872
+ @return_url = return_url
2873
+ @setup_future_usage = setup_future_usage
2874
+ @shipping = shipping
2875
+ @use_stripe_sdk = use_stripe_sdk
2876
+ end
2877
+ end
2878
+ end