stripe 13.4.0.pre.beta.1 → 13.4.0.pre.beta.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (688) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +12 -1
  3. data/OPENAPI_VERSION +1 -1
  4. data/VERSION +1 -1
  5. data/lib/stripe/resources/account.rb +23 -745
  6. data/lib/stripe/resources/account_link.rb +0 -10
  7. data/lib/stripe/resources/account_notice.rb +0 -22
  8. data/lib/stripe/resources/account_session.rb +0 -125
  9. data/lib/stripe/resources/apple_pay_domain.rb +0 -10
  10. data/lib/stripe/resources/application.rb +0 -3
  11. data/lib/stripe/resources/application_fee.rb +0 -24
  12. data/lib/stripe/resources/application_fee_refund.rb +0 -7
  13. data/lib/stripe/resources/apps/secret.rb +0 -25
  14. data/lib/stripe/resources/balance.rb +0 -31
  15. data/lib/stripe/resources/balance_transaction.rb +0 -29
  16. data/lib/stripe/resources/bank_account.rb +0 -29
  17. data/lib/stripe/resources/billing/alert.rb +0 -22
  18. data/lib/stripe/resources/billing/alert_triggered.rb +0 -5
  19. data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -12
  20. data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -24
  21. data/lib/stripe/resources/billing/credit_grant.rb +0 -32
  22. data/lib/stripe/resources/billing/meter.rb +0 -25
  23. data/lib/stripe/resources/billing/meter_error_report.rb +0 -11
  24. data/lib/stripe/resources/billing/meter_event.rb +0 -10
  25. data/lib/stripe/resources/billing/meter_event_adjustment.rb +0 -8
  26. data/lib/stripe/resources/billing/meter_event_summary.rb +0 -6
  27. data/lib/stripe/resources/billing_portal/configuration.rb +0 -77
  28. data/lib/stripe/resources/billing_portal/session.rb +0 -42
  29. data/lib/stripe/resources/capability.rb +2 -29
  30. data/lib/stripe/resources/capital/financing_offer.rb +0 -33
  31. data/lib/stripe/resources/capital/financing_summary.rb +0 -13
  32. data/lib/stripe/resources/capital/financing_transaction.rb +0 -24
  33. data/lib/stripe/resources/card.rb +2 -34
  34. data/lib/stripe/resources/cash_balance.rb +0 -5
  35. data/lib/stripe/resources/charge.rb +4 -665
  36. data/lib/stripe/resources/checkout/session.rb +4 -512
  37. data/lib/stripe/resources/climate/order.rb +0 -40
  38. data/lib/stripe/resources/climate/product.rb +0 -13
  39. data/lib/stripe/resources/climate/supplier.rb +0 -13
  40. data/lib/stripe/resources/confirmation_token.rb +2 -337
  41. data/lib/stripe/resources/connect_collection_transfer.rb +0 -5
  42. data/lib/stripe/resources/country_spec.rb +0 -13
  43. data/lib/stripe/resources/coupon.rb +0 -39
  44. data/lib/stripe/resources/credit_note.rb +0 -138
  45. data/lib/stripe/resources/credit_note_line_item.rb +0 -24
  46. data/lib/stripe/resources/customer.rb +1 -156
  47. data/lib/stripe/resources/customer_balance_transaction.rb +0 -12
  48. data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -27
  49. data/lib/stripe/resources/customer_session.rb +0 -24
  50. data/lib/stripe/resources/discount.rb +0 -12
  51. data/lib/stripe/resources/dispute.rb +4 -152
  52. data/lib/stripe/resources/entitlements/active_entitlement.rb +0 -8
  53. data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +0 -3
  54. data/lib/stripe/resources/entitlements/feature.rb +0 -17
  55. data/lib/stripe/resources/ephemeral_key.rb +0 -5
  56. data/lib/stripe/resources/event.rb +0 -27
  57. data/lib/stripe/resources/exchange_rate.rb +0 -5
  58. data/lib/stripe/resources/file.rb +0 -23
  59. data/lib/stripe/resources/file_link.rb +0 -22
  60. data/lib/stripe/resources/financial_connections/account.rb +0 -47
  61. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -3
  62. data/lib/stripe/resources/financial_connections/account_owner.rb +0 -7
  63. data/lib/stripe/resources/financial_connections/account_ownership.rb +0 -3
  64. data/lib/stripe/resources/financial_connections/institution.rb +0 -13
  65. data/lib/stripe/resources/financial_connections/session.rb +0 -28
  66. data/lib/stripe/resources/financial_connections/transaction.rb +0 -21
  67. data/lib/stripe/resources/forwarding/request.rb +0 -31
  68. data/lib/stripe/resources/funding_instructions.rb +0 -107
  69. data/lib/stripe/resources/gift_cards/card.rb +0 -28
  70. data/lib/stripe/resources/gift_cards/transaction.rb +0 -32
  71. data/lib/stripe/resources/identity/verification_report.rb +0 -69
  72. data/lib/stripe/resources/identity/verification_session.rb +0 -69
  73. data/lib/stripe/resources/invoice.rb +6 -1276
  74. data/lib/stripe/resources/invoice_item.rb +0 -91
  75. data/lib/stripe/resources/invoice_line_item.rb +0 -76
  76. data/lib/stripe/resources/invoice_payment.rb +0 -16
  77. data/lib/stripe/resources/invoice_rendering_template.rb +0 -12
  78. data/lib/stripe/resources/issuing/authorization.rb +0 -199
  79. data/lib/stripe/resources/issuing/card.rb +0 -128
  80. data/lib/stripe/resources/issuing/cardholder.rb +0 -110
  81. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -82
  82. data/lib/stripe/resources/issuing/dispute.rb +0 -151
  83. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -14
  84. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -14
  85. data/lib/stripe/resources/issuing/personalization_design.rb +0 -48
  86. data/lib/stripe/resources/issuing/physical_bundle.rb +0 -13
  87. data/lib/stripe/resources/issuing/settlement.rb +0 -16
  88. data/lib/stripe/resources/issuing/token.rb +0 -46
  89. data/lib/stripe/resources/issuing/transaction.rb +0 -171
  90. data/lib/stripe/resources/line_item.rb +0 -23
  91. data/lib/stripe/resources/login_link.rb +0 -2
  92. data/lib/stripe/resources/mandate.rb +0 -45
  93. data/lib/stripe/resources/margin.rb +0 -19
  94. data/lib/stripe/resources/order.rb +3 -391
  95. data/lib/stripe/resources/payment_attempt_record.rb +0 -42
  96. data/lib/stripe/resources/payment_intent.rb +2 -1768
  97. data/lib/stripe/resources/payment_link.rb +15 -213
  98. data/lib/stripe/resources/payment_method.rb +2 -345
  99. data/lib/stripe/resources/payment_method_configuration.rb +0 -293
  100. data/lib/stripe/resources/payment_method_domain.rb +0 -23
  101. data/lib/stripe/resources/payment_record.rb +0 -109
  102. data/lib/stripe/resources/payout.rb +0 -49
  103. data/lib/stripe/resources/person.rb +2 -92
  104. data/lib/stripe/resources/plan.rb +0 -69
  105. data/lib/stripe/resources/price.rb +0 -133
  106. data/lib/stripe/resources/product.rb +0 -100
  107. data/lib/stripe/resources/product_feature.rb +0 -4
  108. data/lib/stripe/resources/promotion_code.rb +0 -40
  109. data/lib/stripe/resources/quote.rb +0 -458
  110. data/lib/stripe/resources/quote_line.rb +0 -66
  111. data/lib/stripe/resources/quote_preview_invoice.rb +3 -184
  112. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -101
  113. data/lib/stripe/resources/radar/early_fraud_warning.rb +0 -16
  114. data/lib/stripe/resources/radar/value_list.rb +0 -26
  115. data/lib/stripe/resources/radar/value_list_item.rb +0 -18
  116. data/lib/stripe/resources/refund.rb +0 -92
  117. data/lib/stripe/resources/reporting/report_run.rb +0 -32
  118. data/lib/stripe/resources/reporting/report_type.rb +0 -8
  119. data/lib/stripe/resources/reserve_transaction.rb +0 -4
  120. data/lib/stripe/resources/reversal.rb +0 -9
  121. data/lib/stripe/resources/review.rb +0 -27
  122. data/lib/stripe/resources/setup_attempt.rb +2 -103
  123. data/lib/stripe/resources/setup_intent.rb +2 -539
  124. data/lib/stripe/resources/shipping_rate.rb +0 -44
  125. data/lib/stripe/resources/sigma/scheduled_query_run.rb +0 -13
  126. data/lib/stripe/resources/source.rb +6 -338
  127. data/lib/stripe/resources/source_mandate_notification.rb +0 -13
  128. data/lib/stripe/resources/source_transaction.rb +0 -29
  129. data/lib/stripe/resources/subscription.rb +0 -338
  130. data/lib/stripe/resources/subscription_item.rb +0 -69
  131. data/lib/stripe/resources/subscription_schedule.rb +0 -388
  132. data/lib/stripe/resources/tax/association.rb +0 -11
  133. data/lib/stripe/resources/tax/calculation.rb +2 -89
  134. data/lib/stripe/resources/tax/calculation_line_item.rb +0 -20
  135. data/lib/stripe/resources/tax/form.rb +2 -35
  136. data/lib/stripe/resources/tax/registration.rb +421 -213
  137. data/lib/stripe/resources/tax/settings.rb +0 -20
  138. data/lib/stripe/resources/tax/transaction.rb +1 -66
  139. data/lib/stripe/resources/tax/transaction_line_item.rb +0 -12
  140. data/lib/stripe/resources/tax_code.rb +0 -6
  141. data/lib/stripe/resources/tax_deducted_at_source.rb +0 -4
  142. data/lib/stripe/resources/tax_id.rb +2 -28
  143. data/lib/stripe/resources/tax_rate.rb +0 -45
  144. data/lib/stripe/resources/terminal/configuration.rb +0 -164
  145. data/lib/stripe/resources/terminal/connection_token.rb +0 -3
  146. data/lib/stripe/resources/terminal/location.rb +0 -33
  147. data/lib/stripe/resources/terminal/reader.rb +0 -129
  148. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -5
  149. data/lib/stripe/resources/test_helpers/test_clock.rb +0 -15
  150. data/lib/stripe/resources/token.rb +4 -192
  151. data/lib/stripe/resources/topup.rb +0 -36
  152. data/lib/stripe/resources/transfer.rb +0 -35
  153. data/lib/stripe/resources/treasury/credit_reversal.rb +0 -21
  154. data/lib/stripe/resources/treasury/debit_reversal.rb +0 -23
  155. data/lib/stripe/resources/treasury/financial_account.rb +77 -71
  156. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -46
  157. data/lib/stripe/resources/treasury/inbound_transfer.rb +0 -50
  158. data/lib/stripe/resources/treasury/outbound_payment.rb +0 -92
  159. data/lib/stripe/resources/treasury/outbound_transfer.rb +25 -66
  160. data/lib/stripe/resources/treasury/received_credit.rb +6 -58
  161. data/lib/stripe/resources/treasury/received_debit.rb +0 -54
  162. data/lib/stripe/resources/treasury/transaction.rb +0 -39
  163. data/lib/stripe/resources/treasury/transaction_entry.rb +0 -36
  164. data/lib/stripe/resources/usage_record.rb +0 -5
  165. data/lib/stripe/resources/usage_record_summary.rb +0 -7
  166. data/lib/stripe/resources/v2/billing/meter_event.rb +0 -6
  167. data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +0 -7
  168. data/lib/stripe/resources/v2/billing/meter_event_session.rb +0 -5
  169. data/lib/stripe/resources/v2/event.rb +0 -8
  170. data/lib/stripe/resources/v2/event_destination.rb +0 -19
  171. data/lib/stripe/resources/webhook_endpoint.rb +0 -26
  172. data/lib/stripe/services/account_capability_service.rb +0 -1
  173. data/lib/stripe/services/account_external_account_service.rb +0 -43
  174. data/lib/stripe/services/account_link_service.rb +0 -7
  175. data/lib/stripe/services/account_notice_service.rb +0 -9
  176. data/lib/stripe/services/account_person_service.rb +0 -139
  177. data/lib/stripe/services/account_service.rb +8 -519
  178. data/lib/stripe/services/account_session_service.rb +0 -76
  179. data/lib/stripe/services/apple_pay_domain_service.rb +0 -5
  180. data/lib/stripe/services/application_fee_refund_service.rb +0 -6
  181. data/lib/stripe/services/application_fee_service.rb +0 -8
  182. data/lib/stripe/services/apps/secret_service.rb +0 -16
  183. data/lib/stripe/services/balance_transaction_service.rb +0 -11
  184. data/lib/stripe/services/billing/alert_service.rb +0 -12
  185. data/lib/stripe/services/billing/credit_balance_summary_service.rb +0 -4
  186. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -5
  187. data/lib/stripe/services/billing/credit_grant_service.rb +0 -16
  188. data/lib/stripe/services/billing/meter_event_adjustment_service.rb +0 -3
  189. data/lib/stripe/services/billing/meter_event_service.rb +0 -4
  190. data/lib/stripe/services/billing/meter_event_summary_service.rb +0 -7
  191. data/lib/stripe/services/billing/meter_service.rb +0 -12
  192. data/lib/stripe/services/billing_portal/configuration_service.rb +0 -48
  193. data/lib/stripe/services/billing_portal/session_service.rb +0 -19
  194. data/lib/stripe/services/capital/financing_offer_service.rb +0 -9
  195. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -7
  196. data/lib/stripe/services/charge_service.rb +0 -274
  197. data/lib/stripe/services/checkout/session_line_item_service.rb +0 -3
  198. data/lib/stripe/services/checkout/session_service.rb +2 -273
  199. data/lib/stripe/services/climate/order_service.rb +0 -11
  200. data/lib/stripe/services/climate/product_service.rb +0 -3
  201. data/lib/stripe/services/climate/supplier_service.rb +0 -3
  202. data/lib/stripe/services/country_spec_service.rb +0 -3
  203. data/lib/stripe/services/coupon_service.rb +0 -22
  204. data/lib/stripe/services/credit_note_line_item_service.rb +0 -3
  205. data/lib/stripe/services/credit_note_preview_lines_service.rb +0 -28
  206. data/lib/stripe/services/credit_note_service.rb +0 -61
  207. data/lib/stripe/services/customer_balance_transaction_service.rb +0 -9
  208. data/lib/stripe/services/customer_cash_balance_service.rb +0 -1
  209. data/lib/stripe/services/customer_cash_balance_transaction_service.rb +0 -3
  210. data/lib/stripe/services/customer_funding_instructions_service.rb +0 -5
  211. data/lib/stripe/services/customer_payment_method_service.rb +0 -5
  212. data/lib/stripe/services/customer_payment_source_service.rb +0 -29
  213. data/lib/stripe/services/customer_service.rb +1 -92
  214. data/lib/stripe/services/customer_session_service.rb +0 -10
  215. data/lib/stripe/services/customer_tax_id_service.rb +1 -6
  216. data/lib/stripe/services/dispute_service.rb +2 -67
  217. data/lib/stripe/services/entitlements/active_entitlement_service.rb +0 -4
  218. data/lib/stripe/services/entitlements/feature_service.rb +0 -11
  219. data/lib/stripe/services/ephemeral_key_service.rb +0 -4
  220. data/lib/stripe/services/event_service.rb +0 -10
  221. data/lib/stripe/services/exchange_rate_service.rb +0 -3
  222. data/lib/stripe/services/file_link_service.rb +0 -14
  223. data/lib/stripe/services/file_service.rb +0 -13
  224. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -3
  225. data/lib/stripe/services/financial_connections/account_owner_service.rb +0 -4
  226. data/lib/stripe/services/financial_connections/account_service.rb +0 -9
  227. data/lib/stripe/services/financial_connections/institution_service.rb +0 -3
  228. data/lib/stripe/services/financial_connections/session_service.rb +0 -11
  229. data/lib/stripe/services/financial_connections/transaction_service.rb +0 -9
  230. data/lib/stripe/services/forwarding/request_service.rb +0 -14
  231. data/lib/stripe/services/gift_cards/card_service.rb +0 -13
  232. data/lib/stripe/services/gift_cards/transaction_service.rb +0 -16
  233. data/lib/stripe/services/identity/verification_report_service.rb +0 -10
  234. data/lib/stripe/services/identity/verification_session_service.rb +0 -30
  235. data/lib/stripe/services/invoice_item_service.rb +0 -66
  236. data/lib/stripe/services/invoice_line_item_service.rb +0 -40
  237. data/lib/stripe/services/invoice_payment_service.rb +0 -3
  238. data/lib/stripe/services/invoice_rendering_template_service.rb +0 -5
  239. data/lib/stripe/services/invoice_service.rb +2 -810
  240. data/lib/stripe/services/invoice_upcoming_lines_service.rb +1 -279
  241. data/lib/stripe/services/issuing/authorization_service.rb +0 -14
  242. data/lib/stripe/services/issuing/card_service.rb +0 -70
  243. data/lib/stripe/services/issuing/cardholder_service.rb +0 -73
  244. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -56
  245. data/lib/stripe/services/issuing/dispute_service.rb +0 -98
  246. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -4
  247. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -7
  248. data/lib/stripe/services/issuing/personalization_design_service.rb +0 -29
  249. data/lib/stripe/services/issuing/physical_bundle_service.rb +0 -5
  250. data/lib/stripe/services/issuing/token_service.rb +0 -10
  251. data/lib/stripe/services/issuing/transaction_service.rb +0 -12
  252. data/lib/stripe/services/margin_service.rb +0 -11
  253. data/lib/stripe/services/order_line_item_service.rb +0 -3
  254. data/lib/stripe/services/order_service.rb +2 -266
  255. data/lib/stripe/services/payment_attempt_record_service.rb +0 -1
  256. data/lib/stripe/services/payment_intent_service.rb +0 -1309
  257. data/lib/stripe/services/payment_link_line_item_service.rb +0 -3
  258. data/lib/stripe/services/payment_link_service.rb +15 -135
  259. data/lib/stripe/services/payment_method_configuration_service.rb +0 -102
  260. data/lib/stripe/services/payment_method_domain_service.rb +0 -8
  261. data/lib/stripe/services/payment_method_service.rb +0 -113
  262. data/lib/stripe/services/payment_record_service.rb +0 -68
  263. data/lib/stripe/services/payout_service.rb +0 -23
  264. data/lib/stripe/services/plan_service.rb +0 -43
  265. data/lib/stripe/services/price_service.rb +0 -87
  266. data/lib/stripe/services/product_feature_service.rb +0 -4
  267. data/lib/stripe/services/product_service.rb +0 -74
  268. data/lib/stripe/services/promotion_code_service.rb +0 -25
  269. data/lib/stripe/services/quote_computed_upfront_line_items_service.rb +0 -3
  270. data/lib/stripe/services/quote_line_item_service.rb +0 -3
  271. data/lib/stripe/services/quote_line_service.rb +0 -3
  272. data/lib/stripe/services/quote_preview_invoice_service.rb +0 -3
  273. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -3
  274. data/lib/stripe/services/quote_service.rb +0 -309
  275. data/lib/stripe/services/radar/early_fraud_warning_service.rb +0 -9
  276. data/lib/stripe/services/radar/value_list_item_service.rb +0 -11
  277. data/lib/stripe/services/radar/value_list_service.rb +0 -16
  278. data/lib/stripe/services/refund_service.rb +0 -21
  279. data/lib/stripe/services/reporting/report_run_service.rb +0 -16
  280. data/lib/stripe/services/review_service.rb +0 -7
  281. data/lib/stripe/services/setup_attempt_service.rb +0 -8
  282. data/lib/stripe/services/setup_intent_service.rb +0 -447
  283. data/lib/stripe/services/shipping_rate_service.rb +0 -27
  284. data/lib/stripe/services/sigma/scheduled_query_run_service.rb +0 -3
  285. data/lib/stripe/services/source_service.rb +0 -92
  286. data/lib/stripe/services/source_transaction_service.rb +0 -3
  287. data/lib/stripe/services/subscription_item_service.rb +0 -56
  288. data/lib/stripe/services/subscription_item_usage_record_service.rb +0 -3
  289. data/lib/stripe/services/subscription_item_usage_record_summary_service.rb +0 -3
  290. data/lib/stripe/services/subscription_schedule_service.rb +0 -290
  291. data/lib/stripe/services/subscription_service.rb +0 -245
  292. data/lib/stripe/services/tax/association_service.rb +0 -1
  293. data/lib/stripe/services/tax/calculation_line_item_service.rb +0 -3
  294. data/lib/stripe/services/tax/calculation_service.rb +1 -31
  295. data/lib/stripe/services/tax/form_service.rb +0 -7
  296. data/lib/stripe/services/tax/registration_service.rb +274 -108
  297. data/lib/stripe/services/tax/settings_service.rb +0 -8
  298. data/lib/stripe/services/tax/transaction_line_item_service.rb +0 -3
  299. data/lib/stripe/services/tax/transaction_service.rb +0 -17
  300. data/lib/stripe/services/tax_code_service.rb +0 -3
  301. data/lib/stripe/services/tax_id_service.rb +1 -12
  302. data/lib/stripe/services/tax_rate_service.rb +0 -27
  303. data/lib/stripe/services/terminal/configuration_service.rb +0 -108
  304. data/lib/stripe/services/terminal/connection_token_service.rb +0 -1
  305. data/lib/stripe/services/terminal/location_service.rb +0 -21
  306. data/lib/stripe/services/terminal/reader_service.rb +0 -53
  307. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +0 -89
  308. data/lib/stripe/services/test_helpers/customer_service.rb +0 -3
  309. data/lib/stripe/services/test_helpers/issuing/authorization_service.rb +0 -99
  310. data/lib/stripe/services/test_helpers/issuing/personalization_design_service.rb +0 -2
  311. data/lib/stripe/services/test_helpers/issuing/transaction_service.rb +0 -91
  312. data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -4
  313. data/lib/stripe/services/test_helpers/test_clock_service.rb +0 -6
  314. data/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +0 -1
  315. data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +0 -6
  316. data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +0 -6
  317. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +0 -11
  318. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +0 -11
  319. data/lib/stripe/services/token_service.rb +4 -184
  320. data/lib/stripe/services/topup_service.rb +0 -21
  321. data/lib/stripe/services/transfer_reversal_service.rb +0 -8
  322. data/lib/stripe/services/transfer_service.rb +0 -19
  323. data/lib/stripe/services/treasury/credit_reversal_service.rb +0 -8
  324. data/lib/stripe/services/treasury/debit_reversal_service.rb +0 -9
  325. data/lib/stripe/services/treasury/financial_account_features_service.rb +0 -10
  326. data/lib/stripe/services/treasury/financial_account_service.rb +64 -36
  327. data/lib/stripe/services/treasury/inbound_transfer_service.rb +0 -12
  328. data/lib/stripe/services/treasury/outbound_payment_service.rb +0 -38
  329. data/lib/stripe/services/treasury/outbound_transfer_service.rb +16 -15
  330. data/lib/stripe/services/treasury/received_credit_service.rb +0 -6
  331. data/lib/stripe/services/treasury/received_debit_service.rb +0 -5
  332. data/lib/stripe/services/treasury/transaction_entry_service.rb +0 -14
  333. data/lib/stripe/services/treasury/transaction_service.rb +0 -14
  334. data/lib/stripe/services/v2/billing/meter_event_adjustment_service.rb +0 -2
  335. data/lib/stripe/services/v2/billing/meter_event_service.rb +0 -3
  336. data/lib/stripe/services/v2/billing/meter_event_stream_service.rb +0 -3
  337. data/lib/stripe/services/v2/core/event_destination_service.rb +0 -18
  338. data/lib/stripe/services/v2/core/event_service.rb +0 -2
  339. data/lib/stripe/services/webhook_endpoint_service.rb +0 -14
  340. data/lib/stripe/stripe_client.rb +1 -1
  341. data/lib/stripe/stripe_object.rb +3 -3
  342. data/lib/stripe/util.rb +1 -1
  343. data/lib/stripe/version.rb +1 -1
  344. data/rbi/stripe/resources/account.rbi +29 -1001
  345. data/rbi/stripe/resources/account_link.rbi +0 -13
  346. data/rbi/stripe/resources/account_notice.rbi +0 -27
  347. data/rbi/stripe/resources/account_session.rbi +0 -166
  348. data/rbi/stripe/resources/apple_pay_domain.rbi +0 -14
  349. data/rbi/stripe/resources/application.rbi +0 -3
  350. data/rbi/stripe/resources/application_fee.rbi +0 -28
  351. data/rbi/stripe/resources/application_fee_refund.rbi +0 -7
  352. data/rbi/stripe/resources/apps/secret.rbi +0 -34
  353. data/rbi/stripe/resources/balance.rbi +0 -33
  354. data/rbi/stripe/resources/balance_transaction.rbi +0 -33
  355. data/rbi/stripe/resources/bank_account.rbi +0 -29
  356. data/rbi/stripe/resources/billing/alert.rbi +0 -31
  357. data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -5
  358. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -16
  359. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -27
  360. data/rbi/stripe/resources/billing/credit_grant.rbi +0 -43
  361. data/rbi/stripe/resources/billing/meter.rbi +0 -35
  362. data/rbi/stripe/resources/billing/meter_error_report.rbi +0 -11
  363. data/rbi/stripe/resources/billing/meter_event.rbi +0 -12
  364. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -11
  365. data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -6
  366. data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -106
  367. data/rbi/stripe/resources/billing_portal/session.rbi +0 -55
  368. data/rbi/stripe/resources/capability.rbi +2 -29
  369. data/rbi/stripe/resources/capital/financing_offer.rbi +0 -38
  370. data/rbi/stripe/resources/capital/financing_summary.rbi +0 -15
  371. data/rbi/stripe/resources/capital/financing_transaction.rbi +0 -27
  372. data/rbi/stripe/resources/card.rbi +3 -34
  373. data/rbi/stripe/resources/cash_balance.rbi +0 -5
  374. data/rbi/stripe/resources/charge.rbi +6 -738
  375. data/rbi/stripe/resources/checkout/session.rbi +4 -636
  376. data/rbi/stripe/resources/climate/order.rbi +0 -48
  377. data/rbi/stripe/resources/climate/product.rbi +0 -16
  378. data/rbi/stripe/resources/climate/supplier.rbi +0 -16
  379. data/rbi/stripe/resources/confirmation_token.rbi +3 -364
  380. data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -5
  381. data/rbi/stripe/resources/country_spec.rbi +0 -16
  382. data/rbi/stripe/resources/coupon.rbi +0 -48
  383. data/rbi/stripe/resources/credit_note.rbi +0 -159
  384. data/rbi/stripe/resources/credit_note_line_item.rbi +0 -24
  385. data/rbi/stripe/resources/customer.rbi +1 -188
  386. data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -12
  387. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -27
  388. data/rbi/stripe/resources/customer_session.rbi +0 -31
  389. data/rbi/stripe/resources/discount.rbi +0 -12
  390. data/rbi/stripe/resources/dispute.rbi +4 -166
  391. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -11
  392. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -3
  393. data/rbi/stripe/resources/entitlements/feature.rbi +0 -22
  394. data/rbi/stripe/resources/ephemeral_key.rbi +0 -7
  395. data/rbi/stripe/resources/event.rbi +0 -31
  396. data/rbi/stripe/resources/exchange_rate.rbi +0 -8
  397. data/rbi/stripe/resources/file.rbi +0 -29
  398. data/rbi/stripe/resources/file_link.rbi +0 -28
  399. data/rbi/stripe/resources/financial_connections/account.rbi +0 -56
  400. data/rbi/stripe/resources/financial_connections/account_inferred_balance.rbi +0 -3
  401. data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -7
  402. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -3
  403. data/rbi/stripe/resources/financial_connections/institution.rbi +0 -16
  404. data/rbi/stripe/resources/financial_connections/session.rbi +0 -35
  405. data/rbi/stripe/resources/financial_connections/transaction.rbi +0 -26
  406. data/rbi/stripe/resources/forwarding/request.rbi +0 -38
  407. data/rbi/stripe/resources/funding_instructions.rbi +0 -107
  408. data/rbi/stripe/resources/gift_cards/card.rbi +0 -36
  409. data/rbi/stripe/resources/gift_cards/transaction.rbi +0 -41
  410. data/rbi/stripe/resources/identity/verification_report.rbi +0 -73
  411. data/rbi/stripe/resources/identity/verification_session.rbi +0 -83
  412. data/rbi/stripe/resources/invoice.rbi +7 -1663
  413. data/rbi/stripe/resources/invoice_item.rbi +0 -107
  414. data/rbi/stripe/resources/invoice_line_item.rbi +0 -86
  415. data/rbi/stripe/resources/invoice_payment.rbi +0 -16
  416. data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -17
  417. data/rbi/stripe/resources/issuing/authorization.rbi +0 -245
  418. data/rbi/stripe/resources/issuing/card.rbi +0 -153
  419. data/rbi/stripe/resources/issuing/cardholder.rbi +0 -138
  420. data/rbi/stripe/resources/issuing/credit_underwriting_record.rbi +0 -109
  421. data/rbi/stripe/resources/issuing/dispute.rbi +0 -177
  422. data/rbi/stripe/resources/issuing/dispute_settlement_detail.rbi +0 -17
  423. data/rbi/stripe/resources/issuing/fraud_liability_debit.rbi +0 -18
  424. data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -62
  425. data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -16
  426. data/rbi/stripe/resources/issuing/settlement.rbi +0 -16
  427. data/rbi/stripe/resources/issuing/token.rbi +0 -51
  428. data/rbi/stripe/resources/issuing/transaction.rbi +0 -205
  429. data/rbi/stripe/resources/line_item.rbi +0 -23
  430. data/rbi/stripe/resources/login_link.rbi +0 -2
  431. data/rbi/stripe/resources/mandate.rbi +0 -47
  432. data/rbi/stripe/resources/margin.rbi +0 -24
  433. data/rbi/stripe/resources/order.rbi +3 -492
  434. data/rbi/stripe/resources/payment_attempt_record.rbi +0 -45
  435. data/rbi/stripe/resources/payment_intent.rbi +3 -2224
  436. data/rbi/stripe/resources/payment_link.rbi +14 -291
  437. data/rbi/stripe/resources/payment_method.rbi +3 -382
  438. data/rbi/stripe/resources/payment_method_configuration.rbi +0 -486
  439. data/rbi/stripe/resources/payment_method_domain.rbi +0 -29
  440. data/rbi/stripe/resources/payment_record.rbi +0 -134
  441. data/rbi/stripe/resources/payout.rbi +0 -58
  442. data/rbi/stripe/resources/person.rbi +2 -92
  443. data/rbi/stripe/resources/plan.rbi +0 -78
  444. data/rbi/stripe/resources/price.rbi +0 -153
  445. data/rbi/stripe/resources/product.rbi +0 -120
  446. data/rbi/stripe/resources/product_feature.rbi +0 -4
  447. data/rbi/stripe/resources/promotion_code.rbi +0 -50
  448. data/rbi/stripe/resources/quote.rbi +0 -593
  449. data/rbi/stripe/resources/quote_line.rbi +0 -66
  450. data/rbi/stripe/resources/quote_preview_invoice.rbi +4 -184
  451. data/rbi/stripe/resources/quote_preview_subscription_schedule.rbi +0 -101
  452. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -20
  453. data/rbi/stripe/resources/radar/value_list.rbi +0 -32
  454. data/rbi/stripe/resources/radar/value_list_item.rbi +0 -23
  455. data/rbi/stripe/resources/refund.rbi +0 -100
  456. data/rbi/stripe/resources/reporting/report_run.rbi +0 -38
  457. data/rbi/stripe/resources/reporting/report_type.rbi +0 -11
  458. data/rbi/stripe/resources/reserve_transaction.rbi +0 -4
  459. data/rbi/stripe/resources/reversal.rbi +0 -9
  460. data/rbi/stripe/resources/review.rbi +0 -32
  461. data/rbi/stripe/resources/setup_attempt.rbi +3 -106
  462. data/rbi/stripe/resources/setup_intent.rbi +3 -688
  463. data/rbi/stripe/resources/shipping_rate.rbi +0 -57
  464. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -16
  465. data/rbi/stripe/resources/source.rbi +9 -365
  466. data/rbi/stripe/resources/source_mandate_notification.rbi +0 -13
  467. data/rbi/stripe/resources/source_transaction.rbi +0 -29
  468. data/rbi/stripe/resources/subscription.rbi +0 -431
  469. data/rbi/stripe/resources/subscription_item.rbi +0 -88
  470. data/rbi/stripe/resources/subscription_schedule.rbi +0 -504
  471. data/rbi/stripe/resources/tax/association.rbi +0 -13
  472. data/rbi/stripe/resources/tax/calculation.rbi +2 -100
  473. data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -20
  474. data/rbi/stripe/resources/tax/form.rbi +2 -40
  475. data/rbi/stripe/resources/tax/registration.rbi +401 -317
  476. data/rbi/stripe/resources/tax/settings.rbi +0 -26
  477. data/rbi/stripe/resources/tax/transaction.rbi +1 -73
  478. data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -12
  479. data/rbi/stripe/resources/tax_code.rbi +0 -9
  480. data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -4
  481. data/rbi/stripe/resources/tax_id.rbi +2 -34
  482. data/rbi/stripe/resources/tax_rate.rbi +0 -51
  483. data/rbi/stripe/resources/terminal/configuration.rbi +0 -211
  484. data/rbi/stripe/resources/terminal/connection_token.rbi +0 -5
  485. data/rbi/stripe/resources/terminal/location.rbi +0 -40
  486. data/rbi/stripe/resources/terminal/reader.rbi +0 -158
  487. data/rbi/stripe/resources/terminal/reader_collected_data.rbi +0 -7
  488. data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -20
  489. data/rbi/stripe/resources/token.rbi +5 -235
  490. data/rbi/stripe/resources/topup.rbi +0 -44
  491. data/rbi/stripe/resources/transfer.rbi +0 -41
  492. data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -25
  493. data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -27
  494. data/rbi/stripe/resources/treasury/financial_account.rbi +70 -124
  495. data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -46
  496. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -59
  497. data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -113
  498. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +28 -84
  499. data/rbi/stripe/resources/treasury/received_credit.rbi +7 -67
  500. data/rbi/stripe/resources/treasury/received_debit.rbi +0 -62
  501. data/rbi/stripe/resources/treasury/transaction.rbi +0 -45
  502. data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -41
  503. data/rbi/stripe/resources/usage_record.rbi +0 -5
  504. data/rbi/stripe/resources/usage_record_summary.rbi +0 -7
  505. data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -6
  506. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -7
  507. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -5
  508. data/rbi/stripe/resources/v2/event.rbi +0 -8
  509. data/rbi/stripe/resources/v2/event_destination.rbi +0 -19
  510. data/rbi/stripe/resources/webhook_endpoint.rbi +0 -31
  511. data/rbi/stripe/services/account_capability_service.rbi +0 -4
  512. data/rbi/stripe/services/account_external_account_service.rbi +0 -52
  513. data/rbi/stripe/services/account_link_service.rbi +0 -9
  514. data/rbi/stripe/services/account_login_link_service.rbi +0 -1
  515. data/rbi/stripe/services/account_notice_service.rbi +0 -13
  516. data/rbi/stripe/services/account_person_service.rbi +0 -174
  517. data/rbi/stripe/services/account_service.rbi +10 -773
  518. data/rbi/stripe/services/account_session_service.rbi +0 -116
  519. data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -8
  520. data/rbi/stripe/services/application_fee_refund_service.rbi +0 -10
  521. data/rbi/stripe/services/application_fee_service.rbi +0 -11
  522. data/rbi/stripe/services/apps/secret_service.rbi +0 -24
  523. data/rbi/stripe/services/balance_service.rbi +0 -1
  524. data/rbi/stripe/services/balance_transaction_service.rbi +0 -14
  525. data/rbi/stripe/services/billing/alert_service.rbi +0 -20
  526. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -7
  527. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -7
  528. data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -26
  529. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -5
  530. data/rbi/stripe/services/billing/meter_event_service.rbi +0 -5
  531. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -8
  532. data/rbi/stripe/services/billing/meter_service.rbi +0 -21
  533. data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -76
  534. data/rbi/stripe/services/billing_portal/session_service.rbi +0 -31
  535. data/rbi/stripe/services/capital/financing_offer_service.rbi +0 -13
  536. data/rbi/stripe/services/capital/financing_summary_service.rbi +0 -1
  537. data/rbi/stripe/services/capital/financing_transaction_service.rbi +0 -9
  538. data/rbi/stripe/services/charge_service.rbi +0 -346
  539. data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -4
  540. data/rbi/stripe/services/checkout/session_service.rbi +2 -395
  541. data/rbi/stripe/services/climate/order_service.rbi +0 -18
  542. data/rbi/stripe/services/climate/product_service.rbi +0 -5
  543. data/rbi/stripe/services/climate/supplier_service.rbi +0 -5
  544. data/rbi/stripe/services/confirmation_token_service.rbi +0 -1
  545. data/rbi/stripe/services/country_spec_service.rbi +0 -5
  546. data/rbi/stripe/services/coupon_service.rbi +0 -30
  547. data/rbi/stripe/services/credit_note_line_item_service.rbi +0 -4
  548. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -33
  549. data/rbi/stripe/services/credit_note_service.rbi +0 -76
  550. data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -13
  551. data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -4
  552. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -5
  553. data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -8
  554. data/rbi/stripe/services/customer_payment_method_service.rbi +0 -7
  555. data/rbi/stripe/services/customer_payment_source_service.rbi +0 -37
  556. data/rbi/stripe/services/customer_service.rbi +1 -117
  557. data/rbi/stripe/services/customer_session_service.rbi +0 -16
  558. data/rbi/stripe/services/customer_tax_id_service.rbi +1 -9
  559. data/rbi/stripe/services/dispute_service.rbi +2 -80
  560. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -6
  561. data/rbi/stripe/services/entitlements/feature_service.rbi +0 -15
  562. data/rbi/stripe/services/ephemeral_key_service.rbi +0 -6
  563. data/rbi/stripe/services/event_service.rbi +0 -13
  564. data/rbi/stripe/services/exchange_rate_service.rbi +0 -5
  565. data/rbi/stripe/services/file_link_service.rbi +0 -19
  566. data/rbi/stripe/services/file_service.rbi +0 -18
  567. data/rbi/stripe/services/financial_connections/account_inferred_balance_service.rbi +0 -4
  568. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -5
  569. data/rbi/stripe/services/financial_connections/account_service.rbi +0 -16
  570. data/rbi/stripe/services/financial_connections/institution_service.rbi +0 -5
  571. data/rbi/stripe/services/financial_connections/session_service.rbi +0 -17
  572. data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -13
  573. data/rbi/stripe/services/forwarding/request_service.rbi +0 -20
  574. data/rbi/stripe/services/gift_cards/card_service.rbi +0 -20
  575. data/rbi/stripe/services/gift_cards/transaction_service.rbi +0 -24
  576. data/rbi/stripe/services/identity/verification_report_service.rbi +0 -13
  577. data/rbi/stripe/services/identity/verification_session_service.rbi +0 -43
  578. data/rbi/stripe/services/invoice_item_service.rbi +0 -81
  579. data/rbi/stripe/services/invoice_line_item_service.rbi +0 -50
  580. data/rbi/stripe/services/invoice_payment_service.rbi +0 -5
  581. data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -9
  582. data/rbi/stripe/services/invoice_service.rbi +2 -1100
  583. data/rbi/stripe/services/invoice_upcoming_lines_service.rbi +1 -375
  584. data/rbi/stripe/services/issuing/authorization_service.rbi +0 -20
  585. data/rbi/stripe/services/issuing/card_service.rbi +0 -89
  586. data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -100
  587. data/rbi/stripe/services/issuing/credit_underwriting_record_service.rbi +0 -82
  588. data/rbi/stripe/services/issuing/dispute_service.rbi +0 -123
  589. data/rbi/stripe/services/issuing/dispute_settlement_detail_service.rbi +0 -6
  590. data/rbi/stripe/services/issuing/fraud_liability_debit_service.rbi +0 -10
  591. data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -38
  592. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -7
  593. data/rbi/stripe/services/issuing/token_service.rbi +0 -14
  594. data/rbi/stripe/services/issuing/transaction_service.rbi +0 -16
  595. data/rbi/stripe/services/mandate_service.rbi +0 -1
  596. data/rbi/stripe/services/margin_service.rbi +0 -15
  597. data/rbi/stripe/services/order_line_item_service.rbi +0 -4
  598. data/rbi/stripe/services/order_service.rbi +2 -365
  599. data/rbi/stripe/services/payment_attempt_record_service.rbi +0 -3
  600. data/rbi/stripe/services/payment_intent_service.rbi +0 -1764
  601. data/rbi/stripe/services/payment_link_line_item_service.rbi +0 -4
  602. data/rbi/stripe/services/payment_link_service.rbi +14 -211
  603. data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -294
  604. data/rbi/stripe/services/payment_method_domain_service.rbi +0 -13
  605. data/rbi/stripe/services/payment_method_service.rbi +0 -149
  606. data/rbi/stripe/services/payment_record_service.rbi +0 -92
  607. data/rbi/stripe/services/payout_service.rbi +0 -31
  608. data/rbi/stripe/services/plan_service.rbi +0 -51
  609. data/rbi/stripe/services/price_service.rbi +0 -106
  610. data/rbi/stripe/services/product_feature_service.rbi +0 -7
  611. data/rbi/stripe/services/product_service.rbi +0 -93
  612. data/rbi/stripe/services/promotion_code_service.rbi +0 -34
  613. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -4
  614. data/rbi/stripe/services/quote_line_item_service.rbi +0 -4
  615. data/rbi/stripe/services/quote_line_service.rbi +0 -4
  616. data/rbi/stripe/services/quote_preview_invoice_service.rbi +0 -4
  617. data/rbi/stripe/services/quote_preview_subscription_schedule_service.rbi +0 -4
  618. data/rbi/stripe/services/quote_service.rbi +0 -440
  619. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -12
  620. data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -15
  621. data/rbi/stripe/services/radar/value_list_service.rbi +0 -21
  622. data/rbi/stripe/services/refund_service.rbi +0 -27
  623. data/rbi/stripe/services/reporting/report_run_service.rbi +0 -21
  624. data/rbi/stripe/services/reporting/report_type_service.rbi +0 -2
  625. data/rbi/stripe/services/review_service.rbi +0 -11
  626. data/rbi/stripe/services/setup_attempt_service.rbi +0 -10
  627. data/rbi/stripe/services/setup_intent_service.rbi +0 -595
  628. data/rbi/stripe/services/shipping_rate_service.rbi +0 -39
  629. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -5
  630. data/rbi/stripe/services/source_service.rbi +0 -119
  631. data/rbi/stripe/services/source_transaction_service.rbi +0 -4
  632. data/rbi/stripe/services/subscription_item_service.rbi +0 -74
  633. data/rbi/stripe/services/subscription_item_usage_record_service.rbi +0 -4
  634. data/rbi/stripe/services/subscription_item_usage_record_summary_service.rbi +0 -4
  635. data/rbi/stripe/services/subscription_schedule_service.rbi +0 -405
  636. data/rbi/stripe/services/subscription_service.rbi +0 -337
  637. data/rbi/stripe/services/tax/association_service.rbi +0 -2
  638. data/rbi/stripe/services/tax/calculation_line_item_service.rbi +0 -4
  639. data/rbi/stripe/services/tax/calculation_service.rbi +1 -40
  640. data/rbi/stripe/services/tax/form_service.rbi +0 -11
  641. data/rbi/stripe/services/tax/registration_service.rbi +233 -211
  642. data/rbi/stripe/services/tax/settings_service.rbi +0 -13
  643. data/rbi/stripe/services/tax/transaction_line_item_service.rbi +0 -4
  644. data/rbi/stripe/services/tax/transaction_service.rbi +0 -22
  645. data/rbi/stripe/services/tax_code_service.rbi +0 -5
  646. data/rbi/stripe/services/tax_id_service.rbi +1 -17
  647. data/rbi/stripe/services/tax_rate_service.rbi +0 -32
  648. data/rbi/stripe/services/terminal/configuration_service.rbi +0 -154
  649. data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -2
  650. data/rbi/stripe/services/terminal/location_service.rbi +0 -27
  651. data/rbi/stripe/services/terminal/reader_collected_data_service.rbi +0 -1
  652. data/rbi/stripe/services/terminal/reader_service.rbi +0 -78
  653. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -114
  654. data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -4
  655. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -138
  656. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -5
  657. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -6
  658. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -120
  659. data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -1
  660. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -7
  661. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -10
  662. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -5
  663. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -14
  664. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -14
  665. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -16
  666. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -16
  667. data/rbi/stripe/services/token_service.rbi +5 -226
  668. data/rbi/stripe/services/topup_service.rbi +0 -28
  669. data/rbi/stripe/services/transfer_reversal_service.rbi +0 -12
  670. data/rbi/stripe/services/transfer_service.rbi +0 -24
  671. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -11
  672. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -12
  673. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -25
  674. data/rbi/stripe/services/treasury/financial_account_service.rbi +62 -73
  675. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -16
  676. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -50
  677. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +17 -24
  678. data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -9
  679. data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -7
  680. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -18
  681. data/rbi/stripe/services/treasury/transaction_service.rbi +0 -19
  682. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -4
  683. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -4
  684. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -5
  685. data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -25
  686. data/rbi/stripe/services/v2/core/event_service.rbi +0 -3
  687. data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -18
  688. metadata +2 -2
