stripe 13.4.0.pre.beta.4 → 13.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (744) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +653 -1422
  3. data/CONTRIBUTING.md +25 -0
  4. data/OPENAPI_VERSION +1 -1
  5. data/VERSION +1 -1
  6. data/lib/stripe/api_operations/request.rb +0 -1
  7. data/lib/stripe/api_requestor.rb +0 -1
  8. data/lib/stripe/object_types.rb +0 -32
  9. data/lib/stripe/resources/account.rb +0 -5163
  10. data/lib/stripe/resources/account_link.rb +0 -54
  11. data/lib/stripe/resources/account_session.rb +0 -967
  12. data/lib/stripe/resources/apple_pay_domain.rb +0 -63
  13. data/lib/stripe/resources/application_fee.rb +0 -96
  14. data/lib/stripe/resources/application_fee_refund.rb +0 -17
  15. data/lib/stripe/resources/apps/secret.rb +0 -141
  16. data/lib/stripe/resources/balance.rb +0 -131
  17. data/lib/stripe/resources/balance_transaction.rb +0 -112
  18. data/lib/stripe/resources/bank_account.rb +2 -84
  19. data/lib/stripe/resources/billing/alert.rb +0 -144
  20. data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -77
  21. data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -116
  22. data/lib/stripe/resources/billing/credit_grant.rb +0 -203
  23. data/lib/stripe/resources/billing/meter.rb +0 -178
  24. data/lib/stripe/resources/billing/meter_event.rb +0 -35
  25. data/lib/stripe/resources/billing/meter_event_adjustment.rb +0 -43
  26. data/lib/stripe/resources/billing/meter_event_summary.rb +0 -15
  27. data/lib/stripe/resources/billing_portal/configuration.rb +0 -562
  28. data/lib/stripe/resources/billing_portal/session.rb +0 -271
  29. data/lib/stripe/resources/capability.rb +0 -84
  30. data/lib/stripe/resources/card.rb +0 -79
  31. data/lib/stripe/resources/cash_balance.rb +0 -17
  32. data/lib/stripe/resources/charge.rb +0 -3030
  33. data/lib/stripe/resources/checkout/session.rb +0 -3670
  34. data/lib/stripe/resources/climate/order.rb +0 -176
  35. data/lib/stripe/resources/climate/product.rb +0 -56
  36. data/lib/stripe/resources/climate/supplier.rb +0 -54
  37. data/lib/stripe/resources/confirmation_token.rb +0 -1530
  38. data/lib/stripe/resources/country_spec.rb +0 -63
  39. data/lib/stripe/resources/coupon.rb +0 -198
  40. data/lib/stripe/resources/credit_note.rb +0 -660
  41. data/lib/stripe/resources/credit_note_line_item.rb +0 -65
  42. data/lib/stripe/resources/customer.rb +0 -840
  43. data/lib/stripe/resources/customer_balance_transaction.rb +0 -27
  44. data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -109
  45. data/lib/stripe/resources/customer_session.rb +0 -159
  46. data/lib/stripe/resources/discount.rb +0 -29
  47. data/lib/stripe/resources/dispute.rb +0 -619
  48. data/lib/stripe/resources/entitlements/active_entitlement.rb +0 -46
  49. data/lib/stripe/resources/entitlements/feature.rb +0 -90
  50. data/lib/stripe/resources/ephemeral_key.rb +0 -21
  51. data/lib/stripe/resources/event.rb +0 -130
  52. data/lib/stripe/resources/exchange_rate.rb +0 -33
  53. data/lib/stripe/resources/file.rb +0 -111
  54. data/lib/stripe/resources/file_link.rb +0 -112
  55. data/lib/stripe/resources/financial_connections/account.rb +0 -260
  56. data/lib/stripe/resources/financial_connections/account_owner.rb +0 -17
  57. data/lib/stripe/resources/financial_connections/account_ownership.rb +0 -9
  58. data/lib/stripe/resources/financial_connections/session.rb +0 -159
  59. data/lib/stripe/resources/financial_connections/transaction.rb +0 -101
  60. data/lib/stripe/resources/forwarding/request.rb +0 -165
  61. data/lib/stripe/resources/funding_instructions.rb +0 -308
  62. data/lib/stripe/resources/identity/verification_report.rb +0 -266
  63. data/lib/stripe/resources/identity/verification_session.rb +0 -361
  64. data/lib/stripe/resources/invoice.rb +0 -8078
  65. data/lib/stripe/resources/invoice_item.rb +0 -445
  66. data/lib/stripe/resources/invoice_line_item.rb +0 -333
  67. data/lib/stripe/resources/invoice_rendering_template.rb +0 -67
  68. data/lib/stripe/resources/issuing/authorization.rb +0 -1113
  69. data/lib/stripe/resources/issuing/card.rb +0 -666
  70. data/lib/stripe/resources/issuing/cardholder.rb +0 -658
  71. data/lib/stripe/resources/issuing/dispute.rb +0 -790
  72. data/lib/stripe/resources/issuing/personalization_design.rb +0 -285
  73. data/lib/stripe/resources/issuing/physical_bundle.rb +0 -63
  74. data/lib/stripe/resources/issuing/token.rb +0 -175
  75. data/lib/stripe/resources/issuing/transaction.rb +0 -927
  76. data/lib/stripe/resources/line_item.rb +0 -75
  77. data/lib/stripe/resources/login_link.rb +0 -7
  78. data/lib/stripe/resources/mandate.rb +0 -169
  79. data/lib/stripe/resources/payment_intent.rb +0 -12910
  80. data/lib/stripe/resources/payment_link.rb +0 -1563
  81. data/lib/stripe/resources/payment_method.rb +0 -1655
  82. data/lib/stripe/resources/payment_method_configuration.rb +0 -2903
  83. data/lib/stripe/resources/payment_method_domain.rb +0 -153
  84. data/lib/stripe/resources/payout.rb +0 -218
  85. data/lib/stripe/resources/person.rb +0 -263
  86. data/lib/stripe/resources/plan.rb +0 -317
  87. data/lib/stripe/resources/price.rb +0 -649
  88. data/lib/stripe/resources/product.rb +0 -536
  89. data/lib/stripe/resources/product_feature.rb +0 -12
  90. data/lib/stripe/resources/promotion_code.rb +0 -221
  91. data/lib/stripe/resources/quote.rb +0 -2946
  92. data/lib/stripe/resources/radar/early_fraud_warning.rb +0 -77
  93. data/lib/stripe/resources/radar/value_list.rb +0 -125
  94. data/lib/stripe/resources/radar/value_list_item.rb +0 -95
  95. data/lib/stripe/resources/refund.rb +0 -397
  96. data/lib/stripe/resources/reporting/report_run.rb +0 -150
  97. data/lib/stripe/resources/reporting/report_type.rb +0 -36
  98. data/lib/stripe/resources/reversal.rb +0 -21
  99. data/lib/stripe/resources/review.rb +0 -108
  100. data/lib/stripe/resources/setup_attempt.rb +0 -373
  101. data/lib/stripe/resources/setup_intent.rb +0 -3855
  102. data/lib/stripe/resources/shipping_rate.rb +0 -259
  103. data/lib/stripe/resources/sigma/scheduled_query_run.rb +0 -54
  104. data/lib/stripe/resources/source.rb +0 -1239
  105. data/lib/stripe/resources/source_transaction.rb +0 -85
  106. data/lib/stripe/resources/subscription.rb +0 -2057
  107. data/lib/stripe/resources/subscription_item.rb +0 -433
  108. data/lib/stripe/resources/subscription_schedule.rb +0 -2402
  109. data/lib/stripe/resources/tax/calculation.rb +0 -387
  110. data/lib/stripe/resources/tax/calculation_line_item.rb +0 -56
  111. data/lib/stripe/resources/tax/registration.rb +0 -2382
  112. data/lib/stripe/resources/tax/settings.rb +0 -126
  113. data/lib/stripe/resources/tax/transaction.rb +0 -267
  114. data/lib/stripe/resources/tax/transaction_line_item.rb +0 -31
  115. data/lib/stripe/resources/tax_code.rb +0 -35
  116. data/lib/stripe/resources/tax_id.rb +0 -121
  117. data/lib/stripe/resources/tax_rate.rb +0 -200
  118. data/lib/stripe/resources/terminal/configuration.rb +0 -1060
  119. data/lib/stripe/resources/terminal/connection_token.rb +0 -18
  120. data/lib/stripe/resources/terminal/location.rb +0 -175
  121. data/lib/stripe/resources/terminal/reader.rb +0 -774
  122. data/lib/stripe/resources/test_helpers/test_clock.rb +0 -86
  123. data/lib/stripe/resources/token.rb +0 -1168
  124. data/lib/stripe/resources/topup.rb +0 -174
  125. data/lib/stripe/resources/transfer.rb +0 -153
  126. data/lib/stripe/resources/treasury/credit_reversal.rb +0 -92
  127. data/lib/stripe/resources/treasury/debit_reversal.rb +0 -103
  128. data/lib/stripe/resources/treasury/financial_account.rb +0 -752
  129. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -191
  130. data/lib/stripe/resources/treasury/inbound_transfer.rb +0 -235
  131. data/lib/stripe/resources/treasury/outbound_payment.rb +0 -495
  132. data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -387
  133. data/lib/stripe/resources/treasury/received_credit.rb +0 -283
  134. data/lib/stripe/resources/treasury/received_debit.rb +0 -244
  135. data/lib/stripe/resources/treasury/transaction.rb +0 -176
  136. data/lib/stripe/resources/treasury/transaction_entry.rb +0 -157
  137. data/lib/stripe/resources/usage_record.rb +0 -13
  138. data/lib/stripe/resources/usage_record_summary.rb +0 -21
  139. data/lib/stripe/resources/v2/billing/meter_event.rb +0 -18
  140. data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +0 -21
  141. data/lib/stripe/resources/v2/billing/meter_event_session.rb +0 -14
  142. data/lib/stripe/resources/v2/event.rb +0 -27
  143. data/lib/stripe/resources/v2/event_destination.rb +0 -59
  144. data/lib/stripe/resources/webhook_endpoint.rb +0 -122
  145. data/lib/stripe/resources.rb +0 -31
  146. data/lib/stripe/services/account_capability_service.rb +0 -32
  147. data/lib/stripe/services/account_external_account_service.rb +0 -250
  148. data/lib/stripe/services/account_link_service.rb +0 -46
  149. data/lib/stripe/services/account_login_link_service.rb +0 -9
  150. data/lib/stripe/services/account_person_service.rb +0 -875
  151. data/lib/stripe/services/account_service.rb +0 -4441
  152. data/lib/stripe/services/account_session_service.rb +0 -682
  153. data/lib/stripe/services/apple_pay_domain_service.rb +0 -51
  154. data/lib/stripe/services/application_fee_refund_service.rb +0 -54
  155. data/lib/stripe/services/application_fee_service.rb +0 -57
  156. data/lib/stripe/services/apps/secret_service.rb +0 -116
  157. data/lib/stripe/services/balance_service.rb +0 -9
  158. data/lib/stripe/services/balance_transaction_service.rb +0 -69
  159. data/lib/stripe/services/billing/alert_service.rb +0 -113
  160. data/lib/stripe/services/billing/credit_balance_summary_service.rb +0 -37
  161. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -40
  162. data/lib/stripe/services/billing/credit_grant_service.rb +0 -151
  163. data/lib/stripe/services/billing/meter_event_adjustment_service.rb +0 -26
  164. data/lib/stripe/services/billing/meter_event_service.rb +0 -21
  165. data/lib/stripe/services/billing/meter_event_summary_service.rb +0 -39
  166. data/lib/stripe/services/billing/meter_service.rb +0 -130
  167. data/lib/stripe/services/billing_portal/configuration_service.rb +0 -444
  168. data/lib/stripe/services/billing_portal/session_service.rb +0 -173
  169. data/lib/stripe/services/charge_service.rb +0 -1736
  170. data/lib/stripe/services/checkout/session_line_item_service.rb +0 -18
  171. data/lib/stripe/services/checkout/session_service.rb +0 -2472
  172. data/lib/stripe/services/climate/order_service.rb +0 -102
  173. data/lib/stripe/services/climate/product_service.rb +0 -27
  174. data/lib/stripe/services/climate/supplier_service.rb +0 -27
  175. data/lib/stripe/services/confirmation_token_service.rb +0 -9
  176. data/lib/stripe/services/country_spec_service.rb +0 -27
  177. data/lib/stripe/services/coupon_service.rb +0 -152
  178. data/lib/stripe/services/credit_note_line_item_service.rb +0 -18
  179. data/lib/stripe/services/credit_note_preview_lines_service.rb +0 -156
  180. data/lib/stripe/services/credit_note_service.rb +0 -373
  181. data/lib/stripe/services/customer_balance_transaction_service.rb +0 -63
  182. data/lib/stripe/services/customer_cash_balance_service.rb +0 -29
  183. data/lib/stripe/services/customer_cash_balance_transaction_service.rb +0 -27
  184. data/lib/stripe/services/customer_funding_instructions_service.rb +0 -42
  185. data/lib/stripe/services/customer_payment_method_service.rb +0 -40
  186. data/lib/stripe/services/customer_payment_source_service.rb +0 -179
  187. data/lib/stripe/services/customer_service.rb +0 -593
  188. data/lib/stripe/services/customer_session_service.rb +0 -96
  189. data/lib/stripe/services/customer_tax_id_service.rb +0 -45
  190. data/lib/stripe/services/dispute_service.rb +0 -374
  191. data/lib/stripe/services/entitlements/active_entitlement_service.rb +0 -36
  192. data/lib/stripe/services/entitlements/feature_service.rb +0 -76
  193. data/lib/stripe/services/ephemeral_key_service.rb +0 -36
  194. data/lib/stripe/services/event_service.rb +0 -65
  195. data/lib/stripe/services/exchange_rate_service.rb +0 -27
  196. data/lib/stripe/services/file_link_service.rb +0 -94
  197. data/lib/stripe/services/file_service.rb +0 -89
  198. data/lib/stripe/services/financial_connections/account_owner_service.rb +0 -27
  199. data/lib/stripe/services/financial_connections/account_service.rb +1 -99
  200. data/lib/stripe/services/financial_connections/session_service.rb +0 -97
  201. data/lib/stripe/services/financial_connections/transaction_service.rb +0 -70
  202. data/lib/stripe/services/financial_connections_service.rb +1 -2
  203. data/lib/stripe/services/forwarding/request_service.rb +0 -106
  204. data/lib/stripe/services/identity/verification_report_service.rb +0 -65
  205. data/lib/stripe/services/identity/verification_session_service.rb +0 -231
  206. data/lib/stripe/services/invoice_item_service.rb +0 -388
  207. data/lib/stripe/services/invoice_line_item_service.rb +0 -237
  208. data/lib/stripe/services/invoice_rendering_template_service.rb +0 -51
  209. data/lib/stripe/services/invoice_service.rb +1 -5567
  210. data/lib/stripe/services/invoice_upcoming_lines_service.rb +0 -1864
  211. data/lib/stripe/services/issuing/authorization_service.rb +0 -104
  212. data/lib/stripe/services/issuing/card_service.rb +0 -455
  213. data/lib/stripe/services/issuing/cardholder_service.rb +0 -526
  214. data/lib/stripe/services/issuing/dispute_service.rb +0 -633
  215. data/lib/stripe/services/issuing/personalization_design_service.rb +0 -193
  216. data/lib/stripe/services/issuing/physical_bundle_service.rb +0 -40
  217. data/lib/stripe/services/issuing/token_service.rb +0 -73
  218. data/lib/stripe/services/issuing/transaction_service.rb +0 -81
  219. data/lib/stripe/services/issuing_service.rb +1 -5
  220. data/lib/stripe/services/mandate_service.rb +0 -9
  221. data/lib/stripe/services/payment_intent_service.rb +0 -10936
  222. data/lib/stripe/services/payment_link_line_item_service.rb +0 -18
  223. data/lib/stripe/services/payment_link_service.rb +0 -1223
  224. data/lib/stripe/services/payment_method_configuration_service.rb +0 -2088
  225. data/lib/stripe/services/payment_method_domain_service.rb +0 -76
  226. data/lib/stripe/services/payment_method_service.rb +0 -878
  227. data/lib/stripe/services/payout_service.rb +0 -159
  228. data/lib/stripe/services/plan_service.rb +0 -253
  229. data/lib/stripe/services/price_service.rb +0 -516
  230. data/lib/stripe/services/product_feature_service.rb +0 -42
  231. data/lib/stripe/services/product_service.rb +0 -459
  232. data/lib/stripe/services/promotion_code_service.rb +0 -178
  233. data/lib/stripe/services/quote_computed_upfront_line_items_service.rb +0 -18
  234. data/lib/stripe/services/quote_line_item_service.rb +0 -18
  235. data/lib/stripe/services/quote_service.rb +1 -2319
  236. data/lib/stripe/services/radar/early_fraud_warning_service.rb +0 -61
  237. data/lib/stripe/services/radar/value_list_item_service.rb +0 -79
  238. data/lib/stripe/services/radar/value_list_service.rb +0 -103
  239. data/lib/stripe/services/refund_service.rb +0 -137
  240. data/lib/stripe/services/reporting/report_run_service.rb +0 -106
  241. data/lib/stripe/services/reporting/report_type_service.rb +0 -18
  242. data/lib/stripe/services/review_service.rb +0 -56
  243. data/lib/stripe/services/setup_attempt_service.rb +0 -51
  244. data/lib/stripe/services/setup_intent_service.rb +0 -3497
  245. data/lib/stripe/services/shipping_rate_service.rb +0 -200
  246. data/lib/stripe/services/sigma/scheduled_query_run_service.rb +0 -27
  247. data/lib/stripe/services/source_service.rb +0 -601
  248. data/lib/stripe/services/source_transaction_service.rb +0 -18
  249. data/lib/stripe/services/subscription_item_service.rb +0 -383
  250. data/lib/stripe/services/subscription_item_usage_record_service.rb +0 -18
  251. data/lib/stripe/services/subscription_item_usage_record_summary_service.rb +0 -18
  252. data/lib/stripe/services/subscription_schedule_service.rb +0 -2053
  253. data/lib/stripe/services/subscription_service.rb +0 -1722
  254. data/lib/stripe/services/tax/calculation_line_item_service.rb +0 -18
  255. data/lib/stripe/services/tax/calculation_service.rb +0 -205
  256. data/lib/stripe/services/tax/registration_service.rb +0 -1564
  257. data/lib/stripe/services/tax/settings_service.rb +0 -74
  258. data/lib/stripe/services/tax/transaction_line_item_service.rb +0 -18
  259. data/lib/stripe/services/tax/transaction_service.rb +0 -111
  260. data/lib/stripe/services/tax_code_service.rb +0 -27
  261. data/lib/stripe/services/tax_id_service.rb +0 -79
  262. data/lib/stripe/services/tax_rate_service.rb +0 -155
  263. data/lib/stripe/services/tax_service.rb +1 -3
  264. data/lib/stripe/services/terminal/configuration_service.rb +0 -831
  265. data/lib/stripe/services/terminal/connection_token_service.rb +0 -12
  266. data/lib/stripe/services/terminal/location_service.rb +0 -144
  267. data/lib/stripe/services/terminal/reader_service.rb +0 -443
  268. data/lib/stripe/services/terminal_service.rb +1 -2
  269. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +0 -680
  270. data/lib/stripe/services/test_helpers/customer_service.rb +0 -18
  271. data/lib/stripe/services/test_helpers/issuing/authorization_service.rb +0 -745
  272. data/lib/stripe/services/test_helpers/issuing/card_service.rb +0 -45
  273. data/lib/stripe/services/test_helpers/issuing/personalization_design_service.rb +0 -41
  274. data/lib/stripe/services/test_helpers/issuing/transaction_service.rb +0 -632
  275. data/lib/stripe/services/test_helpers/refund_service.rb +0 -9
  276. data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -44
  277. data/lib/stripe/services/test_helpers/test_clock_service.rb +0 -57
  278. data/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +0 -38
  279. data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +0 -87
  280. data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +0 -87
  281. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +0 -84
  282. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +0 -84
  283. data/lib/stripe/services/token_service.rb +0 -1140
  284. data/lib/stripe/services/topup_service.rb +0 -142
  285. data/lib/stripe/services/transfer_reversal_service.rb +0 -66
  286. data/lib/stripe/services/transfer_service.rb +0 -119
  287. data/lib/stripe/services/treasury/credit_reversal_service.rb +0 -59
  288. data/lib/stripe/services/treasury/debit_reversal_service.rb +0 -63
  289. data/lib/stripe/services/treasury/financial_account_features_service.rb +0 -169
  290. data/lib/stripe/services/treasury/financial_account_service.rb +0 -498
  291. data/lib/stripe/services/treasury/inbound_transfer_service.rb +0 -88
  292. data/lib/stripe/services/treasury/outbound_payment_service.rb +0 -258
  293. data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -148
  294. data/lib/stripe/services/treasury/received_credit_service.rb +0 -52
  295. data/lib/stripe/services/treasury/received_debit_service.rb +0 -40
  296. data/lib/stripe/services/treasury/transaction_entry_service.rb +0 -87
  297. data/lib/stripe/services/treasury/transaction_service.rb +0 -95
  298. data/lib/stripe/services/v1_services.rb +1 -8
  299. data/lib/stripe/services/v2/billing/meter_event_adjustment_service.rb +0 -23
  300. data/lib/stripe/services/v2/billing/meter_event_service.rb +0 -25
  301. data/lib/stripe/services/v2/billing/meter_event_session_service.rb +0 -3
  302. data/lib/stripe/services/v2/billing/meter_event_stream_service.rb +0 -33
  303. data/lib/stripe/services/v2/core/event_destination_service.rb +0 -146
  304. data/lib/stripe/services/v2/core/event_service.rb +0 -18
  305. data/lib/stripe/services/webhook_endpoint_service.rb +0 -96
  306. data/lib/stripe/services.rb +0 -25
  307. data/lib/stripe/stripe_client.rb +1 -1
  308. data/lib/stripe/stripe_configuration.rb +1 -3
  309. data/lib/stripe/stripe_object.rb +0 -5
  310. data/lib/stripe/util.rb +1 -7
  311. data/lib/stripe/version.rb +1 -1
  312. data/lib/stripe.rb +0 -46
  313. metadata +5 -435
  314. data/lib/stripe/request_params.rb +0 -24
  315. data/lib/stripe/request_signing_authenticator.rb +0 -79
  316. data/lib/stripe/resources/account_notice.rb +0 -132
  317. data/lib/stripe/resources/application.rb +0 -20
  318. data/lib/stripe/resources/billing/alert_triggered.rb +0 -26
  319. data/lib/stripe/resources/billing/meter_error_report.rb +0 -59
  320. data/lib/stripe/resources/capital/financing_offer.rb +0 -188
  321. data/lib/stripe/resources/capital/financing_summary.rb +0 -64
  322. data/lib/stripe/resources/capital/financing_transaction.rb +0 -123
  323. data/lib/stripe/resources/connect_collection_transfer.rb +0 -24
  324. data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +0 -23
  325. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
  326. data/lib/stripe/resources/financial_connections/institution.rb +0 -99
  327. data/lib/stripe/resources/gift_cards/card.rb +0 -217
  328. data/lib/stripe/resources/gift_cards/transaction.rb +0 -281
  329. data/lib/stripe/resources/invoice_payment.rb +0 -56
  330. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -611
  331. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -84
  332. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -95
  333. data/lib/stripe/resources/issuing/settlement.rb +0 -49
  334. data/lib/stripe/resources/margin.rb +0 -124
  335. data/lib/stripe/resources/order.rb +0 -2850
  336. data/lib/stripe/resources/payment_attempt_record.rb +0 -184
  337. data/lib/stripe/resources/payment_record.rb +0 -715
  338. data/lib/stripe/resources/quote_line.rb +0 -274
  339. data/lib/stripe/resources/quote_preview_invoice.rb +0 -652
  340. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -362
  341. data/lib/stripe/resources/reserve_transaction.rb +0 -22
  342. data/lib/stripe/resources/source_mandate_notification.rb +0 -66
  343. data/lib/stripe/resources/tax/association.rb +0 -89
  344. data/lib/stripe/resources/tax/form.rb +0 -220
  345. data/lib/stripe/resources/tax_deducted_at_source.rb +0 -22
  346. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -40
  347. data/lib/stripe/resources/v2/amount.rb +0 -9
  348. data/lib/stripe/services/account_notice_service.rb +0 -101
  349. data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
  350. data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
  351. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
  352. data/lib/stripe/services/capital_service.rb +0 -15
  353. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -37
  354. data/lib/stripe/services/financial_connections/institution_service.rb +0 -57
  355. data/lib/stripe/services/gift_cards/card_service.rb +0 -170
  356. data/lib/stripe/services/gift_cards/transaction_service.rb +0 -209
  357. data/lib/stripe/services/gift_cards_service.rb +0 -14
  358. data/lib/stripe/services/invoice_payment_service.rb +0 -55
  359. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
  360. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
  361. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
  362. data/lib/stripe/services/margin_service.rb +0 -119
  363. data/lib/stripe/services/order_line_item_service.rb +0 -35
  364. data/lib/stripe/services/order_service.rb +0 -2254
  365. data/lib/stripe/services/payment_attempt_record_service.rb +0 -49
  366. data/lib/stripe/services/payment_record_service.rb +0 -542
  367. data/lib/stripe/services/quote_line_service.rb +0 -35
  368. data/lib/stripe/services/quote_preview_invoice_service.rb +0 -35
  369. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -35
  370. data/lib/stripe/services/tax/association_service.rb +0 -31
  371. data/lib/stripe/services/tax/form_service.rb +0 -100
  372. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
  373. data/rbi/stripe/resources/account.rbi +0 -5185
  374. data/rbi/stripe/resources/account_link.rbi +0 -74
  375. data/rbi/stripe/resources/account_notice.rbi +0 -139
  376. data/rbi/stripe/resources/account_session.rbi +0 -1122
  377. data/rbi/stripe/resources/apple_pay_domain.rbi +0 -97
  378. data/rbi/stripe/resources/application.rbi +0 -20
  379. data/rbi/stripe/resources/application_fee.rbi +0 -123
  380. data/rbi/stripe/resources/application_fee_refund.rbi +0 -37
  381. data/rbi/stripe/resources/apps/secret.rbi +0 -195
  382. data/rbi/stripe/resources/balance.rbi +0 -187
  383. data/rbi/stripe/resources/balance_transaction.rbi +0 -149
  384. data/rbi/stripe/resources/bank_account.rbi +0 -127
  385. data/rbi/stripe/resources/billing/alert.rbi +0 -206
  386. data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -28
  387. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -102
  388. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -154
  389. data/rbi/stripe/resources/billing/credit_grant.rbi +0 -269
  390. data/rbi/stripe/resources/billing/meter.rbi +0 -233
  391. data/rbi/stripe/resources/billing/meter_error_report.rbi +0 -71
  392. data/rbi/stripe/resources/billing/meter_event.rbi +0 -64
  393. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -64
  394. data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -33
  395. data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -640
  396. data/rbi/stripe/resources/billing_portal/session.rbi +0 -341
  397. data/rbi/stripe/resources/capability.rbi +0 -125
  398. data/rbi/stripe/resources/capital/financing_offer.rbi +0 -190
  399. data/rbi/stripe/resources/capital/financing_summary.rbi +0 -74
  400. data/rbi/stripe/resources/capital/financing_transaction.rbi +0 -130
  401. data/rbi/stripe/resources/card.rbi +0 -128
  402. data/rbi/stripe/resources/cash_balance.rbi +0 -32
  403. data/rbi/stripe/resources/charge.rbi +0 -3488
  404. data/rbi/stripe/resources/checkout/session.rbi +0 -4015
  405. data/rbi/stripe/resources/climate/order.rbi +0 -250
  406. data/rbi/stripe/resources/climate/product.rbi +0 -82
  407. data/rbi/stripe/resources/climate/supplier.rbi +0 -79
  408. data/rbi/stripe/resources/confirmation_token.rbi +0 -1787
  409. data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -26
  410. data/rbi/stripe/resources/country_spec.rbi +0 -92
  411. data/rbi/stripe/resources/coupon.rbi +0 -257
  412. data/rbi/stripe/resources/credit_note.rbi +0 -759
  413. data/rbi/stripe/resources/credit_note_line_item.rbi +0 -99
  414. data/rbi/stripe/resources/customer.rbi +0 -1001
  415. data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -53
  416. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -151
  417. data/rbi/stripe/resources/customer_session.rbi +0 -196
  418. data/rbi/stripe/resources/discount.rbi +0 -53
  419. data/rbi/stripe/resources/dispute.rbi +0 -764
  420. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -65
  421. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -23
  422. data/rbi/stripe/resources/entitlements/feature.rbi +0 -124
  423. data/rbi/stripe/resources/ephemeral_key.rbi +0 -44
  424. data/rbi/stripe/resources/event.rbi +0 -190
  425. data/rbi/stripe/resources/exchange_rate.rbi +0 -73
  426. data/rbi/stripe/resources/file.rbi +0 -148
  427. data/rbi/stripe/resources/file_link.rbi +0 -146
  428. data/rbi/stripe/resources/financial_connections/account.rbi +0 -358
  429. data/rbi/stripe/resources/financial_connections/account_inferred_balance.rbi +0 -27
  430. data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -35
  431. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -23
  432. data/rbi/stripe/resources/financial_connections/institution.rbi +0 -99
  433. data/rbi/stripe/resources/financial_connections/session.rbi +0 -186
  434. data/rbi/stripe/resources/financial_connections/transaction.rbi +0 -127
  435. data/rbi/stripe/resources/forwarding/request.rbi +0 -219
  436. data/rbi/stripe/resources/funding_instructions.rbi +0 -437
  437. data/rbi/stripe/resources/gift_cards/card.rbi +0 -206
  438. data/rbi/stripe/resources/gift_cards/transaction.rbi +0 -257
  439. data/rbi/stripe/resources/identity/verification_report.rbi +0 -354
  440. data/rbi/stripe/resources/identity/verification_session.rbi +0 -518
  441. data/rbi/stripe/resources/invoice.rbi +0 -8928
  442. data/rbi/stripe/resources/invoice_item.rbi +0 -514
  443. data/rbi/stripe/resources/invoice_line_item.rbi +0 -400
  444. data/rbi/stripe/resources/invoice_payment.rbi +0 -70
  445. data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -114
  446. data/rbi/stripe/resources/issuing/authorization.rbi +0 -1266
  447. data/rbi/stripe/resources/issuing/card.rbi +0 -738
  448. data/rbi/stripe/resources/issuing/cardholder.rbi +0 -732
  449. data/rbi/stripe/resources/issuing/credit_underwriting_record.rbi +0 -622
  450. data/rbi/stripe/resources/issuing/dispute.rbi +0 -900
  451. data/rbi/stripe/resources/issuing/dispute_settlement_detail.rbi +0 -83
  452. data/rbi/stripe/resources/issuing/fraud_liability_debit.rbi +0 -90
  453. data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -333
  454. data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -86
  455. data/rbi/stripe/resources/issuing/settlement.rbi +0 -62
  456. data/rbi/stripe/resources/issuing/token.rbi +0 -231
  457. data/rbi/stripe/resources/issuing/transaction.rbi +0 -1057
  458. data/rbi/stripe/resources/line_item.rbi +0 -108
  459. data/rbi/stripe/resources/login_link.rbi +0 -18
  460. data/rbi/stripe/resources/mandate.rbi +0 -219
  461. data/rbi/stripe/resources/margin.rbi +0 -127
  462. data/rbi/stripe/resources/order.rbi +0 -3016
  463. data/rbi/stripe/resources/payment_attempt_record.rbi +0 -215
  464. data/rbi/stripe/resources/payment_intent.rbi +0 -13895
  465. data/rbi/stripe/resources/payment_link.rbi +0 -1666
  466. data/rbi/stripe/resources/payment_method.rbi +0 -1926
  467. data/rbi/stripe/resources/payment_method_configuration.rbi +0 -3237
  468. data/rbi/stripe/resources/payment_method_domain.rbi +0 -217
  469. data/rbi/stripe/resources/payment_record.rbi +0 -722
  470. data/rbi/stripe/resources/payout.rbi +0 -299
  471. data/rbi/stripe/resources/person.rbi +0 -371
  472. data/rbi/stripe/resources/plan.rbi +0 -385
  473. data/rbi/stripe/resources/price.rbi +0 -731
  474. data/rbi/stripe/resources/product.rbi +0 -615
  475. data/rbi/stripe/resources/product_feature.rbi +0 -26
  476. data/rbi/stripe/resources/promotion_code.rbi +0 -266
  477. data/rbi/stripe/resources/quote.rbi +0 -3186
  478. data/rbi/stripe/resources/quote_line.rbi +0 -350
  479. data/rbi/stripe/resources/quote_preview_invoice.rbi +0 -850
  480. data/rbi/stripe/resources/quote_preview_subscription_schedule.rbi +0 -474
  481. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -101
  482. data/rbi/stripe/resources/radar/value_list.rbi +0 -175
  483. data/rbi/stripe/resources/radar/value_list_item.rbi +0 -134
  484. data/rbi/stripe/resources/refund.rbi +0 -515
  485. data/rbi/stripe/resources/reporting/report_run.rbi +0 -194
  486. data/rbi/stripe/resources/reporting/report_type.rbi +0 -64
  487. data/rbi/stripe/resources/reserve_transaction.rbi +0 -23
  488. data/rbi/stripe/resources/reversal.rbi +0 -51
  489. data/rbi/stripe/resources/review.rbi +0 -159
  490. data/rbi/stripe/resources/setup_attempt.rbi +0 -484
  491. data/rbi/stripe/resources/setup_intent.rbi +0 -4062
  492. data/rbi/stripe/resources/shipping_rate.rbi +0 -310
  493. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -82
  494. data/rbi/stripe/resources/source.rbi +0 -1543
  495. data/rbi/stripe/resources/source_mandate_notification.rbi +0 -77
  496. data/rbi/stripe/resources/source_transaction.rbi +0 -127
  497. data/rbi/stripe/resources/subscription.rbi +0 -2308
  498. data/rbi/stripe/resources/subscription_item.rbi +0 -478
  499. data/rbi/stripe/resources/subscription_schedule.rbi +0 -2653
  500. data/rbi/stripe/resources/tax/association.rbi +0 -94
  501. data/rbi/stripe/resources/tax/calculation.rbi +0 -479
  502. data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -88
  503. data/rbi/stripe/resources/tax/form.rbi +0 -224
  504. data/rbi/stripe/resources/tax/registration.rbi +0 -2438
  505. data/rbi/stripe/resources/tax/settings.rbi +0 -148
  506. data/rbi/stripe/resources/tax/transaction.rbi +0 -356
  507. data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -54
  508. data/rbi/stripe/resources/tax_code.rbi +0 -51
  509. data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -23
  510. data/rbi/stripe/resources/tax_id.rbi +0 -174
  511. data/rbi/stripe/resources/tax_rate.rbi +0 -244
  512. data/rbi/stripe/resources/terminal/configuration.rbi +0 -1143
  513. data/rbi/stripe/resources/terminal/connection_token.rbi +0 -37
  514. data/rbi/stripe/resources/terminal/location.rbi +0 -231
  515. data/rbi/stripe/resources/terminal/reader.rbi +0 -940
  516. data/rbi/stripe/resources/terminal/reader_collected_data.rbi +0 -41
  517. data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -139
  518. data/rbi/stripe/resources/token.rbi +0 -1192
  519. data/rbi/stripe/resources/topup.rbi +0 -225
  520. data/rbi/stripe/resources/transfer.rbi +0 -204
  521. data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -126
  522. data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -138
  523. data/rbi/stripe/resources/treasury/financial_account.rbi +0 -870
  524. data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -263
  525. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -302
  526. data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -589
  527. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +0 -473
  528. data/rbi/stripe/resources/treasury/received_credit.rbi +0 -348
  529. data/rbi/stripe/resources/treasury/received_debit.rbi +0 -305
  530. data/rbi/stripe/resources/treasury/transaction.rbi +0 -216
  531. data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -193
  532. data/rbi/stripe/resources/usage_record.rbi +0 -32
  533. data/rbi/stripe/resources/usage_record_summary.rbi +0 -38
  534. data/rbi/stripe/resources/v2/amount.rbi +0 -14
  535. data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -37
  536. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -41
  537. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -31
  538. data/rbi/stripe/resources/v2/event.rbi +0 -47
  539. data/rbi/stripe/resources/v2/event_destination.rbi +0 -90
  540. data/rbi/stripe/resources/webhook_endpoint.rbi +0 -177
  541. data/rbi/stripe/services/account_capability_service.rbi +0 -51
  542. data/rbi/stripe/services/account_external_account_service.rbi +0 -306
  543. data/rbi/stripe/services/account_link_service.rbi +0 -58
  544. data/rbi/stripe/services/account_login_link_service.rbi +0 -22
  545. data/rbi/stripe/services/account_notice_service.rbi +0 -90
  546. data/rbi/stripe/services/account_person_service.rbi +0 -903
  547. data/rbi/stripe/services/account_service.rbi +0 -4267
  548. data/rbi/stripe/services/account_session_service.rbi +0 -780
  549. data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -78
  550. data/rbi/stripe/services/application_fee_refund_service.rbi +0 -91
  551. data/rbi/stripe/services/application_fee_service.rbi +0 -74
  552. data/rbi/stripe/services/apps/secret_service.rbi +0 -151
  553. data/rbi/stripe/services/apps_service.rbi +0 -9
  554. data/rbi/stripe/services/balance_service.rbi +0 -21
  555. data/rbi/stripe/services/balance_transaction_service.rbi +0 -89
  556. data/rbi/stripe/services/billing/alert_service.rbi +0 -152
  557. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -54
  558. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -59
  559. data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -191
  560. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -40
  561. data/rbi/stripe/services/billing/meter_event_service.rbi +0 -42
  562. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -54
  563. data/rbi/stripe/services/billing/meter_service.rbi +0 -163
  564. data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -497
  565. data/rbi/stripe/services/billing_portal/session_service.rbi +0 -202
  566. data/rbi/stripe/services/billing_portal_service.rbi +0 -10
  567. data/rbi/stripe/services/billing_service.rbi +0 -15
  568. data/rbi/stripe/services/capital/financing_offer_service.rbi +0 -95
  569. data/rbi/stripe/services/capital/financing_summary_service.rbi +0 -22
  570. data/rbi/stripe/services/capital/financing_transaction_service.rbi +0 -68
  571. data/rbi/stripe/services/capital_service.rbi +0 -11
  572. data/rbi/stripe/services/charge_service.rbi +0 -1816
  573. data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -33
  574. data/rbi/stripe/services/checkout/session_service.rbi +0 -2591
  575. data/rbi/stripe/services/checkout_service.rbi +0 -9
  576. data/rbi/stripe/services/climate/order_service.rbi +0 -140
  577. data/rbi/stripe/services/climate/product_service.rbi +0 -46
  578. data/rbi/stripe/services/climate/supplier_service.rbi +0 -46
  579. data/rbi/stripe/services/climate_service.rbi +0 -11
  580. data/rbi/stripe/services/confirmation_token_service.rbi +0 -20
  581. data/rbi/stripe/services/country_spec_service.rbi +0 -44
  582. data/rbi/stripe/services/coupon_service.rbi +0 -190
  583. data/rbi/stripe/services/credit_note_line_item_service.rbi +0 -31
  584. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -167
  585. data/rbi/stripe/services/credit_note_service.rbi +0 -420
  586. data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -92
  587. data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -45
  588. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -44
  589. data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -59
  590. data/rbi/stripe/services/customer_payment_method_service.rbi +0 -57
  591. data/rbi/stripe/services/customer_payment_source_service.rbi +0 -228
  592. data/rbi/stripe/services/customer_service.rbi +0 -647
  593. data/rbi/stripe/services/customer_session_service.rbi +0 -110
  594. data/rbi/stripe/services/customer_tax_id_service.rbi +0 -72
  595. data/rbi/stripe/services/dispute_service.rbi +0 -422
  596. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -55
  597. data/rbi/stripe/services/entitlements/feature_service.rbi +0 -107
  598. data/rbi/stripe/services/entitlements_service.rbi +0 -10
  599. data/rbi/stripe/services/ephemeral_key_service.rbi +0 -53
  600. data/rbi/stripe/services/event_service.rbi +0 -81
  601. data/rbi/stripe/services/exchange_rate_service.rbi +0 -44
  602. data/rbi/stripe/services/file_link_service.rbi +0 -122
  603. data/rbi/stripe/services/file_service.rbi +0 -114
  604. data/rbi/stripe/services/financial_connections/account_inferred_balance_service.rbi +0 -33
  605. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -42
  606. data/rbi/stripe/services/financial_connections/account_service.rbi +0 -132
  607. data/rbi/stripe/services/financial_connections/institution_service.rbi +0 -46
  608. data/rbi/stripe/services/financial_connections/session_service.rbi +0 -111
  609. data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -90
  610. data/rbi/stripe/services/financial_connections_service.rbi +0 -12
  611. data/rbi/stripe/services/forwarding/request_service.rbi +0 -132
  612. data/rbi/stripe/services/forwarding_service.rbi +0 -9
  613. data/rbi/stripe/services/gift_cards/card_service.rbi +0 -142
  614. data/rbi/stripe/services/gift_cards/transaction_service.rbi +0 -174
  615. data/rbi/stripe/services/gift_cards_service.rbi +0 -10
  616. data/rbi/stripe/services/identity/verification_report_service.rbi +0 -85
  617. data/rbi/stripe/services/identity/verification_session_service.rbi +0 -317
  618. data/rbi/stripe/services/identity_service.rbi +0 -10
  619. data/rbi/stripe/services/invoice_item_service.rbi +0 -424
  620. data/rbi/stripe/services/invoice_line_item_service.rbi +0 -270
  621. data/rbi/stripe/services/invoice_payment_service.rbi +0 -44
  622. data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -82
  623. data/rbi/stripe/services/invoice_service.rbi +0 -6040
  624. data/rbi/stripe/services/invoice_upcoming_lines_service.rbi +0 -2023
  625. data/rbi/stripe/services/issuing/authorization_service.rbi +0 -140
  626. data/rbi/stripe/services/issuing/card_service.rbi +0 -479
  627. data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -568
  628. data/rbi/stripe/services/issuing/credit_underwriting_record_service.rbi +0 -498
  629. data/rbi/stripe/services/issuing/dispute_service.rbi +0 -701
  630. data/rbi/stripe/services/issuing/dispute_settlement_detail_service.rbi +0 -55
  631. data/rbi/stripe/services/issuing/fraud_liability_debit_service.rbi +0 -73
  632. data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -233
  633. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -59
  634. data/rbi/stripe/services/issuing/token_service.rbi +0 -95
  635. data/rbi/stripe/services/issuing/transaction_service.rbi +0 -103
  636. data/rbi/stripe/services/issuing_service.rbi +0 -19
  637. data/rbi/stripe/services/mandate_service.rbi +0 -20
  638. data/rbi/stripe/services/margin_service.rbi +0 -104
  639. data/rbi/stripe/services/order_line_item_service.rbi +0 -31
  640. data/rbi/stripe/services/order_service.rbi +0 -2306
  641. data/rbi/stripe/services/payment_attempt_record_service.rbi +0 -36
  642. data/rbi/stripe/services/payment_intent_service.rbi +0 -11477
  643. data/rbi/stripe/services/payment_link_line_item_service.rbi +0 -31
  644. data/rbi/stripe/services/payment_link_service.rbi +0 -1250
  645. data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -2215
  646. data/rbi/stripe/services/payment_method_domain_service.rbi +0 -110
  647. data/rbi/stripe/services/payment_method_service.rbi +0 -897
  648. data/rbi/stripe/services/payment_record_service.rbi +0 -521
  649. data/rbi/stripe/services/payout_service.rbi +0 -197
  650. data/rbi/stripe/services/plan_service.rbi +0 -286
  651. data/rbi/stripe/services/price_service.rbi +0 -551
  652. data/rbi/stripe/services/product_feature_service.rbi +0 -69
  653. data/rbi/stripe/services/product_service.rbi +0 -503
  654. data/rbi/stripe/services/promotion_code_service.rbi +0 -210
  655. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -31
  656. data/rbi/stripe/services/quote_line_item_service.rbi +0 -31
  657. data/rbi/stripe/services/quote_line_service.rbi +0 -31
  658. data/rbi/stripe/services/quote_preview_invoice_service.rbi +0 -31
  659. data/rbi/stripe/services/quote_preview_subscription_schedule_service.rbi +0 -31
  660. data/rbi/stripe/services/quote_service.rbi +0 -2390
  661. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -83
  662. data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -107
  663. data/rbi/stripe/services/radar/value_list_service.rbi +0 -139
  664. data/rbi/stripe/services/radar_service.rbi +0 -11
  665. data/rbi/stripe/services/refund_service.rbi +0 -181
  666. data/rbi/stripe/services/reporting/report_run_service.rbi +0 -131
  667. data/rbi/stripe/services/reporting/report_type_service.rbi +0 -35
  668. data/rbi/stripe/services/reporting_service.rbi +0 -10
  669. data/rbi/stripe/services/review_service.rbi +0 -82
  670. data/rbi/stripe/services/setup_attempt_service.rbi +0 -63
  671. data/rbi/stripe/services/setup_intent_service.rbi +0 -3630
  672. data/rbi/stripe/services/shipping_rate_service.rbi +0 -235
  673. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -46
  674. data/rbi/stripe/services/sigma_service.rbi +0 -9
  675. data/rbi/stripe/services/source_service.rbi +0 -647
  676. data/rbi/stripe/services/source_transaction_service.rbi +0 -31
  677. data/rbi/stripe/services/subscription_item_service.rbi +0 -422
  678. data/rbi/stripe/services/subscription_item_usage_record_service.rbi +0 -37
  679. data/rbi/stripe/services/subscription_item_usage_record_summary_service.rbi +0 -33
  680. data/rbi/stripe/services/subscription_schedule_service.rbi +0 -2208
  681. data/rbi/stripe/services/subscription_service.rbi +0 -1870
  682. data/rbi/stripe/services/tax/association_service.rbi +0 -25
  683. data/rbi/stripe/services/tax/calculation_line_item_service.rbi +0 -33
  684. data/rbi/stripe/services/tax/calculation_service.rbi +0 -228
  685. data/rbi/stripe/services/tax/form_service.rbi +0 -85
  686. data/rbi/stripe/services/tax/registration_service.rbi +0 -1517
  687. data/rbi/stripe/services/tax/settings_service.rbi +0 -93
  688. data/rbi/stripe/services/tax/transaction_line_item_service.rbi +0 -33
  689. data/rbi/stripe/services/tax/transaction_service.rbi +0 -142
  690. data/rbi/stripe/services/tax_code_service.rbi +0 -44
  691. data/rbi/stripe/services/tax_id_service.rbi +0 -112
  692. data/rbi/stripe/services/tax_rate_service.rbi +0 -183
  693. data/rbi/stripe/services/tax_service.rbi +0 -14
  694. data/rbi/stripe/services/terminal/configuration_service.rbi +0 -860
  695. data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -25
  696. data/rbi/stripe/services/terminal/location_service.rbi +0 -184
  697. data/rbi/stripe/services/terminal/reader_collected_data_service.rbi +0 -22
  698. data/rbi/stripe/services/terminal/reader_service.rbi +0 -513
  699. data/rbi/stripe/services/terminal_service.rbi +0 -13
  700. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -787
  701. data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -33
  702. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -836
  703. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -76
  704. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -67
  705. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -705
  706. data/rbi/stripe/services/test_helpers/issuing_service.rbi +0 -14
  707. data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -22
  708. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -62
  709. data/rbi/stripe/services/test_helpers/terminal_service.rbi +0 -11
  710. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -90
  711. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -64
  712. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -123
  713. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -123
  714. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -114
  715. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -114
  716. data/rbi/stripe/services/test_helpers/treasury_service.rbi +0 -15
  717. data/rbi/stripe/services/test_helpers_service.rbi +0 -15
  718. data/rbi/stripe/services/token_service.rbi +0 -1155
  719. data/rbi/stripe/services/topup_service.rbi +0 -172
  720. data/rbi/stripe/services/transfer_reversal_service.rbi +0 -99
  721. data/rbi/stripe/services/transfer_service.rbi +0 -150
  722. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -84
  723. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -88
  724. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -201
  725. data/rbi/stripe/services/treasury/financial_account_service.rbi +0 -566
  726. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -117
  727. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -300
  728. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +0 -182
  729. data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -70
  730. data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -59
  731. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -107
  732. data/rbi/stripe/services/treasury/transaction_service.rbi +0 -114
  733. data/rbi/stripe/services/treasury_service.rbi +0 -18
  734. data/rbi/stripe/services/v1_services.rbi +0 -83
  735. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -39
  736. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -42
  737. data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +0 -20
  738. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -55
  739. data/rbi/stripe/services/v2/billing_service.rbi +0 -14
  740. data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -203
  741. data/rbi/stripe/services/v2/core/event_service.rbi +0 -39
  742. data/rbi/stripe/services/v2/core_service.rbi +0 -12
  743. data/rbi/stripe/services/v2_services.rbi +0 -10
  744. data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -131