@@ -38,36 +38,29 @@ module Stripe
38
38
  #
39
39
  # Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://stripe.com/docs/api/setup_intents/confirm) this SetupIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the setup.
40
40
  attr_reader :allow_redirects
41
-
42
41
  # Automatically calculates compatible payment methods
43
42
  attr_reader :enabled
44
43
  end
45
44
 
46
45
  class LastSetupError < Stripe::StripeObject
46
+ # For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines) if they provide one.
47
+ attr_reader :advice_code
47
48
  # For card errors, the ID of the failed charge.
48
49
  attr_reader :charge
49
-
50
50
  # For some errors that could be handled programmatically, a short string indicating the [error code](https://stripe.com/docs/error-codes) reported.
51
51
  attr_reader :code
52
-
53
52
  # For card errors resulting from a card issuer decline, a short string indicating the [card issuer's reason for the decline](https://stripe.com/docs/declines#issuer-declines) if they provide one.
54
53
  attr_reader :decline_code
55
-
56
54
  # A URL to more information about the [error code](https://stripe.com/docs/error-codes) reported.
57
55
  attr_reader :doc_url
58
-
59
56
  # A human-readable message providing more details about the error. For card errors, these messages can be shown to your users.
60
57
  attr_reader :message
61
-
62
58
  # For card errors resulting from a card issuer decline, a 2 digit code which indicates the advice given to merchant by the card network on how to proceed with an error.
63
59
  attr_reader :network_advice_code
64
-
65
60
  # For card errors resulting from a card issuer decline, a brand specific 2, 3, or 4 digit code which indicates the reason the authorization failed.
66
61
  attr_reader :network_decline_code
67
-
68
62
  # If the error is parameter-specific, the parameter related to the error. For example, you can use this to display a message near the correct form field.
69
63
  attr_reader :param
70
-
71
64
  # A PaymentIntent guides you through the process of collecting a payment from your customer.
72
65
  # We recommend that you create exactly one PaymentIntent for each order or
73
66
  # customer session in your system. You can reference the PaymentIntent later to
@@ -80,20 +73,16 @@ module Stripe
80
73
  #
81
74
  # Related guide: [Payment Intents API](https://stripe.com/docs/payments/payment-intents)
82
75
  attr_reader :payment_intent
83
-
84
76
  # PaymentMethod objects represent your customer's payment instruments.
85
77
  # You can use them with [PaymentIntents](https://stripe.com/docs/payments/payment-intents) to collect payments or save them to
86
78
  # Customer objects to store instrument details for future payments.
87
79
  #
88
80
  # Related guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios).
89
81
  attr_reader :payment_method
90
-
91
82
  # If the error is specific to the type of payment method, the payment method type that had a problem. This field is only populated for invoice-related errors.
92
83
  attr_reader :payment_method_type
93
-
94
84
  # A URL to the request log entry in your dashboard.
95
85
  attr_reader :request_log_url
96
-
97
86
  # A SetupIntent guides you through the process of setting up and saving a customer's payment credentials for future payments.
98
87
  # For example, you can use a SetupIntent to set up and save your customer's card without immediately collecting a payment.
99
88
  # Later, you can use [PaymentIntents](https://stripe.com/docs/api#payment_intents) to drive the payment flow.
@@ -116,10 +105,8 @@ module Stripe
116
105
  #
117
106
  # Related guide: [Setup Intents API](https://docs.stripe.com/payments/setup-intents)
118
107
  attr_reader :setup_intent