@@ -33,3861 +33,6 @@ module Stripe
33
33
  "setup_intent"
34
34
  end
35
35
 
36
- class AutomaticPaymentMethods < Stripe::StripeObject
37
- # Controls whether this SetupIntent will accept redirect-based payment methods.
38
- #
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
- attr_reader :allow_redirects
41
- # Automatically calculates compatible payment methods
42
- attr_reader :enabled
43
- end
44
-
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
48
- # For card errors, the ID of the failed charge.
49
- attr_reader :charge
50
- # For some errors that could be handled programmatically, a short string indicating the [error code](https://stripe.com/docs/error-codes) reported.
51
- attr_reader :code
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.
53
- attr_reader :decline_code
54
- # A URL to more information about the [error code](https://stripe.com/docs/error-codes) reported.
55
- attr_reader :doc_url
56
- # A human-readable message providing more details about the error. For card errors, these messages can be shown to your users.
57
- attr_reader :message
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.
59
- attr_reader :network_advice_code
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.
61
- attr_reader :network_decline_code
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.
63
- attr_reader :param
64
- # A PaymentIntent guides you through the process of collecting a payment from your customer.
65
- # We recommend that you create exactly one PaymentIntent for each order or
66
- # customer session in your system. You can reference the PaymentIntent later to
67
- # see the history of payment attempts for a particular session.
68
- #
69
- # A PaymentIntent transitions through
70
- # [multiple statuses](https://stripe.com/docs/payments/intents#intent-statuses)
71
- # throughout its lifetime as it interfaces with Stripe.js to perform
72
- # authentication flows and ultimately creates at most one successful charge.
73
- #
74
- # Related guide: [Payment Intents API](https://stripe.com/docs/payments/payment-intents)
75
- attr_reader :payment_intent
76
- # PaymentMethod objects represent your customer's payment instruments.
77
- # You can use them with [PaymentIntents](https://stripe.com/docs/payments/payment-intents) to collect payments or save them to
78
- # Customer objects to store instrument details for future payments.
79
- #
80
- # Related guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios).
81
- attr_reader :payment_method
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.
83
- attr_reader :payment_method_type
84
- # A URL to the request log entry in your dashboard.
85
- attr_reader :request_log_url
86
- # A SetupIntent guides you through the process of setting up and saving a customer's payment credentials for future payments.
87
- # For example, you can use a SetupIntent to set up and save your customer's card without immediately collecting a payment.
88
- # Later, you can use [PaymentIntents](https://stripe.com/docs/api#payment_intents) to drive the payment flow.
89
- #
90
- # Create a SetupIntent when you're ready to collect your customer's payment credentials.
91
- # Don't maintain long-lived, unconfirmed SetupIntents because they might not be valid.
92
- # The SetupIntent transitions through multiple [statuses](https://docs.stripe.com/payments/intents#intent-statuses) as it guides
93
- # you through the setup process.
94
- #
95
- # Successful SetupIntents result in payment credentials that are optimized for future payments.
96
- # For example, cardholders in [certain regions](https://stripe.com/guides/strong-customer-authentication) might need to be run through
97
- # [Strong Customer Authentication](https://docs.stripe.com/strong-customer-authentication) during payment method collection
98
- # to streamline later [off-session payments](https://docs.stripe.com/payments/setup-intents).
99
- # If you use the SetupIntent with a [Customer](https://stripe.com/docs/api#setup_intent_object-customer),
100
- # it automatically attaches the resulting payment method to that Customer after successful setup.
101
- # We recommend using SetupIntents or [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) on
102
- # PaymentIntents to save payment methods to prevent saving invalid or unoptimized payment methods.
103
- #
104
- # By using SetupIntents, you can reduce friction for your customers, even as regulations change over time.
105
- #
106
- # Related guide: [Setup Intents API](https://docs.stripe.com/payments/setup-intents)
107
- attr_reader :setup_intent
108
- # Attribute for field source
109
- attr_reader :source
110
- # The type of error returned. One of `api_error`, `card_error`, `idempotency_error`, or `invalid_request_error`
111
- attr_reader :type
112
- end
113
-
114
- class NextAction < Stripe::StripeObject
115
- class CashappHandleRedirectOrDisplayQrCode < Stripe::StripeObject
116
- class QrCode < Stripe::StripeObject
117
- # The date (unix timestamp) when the QR code expires.
118
- attr_reader :expires_at
119
- # The image_url_png string used to render QR code
120
- attr_reader :image_url_png
121
- # The image_url_svg string used to render QR code
122
- attr_reader :image_url_svg
123
- end
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.
125
- attr_reader :hosted_instructions_url
126
- # The url for mobile redirect based auth
127
- attr_reader :mobile_auth_url
128
- # Attribute for field qr_code
129
- attr_reader :qr_code
130
- end
131
-
132
- class RedirectToUrl < Stripe::StripeObject
133
- # If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion.
134
- attr_reader :return_url
135
- # The URL you must redirect your customer to in order to authenticate.
136
- attr_reader :url
137
- end
138
-
139
- class VerifyWithMicrodeposits < Stripe::StripeObject
140
- # The timestamp when the microdeposits are expected to land.
141
- attr_reader :arrival_date
142
- # The URL for the hosted verification page, which allows customers to verify their bank account.
143
- attr_reader :hosted_verification_url
144
- # The type of the microdeposit sent to the customer. Used to distinguish between different verification methods.
145
- attr_reader :microdeposit_type
146
- end
147
- # Attribute for field cashapp_handle_redirect_or_display_qr_code
148
- attr_reader :cashapp_handle_redirect_or_display_qr_code
149
- # Attribute for field redirect_to_url
150
- attr_reader :redirect_to_url
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`.
152
- attr_reader :type
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.
154
- attr_reader :use_stripe_sdk
155
- # Attribute for field verify_with_microdeposits
156
- attr_reader :verify_with_microdeposits
157
- end
158
-
159
- class PaymentMethodConfigurationDetails < Stripe::StripeObject
160
- # ID of the payment method configuration used.
161
- attr_reader :id
162
- # ID of the parent payment method configuration used.
163
- attr_reader :parent
164
- end
165
-
166
- class PaymentMethodOptions < Stripe::StripeObject
167
- class AcssDebit < Stripe::StripeObject
168
- class MandateOptions < Stripe::StripeObject
169
- # A URL for custom mandate text
170
- attr_reader :custom_mandate_url
171
- # List of Stripe products where this mandate can be selected automatically.
172
- attr_reader :default_for
173
- # Description of the interval. Only required if the 'payment_schedule' parameter is 'interval' or 'combined'.
174
- attr_reader :interval_description
175
- # Payment schedule for the mandate.
176
- attr_reader :payment_schedule
177
- # Transaction type of the mandate.
178
- attr_reader :transaction_type
179
- end
180
- # Currency supported by the bank account
181
- attr_reader :currency
182
- # Attribute for field mandate_options
183
- attr_reader :mandate_options
184
- # Bank account verification method.
185
- attr_reader :verification_method
186
- end
187
-
188
- class AmazonPay < Stripe::StripeObject; end
189
-
190
- class BacsDebit < Stripe::StripeObject
191
- class MandateOptions < Stripe::StripeObject
192
- # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
193
- attr_reader :reference_prefix
194
- end
195
- # Attribute for field mandate_options
196
- attr_reader :mandate_options
197
- end
198
-
199
- class Card < Stripe::StripeObject
200
- class MandateOptions < Stripe::StripeObject
201
- # Amount to be charged for future payments.
202
- attr_reader :amount
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.
204
- attr_reader :amount_type
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).
206
- attr_reader :currency
207
- # A description of the mandate or subscription that is meant to be displayed to the customer.
208
- attr_reader :description
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.
210
- attr_reader :end_date
211
- # Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
212
- attr_reader :interval
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`.
214
- attr_reader :interval_count
215
- # Unique identifier for the mandate or subscription.
216
- attr_reader :reference
217
- # Start date of the mandate or subscription. Start date should not be lesser than yesterday.
218
- attr_reader :start_date
219
- # Specifies the type of mandates supported. Possible values are `india`.
220
- attr_reader :supported_types
221
- end
222
- # Configuration options for setting up an eMandate for cards issued in India.
223
- attr_reader :mandate_options
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.
225
- attr_reader :network
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.
227
- attr_reader :request_three_d_secure
228
- end
229
-
230
- class CardPresent < Stripe::StripeObject; end
231
-
232
- class Link < Stripe::StripeObject
233
- # [Deprecated] This is a legacy parameter that no longer has any function.
234
- attr_reader :persistent_token
235
- end
236
-
237
- class Paypal < Stripe::StripeObject
238
- # The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
239
- attr_reader :billing_agreement_id
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).
241
- attr_reader :currency
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.
243
- attr_reader :subsellers
244
- end
245
-
246
- class Payto < Stripe::StripeObject
247
- class MandateOptions < Stripe::StripeObject
248
- # Amount that will be collected. It is required when `amount_type` is `fixed`.
249
- attr_reader :amount
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.
251
- attr_reader :amount_type
252
- # Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
253
- attr_reader :end_date
254
- # The periodicity at which payments will be collected.
255
- attr_reader :payment_schedule
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.
257
- attr_reader :payments_per_period
258
- # The purpose for which payments are made. Defaults to retail.
259
- attr_reader :purpose
260
- # Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
261
- attr_reader :start_date
262
- end
263
- # Attribute for field mandate_options
264
- attr_reader :mandate_options
265
- end
266
-
267
- class SepaDebit < Stripe::StripeObject
268
- class MandateOptions < Stripe::StripeObject
269
- # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.
270
- attr_reader :reference_prefix
271
- end
272
- # Attribute for field mandate_options
273
- attr_reader :mandate_options
274
- end
275
-
276
- class UsBankAccount < Stripe::StripeObject
277
- class FinancialConnections < Stripe::StripeObject
278
- class Filters < Stripe::StripeObject
279
- # The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
280
- attr_reader :account_subcategories
281
- # The institution to use to filter for possible accounts to link.
282
- attr_reader :institution
283
- end
284
-
285
- class ManualEntry < Stripe::StripeObject
286
- # Settings for configuring manual entry of account details.
287
- attr_reader :mode
288
- end
289
- # Attribute for field filters
290
- attr_reader :filters
291
- # Attribute for field manual_entry
292
- attr_reader :manual_entry
293
- # The list of permissions to request. The `payment_method` permission must be included.
294
- attr_reader :permissions
295
- # Data features requested to be retrieved upon account creation.
296
- attr_reader :prefetch
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.
298
- attr_reader :return_url
299
- end
300
-
301
- class MandateOptions < Stripe::StripeObject
302
- # Mandate collection method
303
- attr_reader :collection_method
304
- end
305
- # Attribute for field financial_connections
306
- attr_reader :financial_connections
307
- # Attribute for field mandate_options
308
- attr_reader :mandate_options
309
- # Bank account verification method.
310
- attr_reader :verification_method
311
- end
312
- # Attribute for field acss_debit
313
- attr_reader :acss_debit
314
- # Attribute for field amazon_pay
315
- attr_reader :amazon_pay
316
- # Attribute for field bacs_debit
317
- attr_reader :bacs_debit
318
- # Attribute for field card
319
- attr_reader :card
320
- # Attribute for field card_present
321
- attr_reader :card_present
322
- # Attribute for field link
323
- attr_reader :link
324
- # Attribute for field paypal
325
- attr_reader :paypal
326
- # Attribute for field payto
327
- attr_reader :payto
328
- # Attribute for field sepa_debit
329
- attr_reader :sepa_debit
330
- # Attribute for field us_bank_account
331
- attr_reader :us_bank_account
332
- end
333
-
334
- class ListParams < Stripe::RequestParams
335
- class Created < Stripe::RequestParams
336
- # Minimum value to filter by (exclusive)
337
- attr_accessor :gt
338
- # Minimum value to filter by (inclusive)
339
- attr_accessor :gte
340
- # Maximum value to filter by (exclusive)
341
- attr_accessor :lt
342
- # Maximum value to filter by (inclusive)
343
- attr_accessor :lte
344
-
345
- def initialize(gt: nil, gte: nil, lt: nil, lte: nil)
346
- @gt = gt
347
- @gte = gte
348
- @lt = lt
349
- @lte = lte
350
- end
351
- end
352
- # If present, the SetupIntent's payment method will be attached to the in-context Stripe Account.
353
- #
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.
355
- attr_accessor :attach_to_self
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.
357
- attr_accessor :created
358
- # Only return SetupIntents for the customer specified by this customer ID.
359
- attr_accessor :customer
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.
361
- attr_accessor :ending_before
362
- # Specifies which fields in the response should be expanded.
363
- attr_accessor :expand
364
- # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
365
- attr_accessor :limit
366
- # Only return SetupIntents that associate with the specified payment method.
367
- attr_accessor :payment_method
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.
369
- attr_accessor :starting_after
370
-
371
- def initialize(
372
- attach_to_self: nil,
373
- created: nil,
374
- customer: nil,
375
- ending_before: nil,
376
- expand: nil,
377
- limit: nil,
378
- payment_method: nil,
379
- starting_after: nil
380
- )
381
- @attach_to_self = attach_to_self
382
- @created = created
383
- @customer = customer
384
- @ending_before = ending_before
385
- @expand = expand
386
- @limit = limit
387
- @payment_method = payment_method
388
- @starting_after = starting_after
389
- end
390
- end
391
-
392
- class CreateParams < Stripe::RequestParams
393
- class AutomaticPaymentMethods < Stripe::RequestParams
394
- # Controls whether this SetupIntent will accept redirect-based payment methods.
395
- #
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.
397
- attr_accessor :allow_redirects
398
- # Whether this feature is enabled.
399
- attr_accessor :enabled
400
-
401
- def initialize(allow_redirects: nil, enabled: nil)
402
- @allow_redirects = allow_redirects
403
- @enabled = enabled
404
- end
405
- end
406
-
407
- class MandateData < Stripe::RequestParams
408
- class CustomerAcceptance < Stripe::RequestParams
409
- class Offline < Stripe::RequestParams
410
- end
411
-
412
- class Online < Stripe::RequestParams
413
- # The IP address from which the Mandate was accepted by the customer.
414
- attr_accessor :ip_address
415
- # The user agent of the browser from which the Mandate was accepted by the customer.
416
- attr_accessor :user_agent
417
-
418
- def initialize(ip_address: nil, user_agent: nil)
419
- @ip_address = ip_address
420
- @user_agent = user_agent
421
- end
422
- end
423
- # The time at which the customer accepted the Mandate.
424
- attr_accessor :accepted_at
425
- # If this is a Mandate accepted offline, this hash contains details about the offline acceptance.
426
- attr_accessor :offline
427
- # If this is a Mandate accepted online, this hash contains details about the online acceptance.
428
- attr_accessor :online
429
- # The type of customer acceptance information included with the Mandate. One of `online` or `offline`.
430
- attr_accessor :type
431
-
432
- def initialize(accepted_at: nil, offline: nil, online: nil, type: nil)
433
- @accepted_at = accepted_at
434
- @offline = offline
435
- @online = online
436
- @type = type
437
- end
438
- end
439
- # This hash contains details about the customer acceptance of the Mandate.
440
- attr_accessor :customer_acceptance
441
-
442
- def initialize(customer_acceptance: nil)
443
- @customer_acceptance = customer_acceptance
444
- end
445
- end
446
-
447
- class PaymentMethodData < Stripe::RequestParams
448
- class AcssDebit < Stripe::RequestParams
449
- # Customer's bank account number.
450
- attr_accessor :account_number
451
- # Institution number of the customer's bank.
452
- attr_accessor :institution_number
453
- # Transit number of the customer's bank.
454
- attr_accessor :transit_number
455
-
456
- def initialize(account_number: nil, institution_number: nil, transit_number: nil)
457
- @account_number = account_number
458
- @institution_number = institution_number
459
- @transit_number = transit_number
460
- end
461
- end
462
-
463
- class Affirm < Stripe::RequestParams
464
- end
465
-
466
- class AfterpayClearpay < Stripe::RequestParams
467
- end
468
-
469
- class Alipay < Stripe::RequestParams
470
- end
471
-
472
- class Alma < Stripe::RequestParams
473
- end
474
-
475
- class AmazonPay < Stripe::RequestParams
476
- end
477
-
478
- class AuBecsDebit < Stripe::RequestParams
479
- # The account number for the bank account.
480
- attr_accessor :account_number
481
- # Bank-State-Branch number of the bank account.
482
- attr_accessor :bsb_number
483
-
484
- def initialize(account_number: nil, bsb_number: nil)
485
- @account_number = account_number
486
- @bsb_number = bsb_number
487
- end
488
- end
489
-
490
- class BacsDebit < Stripe::RequestParams
491
- # Account number of the bank account that the funds will be debited from.
492
- attr_accessor :account_number
493
- # Sort code of the bank account. (e.g., `10-20-30`)
494
- attr_accessor :sort_code
495
-
496
- def initialize(account_number: nil, sort_code: nil)
497
- @account_number = account_number
498
- @sort_code = sort_code
499
- end
500
- end
501
-
502
- class Bancontact < Stripe::RequestParams
503
- end
504
-
505
- class BillingDetails < Stripe::RequestParams
506
- class Address < Stripe::RequestParams
507
- # City, district, suburb, town, or village.
508
- attr_accessor :city
509
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
510
- attr_accessor :country
511
- # Address line 1 (e.g., street, PO Box, or company name).
512
- attr_accessor :line1
513
- # Address line 2 (e.g., apartment, suite, unit, or building).
514
- attr_accessor :line2
515
- # ZIP or postal code.
516
- attr_accessor :postal_code
517
- # State, county, province, or region.
518
- attr_accessor :state
519
-
520
- def initialize(
521
- city: nil,
522
- country: nil,
523
- line1: nil,
524
- line2: nil,
525
- postal_code: nil,
526
- state: nil
527
- )
528
- @city = city
529
- @country = country
530
- @line1 = line1
531
- @line2 = line2
532
- @postal_code = postal_code
533
- @state = state
534
- end
535
- end
536
- # Billing address.
537
- attr_accessor :address
538
- # Email address.
539
- attr_accessor :email
540
- # Full name.
541
- attr_accessor :name
542
- # Billing phone number (including extension).
543
- attr_accessor :phone
544
-
545
- def initialize(address: nil, email: nil, name: nil, phone: nil)
546
- @address = address
547
- @email = email
548
- @name = name
549
- @phone = phone
550
- end
551
- end
552
-
553
- class Blik < Stripe::RequestParams
554
- end
555
-
556
- class Boleto < Stripe::RequestParams
557
- # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
558
- attr_accessor :tax_id
559
-
560
- def initialize(tax_id: nil)
561
- @tax_id = tax_id
562
- end
563
- end
564
-
565
- class Cashapp < Stripe::RequestParams
566
- end
567
-
568
- class CustomerBalance < Stripe::RequestParams
569
- end
570
-
571
- class Eps < Stripe::RequestParams
572
- # The customer's bank.
573
- attr_accessor :bank
574
-
575
- def initialize(bank: nil)
576
- @bank = bank
577
- end
578
- end
579
-
580
- class Fpx < Stripe::RequestParams
581
- # Account holder type for FPX transaction
582
- attr_accessor :account_holder_type
583
- # The customer's bank.
584
- attr_accessor :bank
585
-
586
- def initialize(account_holder_type: nil, bank: nil)
587
- @account_holder_type = account_holder_type
588
- @bank = bank
589
- end
590
- end
591
-
592
- class Giropay < Stripe::RequestParams
593
- end
594
-
595
- class Gopay < Stripe::RequestParams
596
- end
597
-
598
- class Grabpay < Stripe::RequestParams
599
- end
600
-
601
- class IdBankTransfer < Stripe::RequestParams
602
- # Bank where the account is held.
603
- attr_accessor :bank
604
-
605
- def initialize(bank: nil)
606
- @bank = bank
607
- end
608
- end
609
-
610
- class Ideal < Stripe::RequestParams
611
- # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
612
- attr_accessor :bank
613
-
614
- def initialize(bank: nil)
615
- @bank = bank
616
- end
617
- end
618
-
619
- class InteracPresent < Stripe::RequestParams
620
- end
621
-
622
- class KakaoPay < Stripe::RequestParams
623
- end
624
-
625
- class Klarna < Stripe::RequestParams
626
- class Dob < Stripe::RequestParams
627
- # The day of birth, between 1 and 31.
628
- attr_accessor :day
629
- # The month of birth, between 1 and 12.
630
- attr_accessor :month
631
- # The four-digit year of birth.
632
- attr_accessor :year
633
-
634
- def initialize(day: nil, month: nil, year: nil)
635
- @day = day
636
- @month = month
637
- @year = year
638
- end
639
- end
640
- # Customer's date of birth
641
- attr_accessor :dob
642
-
643
- def initialize(dob: nil)
644
- @dob = dob
645
- end
646
- end
647
-
648
- class Konbini < Stripe::RequestParams
649
- end
650
-
651
- class KrCard < Stripe::RequestParams
652
- end
653
-
654
- class Link < Stripe::RequestParams
655
- end
656
-
657
- class MbWay < Stripe::RequestParams
658
- end
659
-
660
- class Mobilepay < Stripe::RequestParams
661
- end
662
-
663
- class Multibanco < Stripe::RequestParams
664
- end
665
-
666
- class NaverPay < Stripe::RequestParams
667
- # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
668
- attr_accessor :funding
669
-
670
- def initialize(funding: nil)
671
- @funding = funding
672
- end
673
- end
674
-
675
- class Oxxo < Stripe::RequestParams
676
- end
677
-
678
- class P24 < Stripe::RequestParams
679
- # The customer's bank.
680
- attr_accessor :bank
681
-
682
- def initialize(bank: nil)
683
- @bank = bank
684
- end
685
- end
686
-
687
- class PayByBank < Stripe::RequestParams
688
- end
689
-
690
- class Payco < Stripe::RequestParams
691
- end
692
-
693
- class Paynow < Stripe::RequestParams
694
- end
695
-
696
- class Paypal < Stripe::RequestParams
697
- end
698
-
699
- class Payto < Stripe::RequestParams
700
- # The account number for the bank account.
701
- attr_accessor :account_number
702
- # Bank-State-Branch number of the bank account.
703
- attr_accessor :bsb_number
704
- # The PayID alias for the bank account.
705
- attr_accessor :pay_id
706
-
707
- def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
708
- @account_number = account_number
709
- @bsb_number = bsb_number
710
- @pay_id = pay_id
711
- end
712
- end
713
-
714
- class Pix < Stripe::RequestParams
715
- end
716
-
717
- class Promptpay < Stripe::RequestParams
718
- end
719
-
720
- class Qris < Stripe::RequestParams
721
- end
722
-
723
- class RadarOptions < Stripe::RequestParams
724
- # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
725
- attr_accessor :session
726
-
727
- def initialize(session: nil)
728
- @session = session
729
- end
730
- end
731
-
732
- class Rechnung < Stripe::RequestParams
733
- class Dob < Stripe::RequestParams
734
- # The day of birth, between 1 and 31.
735
- attr_accessor :day
736
- # The month of birth, between 1 and 12.
737
- attr_accessor :month
738
- # The four-digit year of birth.
739
- attr_accessor :year
740
-
741
- def initialize(day: nil, month: nil, year: nil)
742
- @day = day
743
- @month = month
744
- @year = year
745
- end
746
- end
747
- # Customer's date of birth
748
- attr_accessor :dob
749
-
750
- def initialize(dob: nil)
751
- @dob = dob
752
- end
753
- end
754
-
755
- class RevolutPay < Stripe::RequestParams
756
- end
757
-
758
- class SamsungPay < Stripe::RequestParams
759
- end
760
-
761
- class SepaDebit < Stripe::RequestParams
762
- # IBAN of the bank account.
763
- attr_accessor :iban
764
-
765
- def initialize(iban: nil)
766
- @iban = iban
767
- end
768
- end
769
-
770
- class Shopeepay < Stripe::RequestParams
771
- end
772
-
773
- class Sofort < Stripe::RequestParams
774
- # Two-letter ISO code representing the country the bank account is located in.
775
- attr_accessor :country
776
-
777
- def initialize(country: nil)
778
- @country = country
779
- end
780
- end
781
-
782
- class Swish < Stripe::RequestParams
783
- end
784
-
785
- class Twint < Stripe::RequestParams
786
- end
787
-
788
- class UsBankAccount < Stripe::RequestParams
789
- # Account holder type: individual or company.
790
- attr_accessor :account_holder_type
791
- # Account number of the bank account.
792
- attr_accessor :account_number
793
- # Account type: checkings or savings. Defaults to checking if omitted.
794
- attr_accessor :account_type
795
- # The ID of a Financial Connections Account to use as a payment method.
796
- attr_accessor :financial_connections_account
797
- # Routing number of the bank account.
798
- attr_accessor :routing_number
799
-
800
- def initialize(
801
- account_holder_type: nil,
802
- account_number: nil,
803
- account_type: nil,
804
- financial_connections_account: nil,
805
- routing_number: nil
806
- )
807
- @account_holder_type = account_holder_type
808
- @account_number = account_number
809
- @account_type = account_type
810
- @financial_connections_account = financial_connections_account
811
- @routing_number = routing_number
812
- end
813
- end
814
-
815
- class WechatPay < Stripe::RequestParams
816
- end
817
-
818
- class Zip < Stripe::RequestParams
819
- end
820
- # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
821
- attr_accessor :acss_debit
822
- # If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
823
- attr_accessor :affirm
824
- # If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
825
- attr_accessor :afterpay_clearpay
826
- # If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.
827
- attr_accessor :alipay
828
- # 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`.
829
- attr_accessor :allow_redisplay
830
- # If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
831
- attr_accessor :alma
832
- # If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
833
- attr_accessor :amazon_pay
834
- # If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
835
- attr_accessor :au_becs_debit
836
- # If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
837
- attr_accessor :bacs_debit
838
- # If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
839
- attr_accessor :bancontact
840
- # Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
841
- attr_accessor :billing_details
842
- # If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
843
- attr_accessor :blik
844
- # If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.
845
- attr_accessor :boleto
846
- # If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
847
- attr_accessor :cashapp
848
- # If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
849
- attr_accessor :customer_balance
850
- # If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
851
- attr_accessor :eps
852
- # If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
853
- attr_accessor :fpx
854
- # If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
855
- attr_accessor :giropay
856
- # If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
857
- attr_accessor :gopay
858
- # If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
859
- attr_accessor :grabpay
860
- # If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
861
- attr_accessor :id_bank_transfer
862
- # If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
863
- attr_accessor :ideal
864
- # If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
865
- attr_accessor :interac_present
866
- # If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.
867
- attr_accessor :kakao_pay
868
- # If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.
869
- attr_accessor :klarna
870
- # If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.
871
- attr_accessor :konbini
872
- # If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.
873
- attr_accessor :kr_card
874
- # If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
875
- attr_accessor :link
876
- # If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
877
- attr_accessor :mb_way
878
- # 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`.
879
- attr_accessor :metadata
880
- # If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
881
- attr_accessor :mobilepay
882
- # If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
883
- attr_accessor :multibanco
884
- # If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
885
- attr_accessor :naver_pay
886
- # If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
887
- attr_accessor :oxxo
888
- # If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
889
- attr_accessor :p24
890
- # If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.
891
- attr_accessor :pay_by_bank
892
- # If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.
893
- attr_accessor :payco
894
- # If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.
895
- attr_accessor :paynow
896
- # If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
897
- attr_accessor :paypal
898
- # If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
899
- attr_accessor :payto
900
- # If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
901
- attr_accessor :pix
902
- # If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
903
- attr_accessor :promptpay
904
- # If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
905
- attr_accessor :qris
906
- # Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
907
- attr_accessor :radar_options
908
- # If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
909
- attr_accessor :rechnung
910
- # If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
911
- attr_accessor :revolut_pay
912
- # If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
913
- attr_accessor :samsung_pay
914
- # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
915
- attr_accessor :sepa_debit
916
- # If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
917
- attr_accessor :shopeepay
918
- # If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
919
- attr_accessor :sofort
920
- # If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
921
- attr_accessor :swish
922
- # If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
923
- attr_accessor :twint
924
- # 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.
925
- attr_accessor :type
926
- # If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
927
- attr_accessor :us_bank_account
928
- # If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
929
- attr_accessor :wechat_pay
930
- # If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
931
- attr_accessor :zip
932
-
933
- def initialize(
934
- acss_debit: nil,
935
- affirm: nil,
936
- afterpay_clearpay: nil,
937
- alipay: nil,
938
- allow_redisplay: nil,
939
- alma: nil,
940
- amazon_pay: nil,
941
- au_becs_debit: nil,
942
- bacs_debit: nil,
943
- bancontact: nil,
944
- billing_details: nil,
945
- blik: nil,
946
- boleto: nil,
947
- cashapp: nil,
948
- customer_balance: nil,
949
- eps: nil,
950
- fpx: nil,
951
- giropay: nil,
952
- gopay: nil,
953
- grabpay: nil,
954
- id_bank_transfer: nil,
955
- ideal: nil,
956
- interac_present: nil,
957
- kakao_pay: nil,
958
- klarna: nil,
959
- konbini: nil,
960
- kr_card: nil,
961
- link: nil,
962
- mb_way: nil,
963
- metadata: nil,
964
- mobilepay: nil,
965
- multibanco: nil,
966
- naver_pay: nil,
967
- oxxo: nil,
968
- p24: nil,
969
- pay_by_bank: nil,
970
- payco: nil,
971
- paynow: nil,
972
- paypal: nil,
973
- payto: nil,
974
- pix: nil,
975
- promptpay: nil,
976
- qris: nil,
977
- radar_options: nil,
978
- rechnung: nil,
979
- revolut_pay: nil,
980
- samsung_pay: nil,
981
- sepa_debit: nil,
982
- shopeepay: nil,
983
- sofort: nil,
984
- swish: nil,
985
- twint: nil,
986
- type: nil,
987
- us_bank_account: nil,
988
- wechat_pay: nil,
989
- zip: nil
990
- )
991
- @acss_debit = acss_debit
992
- @affirm = affirm
993
- @afterpay_clearpay = afterpay_clearpay
994
- @alipay = alipay
995
- @allow_redisplay = allow_redisplay
996
- @alma = alma
997
- @amazon_pay = amazon_pay
998
- @au_becs_debit = au_becs_debit
999
- @bacs_debit = bacs_debit
1000
- @bancontact = bancontact
1001
- @billing_details = billing_details
1002
- @blik = blik
1003
- @boleto = boleto
1004
- @cashapp = cashapp
1005
- @customer_balance = customer_balance
1006
- @eps = eps
1007
- @fpx = fpx
1008
- @giropay = giropay
1009
- @gopay = gopay
1010
- @grabpay = grabpay
1011
- @id_bank_transfer = id_bank_transfer
1012
- @ideal = ideal
1013
- @interac_present = interac_present
1014
- @kakao_pay = kakao_pay
1015
- @klarna = klarna
1016
- @konbini = konbini
1017
- @kr_card = kr_card
1018
- @link = link
1019
- @mb_way = mb_way
1020
- @metadata = metadata
1021
- @mobilepay = mobilepay
1022
- @multibanco = multibanco
1023
- @naver_pay = naver_pay
1024
- @oxxo = oxxo
1025
- @p24 = p24
1026
- @pay_by_bank = pay_by_bank
1027
- @payco = payco
1028
- @paynow = paynow
1029
- @paypal = paypal
1030
- @payto = payto
1031
- @pix = pix
1032
- @promptpay = promptpay
1033
- @qris = qris
1034
- @radar_options = radar_options
1035
- @rechnung = rechnung
1036
- @revolut_pay = revolut_pay
1037
- @samsung_pay = samsung_pay
1038
- @sepa_debit = sepa_debit
1039
- @shopeepay = shopeepay
1040
- @sofort = sofort
1041
- @swish = swish
1042
- @twint = twint
1043
- @type = type
1044
- @us_bank_account = us_bank_account
1045
- @wechat_pay = wechat_pay
1046
- @zip = zip
1047
- end
1048
- end
1049
-
1050
- class PaymentMethodOptions < Stripe::RequestParams
1051
- class AcssDebit < Stripe::RequestParams
1052
- class MandateOptions < Stripe::RequestParams
1053
- # A URL for custom mandate text to render during confirmation step.
1054
- # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,
1055
- # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
1056
- attr_accessor :custom_mandate_url
1057
- # List of Stripe products where this mandate can be selected automatically.
1058
- attr_accessor :default_for
1059
- # Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
1060
- attr_accessor :interval_description
1061
- # Payment schedule for the mandate.
1062
- attr_accessor :payment_schedule
1063
- # Transaction type of the mandate.
1064
- attr_accessor :transaction_type
1065
-
1066
- def initialize(
1067
- custom_mandate_url: nil,
1068
- default_for: nil,
1069
- interval_description: nil,
1070
- payment_schedule: nil,
1071
- transaction_type: nil
1072
- )
1073
- @custom_mandate_url = custom_mandate_url
1074
- @default_for = default_for
1075
- @interval_description = interval_description
1076
- @payment_schedule = payment_schedule
1077
- @transaction_type = transaction_type
1078
- end
1079
- end
1080
- # 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).
1081
- attr_accessor :currency
1082
- # Additional fields for Mandate creation
1083
- attr_accessor :mandate_options
1084
- # Bank account verification method.
1085
- attr_accessor :verification_method
1086
-
1087
- def initialize(currency: nil, mandate_options: nil, verification_method: nil)
1088
- @currency = currency
1089
- @mandate_options = mandate_options
1090
- @verification_method = verification_method
1091
- end
1092
- end
1093
-
1094
- class AmazonPay < Stripe::RequestParams
1095
- end
1096
-
1097
- class BacsDebit < Stripe::RequestParams
1098
- class MandateOptions < Stripe::RequestParams
1099
- # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
1100
- attr_accessor :reference_prefix
1101
-
1102
- def initialize(reference_prefix: nil)
1103
- @reference_prefix = reference_prefix
1104
- end
1105
- end
1106
- # Additional fields for Mandate creation
1107
- attr_accessor :mandate_options
1108
-
1109
- def initialize(mandate_options: nil)
1110
- @mandate_options = mandate_options
1111
- end
1112
- end
1113
-
1114
- class Card < Stripe::RequestParams
1115
- class MandateOptions < Stripe::RequestParams
1116
- # Amount to be charged for future payments.
1117
- attr_accessor :amount
1118
- # 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.
1119
- attr_accessor :amount_type
1120
- # 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).
1121
- attr_accessor :currency
1122
- # A description of the mandate or subscription that is meant to be displayed to the customer.
1123
- attr_accessor :description
1124
- # 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.
1125
- attr_accessor :end_date
1126
- # Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
1127
- attr_accessor :interval
1128
- # 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`.
1129
- attr_accessor :interval_count
1130
- # Unique identifier for the mandate or subscription.
1131
- attr_accessor :reference
1132
- # Start date of the mandate or subscription. Start date should not be lesser than yesterday.
1133
- attr_accessor :start_date
1134
- # Specifies the type of mandates supported. Possible values are `india`.
1135
- attr_accessor :supported_types
1136
-
1137
- def initialize(
1138
- amount: nil,
1139
- amount_type: nil,
1140
- currency: nil,
1141
- description: nil,
1142
- end_date: nil,
1143
- interval: nil,
1144
- interval_count: nil,
1145
- reference: nil,
1146
- start_date: nil,
1147
- supported_types: nil
1148
- )
1149
- @amount = amount
1150
- @amount_type = amount_type
1151
- @currency = currency
1152
- @description = description
1153
- @end_date = end_date
1154
- @interval = interval
1155
- @interval_count = interval_count
1156
- @reference = reference
1157
- @start_date = start_date
1158
- @supported_types = supported_types
1159
- end
1160
- end
1161
-
1162
- class ThreeDSecure < Stripe::RequestParams
1163
- class NetworkOptions < Stripe::RequestParams
1164
- class CartesBancaires < Stripe::RequestParams
1165
- # The cryptogram calculation algorithm used by the card Issuer's ACS
1166
- # to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`.
1167
- # messageExtension: CB-AVALGO
1168
- attr_accessor :cb_avalgo
1169
- # The exemption indicator returned from Cartes Bancaires in the ARes.
1170
- # message extension: CB-EXEMPTION; string (4 characters)
1171
- # This is a 3 byte bitmap (low significant byte first and most significant
1172
- # bit first) that has been Base64 encoded
1173
- attr_accessor :cb_exemption
1174
- # The risk score returned from Cartes Bancaires in the ARes.
1175
- # message extension: CB-SCORE; numeric value 0-99
1176
- attr_accessor :cb_score
1177
-
1178
- def initialize(cb_avalgo: nil, cb_exemption: nil, cb_score: nil)
1179
- @cb_avalgo = cb_avalgo
1180
- @cb_exemption = cb_exemption
1181
- @cb_score = cb_score
1182
- end
1183
- end
1184
- # Cartes Bancaires-specific 3DS fields.
1185
- attr_accessor :cartes_bancaires
1186
-
1187
- def initialize(cartes_bancaires: nil)
1188
- @cartes_bancaires = cartes_bancaires
1189
- end
1190
- end
1191
- # The `transStatus` returned from the card Issuer’s ACS in the ARes.
1192
- attr_accessor :ares_trans_status
1193
- # The cryptogram, also known as the "authentication value" (AAV, CAVV or
1194
- # AEVV). This value is 20 bytes, base64-encoded into a 28-character string.
1195
- # (Most 3D Secure providers will return the base64-encoded version, which
1196
- # is what you should specify here.)
1197
- attr_accessor :cryptogram
1198
- # The Electronic Commerce Indicator (ECI) is returned by your 3D Secure
1199
- # provider and indicates what degree of authentication was performed.
1200
- attr_accessor :electronic_commerce_indicator
1201
- # Network specific 3DS fields. Network specific arguments require an
1202
- # explicit card brand choice. The parameter `payment_method_options.card.network``
1203
- # must be populated accordingly
1204
- attr_accessor :network_options
1205
- # The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the
1206
- # AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99.
1207
- attr_accessor :requestor_challenge_indicator
1208
- # For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server
1209
- # Transaction ID (dsTransID).
1210
- attr_accessor :transaction_id
1211
- # The version of 3D Secure that was performed.
1212
- attr_accessor :version
1213
-
1214
- def initialize(
1215
- ares_trans_status: nil,
1216
- cryptogram: nil,
1217
- electronic_commerce_indicator: nil,
1218
- network_options: nil,
1219
- requestor_challenge_indicator: nil,
1220
- transaction_id: nil,
1221
- version: nil
1222
- )
1223
- @ares_trans_status = ares_trans_status
1224
- @cryptogram = cryptogram
1225
- @electronic_commerce_indicator = electronic_commerce_indicator
1226
- @network_options = network_options
1227
- @requestor_challenge_indicator = requestor_challenge_indicator
1228
- @transaction_id = transaction_id
1229
- @version = version
1230
- end
1231
- end
1232
- # Configuration options for setting up an eMandate for cards issued in India.
1233
- attr_accessor :mandate_options
1234
- # When specified, this parameter signals that a card has been collected
1235
- # as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This
1236
- # parameter can only be provided during confirmation.
1237
- attr_accessor :moto
1238
- # 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.
1239
- attr_accessor :network
1240
- # 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.
1241
- attr_accessor :request_three_d_secure
1242
- # If 3D Secure authentication was performed with a third-party provider,
1243
- # the authentication details to use for this setup.
1244
- attr_accessor :three_d_secure
1245
-
1246
- def initialize(
1247
- mandate_options: nil,
1248
- moto: nil,
1249
- network: nil,
1250
- request_three_d_secure: nil,
1251
- three_d_secure: nil
1252
- )
1253
- @mandate_options = mandate_options
1254
- @moto = moto
1255
- @network = network
1256
- @request_three_d_secure = request_three_d_secure
1257
- @three_d_secure = three_d_secure
1258
- end
1259
- end
1260
-
1261
- class CardPresent < Stripe::RequestParams
1262
- end
1263
-
1264
- class Link < Stripe::RequestParams
1265
- # [Deprecated] This is a legacy parameter that no longer has any function.
1266
- attr_accessor :persistent_token
1267
-
1268
- def initialize(persistent_token: nil)
1269
- @persistent_token = persistent_token
1270
- end
1271
- end
1272
-
1273
- class Paypal < Stripe::RequestParams
1274
- # The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
1275
- attr_accessor :billing_agreement_id
1276
- # Attribute for param field currency
1277
- attr_accessor :currency
1278
- # 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.
1279
- attr_accessor :subsellers
1280
-
1281
- def initialize(billing_agreement_id: nil, currency: nil, subsellers: nil)
1282
- @billing_agreement_id = billing_agreement_id
1283
- @currency = currency
1284
- @subsellers = subsellers
1285
- end
1286
- end
1287
-
1288
- class Payto < Stripe::RequestParams
1289
- class MandateOptions < Stripe::RequestParams
1290
- # Amount that will be collected. It is required when `amount_type` is `fixed`.
1291
- attr_accessor :amount
1292
- # 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.
1293
- attr_accessor :amount_type
1294
- # Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
1295
- attr_accessor :end_date
1296
- # The periodicity at which payments will be collected.
1297
- attr_accessor :payment_schedule
1298
- # 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.
1299
- attr_accessor :payments_per_period
1300
- # The purpose for which payments are made. Defaults to retail.
1301
- attr_accessor :purpose
1302
- # Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
1303
- attr_accessor :start_date
1304
-
1305
- def initialize(
1306
- amount: nil,
1307
- amount_type: nil,
1308
- end_date: nil,
1309
- payment_schedule: nil,
1310
- payments_per_period: nil,
1311
- purpose: nil,
1312
- start_date: nil
1313
- )
1314
- @amount = amount
1315
- @amount_type = amount_type
1316
- @end_date = end_date
1317
- @payment_schedule = payment_schedule
1318
- @payments_per_period = payments_per_period
1319
- @purpose = purpose
1320
- @start_date = start_date
1321
- end
1322
- end
1323
- # Additional fields for Mandate creation.
1324
- attr_accessor :mandate_options
1325
-
1326
- def initialize(mandate_options: nil)
1327
- @mandate_options = mandate_options
1328
- end
1329
- end
1330
-
1331
- class SepaDebit < Stripe::RequestParams
1332
- class MandateOptions < Stripe::RequestParams
1333
- # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.
1334
- attr_accessor :reference_prefix
1335
-
1336
- def initialize(reference_prefix: nil)
1337
- @reference_prefix = reference_prefix
1338
- end
1339
- end
1340
- # Additional fields for Mandate creation
1341
- attr_accessor :mandate_options
1342
-
1343
- def initialize(mandate_options: nil)
1344
- @mandate_options = mandate_options
1345
- end
1346
- end
1347
-
1348
- class UsBankAccount < Stripe::RequestParams
1349
- class FinancialConnections < Stripe::RequestParams
1350
- class Filters < Stripe::RequestParams
1351
- # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
1352
- attr_accessor :account_subcategories
1353
- # ID of the institution to use to filter for selectable accounts.
1354
- attr_accessor :institution
1355
-
1356
- def initialize(account_subcategories: nil, institution: nil)
1357
- @account_subcategories = account_subcategories
1358
- @institution = institution
1359
- end
1360
- end
1361
-
1362
- class ManualEntry < Stripe::RequestParams
1363
- # Settings for configuring manual entry of account details.
1364
- attr_accessor :mode
1365
-
1366
- def initialize(mode: nil)
1367
- @mode = mode
1368
- end
1369
- end
1370
- # Provide filters for the linked accounts that the customer can select for the payment method
1371
- attr_accessor :filters
1372
- # Customize manual entry behavior
1373
- attr_accessor :manual_entry
1374
- # 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`.
1375
- attr_accessor :permissions
1376
- # List of data features that you would like to retrieve upon account creation.
1377
- attr_accessor :prefetch
1378
- # 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.
1379
- attr_accessor :return_url
1380
-
1381
- def initialize(
1382
- filters: nil,
1383
- manual_entry: nil,
1384
- permissions: nil,
1385
- prefetch: nil,
1386
- return_url: nil
1387
- )
1388
- @filters = filters
1389
- @manual_entry = manual_entry
1390
- @permissions = permissions
1391
- @prefetch = prefetch
1392
- @return_url = return_url
1393
- end
1394
- end
1395
-
1396
- class MandateOptions < Stripe::RequestParams
1397
- # The method used to collect offline mandate customer acceptance.
1398
- attr_accessor :collection_method
1399
-
1400
- def initialize(collection_method: nil)
1401
- @collection_method = collection_method
1402
- end
1403
- end
1404
-
1405
- class Networks < Stripe::RequestParams
1406
- # Triggers validations to run across the selected networks
1407
- attr_accessor :requested
1408
-
1409
- def initialize(requested: nil)
1410
- @requested = requested
1411
- end
1412
- end
1413
- # Additional fields for Financial Connections Session creation
1414
- attr_accessor :financial_connections
1415
- # Additional fields for Mandate creation
1416
- attr_accessor :mandate_options
1417
- # Additional fields for network related functions
1418
- attr_accessor :networks
1419
- # Bank account verification method.
1420
- attr_accessor :verification_method
1421
-
1422
- def initialize(
1423
- financial_connections: nil,
1424
- mandate_options: nil,
1425
- networks: nil,
1426
- verification_method: nil
1427
- )
1428
- @financial_connections = financial_connections
1429
- @mandate_options = mandate_options
1430
- @networks = networks
1431
- @verification_method = verification_method
1432
- end
1433
- end
1434
- # If this is a `acss_debit` SetupIntent, this sub-hash contains details about the ACSS Debit payment method options.
1435
- attr_accessor :acss_debit
1436
- # If this is a `amazon_pay` SetupIntent, this sub-hash contains details about the AmazonPay payment method options.
1437
- attr_accessor :amazon_pay
1438
- # If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.
1439
- attr_accessor :bacs_debit
1440
- # Configuration for any card setup attempted on this SetupIntent.
1441
- attr_accessor :card
1442
- # If this is a `card_present` PaymentMethod, this sub-hash contains details about the card-present payment method options.
1443
- attr_accessor :card_present
1444
- # If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.
1445
- attr_accessor :link
1446
- # If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
1447
- attr_accessor :paypal
1448
- # If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
1449
- attr_accessor :payto
1450
- # If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
1451
- attr_accessor :sepa_debit
1452
- # If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
1453
- attr_accessor :us_bank_account
1454
-
1455
- def initialize(
1456
- acss_debit: nil,
1457
- amazon_pay: nil,
1458
- bacs_debit: nil,
1459
- card: nil,
1460
- card_present: nil,
1461
- link: nil,
1462
- paypal: nil,
1463
- payto: nil,
1464
- sepa_debit: nil,
1465
- us_bank_account: nil
1466
- )
1467
- @acss_debit = acss_debit
1468
- @amazon_pay = amazon_pay
1469
- @bacs_debit = bacs_debit
1470
- @card = card
1471
- @card_present = card_present
1472
- @link = link
1473
- @paypal = paypal
1474
- @payto = payto
1475
- @sepa_debit = sepa_debit
1476
- @us_bank_account = us_bank_account
1477
- end
1478
- end
1479
-
1480
- class SingleUse < Stripe::RequestParams
1481
- # 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).
1482
- attr_accessor :amount
1483
- # 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).
1484
- attr_accessor :currency
1485
-
1486
- def initialize(amount: nil, currency: nil)
1487
- @amount = amount
1488
- @currency = currency
1489
- end
1490
- end
1491
- # If present, the SetupIntent's payment method will be attached to the in-context Stripe Account.
1492
- #
1493
- # 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.
1494
- attr_accessor :attach_to_self
1495
- # When you enable this parameter, this SetupIntent accepts payment methods that you enable in the Dashboard and that are compatible with its other parameters.
1496
- attr_accessor :automatic_payment_methods
1497
- # 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.
1498
- attr_accessor :confirm
1499
- # ID of the ConfirmationToken used to confirm this SetupIntent.
1500
- #
1501
- # 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.
1502
- attr_accessor :confirmation_token
1503
- # ID of the Customer this SetupIntent belongs to, if one exists.
1504
- #
1505
- # 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.
1506
- attr_accessor :customer
1507
- # An arbitrary string attached to the object. Often useful for displaying to users.
1508
- attr_accessor :description
1509
- # Specifies which fields in the response should be expanded.
1510
- attr_accessor :expand
1511
- # Indicates the directions of money movement for which this payment method is intended to be used.
1512
- #
1513
- # 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.
1514
- attr_accessor :flow_directions
1515
- # 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).
1516
- attr_accessor :mandate_data
1517
- # 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`.
1518
- attr_accessor :metadata
1519
- # The Stripe account ID created for this SetupIntent.
1520
- attr_accessor :on_behalf_of
1521
- # ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this SetupIntent.
1522
- attr_accessor :payment_method
1523
- # The ID of the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) to use with this SetupIntent.
1524
- attr_accessor :payment_method_configuration
1525
- # 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)
1526
- # value in the SetupIntent.
1527
- attr_accessor :payment_method_data
1528
- # Payment method-specific configuration for this SetupIntent.
1529
- attr_accessor :payment_method_options
1530
- # 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).
1531
- attr_accessor :payment_method_types
1532
- # 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).
1533
- attr_accessor :return_url
1534
- # If you populate this hash, this SetupIntent generates a `single_use` mandate after successful completion.
1535
- attr_accessor :single_use
1536
- # Indicates how the payment method is intended to be used in the future. If not provided, this value defaults to `off_session`.
1537
- attr_accessor :usage
1538
- # Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.
1539
- attr_accessor :use_stripe_sdk
1540
-
1541
- def initialize(
1542
- attach_to_self: nil,
1543
- automatic_payment_methods: nil,
1544
- confirm: nil,
1545
- confirmation_token: nil,
1546
- customer: nil,
1547
- description: nil,
1548
- expand: nil,
1549
- flow_directions: nil,
1550
- mandate_data: nil,
1551
- metadata: nil,
1552
- on_behalf_of: nil,
1553
- payment_method: nil,
1554
- payment_method_configuration: nil,
1555
- payment_method_data: nil,
1556
- payment_method_options: nil,
1557
- payment_method_types: nil,
1558
- return_url: nil,
1559
- single_use: nil,
1560
- usage: nil,
1561
- use_stripe_sdk: nil
1562
- )
1563
- @attach_to_self = attach_to_self
1564
- @automatic_payment_methods = automatic_payment_methods
1565
- @confirm = confirm
1566
- @confirmation_token = confirmation_token
1567
- @customer = customer
1568
- @description = description
1569
- @expand = expand
1570
- @flow_directions = flow_directions
1571
- @mandate_data = mandate_data
1572
- @metadata = metadata
1573
- @on_behalf_of = on_behalf_of
1574
- @payment_method = payment_method
1575
- @payment_method_configuration = payment_method_configuration
1576
- @payment_method_data = payment_method_data
1577
- @payment_method_options = payment_method_options
1578
- @payment_method_types = payment_method_types
1579
- @return_url = return_url
1580
- @single_use = single_use
1581
- @usage = usage
1582
- @use_stripe_sdk = use_stripe_sdk
1583
- end
1584
- end
1585
-
1586
- class RetrieveParams < Stripe::RequestParams
1587
- # The client secret of the SetupIntent. We require this string if you use a publishable key to retrieve the SetupIntent.
1588
- attr_accessor :client_secret
1589
- # Specifies which fields in the response should be expanded.
1590
- attr_accessor :expand
1591
-
1592
- def initialize(client_secret: nil, expand: nil)
1593
- @client_secret = client_secret
1594
- @expand = expand
1595
- end
1596
- end
1597
-
1598
- class UpdateParams < Stripe::RequestParams
1599
- class PaymentMethodData < Stripe::RequestParams
1600
- class AcssDebit < Stripe::RequestParams
1601
- # Customer's bank account number.
1602
- attr_accessor :account_number
1603
- # Institution number of the customer's bank.
1604
- attr_accessor :institution_number
1605
- # Transit number of the customer's bank.
1606
- attr_accessor :transit_number
1607
-
1608
- def initialize(account_number: nil, institution_number: nil, transit_number: nil)
1609
- @account_number = account_number
1610
- @institution_number = institution_number
1611
- @transit_number = transit_number
1612
- end
1613
- end
1614
-
1615
- class Affirm < Stripe::RequestParams
1616
- end
1617
-
1618
- class AfterpayClearpay < Stripe::RequestParams
1619
- end
1620
-
1621
- class Alipay < Stripe::RequestParams
1622
- end
1623
-
1624
- class Alma < Stripe::RequestParams
1625
- end
1626
-
1627
- class AmazonPay < Stripe::RequestParams
1628
- end
1629
-
1630
- class AuBecsDebit < Stripe::RequestParams
1631
- # The account number for the bank account.
1632
- attr_accessor :account_number
1633
- # Bank-State-Branch number of the bank account.
1634
- attr_accessor :bsb_number
1635
-
1636
- def initialize(account_number: nil, bsb_number: nil)
1637
- @account_number = account_number
1638
- @bsb_number = bsb_number
1639
- end
1640
- end
1641
-
1642
- class BacsDebit < Stripe::RequestParams
1643
- # Account number of the bank account that the funds will be debited from.
1644
- attr_accessor :account_number
1645
- # Sort code of the bank account. (e.g., `10-20-30`)
1646
- attr_accessor :sort_code
1647
-
1648
- def initialize(account_number: nil, sort_code: nil)
1649
- @account_number = account_number
1650
- @sort_code = sort_code
1651
- end
1652
- end
1653
-
1654
- class Bancontact < Stripe::RequestParams
1655
- end
1656
-
1657
- class BillingDetails < Stripe::RequestParams
1658
- class Address < Stripe::RequestParams
1659
- # City, district, suburb, town, or village.
1660
- attr_accessor :city
1661
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1662
- attr_accessor :country
1663
- # Address line 1 (e.g., street, PO Box, or company name).
1664
- attr_accessor :line1
1665
- # Address line 2 (e.g., apartment, suite, unit, or building).
1666
- attr_accessor :line2
1667
- # ZIP or postal code.
1668
- attr_accessor :postal_code
1669
- # State, county, province, or region.
1670
- attr_accessor :state
1671
-
1672
- def initialize(
1673
- city: nil,
1674
- country: nil,
1675
- line1: nil,
1676
- line2: nil,
1677
- postal_code: nil,
1678
- state: nil
1679
- )
1680
- @city = city
1681
- @country = country
1682
- @line1 = line1
1683
- @line2 = line2
1684
- @postal_code = postal_code
1685
- @state = state
1686
- end
1687
- end
1688
- # Billing address.
1689
- attr_accessor :address
1690
- # Email address.
1691
- attr_accessor :email
1692
- # Full name.
1693
- attr_accessor :name
1694
- # Billing phone number (including extension).
1695
- attr_accessor :phone
1696
-
1697
- def initialize(address: nil, email: nil, name: nil, phone: nil)
1698
- @address = address
1699
- @email = email
1700
- @name = name
1701
- @phone = phone
1702
- end
1703
- end
1704
-
1705
- class Blik < Stripe::RequestParams
1706
- end
1707
-
1708
- class Boleto < Stripe::RequestParams
1709
- # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
1710
- attr_accessor :tax_id
1711
-
1712
- def initialize(tax_id: nil)
1713
- @tax_id = tax_id
1714
- end
1715
- end
1716
-
1717
- class Cashapp < Stripe::RequestParams
1718
- end
1719
-
1720
- class CustomerBalance < Stripe::RequestParams
1721
- end
1722
-
1723
- class Eps < Stripe::RequestParams
1724
- # The customer's bank.
1725
- attr_accessor :bank
1726
-
1727
- def initialize(bank: nil)
1728
- @bank = bank
1729
- end
1730
- end
1731
-
1732
- class Fpx < Stripe::RequestParams
1733
- # Account holder type for FPX transaction
1734
- attr_accessor :account_holder_type
1735
- # The customer's bank.
1736
- attr_accessor :bank
1737
-
1738
- def initialize(account_holder_type: nil, bank: nil)
1739
- @account_holder_type = account_holder_type
1740
- @bank = bank
1741
- end
1742
- end
1743
-
1744
- class Giropay < Stripe::RequestParams
1745
- end
1746
-
1747
- class Gopay < Stripe::RequestParams
1748
- end
1749
-
1750
- class Grabpay < Stripe::RequestParams
1751
- end
1752
-
1753
- class IdBankTransfer < Stripe::RequestParams
1754
- # Bank where the account is held.
1755
- attr_accessor :bank
1756
-
1757
- def initialize(bank: nil)
1758
- @bank = bank
1759
- end
1760
- end
1761
-
1762
- class Ideal < Stripe::RequestParams
1763
- # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
1764
- attr_accessor :bank
1765
-
1766
- def initialize(bank: nil)
1767
- @bank = bank
1768
- end
1769
- end
1770
-
1771
- class InteracPresent < Stripe::RequestParams
1772
- end
1773
-
1774
- class KakaoPay < Stripe::RequestParams
1775
- end
1776
-
1777
- class Klarna < Stripe::RequestParams
1778
- class Dob < Stripe::RequestParams
1779
- # The day of birth, between 1 and 31.
1780
- attr_accessor :day
1781
- # The month of birth, between 1 and 12.
1782
- attr_accessor :month
1783
- # The four-digit year of birth.
1784
- attr_accessor :year
1785
-
1786
- def initialize(day: nil, month: nil, year: nil)
1787
- @day = day
1788
- @month = month
1789
- @year = year
1790
- end
1791
- end
1792
- # Customer's date of birth
1793
- attr_accessor :dob
1794
-
1795
- def initialize(dob: nil)
1796
- @dob = dob
1797
- end
1798
- end
1799
-
1800
- class Konbini < Stripe::RequestParams
1801
- end
1802
-
1803
- class KrCard < Stripe::RequestParams
1804
- end
1805
-
1806
- class Link < Stripe::RequestParams
1807
- end
1808
-
1809
- class MbWay < Stripe::RequestParams
1810
- end
1811
-
1812
- class Mobilepay < Stripe::RequestParams
1813
- end
1814
-
1815
- class Multibanco < Stripe::RequestParams
1816
- end
1817
-
1818
- class NaverPay < Stripe::RequestParams
1819
- # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
1820
- attr_accessor :funding
1821
-
1822
- def initialize(funding: nil)
1823
- @funding = funding
1824
- end
1825
- end
1826
-
1827
- class Oxxo < Stripe::RequestParams
1828
- end
1829
-
1830
- class P24 < Stripe::RequestParams
1831
- # The customer's bank.
1832
- attr_accessor :bank
1833
-
1834
- def initialize(bank: nil)
1835
- @bank = bank
1836
- end
1837
- end
1838
-
1839
- class PayByBank < Stripe::RequestParams
1840
- end
1841
-
1842
- class Payco < Stripe::RequestParams
1843
- end
1844
-
1845
- class Paynow < Stripe::RequestParams
1846
- end
1847
-
1848
- class Paypal < Stripe::RequestParams
1849
- end
1850
-
1851
- class Payto < Stripe::RequestParams
1852
- # The account number for the bank account.
1853
- attr_accessor :account_number
1854
- # Bank-State-Branch number of the bank account.
1855
- attr_accessor :bsb_number
1856
- # The PayID alias for the bank account.
1857
- attr_accessor :pay_id
1858
-
1859
- def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
1860
- @account_number = account_number
1861
- @bsb_number = bsb_number
1862
- @pay_id = pay_id
1863
- end
1864
- end
1865
-
1866
- class Pix < Stripe::RequestParams
1867
- end
1868
-
1869
- class Promptpay < Stripe::RequestParams
1870
- end
1871
-
1872
- class Qris < Stripe::RequestParams
1873
- end
1874
-
1875
- class RadarOptions < Stripe::RequestParams
1876
- # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
1877
- attr_accessor :session
1878
-
1879
- def initialize(session: nil)
1880
- @session = session
1881
- end
1882
- end
1883
-
1884
- class Rechnung < Stripe::RequestParams
1885
- class Dob < Stripe::RequestParams
1886
- # The day of birth, between 1 and 31.
1887
- attr_accessor :day
1888
- # The month of birth, between 1 and 12.
1889
- attr_accessor :month
1890
- # The four-digit year of birth.
1891
- attr_accessor :year
1892
-
1893
- def initialize(day: nil, month: nil, year: nil)
1894
- @day = day
1895
- @month = month
1896
- @year = year
1897
- end
1898
- end
1899
- # Customer's date of birth
1900
- attr_accessor :dob
1901
-
1902
- def initialize(dob: nil)
1903
- @dob = dob
1904
- end
1905
- end
1906
-
1907
- class RevolutPay < Stripe::RequestParams
1908
- end
1909
-
1910
- class SamsungPay < Stripe::RequestParams
1911
- end
1912
-
1913
- class SepaDebit < Stripe::RequestParams
1914
- # IBAN of the bank account.
1915
- attr_accessor :iban
1916
-
1917
- def initialize(iban: nil)
1918
- @iban = iban
1919
- end
1920
- end
1921
-
1922
- class Shopeepay < Stripe::RequestParams
1923
- end
1924
-
1925
- class Sofort < Stripe::RequestParams
1926
- # Two-letter ISO code representing the country the bank account is located in.
1927
- attr_accessor :country
1928
-
1929
- def initialize(country: nil)
1930
- @country = country
1931
- end
1932
- end
1933
-
1934
- class Swish < Stripe::RequestParams
1935
- end
1936
-
1937
- class Twint < Stripe::RequestParams
1938
- end
1939
-
1940
- class UsBankAccount < Stripe::RequestParams
1941
- # Account holder type: individual or company.
1942
- attr_accessor :account_holder_type
1943
- # Account number of the bank account.
1944
- attr_accessor :account_number
1945
- # Account type: checkings or savings. Defaults to checking if omitted.
1946
- attr_accessor :account_type
1947
- # The ID of a Financial Connections Account to use as a payment method.
1948
- attr_accessor :financial_connections_account
1949
- # Routing number of the bank account.
1950
- attr_accessor :routing_number
1951
-
1952
- def initialize(
1953
- account_holder_type: nil,
1954
- account_number: nil,
1955
- account_type: nil,
1956
- financial_connections_account: nil,
1957
- routing_number: nil
1958
- )
1959
- @account_holder_type = account_holder_type
1960
- @account_number = account_number
1961
- @account_type = account_type
1962
- @financial_connections_account = financial_connections_account
1963
- @routing_number = routing_number
1964
- end
1965
- end
1966
-
1967
- class WechatPay < Stripe::RequestParams
1968
- end
1969
-
1970
- class Zip < Stripe::RequestParams
1971
- end
1972
- # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
1973
- attr_accessor :acss_debit
1974
- # If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
1975
- attr_accessor :affirm
1976
- # If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
1977
- attr_accessor :afterpay_clearpay
1978
- # If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.
1979
- attr_accessor :alipay
1980
- # 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`.
1981
- attr_accessor :allow_redisplay
1982
- # If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
1983
- attr_accessor :alma
1984
- # If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
1985
- attr_accessor :amazon_pay
1986
- # If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
1987
- attr_accessor :au_becs_debit
1988
- # If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
1989
- attr_accessor :bacs_debit
1990
- # If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
1991
- attr_accessor :bancontact
1992
- # Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
1993
- attr_accessor :billing_details
1994
- # If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
1995
- attr_accessor :blik
1996
- # If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.
1997
- attr_accessor :boleto
1998
- # If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
1999
- attr_accessor :cashapp
2000
- # If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
2001
- attr_accessor :customer_balance
2002
- # If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
2003
- attr_accessor :eps
2004
- # If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
2005
- attr_accessor :fpx
2006
- # If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
2007
- attr_accessor :giropay
2008
- # If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
2009
- attr_accessor :gopay
2010
- # If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
2011
- attr_accessor :grabpay
2012
- # If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
2013
- attr_accessor :id_bank_transfer
2014
- # If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
2015
- attr_accessor :ideal
2016
- # If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
2017
- attr_accessor :interac_present
2018
- # If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.
2019
- attr_accessor :kakao_pay
2020
- # If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.
2021
- attr_accessor :klarna
2022
- # If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.
2023
- attr_accessor :konbini
2024
- # If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.
2025
- attr_accessor :kr_card
2026
- # If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
2027
- attr_accessor :link
2028
- # If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
2029
- attr_accessor :mb_way
2030
- # 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`.
2031
- attr_accessor :metadata
2032
- # If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
2033
- attr_accessor :mobilepay
2034
- # If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
2035
- attr_accessor :multibanco
2036
- # If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
2037
- attr_accessor :naver_pay
2038
- # If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
2039
- attr_accessor :oxxo
2040
- # If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
2041
- attr_accessor :p24
2042
- # If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.
2043
- attr_accessor :pay_by_bank
2044
- # If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.
2045
- attr_accessor :payco
2046
- # If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.
2047
- attr_accessor :paynow
2048
- # If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
2049
- attr_accessor :paypal
2050
- # If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
2051
- attr_accessor :payto
2052
- # If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
2053
- attr_accessor :pix
2054
- # If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
2055
- attr_accessor :promptpay
2056
- # If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
2057
- attr_accessor :qris
2058
- # Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
2059
- attr_accessor :radar_options
2060
- # If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
2061
- attr_accessor :rechnung
2062
- # If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
2063
- attr_accessor :revolut_pay
2064
- # If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
2065
- attr_accessor :samsung_pay
2066
- # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
2067
- attr_accessor :sepa_debit
2068
- # If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
2069
- attr_accessor :shopeepay
2070
- # If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
2071
- attr_accessor :sofort
2072
- # If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
2073
- attr_accessor :swish
2074
- # If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
2075
- attr_accessor :twint
2076
- # 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.
2077
- attr_accessor :type
2078
- # If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
2079
- attr_accessor :us_bank_account
2080
- # If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
2081
- attr_accessor :wechat_pay
2082
- # If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
2083
- attr_accessor :zip
2084
-
2085
- def initialize(
2086
- acss_debit: nil,
2087
- affirm: nil,
2088
- afterpay_clearpay: nil,
2089
- alipay: nil,
2090
- allow_redisplay: nil,
2091
- alma: nil,
2092
- amazon_pay: nil,
2093
- au_becs_debit: nil,
2094
- bacs_debit: nil,
2095
- bancontact: nil,
2096
- billing_details: nil,
2097
- blik: nil,
2098
- boleto: nil,
2099
- cashapp: nil,
2100
- customer_balance: nil,
2101
- eps: nil,
2102
- fpx: nil,
2103
- giropay: nil,
2104
- gopay: nil,
2105
- grabpay: nil,
2106
- id_bank_transfer: nil,
2107
- ideal: nil,
2108
- interac_present: nil,
2109
- kakao_pay: nil,
2110
- klarna: nil,
2111
- konbini: nil,
2112
- kr_card: nil,
2113
- link: nil,
2114
- mb_way: nil,
2115
- metadata: nil,
2116
- mobilepay: nil,
2117
- multibanco: nil,
2118
- naver_pay: nil,
2119
- oxxo: nil,
2120
- p24: nil,
2121
- pay_by_bank: nil,
2122
- payco: nil,
2123
- paynow: nil,
2124
- paypal: nil,
2125
- payto: nil,
2126
- pix: nil,
2127
- promptpay: nil,
2128
- qris: nil,
2129
- radar_options: nil,
2130
- rechnung: nil,
2131
- revolut_pay: nil,
2132
- samsung_pay: nil,
2133
- sepa_debit: nil,
2134
- shopeepay: nil,
2135
- sofort: nil,
2136
- swish: nil,
2137
- twint: nil,
2138
- type: nil,
2139
- us_bank_account: nil,
2140
- wechat_pay: nil,
2141
- zip: nil
2142
- )
2143
- @acss_debit = acss_debit
2144
- @affirm = affirm
2145
- @afterpay_clearpay = afterpay_clearpay
2146
- @alipay = alipay
2147
- @allow_redisplay = allow_redisplay
2148
- @alma = alma
2149
- @amazon_pay = amazon_pay
2150
- @au_becs_debit = au_becs_debit
2151
- @bacs_debit = bacs_debit
2152
- @bancontact = bancontact
2153
- @billing_details = billing_details
2154
- @blik = blik
2155
- @boleto = boleto
2156
- @cashapp = cashapp
2157
- @customer_balance = customer_balance
2158
- @eps = eps
2159
- @fpx = fpx
2160
- @giropay = giropay
2161
- @gopay = gopay
2162
- @grabpay = grabpay
2163
- @id_bank_transfer = id_bank_transfer
2164
- @ideal = ideal
2165
- @interac_present = interac_present
2166
- @kakao_pay = kakao_pay
2167
- @klarna = klarna
2168
- @konbini = konbini
2169
- @kr_card = kr_card
2170
- @link = link
2171
- @mb_way = mb_way
2172
- @metadata = metadata
2173
- @mobilepay = mobilepay
2174
- @multibanco = multibanco
2175
- @naver_pay = naver_pay
2176
- @oxxo = oxxo
2177
- @p24 = p24
2178
- @pay_by_bank = pay_by_bank
2179
- @payco = payco
2180
- @paynow = paynow
2181
- @paypal = paypal
2182
- @payto = payto
2183
- @pix = pix
2184
- @promptpay = promptpay
2185
- @qris = qris
2186
- @radar_options = radar_options
2187
- @rechnung = rechnung
2188
- @revolut_pay = revolut_pay
2189
- @samsung_pay = samsung_pay
2190
- @sepa_debit = sepa_debit
2191
- @shopeepay = shopeepay
2192
- @sofort = sofort
2193
- @swish = swish
2194
- @twint = twint
2195
- @type = type
2196
- @us_bank_account = us_bank_account
2197
- @wechat_pay = wechat_pay
2198
- @zip = zip
2199
- end
2200
- end
2201
-
2202
- class PaymentMethodOptions < Stripe::RequestParams
2203
- class AcssDebit < Stripe::RequestParams
2204
- class MandateOptions < Stripe::RequestParams
2205
- # A URL for custom mandate text to render during confirmation step.
2206
- # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,
2207
- # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
2208
- attr_accessor :custom_mandate_url
2209
- # List of Stripe products where this mandate can be selected automatically.
2210
- attr_accessor :default_for
2211
- # Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
2212
- attr_accessor :interval_description
2213
- # Payment schedule for the mandate.
2214
- attr_accessor :payment_schedule
2215
- # Transaction type of the mandate.
2216
- attr_accessor :transaction_type
2217
-
2218
- def initialize(
2219
- custom_mandate_url: nil,
2220
- default_for: nil,
2221
- interval_description: nil,
2222
- payment_schedule: nil,
2223
- transaction_type: nil
2224
- )
2225
- @custom_mandate_url = custom_mandate_url
2226
- @default_for = default_for
2227
- @interval_description = interval_description
2228
- @payment_schedule = payment_schedule
2229
- @transaction_type = transaction_type
2230
- end
2231
- end
2232
- # 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).
2233
- attr_accessor :currency
2234
- # Additional fields for Mandate creation
2235
- attr_accessor :mandate_options
2236
- # Bank account verification method.
2237
- attr_accessor :verification_method
2238
-
2239
- def initialize(currency: nil, mandate_options: nil, verification_method: nil)
2240
- @currency = currency
2241
- @mandate_options = mandate_options
2242
- @verification_method = verification_method
2243
- end
2244
- end
2245
-
2246
- class AmazonPay < Stripe::RequestParams
2247
- end
2248
-
2249
- class BacsDebit < Stripe::RequestParams
2250
- class MandateOptions < Stripe::RequestParams
2251
- # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
2252
- attr_accessor :reference_prefix
2253
-
2254
- def initialize(reference_prefix: nil)
2255
- @reference_prefix = reference_prefix
2256
- end
2257
- end
2258
- # Additional fields for Mandate creation
2259
- attr_accessor :mandate_options
2260
-
2261
- def initialize(mandate_options: nil)
2262
- @mandate_options = mandate_options
2263
- end
2264
- end
2265
-
2266
- class Card < Stripe::RequestParams
2267
- class MandateOptions < Stripe::RequestParams
2268
- # Amount to be charged for future payments.
2269
- attr_accessor :amount
2270
- # 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.
2271
- attr_accessor :amount_type
2272
- # 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).
2273
- attr_accessor :currency
2274
- # A description of the mandate or subscription that is meant to be displayed to the customer.
2275
- attr_accessor :description
2276
- # 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.
2277
- attr_accessor :end_date
2278
- # Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
2279
- attr_accessor :interval
2280
- # 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`.
2281
- attr_accessor :interval_count
2282
- # Unique identifier for the mandate or subscription.
2283
- attr_accessor :reference
2284
- # Start date of the mandate or subscription. Start date should not be lesser than yesterday.
2285
- attr_accessor :start_date
2286
- # Specifies the type of mandates supported. Possible values are `india`.
2287
- attr_accessor :supported_types
2288
-
2289
- def initialize(
2290
- amount: nil,
2291
- amount_type: nil,
2292
- currency: nil,
2293
- description: nil,
2294
- end_date: nil,
2295
- interval: nil,
2296
- interval_count: nil,
2297
- reference: nil,
2298
- start_date: nil,
2299
- supported_types: nil
2300
- )
2301
- @amount = amount
2302
- @amount_type = amount_type
2303
- @currency = currency
2304
- @description = description
2305
- @end_date = end_date
2306
- @interval = interval
2307
- @interval_count = interval_count
2308
- @reference = reference
2309
- @start_date = start_date
2310
- @supported_types = supported_types
2311
- end
2312
- end
2313
-
2314
- class ThreeDSecure < Stripe::RequestParams
2315
- class NetworkOptions < Stripe::RequestParams
2316
- class CartesBancaires < Stripe::RequestParams
2317
- # The cryptogram calculation algorithm used by the card Issuer's ACS
2318
- # to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`.
2319
- # messageExtension: CB-AVALGO
2320
- attr_accessor :cb_avalgo
2321
- # The exemption indicator returned from Cartes Bancaires in the ARes.
2322
- # message extension: CB-EXEMPTION; string (4 characters)
2323
- # This is a 3 byte bitmap (low significant byte first and most significant
2324
- # bit first) that has been Base64 encoded
2325
- attr_accessor :cb_exemption
2326
- # The risk score returned from Cartes Bancaires in the ARes.
2327
- # message extension: CB-SCORE; numeric value 0-99
2328
- attr_accessor :cb_score
2329
-
2330
- def initialize(cb_avalgo: nil, cb_exemption: nil, cb_score: nil)
2331
- @cb_avalgo = cb_avalgo
2332
- @cb_exemption = cb_exemption
2333
- @cb_score = cb_score
2334
- end
2335
- end
2336
- # Cartes Bancaires-specific 3DS fields.
2337
- attr_accessor :cartes_bancaires
2338
-
2339
- def initialize(cartes_bancaires: nil)
2340
- @cartes_bancaires = cartes_bancaires
2341
- end
2342
- end
2343
- # The `transStatus` returned from the card Issuer’s ACS in the ARes.
2344
- attr_accessor :ares_trans_status
2345
- # The cryptogram, also known as the "authentication value" (AAV, CAVV or
2346
- # AEVV). This value is 20 bytes, base64-encoded into a 28-character string.
2347
- # (Most 3D Secure providers will return the base64-encoded version, which
2348
- # is what you should specify here.)
2349
- attr_accessor :cryptogram
2350
- # The Electronic Commerce Indicator (ECI) is returned by your 3D Secure
2351
- # provider and indicates what degree of authentication was performed.
2352
- attr_accessor :electronic_commerce_indicator
2353
- # Network specific 3DS fields. Network specific arguments require an
2354
- # explicit card brand choice. The parameter `payment_method_options.card.network``
2355
- # must be populated accordingly
2356
- attr_accessor :network_options
2357
- # The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the
2358
- # AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99.
2359
- attr_accessor :requestor_challenge_indicator
2360
- # For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server
2361
- # Transaction ID (dsTransID).
2362
- attr_accessor :transaction_id
2363
- # The version of 3D Secure that was performed.
2364
- attr_accessor :version
2365
-
2366
- def initialize(
2367
- ares_trans_status: nil,
2368
- cryptogram: nil,
2369
- electronic_commerce_indicator: nil,
2370
- network_options: nil,
2371
- requestor_challenge_indicator: nil,
2372
- transaction_id: nil,
2373
- version: nil
2374
- )
2375
- @ares_trans_status = ares_trans_status
2376
- @cryptogram = cryptogram
2377
- @electronic_commerce_indicator = electronic_commerce_indicator
2378
- @network_options = network_options
2379
- @requestor_challenge_indicator = requestor_challenge_indicator
2380
- @transaction_id = transaction_id
2381
- @version = version
2382
- end
2383
- end
2384
- # Configuration options for setting up an eMandate for cards issued in India.
2385
- attr_accessor :mandate_options
2386
- # When specified, this parameter signals that a card has been collected
2387
- # as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This
2388
- # parameter can only be provided during confirmation.
2389
- attr_accessor :moto
2390
- # 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.
2391
- attr_accessor :network
2392
- # 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.
2393
- attr_accessor :request_three_d_secure
2394
- # If 3D Secure authentication was performed with a third-party provider,
2395
- # the authentication details to use for this setup.
2396
- attr_accessor :three_d_secure
2397
-
2398
- def initialize(
2399
- mandate_options: nil,
2400
- moto: nil,
2401
- network: nil,
2402
- request_three_d_secure: nil,
2403
- three_d_secure: nil
2404
- )
2405
- @mandate_options = mandate_options
2406
- @moto = moto
2407
- @network = network
2408
- @request_three_d_secure = request_three_d_secure
2409
- @three_d_secure = three_d_secure
2410
- end
2411
- end
2412
-
2413
- class CardPresent < Stripe::RequestParams
2414
- end
2415
-
2416
- class Link < Stripe::RequestParams
2417
- # [Deprecated] This is a legacy parameter that no longer has any function.
2418
- attr_accessor :persistent_token
2419
-
2420
- def initialize(persistent_token: nil)
2421
- @persistent_token = persistent_token
2422
- end
2423
- end
2424
-
2425
- class Paypal < Stripe::RequestParams
2426
- # The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
2427
- attr_accessor :billing_agreement_id
2428
- # Attribute for param field currency
2429
- attr_accessor :currency
2430
- # 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.
2431
- attr_accessor :subsellers
2432
-
2433
- def initialize(billing_agreement_id: nil, currency: nil, subsellers: nil)
2434
- @billing_agreement_id = billing_agreement_id
2435
- @currency = currency
2436
- @subsellers = subsellers
2437
- end
2438
- end
2439
-
2440
- class Payto < Stripe::RequestParams
2441
- class MandateOptions < Stripe::RequestParams
2442
- # Amount that will be collected. It is required when `amount_type` is `fixed`.
2443
- attr_accessor :amount
2444
- # 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.
2445
- attr_accessor :amount_type
2446
- # Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
2447
- attr_accessor :end_date
2448
- # The periodicity at which payments will be collected.
2449
- attr_accessor :payment_schedule
2450
- # 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.
2451
- attr_accessor :payments_per_period
2452
- # The purpose for which payments are made. Defaults to retail.
2453
- attr_accessor :purpose
2454
- # Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
2455
- attr_accessor :start_date
2456
-
2457
- def initialize(
2458
- amount: nil,
2459
- amount_type: nil,
2460
- end_date: nil,
2461
- payment_schedule: nil,
2462
- payments_per_period: nil,
2463
- purpose: nil,
2464
- start_date: nil
2465
- )
2466
- @amount = amount
2467
- @amount_type = amount_type
2468
- @end_date = end_date
2469
- @payment_schedule = payment_schedule
2470
- @payments_per_period = payments_per_period
2471
- @purpose = purpose
2472
- @start_date = start_date
2473
- end
2474
- end
2475
- # Additional fields for Mandate creation.
2476
- attr_accessor :mandate_options
2477
-
2478
- def initialize(mandate_options: nil)
2479
- @mandate_options = mandate_options
2480
- end
2481
- end
2482
-
2483
- class SepaDebit < Stripe::RequestParams
2484
- class MandateOptions < Stripe::RequestParams
2485
- # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.
2486
- attr_accessor :reference_prefix
2487
-
2488
- def initialize(reference_prefix: nil)
2489
- @reference_prefix = reference_prefix
2490
- end
2491
- end
2492
- # Additional fields for Mandate creation
2493
- attr_accessor :mandate_options
2494
-
2495
- def initialize(mandate_options: nil)
2496
- @mandate_options = mandate_options
2497
- end
2498
- end
2499
-
2500
- class UsBankAccount < Stripe::RequestParams
2501
- class FinancialConnections < Stripe::RequestParams
2502
- class Filters < Stripe::RequestParams
2503
- # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
2504
- attr_accessor :account_subcategories
2505
- # ID of the institution to use to filter for selectable accounts.
2506
- attr_accessor :institution
2507
-
2508
- def initialize(account_subcategories: nil, institution: nil)
2509
- @account_subcategories = account_subcategories
2510
- @institution = institution
2511
- end
2512
- end
2513
-
2514
- class ManualEntry < Stripe::RequestParams
2515
- # Settings for configuring manual entry of account details.
2516
- attr_accessor :mode
2517
-
2518
- def initialize(mode: nil)
2519
- @mode = mode
2520
- end
2521
- end
2522
- # Provide filters for the linked accounts that the customer can select for the payment method
2523
- attr_accessor :filters
2524
- # Customize manual entry behavior
2525
- attr_accessor :manual_entry
2526
- # 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`.
2527
- attr_accessor :permissions
2528
- # List of data features that you would like to retrieve upon account creation.
2529
- attr_accessor :prefetch
2530
- # 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.
2531
- attr_accessor :return_url
2532
-
2533
- def initialize(
2534
- filters: nil,
2535
- manual_entry: nil,
2536
- permissions: nil,
2537
- prefetch: nil,
2538
- return_url: nil
2539
- )
2540
- @filters = filters
2541
- @manual_entry = manual_entry
2542
- @permissions = permissions
2543
- @prefetch = prefetch
2544
- @return_url = return_url
2545
- end
2546
- end
2547
-
2548
- class MandateOptions < Stripe::RequestParams
2549
- # The method used to collect offline mandate customer acceptance.
2550
- attr_accessor :collection_method
2551
-
2552
- def initialize(collection_method: nil)
2553
- @collection_method = collection_method
2554
- end
2555
- end
2556
-
2557
- class Networks < Stripe::RequestParams
2558
- # Triggers validations to run across the selected networks
2559
- attr_accessor :requested
2560
-
2561
- def initialize(requested: nil)
2562
- @requested = requested
2563
- end
2564
- end
2565
- # Additional fields for Financial Connections Session creation
2566
- attr_accessor :financial_connections
2567
- # Additional fields for Mandate creation
2568
- attr_accessor :mandate_options
2569
- # Additional fields for network related functions
2570
- attr_accessor :networks
2571
- # Bank account verification method.
2572
- attr_accessor :verification_method
2573
-
2574
- def initialize(
2575
- financial_connections: nil,
2576
- mandate_options: nil,
2577
- networks: nil,
2578
- verification_method: nil
2579
- )
2580
- @financial_connections = financial_connections
2581
- @mandate_options = mandate_options
2582
- @networks = networks
2583
- @verification_method = verification_method
2584
- end
2585
- end
2586
- # If this is a `acss_debit` SetupIntent, this sub-hash contains details about the ACSS Debit payment method options.
2587
- attr_accessor :acss_debit
2588
- # If this is a `amazon_pay` SetupIntent, this sub-hash contains details about the AmazonPay payment method options.
2589
- attr_accessor :amazon_pay
2590
- # If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.
2591
- attr_accessor :bacs_debit
2592
- # Configuration for any card setup attempted on this SetupIntent.
2593
- attr_accessor :card
2594
- # If this is a `card_present` PaymentMethod, this sub-hash contains details about the card-present payment method options.
2595
- attr_accessor :card_present
2596
- # If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.
2597
- attr_accessor :link
2598
- # If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
2599
- attr_accessor :paypal
2600
- # If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
2601
- attr_accessor :payto
2602
- # If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
2603
- attr_accessor :sepa_debit
2604
- # If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
2605
- attr_accessor :us_bank_account
2606
-
2607
- def initialize(
2608
- acss_debit: nil,
2609
- amazon_pay: nil,
2610
- bacs_debit: nil,
2611
- card: nil,
2612
- card_present: nil,
2613
- link: nil,
2614
- paypal: nil,
2615
- payto: nil,
2616
- sepa_debit: nil,
2617
- us_bank_account: nil
2618
- )
2619
- @acss_debit = acss_debit
2620
- @amazon_pay = amazon_pay
2621
- @bacs_debit = bacs_debit
2622
- @card = card
2623
- @card_present = card_present
2624
- @link = link
2625
- @paypal = paypal
2626
- @payto = payto
2627
- @sepa_debit = sepa_debit
2628
- @us_bank_account = us_bank_account
2629
- end
2630
- end
2631
- # If present, the SetupIntent's payment method will be attached to the in-context Stripe Account.
2632
- #
2633
- # 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.
2634
- attr_accessor :attach_to_self
2635
- # ID of the Customer this SetupIntent belongs to, if one exists.
2636
- #
2637
- # 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.
2638
- attr_accessor :customer
2639
- # An arbitrary string attached to the object. Often useful for displaying to users.
2640
- attr_accessor :description
2641
- # Specifies which fields in the response should be expanded.
2642
- attr_accessor :expand
2643
- # Indicates the directions of money movement for which this payment method is intended to be used.
2644
- #
2645
- # 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.
2646
- attr_accessor :flow_directions
2647
- # 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`.
2648
- attr_accessor :metadata
2649
- # 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.
2650
- attr_accessor :payment_method
2651
- # The ID of the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) to use with this SetupIntent.
2652
- attr_accessor :payment_method_configuration
2653
- # 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)
2654
- # value in the SetupIntent.
2655
- attr_accessor :payment_method_data
2656
- # Payment method-specific configuration for this SetupIntent.
2657
- attr_accessor :payment_method_options
2658
- # 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).
2659
- attr_accessor :payment_method_types
2660
-
2661
- def initialize(
2662
- attach_to_self: nil,
2663
- customer: nil,
2664
- description: nil,
2665
- expand: nil,
2666
- flow_directions: nil,
2667
- metadata: nil,
2668
- payment_method: nil,
2669
- payment_method_configuration: nil,
2670
- payment_method_data: nil,
2671
- payment_method_options: nil,
2672
- payment_method_types: nil
2673
- )
2674
- @attach_to_self = attach_to_self
2675
- @customer = customer
2676
- @description = description
2677
- @expand = expand
2678
- @flow_directions = flow_directions
2679
- @metadata = metadata
2680
- @payment_method = payment_method
2681
- @payment_method_configuration = payment_method_configuration
2682
- @payment_method_data = payment_method_data
2683
- @payment_method_options = payment_method_options
2684
- @payment_method_types = payment_method_types
2685
- end
2686
- end
2687
-
2688
- class CancelParams < Stripe::RequestParams
2689
- # Reason for canceling this SetupIntent. Possible values are: `abandoned`, `requested_by_customer`, or `duplicate`
2690
- attr_accessor :cancellation_reason
2691
- # Specifies which fields in the response should be expanded.
2692
- attr_accessor :expand
2693
-
2694
- def initialize(cancellation_reason: nil, expand: nil)
2695
- @cancellation_reason = cancellation_reason
2696
- @expand = expand
2697
- end
2698
- end
2699
-
2700
- class ConfirmParams < Stripe::RequestParams
2701
- class MandateData < Stripe::RequestParams
2702
- class CustomerAcceptance < Stripe::RequestParams
2703
- class Offline < Stripe::RequestParams
2704
- end
2705
-
2706
- class Online < Stripe::RequestParams
2707
- # The IP address from which the Mandate was accepted by the customer.
2708
- attr_accessor :ip_address
2709
- # The user agent of the browser from which the Mandate was accepted by the customer.
2710
- attr_accessor :user_agent
2711
-
2712
- def initialize(ip_address: nil, user_agent: nil)
2713
- @ip_address = ip_address
2714
- @user_agent = user_agent
2715
- end
2716
- end
2717
- # The time at which the customer accepted the Mandate.
2718
- attr_accessor :accepted_at
2719
- # If this is a Mandate accepted offline, this hash contains details about the offline acceptance.
2720
- attr_accessor :offline
2721
- # If this is a Mandate accepted online, this hash contains details about the online acceptance.
2722
- attr_accessor :online
2723
- # The type of customer acceptance information included with the Mandate. One of `online` or `offline`.
2724
- attr_accessor :type
2725
-
2726
- def initialize(accepted_at: nil, offline: nil, online: nil, type: nil)
2727
- @accepted_at = accepted_at
2728
- @offline = offline
2729
- @online = online
2730
- @type = type
2731
- end
2732
- end
2733
- # This hash contains details about the customer acceptance of the Mandate.
2734
- attr_accessor :customer_acceptance
2735
-
2736
- def initialize(customer_acceptance: nil)
2737
- @customer_acceptance = customer_acceptance
2738
- end
2739
- end
2740
-
2741
- class PaymentMethodData < Stripe::RequestParams
2742
- class AcssDebit < Stripe::RequestParams
2743
- # Customer's bank account number.
2744
- attr_accessor :account_number
2745
- # Institution number of the customer's bank.
2746
- attr_accessor :institution_number
2747
- # Transit number of the customer's bank.
2748
- attr_accessor :transit_number
2749
-
2750
- def initialize(account_number: nil, institution_number: nil, transit_number: nil)
2751
- @account_number = account_number
2752
- @institution_number = institution_number
2753
- @transit_number = transit_number
2754
- end
2755
- end
2756
-
2757
- class Affirm < Stripe::RequestParams
2758
- end
2759
-
2760
- class AfterpayClearpay < Stripe::RequestParams
2761
- end
2762
-
2763
- class Alipay < Stripe::RequestParams
2764
- end
2765
-
2766
- class Alma < Stripe::RequestParams
2767
- end
2768
-
2769
- class AmazonPay < Stripe::RequestParams
2770
- end
2771
-
2772
- class AuBecsDebit < Stripe::RequestParams
2773
- # The account number for the bank account.
2774
- attr_accessor :account_number
2775
- # Bank-State-Branch number of the bank account.
2776
- attr_accessor :bsb_number
2777
-
2778
- def initialize(account_number: nil, bsb_number: nil)
2779
- @account_number = account_number
2780
- @bsb_number = bsb_number
2781
- end
2782
- end
2783
-
2784
- class BacsDebit < Stripe::RequestParams
2785
- # Account number of the bank account that the funds will be debited from.
2786
- attr_accessor :account_number
2787
- # Sort code of the bank account. (e.g., `10-20-30`)
2788
- attr_accessor :sort_code
2789
-
2790
- def initialize(account_number: nil, sort_code: nil)
2791
- @account_number = account_number
2792
- @sort_code = sort_code
2793
- end
2794
- end
2795
-
2796
- class Bancontact < Stripe::RequestParams
2797
- end
2798
-
2799
- class BillingDetails < Stripe::RequestParams
2800
- class Address < Stripe::RequestParams
2801
- # City, district, suburb, town, or village.
2802
- attr_accessor :city
2803
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2804
- attr_accessor :country
2805
- # Address line 1 (e.g., street, PO Box, or company name).
2806
- attr_accessor :line1
2807
- # Address line 2 (e.g., apartment, suite, unit, or building).
2808
- attr_accessor :line2
2809
- # ZIP or postal code.
2810
- attr_accessor :postal_code
2811
- # State, county, province, or region.
2812
- attr_accessor :state
2813
-
2814
- def initialize(
2815
- city: nil,
2816
- country: nil,
2817
- line1: nil,
2818
- line2: nil,
2819
- postal_code: nil,
2820
- state: nil
2821
- )
2822
- @city = city
2823
- @country = country
2824
- @line1 = line1
2825
- @line2 = line2
2826
- @postal_code = postal_code
2827
- @state = state
2828
- end
2829
- end
2830
- # Billing address.
2831
- attr_accessor :address
2832
- # Email address.
2833
- attr_accessor :email
2834
- # Full name.
2835
- attr_accessor :name
2836
- # Billing phone number (including extension).
2837
- attr_accessor :phone
2838
-
2839
- def initialize(address: nil, email: nil, name: nil, phone: nil)
2840
- @address = address
2841
- @email = email
2842
- @name = name
2843
- @phone = phone
2844
- end
2845
- end
2846
-
2847
- class Blik < Stripe::RequestParams
2848
- end
2849
-
2850
- class Boleto < Stripe::RequestParams
2851
- # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
2852
- attr_accessor :tax_id
2853
-
2854
- def initialize(tax_id: nil)
2855
- @tax_id = tax_id
2856
- end
2857
- end
2858
-
2859
- class Cashapp < Stripe::RequestParams
2860
- end
2861
-
2862
- class CustomerBalance < Stripe::RequestParams
2863
- end
2864
-
2865
- class Eps < Stripe::RequestParams
2866
- # The customer's bank.
2867
- attr_accessor :bank
2868
-
2869
- def initialize(bank: nil)
2870
- @bank = bank
2871
- end
2872
- end
2873
-
2874
- class Fpx < Stripe::RequestParams
2875
- # Account holder type for FPX transaction
2876
- attr_accessor :account_holder_type
2877
- # The customer's bank.
2878
- attr_accessor :bank
2879
-
2880
- def initialize(account_holder_type: nil, bank: nil)
2881
- @account_holder_type = account_holder_type
2882
- @bank = bank
2883
- end
2884
- end
2885
-
2886
- class Giropay < Stripe::RequestParams
2887
- end
2888
-
2889
- class Gopay < Stripe::RequestParams
2890
- end
2891
-
2892
- class Grabpay < Stripe::RequestParams
2893
- end
2894
-
2895
- class IdBankTransfer < Stripe::RequestParams
2896
- # Bank where the account is held.
2897
- attr_accessor :bank
2898
-
2899
- def initialize(bank: nil)
2900
- @bank = bank
2901
- end
2902
- end
2903
-
2904
- class Ideal < Stripe::RequestParams
2905
- # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
2906
- attr_accessor :bank
2907
-
2908
- def initialize(bank: nil)
2909
- @bank = bank
2910
- end
2911
- end
2912
-
2913
- class InteracPresent < Stripe::RequestParams
2914
- end
2915
-
2916
- class KakaoPay < Stripe::RequestParams
2917
- end
2918
-
2919
- class Klarna < Stripe::RequestParams
2920
- class Dob < Stripe::RequestParams
2921
- # The day of birth, between 1 and 31.
2922
- attr_accessor :day
2923
- # The month of birth, between 1 and 12.
2924
- attr_accessor :month
2925
- # The four-digit year of birth.
2926
- attr_accessor :year
2927
-
2928
- def initialize(day: nil, month: nil, year: nil)
2929
- @day = day
2930
- @month = month
2931
- @year = year
2932
- end
2933
- end
2934
- # Customer's date of birth
2935
- attr_accessor :dob
2936
-
2937
- def initialize(dob: nil)
2938
- @dob = dob
2939
- end
2940
- end
2941
-
2942
- class Konbini < Stripe::RequestParams
2943
- end
2944
-
2945
- class KrCard < Stripe::RequestParams
2946
- end
2947
-
2948
- class Link < Stripe::RequestParams
2949
- end
2950
-
2951
- class MbWay < Stripe::RequestParams
2952
- end
2953
-
2954
- class Mobilepay < Stripe::RequestParams
2955
- end
2956
-
2957
- class Multibanco < Stripe::RequestParams
2958
- end
2959
-
2960
- class NaverPay < Stripe::RequestParams
2961
- # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
2962
- attr_accessor :funding
2963
-
2964
- def initialize(funding: nil)
2965
- @funding = funding
2966
- end
2967
- end
2968
-
2969
- class Oxxo < Stripe::RequestParams
2970
- end
2971
-
2972
- class P24 < Stripe::RequestParams
2973
- # The customer's bank.
2974
- attr_accessor :bank
2975
-
2976
- def initialize(bank: nil)
2977
- @bank = bank
2978
- end
2979
- end
2980
-
2981
- class PayByBank < Stripe::RequestParams
2982
- end
2983
-
2984
- class Payco < Stripe::RequestParams
2985
- end
2986
-
2987
- class Paynow < Stripe::RequestParams
2988
- end
2989
-
2990
- class Paypal < Stripe::RequestParams
2991
- end
2992
-
2993
- class Payto < Stripe::RequestParams
2994
- # The account number for the bank account.
2995
- attr_accessor :account_number
2996
- # Bank-State-Branch number of the bank account.
2997
- attr_accessor :bsb_number
2998
- # The PayID alias for the bank account.
2999
- attr_accessor :pay_id
3000
-
3001
- def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
3002
- @account_number = account_number
3003
- @bsb_number = bsb_number
3004
- @pay_id = pay_id
3005
- end
3006
- end
3007
-
3008
- class Pix < Stripe::RequestParams
3009
- end
3010
-
3011
- class Promptpay < Stripe::RequestParams
3012
- end
3013
-
3014
- class Qris < Stripe::RequestParams
3015
- end
3016
-
3017
- class RadarOptions < Stripe::RequestParams
3018
- # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
3019
- attr_accessor :session
3020
-
3021
- def initialize(session: nil)
3022
- @session = session
3023
- end
3024
- end
3025
-
3026
- class Rechnung < Stripe::RequestParams
3027
- class Dob < Stripe::RequestParams
3028
- # The day of birth, between 1 and 31.
3029
- attr_accessor :day
3030
- # The month of birth, between 1 and 12.
3031
- attr_accessor :month
3032
- # The four-digit year of birth.
3033
- attr_accessor :year
3034
-
3035
- def initialize(day: nil, month: nil, year: nil)
3036
- @day = day
3037
- @month = month
3038
- @year = year
3039
- end
3040
- end
3041
- # Customer's date of birth
3042
- attr_accessor :dob
3043
-
3044
- def initialize(dob: nil)
3045
- @dob = dob
3046
- end
3047
- end
3048
-
3049
- class RevolutPay < Stripe::RequestParams
3050
- end
3051
-
3052
- class SamsungPay < Stripe::RequestParams
3053
- end
3054
-
3055
- class SepaDebit < Stripe::RequestParams
3056
- # IBAN of the bank account.
3057
- attr_accessor :iban
3058
-
3059
- def initialize(iban: nil)
3060
- @iban = iban
3061
- end
3062
- end
3063
-
3064
- class Shopeepay < Stripe::RequestParams
3065
- end
3066
-
3067
- class Sofort < Stripe::RequestParams
3068
- # Two-letter ISO code representing the country the bank account is located in.
3069
- attr_accessor :country
3070
-
3071
- def initialize(country: nil)
3072
- @country = country
3073
- end
3074
- end
3075
-
3076
- class Swish < Stripe::RequestParams
3077
- end
3078
-
3079
- class Twint < Stripe::RequestParams
3080
- end
3081
-
3082
- class UsBankAccount < Stripe::RequestParams
3083
- # Account holder type: individual or company.
3084
- attr_accessor :account_holder_type
3085
- # Account number of the bank account.
3086
- attr_accessor :account_number
3087
- # Account type: checkings or savings. Defaults to checking if omitted.
3088
- attr_accessor :account_type
3089
- # The ID of a Financial Connections Account to use as a payment method.
3090
- attr_accessor :financial_connections_account
3091
- # Routing number of the bank account.
3092
- attr_accessor :routing_number
3093
-
3094
- def initialize(
3095
- account_holder_type: nil,
3096
- account_number: nil,
3097
- account_type: nil,
3098
- financial_connections_account: nil,
3099
- routing_number: nil
3100
- )
3101
- @account_holder_type = account_holder_type
3102
- @account_number = account_number
3103
- @account_type = account_type
3104
- @financial_connections_account = financial_connections_account
3105
- @routing_number = routing_number
3106
- end
3107
- end
3108
-
3109
- class WechatPay < Stripe::RequestParams
3110
- end
3111
-
3112
- class Zip < Stripe::RequestParams
3113
- end
3114
- # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
3115
- attr_accessor :acss_debit
3116
- # If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
3117
- attr_accessor :affirm
3118
- # If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
3119
- attr_accessor :afterpay_clearpay
3120
- # If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.
3121
- attr_accessor :alipay
3122
- # 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`.
3123
- attr_accessor :allow_redisplay
3124
- # If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
3125
- attr_accessor :alma
3126
- # If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
3127
- attr_accessor :amazon_pay
3128
- # If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
3129
- attr_accessor :au_becs_debit
3130
- # If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
3131
- attr_accessor :bacs_debit
3132
- # If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
3133
- attr_accessor :bancontact
3134
- # Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
3135
- attr_accessor :billing_details
3136
- # If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
3137
- attr_accessor :blik
3138
- # If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.
3139
- attr_accessor :boleto
3140
- # If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
3141
- attr_accessor :cashapp
3142
- # If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
3143
- attr_accessor :customer_balance
3144
- # If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
3145
- attr_accessor :eps
3146
- # If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
3147
- attr_accessor :fpx
3148
- # If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
3149
- attr_accessor :giropay
3150
- # If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
3151
- attr_accessor :gopay
3152
- # If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
3153
- attr_accessor :grabpay
3154
- # If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
3155
- attr_accessor :id_bank_transfer
3156
- # If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
3157
- attr_accessor :ideal
3158
- # If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
3159
- attr_accessor :interac_present
3160
- # If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.
3161
- attr_accessor :kakao_pay
3162
- # If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.
3163
- attr_accessor :klarna
3164
- # If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.
3165
- attr_accessor :konbini
3166
- # If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.
3167
- attr_accessor :kr_card
3168
- # If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
3169
- attr_accessor :link
3170
- # If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
3171
- attr_accessor :mb_way
3172
- # 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`.
3173
- attr_accessor :metadata
3174
- # If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
3175
- attr_accessor :mobilepay
3176
- # If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
3177
- attr_accessor :multibanco
3178
- # If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
3179
- attr_accessor :naver_pay
3180
- # If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
3181
- attr_accessor :oxxo
3182
- # If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
3183
- attr_accessor :p24
3184
- # If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.
3185
- attr_accessor :pay_by_bank
3186
- # If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.
3187
- attr_accessor :payco
3188
- # If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.
3189
- attr_accessor :paynow
3190
- # If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
3191
- attr_accessor :paypal
3192
- # If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
3193
- attr_accessor :payto
3194
- # If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
3195
- attr_accessor :pix
3196
- # If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
3197
- attr_accessor :promptpay
3198
- # If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
3199
- attr_accessor :qris
3200
- # Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
3201
- attr_accessor :radar_options
3202
- # If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
3203
- attr_accessor :rechnung
3204
- # If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
3205
- attr_accessor :revolut_pay
3206
- # If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
3207
- attr_accessor :samsung_pay
3208
- # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
3209
- attr_accessor :sepa_debit
3210
- # If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
3211
- attr_accessor :shopeepay
3212
- # If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
3213
- attr_accessor :sofort
3214
- # If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
3215
- attr_accessor :swish
3216
- # If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
3217
- attr_accessor :twint
3218
- # 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.
3219
- attr_accessor :type
3220
- # If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
3221
- attr_accessor :us_bank_account
3222
- # If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
3223
- attr_accessor :wechat_pay
3224
- # If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
3225
- attr_accessor :zip
3226
-
3227
- def initialize(
3228
- acss_debit: nil,
3229
- affirm: nil,
3230
- afterpay_clearpay: nil,
3231
- alipay: nil,
3232
- allow_redisplay: nil,
3233
- alma: nil,
3234
- amazon_pay: nil,
3235
- au_becs_debit: nil,
3236
- bacs_debit: nil,
3237
- bancontact: nil,
3238
- billing_details: nil,
3239
- blik: nil,
3240
- boleto: nil,
3241
- cashapp: nil,
3242
- customer_balance: nil,
3243
- eps: nil,
3244
- fpx: nil,
3245
- giropay: nil,
3246
- gopay: nil,
3247
- grabpay: nil,
3248
- id_bank_transfer: nil,
3249
- ideal: nil,
3250
- interac_present: nil,
3251
- kakao_pay: nil,
3252
- klarna: nil,
3253
- konbini: nil,
3254
- kr_card: nil,
3255
- link: nil,
3256
- mb_way: nil,
3257
- metadata: nil,
3258
- mobilepay: nil,
3259
- multibanco: nil,
3260
- naver_pay: nil,
3261
- oxxo: nil,
3262
- p24: nil,
3263
- pay_by_bank: nil,
3264
- payco: nil,
3265
- paynow: nil,
3266
- paypal: nil,
3267
- payto: nil,
3268
- pix: nil,
3269
- promptpay: nil,
3270
- qris: nil,
3271
- radar_options: nil,
3272
- rechnung: nil,
3273
- revolut_pay: nil,
3274
- samsung_pay: nil,
3275
- sepa_debit: nil,
3276
- shopeepay: nil,
3277
- sofort: nil,
3278
- swish: nil,
3279
- twint: nil,
3280
- type: nil,
3281
- us_bank_account: nil,
3282
- wechat_pay: nil,
3283
- zip: nil
3284
- )
3285
- @acss_debit = acss_debit
3286
- @affirm = affirm
3287
- @afterpay_clearpay = afterpay_clearpay
3288
- @alipay = alipay
3289
- @allow_redisplay = allow_redisplay
3290
- @alma = alma
3291
- @amazon_pay = amazon_pay
3292
- @au_becs_debit = au_becs_debit
3293
- @bacs_debit = bacs_debit
3294
- @bancontact = bancontact
3295
- @billing_details = billing_details
3296
- @blik = blik
3297
- @boleto = boleto
3298
- @cashapp = cashapp
3299
- @customer_balance = customer_balance
3300
- @eps = eps
3301
- @fpx = fpx
3302
- @giropay = giropay
3303
- @gopay = gopay
3304
- @grabpay = grabpay
3305
- @id_bank_transfer = id_bank_transfer
3306
- @ideal = ideal
3307
- @interac_present = interac_present
3308
- @kakao_pay = kakao_pay
3309
- @klarna = klarna
3310
- @konbini = konbini
3311
- @kr_card = kr_card
3312
- @link = link
3313
- @mb_way = mb_way
3314
- @metadata = metadata
3315
- @mobilepay = mobilepay
3316
- @multibanco = multibanco
3317
- @naver_pay = naver_pay
3318
- @oxxo = oxxo
3319
- @p24 = p24
3320
- @pay_by_bank = pay_by_bank
3321
- @payco = payco
3322
- @paynow = paynow
3323
- @paypal = paypal
3324
- @payto = payto
3325
- @pix = pix
3326
- @promptpay = promptpay
3327
- @qris = qris
3328
- @radar_options = radar_options
3329
- @rechnung = rechnung
3330
- @revolut_pay = revolut_pay
3331
- @samsung_pay = samsung_pay
3332
- @sepa_debit = sepa_debit
3333
- @shopeepay = shopeepay
3334
- @sofort = sofort
3335
- @swish = swish
3336
- @twint = twint
3337
- @type = type
3338
- @us_bank_account = us_bank_account
3339
- @wechat_pay = wechat_pay
3340
- @zip = zip
3341
- end
3342
- end
3343
-
3344
- class PaymentMethodOptions < Stripe::RequestParams
3345
- class AcssDebit < Stripe::RequestParams
3346
- class MandateOptions < Stripe::RequestParams
3347
- # A URL for custom mandate text to render during confirmation step.
3348
- # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,
3349
- # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
3350
- attr_accessor :custom_mandate_url
3351
- # List of Stripe products where this mandate can be selected automatically.
3352
- attr_accessor :default_for
3353
- # Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
3354
- attr_accessor :interval_description
3355
- # Payment schedule for the mandate.
3356
- attr_accessor :payment_schedule
3357
- # Transaction type of the mandate.
3358
- attr_accessor :transaction_type
3359
-
3360
- def initialize(
3361
- custom_mandate_url: nil,
3362
- default_for: nil,
3363
- interval_description: nil,
3364
- payment_schedule: nil,
3365
- transaction_type: nil
3366
- )
3367
- @custom_mandate_url = custom_mandate_url
3368
- @default_for = default_for
3369
- @interval_description = interval_description
3370
- @payment_schedule = payment_schedule
3371
- @transaction_type = transaction_type
3372
- end
3373
- end
3374
- # 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).
3375
- attr_accessor :currency
3376
- # Additional fields for Mandate creation
3377
- attr_accessor :mandate_options
3378
- # Bank account verification method.
3379
- attr_accessor :verification_method
3380
-
3381
- def initialize(currency: nil, mandate_options: nil, verification_method: nil)
3382
- @currency = currency
3383
- @mandate_options = mandate_options
3384
- @verification_method = verification_method
3385
- end
3386
- end
3387
-
3388
- class AmazonPay < Stripe::RequestParams
3389
- end
3390
-
3391
- class BacsDebit < Stripe::RequestParams
3392
- class MandateOptions < Stripe::RequestParams
3393
- # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
3394
- attr_accessor :reference_prefix
3395
-
3396
- def initialize(reference_prefix: nil)
3397
- @reference_prefix = reference_prefix
3398
- end
3399
- end
3400
- # Additional fields for Mandate creation
3401
- attr_accessor :mandate_options
3402
-
3403
- def initialize(mandate_options: nil)
3404
- @mandate_options = mandate_options
3405
- end
3406
- end
3407
-
3408
- class Card < Stripe::RequestParams
3409
- class MandateOptions < Stripe::RequestParams
3410
- # Amount to be charged for future payments.
3411
- attr_accessor :amount
3412
- # 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.
3413
- attr_accessor :amount_type
3414
- # 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).
3415
- attr_accessor :currency
3416
- # A description of the mandate or subscription that is meant to be displayed to the customer.
3417
- attr_accessor :description
3418
- # 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.
3419
- attr_accessor :end_date
3420
- # Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
3421
- attr_accessor :interval
3422
- # 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`.
3423
- attr_accessor :interval_count
3424
- # Unique identifier for the mandate or subscription.
3425
- attr_accessor :reference
3426
- # Start date of the mandate or subscription. Start date should not be lesser than yesterday.
3427
- attr_accessor :start_date
3428
- # Specifies the type of mandates supported. Possible values are `india`.
3429
- attr_accessor :supported_types
3430
-
3431
- def initialize(
3432
- amount: nil,
3433
- amount_type: nil,
3434
- currency: nil,
3435
- description: nil,
3436
- end_date: nil,
3437
- interval: nil,
3438
- interval_count: nil,
3439
- reference: nil,
3440
- start_date: nil,
3441
- supported_types: nil
3442
- )
3443
- @amount = amount
3444
- @amount_type = amount_type
3445
- @currency = currency
3446
- @description = description
3447
- @end_date = end_date
3448
- @interval = interval
3449
- @interval_count = interval_count
3450
- @reference = reference
3451
- @start_date = start_date
3452
- @supported_types = supported_types
3453
- end
3454
- end
3455
-
3456
- class ThreeDSecure < Stripe::RequestParams
3457
- class NetworkOptions < Stripe::RequestParams
3458
- class CartesBancaires < Stripe::RequestParams
3459
- # The cryptogram calculation algorithm used by the card Issuer's ACS
3460
- # to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`.
3461
- # messageExtension: CB-AVALGO
3462
- attr_accessor :cb_avalgo
3463
- # The exemption indicator returned from Cartes Bancaires in the ARes.
3464
- # message extension: CB-EXEMPTION; string (4 characters)
3465
- # This is a 3 byte bitmap (low significant byte first and most significant
3466
- # bit first) that has been Base64 encoded
3467
- attr_accessor :cb_exemption
3468
- # The risk score returned from Cartes Bancaires in the ARes.
3469
- # message extension: CB-SCORE; numeric value 0-99
3470
- attr_accessor :cb_score
3471
-
3472
- def initialize(cb_avalgo: nil, cb_exemption: nil, cb_score: nil)
3473
- @cb_avalgo = cb_avalgo
3474
- @cb_exemption = cb_exemption
3475
- @cb_score = cb_score
3476
- end
3477
- end
3478
- # Cartes Bancaires-specific 3DS fields.
3479
- attr_accessor :cartes_bancaires
3480
-
3481
- def initialize(cartes_bancaires: nil)
3482
- @cartes_bancaires = cartes_bancaires
3483
- end
3484
- end
3485
- # The `transStatus` returned from the card Issuer’s ACS in the ARes.
3486
- attr_accessor :ares_trans_status
3487
- # The cryptogram, also known as the "authentication value" (AAV, CAVV or
3488
- # AEVV). This value is 20 bytes, base64-encoded into a 28-character string.
3489
- # (Most 3D Secure providers will return the base64-encoded version, which
3490
- # is what you should specify here.)
3491
- attr_accessor :cryptogram
3492
- # The Electronic Commerce Indicator (ECI) is returned by your 3D Secure
3493
- # provider and indicates what degree of authentication was performed.
3494
- attr_accessor :electronic_commerce_indicator
3495
- # Network specific 3DS fields. Network specific arguments require an
3496
- # explicit card brand choice. The parameter `payment_method_options.card.network``
3497
- # must be populated accordingly
3498
- attr_accessor :network_options
3499
- # The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the
3500
- # AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99.
3501
- attr_accessor :requestor_challenge_indicator
3502
- # For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server
3503
- # Transaction ID (dsTransID).
3504
- attr_accessor :transaction_id
3505
- # The version of 3D Secure that was performed.
3506
- attr_accessor :version
3507
-
3508
- def initialize(
3509
- ares_trans_status: nil,
3510
- cryptogram: nil,
3511
- electronic_commerce_indicator: nil,
3512
- network_options: nil,
3513
- requestor_challenge_indicator: nil,
3514
- transaction_id: nil,
3515
- version: nil
3516
- )
3517
- @ares_trans_status = ares_trans_status
3518
- @cryptogram = cryptogram
3519
- @electronic_commerce_indicator = electronic_commerce_indicator
3520
- @network_options = network_options
3521
- @requestor_challenge_indicator = requestor_challenge_indicator
3522
- @transaction_id = transaction_id
3523
- @version = version
3524
- end
3525
- end
3526
- # Configuration options for setting up an eMandate for cards issued in India.
3527
- attr_accessor :mandate_options
3528
- # When specified, this parameter signals that a card has been collected
3529
- # as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This
3530
- # parameter can only be provided during confirmation.
3531
- attr_accessor :moto
3532
- # 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.
3533
- attr_accessor :network
3534
- # 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.
3535
- attr_accessor :request_three_d_secure
3536
- # If 3D Secure authentication was performed with a third-party provider,
3537
- # the authentication details to use for this setup.
3538
- attr_accessor :three_d_secure
3539
-
3540
- def initialize(
3541
- mandate_options: nil,
3542
- moto: nil,
3543
- network: nil,
3544
- request_three_d_secure: nil,
3545
- three_d_secure: nil
3546
- )
3547
- @mandate_options = mandate_options
3548
- @moto = moto
3549
- @network = network
3550
- @request_three_d_secure = request_three_d_secure
3551
- @three_d_secure = three_d_secure
3552
- end
3553
- end
3554
-
3555
- class CardPresent < Stripe::RequestParams
3556
- end
3557
-
3558
- class Link < Stripe::RequestParams
3559
- # [Deprecated] This is a legacy parameter that no longer has any function.
3560
- attr_accessor :persistent_token
3561
-
3562
- def initialize(persistent_token: nil)
3563
- @persistent_token = persistent_token
3564
- end
3565
- end
3566
-
3567
- class Paypal < Stripe::RequestParams
3568
- # The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
3569
- attr_accessor :billing_agreement_id
3570
- # Attribute for param field currency
3571
- attr_accessor :currency
3572
- # 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.
3573
- attr_accessor :subsellers
3574
-
3575
- def initialize(billing_agreement_id: nil, currency: nil, subsellers: nil)
3576
- @billing_agreement_id = billing_agreement_id
3577
- @currency = currency
3578
- @subsellers = subsellers
3579
- end
3580
- end
3581
-
3582
- class Payto < Stripe::RequestParams
3583
- class MandateOptions < Stripe::RequestParams
3584
- # Amount that will be collected. It is required when `amount_type` is `fixed`.
3585
- attr_accessor :amount
3586
- # 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.
3587
- attr_accessor :amount_type
3588
- # Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
3589
- attr_accessor :end_date
3590
- # The periodicity at which payments will be collected.
3591
- attr_accessor :payment_schedule
3592
- # 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.
3593
- attr_accessor :payments_per_period
3594
- # The purpose for which payments are made. Defaults to retail.
3595
- attr_accessor :purpose
3596
- # Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
3597
- attr_accessor :start_date
3598
-
3599
- def initialize(
3600
- amount: nil,
3601
- amount_type: nil,
3602
- end_date: nil,
3603
- payment_schedule: nil,
3604
- payments_per_period: nil,
3605
- purpose: nil,
3606
- start_date: nil
3607
- )
3608
- @amount = amount
3609
- @amount_type = amount_type
3610
- @end_date = end_date
3611
- @payment_schedule = payment_schedule
3612
- @payments_per_period = payments_per_period
3613
- @purpose = purpose
3614
- @start_date = start_date
3615
- end
3616
- end
3617
- # Additional fields for Mandate creation.
3618
- attr_accessor :mandate_options
3619
-
3620
- def initialize(mandate_options: nil)
3621
- @mandate_options = mandate_options
3622
- end
3623
- end
3624
-
3625
- class SepaDebit < Stripe::RequestParams
3626
- class MandateOptions < Stripe::RequestParams
3627
- # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.
3628
- attr_accessor :reference_prefix
3629
-
3630
- def initialize(reference_prefix: nil)
3631
- @reference_prefix = reference_prefix
3632
- end
3633
- end
3634
- # Additional fields for Mandate creation
3635
- attr_accessor :mandate_options
3636
-
3637
- def initialize(mandate_options: nil)
3638
- @mandate_options = mandate_options
3639
- end
3640
- end
3641
-
3642
- class UsBankAccount < Stripe::RequestParams
3643
- class FinancialConnections < Stripe::RequestParams
3644
- class Filters < Stripe::RequestParams
3645
- # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
3646
- attr_accessor :account_subcategories
3647
- # ID of the institution to use to filter for selectable accounts.
3648
- attr_accessor :institution
3649
-
3650
- def initialize(account_subcategories: nil, institution: nil)
3651
- @account_subcategories = account_subcategories
3652
- @institution = institution
3653
- end
3654
- end
3655
-
3656
- class ManualEntry < Stripe::RequestParams
3657
- # Settings for configuring manual entry of account details.
3658
- attr_accessor :mode
3659
-
3660
- def initialize(mode: nil)
3661
- @mode = mode
3662
- end
3663
- end
3664
- # Provide filters for the linked accounts that the customer can select for the payment method
3665
- attr_accessor :filters
3666
- # Customize manual entry behavior
3667
- attr_accessor :manual_entry
3668
- # 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`.
3669
- attr_accessor :permissions
3670
- # List of data features that you would like to retrieve upon account creation.
3671
- attr_accessor :prefetch
3672
- # 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.
3673
- attr_accessor :return_url
3674
-
3675
- def initialize(
3676
- filters: nil,
3677
- manual_entry: nil,
3678
- permissions: nil,
3679
- prefetch: nil,
3680
- return_url: nil
3681
- )
3682
- @filters = filters
3683
- @manual_entry = manual_entry
3684
- @permissions = permissions
3685
- @prefetch = prefetch
3686
- @return_url = return_url
3687
- end
3688
- end
3689
-
3690
- class MandateOptions < Stripe::RequestParams
3691
- # The method used to collect offline mandate customer acceptance.
3692
- attr_accessor :collection_method
3693
-
3694
- def initialize(collection_method: nil)
3695
- @collection_method = collection_method
3696
- end
3697
- end
3698
-
3699
- class Networks < Stripe::RequestParams
3700
- # Triggers validations to run across the selected networks
3701
- attr_accessor :requested
3702
-
3703
- def initialize(requested: nil)
3704
- @requested = requested
3705
- end
3706
- end
3707
- # Additional fields for Financial Connections Session creation
3708
- attr_accessor :financial_connections
3709
- # Additional fields for Mandate creation
3710
- attr_accessor :mandate_options
3711
- # Additional fields for network related functions
3712
- attr_accessor :networks
3713
- # Bank account verification method.
3714
- attr_accessor :verification_method
3715
-
3716
- def initialize(
3717
- financial_connections: nil,
3718
- mandate_options: nil,
3719
- networks: nil,
3720
- verification_method: nil
3721
- )
3722
- @financial_connections = financial_connections
3723
- @mandate_options = mandate_options
3724
- @networks = networks
3725
- @verification_method = verification_method
3726
- end
3727
- end
3728
- # If this is a `acss_debit` SetupIntent, this sub-hash contains details about the ACSS Debit payment method options.
3729
- attr_accessor :acss_debit
3730
- # If this is a `amazon_pay` SetupIntent, this sub-hash contains details about the AmazonPay payment method options.
3731
- attr_accessor :amazon_pay
3732
- # If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.
3733
- attr_accessor :bacs_debit
3734
- # Configuration for any card setup attempted on this SetupIntent.
3735
- attr_accessor :card
3736
- # If this is a `card_present` PaymentMethod, this sub-hash contains details about the card-present payment method options.
3737
- attr_accessor :card_present
3738
- # If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.
3739
- attr_accessor :link
3740
- # If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
3741
- attr_accessor :paypal
3742
- # If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
3743
- attr_accessor :payto
3744
- # If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
3745
- attr_accessor :sepa_debit
3746
- # If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
3747
- attr_accessor :us_bank_account
3748
-
3749
- def initialize(
3750
- acss_debit: nil,
3751
- amazon_pay: nil,
3752
- bacs_debit: nil,
3753
- card: nil,
3754
- card_present: nil,
3755
- link: nil,
3756
- paypal: nil,
3757
- payto: nil,
3758
- sepa_debit: nil,
3759
- us_bank_account: nil
3760
- )
3761
- @acss_debit = acss_debit
3762
- @amazon_pay = amazon_pay
3763
- @bacs_debit = bacs_debit
3764
- @card = card
3765
- @card_present = card_present
3766
- @link = link
3767
- @paypal = paypal
3768
- @payto = payto
3769
- @sepa_debit = sepa_debit
3770
- @us_bank_account = us_bank_account
3771
- end
3772
- end
3773
- # ID of the ConfirmationToken used to confirm this SetupIntent.
3774
- #
3775
- # 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.
3776
- attr_accessor :confirmation_token
3777
- # Specifies which fields in the response should be expanded.
3778
- attr_accessor :expand
3779
- # Attribute for param field mandate_data
3780
- attr_accessor :mandate_data
3781
- # ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this SetupIntent.
3782
- attr_accessor :payment_method
3783
- # 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)
3784
- # value in the SetupIntent.
3785
- attr_accessor :payment_method_data
3786
- # Payment method-specific configuration for this SetupIntent.
3787
- attr_accessor :payment_method_options
3788
- # The URL to redirect your customer back to after they authenticate on the payment method's app or site.
3789
- # If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.
3790
- # This parameter is only used for cards and other redirect-based payment methods.
3791
- attr_accessor :return_url
3792
- # Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.
3793
- attr_accessor :use_stripe_sdk
3794
-
3795
- def initialize(
3796
- confirmation_token: nil,
3797
- expand: nil,
3798
- mandate_data: nil,
3799
- payment_method: nil,
3800
- payment_method_data: nil,
3801
- payment_method_options: nil,
3802
- return_url: nil,
3803
- use_stripe_sdk: nil
3804
- )
3805
- @confirmation_token = confirmation_token
3806
- @expand = expand
3807
- @mandate_data = mandate_data
3808
- @payment_method = payment_method
3809
- @payment_method_data = payment_method_data
3810
- @payment_method_options = payment_method_options
3811
- @return_url = return_url
3812
- @use_stripe_sdk = use_stripe_sdk
3813
- end
3814
- end
3815
-
3816
- class VerifyMicrodepositsParams < Stripe::RequestParams
3817
- # Two positive integers, in *cents*, equal to the values of the microdeposits sent to the bank account.
3818
- attr_accessor :amounts
3819
- # A six-character code starting with SM present in the microdeposit sent to the bank account.
3820
- attr_accessor :descriptor_code
3821
- # Specifies which fields in the response should be expanded.
3822
- attr_accessor :expand
3823
-
3824
- def initialize(amounts: nil, descriptor_code: nil, expand: nil)
3825
- @amounts = amounts
3826
- @descriptor_code = descriptor_code
3827
- @expand = expand
3828
- end
3829
- end
3830
- # ID of the Connect application that created the SetupIntent.
3831
- attr_reader :application
3832
- # If present, the SetupIntent's payment method will be attached to the in-context Stripe Account.
3833
- #
3834
- # 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.
3835
- attr_reader :attach_to_self
3836
- # Settings for dynamic payment methods compatible with this Setup Intent
3837
- attr_reader :automatic_payment_methods
3838
- # Reason for cancellation of this SetupIntent, one of `abandoned`, `requested_by_customer`, or `duplicate`.
3839
- attr_reader :cancellation_reason
3840
- # The client secret of this SetupIntent. Used for client-side retrieval using a publishable key.
3841
- #
3842
- # 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.
3843
- attr_reader :client_secret
3844
- # Time at which the object was created. Measured in seconds since the Unix epoch.
3845
- attr_reader :created
3846
- # ID of the Customer this SetupIntent belongs to, if one exists.
3847
- #
3848
- # 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.
3849
- attr_reader :customer
3850
- # An arbitrary string attached to the object. Often useful for displaying to users.
3851
- attr_reader :description
3852
- # Indicates the directions of money movement for which this payment method is intended to be used.
3853
- #
3854
- # 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.
3855
- attr_reader :flow_directions
3856
- # Unique identifier for the object.
3857
- attr_reader :id
3858
- # The error encountered in the previous SetupIntent confirmation.
3859
- attr_reader :last_setup_error
3860
- # The most recent SetupAttempt for this SetupIntent.
3861
- attr_reader :latest_attempt
3862
- # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
3863
- attr_reader :livemode
3864
- # ID of the multi use Mandate generated by the SetupIntent.
3865
- attr_reader :mandate
3866
- # 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.
3867
- attr_reader :metadata
3868
- # If present, this property tells you what actions you need to take in order for your customer to continue payment setup.
3869
- attr_reader :next_action
3870
- # String representing the object's type. Objects of the same type share the same value.
3871
- attr_reader :object
3872
- # The account (if any) for which the setup is intended.
3873
- attr_reader :on_behalf_of
3874
- # 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.
3875
- attr_reader :payment_method
3876
- # Information about the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) used for this Setup Intent.
3877
- attr_reader :payment_method_configuration_details
3878
- # Payment method-specific configuration for this SetupIntent.
3879
- attr_reader :payment_method_options
3880
- # The list of payment method types (e.g. card) that this SetupIntent is allowed to set up.
3881
- attr_reader :payment_method_types
3882
- # ID of the single_use Mandate generated by the SetupIntent.
3883
- attr_reader :single_use_mandate
3884
- # [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`.
3885
- attr_reader :status
3886
- # Indicates how the payment method is intended to be used in the future.
3887
- #
3888
- # 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`.
3889
- attr_reader :usage
3890
-
3891
36
  # You can cancel a SetupIntent object when it's in one of these statuses: requires_payment_method, requires_confirmation, or requires_action.
3892
37
  #
3893
38
  # After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an error. You can't cancel the SetupIntent for a Checkout Session. [Expire the Checkout Session](https://stripe.com/docs/api/checkout/sessions/expire) instead.