119
-
120
108
  # Attribute for field source
121
109
  attr_reader :source
122
-
123
110
  # The type of error returned. One of `api_error`, `card_error`, `idempotency_error`, or `invalid_request_error`
124
111
  attr_reader :type
125
112
  end
@@ -129,19 +116,15 @@ module Stripe
129
116
  class QrCode < Stripe::StripeObject
130
117
  # The date (unix timestamp) when the QR code expires.
131
118
  attr_reader :expires_at
132
-
133
119
  # The image_url_png string used to render QR code
134
120
  attr_reader :image_url_png
135
-
136
121
  # The image_url_svg string used to render QR code
137
122
  attr_reader :image_url_svg
138
123
  end
139
124
  # The URL to the hosted Cash App Pay instructions page, which allows customers to view the QR code, and supports QR code refreshing on expiration.
140
125
  attr_reader :hosted_instructions_url
141
-
142
126
  # The url for mobile redirect based auth
143
127
  attr_reader :mobile_auth_url
144
-
145
128
  # Attribute for field qr_code
146
129
  attr_reader :qr_code
147
130
  end
@@ -149,7 +132,6 @@ module Stripe
149
132
  class RedirectToUrl < Stripe::StripeObject
150
133
  # If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion.
151
134
  attr_reader :return_url
152
-
153
135
  # The URL you must redirect your customer to in order to authenticate.
154
136
  attr_reader :url
155
137
  end
@@ -157,25 +139,19 @@ module Stripe
157
139
  class VerifyWithMicrodeposits < Stripe::StripeObject
158
140
  # The timestamp when the microdeposits are expected to land.
159
141
  attr_reader :arrival_date
160
-
161
142
  # The URL for the hosted verification page, which allows customers to verify their bank account.
162
143
  attr_reader :hosted_verification_url
163
-
164
144
  # The type of the microdeposit sent to the customer. Used to distinguish between different verification methods.
165
145
  attr_reader :microdeposit_type
166
146
  end
167
147
  # Attribute for field cashapp_handle_redirect_or_display_qr_code
168
148
  attr_reader :cashapp_handle_redirect_or_display_qr_code
169
-
170
149
  # Attribute for field redirect_to_url
171
150
  attr_reader :redirect_to_url
172
-
173
151
  # Type of the next action to perform, one of `redirect_to_url`, `use_stripe_sdk`, `alipay_handle_redirect`, `oxxo_display_details`, or `verify_with_microdeposits`.
174
152
  attr_reader :type
175
-
176
153
  # When confirming a SetupIntent with Stripe.js, Stripe.js depends on the contents of this dictionary to invoke authentication flows. The shape of the contents is subject to change and is only intended to be used by Stripe.js.
177
154
  attr_reader :use_stripe_sdk
178
-
179
155
  # Attribute for field verify_with_microdeposits
180
156
  attr_reader :verify_with_microdeposits
181
157
  end
@@ -183,7 +159,6 @@ module Stripe
183
159
  class PaymentMethodConfigurationDetails < Stripe::StripeObject
184
160
  # ID of the payment method configuration used.
185
161
  attr_reader :id
186
-
187
162
  # ID of the parent payment method configuration used.
188
163
  attr_reader :parent
189
164
  end
@@ -193,25 +168,19 @@ module Stripe
193
168
  class MandateOptions < Stripe::StripeObject
194
169
  # A URL for custom mandate text
195
170
  attr_reader :custom_mandate_url
196
-
197
171
  # List of Stripe products where this mandate can be selected automatically.
198
172
  attr_reader :default_for
199
-
200
173
  # Description of the interval. Only required if the 'payment_schedule' parameter is 'interval' or 'combined'.
201
174
  attr_reader :interval_description
202
-
203
175
  # Payment schedule for the mandate.
204
176
  attr_reader :payment_schedule
205
-
206
177
  # Transaction type of the mandate.
207
178
  attr_reader :transaction_type
208
179
  end
209
180
  # Currency supported by the bank account
210
181
  attr_reader :currency
211
-
212
182
  # Attribute for field mandate_options
213
183
  attr_reader :mandate_options
214
-
215
184
  # Bank account verification method.
216
185
  attr_reader :verification_method
217
186
  end
@@ -231,40 +200,29 @@ module Stripe
231
200
  class MandateOptions < Stripe::StripeObject
232
201
  # Amount to be charged for future payments.
233
202
  attr_reader :amount
234
-
235
203
  # 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.
236
204
  attr_reader :amount_type
237
-
238
205
  # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
239
206
  attr_reader :currency
240
-
241
207
  # A description of the mandate or subscription that is meant to be displayed to the customer.
242
208
  attr_reader :description
243
-
244
209
  # 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.
245
210
  attr_reader :end_date
246
-
247
211
  # Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
248
212
  attr_reader :interval
249
-
250
213
  # 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`.
251
214
  attr_reader :interval_count
252
-
253
215
  # Unique identifier for the mandate or subscription.
254
216
  attr_reader :reference
255
-
256
217
  # Start date of the mandate or subscription. Start date should not be lesser than yesterday.
257
218
  attr_reader :start_date
258
-
259
219
  # Specifies the type of mandates supported. Possible values are `india`.
260
220
  attr_reader :supported_types
261
221
  end
262
222
  # Configuration options for setting up an eMandate for cards issued in India.
263
223
  attr_reader :mandate_options
264
-
265
224
  # Selected network to process this SetupIntent on. Depends on the available networks of the card attached to the setup intent. Can be only set confirm-time.
266
225
  attr_reader :network
267
-
268
226
  # 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://stripe.com/docs/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://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
269
227
  attr_reader :request_three_d_secure
270
228
  end
@@ -279,10 +237,8 @@ module Stripe
279
237
  class Paypal < Stripe::StripeObject
280
238
  # The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
281
239
  attr_reader :billing_agreement_id
282
-
283
240
  # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
284
241
  attr_reader :currency
285
-
286
242
  # The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
287
243
  attr_reader :subsellers
288
244
  end
@@ -291,22 +247,16 @@ module Stripe
291
247
  class MandateOptions < Stripe::StripeObject
292
248
  # Amount that will be collected. It is required when `amount_type` is `fixed`.
293
249
  attr_reader :amount
294
-
295
250
  # 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.
296
251
  attr_reader :amount_type
297
-
298
252
  # Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
299
253
  attr_reader :end_date
300
-
301
254
  # The periodicity at which payments will be collected.
302
255
  attr_reader :payment_schedule
303
-
304
256
  # 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.
305
257
  attr_reader :payments_per_period
306
-
307
258
  # The purpose for which payments are made. Defaults to retail.
308
259
  attr_reader :purpose
309
-
310
260
  # Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
311
261
  attr_reader :start_date
312
262
  end
@@ -328,7 +278,6 @@ module Stripe
328
278
  class Filters < Stripe::StripeObject
329
279
  # The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
330
280
  attr_reader :account_subcategories
331
-
332
281
  # The institution to use to filter for possible accounts to link.
333
282
  attr_reader :institution
334
283
  end
@@ -339,16 +288,12 @@ module Stripe
339
288
  end
340
289
  # Attribute for field filters
341
290
  attr_reader :filters
342
-
343
291
  # Attribute for field manual_entry
344
292
  attr_reader :manual_entry
345
-
346
293
  # The list of permissions to request. The `payment_method` permission must be included.
347
294
  attr_reader :permissions
348
-
349
295
  # Data features requested to be retrieved upon account creation.
350
296
  attr_reader :prefetch
351
-
352
297
  # 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.
353
298
  attr_reader :return_url
354
299
  end
@@ -359,40 +304,29 @@ module Stripe
359
304
  end
360
305
  # Attribute for field financial_connections
361
306
  attr_reader :financial_connections
362
-
363
307
  # Attribute for field mandate_options
364
308
  attr_reader :mandate_options
365
-
366
309
  # Bank account verification method.
367
310
  attr_reader :verification_method
368
311
  end
369
312
  # Attribute for field acss_debit
370
313
  attr_reader :acss_debit
371
-
372
314
  # Attribute for field amazon_pay
373
315
  attr_reader :amazon_pay
374
-
375
316
  # Attribute for field bacs_debit
376
317
  attr_reader :bacs_debit
377
-
378
318
  # Attribute for field card
379
319
  attr_reader :card
380
-
381
320
  # Attribute for field card_present
382
321
  attr_reader :card_present
383
-
384
322
  # Attribute for field link
385
323
  attr_reader :link
386
-
387
324
  # Attribute for field paypal
388
325
  attr_reader :paypal
389
-
390
326
  # Attribute for field payto
391
327
  attr_reader :payto
392
-
393
328
  # Attribute for field sepa_debit
394
329
  attr_reader :sepa_debit
395
-
396
330
  # Attribute for field us_bank_account
397
331
  attr_reader :us_bank_account
398
332
  end
@@ -401,13 +335,10 @@ module Stripe
401
335
  class Created < Stripe::RequestParams
402
336
  # Minimum value to filter by (exclusive)
403
337
  attr_accessor :gt
404
-
405
338
  # Minimum value to filter by (inclusive)
406
339
  attr_accessor :gte
407
-
408
340
  # Maximum value to filter by (exclusive)
409
341
  attr_accessor :lt
410
-
411
342
  # Maximum value to filter by (inclusive)
412
343
  attr_accessor :lte
413
344
 
@@ -422,25 +353,18 @@ module Stripe
422
353
  #
423
354
  # It can only be used for this Stripe Account’s own money movement flows like InboundTransfer and OutboundTransfers. It cannot be set to true when setting up a PaymentMethod for a Customer, and defaults to false when attaching a PaymentMethod to a Customer.
424
355
  attr_accessor :attach_to_self
425
-
426
356
  # A filter on the list, based on the object `created` field. The value can be a string with an integer Unix timestamp, or it can be a dictionary with a number of different query options.
427
357
  attr_accessor :created
428
-
429
358
  # Only return SetupIntents for the customer specified by this customer ID.
430
359
  attr_accessor :customer
431
-
432
360
  # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
433
361
  attr_accessor :ending_before
434
-
435
362
  # Specifies which fields in the response should be expanded.
436
363
  attr_accessor :expand
437
-
438
364
  # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
439
365
  attr_accessor :limit
440
-
441
366
  # Only return SetupIntents that associate with the specified payment method.
442
367
  attr_accessor :payment_method
443
-
444
368
  # A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
445
369
  attr_accessor :starting_after
446
370
 
@@ -471,7 +395,6 @@ module Stripe
471
395
  #
472
396
  # Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://stripe.com/docs/api/setup_intents/confirm) this SetupIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the setup.
473
397
  attr_accessor :allow_redirects
474
-
475
398
  # Whether this feature is enabled.
476
399
  attr_accessor :enabled
477
400
 
@@ -489,7 +412,6 @@ module Stripe
489
412
  class Online < Stripe::RequestParams
490
413
  # The IP address from which the Mandate was accepted by the customer.
491
414
  attr_accessor :ip_address
492
-
493
415
  # The user agent of the browser from which the Mandate was accepted by the customer.
494
416
  attr_accessor :user_agent
495
417
 
@@ -500,13 +422,10 @@ module Stripe
500
422
  end
501
423
  # The time at which the customer accepted the Mandate.
502
424
  attr_accessor :accepted_at
503
-
504
425
  # If this is a Mandate accepted offline, this hash contains details about the offline acceptance.
505
426
  attr_accessor :offline
506
-
507
427
  # If this is a Mandate accepted online, this hash contains details about the online acceptance.
508
428
  attr_accessor :online
509
-
510
429
  # The type of customer acceptance information included with the Mandate. One of `online` or `offline`.
511
430
  attr_accessor :type
512
431
 
@@ -529,10 +448,8 @@ module Stripe
529
448
  class AcssDebit < Stripe::RequestParams
530
449
  # Customer's bank account number.
531
450
  attr_accessor :account_number
532
-
533
451
  # Institution number of the customer's bank.
534
452
  attr_accessor :institution_number
535
-
536
453
  # Transit number of the customer's bank.
537
454
  attr_accessor :transit_number
538
455
 
@@ -561,7 +478,6 @@ module Stripe
561
478
  class AuBecsDebit < Stripe::RequestParams
562
479
  # The account number for the bank account.
563
480
  attr_accessor :account_number
564
-
565
481
  # Bank-State-Branch number of the bank account.
566
482
  attr_accessor :bsb_number
567
483
 
@@ -574,7 +490,6 @@ module Stripe
574
490
  class BacsDebit < Stripe::RequestParams
575
491
  # Account number of the bank account that the funds will be debited from.
576
492
  attr_accessor :account_number
577
-
578
493
  # Sort code of the bank account. (e.g., `10-20-30`)
579
494
  attr_accessor :sort_code
580
495
 
@@ -591,19 +506,14 @@ module Stripe
591
506
  class Address < Stripe::RequestParams
592
507
  # City, district, suburb, town, or village.
593
508
  attr_accessor :city
594
-
595
509
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
596
510
  attr_accessor :country
597
-
598
511
  # Address line 1 (e.g., street, PO Box, or company name).
599
512
  attr_accessor :line1
600
-
601
513
  # Address line 2 (e.g., apartment, suite, unit, or building).
602
514
  attr_accessor :line2
603
-
604
515
  # ZIP or postal code.
605
516
  attr_accessor :postal_code
606
-
607
517
  # State, county, province, or region.
608
518
  attr_accessor :state
609
519
 
@@ -625,13 +535,10 @@ module Stripe
625
535
  end
626
536
  # Billing address.
627
537
  attr_accessor :address
628
-
629
538
  # Email address.
630
539
  attr_accessor :email
631
-
632
540
  # Full name.
633
541
  attr_accessor :name
634
-
635
542
  # Billing phone number (including extension).
636
543
  attr_accessor :phone
637
544
 
@@ -673,7 +580,6 @@ module Stripe
673
580
  class Fpx < Stripe::RequestParams
674
581
  # Account holder type for FPX transaction
675
582
  attr_accessor :account_holder_type
676
-
677
583
  # The customer's bank.
678
584
  attr_accessor :bank
679
585
 
@@ -720,10 +626,8 @@ module Stripe
720
626
  class Dob < Stripe::RequestParams
721
627
  # The day of birth, between 1 and 31.
722
628
  attr_accessor :day
723
-
724
629
  # The month of birth, between 1 and 12.
725
630
  attr_accessor :month
726
-
727
631
  # The four-digit year of birth.
728
632
  attr_accessor :year
729
633
 
@@ -792,10 +696,8 @@ module Stripe
792
696
  class Payto < Stripe::RequestParams
793
697
  # The account number for the bank account.
794
698
  attr_accessor :account_number
795
-
796
699
  # Bank-State-Branch number of the bank account.
797
700
  attr_accessor :bsb_number
798
-
799
701
  # The PayID alias for the bank account.
800
702
  attr_accessor :pay_id
801
703
 
@@ -828,10 +730,8 @@ module Stripe
828
730
  class Dob < Stripe::RequestParams
829
731
  # The day of birth, between 1 and 31.
830
732
  attr_accessor :day
831
-
832
733
  # The month of birth, between 1 and 12.
833
734
  attr_accessor :month
834
-
835
735
  # The four-digit year of birth.
836
736
  attr_accessor :year
837
737
 
@@ -885,16 +785,12 @@ module Stripe
885
785
  class UsBankAccount < Stripe::RequestParams
886
786
  # Account holder type: individual or company.
887
787
  attr_accessor :account_holder_type
888
-
889
788
  # Account number of the bank account.
890
789
  attr_accessor :account_number
891
-
892
790
  # Account type: checkings or savings. Defaults to checking if omitted.
893
791
  attr_accessor :account_type
894
-
895
792
  # The ID of a Financial Connections Account to use as a payment method.
896
793
  attr_accessor :financial_connections_account
897
-
898
794
  # Routing number of the bank account.
899
795
  attr_accessor :routing_number
900
796
 
@@ -920,166 +816,112 @@ module Stripe
920
816
  end
921
817
  # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
922
818
  attr_accessor :acss_debit
923
-
924
819
  # If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
925
820
  attr_accessor :affirm
926
-
927
821
  # If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
928
822
  attr_accessor :afterpay_clearpay
929
-
930
823
  # If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.
931
824
  attr_accessor :alipay
932
-
933
825
  # 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`.
934
826
  attr_accessor :allow_redisplay
935
-
936
827
  # If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
937
828
  attr_accessor :alma
938
-
939
829
  # If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
940
830
  attr_accessor :amazon_pay
941
-
942
831
  # If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
943
832
  attr_accessor :au_becs_debit
944
-
945
833
  # If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
946
834
  attr_accessor :bacs_debit
947
-
948
835
  # If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
949
836
  attr_accessor :bancontact
950
-
951
837
  # Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
952
838
  attr_accessor :billing_details
953
-
954
839
  # If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
955
840
  attr_accessor :blik
956
-
957
841
  # If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.
958
842
  attr_accessor :boleto
959
-
960
843
  # If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
961
844
  attr_accessor :cashapp
962
-
963
845
  # If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
964
846
  attr_accessor :customer_balance
965
-
966
847
  # If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
967
848
  attr_accessor :eps
968
-
969
849
  # If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
970
850
  attr_accessor :fpx
971
-
972
851
  # If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
973
852
  attr_accessor :giropay
974
-
975
853
  # If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
976
854
  attr_accessor :gopay
977
-
978
855
  # If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
979
856
  attr_accessor :grabpay
980
-
981
857
  # If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
982
858
  attr_accessor :id_bank_transfer
983
-
984
859
  # If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
985
860
  attr_accessor :ideal
986
-
987
861
  # If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
988
862
  attr_accessor :interac_present
989
-
990
863
  # If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.
991
864
  attr_accessor :kakao_pay
992
-
993
865
  # If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.
994
866
  attr_accessor :klarna
995
-
996
867
  # If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.
997
868
  attr_accessor :konbini
998
-
999
869
  # If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.
1000
870
  attr_accessor :kr_card
1001
-
1002
871
  # If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
1003
872
  attr_accessor :link
1004
-
1005
873
  # If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
1006
874
  attr_accessor :mb_way
1007
-
1008
875
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
1009
876
  attr_accessor :metadata
1010
-
1011
877
  # If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
1012
878
  attr_accessor :mobilepay
1013
-
1014
879
  # If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
1015
880
  attr_accessor :multibanco
1016
-
1017
881
  # If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
1018
882
  attr_accessor :naver_pay
1019
-
1020
883
  # If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
1021
884
  attr_accessor :oxxo
1022
-
1023
885
  # If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
1024
886
  attr_accessor :p24
1025
-
1026
887
  # If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.
1027
888
  attr_accessor :payco
1028
-
1029
889
  # If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.
1030
890
  attr_accessor :paynow
1031
-
1032
891
  # If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
1033
892
  attr_accessor :paypal
1034
-
1035
893
  # If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
1036
894
  attr_accessor :payto
1037
-
1038
895
  # If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
1039
896
  attr_accessor :pix
1040
-
1041
897
  # If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
1042
898
  attr_accessor :promptpay
1043
-
1044
899
  # If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
1045
900
  attr_accessor :qris
1046
-
1047
901
  # Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
1048
902
  attr_accessor :radar_options
1049
-
1050
903
  # If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
1051
904
  attr_accessor :rechnung
1052
-
1053
905
  # If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
1054
906
  attr_accessor :revolut_pay
1055
-
1056
907
  # If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
1057
908
  attr_accessor :samsung_pay
1058
-
1059
909
  # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
1060
910
  attr_accessor :sepa_debit
1061
-
1062
911
  # If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
1063
912
  attr_accessor :shopeepay
1064
-
1065
913
  # If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
1066
914
  attr_accessor :sofort
1067
-
1068
915
  # If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
1069
916
  attr_accessor :swish
1070
-
1071
917
  # If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
1072
918
  attr_accessor :twint
1073
-
1074
919
  # 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.
1075
920
  attr_accessor :type
1076
-
1077
921
  # If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
1078
922
  attr_accessor :us_bank_account
1079
-
1080
923
  # If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
1081
924
  attr_accessor :wechat_pay
1082
-
1083
925
  # If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
1084
926
  attr_accessor :zip
1085
927
 
@@ -1205,16 +1047,12 @@ module Stripe
1205
1047
  # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,
1206
1048
  # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
1207
1049
  attr_accessor :custom_mandate_url
1208
-
1209
1050
  # List of Stripe products where this mandate can be selected automatically.
1210
1051
  attr_accessor :default_for
1211
-
1212
1052
  # Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
1213
1053
  attr_accessor :interval_description
1214
-
1215
1054
  # Payment schedule for the mandate.
1216
1055
  attr_accessor :payment_schedule
1217
-
1218
1056
  # Transaction type of the mandate.
1219
1057
  attr_accessor :transaction_type
1220
1058
 
@@ -1234,10 +1072,8 @@ module Stripe
1234
1072
  end
1235
1073
  # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
1236
1074
  attr_accessor :currency
1237
-
1238
1075
  # Additional fields for Mandate creation
1239
1076
  attr_accessor :mandate_options
1240
-
1241
1077
  # Bank account verification method.
1242
1078
  attr_accessor :verification_method
1243
1079
 
@@ -1272,31 +1108,22 @@ module Stripe
1272
1108
  class MandateOptions < Stripe::RequestParams
1273
1109
  # Amount to be charged for future payments.
1274
1110
  attr_accessor :amount
1275
-
1276
1111
  # 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.
1277
1112
  attr_accessor :amount_type
1278
-
1279
1113
  # Currency in which future payments will be charged. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
1280
1114
  attr_accessor :currency
1281
-
1282
1115
  # A description of the mandate or subscription that is meant to be displayed to the customer.
1283
1116
  attr_accessor :description
1284
-
1285
1117
  # 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.
1286
1118
  attr_accessor :end_date
1287
-
1288
1119
  # Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
1289
1120
  attr_accessor :interval
1290
-
1291
1121
  # 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`.
1292
1122
  attr_accessor :interval_count
1293
-
1294
1123
  # Unique identifier for the mandate or subscription.
1295
1124
  attr_accessor :reference
1296
-
1297
1125
  # Start date of the mandate or subscription. Start date should not be lesser than yesterday.
1298
1126
  attr_accessor :start_date
1299
-
1300
1127
  # Specifies the type of mandates supported. Possible values are `india`.
1301
1128
  attr_accessor :supported_types
1302
1129
 
@@ -1332,13 +1159,11 @@ module Stripe
1332
1159
  # to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`.
1333
1160
  # messageExtension: CB-AVALGO
1334
1161
  attr_accessor :cb_avalgo
1335
-
1336
1162
  # The exemption indicator returned from Cartes Bancaires in the ARes.
1337
1163
  # message extension: CB-EXEMPTION; string (4 characters)
1338
1164
  # This is a 3 byte bitmap (low significant byte first and most significant
1339
1165
  # bit first) that has been Base64 encoded
1340
1166
  attr_accessor :cb_exemption
1341
-
1342
1167
  # The risk score returned from Cartes Bancaires in the ARes.
1343
1168
  # message extension: CB-SCORE; numeric value 0-99
1344
1169
  attr_accessor :cb_score
@@ -1358,30 +1183,24 @@ module Stripe
1358
1183
  end
1359
1184
  # The `transStatus` returned from the card Issuer’s ACS in the ARes.
1360
1185
  attr_accessor :ares_trans_status
1361
-
1362
1186
  # The cryptogram, also known as the "authentication value" (AAV, CAVV or
1363
1187
  # AEVV). This value is 20 bytes, base64-encoded into a 28-character string.
1364
1188
  # (Most 3D Secure providers will return the base64-encoded version, which
1365
1189
  # is what you should specify here.)
1366
1190
  attr_accessor :cryptogram
1367
-
1368
1191
  # The Electronic Commerce Indicator (ECI) is returned by your 3D Secure
1369
1192
  # provider and indicates what degree of authentication was performed.
1370
1193
  attr_accessor :electronic_commerce_indicator
1371
-
1372
1194
  # Network specific 3DS fields. Network specific arguments require an
1373
1195
  # explicit card brand choice. The parameter `payment_method_options.card.network``
1374
1196
  # must be populated accordingly
1375
1197
  attr_accessor :network_options
1376
-
1377
1198
  # The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the
1378
1199
  # AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99.
1379
1200
  attr_accessor :requestor_challenge_indicator
1380
-
1381
1201
  # For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server
1382
1202
  # Transaction ID (dsTransID).
1383
1203
  attr_accessor :transaction_id
1384
-
1385
1204
  # The version of 3D Secure that was performed.
1386
1205
  attr_accessor :version
1387
1206
 
@@ -1405,18 +1224,14 @@ module Stripe
1405
1224
  end
1406
1225
  # Configuration options for setting up an eMandate for cards issued in India.
1407
1226
  attr_accessor :mandate_options
1408
-
1409
1227
  # When specified, this parameter signals that a card has been collected
1410
1228
  # as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This
1411
1229
  # parameter can only be provided during confirmation.
1412
1230
  attr_accessor :moto
1413
-
1414
1231
  # Selected network to process this SetupIntent on. Depends on the available networks of the card attached to the SetupIntent. Can be only set confirm-time.
1415
1232
  attr_accessor :network
1416
-
1417
1233
  # 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://stripe.com/docs/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://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
1418
1234
  attr_accessor :request_three_d_secure
1419
-
1420
1235
  # If 3D Secure authentication was performed with a third-party provider,
1421
1236
  # the authentication details to use for this setup.
1422
1237
  attr_accessor :three_d_secure
@@ -1451,10 +1266,8 @@ module Stripe
1451
1266
  class Paypal < Stripe::RequestParams
1452
1267
  # The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
1453
1268
  attr_accessor :billing_agreement_id
1454
-
1455
1269
  # Attribute for param field currency
1456
1270
  attr_accessor :currency
1457
-
1458
1271
  # The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
1459
1272
  attr_accessor :subsellers
1460
1273
 
@@ -1469,22 +1282,16 @@ module Stripe
1469
1282
  class MandateOptions < Stripe::RequestParams
1470
1283
  # Amount that will be collected. It is required when `amount_type` is `fixed`.
1471
1284
  attr_accessor :amount
1472
-
1473
1285
  # 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.
1474
1286
  attr_accessor :amount_type
1475
-
1476
1287
  # Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
1477
1288
  attr_accessor :end_date
1478
-
1479
1289
  # The periodicity at which payments will be collected.
1480
1290
  attr_accessor :payment_schedule
1481
-
1482
1291
  # 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.
1483
1292
  attr_accessor :payments_per_period
1484
-
1485
1293
  # The purpose for which payments are made. Defaults to retail.
1486
1294
  attr_accessor :purpose
1487
-
1488
1295
  # Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
1489
1296
  attr_accessor :start_date
1490
1297
 
@@ -1536,7 +1343,6 @@ module Stripe
1536
1343
  class Filters < Stripe::RequestParams
1537
1344
  # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
1538
1345
  attr_accessor :account_subcategories
1539
-
1540
1346
  # ID of the institution to use to filter for selectable accounts.
1541
1347
  attr_accessor :institution
1542
1348
 
@@ -1556,16 +1362,12 @@ module Stripe
1556
1362
  end
1557
1363
  # Provide filters for the linked accounts that the customer can select for the payment method
1558
1364
  attr_accessor :filters
1559
-
1560
1365
  # Customize manual entry behavior
1561
1366
  attr_accessor :manual_entry
1562
-
1563
1367
  # 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`.
1564
1368
  attr_accessor :permissions
1565
-
1566
1369
  # List of data features that you would like to retrieve upon account creation.
1567
1370
  attr_accessor :prefetch
1568
-
1569
1371
  # 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.
1570
1372
  attr_accessor :return_url
1571
1373
 
@@ -1603,13 +1405,10 @@ module Stripe
1603
1405
  end
1604
1406
  # Additional fields for Financial Connections Session creation
1605
1407
  attr_accessor :financial_connections
1606
-
1607
1408
  # Additional fields for Mandate creation
1608
1409
  attr_accessor :mandate_options
1609
-
1610
1410
  # Additional fields for network related functions
1611
1411
  attr_accessor :networks
1612
-
1613
1412
  # Bank account verification method.
1614
1413
  attr_accessor :verification_method
1615
1414
 
@@ -1627,31 +1426,22 @@ module Stripe
1627
1426
  end
1628
1427
  # If this is a `acss_debit` SetupIntent, this sub-hash contains details about the ACSS Debit payment method options.
1629
1428
  attr_accessor :acss_debit
1630
-
1631
1429
  # If this is a `amazon_pay` SetupIntent, this sub-hash contains details about the AmazonPay payment method options.
1632
1430
  attr_accessor :amazon_pay
1633
-
1634
1431
  # If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.
1635
1432
  attr_accessor :bacs_debit
1636
-
1637
1433
  # Configuration for any card setup attempted on this SetupIntent.
1638
1434
  attr_accessor :card
1639
-
1640
1435
  # If this is a `card_present` PaymentMethod, this sub-hash contains details about the card-present payment method options.
1641
1436
  attr_accessor :card_present
1642
-
1643
1437
  # If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.
1644
1438
  attr_accessor :link
1645
-
1646
1439
  # If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
1647
1440
  attr_accessor :paypal
1648
-
1649
1441
  # If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
1650
1442
  attr_accessor :payto
1651
-
1652
1443
  # If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
1653
1444
  attr_accessor :sepa_debit
1654
-
1655
1445
  # If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
1656
1446
  attr_accessor :us_bank_account
1657
1447
 
@@ -1683,7 +1473,6 @@ module Stripe
1683
1473
  class SingleUse < Stripe::RequestParams
1684
1474
  # Amount the customer is granting permission to collect later. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
1685
1475
  attr_accessor :amount
1686
-
1687
1476
  # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
1688
1477
  attr_accessor :currency
1689
1478
 
@@ -1696,68 +1485,49 @@ module Stripe
1696
1485
  #
1697
1486
  # It can only be used for this Stripe Account’s own money movement flows like InboundTransfer and OutboundTransfers. It cannot be set to true when setting up a PaymentMethod for a Customer, and defaults to false when attaching a PaymentMethod to a Customer.
1698
1487
  attr_accessor :attach_to_self
1699
-
1700
1488
  # When you enable this parameter, this SetupIntent accepts payment methods that you enable in the Dashboard and that are compatible with its other parameters.
1701
1489
  attr_accessor :automatic_payment_methods
1702
-
1703
1490
  # Set to `true` to attempt to confirm this SetupIntent immediately. This parameter defaults to `false`. If a card is the attached payment method, you can provide a `return_url` in case further authentication is necessary.
1704
1491
  attr_accessor :confirm
1705
-
1706
1492
  # ID of the ConfirmationToken used to confirm this SetupIntent.
1707
1493
  #
1708
1494
  # 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.
1709
1495
  attr_accessor :confirmation_token
1710
-
1711
1496
  # ID of the Customer this SetupIntent belongs to, if one exists.
1712
1497
  #
1713
1498
  # If present, the SetupIntent's payment method will be attached to the Customer on successful setup. Payment methods attached to other Customers cannot be used with this SetupIntent.
1714
1499
  attr_accessor :customer
1715
-
1716
1500
  # An arbitrary string attached to the object. Often useful for displaying to users.
1717
1501
  attr_accessor :description
1718
-
1719
1502
  # Specifies which fields in the response should be expanded.
1720
1503
  attr_accessor :expand
1721
-
1722
1504
  # Indicates the directions of money movement for which this payment method is intended to be used.
1723
1505
  #
1724
1506
  # Include `inbound` if you intend to use the payment method as the origin to pull funds from. Include `outbound` if you intend to use the payment method as the destination to send funds to. You can include both if you intend to use the payment method for both purposes.
1725
1507
  attr_accessor :flow_directions
1726
-
1727
1508
  # This hash contains details about the mandate to create. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/setup_intents/create#create_setup_intent-confirm).
1728
1509
  attr_accessor :mandate_data
1729
-
1730
1510
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
1731
1511
  attr_accessor :metadata
1732
-
1733
1512
  # The Stripe account ID created for this SetupIntent.
1734
1513
  attr_accessor :on_behalf_of
1735
-
1736
1514
  # ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this SetupIntent.
1737
1515
  attr_accessor :payment_method
1738
-
1739
1516
  # The ID of the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) to use with this SetupIntent.
1740
1517
  attr_accessor :payment_method_configuration
1741
-
1742
1518
  # When included, this hash creates a PaymentMethod that is set as the [`payment_method`](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-payment_method)
1743
1519
  # value in the SetupIntent.
1744
1520
  attr_accessor :payment_method_data
1745
-
1746
1521
  # Payment method-specific configuration for this SetupIntent.
1747
1522
  attr_accessor :payment_method_options
1748
-
1749
1523
  # The list of payment method types (for example, card) that this SetupIntent can use. If you don't provide this, Stripe will dynamically show relevant payment methods from your [payment method settings](https://dashboard.stripe.com/settings/payment_methods).
1750
1524
  attr_accessor :payment_method_types
1751
-
1752
1525
  # The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. To redirect to a mobile application, you can alternatively supply an application URI scheme. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/setup_intents/create#create_setup_intent-confirm).
1753
1526
  attr_accessor :return_url
1754
-
1755
1527
  # If you populate this hash, this SetupIntent generates a `single_use` mandate after successful completion.
1756
1528
  attr_accessor :single_use
1757
-
1758
1529
  # Indicates how the payment method is intended to be used in the future. If not provided, this value defaults to `off_session`.
1759
1530
  attr_accessor :usage
1760
-
1761
1531
  # Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.
1762
1532
  attr_accessor :use_stripe_sdk
1763
1533
 
@@ -1809,7 +1579,6 @@ module Stripe
1809
1579
  class RetrieveParams < Stripe::RequestParams
1810
1580
  # The client secret of the SetupIntent. We require this string if you use a publishable key to retrieve the SetupIntent.
1811
1581
  attr_accessor :client_secret
1812
-
1813
1582
  # Specifies which fields in the response should be expanded.
1814
1583
  attr_accessor :expand
1815
1584
 
@@ -1824,10 +1593,8 @@ module Stripe
1824
1593
  class AcssDebit < Stripe::RequestParams
1825
1594
  # Customer's bank account number.
1826
1595
  attr_accessor :account_number
1827
-
1828
1596
  # Institution number of the customer's bank.
1829
1597
  attr_accessor :institution_number
1830
-
1831
1598
  # Transit number of the customer's bank.
1832
1599
  attr_accessor :transit_number
1833
1600
 
@@ -1856,7 +1623,6 @@ module Stripe
1856
1623
  class AuBecsDebit < Stripe::RequestParams
1857
1624
  # The account number for the bank account.
1858
1625
  attr_accessor :account_number
1859
-
1860
1626
  # Bank-State-Branch number of the bank account.
1861
1627
  attr_accessor :bsb_number
1862
1628
 
@@ -1869,7 +1635,6 @@ module Stripe
1869
1635
  class BacsDebit < Stripe::RequestParams
1870
1636
  # Account number of the bank account that the funds will be debited from.
1871
1637
  attr_accessor :account_number
1872
-
1873
1638
  # Sort code of the bank account. (e.g., `10-20-30`)
1874
1639
  attr_accessor :sort_code
1875
1640
 
@@ -1886,19 +1651,14 @@ module Stripe
1886
1651
  class Address < Stripe::RequestParams
1887
1652
  # City, district, suburb, town, or village.
1888
1653
  attr_accessor :city
1889
-
1890
1654
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1891
1655
  attr_accessor :country
1892
-
1893
1656
  # Address line 1 (e.g., street, PO Box, or company name).
1894
1657
  attr_accessor :line1
1895
-
1896
1658
  # Address line 2 (e.g., apartment, suite, unit, or building).
1897
1659
  attr_accessor :line2
1898
-
1899
1660
  # ZIP or postal code.
1900
1661
  attr_accessor :postal_code
1901
-
1902
1662
  # State, county, province, or region.
1903
1663
  attr_accessor :state
1904
1664
 
@@ -1920,13 +1680,10 @@ module Stripe
1920
1680
  end
1921
1681
  # Billing address.
1922
1682
  attr_accessor :address
1923
-
1924
1683
  # Email address.
1925
1684
  attr_accessor :email
1926
-
1927
1685
  # Full name.
1928
1686
  attr_accessor :name
1929
-
1930
1687
  # Billing phone number (including extension).
1931
1688
  attr_accessor :phone
1932
1689
 
@@ -1968,7 +1725,6 @@ module Stripe
1968
1725
  class Fpx < Stripe::RequestParams
1969
1726
  # Account holder type for FPX transaction
1970
1727
  attr_accessor :account_holder_type
1971
-
1972
1728
  # The customer's bank.
1973
1729
  attr_accessor :bank
1974
1730
 
@@ -2015,10 +1771,8 @@ module Stripe
2015
1771
  class Dob < Stripe::RequestParams
2016
1772
  # The day of birth, between 1 and 31.
2017
1773
  attr_accessor :day
2018
-
2019
1774
  # The month of birth, between 1 and 12.
2020
1775
  attr_accessor :month
2021
-
2022
1776
  # The four-digit year of birth.
2023
1777
  attr_accessor :year
2024
1778
 
@@ -2087,10 +1841,8 @@ module Stripe
2087
1841
  class Payto < Stripe::RequestParams
2088
1842
  # The account number for the bank account.
2089
1843
  attr_accessor :account_number
2090
-
2091
1844
  # Bank-State-Branch number of the bank account.
2092
1845
  attr_accessor :bsb_number
2093
-
2094
1846
  # The PayID alias for the bank account.
2095
1847
  attr_accessor :pay_id
2096
1848
 
@@ -2123,10 +1875,8 @@ module Stripe
2123
1875
  class Dob < Stripe::RequestParams
2124
1876
  # The day of birth, between 1 and 31.
2125
1877
  attr_accessor :day
2126
-
2127
1878
  # The month of birth, between 1 and 12.
2128
1879
  attr_accessor :month
2129
-
2130
1880
  # The four-digit year of birth.
2131
1881
  attr_accessor :year
2132
1882
 
@@ -2180,16 +1930,12 @@ module Stripe
2180
1930
  class UsBankAccount < Stripe::RequestParams
2181
1931
  # Account holder type: individual or company.
2182
1932
  attr_accessor :account_holder_type
2183
-
2184
1933
  # Account number of the bank account.
2185
1934
  attr_accessor :account_number
2186
-
2187
1935
  # Account type: checkings or savings. Defaults to checking if omitted.
2188
1936
  attr_accessor :account_type
2189
-
2190
1937
  # The ID of a Financial Connections Account to use as a payment method.
2191
1938
  attr_accessor :financial_connections_account
2192
-
2193
1939
  # Routing number of the bank account.
2194
1940
  attr_accessor :routing_number
2195
1941
 
@@ -2215,166 +1961,112 @@ module Stripe
2215
1961
  end
2216
1962
  # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
2217
1963
  attr_accessor :acss_debit
2218
-
2219
1964
  # If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
2220
1965
  attr_accessor :affirm
2221
-
2222
1966
  # If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
2223
1967
  attr_accessor :afterpay_clearpay
2224
-
2225
1968
  # If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.
2226
1969
  attr_accessor :alipay
2227
-
2228
1970
  # 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`.
2229
1971
  attr_accessor :allow_redisplay
2230
-
2231
1972
  # If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
2232
1973
  attr_accessor :alma
2233
-
2234
1974
  # If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
2235
1975
  attr_accessor :amazon_pay
2236
-
2237
1976
  # If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
2238
1977
  attr_accessor :au_becs_debit
2239
-
2240
1978
  # If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
2241
1979
  attr_accessor :bacs_debit
2242
-
2243
1980
  # If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
2244
1981
  attr_accessor :bancontact
2245
-
2246
1982
  # Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
2247
1983
  attr_accessor :billing_details
2248
-
2249
1984
  # If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
2250
1985
  attr_accessor :blik
2251
-
2252
1986
  # If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.
2253
1987
  attr_accessor :boleto
2254
-
2255
1988
  # If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
2256
1989
  attr_accessor :cashapp
2257
-
2258
1990
  # If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
2259
1991
  attr_accessor :customer_balance
2260
-
2261
1992
  # If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
2262
1993
  attr_accessor :eps
2263
-
2264
1994
  # If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
2265
1995
  attr_accessor :fpx
2266
-
2267
1996
  # If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
2268
1997
  attr_accessor :giropay
2269
-
2270
1998
  # If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
2271
1999
  attr_accessor :gopay
2272
-
2273
2000
  # If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
2274
2001
  attr_accessor :grabpay
2275
-
2276
2002
  # If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
2277
2003
  attr_accessor :id_bank_transfer
2278
-
2279
2004
  # If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
2280
2005
  attr_accessor :ideal
2281
-
2282
2006
  # If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
2283
2007
  attr_accessor :interac_present
2284
-
2285
2008
  # If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.
2286
2009
  attr_accessor :kakao_pay
2287
-
2288
2010
  # If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.
2289
2011
  attr_accessor :klarna
2290
-
2291
2012
  # If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.
2292
2013
  attr_accessor :konbini
2293
-
2294
2014
  # If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.
2295
2015
  attr_accessor :kr_card
2296
-
2297
2016
  # If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
2298
2017
  attr_accessor :link
2299
-
2300
2018
  # If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
2301
2019
  attr_accessor :mb_way
2302
-
2303
2020
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
2304
2021
  attr_accessor :metadata
2305
-
2306
2022
  # If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
2307
2023
  attr_accessor :mobilepay
2308
-
2309
2024
  # If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
2310
2025
  attr_accessor :multibanco
2311
-
2312
2026
  # If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
2313
2027
  attr_accessor :naver_pay
2314
-
2315
2028
  # If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
2316
2029
  attr_accessor :oxxo
2317
-
2318
2030
  # If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
2319
2031
  attr_accessor :p24
2320
-
2321
2032
  # If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.
2322
2033
  attr_accessor :payco
2323
-
2324
2034
  # If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.
2325
2035
  attr_accessor :paynow
2326
-
2327
2036
  # If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
2328
2037
  attr_accessor :paypal
2329
-
2330
2038
  # If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
2331
2039
  attr_accessor :payto
2332
-
2333
2040
  # If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
2334
2041
  attr_accessor :pix
2335
-
2336
2042
  # If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
2337
2043
  attr_accessor :promptpay
2338
-
2339
2044
  # If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
2340
2045
  attr_accessor :qris
2341
-
2342
2046
  # Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
2343
2047
  attr_accessor :radar_options
2344
-
2345
2048
  # If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
2346
2049
  attr_accessor :rechnung
2347
-
2348
2050
  # If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
2349
2051
  attr_accessor :revolut_pay
2350
-
2351
2052
  # If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
2352
2053
  attr_accessor :samsung_pay
2353
-
2354
2054
  # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
2355
2055
  attr_accessor :sepa_debit
2356
-
2357
2056
  # If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
2358
2057
  attr_accessor :shopeepay
2359
-
2360
2058
  # If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
2361
2059
  attr_accessor :sofort
2362
-
2363
2060
  # If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
2364
2061
  attr_accessor :swish
2365
-
2366
2062
  # If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
2367
2063
  attr_accessor :twint
2368
-
2369
2064
  # 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.
2370
2065
  attr_accessor :type
2371
-
2372
2066
  # If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
2373
2067
  attr_accessor :us_bank_account
2374
-
2375
2068
  # If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
2376
2069
  attr_accessor :wechat_pay
2377
-
2378
2070
  # If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
2379
2071
  attr_accessor :zip
2380
2072
 
@@ -2500,16 +2192,12 @@ module Stripe
2500
2192
  # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,
2501
2193
  # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
2502
2194
  attr_accessor :custom_mandate_url
2503
-
2504
2195
  # List of Stripe products where this mandate can be selected automatically.
2505
2196
  attr_accessor :default_for
2506
-
2507
2197
  # Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
2508
2198
  attr_accessor :interval_description
2509
-
2510
2199
  # Payment schedule for the mandate.
2511
2200
  attr_accessor :payment_schedule
2512
-
2513
2201
  # Transaction type of the mandate.
2514
2202
  attr_accessor :transaction_type
2515
2203
 
@@ -2529,10 +2217,8 @@ module Stripe
2529
2217
  end
2530
2218
  # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
2531
2219
  attr_accessor :currency
2532
-
2533
2220
  # Additional fields for Mandate creation
2534
2221
  attr_accessor :mandate_options
2535
-
2536
2222
  # Bank account verification method.
2537
2223
  attr_accessor :verification_method
2538
2224
 
@@ -2567,31 +2253,22 @@ module Stripe
2567
2253
  class MandateOptions < Stripe::RequestParams
2568
2254
  # Amount to be charged for future payments.
2569
2255
  attr_accessor :amount
2570
-
2571
2256
  # 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.
2572
2257
  attr_accessor :amount_type
2573
-
2574
2258
  # Currency in which future payments will be charged. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
2575
2259
  attr_accessor :currency
2576
-
2577
2260
  # A description of the mandate or subscription that is meant to be displayed to the customer.
2578
2261
  attr_accessor :description
2579
-
2580
2262
  # 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.
2581
2263
  attr_accessor :end_date
2582
-
2583
2264
  # Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
2584
2265
  attr_accessor :interval
2585
-
2586
2266
  # 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`.
2587
2267
  attr_accessor :interval_count
2588
-
2589
2268
  # Unique identifier for the mandate or subscription.
2590
2269
  attr_accessor :reference
2591
-
2592
2270
  # Start date of the mandate or subscription. Start date should not be lesser than yesterday.
2593
2271
  attr_accessor :start_date
2594
-
2595
2272
  # Specifies the type of mandates supported. Possible values are `india`.
2596
2273
  attr_accessor :supported_types
2597
2274
 
@@ -2627,13 +2304,11 @@ module Stripe
2627
2304
  # to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`.
2628
2305
  # messageExtension: CB-AVALGO
2629
2306
  attr_accessor :cb_avalgo
2630
-
2631
2307
  # The exemption indicator returned from Cartes Bancaires in the ARes.
2632
2308
  # message extension: CB-EXEMPTION; string (4 characters)
2633
2309
  # This is a 3 byte bitmap (low significant byte first and most significant
2634
2310
  # bit first) that has been Base64 encoded
2635
2311
  attr_accessor :cb_exemption
2636
-
2637
2312
  # The risk score returned from Cartes Bancaires in the ARes.
2638
2313
  # message extension: CB-SCORE; numeric value 0-99
2639
2314
  attr_accessor :cb_score
@@ -2653,30 +2328,24 @@ module Stripe
2653
2328
  end
2654
2329
  # The `transStatus` returned from the card Issuer’s ACS in the ARes.
2655
2330
  attr_accessor :ares_trans_status
2656
-
2657
2331
  # The cryptogram, also known as the "authentication value" (AAV, CAVV or
2658
2332
  # AEVV). This value is 20 bytes, base64-encoded into a 28-character string.
2659
2333
  # (Most 3D Secure providers will return the base64-encoded version, which
2660
2334
  # is what you should specify here.)
2661
2335
  attr_accessor :cryptogram
2662
-
2663
2336
  # The Electronic Commerce Indicator (ECI) is returned by your 3D Secure
2664
2337
  # provider and indicates what degree of authentication was performed.
2665
2338
  attr_accessor :electronic_commerce_indicator
2666
-
2667
2339
  # Network specific 3DS fields. Network specific arguments require an
2668
2340
  # explicit card brand choice. The parameter `payment_method_options.card.network``
2669
2341
  # must be populated accordingly
2670
2342
  attr_accessor :network_options
2671
-
2672
2343
  # The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the
2673
2344
  # AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99.
2674
2345
  attr_accessor :requestor_challenge_indicator
2675
-
2676
2346
  # For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server
2677
2347
  # Transaction ID (dsTransID).
2678
2348
  attr_accessor :transaction_id
2679
-
2680
2349
  # The version of 3D Secure that was performed.
2681
2350
  attr_accessor :version
2682
2351
 
@@ -2700,18 +2369,14 @@ module Stripe
2700
2369
  end
2701
2370
  # Configuration options for setting up an eMandate for cards issued in India.
2702
2371
  attr_accessor :mandate_options
2703
-
2704
2372
  # When specified, this parameter signals that a card has been collected
2705
2373
  # as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This
2706
2374
  # parameter can only be provided during confirmation.
2707
2375
  attr_accessor :moto
2708
-
2709
2376
  # Selected network to process this SetupIntent on. Depends on the available networks of the card attached to the SetupIntent. Can be only set confirm-time.
2710
2377
  attr_accessor :network
2711
-
2712
2378
  # 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://stripe.com/docs/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://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
2713
2379
  attr_accessor :request_three_d_secure
2714
-
2715
2380
  # If 3D Secure authentication was performed with a third-party provider,
2716
2381
  # the authentication details to use for this setup.
2717
2382
  attr_accessor :three_d_secure
@@ -2746,10 +2411,8 @@ module Stripe
2746
2411
  class Paypal < Stripe::RequestParams
2747
2412
  # The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
2748
2413
  attr_accessor :billing_agreement_id
2749
-
2750
2414
  # Attribute for param field currency
2751
2415
  attr_accessor :currency
2752
-
2753
2416
  # The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
2754
2417
  attr_accessor :subsellers
2755
2418
 
@@ -2764,22 +2427,16 @@ module Stripe
2764
2427
  class MandateOptions < Stripe::RequestParams
2765
2428
  # Amount that will be collected. It is required when `amount_type` is `fixed`.
2766
2429
  attr_accessor :amount
2767
-
2768
2430
  # 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.
2769
2431
  attr_accessor :amount_type
2770
-
2771
2432
  # Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
2772
2433
  attr_accessor :end_date
2773
-
2774
2434
  # The periodicity at which payments will be collected.
2775
2435
  attr_accessor :payment_schedule
2776
-
2777
2436
  # 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.
2778
2437
  attr_accessor :payments_per_period
2779
-
2780
2438
  # The purpose for which payments are made. Defaults to retail.
2781
2439
  attr_accessor :purpose
2782
-
2783
2440
  # Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
2784
2441
  attr_accessor :start_date
2785
2442
 
@@ -2831,7 +2488,6 @@ module Stripe
2831
2488
  class Filters < Stripe::RequestParams
2832
2489
  # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
2833
2490
  attr_accessor :account_subcategories
2834
-
2835
2491
  # ID of the institution to use to filter for selectable accounts.
2836
2492
  attr_accessor :institution
2837
2493
 
@@ -2851,16 +2507,12 @@ module Stripe
2851
2507
  end
2852
2508
  # Provide filters for the linked accounts that the customer can select for the payment method
2853
2509
  attr_accessor :filters
2854
-
2855
2510
  # Customize manual entry behavior
2856
2511
  attr_accessor :manual_entry
2857
-
2858
2512
  # 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`.
2859
2513
  attr_accessor :permissions
2860
-
2861
2514
  # List of data features that you would like to retrieve upon account creation.
2862
2515
  attr_accessor :prefetch
2863
-
2864
2516
  # 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.
2865
2517
  attr_accessor :return_url
2866
2518
 
@@ -2898,13 +2550,10 @@ module Stripe
2898
2550
  end
2899
2551
  # Additional fields for Financial Connections Session creation
2900
2552
  attr_accessor :financial_connections
2901
-
2902
2553
  # Additional fields for Mandate creation
2903
2554
  attr_accessor :mandate_options
2904
-
2905
2555
  # Additional fields for network related functions
2906
2556
  attr_accessor :networks
2907
-
2908
2557
  # Bank account verification method.
2909
2558
  attr_accessor :verification_method
2910
2559
 
@@ -2922,31 +2571,22 @@ module Stripe
2922
2571
  end
2923
2572
  # If this is a `acss_debit` SetupIntent, this sub-hash contains details about the ACSS Debit payment method options.
2924
2573
  attr_accessor :acss_debit
2925
-
2926
2574
  # If this is a `amazon_pay` SetupIntent, this sub-hash contains details about the AmazonPay payment method options.
2927
2575
  attr_accessor :amazon_pay
2928
-
2929
2576
  # If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.
2930
2577
  attr_accessor :bacs_debit
2931
-
2932
2578
  # Configuration for any card setup attempted on this SetupIntent.
2933
2579
  attr_accessor :card
2934
-
2935
2580
  # If this is a `card_present` PaymentMethod, this sub-hash contains details about the card-present payment method options.
2936
2581
  attr_accessor :card_present
2937
-
2938
2582
  # If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.
2939
2583
  attr_accessor :link
2940
-
2941
2584
  # If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
2942
2585
  attr_accessor :paypal
2943
-
2944
2586
  # If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
2945
2587
  attr_accessor :payto
2946
-
2947
2588
  # If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
2948
2589
  attr_accessor :sepa_debit
2949
-
2950
2590
  # If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
2951
2591
  attr_accessor :us_bank_account
2952
2592
 
@@ -2978,39 +2618,29 @@ module Stripe
2978
2618
  #
2979
2619
  # It can only be used for this Stripe Account’s own money movement flows like InboundTransfer and OutboundTransfers. It cannot be set to true when setting up a PaymentMethod for a Customer, and defaults to false when attaching a PaymentMethod to a Customer.
2980
2620
  attr_accessor :attach_to_self
2981
-
2982
2621
  # ID of the Customer this SetupIntent belongs to, if one exists.
2983
2622
  #
2984
2623
  # If present, the SetupIntent's payment method will be attached to the Customer on successful setup. Payment methods attached to other Customers cannot be used with this SetupIntent.
2985
2624
  attr_accessor :customer
2986
-
2987
2625
  # An arbitrary string attached to the object. Often useful for displaying to users.
2988
2626
  attr_accessor :description
2989
-
2990
2627
  # Specifies which fields in the response should be expanded.
2991
2628
  attr_accessor :expand
2992
-
2993
2629
  # Indicates the directions of money movement for which this payment method is intended to be used.
2994
2630
  #
2995
2631
  # Include `inbound` if you intend to use the payment method as the origin to pull funds from. Include `outbound` if you intend to use the payment method as the destination to send funds to. You can include both if you intend to use the payment method for both purposes.
2996
2632
  attr_accessor :flow_directions
2997
-
2998
2633
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
2999
2634
  attr_accessor :metadata
3000
-
3001
2635
  # ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this SetupIntent. To unset this field to null, pass in an empty string.
3002
2636
  attr_accessor :payment_method
3003
-
3004
2637
  # The ID of the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) to use with this SetupIntent.
3005
2638
  attr_accessor :payment_method_configuration
3006
-
3007
2639
  # When included, this hash creates a PaymentMethod that is set as the [`payment_method`](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-payment_method)
3008
2640
  # value in the SetupIntent.
3009
2641
  attr_accessor :payment_method_data
3010
-
3011
2642
  # Payment method-specific configuration for this SetupIntent.
3012
2643
  attr_accessor :payment_method_options
3013
-
3014
2644
  # The list of payment method types (for example, card) that this SetupIntent can set up. If you don't provide this, Stripe will dynamically show relevant payment methods from your [payment method settings](https://dashboard.stripe.com/settings/payment_methods).
3015
2645
  attr_accessor :payment_method_types
3016
2646
 
@@ -3044,7 +2674,6 @@ module Stripe
3044
2674
  class CancelParams < Stripe::RequestParams
3045
2675
  # Reason for canceling this SetupIntent. Possible values are: `abandoned`, `requested_by_customer`, or `duplicate`
3046
2676
  attr_accessor :cancellation_reason
3047
-
3048
2677
  # Specifies which fields in the response should be expanded.
3049
2678
  attr_accessor :expand
3050
2679
 
@@ -3063,7 +2692,6 @@ module Stripe
3063
2692
  class Online < Stripe::RequestParams
3064
2693
  # The IP address from which the Mandate was accepted by the customer.
3065
2694
  attr_accessor :ip_address
3066
-
3067
2695
  # The user agent of the browser from which the Mandate was accepted by the customer.
3068
2696
  attr_accessor :user_agent
3069
2697
 
@@ -3074,13 +2702,10 @@ module Stripe
3074
2702
  end
3075
2703
  # The time at which the customer accepted the Mandate.
3076
2704
  attr_accessor :accepted_at
3077
-
3078
2705
  # If this is a Mandate accepted offline, this hash contains details about the offline acceptance.
3079
2706
  attr_accessor :offline
3080
-
3081
2707
  # If this is a Mandate accepted online, this hash contains details about the online acceptance.
3082
2708
  attr_accessor :online
3083
-
3084
2709
  # The type of customer acceptance information included with the Mandate. One of `online` or `offline`.
3085
2710
  attr_accessor :type
3086
2711
 
@@ -3103,10 +2728,8 @@ module Stripe
3103
2728
  class AcssDebit < Stripe::RequestParams
3104
2729
  # Customer's bank account number.
3105
2730
  attr_accessor :account_number
3106
-
3107
2731
  # Institution number of the customer's bank.
3108
2732
  attr_accessor :institution_number
3109
-
3110
2733
  # Transit number of the customer's bank.
3111
2734
  attr_accessor :transit_number
3112
2735
 
@@ -3135,7 +2758,6 @@ module Stripe
3135
2758
  class AuBecsDebit < Stripe::RequestParams
3136
2759
  # The account number for the bank account.
3137
2760
  attr_accessor :account_number
3138
-
3139
2761
  # Bank-State-Branch number of the bank account.
3140
2762
  attr_accessor :bsb_number
3141
2763
 
@@ -3148,7 +2770,6 @@ module Stripe
3148
2770
  class BacsDebit < Stripe::RequestParams
3149
2771
  # Account number of the bank account that the funds will be debited from.
3150
2772
  attr_accessor :account_number
3151
-
3152
2773
  # Sort code of the bank account. (e.g., `10-20-30`)
3153
2774
  attr_accessor :sort_code
3154
2775
 
@@ -3165,19 +2786,14 @@ module Stripe
3165
2786
  class Address < Stripe::RequestParams
3166
2787
  # City, district, suburb, town, or village.
3167
2788
  attr_accessor :city
3168
-
3169
2789
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3170
2790
  attr_accessor :country
3171
-
3172
2791
  # Address line 1 (e.g., street, PO Box, or company name).
3173
2792
  attr_accessor :line1
3174
-
3175
2793
  # Address line 2 (e.g., apartment, suite, unit, or building).
3176
2794
  attr_accessor :line2
3177
-
3178
2795
  # ZIP or postal code.
3179
2796
  attr_accessor :postal_code
3180
-
3181
2797
  # State, county, province, or region.
3182
2798
  attr_accessor :state
3183
2799
 
@@ -3199,13 +2815,10 @@ module Stripe
3199
2815
  end
3200
2816
  # Billing address.
3201
2817
  attr_accessor :address
3202
-
3203
2818
  # Email address.
3204
2819
  attr_accessor :email
3205
-
3206
2820
  # Full name.
3207
2821
  attr_accessor :name
3208
-
3209
2822
  # Billing phone number (including extension).
3210
2823
  attr_accessor :phone
3211
2824
 
@@ -3247,7 +2860,6 @@ module Stripe
3247
2860
  class Fpx < Stripe::RequestParams
3248
2861
  # Account holder type for FPX transaction
3249
2862
  attr_accessor :account_holder_type
3250
-
3251
2863
  # The customer's bank.
3252
2864
  attr_accessor :bank
3253
2865
 
@@ -3294,10 +2906,8 @@ module Stripe
3294
2906
  class Dob < Stripe::RequestParams
3295
2907
  # The day of birth, between 1 and 31.
3296
2908
  attr_accessor :day
3297
-
3298
2909
  # The month of birth, between 1 and 12.
3299
2910
  attr_accessor :month
3300
-
3301
2911
  # The four-digit year of birth.
3302
2912
  attr_accessor :year
3303
2913
 
@@ -3366,10 +2976,8 @@ module Stripe
3366
2976
  class Payto < Stripe::RequestParams
3367
2977
  # The account number for the bank account.
3368
2978
  attr_accessor :account_number
3369
-
3370
2979
  # Bank-State-Branch number of the bank account.
3371
2980
  attr_accessor :bsb_number
3372
-
3373
2981
  # The PayID alias for the bank account.
3374
2982
  attr_accessor :pay_id
3375
2983
 
@@ -3402,10 +3010,8 @@ module Stripe
3402
3010
  class Dob < Stripe::RequestParams
3403
3011
  # The day of birth, between 1 and 31.
3404
3012
  attr_accessor :day
3405
-
3406
3013
  # The month of birth, between 1 and 12.
3407
3014
  attr_accessor :month
3408
-
3409
3015
  # The four-digit year of birth.
3410
3016
  attr_accessor :year
3411
3017
 
@@ -3459,16 +3065,12 @@ module Stripe
3459
3065
  class UsBankAccount < Stripe::RequestParams
3460
3066
  # Account holder type: individual or company.
3461
3067
  attr_accessor :account_holder_type
3462
-
3463
3068
  # Account number of the bank account.
3464
3069
  attr_accessor :account_number
3465
-
3466
3070
  # Account type: checkings or savings. Defaults to checking if omitted.
3467
3071
  attr_accessor :account_type
3468
-
3469
3072
  # The ID of a Financial Connections Account to use as a payment method.
3470
3073
  attr_accessor :financial_connections_account
3471
-
3472
3074
  # Routing number of the bank account.
3473
3075
  attr_accessor :routing_number
3474
3076
 
@@ -3494,166 +3096,112 @@ module Stripe
3494
3096
  end
3495
3097
  # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
3496
3098
  attr_accessor :acss_debit
3497
-
3498
3099
  # If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
3499
3100
  attr_accessor :affirm
3500
-
3501
3101
  # If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
3502
3102
  attr_accessor :afterpay_clearpay
3503
-
3504
3103
  # If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.
3505
3104
  attr_accessor :alipay
3506
-
3507
3105
  # 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`.
3508
3106
  attr_accessor :allow_redisplay
3509
-
3510
3107
  # If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
3511
3108
  attr_accessor :alma
3512
-
3513
3109
  # If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
3514
3110
  attr_accessor :amazon_pay
3515
-
3516
3111
  # If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
3517
3112
  attr_accessor :au_becs_debit
3518
-
3519
3113
  # If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
3520
3114
  attr_accessor :bacs_debit
3521
-
3522
3115
  # If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
3523
3116
  attr_accessor :bancontact
3524
-
3525
3117
  # Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
3526
3118
  attr_accessor :billing_details
3527
-
3528
3119
  # If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
3529
3120
  attr_accessor :blik
3530
-
3531
3121
  # If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.
3532
3122
  attr_accessor :boleto
3533
-
3534
3123
  # If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
3535
3124
  attr_accessor :cashapp
3536
-
3537
3125
  # If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
3538
3126
  attr_accessor :customer_balance
3539
-
3540
3127
  # If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
3541
3128
  attr_accessor :eps
3542
-
3543
3129
  # If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
3544
3130
  attr_accessor :fpx
3545
-
3546
3131
  # If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
3547
3132
  attr_accessor :giropay
3548
-
3549
3133
  # If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
3550
3134
  attr_accessor :gopay
3551
-
3552
3135
  # If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
3553
3136
  attr_accessor :grabpay
3554
-
3555
3137
  # If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
3556
3138
  attr_accessor :id_bank_transfer
3557
-
3558
3139
  # If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
3559
3140
  attr_accessor :ideal
3560
-
3561
3141
  # If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
3562
3142
  attr_accessor :interac_present
3563
-
3564
3143
  # If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.
3565
3144
  attr_accessor :kakao_pay
3566
-
3567
3145
  # If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.
3568
3146
  attr_accessor :klarna
3569
-
3570
3147
  # If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.
3571
3148
  attr_accessor :konbini
3572
-
3573
3149
  # If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.
3574
3150
  attr_accessor :kr_card
3575
-
3576
3151
  # If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
3577
3152
  attr_accessor :link
3578
-
3579
3153
  # If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
3580
3154
  attr_accessor :mb_way
3581
-
3582
3155
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
3583
3156
  attr_accessor :metadata
3584
-
3585
3157
  # If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
3586
3158
  attr_accessor :mobilepay
3587
-
3588
3159
  # If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
3589
3160
  attr_accessor :multibanco
3590
-
3591
3161
  # If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
3592
3162
  attr_accessor :naver_pay
3593
-
3594
3163
  # If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
3595
3164
  attr_accessor :oxxo
3596
-
3597
3165
  # If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
3598
3166
  attr_accessor :p24
3599
-
3600
3167
  # If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.
3601
3168
  attr_accessor :payco
3602
-
3603
3169
  # If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.
3604
3170
  attr_accessor :paynow
3605
-
3606
3171
  # If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
3607
3172
  attr_accessor :paypal
3608
-
3609
3173
  # If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
3610
3174
  attr_accessor :payto
3611
-
3612
3175
  # If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
3613
3176
  attr_accessor :pix
3614
-
3615
3177
  # If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
3616
3178
  attr_accessor :promptpay
3617
-
3618
3179
  # If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
3619
3180
  attr_accessor :qris
3620
-
3621
3181
  # Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
3622
3182
  attr_accessor :radar_options
3623
-
3624
3183
  # If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
3625
3184
  attr_accessor :rechnung
3626
-
3627
3185
  # If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
3628
3186
  attr_accessor :revolut_pay
3629
-
3630
3187
  # If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
3631
3188
  attr_accessor :samsung_pay
3632
-
3633
3189
  # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
3634
3190
  attr_accessor :sepa_debit
3635
-
3636
3191
  # If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
3637
3192
  attr_accessor :shopeepay
3638
-
3639
3193
  # If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
3640
3194
  attr_accessor :sofort
3641
-
3642
3195
  # If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
3643
3196
  attr_accessor :swish
3644
-
3645
3197
  # If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
3646
3198
  attr_accessor :twint
3647
-
3648
3199
  # 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.
3649
3200
  attr_accessor :type
3650
-
3651
3201
  # If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
3652
3202
  attr_accessor :us_bank_account
3653
-
3654
3203
  # If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
3655
3204
  attr_accessor :wechat_pay
3656
-
3657
3205
  # If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
3658
3206
  attr_accessor :zip
3659
3207
 
@@ -3779,16 +3327,12 @@ module Stripe
3779
3327
  # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,
3780
3328
  # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
3781
3329
  attr_accessor :custom_mandate_url
3782
-
3783
3330
  # List of Stripe products where this mandate can be selected automatically.
3784
3331
  attr_accessor :default_for
3785
-
3786
3332
  # Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
3787
3333
  attr_accessor :interval_description
3788
-
3789
3334
  # Payment schedule for the mandate.
3790
3335
  attr_accessor :payment_schedule
3791
-
3792
3336
  # Transaction type of the mandate.
3793
3337
  attr_accessor :transaction_type
3794
3338
 
@@ -3808,10 +3352,8 @@ module Stripe
3808
3352
  end
3809
3353
  # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
3810
3354
  attr_accessor :currency
3811
-
3812
3355
  # Additional fields for Mandate creation
3813
3356
  attr_accessor :mandate_options
3814
-
3815
3357
  # Bank account verification method.
3816
3358
  attr_accessor :verification_method
3817
3359
 
@@ -3846,31 +3388,22 @@ module Stripe
3846
3388
  class MandateOptions < Stripe::RequestParams
3847
3389
  # Amount to be charged for future payments.
3848
3390
  attr_accessor :amount
3849
-
3850
3391
  # 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.
3851
3392
  attr_accessor :amount_type
3852
-
3853
3393
  # Currency in which future payments will be charged. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
3854
3394
  attr_accessor :currency
3855
-
3856
3395
  # A description of the mandate or subscription that is meant to be displayed to the customer.
3857
3396
  attr_accessor :description
3858
-
3859
3397
  # 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.
3860
3398
  attr_accessor :end_date
3861
-
3862
3399
  # Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
3863
3400
  attr_accessor :interval
3864
-
3865
3401
  # 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`.
3866
3402
  attr_accessor :interval_count
3867
-
3868
3403
  # Unique identifier for the mandate or subscription.
3869
3404
  attr_accessor :reference
3870
-
3871
3405
  # Start date of the mandate or subscription. Start date should not be lesser than yesterday.
3872
3406
  attr_accessor :start_date
3873
-
3874
3407
  # Specifies the type of mandates supported. Possible values are `india`.
3875
3408
  attr_accessor :supported_types
3876
3409
 
@@ -3906,13 +3439,11 @@ module Stripe
3906
3439
  # to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`.
3907
3440
  # messageExtension: CB-AVALGO
3908
3441
  attr_accessor :cb_avalgo
3909
-
3910
3442
  # The exemption indicator returned from Cartes Bancaires in the ARes.
3911
3443
  # message extension: CB-EXEMPTION; string (4 characters)
3912
3444
  # This is a 3 byte bitmap (low significant byte first and most significant
3913
3445
  # bit first) that has been Base64 encoded
3914
3446
  attr_accessor :cb_exemption
3915
-
3916
3447
  # The risk score returned from Cartes Bancaires in the ARes.
3917
3448
  # message extension: CB-SCORE; numeric value 0-99
3918
3449
  attr_accessor :cb_score
@@ -3932,30 +3463,24 @@ module Stripe
3932
3463
  end
3933
3464
  # The `transStatus` returned from the card Issuer’s ACS in the ARes.
3934
3465
  attr_accessor :ares_trans_status
3935
-
3936
3466
  # The cryptogram, also known as the "authentication value" (AAV, CAVV or
3937
3467
  # AEVV). This value is 20 bytes, base64-encoded into a 28-character string.
3938
3468
  # (Most 3D Secure providers will return the base64-encoded version, which
3939
3469
  # is what you should specify here.)
3940
3470
  attr_accessor :cryptogram
3941
-
3942
3471
  # The Electronic Commerce Indicator (ECI) is returned by your 3D Secure
3943
3472
  # provider and indicates what degree of authentication was performed.
3944
3473
  attr_accessor :electronic_commerce_indicator
3945
-
3946
3474
  # Network specific 3DS fields. Network specific arguments require an
3947
3475
  # explicit card brand choice. The parameter `payment_method_options.card.network``
3948
3476
  # must be populated accordingly
3949
3477
  attr_accessor :network_options
3950
-
3951
3478
  # The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the
3952
3479
  # AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99.
3953
3480
  attr_accessor :requestor_challenge_indicator
3954
-
3955
3481
  # For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server
3956
3482
  # Transaction ID (dsTransID).
3957
3483
  attr_accessor :transaction_id
3958
-
3959
3484
  # The version of 3D Secure that was performed.
3960
3485
  attr_accessor :version
3961
3486
 
@@ -3979,18 +3504,14 @@ module Stripe
3979
3504
  end
3980
3505
  # Configuration options for setting up an eMandate for cards issued in India.
3981
3506
  attr_accessor :mandate_options
3982
-
3983
3507
  # When specified, this parameter signals that a card has been collected
3984
3508
  # as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This
3985
3509
  # parameter can only be provided during confirmation.
3986
3510
  attr_accessor :moto
3987
-
3988
3511
  # Selected network to process this SetupIntent on. Depends on the available networks of the card attached to the SetupIntent. Can be only set confirm-time.
3989
3512
  attr_accessor :network
3990
-
3991
3513
  # 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://stripe.com/docs/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://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
3992
3514
  attr_accessor :request_three_d_secure
3993
-
3994
3515
  # If 3D Secure authentication was performed with a third-party provider,
3995
3516
  # the authentication details to use for this setup.
3996
3517
  attr_accessor :three_d_secure
@@ -4025,10 +3546,8 @@ module Stripe
4025
3546
  class Paypal < Stripe::RequestParams
4026
3547
  # The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
4027
3548
  attr_accessor :billing_agreement_id
4028
-
4029
3549
  # Attribute for param field currency
4030
3550
  attr_accessor :currency
4031
-
4032
3551
  # The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
4033
3552
  attr_accessor :subsellers
4034
3553
 
@@ -4043,22 +3562,16 @@ module Stripe
4043
3562
  class MandateOptions < Stripe::RequestParams
4044
3563
  # Amount that will be collected. It is required when `amount_type` is `fixed`.
4045
3564
  attr_accessor :amount
4046
-
4047
3565
  # 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.
4048
3566
  attr_accessor :amount_type
4049
-
4050
3567
  # Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
4051
3568
  attr_accessor :end_date
4052
-
4053
3569
  # The periodicity at which payments will be collected.
4054
3570
  attr_accessor :payment_schedule
4055
-
4056
3571
  # 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.
4057
3572
  attr_accessor :payments_per_period
4058
-
4059
3573
  # The purpose for which payments are made. Defaults to retail.
4060
3574
  attr_accessor :purpose
4061
-
4062
3575
  # Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
4063
3576
  attr_accessor :start_date
4064
3577
 
@@ -4110,7 +3623,6 @@ module Stripe
4110
3623
  class Filters < Stripe::RequestParams
4111
3624
  # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
4112
3625
  attr_accessor :account_subcategories
4113
-
4114
3626
  # ID of the institution to use to filter for selectable accounts.
4115
3627
  attr_accessor :institution
4116
3628
 
@@ -4130,16 +3642,12 @@ module Stripe
4130
3642
  end
4131
3643
  # Provide filters for the linked accounts that the customer can select for the payment method
4132
3644
  attr_accessor :filters
4133
-
4134
3645
  # Customize manual entry behavior
4135
3646
  attr_accessor :manual_entry
4136
-
4137
3647
  # 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`.
4138
3648
  attr_accessor :permissions
4139
-
4140
3649
  # List of data features that you would like to retrieve upon account creation.
4141
3650
  attr_accessor :prefetch
4142
-
4143
3651
  # 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.
4144
3652
  attr_accessor :return_url
4145
3653
 
@@ -4177,13 +3685,10 @@ module Stripe
4177
3685
  end
4178
3686
  # Additional fields for Financial Connections Session creation
4179
3687
  attr_accessor :financial_connections
4180
-
4181
3688
  # Additional fields for Mandate creation
4182
3689
  attr_accessor :mandate_options
4183
-
4184
3690
  # Additional fields for network related functions
4185
3691
  attr_accessor :networks
4186
-
4187
3692
  # Bank account verification method.
4188
3693
  attr_accessor :verification_method
4189
3694
 
@@ -4201,31 +3706,22 @@ module Stripe
4201
3706
  end
4202
3707
  # If this is a `acss_debit` SetupIntent, this sub-hash contains details about the ACSS Debit payment method options.
4203
3708
  attr_accessor :acss_debit
4204
-
4205
3709
  # If this is a `amazon_pay` SetupIntent, this sub-hash contains details about the AmazonPay payment method options.
4206
3710
  attr_accessor :amazon_pay
4207
-
4208
3711
  # If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.
4209
3712
  attr_accessor :bacs_debit
4210
-
4211
3713
  # Configuration for any card setup attempted on this SetupIntent.
4212
3714
  attr_accessor :card
4213
-
4214
3715
  # If this is a `card_present` PaymentMethod, this sub-hash contains details about the card-present payment method options.
4215
3716
  attr_accessor :card_present
4216
-
4217
3717
  # If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.
4218
3718
  attr_accessor :link
4219
-
4220
3719
  # If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
4221
3720
  attr_accessor :paypal
4222
-
4223
3721
  # If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
4224
3722
  attr_accessor :payto
4225
-
4226
3723
  # If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
4227
3724
  attr_accessor :sepa_debit
4228
-
4229
3725
  # If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
4230
3726
  attr_accessor :us_bank_account
4231
3727
 
@@ -4257,28 +3753,21 @@ module Stripe
4257
3753
  #
4258
3754
  # 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.
4259
3755
  attr_accessor :confirmation_token
4260
-
4261
3756
  # Specifies which fields in the response should be expanded.
4262
3757
  attr_accessor :expand
4263
-
4264
3758
  # Attribute for param field mandate_data
4265
3759
  attr_accessor :mandate_data
4266
-
4267
3760
  # ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this SetupIntent.
4268
3761
  attr_accessor :payment_method
4269
-
4270
3762
  # When included, this hash creates a PaymentMethod that is set as the [`payment_method`](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-payment_method)
4271
3763
  # value in the SetupIntent.
4272
3764
  attr_accessor :payment_method_data
4273
-
4274
3765
  # Payment method-specific configuration for this SetupIntent.
4275
3766
  attr_accessor :payment_method_options
4276
-
4277
3767
  # The URL to redirect your customer back to after they authenticate on the payment method's app or site.
4278
3768
  # If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.
4279
3769
  # This parameter is only used for cards and other redirect-based payment methods.
4280
3770
  attr_accessor :return_url
4281
-
4282
3771
  # Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.
4283
3772
  attr_accessor :use_stripe_sdk
4284
3773
 
@@ -4306,10 +3795,8 @@ module Stripe
4306
3795
  class VerifyMicrodepositsParams < Stripe::RequestParams
4307
3796
  # Two positive integers, in *cents*, equal to the values of the microdeposits sent to the bank account.
4308
3797
  attr_accessor :amounts
4309
-
4310
3798
  # A six-character code starting with SM present in the microdeposit sent to the bank account.
4311
3799
  attr_accessor :descriptor_code
4312
-
4313
3800
  # Specifies which fields in the response should be expanded.
4314
3801
  attr_accessor :expand
4315
3802
 
@@ -4321,84 +3808,60 @@ module Stripe
4321
3808
  end
4322
3809
  # ID of the Connect application that created the SetupIntent.
4323
3810
  attr_reader :application
4324
-
4325
3811
  # If present, the SetupIntent's payment method will be attached to the in-context Stripe Account.
4326
3812
  #
4327
3813
  # It can only be used for this Stripe Account’s own money movement flows like InboundTransfer and OutboundTransfers. It cannot be set to true when setting up a PaymentMethod for a Customer, and defaults to false when attaching a PaymentMethod to a Customer.
4328
3814
  attr_reader :attach_to_self
4329
-
4330
3815
  # Settings for dynamic payment methods compatible with this Setup Intent
4331
3816
  attr_reader :automatic_payment_methods
4332
-
4333
3817
  # Reason for cancellation of this SetupIntent, one of `abandoned`, `requested_by_customer`, or `duplicate`.
4334
3818
  attr_reader :cancellation_reason
4335
-
4336
3819
  # The client secret of this SetupIntent. Used for client-side retrieval using a publishable key.
4337
3820
  #
4338
3821
  # The client secret can be used to complete payment setup from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.
4339
3822
  attr_reader :client_secret
4340
-
4341
3823
  # Time at which the object was created. Measured in seconds since the Unix epoch.
4342
3824
  attr_reader :created
4343
-
4344
3825
  # ID of the Customer this SetupIntent belongs to, if one exists.
4345
3826
  #
4346
3827
  # If present, the SetupIntent's payment method will be attached to the Customer on successful setup. Payment methods attached to other Customers cannot be used with this SetupIntent.
4347
3828
  attr_reader :customer
4348
-
4349
3829
  # An arbitrary string attached to the object. Often useful for displaying to users.
4350
3830
  attr_reader :description
4351
-
4352
3831
  # Indicates the directions of money movement for which this payment method is intended to be used.
4353
3832
  #
4354
3833
  # Include `inbound` if you intend to use the payment method as the origin to pull funds from. Include `outbound` if you intend to use the payment method as the destination to send funds to. You can include both if you intend to use the payment method for both purposes.
4355
3834
  attr_reader :flow_directions
4356
-
4357
3835
  # Unique identifier for the object.
4358
3836
  attr_reader :id
4359
-
4360
3837
  # The error encountered in the previous SetupIntent confirmation.
4361
3838
  attr_reader :last_setup_error
4362
-
4363
3839
  # The most recent SetupAttempt for this SetupIntent.
4364
3840
  attr_reader :latest_attempt
4365
-
4366
3841
  # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
4367
3842
  attr_reader :livemode
4368
-
4369
3843
  # ID of the multi use Mandate generated by the SetupIntent.
4370
3844
  attr_reader :mandate
4371
-
4372
3845
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
4373
3846
  attr_reader :metadata
4374
-
4375
3847
  # If present, this property tells you what actions you need to take in order for your customer to continue payment setup.
4376
3848
  attr_reader :next_action
4377
-
4378
3849
  # String representing the object's type. Objects of the same type share the same value.
4379
3850
  attr_reader :object
4380
-
4381
3851
  # The account (if any) for which the setup is intended.
4382
3852
  attr_reader :on_behalf_of
4383
-
4384
3853
  # ID of the payment method used with this SetupIntent. If the payment method is `card_present` and isn't a digital wallet, then the [generated_card](https://docs.stripe.com/api/setup_attempts/object#setup_attempt_object-payment_method_details-card_present-generated_card) associated with the `latest_attempt` is attached to the Customer instead.
4385
3854
  attr_reader :payment_method
4386
-
4387
3855
  # Information about the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) used for this Setup Intent.
4388
3856
  attr_reader :payment_method_configuration_details
4389
-
4390
3857
  # Payment method-specific configuration for this SetupIntent.
4391
3858
  attr_reader :payment_method_options
4392
-
4393
3859
  # The list of payment method types (e.g. card) that this SetupIntent is allowed to set up.
4394
3860
  attr_reader :payment_method_types
4395
-
4396
3861
  # ID of the single_use Mandate generated by the SetupIntent.
4397
3862
  attr_reader :single_use_mandate
4398
-
4399
3863
  # [Status](https://stripe.com/docs/payments/intents#intent-statuses) of this SetupIntent, one of `requires_payment_method`, `requires_confirmation`, `requires_action`, `processing`, `canceled`, or `succeeded`.
4400
3864
  attr_reader :status
4401
-
4402
3865
  # Indicates how the payment method is intended to be used in the future.
4403
3866
  #
4404
3867
  # Use `on_session` if you intend to only reuse the payment method when the customer is in your checkout flow. Use `off_session` if your customer may or may not be in your checkout flow. If not provided, this value defaults to `off_session`.