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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (688) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +12 -1
  3. data/OPENAPI_VERSION +1 -1
  4. data/VERSION +1 -1
  5. data/lib/stripe/resources/account.rb +23 -745
  6. data/lib/stripe/resources/account_link.rb +0 -10
  7. data/lib/stripe/resources/account_notice.rb +0 -22
  8. data/lib/stripe/resources/account_session.rb +0 -125
  9. data/lib/stripe/resources/apple_pay_domain.rb +0 -10
  10. data/lib/stripe/resources/application.rb +0 -3
  11. data/lib/stripe/resources/application_fee.rb +0 -24
  12. data/lib/stripe/resources/application_fee_refund.rb +0 -7
  13. data/lib/stripe/resources/apps/secret.rb +0 -25
  14. data/lib/stripe/resources/balance.rb +0 -31
  15. data/lib/stripe/resources/balance_transaction.rb +0 -29
  16. data/lib/stripe/resources/bank_account.rb +0 -29
  17. data/lib/stripe/resources/billing/alert.rb +0 -22
  18. data/lib/stripe/resources/billing/alert_triggered.rb +0 -5
  19. data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -12
  20. data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -24
  21. data/lib/stripe/resources/billing/credit_grant.rb +0 -32
  22. data/lib/stripe/resources/billing/meter.rb +0 -25
  23. data/lib/stripe/resources/billing/meter_error_report.rb +0 -11
  24. data/lib/stripe/resources/billing/meter_event.rb +0 -10
  25. data/lib/stripe/resources/billing/meter_event_adjustment.rb +0 -8
  26. data/lib/stripe/resources/billing/meter_event_summary.rb +0 -6
  27. data/lib/stripe/resources/billing_portal/configuration.rb +0 -77
  28. data/lib/stripe/resources/billing_portal/session.rb +0 -42
  29. data/lib/stripe/resources/capability.rb +2 -29
  30. data/lib/stripe/resources/capital/financing_offer.rb +0 -33
  31. data/lib/stripe/resources/capital/financing_summary.rb +0 -13
  32. data/lib/stripe/resources/capital/financing_transaction.rb +0 -24
  33. data/lib/stripe/resources/card.rb +2 -34
  34. data/lib/stripe/resources/cash_balance.rb +0 -5
  35. data/lib/stripe/resources/charge.rb +4 -665
  36. data/lib/stripe/resources/checkout/session.rb +4 -512
  37. data/lib/stripe/resources/climate/order.rb +0 -40
  38. data/lib/stripe/resources/climate/product.rb +0 -13
  39. data/lib/stripe/resources/climate/supplier.rb +0 -13
  40. data/lib/stripe/resources/confirmation_token.rb +2 -337
  41. data/lib/stripe/resources/connect_collection_transfer.rb +0 -5
  42. data/lib/stripe/resources/country_spec.rb +0 -13
  43. data/lib/stripe/resources/coupon.rb +0 -39
  44. data/lib/stripe/resources/credit_note.rb +0 -138
  45. data/lib/stripe/resources/credit_note_line_item.rb +0 -24
  46. data/lib/stripe/resources/customer.rb +1 -156
  47. data/lib/stripe/resources/customer_balance_transaction.rb +0 -12
  48. data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -27
  49. data/lib/stripe/resources/customer_session.rb +0 -24
  50. data/lib/stripe/resources/discount.rb +0 -12
  51. data/lib/stripe/resources/dispute.rb +4 -152
  52. data/lib/stripe/resources/entitlements/active_entitlement.rb +0 -8
  53. data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +0 -3
  54. data/lib/stripe/resources/entitlements/feature.rb +0 -17
  55. data/lib/stripe/resources/ephemeral_key.rb +0 -5
  56. data/lib/stripe/resources/event.rb +0 -27
  57. data/lib/stripe/resources/exchange_rate.rb +0 -5
  58. data/lib/stripe/resources/file.rb +0 -23
  59. data/lib/stripe/resources/file_link.rb +0 -22
  60. data/lib/stripe/resources/financial_connections/account.rb +0 -47
  61. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -3
  62. data/lib/stripe/resources/financial_connections/account_owner.rb +0 -7
  63. data/lib/stripe/resources/financial_connections/account_ownership.rb +0 -3
  64. data/lib/stripe/resources/financial_connections/institution.rb +0 -13
  65. data/lib/stripe/resources/financial_connections/session.rb +0 -28
  66. data/lib/stripe/resources/financial_connections/transaction.rb +0 -21
  67. data/lib/stripe/resources/forwarding/request.rb +0 -31
  68. data/lib/stripe/resources/funding_instructions.rb +0 -107
  69. data/lib/stripe/resources/gift_cards/card.rb +0 -28
  70. data/lib/stripe/resources/gift_cards/transaction.rb +0 -32
  71. data/lib/stripe/resources/identity/verification_report.rb +0 -69
  72. data/lib/stripe/resources/identity/verification_session.rb +0 -69
  73. data/lib/stripe/resources/invoice.rb +6 -1276
  74. data/lib/stripe/resources/invoice_item.rb +0 -91
  75. data/lib/stripe/resources/invoice_line_item.rb +0 -76
  76. data/lib/stripe/resources/invoice_payment.rb +0 -16
  77. data/lib/stripe/resources/invoice_rendering_template.rb +0 -12
  78. data/lib/stripe/resources/issuing/authorization.rb +0 -199
  79. data/lib/stripe/resources/issuing/card.rb +0 -128
  80. data/lib/stripe/resources/issuing/cardholder.rb +0 -110
  81. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -82
  82. data/lib/stripe/resources/issuing/dispute.rb +0 -151
  83. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -14
  84. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -14
  85. data/lib/stripe/resources/issuing/personalization_design.rb +0 -48
  86. data/lib/stripe/resources/issuing/physical_bundle.rb +0 -13
  87. data/lib/stripe/resources/issuing/settlement.rb +0 -16
  88. data/lib/stripe/resources/issuing/token.rb +0 -46
  89. data/lib/stripe/resources/issuing/transaction.rb +0 -171
  90. data/lib/stripe/resources/line_item.rb +0 -23
  91. data/lib/stripe/resources/login_link.rb +0 -2
  92. data/lib/stripe/resources/mandate.rb +0 -45
  93. data/lib/stripe/resources/margin.rb +0 -19
  94. data/lib/stripe/resources/order.rb +3 -391
  95. data/lib/stripe/resources/payment_attempt_record.rb +0 -42
  96. data/lib/stripe/resources/payment_intent.rb +2 -1768
  97. data/lib/stripe/resources/payment_link.rb +15 -213
  98. data/lib/stripe/resources/payment_method.rb +2 -345
  99. data/lib/stripe/resources/payment_method_configuration.rb +0 -293
  100. data/lib/stripe/resources/payment_method_domain.rb +0 -23
  101. data/lib/stripe/resources/payment_record.rb +0 -109
  102. data/lib/stripe/resources/payout.rb +0 -49
  103. data/lib/stripe/resources/person.rb +2 -92
  104. data/lib/stripe/resources/plan.rb +0 -69
  105. data/lib/stripe/resources/price.rb +0 -133
  106. data/lib/stripe/resources/product.rb +0 -100
  107. data/lib/stripe/resources/product_feature.rb +0 -4
  108. data/lib/stripe/resources/promotion_code.rb +0 -40
  109. data/lib/stripe/resources/quote.rb +0 -458
  110. data/lib/stripe/resources/quote_line.rb +0 -66
  111. data/lib/stripe/resources/quote_preview_invoice.rb +3 -184
  112. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -101
  113. data/lib/stripe/resources/radar/early_fraud_warning.rb +0 -16
  114. data/lib/stripe/resources/radar/value_list.rb +0 -26
  115. data/lib/stripe/resources/radar/value_list_item.rb +0 -18
  116. data/lib/stripe/resources/refund.rb +0 -92
  117. data/lib/stripe/resources/reporting/report_run.rb +0 -32
  118. data/lib/stripe/resources/reporting/report_type.rb +0 -8
  119. data/lib/stripe/resources/reserve_transaction.rb +0 -4
  120. data/lib/stripe/resources/reversal.rb +0 -9
  121. data/lib/stripe/resources/review.rb +0 -27
  122. data/lib/stripe/resources/setup_attempt.rb +2 -103
  123. data/lib/stripe/resources/setup_intent.rb +2 -539
  124. data/lib/stripe/resources/shipping_rate.rb +0 -44
  125. data/lib/stripe/resources/sigma/scheduled_query_run.rb +0 -13
  126. data/lib/stripe/resources/source.rb +6 -338
  127. data/lib/stripe/resources/source_mandate_notification.rb +0 -13
  128. data/lib/stripe/resources/source_transaction.rb +0 -29
  129. data/lib/stripe/resources/subscription.rb +0 -338
  130. data/lib/stripe/resources/subscription_item.rb +0 -69
  131. data/lib/stripe/resources/subscription_schedule.rb +0 -388
  132. data/lib/stripe/resources/tax/association.rb +0 -11
  133. data/lib/stripe/resources/tax/calculation.rb +2 -89
  134. data/lib/stripe/resources/tax/calculation_line_item.rb +0 -20
  135. data/lib/stripe/resources/tax/form.rb +2 -35
  136. data/lib/stripe/resources/tax/registration.rb +421 -213
  137. data/lib/stripe/resources/tax/settings.rb +0 -20
  138. data/lib/stripe/resources/tax/transaction.rb +1 -66
  139. data/lib/stripe/resources/tax/transaction_line_item.rb +0 -12
  140. data/lib/stripe/resources/tax_code.rb +0 -6
  141. data/lib/stripe/resources/tax_deducted_at_source.rb +0 -4
  142. data/lib/stripe/resources/tax_id.rb +2 -28
  143. data/lib/stripe/resources/tax_rate.rb +0 -45
  144. data/lib/stripe/resources/terminal/configuration.rb +0 -164
  145. data/lib/stripe/resources/terminal/connection_token.rb +0 -3
  146. data/lib/stripe/resources/terminal/location.rb +0 -33
  147. data/lib/stripe/resources/terminal/reader.rb +0 -129
  148. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -5
  149. data/lib/stripe/resources/test_helpers/test_clock.rb +0 -15
  150. data/lib/stripe/resources/token.rb +4 -192
  151. data/lib/stripe/resources/topup.rb +0 -36
  152. data/lib/stripe/resources/transfer.rb +0 -35
  153. data/lib/stripe/resources/treasury/credit_reversal.rb +0 -21
  154. data/lib/stripe/resources/treasury/debit_reversal.rb +0 -23
  155. data/lib/stripe/resources/treasury/financial_account.rb +77 -71
  156. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -46
  157. data/lib/stripe/resources/treasury/inbound_transfer.rb +0 -50
  158. data/lib/stripe/resources/treasury/outbound_payment.rb +0 -92
  159. data/lib/stripe/resources/treasury/outbound_transfer.rb +25 -66
  160. data/lib/stripe/resources/treasury/received_credit.rb +6 -58
  161. data/lib/stripe/resources/treasury/received_debit.rb +0 -54
  162. data/lib/stripe/resources/treasury/transaction.rb +0 -39
  163. data/lib/stripe/resources/treasury/transaction_entry.rb +0 -36
  164. data/lib/stripe/resources/usage_record.rb +0 -5
  165. data/lib/stripe/resources/usage_record_summary.rb +0 -7
  166. data/lib/stripe/resources/v2/billing/meter_event.rb +0 -6
  167. data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +0 -7
  168. data/lib/stripe/resources/v2/billing/meter_event_session.rb +0 -5
  169. data/lib/stripe/resources/v2/event.rb +0 -8
  170. data/lib/stripe/resources/v2/event_destination.rb +0 -19
  171. data/lib/stripe/resources/webhook_endpoint.rb +0 -26
  172. data/lib/stripe/services/account_capability_service.rb +0 -1
  173. data/lib/stripe/services/account_external_account_service.rb +0 -43
  174. data/lib/stripe/services/account_link_service.rb +0 -7
  175. data/lib/stripe/services/account_notice_service.rb +0 -9
  176. data/lib/stripe/services/account_person_service.rb +0 -139
  177. data/lib/stripe/services/account_service.rb +8 -519
  178. data/lib/stripe/services/account_session_service.rb +0 -76
  179. data/lib/stripe/services/apple_pay_domain_service.rb +0 -5
  180. data/lib/stripe/services/application_fee_refund_service.rb +0 -6
  181. data/lib/stripe/services/application_fee_service.rb +0 -8
  182. data/lib/stripe/services/apps/secret_service.rb +0 -16
  183. data/lib/stripe/services/balance_transaction_service.rb +0 -11
  184. data/lib/stripe/services/billing/alert_service.rb +0 -12
  185. data/lib/stripe/services/billing/credit_balance_summary_service.rb +0 -4
  186. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -5
  187. data/lib/stripe/services/billing/credit_grant_service.rb +0 -16
  188. data/lib/stripe/services/billing/meter_event_adjustment_service.rb +0 -3
  189. data/lib/stripe/services/billing/meter_event_service.rb +0 -4
  190. data/lib/stripe/services/billing/meter_event_summary_service.rb +0 -7
  191. data/lib/stripe/services/billing/meter_service.rb +0 -12
  192. data/lib/stripe/services/billing_portal/configuration_service.rb +0 -48
  193. data/lib/stripe/services/billing_portal/session_service.rb +0 -19
  194. data/lib/stripe/services/capital/financing_offer_service.rb +0 -9
  195. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -7
  196. data/lib/stripe/services/charge_service.rb +0 -274
  197. data/lib/stripe/services/checkout/session_line_item_service.rb +0 -3
  198. data/lib/stripe/services/checkout/session_service.rb +2 -273
  199. data/lib/stripe/services/climate/order_service.rb +0 -11
  200. data/lib/stripe/services/climate/product_service.rb +0 -3
  201. data/lib/stripe/services/climate/supplier_service.rb +0 -3
  202. data/lib/stripe/services/country_spec_service.rb +0 -3
  203. data/lib/stripe/services/coupon_service.rb +0 -22
  204. data/lib/stripe/services/credit_note_line_item_service.rb +0 -3
  205. data/lib/stripe/services/credit_note_preview_lines_service.rb +0 -28
  206. data/lib/stripe/services/credit_note_service.rb +0 -61
  207. data/lib/stripe/services/customer_balance_transaction_service.rb +0 -9
  208. data/lib/stripe/services/customer_cash_balance_service.rb +0 -1
  209. data/lib/stripe/services/customer_cash_balance_transaction_service.rb +0 -3
  210. data/lib/stripe/services/customer_funding_instructions_service.rb +0 -5
  211. data/lib/stripe/services/customer_payment_method_service.rb +0 -5
  212. data/lib/stripe/services/customer_payment_source_service.rb +0 -29
  213. data/lib/stripe/services/customer_service.rb +1 -92
  214. data/lib/stripe/services/customer_session_service.rb +0 -10
  215. data/lib/stripe/services/customer_tax_id_service.rb +1 -6
  216. data/lib/stripe/services/dispute_service.rb +2 -67
  217. data/lib/stripe/services/entitlements/active_entitlement_service.rb +0 -4
  218. data/lib/stripe/services/entitlements/feature_service.rb +0 -11
  219. data/lib/stripe/services/ephemeral_key_service.rb +0 -4
  220. data/lib/stripe/services/event_service.rb +0 -10
  221. data/lib/stripe/services/exchange_rate_service.rb +0 -3
  222. data/lib/stripe/services/file_link_service.rb +0 -14
  223. data/lib/stripe/services/file_service.rb +0 -13
  224. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -3
  225. data/lib/stripe/services/financial_connections/account_owner_service.rb +0 -4
  226. data/lib/stripe/services/financial_connections/account_service.rb +0 -9
  227. data/lib/stripe/services/financial_connections/institution_service.rb +0 -3
  228. data/lib/stripe/services/financial_connections/session_service.rb +0 -11
  229. data/lib/stripe/services/financial_connections/transaction_service.rb +0 -9
  230. data/lib/stripe/services/forwarding/request_service.rb +0 -14
  231. data/lib/stripe/services/gift_cards/card_service.rb +0 -13
  232. data/lib/stripe/services/gift_cards/transaction_service.rb +0 -16
  233. data/lib/stripe/services/identity/verification_report_service.rb +0 -10
  234. data/lib/stripe/services/identity/verification_session_service.rb +0 -30
  235. data/lib/stripe/services/invoice_item_service.rb +0 -66
  236. data/lib/stripe/services/invoice_line_item_service.rb +0 -40
  237. data/lib/stripe/services/invoice_payment_service.rb +0 -3
  238. data/lib/stripe/services/invoice_rendering_template_service.rb +0 -5
  239. data/lib/stripe/services/invoice_service.rb +2 -810
  240. data/lib/stripe/services/invoice_upcoming_lines_service.rb +1 -279
  241. data/lib/stripe/services/issuing/authorization_service.rb +0 -14
  242. data/lib/stripe/services/issuing/card_service.rb +0 -70
  243. data/lib/stripe/services/issuing/cardholder_service.rb +0 -73
  244. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -56
  245. data/lib/stripe/services/issuing/dispute_service.rb +0 -98
  246. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -4
  247. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -7
  248. data/lib/stripe/services/issuing/personalization_design_service.rb +0 -29
  249. data/lib/stripe/services/issuing/physical_bundle_service.rb +0 -5
  250. data/lib/stripe/services/issuing/token_service.rb +0 -10
  251. data/lib/stripe/services/issuing/transaction_service.rb +0 -12
  252. data/lib/stripe/services/margin_service.rb +0 -11
  253. data/lib/stripe/services/order_line_item_service.rb +0 -3
  254. data/lib/stripe/services/order_service.rb +2 -266
  255. data/lib/stripe/services/payment_attempt_record_service.rb +0 -1
  256. data/lib/stripe/services/payment_intent_service.rb +0 -1309
  257. data/lib/stripe/services/payment_link_line_item_service.rb +0 -3
  258. data/lib/stripe/services/payment_link_service.rb +15 -135
  259. data/lib/stripe/services/payment_method_configuration_service.rb +0 -102
  260. data/lib/stripe/services/payment_method_domain_service.rb +0 -8
  261. data/lib/stripe/services/payment_method_service.rb +0 -113
  262. data/lib/stripe/services/payment_record_service.rb +0 -68
  263. data/lib/stripe/services/payout_service.rb +0 -23
  264. data/lib/stripe/services/plan_service.rb +0 -43
  265. data/lib/stripe/services/price_service.rb +0 -87
  266. data/lib/stripe/services/product_feature_service.rb +0 -4
  267. data/lib/stripe/services/product_service.rb +0 -74
  268. data/lib/stripe/services/promotion_code_service.rb +0 -25
  269. data/lib/stripe/services/quote_computed_upfront_line_items_service.rb +0 -3
  270. data/lib/stripe/services/quote_line_item_service.rb +0 -3
  271. data/lib/stripe/services/quote_line_service.rb +0 -3
  272. data/lib/stripe/services/quote_preview_invoice_service.rb +0 -3
  273. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -3
  274. data/lib/stripe/services/quote_service.rb +0 -309
  275. data/lib/stripe/services/radar/early_fraud_warning_service.rb +0 -9
  276. data/lib/stripe/services/radar/value_list_item_service.rb +0 -11
  277. data/lib/stripe/services/radar/value_list_service.rb +0 -16
  278. data/lib/stripe/services/refund_service.rb +0 -21
  279. data/lib/stripe/services/reporting/report_run_service.rb +0 -16
  280. data/lib/stripe/services/review_service.rb +0 -7
  281. data/lib/stripe/services/setup_attempt_service.rb +0 -8
  282. data/lib/stripe/services/setup_intent_service.rb +0 -447
  283. data/lib/stripe/services/shipping_rate_service.rb +0 -27
  284. data/lib/stripe/services/sigma/scheduled_query_run_service.rb +0 -3
  285. data/lib/stripe/services/source_service.rb +0 -92
  286. data/lib/stripe/services/source_transaction_service.rb +0 -3
  287. data/lib/stripe/services/subscription_item_service.rb +0 -56
  288. data/lib/stripe/services/subscription_item_usage_record_service.rb +0 -3
  289. data/lib/stripe/services/subscription_item_usage_record_summary_service.rb +0 -3
  290. data/lib/stripe/services/subscription_schedule_service.rb +0 -290
  291. data/lib/stripe/services/subscription_service.rb +0 -245
  292. data/lib/stripe/services/tax/association_service.rb +0 -1
  293. data/lib/stripe/services/tax/calculation_line_item_service.rb +0 -3
  294. data/lib/stripe/services/tax/calculation_service.rb +1 -31
  295. data/lib/stripe/services/tax/form_service.rb +0 -7
  296. data/lib/stripe/services/tax/registration_service.rb +274 -108
  297. data/lib/stripe/services/tax/settings_service.rb +0 -8
  298. data/lib/stripe/services/tax/transaction_line_item_service.rb +0 -3
  299. data/lib/stripe/services/tax/transaction_service.rb +0 -17
  300. data/lib/stripe/services/tax_code_service.rb +0 -3
  301. data/lib/stripe/services/tax_id_service.rb +1 -12
  302. data/lib/stripe/services/tax_rate_service.rb +0 -27
  303. data/lib/stripe/services/terminal/configuration_service.rb +0 -108
  304. data/lib/stripe/services/terminal/connection_token_service.rb +0 -1
  305. data/lib/stripe/services/terminal/location_service.rb +0 -21
  306. data/lib/stripe/services/terminal/reader_service.rb +0 -53
  307. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +0 -89
  308. data/lib/stripe/services/test_helpers/customer_service.rb +0 -3
  309. data/lib/stripe/services/test_helpers/issuing/authorization_service.rb +0 -99
  310. data/lib/stripe/services/test_helpers/issuing/personalization_design_service.rb +0 -2
  311. data/lib/stripe/services/test_helpers/issuing/transaction_service.rb +0 -91
  312. data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -4
  313. data/lib/stripe/services/test_helpers/test_clock_service.rb +0 -6
  314. data/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +0 -1
  315. data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +0 -6
  316. data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +0 -6
  317. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +0 -11
  318. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +0 -11
  319. data/lib/stripe/services/token_service.rb +4 -184
  320. data/lib/stripe/services/topup_service.rb +0 -21
  321. data/lib/stripe/services/transfer_reversal_service.rb +0 -8
  322. data/lib/stripe/services/transfer_service.rb +0 -19
  323. data/lib/stripe/services/treasury/credit_reversal_service.rb +0 -8
  324. data/lib/stripe/services/treasury/debit_reversal_service.rb +0 -9
  325. data/lib/stripe/services/treasury/financial_account_features_service.rb +0 -10
  326. data/lib/stripe/services/treasury/financial_account_service.rb +64 -36
  327. data/lib/stripe/services/treasury/inbound_transfer_service.rb +0 -12
  328. data/lib/stripe/services/treasury/outbound_payment_service.rb +0 -38
  329. data/lib/stripe/services/treasury/outbound_transfer_service.rb +16 -15
  330. data/lib/stripe/services/treasury/received_credit_service.rb +0 -6
  331. data/lib/stripe/services/treasury/received_debit_service.rb +0 -5
  332. data/lib/stripe/services/treasury/transaction_entry_service.rb +0 -14
  333. data/lib/stripe/services/treasury/transaction_service.rb +0 -14
  334. data/lib/stripe/services/v2/billing/meter_event_adjustment_service.rb +0 -2
  335. data/lib/stripe/services/v2/billing/meter_event_service.rb +0 -3
  336. data/lib/stripe/services/v2/billing/meter_event_stream_service.rb +0 -3
  337. data/lib/stripe/services/v2/core/event_destination_service.rb +0 -18
  338. data/lib/stripe/services/v2/core/event_service.rb +0 -2
  339. data/lib/stripe/services/webhook_endpoint_service.rb +0 -14
  340. data/lib/stripe/stripe_client.rb +1 -1
  341. data/lib/stripe/stripe_object.rb +3 -3
  342. data/lib/stripe/util.rb +1 -1
  343. data/lib/stripe/version.rb +1 -1
  344. data/rbi/stripe/resources/account.rbi +29 -1001
  345. data/rbi/stripe/resources/account_link.rbi +0 -13
  346. data/rbi/stripe/resources/account_notice.rbi +0 -27
  347. data/rbi/stripe/resources/account_session.rbi +0 -166
  348. data/rbi/stripe/resources/apple_pay_domain.rbi +0 -14
  349. data/rbi/stripe/resources/application.rbi +0 -3
  350. data/rbi/stripe/resources/application_fee.rbi +0 -28
  351. data/rbi/stripe/resources/application_fee_refund.rbi +0 -7
  352. data/rbi/stripe/resources/apps/secret.rbi +0 -34
  353. data/rbi/stripe/resources/balance.rbi +0 -33
  354. data/rbi/stripe/resources/balance_transaction.rbi +0 -33
  355. data/rbi/stripe/resources/bank_account.rbi +0 -29
  356. data/rbi/stripe/resources/billing/alert.rbi +0 -31
  357. data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -5
  358. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -16
  359. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -27
  360. data/rbi/stripe/resources/billing/credit_grant.rbi +0 -43
  361. data/rbi/stripe/resources/billing/meter.rbi +0 -35
  362. data/rbi/stripe/resources/billing/meter_error_report.rbi +0 -11
  363. data/rbi/stripe/resources/billing/meter_event.rbi +0 -12
  364. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -11
  365. data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -6
  366. data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -106
  367. data/rbi/stripe/resources/billing_portal/session.rbi +0 -55
  368. data/rbi/stripe/resources/capability.rbi +2 -29
  369. data/rbi/stripe/resources/capital/financing_offer.rbi +0 -38
  370. data/rbi/stripe/resources/capital/financing_summary.rbi +0 -15
  371. data/rbi/stripe/resources/capital/financing_transaction.rbi +0 -27
  372. data/rbi/stripe/resources/card.rbi +3 -34
  373. data/rbi/stripe/resources/cash_balance.rbi +0 -5
  374. data/rbi/stripe/resources/charge.rbi +6 -738
  375. data/rbi/stripe/resources/checkout/session.rbi +4 -636
  376. data/rbi/stripe/resources/climate/order.rbi +0 -48
  377. data/rbi/stripe/resources/climate/product.rbi +0 -16
  378. data/rbi/stripe/resources/climate/supplier.rbi +0 -16
  379. data/rbi/stripe/resources/confirmation_token.rbi +3 -364
  380. data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -5
  381. data/rbi/stripe/resources/country_spec.rbi +0 -16
  382. data/rbi/stripe/resources/coupon.rbi +0 -48
  383. data/rbi/stripe/resources/credit_note.rbi +0 -159
  384. data/rbi/stripe/resources/credit_note_line_item.rbi +0 -24
  385. data/rbi/stripe/resources/customer.rbi +1 -188
  386. data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -12
  387. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -27
  388. data/rbi/stripe/resources/customer_session.rbi +0 -31
  389. data/rbi/stripe/resources/discount.rbi +0 -12
  390. data/rbi/stripe/resources/dispute.rbi +4 -166
  391. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -11
  392. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -3
  393. data/rbi/stripe/resources/entitlements/feature.rbi +0 -22
  394. data/rbi/stripe/resources/ephemeral_key.rbi +0 -7
  395. data/rbi/stripe/resources/event.rbi +0 -31
  396. data/rbi/stripe/resources/exchange_rate.rbi +0 -8
  397. data/rbi/stripe/resources/file.rbi +0 -29
  398. data/rbi/stripe/resources/file_link.rbi +0 -28
  399. data/rbi/stripe/resources/financial_connections/account.rbi +0 -56
  400. data/rbi/stripe/resources/financial_connections/account_inferred_balance.rbi +0 -3
  401. data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -7
  402. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -3
  403. data/rbi/stripe/resources/financial_connections/institution.rbi +0 -16
  404. data/rbi/stripe/resources/financial_connections/session.rbi +0 -35
  405. data/rbi/stripe/resources/financial_connections/transaction.rbi +0 -26
  406. data/rbi/stripe/resources/forwarding/request.rbi +0 -38
  407. data/rbi/stripe/resources/funding_instructions.rbi +0 -107
  408. data/rbi/stripe/resources/gift_cards/card.rbi +0 -36
  409. data/rbi/stripe/resources/gift_cards/transaction.rbi +0 -41
  410. data/rbi/stripe/resources/identity/verification_report.rbi +0 -73
  411. data/rbi/stripe/resources/identity/verification_session.rbi +0 -83
  412. data/rbi/stripe/resources/invoice.rbi +7 -1663
  413. data/rbi/stripe/resources/invoice_item.rbi +0 -107
  414. data/rbi/stripe/resources/invoice_line_item.rbi +0 -86
  415. data/rbi/stripe/resources/invoice_payment.rbi +0 -16
  416. data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -17
  417. data/rbi/stripe/resources/issuing/authorization.rbi +0 -245
  418. data/rbi/stripe/resources/issuing/card.rbi +0 -153
  419. data/rbi/stripe/resources/issuing/cardholder.rbi +0 -138
  420. data/rbi/stripe/resources/issuing/credit_underwriting_record.rbi +0 -109
  421. data/rbi/stripe/resources/issuing/dispute.rbi +0 -177
  422. data/rbi/stripe/resources/issuing/dispute_settlement_detail.rbi +0 -17
  423. data/rbi/stripe/resources/issuing/fraud_liability_debit.rbi +0 -18
  424. data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -62
  425. data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -16
  426. data/rbi/stripe/resources/issuing/settlement.rbi +0 -16
  427. data/rbi/stripe/resources/issuing/token.rbi +0 -51
  428. data/rbi/stripe/resources/issuing/transaction.rbi +0 -205
  429. data/rbi/stripe/resources/line_item.rbi +0 -23
  430. data/rbi/stripe/resources/login_link.rbi +0 -2
  431. data/rbi/stripe/resources/mandate.rbi +0 -47
  432. data/rbi/stripe/resources/margin.rbi +0 -24
  433. data/rbi/stripe/resources/order.rbi +3 -492
  434. data/rbi/stripe/resources/payment_attempt_record.rbi +0 -45
  435. data/rbi/stripe/resources/payment_intent.rbi +3 -2224
  436. data/rbi/stripe/resources/payment_link.rbi +14 -291
  437. data/rbi/stripe/resources/payment_method.rbi +3 -382
  438. data/rbi/stripe/resources/payment_method_configuration.rbi +0 -486
  439. data/rbi/stripe/resources/payment_method_domain.rbi +0 -29
  440. data/rbi/stripe/resources/payment_record.rbi +0 -134
  441. data/rbi/stripe/resources/payout.rbi +0 -58
  442. data/rbi/stripe/resources/person.rbi +2 -92
  443. data/rbi/stripe/resources/plan.rbi +0 -78
  444. data/rbi/stripe/resources/price.rbi +0 -153
  445. data/rbi/stripe/resources/product.rbi +0 -120
  446. data/rbi/stripe/resources/product_feature.rbi +0 -4
  447. data/rbi/stripe/resources/promotion_code.rbi +0 -50
  448. data/rbi/stripe/resources/quote.rbi +0 -593
  449. data/rbi/stripe/resources/quote_line.rbi +0 -66
  450. data/rbi/stripe/resources/quote_preview_invoice.rbi +4 -184
  451. data/rbi/stripe/resources/quote_preview_subscription_schedule.rbi +0 -101
  452. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -20
  453. data/rbi/stripe/resources/radar/value_list.rbi +0 -32
  454. data/rbi/stripe/resources/radar/value_list_item.rbi +0 -23
  455. data/rbi/stripe/resources/refund.rbi +0 -100
  456. data/rbi/stripe/resources/reporting/report_run.rbi +0 -38
  457. data/rbi/stripe/resources/reporting/report_type.rbi +0 -11
  458. data/rbi/stripe/resources/reserve_transaction.rbi +0 -4
  459. data/rbi/stripe/resources/reversal.rbi +0 -9
  460. data/rbi/stripe/resources/review.rbi +0 -32
  461. data/rbi/stripe/resources/setup_attempt.rbi +3 -106
  462. data/rbi/stripe/resources/setup_intent.rbi +3 -688
  463. data/rbi/stripe/resources/shipping_rate.rbi +0 -57
  464. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -16
  465. data/rbi/stripe/resources/source.rbi +9 -365
  466. data/rbi/stripe/resources/source_mandate_notification.rbi +0 -13
  467. data/rbi/stripe/resources/source_transaction.rbi +0 -29
  468. data/rbi/stripe/resources/subscription.rbi +0 -431
  469. data/rbi/stripe/resources/subscription_item.rbi +0 -88
  470. data/rbi/stripe/resources/subscription_schedule.rbi +0 -504
  471. data/rbi/stripe/resources/tax/association.rbi +0 -13
  472. data/rbi/stripe/resources/tax/calculation.rbi +2 -100
  473. data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -20
  474. data/rbi/stripe/resources/tax/form.rbi +2 -40
  475. data/rbi/stripe/resources/tax/registration.rbi +401 -317
  476. data/rbi/stripe/resources/tax/settings.rbi +0 -26
  477. data/rbi/stripe/resources/tax/transaction.rbi +1 -73
  478. data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -12
  479. data/rbi/stripe/resources/tax_code.rbi +0 -9
  480. data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -4
  481. data/rbi/stripe/resources/tax_id.rbi +2 -34
  482. data/rbi/stripe/resources/tax_rate.rbi +0 -51
  483. data/rbi/stripe/resources/terminal/configuration.rbi +0 -211
  484. data/rbi/stripe/resources/terminal/connection_token.rbi +0 -5
  485. data/rbi/stripe/resources/terminal/location.rbi +0 -40
  486. data/rbi/stripe/resources/terminal/reader.rbi +0 -158
  487. data/rbi/stripe/resources/terminal/reader_collected_data.rbi +0 -7
  488. data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -20
  489. data/rbi/stripe/resources/token.rbi +5 -235
  490. data/rbi/stripe/resources/topup.rbi +0 -44
  491. data/rbi/stripe/resources/transfer.rbi +0 -41
  492. data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -25
  493. data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -27
  494. data/rbi/stripe/resources/treasury/financial_account.rbi +70 -124
  495. data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -46
  496. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -59
  497. data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -113
  498. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +28 -84
  499. data/rbi/stripe/resources/treasury/received_credit.rbi +7 -67
  500. data/rbi/stripe/resources/treasury/received_debit.rbi +0 -62
  501. data/rbi/stripe/resources/treasury/transaction.rbi +0 -45
  502. data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -41
  503. data/rbi/stripe/resources/usage_record.rbi +0 -5
  504. data/rbi/stripe/resources/usage_record_summary.rbi +0 -7
  505. data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -6
  506. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -7
  507. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -5
  508. data/rbi/stripe/resources/v2/event.rbi +0 -8
  509. data/rbi/stripe/resources/v2/event_destination.rbi +0 -19
  510. data/rbi/stripe/resources/webhook_endpoint.rbi +0 -31
  511. data/rbi/stripe/services/account_capability_service.rbi +0 -4
  512. data/rbi/stripe/services/account_external_account_service.rbi +0 -52
  513. data/rbi/stripe/services/account_link_service.rbi +0 -9
  514. data/rbi/stripe/services/account_login_link_service.rbi +0 -1
  515. data/rbi/stripe/services/account_notice_service.rbi +0 -13
  516. data/rbi/stripe/services/account_person_service.rbi +0 -174
  517. data/rbi/stripe/services/account_service.rbi +10 -773
  518. data/rbi/stripe/services/account_session_service.rbi +0 -116
  519. data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -8
  520. data/rbi/stripe/services/application_fee_refund_service.rbi +0 -10
  521. data/rbi/stripe/services/application_fee_service.rbi +0 -11
  522. data/rbi/stripe/services/apps/secret_service.rbi +0 -24
  523. data/rbi/stripe/services/balance_service.rbi +0 -1
  524. data/rbi/stripe/services/balance_transaction_service.rbi +0 -14
  525. data/rbi/stripe/services/billing/alert_service.rbi +0 -20
  526. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -7
  527. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -7
  528. data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -26
  529. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -5
  530. data/rbi/stripe/services/billing/meter_event_service.rbi +0 -5
  531. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -8
  532. data/rbi/stripe/services/billing/meter_service.rbi +0 -21
  533. data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -76
  534. data/rbi/stripe/services/billing_portal/session_service.rbi +0 -31
  535. data/rbi/stripe/services/capital/financing_offer_service.rbi +0 -13
  536. data/rbi/stripe/services/capital/financing_summary_service.rbi +0 -1
  537. data/rbi/stripe/services/capital/financing_transaction_service.rbi +0 -9
  538. data/rbi/stripe/services/charge_service.rbi +0 -346
  539. data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -4
  540. data/rbi/stripe/services/checkout/session_service.rbi +2 -395
  541. data/rbi/stripe/services/climate/order_service.rbi +0 -18
  542. data/rbi/stripe/services/climate/product_service.rbi +0 -5
  543. data/rbi/stripe/services/climate/supplier_service.rbi +0 -5
  544. data/rbi/stripe/services/confirmation_token_service.rbi +0 -1
  545. data/rbi/stripe/services/country_spec_service.rbi +0 -5
  546. data/rbi/stripe/services/coupon_service.rbi +0 -30
  547. data/rbi/stripe/services/credit_note_line_item_service.rbi +0 -4
  548. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -33
  549. data/rbi/stripe/services/credit_note_service.rbi +0 -76
  550. data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -13
  551. data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -4
  552. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -5
  553. data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -8
  554. data/rbi/stripe/services/customer_payment_method_service.rbi +0 -7
  555. data/rbi/stripe/services/customer_payment_source_service.rbi +0 -37
  556. data/rbi/stripe/services/customer_service.rbi +1 -117
  557. data/rbi/stripe/services/customer_session_service.rbi +0 -16
  558. data/rbi/stripe/services/customer_tax_id_service.rbi +1 -9
  559. data/rbi/stripe/services/dispute_service.rbi +2 -80
  560. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -6
  561. data/rbi/stripe/services/entitlements/feature_service.rbi +0 -15
  562. data/rbi/stripe/services/ephemeral_key_service.rbi +0 -6
  563. data/rbi/stripe/services/event_service.rbi +0 -13
  564. data/rbi/stripe/services/exchange_rate_service.rbi +0 -5
  565. data/rbi/stripe/services/file_link_service.rbi +0 -19
  566. data/rbi/stripe/services/file_service.rbi +0 -18
  567. data/rbi/stripe/services/financial_connections/account_inferred_balance_service.rbi +0 -4
  568. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -5
  569. data/rbi/stripe/services/financial_connections/account_service.rbi +0 -16
  570. data/rbi/stripe/services/financial_connections/institution_service.rbi +0 -5
  571. data/rbi/stripe/services/financial_connections/session_service.rbi +0 -17
  572. data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -13
  573. data/rbi/stripe/services/forwarding/request_service.rbi +0 -20
  574. data/rbi/stripe/services/gift_cards/card_service.rbi +0 -20
  575. data/rbi/stripe/services/gift_cards/transaction_service.rbi +0 -24
  576. data/rbi/stripe/services/identity/verification_report_service.rbi +0 -13
  577. data/rbi/stripe/services/identity/verification_session_service.rbi +0 -43
  578. data/rbi/stripe/services/invoice_item_service.rbi +0 -81
  579. data/rbi/stripe/services/invoice_line_item_service.rbi +0 -50
  580. data/rbi/stripe/services/invoice_payment_service.rbi +0 -5
  581. data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -9
  582. data/rbi/stripe/services/invoice_service.rbi +2 -1100
  583. data/rbi/stripe/services/invoice_upcoming_lines_service.rbi +1 -375
  584. data/rbi/stripe/services/issuing/authorization_service.rbi +0 -20
  585. data/rbi/stripe/services/issuing/card_service.rbi +0 -89
  586. data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -100
  587. data/rbi/stripe/services/issuing/credit_underwriting_record_service.rbi +0 -82
  588. data/rbi/stripe/services/issuing/dispute_service.rbi +0 -123
  589. data/rbi/stripe/services/issuing/dispute_settlement_detail_service.rbi +0 -6
  590. data/rbi/stripe/services/issuing/fraud_liability_debit_service.rbi +0 -10
  591. data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -38
  592. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -7
  593. data/rbi/stripe/services/issuing/token_service.rbi +0 -14
  594. data/rbi/stripe/services/issuing/transaction_service.rbi +0 -16
  595. data/rbi/stripe/services/mandate_service.rbi +0 -1
  596. data/rbi/stripe/services/margin_service.rbi +0 -15
  597. data/rbi/stripe/services/order_line_item_service.rbi +0 -4
  598. data/rbi/stripe/services/order_service.rbi +2 -365
  599. data/rbi/stripe/services/payment_attempt_record_service.rbi +0 -3
  600. data/rbi/stripe/services/payment_intent_service.rbi +0 -1764
  601. data/rbi/stripe/services/payment_link_line_item_service.rbi +0 -4
  602. data/rbi/stripe/services/payment_link_service.rbi +14 -211
  603. data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -294
  604. data/rbi/stripe/services/payment_method_domain_service.rbi +0 -13
  605. data/rbi/stripe/services/payment_method_service.rbi +0 -149
  606. data/rbi/stripe/services/payment_record_service.rbi +0 -92
  607. data/rbi/stripe/services/payout_service.rbi +0 -31
  608. data/rbi/stripe/services/plan_service.rbi +0 -51
  609. data/rbi/stripe/services/price_service.rbi +0 -106
  610. data/rbi/stripe/services/product_feature_service.rbi +0 -7
  611. data/rbi/stripe/services/product_service.rbi +0 -93
  612. data/rbi/stripe/services/promotion_code_service.rbi +0 -34
  613. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -4
  614. data/rbi/stripe/services/quote_line_item_service.rbi +0 -4
  615. data/rbi/stripe/services/quote_line_service.rbi +0 -4
  616. data/rbi/stripe/services/quote_preview_invoice_service.rbi +0 -4
  617. data/rbi/stripe/services/quote_preview_subscription_schedule_service.rbi +0 -4
  618. data/rbi/stripe/services/quote_service.rbi +0 -440
  619. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -12
  620. data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -15
  621. data/rbi/stripe/services/radar/value_list_service.rbi +0 -21
  622. data/rbi/stripe/services/refund_service.rbi +0 -27
  623. data/rbi/stripe/services/reporting/report_run_service.rbi +0 -21
  624. data/rbi/stripe/services/reporting/report_type_service.rbi +0 -2
  625. data/rbi/stripe/services/review_service.rbi +0 -11
  626. data/rbi/stripe/services/setup_attempt_service.rbi +0 -10
  627. data/rbi/stripe/services/setup_intent_service.rbi +0 -595
  628. data/rbi/stripe/services/shipping_rate_service.rbi +0 -39
  629. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -5
  630. data/rbi/stripe/services/source_service.rbi +0 -119
  631. data/rbi/stripe/services/source_transaction_service.rbi +0 -4
  632. data/rbi/stripe/services/subscription_item_service.rbi +0 -74
  633. data/rbi/stripe/services/subscription_item_usage_record_service.rbi +0 -4
  634. data/rbi/stripe/services/subscription_item_usage_record_summary_service.rbi +0 -4
  635. data/rbi/stripe/services/subscription_schedule_service.rbi +0 -405
  636. data/rbi/stripe/services/subscription_service.rbi +0 -337
  637. data/rbi/stripe/services/tax/association_service.rbi +0 -2
  638. data/rbi/stripe/services/tax/calculation_line_item_service.rbi +0 -4
  639. data/rbi/stripe/services/tax/calculation_service.rbi +1 -40
  640. data/rbi/stripe/services/tax/form_service.rbi +0 -11
  641. data/rbi/stripe/services/tax/registration_service.rbi +233 -211
  642. data/rbi/stripe/services/tax/settings_service.rbi +0 -13
  643. data/rbi/stripe/services/tax/transaction_line_item_service.rbi +0 -4
  644. data/rbi/stripe/services/tax/transaction_service.rbi +0 -22
  645. data/rbi/stripe/services/tax_code_service.rbi +0 -5
  646. data/rbi/stripe/services/tax_id_service.rbi +1 -17
  647. data/rbi/stripe/services/tax_rate_service.rbi +0 -32
  648. data/rbi/stripe/services/terminal/configuration_service.rbi +0 -154
  649. data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -2
  650. data/rbi/stripe/services/terminal/location_service.rbi +0 -27
  651. data/rbi/stripe/services/terminal/reader_collected_data_service.rbi +0 -1
  652. data/rbi/stripe/services/terminal/reader_service.rbi +0 -78
  653. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -114
  654. data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -4
  655. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -138
  656. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -5
  657. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -6
  658. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -120
  659. data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -1
  660. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -7
  661. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -10
  662. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -5
  663. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -14
  664. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -14
  665. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -16
  666. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -16
  667. data/rbi/stripe/services/token_service.rbi +5 -226
  668. data/rbi/stripe/services/topup_service.rbi +0 -28
  669. data/rbi/stripe/services/transfer_reversal_service.rbi +0 -12
  670. data/rbi/stripe/services/transfer_service.rbi +0 -24
  671. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -11
  672. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -12
  673. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -25
  674. data/rbi/stripe/services/treasury/financial_account_service.rbi +62 -73
  675. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -16
  676. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -50
  677. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +17 -24
  678. data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -9
  679. data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -7
  680. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -18
  681. data/rbi/stripe/services/treasury/transaction_service.rbi +0 -19
  682. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -4
  683. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -4
  684. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -5
  685. data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -25
  686. data/rbi/stripe/services/v2/core/event_service.rbi +0 -3
  687. data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -18
  688. metadata +2 -2
@@ -24,31 +24,23 @@ module Stripe
24
24
  class Address < Stripe::StripeObject
25
25
  # City, district, suburb, town, or village.
26
26
  attr_reader :city
27
-
28
27
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
29
28
  attr_reader :country
30
-
31
29
  # Address line 1 (e.g., street, PO Box, or company name).
32
30
  attr_reader :line1
33
-
34
31
  # Address line 2 (e.g., apartment, suite, unit, or building).
35
32
  attr_reader :line2
36
-
37
33
  # ZIP or postal code.
38
34
  attr_reader :postal_code
39
-
40
35
  # State, county, province, or region.
41
36
  attr_reader :state
42
37
  end
43
38
  # Billing address.
44
39
  attr_reader :address
45
-
46
40
  # Email address.
47
41
  attr_reader :email
48
-
49
42
  # Full name.
50
43
  attr_reader :name
51
-
52
44
  # Billing phone number (including extension).
53
45
  attr_reader :phone
54
46
  end
@@ -56,7 +48,6 @@ module Stripe
56
48
  class FraudDetails < Stripe::StripeObject
57
49
  # Assessments from Stripe. If set, the value is `fraudulent`.
58
50
  attr_reader :stripe_report
59
-
60
51
  # Assessments reported by you. If set, possible values of are `safe` and `fraudulent`.
61
52
  attr_reader :user_report
62
53
  end
@@ -65,37 +56,27 @@ module Stripe
65
56
  class LineItem < Stripe::StripeObject
66
57
  # Attribute for field discount_amount
67
58
  attr_reader :discount_amount
68
-
69
59
  # Attribute for field product_code
70
60
  attr_reader :product_code
71
-
72
61
  # Attribute for field product_description
73
62
  attr_reader :product_description
74
-
75
63
  # Attribute for field quantity
76
64
  attr_reader :quantity
77
-
78
65
  # Attribute for field tax_amount
79
66
  attr_reader :tax_amount
80
-
81
67
  # Attribute for field unit_cost
82
68
  attr_reader :unit_cost
83
69
  end
84
70
  # Attribute for field customer_reference
85
71
  attr_reader :customer_reference
86
-
87
72
  # Attribute for field line_items
88
73
  attr_reader :line_items
89
-
90
74
  # Attribute for field merchant_reference
91
75
  attr_reader :merchant_reference
92
-
93
76
  # Attribute for field shipping_address_zip
94
77
  attr_reader :shipping_address_zip
95
-
96
78
  # Attribute for field shipping_amount
97
79
  attr_reader :shipping_amount
98
-
99
80
  # Attribute for field shipping_from_zip
100
81
  attr_reader :shipping_from_zip
101
82
  end
@@ -104,37 +85,29 @@ module Stripe
104
85
  class Rule < Stripe::StripeObject
105
86
  # The action taken on the payment.
106
87
  attr_reader :action
107
-
108
88
  # Unique identifier for the object.
109
89
  attr_reader :id
110
-
111
90
  # The predicate to evaluate the payment against.
112
91
  attr_reader :predicate
113
92
  end
93
+ # An enumerated value providing a more detailed explanation on [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines).
94
+ attr_reader :advice_code
114
95
  # For charges declined by the network, a 2 digit code which indicates the advice returned by the network on how to proceed with an error.
115
96
  attr_reader :network_advice_code
116
-
117
97
  # For charges declined by the network, a brand specific 2, 3, or 4 digit code which indicates the reason the authorization failed.
118
98
  attr_reader :network_decline_code
119
-
120
99
  # Possible values are `approved_by_network`, `declined_by_network`, `not_sent_to_network`, and `reversed_after_approval`. The value `reversed_after_approval` indicates the payment was [blocked by Stripe](https://stripe.com/docs/declines#blocked-payments) after bank authorization, and may temporarily appear as "pending" on a cardholder's statement.
121
100
  attr_reader :network_status
122
-
123
101
  # An enumerated value providing a more detailed explanation of the outcome's `type`. Charges blocked by Radar's default block rule have the value `highest_risk_level`. Charges placed in review by Radar's default review rule have the value `elevated_risk_level`. Charges authorized, blocked, or placed in review by custom rules have the value `rule`. See [understanding declines](https://stripe.com/docs/declines) for more details.
124
102
  attr_reader :reason
125
-
126
103
  # Stripe Radar's evaluation of the riskiness of the payment. Possible values for evaluated payments are `normal`, `elevated`, `highest`. For non-card payments, and card-based payments predating the public assignment of risk levels, this field will have the value `not_assessed`. In the event of an error in the evaluation, this field will have the value `unknown`. This field is only available with Radar.
127
104
  attr_reader :risk_level
128
-
129
105
  # Stripe Radar's evaluation of the riskiness of the payment. Possible values for evaluated payments are between 0 and 100. For non-card payments, card-based payments predating the public assignment of risk scores, or in the event of an error during evaluation, this field will not be present. This field is only available with Radar for Fraud Teams.
130
106
  attr_reader :risk_score
131
-
132
107
  # The ID of the Radar rule that matched the payment, if applicable.
133
108
  attr_reader :rule
134
-
135
109
  # A human-readable description of the outcome type and reason, designed for you (the recipient of the payment), not your customer.
136
110
  attr_reader :seller_message
137
-
138
111
  # Possible values are `authorized`, `manual_review`, `issuer_declined`, `blocked`, and `invalid`. See [understanding declines](https://stripe.com/docs/declines) and [Radar reviews](https://stripe.com/docs/radar/reviews) for details.
139
112
  attr_reader :type
140
113
  end
@@ -143,13 +116,10 @@ module Stripe
143
116
  class AchCreditTransfer < Stripe::StripeObject
144
117
  # Account number to transfer funds to.
145
118
  attr_reader :account_number
146
-
147
119
  # Name of the bank associated with the routing number.
148
120
  attr_reader :bank_name
149
-
150
121
  # Routing transit number for the bank account to transfer funds to.
151
122
  attr_reader :routing_number
152
-
153
123
  # SWIFT code of the bank associated with the routing number.
154
124
  attr_reader :swift_code
155
125
  end
@@ -157,19 +127,14 @@ module Stripe
157
127
  class AchDebit < Stripe::StripeObject
158
128
  # Type of entity that holds the account. This can be either `individual` or `company`.
159
129
  attr_reader :account_holder_type
160
-
161
130
  # Name of the bank associated with the bank account.
162
131
  attr_reader :bank_name
163
-
164
132
  # Two-letter ISO code representing the country the bank account is located in.
165
133
  attr_reader :country
166
-
167
134
  # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
168
135
  attr_reader :fingerprint
169
-
170
136
  # Last four digits of the bank account number.
171
137
  attr_reader :last4
172
-
173
138
  # Routing transit number of the bank account.
174
139
  attr_reader :routing_number
175
140
  end
@@ -177,19 +142,14 @@ module Stripe
177
142
  class AcssDebit < Stripe::StripeObject
178
143
  # Name of the bank associated with the bank account.
179
144
  attr_reader :bank_name
180
-
181
145
  # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
182
146
  attr_reader :fingerprint
183
-
184
147
  # Institution number of the bank account
185
148
  attr_reader :institution_number
186
-
187
149
  # Last four digits of the bank account number.
188
150
  attr_reader :last4
189
-
190
151
  # ID of the mandate used to make this payment.
191
152
  attr_reader :mandate
192
-
193
153
  # Transit number of the bank account.
194
154
  attr_reader :transit_number
195
155
  end
@@ -202,7 +162,6 @@ module Stripe
202
162
  class AfterpayClearpay < Stripe::StripeObject
203
163
  # The Afterpay order ID associated with this payment intent.
204
164
  attr_reader :order_id
205
-
206
165
  # Order identifier shown to the merchant in Afterpay’s online portal.
207
166
  attr_reader :reference
208
167
  end
@@ -210,10 +169,8 @@ module Stripe
210
169
  class Alipay < Stripe::StripeObject
211
170
  # Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same.
212
171
  attr_reader :buyer_id
213
-
214
172
  # Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same.
215
173
  attr_reader :fingerprint
216
-
217
174
  # Transaction ID of this particular Alipay transaction.
218
175
  attr_reader :transaction_id
219
176
  end
@@ -225,25 +182,19 @@ module Stripe
225
182
  class Card < Stripe::StripeObject
226
183
  # Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
227
184
  attr_reader :brand
228
-
229
185
  # Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
230
186
  attr_reader :country
231
-
232
187
  # Two-digit number representing the card's expiration month.
233
188
  attr_reader :exp_month
234
-
235
189
  # Four-digit number representing the card's expiration year.
236
190
  attr_reader :exp_year
237
-
238
191
  # Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
239
192
  attr_reader :funding
240
-
241
193
  # The last four digits of the card.
242
194
  attr_reader :last4
243
195
  end
244
196
  # Attribute for field card
245
197
  attr_reader :card
246
-
247
198
  # funding type of the underlying payment method.
248
199
  attr_reader :type
249
200
  end
@@ -254,13 +205,10 @@ module Stripe
254
205
  class AuBecsDebit < Stripe::StripeObject
255
206
  # Bank-State-Branch number of the bank account.
256
207
  attr_reader :bsb_number
257
-
258
208
  # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
259
209
  attr_reader :fingerprint
260
-
261
210
  # Last four digits of the bank account number.
262
211
  attr_reader :last4
263
-
264
212
  # ID of the mandate used to make this payment.
265
213
  attr_reader :mandate
266
214
  end
@@ -268,13 +216,10 @@ module Stripe
268
216
  class BacsDebit < Stripe::StripeObject
269
217
  # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
270
218
  attr_reader :fingerprint
271
-
272
219
  # Last four digits of the bank account number.
273
220
  attr_reader :last4
274
-
275
221
  # ID of the mandate used to make this payment.
276
222
  attr_reader :mandate
277
-
278
223
  # Sort code of the bank account. (e.g., `10-20-30`)
279
224
  attr_reader :sort_code
280
225
  end
@@ -282,26 +227,19 @@ module Stripe
282
227
  class Bancontact < Stripe::StripeObject
283
228
  # Bank code of bank associated with the bank account.
284
229
  attr_reader :bank_code
285
-
286
230
  # Name of the bank associated with the bank account.
287
231
  attr_reader :bank_name
288
-
289
232
  # Bank Identifier Code of the bank associated with the bank account.
290
233
  attr_reader :bic
291
-
292
234
  # The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.
293
235
  attr_reader :generated_sepa_debit
294
-
295
236
  # The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.
296
237
  attr_reader :generated_sepa_debit_mandate
297
-
298
238
  # Last four characters of the IBAN.
299
239
  attr_reader :iban_last4
300
-
301
240
  # Preferred language of the Bancontact authorization page that the customer is redirected to.
302
241
  # Can be one of `en`, `de`, `fr`, or `nl`
303
242
  attr_reader :preferred_language
304
-
305
243
  # Owner's verified full name. Values are verified or provided by Bancontact directly
306
244
  # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
307
245
  attr_reader :verified_name
@@ -321,10 +259,8 @@ module Stripe
321
259
  class Checks < Stripe::StripeObject
322
260
  # If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
323
261
  attr_reader :address_line1_check
324
-
325
262
  # If a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
326
263
  attr_reader :address_postal_code_check
327
-
328
264
  # If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
329
265
  attr_reader :cvc_check
330
266
  end
@@ -348,11 +284,9 @@ module Stripe
348
284
  class Plan < Stripe::StripeObject
349
285
  # For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card.
350
286
  attr_reader :count
351
-
352
287
  # For `fixed_count` installment plans, this is the interval between installment payments your customer will make to their credit card.
353
288
  # One of `month`.
354
289
  attr_reader :interval
355
-
356
290
  # Type of installment plan, one of `fixed_count`.
357
291
  attr_reader :type
358
292
  end
@@ -373,7 +307,6 @@ module Stripe
373
307
  class Overcapture < Stripe::StripeObject
374
308
  # The maximum amount that can be captured.
375
309
  attr_reader :maximum_amount_capturable
376
-
377
310
  # Indicates whether or not the authorized amount can be over-captured.
378
311
  attr_reader :status
379
312
  end
@@ -387,29 +320,22 @@ module Stripe
387
320
  # For authenticated transactions: how the customer was authenticated by
388
321
  # the issuing bank.
389
322
  attr_reader :authentication_flow
390
-
391
323
  # The Electronic Commerce Indicator (ECI). A protocol-level field
392
324
  # indicating what degree of authentication was performed.
393
325
  attr_reader :electronic_commerce_indicator
394
-
395
326
  # The exemption requested via 3DS and accepted by the issuer at authentication time.
396
327
  attr_reader :exemption_indicator
397
-
398
328
  # Whether Stripe requested the value of `exemption_indicator` in the transaction. This will depend on
399
329
  # the outcome of Stripe's internal risk assessment.
400
330
  attr_reader :exemption_indicator_applied
401
-
402
331
  # Indicates the outcome of 3D Secure authentication.
403
332
  attr_reader :result
404
-
405
333
  # Additional information about why 3D Secure succeeded or failed based
406
334
  # on the `result`.
407
335
  attr_reader :result_reason
408
-
409
336
  # The 3D Secure 1 XID or 3D Secure 2 Directory Server Transaction ID
410
337
  # (dsTransId) for this payment.
411
338
  attr_reader :transaction_id
412
-
413
339
  # The version of 3D Secure that was used.
414
340
  attr_reader :version
415
341
  end
@@ -424,19 +350,14 @@ module Stripe
424
350
  class BillingAddress < Stripe::StripeObject
425
351
  # City, district, suburb, town, or village.
426
352
  attr_reader :city
427
-
428
353
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
429
354
  attr_reader :country
430
-
431
355
  # Address line 1 (e.g., street, PO Box, or company name).
432
356
  attr_reader :line1
433
-
434
357
  # Address line 2 (e.g., apartment, suite, unit, or building).
435
358
  attr_reader :line2
436
-
437
359
  # ZIP or postal code.
438
360
  attr_reader :postal_code
439
-
440
361
  # State, county, province, or region.
441
362
  attr_reader :state
442
363
  end
@@ -444,31 +365,23 @@ module Stripe
444
365
  class ShippingAddress < Stripe::StripeObject
445
366
  # City, district, suburb, town, or village.
446
367
  attr_reader :city
447
-
448
368
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
449
369
  attr_reader :country
450
-
451
370
  # Address line 1 (e.g., street, PO Box, or company name).
452
371
  attr_reader :line1
453
-
454
372
  # Address line 2 (e.g., apartment, suite, unit, or building).
455
373
  attr_reader :line2
456
-
457
374
  # ZIP or postal code.
458
375
  attr_reader :postal_code
459
-
460
376
  # State, county, province, or region.
461
377
  attr_reader :state
462
378
  end
463
379
  # Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
464
380
  attr_reader :billing_address
465
-
466
381
  # Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
467
382
  attr_reader :email
468
-
469
383
  # Owner's verified full name. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
470
384
  attr_reader :name
471
-
472
385
  # Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
473
386
  attr_reader :shipping_address
474
387
  end
@@ -479,19 +392,14 @@ module Stripe
479
392
  class BillingAddress < Stripe::StripeObject
480
393
  # City, district, suburb, town, or village.
481
394
  attr_reader :city
482
-
483
395
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
484
396
  attr_reader :country
485
-
486
397
  # Address line 1 (e.g., street, PO Box, or company name).
487
398
  attr_reader :line1
488
-
489
399
  # Address line 2 (e.g., apartment, suite, unit, or building).
490
400
  attr_reader :line2
491
-
492
401
  # ZIP or postal code.
493
402
  attr_reader :postal_code
494
-
495
403
  # State, county, province, or region.
496
404
  attr_reader :state
497
405
  end
@@ -499,152 +407,107 @@ module Stripe
499
407
  class ShippingAddress < Stripe::StripeObject
500
408
  # City, district, suburb, town, or village.
501
409
  attr_reader :city
502
-
503
410
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
504
411
  attr_reader :country
505
-
506
412
  # Address line 1 (e.g., street, PO Box, or company name).
507
413
  attr_reader :line1
508
-
509
414
  # Address line 2 (e.g., apartment, suite, unit, or building).
510
415
  attr_reader :line2
511
-
512
416
  # ZIP or postal code.
513
417
  attr_reader :postal_code
514
-
515
418
  # State, county, province, or region.
516
419
  attr_reader :state
517
420
  end
518
421
  # Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
519
422
  attr_reader :billing_address
520
-
521
423
  # Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
522
424
  attr_reader :email
523
-
524
425
  # Owner's verified full name. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
525
426
  attr_reader :name
526
-
527
427
  # Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
528
428
  attr_reader :shipping_address
529
429
  end
530
430
  # Attribute for field amex_express_checkout
531
431
  attr_reader :amex_express_checkout
532
-
533
432
  # Attribute for field apple_pay
534
433
  attr_reader :apple_pay
535
-
536
434
  # (For tokenized numbers only.) The last four digits of the device account number.
537
435
  attr_reader :dynamic_last4
538
-
539
436
  # Attribute for field google_pay
540
437
  attr_reader :google_pay
541
-
542
438
  # Attribute for field link
543
439
  attr_reader :link
544
-
545
440
  # Attribute for field masterpass
546
441
  attr_reader :masterpass
547
-
548
442
  # Attribute for field samsung_pay
549
443
  attr_reader :samsung_pay
550
-
551
444
  # The type of the card wallet, one of `amex_express_checkout`, `apple_pay`, `google_pay`, `masterpass`, `samsung_pay`, `visa_checkout`, or `link`. An additional hash is included on the Wallet subhash with a name matching this value. It contains additional information specific to the card wallet type.
552
445
  attr_reader :type
553
-
554
446
  # Attribute for field visa_checkout
555
447
  attr_reader :visa_checkout
556
448
  end
557
449
  # The authorized amount.
558
450
  attr_reader :amount_authorized
559
-
560
451
  # The latest amount intended to be authorized by this charge.
561
452
  attr_reader :amount_requested
562
-
563
453
  # Authorization code on the charge.
564
454
  attr_reader :authorization_code
565
-
566
455
  # Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
567
456
  attr_reader :brand
568
-
569
457
  # When using manual capture, a future timestamp at which the charge will be automatically refunded if uncaptured.
570
458
  attr_reader :capture_before
571
-
572
459
  # Check results by Card networks on Card address and CVC at time of payment.
573
460
  attr_reader :checks
574
-
575
461
  # Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
576
462
  attr_reader :country
577
-
578
463
  # Attribute for field decremental_authorization
579
464
  attr_reader :decremental_authorization
580
-
581
465
  # A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
582
466
  attr_reader :description
583
-
584
467
  # Two-digit number representing the card's expiration month.
585
468
  attr_reader :exp_month
586
-
587
469
  # Four-digit number representing the card's expiration year.
588
470
  attr_reader :exp_year
589
-
590
471
  # Attribute for field extended_authorization
591
472
  attr_reader :extended_authorization
592
-
593
473
  # Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
594
474
  #
595
475
  # *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
596
476
  attr_reader :fingerprint
597
-
598
477
  # Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
599
478
  attr_reader :funding
600
-
601
479
  # Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
602
480
  attr_reader :iin
603
-
604
481
  # Attribute for field incremental_authorization
605
482
  attr_reader :incremental_authorization
606
-
607
483
  # Installment details for this payment (Mexico only).
608
484
  #
609
485
  # For more information, see the [installments integration guide](https://stripe.com/docs/payments/installments).
610
486
  attr_reader :installments
611
-
612
487
  # The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
613
488
  attr_reader :issuer
614
-
615
489
  # The last four digits of the card.
616
490
  attr_reader :last4
617
-
618
491
  # ID of the mandate used to make this payment or created by it.
619
492
  attr_reader :mandate
620
-
621
493
  # True if this payment was marked as MOTO and out of scope for SCA.
622
494
  attr_reader :moto
623
-
624
495
  # Attribute for field multicapture
625
496
  attr_reader :multicapture
626
-
627
497
  # Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
628
498
  attr_reader :network
629
-
630
499
  # If this card has network token credentials, this contains the details of the network token credentials.
631
500
  attr_reader :network_token
632
-
633
501
  # This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD). This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.
634
502
  attr_reader :network_transaction_id
635
-
636
503
  # Attribute for field overcapture
637
504
  attr_reader :overcapture
638
-
639
505
  # Attribute for field partial_authorization
640
506
  attr_reader :partial_authorization
641
-
642
507
  # Status of a card based on the card issuer.
643
508
  attr_reader :regulated_status
644
-
645
509
  # Populated if this transaction used 3D Secure authentication.
646
510
  attr_reader :three_d_secure
647
-
648
511
  # If this Card is part of a card wallet, this contains the details of the card wallet.
649
512
  attr_reader :wallet
650
513
  end
@@ -653,7 +516,6 @@ module Stripe
653
516
  class Offline < Stripe::StripeObject
654
517
  # Time at which the payment was collected while offline
655
518
  attr_reader :stored_at
656
-
657
519
  # The method used to process this payment method offline. Only deferred is allowed.
658
520
  attr_reader :type
659
521
  end
@@ -661,28 +523,20 @@ module Stripe
661
523
  class Receipt < Stripe::StripeObject
662
524
  # The type of account being debited or credited
663
525
  attr_reader :account_type
664
-
665
526
  # EMV tag 9F26, cryptogram generated by the integrated circuit chip.
666
527
  attr_reader :application_cryptogram
667
-
668
528
  # Mnenomic of the Application Identifier.
669
529
  attr_reader :application_preferred_name
670
-
671
530
  # Identifier for this transaction.
672
531
  attr_reader :authorization_code
673
-
674
532
  # EMV tag 8A. A code returned by the card issuer.
675
533
  attr_reader :authorization_response_code
676
-
677
534
  # Describes the method used by the cardholder to verify ownership of the card. One of the following: `approval`, `failure`, `none`, `offline_pin`, `offline_pin_and_signature`, `online_pin`, or `signature`.
678
535
  attr_reader :cardholder_verification_method
679
-
680
536
  # EMV tag 84. Similar to the application identifier stored on the integrated circuit chip.
681
537
  attr_reader :dedicated_file_name
682
-
683
538
  # The outcome of a series of EMV functions performed by the card reader.
684
539
  attr_reader :terminal_verification_results
685
-
686
540
  # An indication of various EMV functions performed during the transaction.
687
541
  attr_reader :transaction_status_information
688
542
  end
@@ -693,78 +547,54 @@ module Stripe
693
547
  end
694
548
  # The authorized amount
695
549
  attr_reader :amount_authorized
696
-
697
550
  # Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
698
551
  attr_reader :brand
699
-
700
552
  # The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card.
701
553
  attr_reader :brand_product
702
-
703
554
  # When using manual capture, a future timestamp after which the charge will be automatically refunded if uncaptured.
704
555
  attr_reader :capture_before
705
-
706
556
  # The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay.
707
557
  attr_reader :cardholder_name
708
-
709
558
  # Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
710
559
  attr_reader :country
711
-
712
560
  # A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
713
561
  attr_reader :description
714
-
715
562
  # Authorization response cryptogram.
716
563
  attr_reader :emv_auth_data
717
-
718
564
  # Two-digit number representing the card's expiration month.
719
565
  attr_reader :exp_month
720
-
721
566
  # Four-digit number representing the card's expiration year.
722
567
  attr_reader :exp_year
723
-
724
568
  # Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
725
569
  #
726
570
  # *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
727
571
  attr_reader :fingerprint
728
-
729
572
  # Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
730
573
  attr_reader :funding
731
-
732
574
  # ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod.
733
575
  attr_reader :generated_card
734
-
735
576
  # Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
736
577
  attr_reader :iin
737
-
738
578
  # Whether this [PaymentIntent](https://stripe.com/docs/api/payment_intents) is eligible for incremental authorizations. Request support using [request_incremental_authorization_support](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-payment_method_options-card_present-request_incremental_authorization_support).
739
579
  attr_reader :incremental_authorization_supported
740
-
741
580
  # The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
742
581
  attr_reader :issuer
743
-
744
582
  # The last four digits of the card.
745
583
  attr_reader :last4
746
-
747
584
  # Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
748
585
  attr_reader :network
749
-
750
586
  # This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD). This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.
751
587
  attr_reader :network_transaction_id
752
-
753
588
  # Details about payments collected offline.
754
589
  attr_reader :offline
755
-
756
590
  # Defines whether the authorized amount can be over-captured or not
757
591
  attr_reader :overcapture_supported
758
-
759
592
  # EMV tag 5F2D. Preferred languages specified by the integrated circuit chip.
760
593
  attr_reader :preferred_locales
761
-
762
594
  # How card details were read in this transaction.
763
595
  attr_reader :read_method
764
-
765
596
  # A collection of fields required to be displayed on receipts. Only required for EMV transactions.
766
597
  attr_reader :receipt
767
-
768
598
  # Attribute for field wallet
769
599
  attr_reader :wallet
770
600
  end
@@ -772,7 +602,6 @@ module Stripe
772
602
  class Cashapp < Stripe::StripeObject
773
603
  # A unique and immutable identifier assigned by Cash App to every buyer.
774
604
  attr_reader :buyer_id
775
-
776
605
  # A public identifier for buyers using Cash App.
777
606
  attr_reader :cashtag
778
607
  end
@@ -782,7 +611,6 @@ module Stripe
782
611
  class Eps < Stripe::StripeObject
783
612
  # The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`.
784
613
  attr_reader :bank
785
-
786
614
  # Owner's verified full name. Values are verified or provided by EPS directly
787
615
  # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
788
616
  # EPS rarely provides this information so the attribute is usually empty.
@@ -792,10 +620,8 @@ module Stripe
792
620
  class Fpx < Stripe::StripeObject
793
621
  # Account holder type, if provided. Can be one of `individual` or `company`.
794
622
  attr_reader :account_holder_type
795
-
796
623
  # The customer's bank. Can be one of `affin_bank`, `agrobank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, `pb_enterprise`, or `bank_of_china`.
797
624
  attr_reader :bank
798
-
799
625
  # Unique transaction id generated by FPX for every request from the merchant
800
626
  attr_reader :transaction_id
801
627
  end
@@ -803,13 +629,10 @@ module Stripe
803
629
  class Giropay < Stripe::StripeObject
804
630
  # Bank code of bank associated with the bank account.
805
631
  attr_reader :bank_code
806
-
807
632
  # Name of the bank associated with the bank account.
808
633
  attr_reader :bank_name
809
-
810
634
  # Bank Identifier Code of the bank associated with the bank account.
811
635
  attr_reader :bic
812
-
813
636
  # Owner's verified full name. Values are verified or provided by Giropay directly
814
637
  # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
815
638
  # Giropay rarely provides this information so the attribute is usually empty.
@@ -826,16 +649,12 @@ module Stripe
826
649
  class IdBankTransfer < Stripe::StripeObject
827
650
  # Account number of the bank account to transfer funds to.
828
651
  attr_reader :account_number
829
-
830
652
  # Bank where the account is located.
831
653
  attr_reader :bank
832
-
833
654
  # Local bank code of the bank.
834
655
  attr_reader :bank_code
835
-
836
656
  # Name of the bank associated with the bank account.
837
657
  attr_reader :bank_name
838
-
839
658
  # Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
840
659
  attr_reader :display_name
841
660
  end
@@ -843,19 +662,14 @@ module Stripe
843
662
  class Ideal < Stripe::StripeObject
844
663
  # The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
845
664
  attr_reader :bank
846
-
847
665
  # The Bank Identifier Code of the customer's bank.
848
666
  attr_reader :bic
849
-
850
667
  # The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.
851
668
  attr_reader :generated_sepa_debit
852
-
853
669
  # The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.
854
670
  attr_reader :generated_sepa_debit_mandate
855
-
856
671
  # Last four characters of the IBAN.
857
672
  attr_reader :iban_last4
858
-
859
673
  # Owner's verified full name. Values are verified or provided by iDEAL directly
860
674
  # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
861
675
  attr_reader :verified_name
@@ -865,84 +679,59 @@ module Stripe
865
679
  class Receipt < Stripe::StripeObject
866
680
  # The type of account being debited or credited
867
681
  attr_reader :account_type
868
-
869
682
  # EMV tag 9F26, cryptogram generated by the integrated circuit chip.
870
683
  attr_reader :application_cryptogram
871
-
872
684
  # Mnenomic of the Application Identifier.
873
685
  attr_reader :application_preferred_name
874
-
875
686
  # Identifier for this transaction.
876
687
  attr_reader :authorization_code
877
-
878
688
  # EMV tag 8A. A code returned by the card issuer.
879
689
  attr_reader :authorization_response_code
880
-
881
690
  # Describes the method used by the cardholder to verify ownership of the card. One of the following: `approval`, `failure`, `none`, `offline_pin`, `offline_pin_and_signature`, `online_pin`, or `signature`.
882
691
  attr_reader :cardholder_verification_method
883
-
884
692
  # EMV tag 84. Similar to the application identifier stored on the integrated circuit chip.
885
693
  attr_reader :dedicated_file_name
886
-
887
694
  # The outcome of a series of EMV functions performed by the card reader.
888
695
  attr_reader :terminal_verification_results
889
-
890
696
  # An indication of various EMV functions performed during the transaction.
891
697
  attr_reader :transaction_status_information
892
698
  end
893
699
  # Card brand. Can be `interac`, `mastercard` or `visa`.
894
700
  attr_reader :brand
895
-
896
701
  # The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay.
897
702
  attr_reader :cardholder_name
898
-
899
703
  # Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
900
704
  attr_reader :country
901
-
902
705
  # A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
903
706
  attr_reader :description
904
-
905
707
  # Authorization response cryptogram.
906
708
  attr_reader :emv_auth_data
907
-
908
709
  # Two-digit number representing the card's expiration month.
909
710
  attr_reader :exp_month
910
-
911
711
  # Four-digit number representing the card's expiration year.
912
712
  attr_reader :exp_year
913
-
914
713
  # Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
915
714
  #
916
715
  # *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
917
716
  attr_reader :fingerprint
918
-
919
717
  # Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
920
718
  attr_reader :funding
921
-
922
719
  # ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod.
923
720
  attr_reader :generated_card
924
-
925
721
  # Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
926
722
  attr_reader :iin
927
-
928
723
  # The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
929
724
  attr_reader :issuer
930
-
931
725
  # The last four digits of the card.
932
726
  attr_reader :last4
933
-
934
727
  # Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
935
728
  attr_reader :network
936
-
937
729
  # This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD). This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.
938
730
  attr_reader :network_transaction_id
939
-
940
731
  # EMV tag 5F2D. Preferred languages specified by the integrated circuit chip.
941
732
  attr_reader :preferred_locales
942
-
943
733
  # How card details were read in this transaction.
944
734
  attr_reader :read_method
945
-
946
735
  # A collection of fields required to be displayed on receipts. Only required for EMV transactions.
947
736
  attr_reader :receipt
948
737
  end
@@ -963,11 +752,9 @@ module Stripe
963
752
  end
964
753
  # The payer details for this transaction.
965
754
  attr_reader :payer_details
966
-
967
755
  # The Klarna payment method used for this transaction.
968
756
  # Can be one of `pay_later`, `pay_now`, `pay_with_financing`, or `pay_in_installments`
969
757
  attr_reader :payment_method_category
970
-
971
758
  # Preferred language of the Klarna authorization page that the customer is redirected to.
972
759
  # Can be one of `de-AT`, `en-AT`, `nl-BE`, `fr-BE`, `en-BE`, `de-DE`, `en-DE`, `da-DK`, `en-DK`, `es-ES`, `en-ES`, `fi-FI`, `sv-FI`, `en-FI`, `en-GB`, `en-IE`, `it-IT`, `en-IT`, `nl-NL`, `en-NL`, `nb-NO`, `en-NO`, `sv-SE`, `en-SE`, `en-US`, `es-US`, `fr-FR`, `en-FR`, `cs-CZ`, `en-CZ`, `ro-RO`, `en-RO`, `el-GR`, `en-GR`, `en-AU`, `en-NZ`, `en-CA`, `fr-CA`, `pl-PL`, `en-PL`, `pt-PT`, `en-PT`, `de-CH`, `fr-CH`, `it-CH`, or `en-CH`
973
760
  attr_reader :preferred_locale
@@ -985,10 +772,8 @@ module Stripe
985
772
  class KrCard < Stripe::StripeObject
986
773
  # The local credit or debit card brand.
987
774
  attr_reader :brand
988
-
989
775
  # A unique identifier for the buyer as determined by the local payment processor.
990
776
  attr_reader :buyer_id
991
-
992
777
  # The last four digits of the card. This may not be present for American Express cards.
993
778
  attr_reader :last4
994
779
  end
@@ -1005,16 +790,12 @@ module Stripe
1005
790
  class Card < Stripe::StripeObject
1006
791
  # Brand of the card used in the transaction
1007
792
  attr_reader :brand
1008
-
1009
793
  # Two-letter ISO code representing the country of the card
1010
794
  attr_reader :country
1011
-
1012
795
  # Two digit number representing the card's expiration month
1013
796
  attr_reader :exp_month
1014
-
1015
797
  # Two digit number representing the card's expiration year
1016
798
  attr_reader :exp_year
1017
-
1018
799
  # The last 4 digits of the card
1019
800
  attr_reader :last4
1020
801
  end
@@ -1025,7 +806,6 @@ module Stripe
1025
806
  class Multibanco < Stripe::StripeObject
1026
807
  # Entity number associated with this Multibanco payment.
1027
808
  attr_reader :entity
1028
-
1029
809
  # Reference number associated with this Multibanco payment.
1030
810
  attr_reader :reference
1031
811
  end
@@ -1043,10 +823,8 @@ module Stripe
1043
823
  class P24 < Stripe::StripeObject
1044
824
  # The customer's bank. Can be one of `ing`, `citi_handlowy`, `tmobile_usbugi_bankowe`, `plus_bank`, `etransfer_pocztowy24`, `banki_spbdzielcze`, `bank_nowy_bfg_sa`, `getin_bank`, `velobank`, `blik`, `noble_pay`, `ideabank`, `envelobank`, `santander_przelew24`, `nest_przelew`, `mbank_mtransfer`, `inteligo`, `pbac_z_ipko`, `bnp_paribas`, `credit_agricole`, `toyota_bank`, `bank_pekao_sa`, `volkswagen_bank`, `bank_millennium`, `alior_bank`, or `boz`.
1045
825
  attr_reader :bank
1046
-
1047
826
  # Unique reference for this Przelewy24 payment.
1048
827
  attr_reader :reference
1049
-
1050
828
  # Owner's verified full name. Values are verified or provided by Przelewy24 directly
1051
829
  # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1052
830
  # Przelewy24 rarely provides this information so the attribute is usually empty.
@@ -1067,7 +845,6 @@ module Stripe
1067
845
  class SellerProtection < Stripe::StripeObject
1068
846
  # An array of conditions that are covered for the transaction, if applicable.
1069
847
  attr_reader :dispute_categories
1070
-
1071
848
  # Indicates whether the transaction is eligible for PayPal's seller protection.
1072
849
  attr_reader :status
1073
850
  end
@@ -1075,19 +852,14 @@ module Stripe
1075
852
  class Shipping < Stripe::StripeObject
1076
853
  # City, district, suburb, town, or village.
1077
854
  attr_reader :city
1078
-
1079
855
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1080
856
  attr_reader :country
1081
-
1082
857
  # Address line 1 (e.g., street, PO Box, or company name).
1083
858
  attr_reader :line1
1084
-
1085
859
  # Address line 2 (e.g., apartment, suite, unit, or building).
1086
860
  attr_reader :line2
1087
-
1088
861
  # ZIP or postal code.
1089
862
  attr_reader :postal_code
1090
-
1091
863
  # State, county, province, or region.
1092
864
  attr_reader :state
1093
865
  end
@@ -1095,53 +867,42 @@ module Stripe
1095
867
  class VerifiedAddress < Stripe::StripeObject
1096
868
  # City, district, suburb, town, or village.
1097
869
  attr_reader :city
1098
-
1099
870
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1100
871
  attr_reader :country
1101
-
1102
872
  # Address line 1 (e.g., street, PO Box, or company name).
1103
873
  attr_reader :line1
1104
-
1105
874
  # Address line 2 (e.g., apartment, suite, unit, or building).
1106
875
  attr_reader :line2
1107
-
1108
876
  # ZIP or postal code.
1109
877
  attr_reader :postal_code
1110
-
1111
878
  # State, county, province, or region.
1112
879
  attr_reader :state
1113
880
  end
881
+ # Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
882
+ attr_reader :country
1114
883
  # Owner's email. Values are provided by PayPal directly
1115
884
  # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1116
885
  attr_reader :payer_email
1117
-
1118
886
  # PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
1119
887
  attr_reader :payer_id
1120
-
1121
888
  # Owner's full name. Values provided by PayPal directly
1122
889
  # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1123
890
  attr_reader :payer_name
1124
-
1125
891
  # The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction.
1126
892
  attr_reader :seller_protection
1127
-
1128
893
  # The shipping address for the customer, as supplied by the merchant at the point of payment
1129
894
  # execution. This shipping address will not be updated if the merchant updates the shipping
1130
895
  # address on the PaymentIntent after the PaymentIntent was successfully confirmed.
1131
896
  attr_reader :shipping
1132
-
1133
897
  # A unique ID generated by PayPal for this transaction.
1134
898
  attr_reader :transaction_id
1135
-
1136
899
  # The shipping address for the customer, as supplied by the merchant at the point of payment
1137
900
  # execution. This shipping address will not be updated if the merchant updates the shipping
1138
901
  # address on the PaymentIntent after the PaymentIntent was successfully confirmed.
1139
902
  attr_reader :verified_address
1140
-
1141
903
  # Owner's verified email. Values are verified or provided by PayPal directly
1142
904
  # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1143
905
  attr_reader :verified_email
1144
-
1145
906
  # Owner's verified full name. Values are verified or provided by PayPal directly
1146
907
  # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1147
908
  attr_reader :verified_name
@@ -1150,13 +911,10 @@ module Stripe
1150
911
  class Payto < Stripe::StripeObject
1151
912
  # Bank-State-Branch number of the bank account.
1152
913
  attr_reader :bsb_number
1153
-
1154
914
  # Last four digits of the bank account number.
1155
915
  attr_reader :last4
1156
-
1157
916
  # ID of the mandate used to make this payment.
1158
917
  attr_reader :mandate
1159
-
1160
918
  # The PayID alias for the bank account.
1161
919
  attr_reader :pay_id
1162
920
  end
@@ -1179,25 +937,19 @@ module Stripe
1179
937
  class Card < Stripe::StripeObject
1180
938
  # Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
1181
939
  attr_reader :brand
1182
-
1183
940
  # Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
1184
941
  attr_reader :country
1185
-
1186
942
  # Two-digit number representing the card's expiration month.
1187
943
  attr_reader :exp_month
1188
-
1189
944
  # Four-digit number representing the card's expiration year.
1190
945
  attr_reader :exp_year
1191
-
1192
946
  # Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
1193
947
  attr_reader :funding
1194
-
1195
948
  # The last four digits of the card.
1196
949
  attr_reader :last4
1197
950
  end
1198
951
  # Attribute for field card
1199
952
  attr_reader :card
1200
-
1201
953
  # funding type of the underlying payment method.
1202
954
  attr_reader :type
1203
955
  end
@@ -1213,10 +965,8 @@ module Stripe
1213
965
  class SepaCreditTransfer < Stripe::StripeObject
1214
966
  # Name of the bank associated with the bank account.
1215
967
  attr_reader :bank_name
1216
-
1217
968
  # Bank Identifier Code of the bank associated with the bank account.
1218
969
  attr_reader :bic
1219
-
1220
970
  # IBAN of the bank account to transfer funds to.
1221
971
  attr_reader :iban
1222
972
  end
@@ -1224,19 +974,14 @@ module Stripe
1224
974
  class SepaDebit < Stripe::StripeObject
1225
975
  # Bank code of bank associated with the bank account.
1226
976
  attr_reader :bank_code
1227
-
1228
977
  # Branch code of bank associated with the bank account.
1229
978
  attr_reader :branch_code
1230
-
1231
979
  # Two-letter ISO code representing the country the bank account is located in.
1232
980
  attr_reader :country
1233
-
1234
981
  # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
1235
982
  attr_reader :fingerprint
1236
-
1237
983
  # Last four characters of the IBAN.
1238
984
  attr_reader :last4
1239
-
1240
985
  # Find the ID of the mandate used for this payment under the [payment_method_details.sepa_debit.mandate](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-sepa_debit-mandate) property on the Charge. Use this mandate ID to [retrieve the Mandate](https://stripe.com/docs/api/mandates/retrieve).
1241
986
  attr_reader :mandate
1242
987
  end
@@ -1246,29 +991,21 @@ module Stripe
1246
991
  class Sofort < Stripe::StripeObject
1247
992
  # Bank code of bank associated with the bank account.
1248
993
  attr_reader :bank_code
1249
-
1250
994
  # Name of the bank associated with the bank account.
1251
995
  attr_reader :bank_name
1252
-
1253
996
  # Bank Identifier Code of the bank associated with the bank account.
1254
997
  attr_reader :bic
1255
-
1256
998
  # Two-letter ISO code representing the country the bank account is located in.
1257
999
  attr_reader :country
1258
-
1259
1000
  # The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.
1260
1001
  attr_reader :generated_sepa_debit
1261
-
1262
1002
  # The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.
1263
1003
  attr_reader :generated_sepa_debit_mandate
1264
-
1265
1004
  # Last four characters of the IBAN.
1266
1005
  attr_reader :iban_last4
1267
-
1268
1006
  # Preferred language of the SOFORT authorization page that the customer is redirected to.
1269
1007
  # Can be one of `de`, `en`, `es`, `fr`, `it`, `nl`, or `pl`
1270
1008
  attr_reader :preferred_language
1271
-
1272
1009
  # Owner's verified full name. Values are verified or provided by SOFORT directly
1273
1010
  # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1274
1011
  attr_reader :verified_name
@@ -1279,10 +1016,8 @@ module Stripe
1279
1016
  class Swish < Stripe::StripeObject
1280
1017
  # Uniquely identifies the payer's Swish account. You can use this attribute to check whether two Swish transactions were paid for by the same payer
1281
1018
  attr_reader :fingerprint
1282
-
1283
1019
  # Payer bank reference number for the payment
1284
1020
  attr_reader :payment_reference
1285
-
1286
1021
  # The last four digits of the Swish account phone number
1287
1022
  attr_reader :verified_phone_last4
1288
1023
  end
@@ -1292,25 +1027,18 @@ module Stripe
1292
1027
  class UsBankAccount < Stripe::StripeObject
1293
1028
  # Account holder type: individual or company.
1294
1029
  attr_reader :account_holder_type
1295
-
1296
1030
  # Account type: checkings or savings. Defaults to checking if omitted.
1297
1031
  attr_reader :account_type
1298
-
1299
1032
  # Name of the bank associated with the bank account.
1300
1033
  attr_reader :bank_name
1301
-
1302
1034
  # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
1303
1035
  attr_reader :fingerprint
1304
-
1305
1036
  # Last four digits of the bank account number.
1306
1037
  attr_reader :last4
1307
-
1308
1038
  # ID of the mandate used to make this payment.
1309
1039
  attr_reader :mandate
1310
-
1311
1040
  # Reference number to locate ACH payments with customer's bank.
1312
1041
  attr_reader :payment_reference
1313
-
1314
1042
  # Routing number of the bank account.
1315
1043
  attr_reader :routing_number
1316
1044
  end
@@ -1320,7 +1048,6 @@ module Stripe
1320
1048
  class WechatPay < Stripe::StripeObject
1321
1049
  # Uniquely identifies this particular WeChat Pay account. You can use this attribute to check whether two WeChat accounts are the same.
1322
1050
  attr_reader :fingerprint
1323
-
1324
1051
  # Transaction ID of this particular WeChat Pay transaction.
1325
1052
  attr_reader :transaction_id
1326
1053
  end
@@ -1328,177 +1055,120 @@ module Stripe
1328
1055
  class Zip < Stripe::StripeObject; end
1329
1056
  # Attribute for field ach_credit_transfer
1330
1057
  attr_reader :ach_credit_transfer
1331
-
1332
1058
  # Attribute for field ach_debit
1333
1059
  attr_reader :ach_debit
1334
-
1335
1060
  # Attribute for field acss_debit
1336
1061
  attr_reader :acss_debit
1337
-
1338
1062
  # Attribute for field affirm
1339
1063
  attr_reader :affirm
1340
-
1341
1064
  # Attribute for field afterpay_clearpay
1342
1065
  attr_reader :afterpay_clearpay
1343
-
1344
1066
  # Attribute for field alipay
1345
1067
  attr_reader :alipay
1346
-
1347
1068
  # Attribute for field alma
1348
1069
  attr_reader :alma
1349
-
1350
1070
  # Attribute for field amazon_pay
1351
1071
  attr_reader :amazon_pay
1352
-
1353
1072
  # Attribute for field au_becs_debit
1354
1073
  attr_reader :au_becs_debit
1355
-
1356
1074
  # Attribute for field bacs_debit
1357
1075
  attr_reader :bacs_debit
1358
-
1359
1076
  # Attribute for field bancontact
1360
1077
  attr_reader :bancontact
1361
-
1362
1078
  # Attribute for field blik
1363
1079
  attr_reader :blik
1364
-
1365
1080
  # Attribute for field boleto
1366
1081
  attr_reader :boleto
1367
-
1368
1082
  # Attribute for field card
1369
1083
  attr_reader :card
1370
-
1371
1084
  # Attribute for field card_present
1372
1085
  attr_reader :card_present
1373
-
1374
1086
  # Attribute for field cashapp
1375
1087
  attr_reader :cashapp
1376
-
1377
1088
  # Attribute for field customer_balance
1378
1089
  attr_reader :customer_balance
1379
-
1380
1090
  # Attribute for field eps
1381
1091
  attr_reader :eps
1382
-
1383
1092
  # Attribute for field fpx
1384
1093
  attr_reader :fpx
1385
-
1386
1094
  # Attribute for field giropay
1387
1095
  attr_reader :giropay
1388
-
1389
1096
  # Attribute for field gopay
1390
1097
  attr_reader :gopay
1391
-
1392
1098
  # Attribute for field grabpay
1393
1099
  attr_reader :grabpay
1394
-
1395
1100
  # Attribute for field id_bank_transfer
1396
1101
  attr_reader :id_bank_transfer
1397
-
1398
1102
  # Attribute for field ideal
1399
1103
  attr_reader :ideal
1400
-
1401
1104
  # Attribute for field interac_present
1402
1105
  attr_reader :interac_present
1403
-
1404
1106
  # Attribute for field kakao_pay
1405
1107
  attr_reader :kakao_pay
1406
-
1407
1108
  # Attribute for field klarna
1408
1109
  attr_reader :klarna
1409
-
1410
1110
  # Attribute for field konbini
1411
1111
  attr_reader :konbini
1412
-
1413
1112
  # Attribute for field kr_card
1414
1113
  attr_reader :kr_card
1415
-
1416
1114
  # Attribute for field link
1417
1115
  attr_reader :link
1418
-
1419
1116
  # Attribute for field mb_way
1420
1117
  attr_reader :mb_way
1421
-
1422
1118
  # Attribute for field mobilepay
1423
1119
  attr_reader :mobilepay
1424
-
1425
1120
  # Attribute for field multibanco
1426
1121
  attr_reader :multibanco
1427
-
1428
1122
  # Attribute for field naver_pay
1429
1123
  attr_reader :naver_pay
1430
-
1431
1124
  # Attribute for field oxxo
1432
1125
  attr_reader :oxxo
1433
-
1434
1126
  # Attribute for field p24
1435
1127
  attr_reader :p24
1436
-
1437
1128
  # Attribute for field payco
1438
1129
  attr_reader :payco
1439
-
1440
1130
  # Attribute for field paynow
1441
1131
  attr_reader :paynow
1442
-
1443
1132
  # Attribute for field paypal
1444
1133
  attr_reader :paypal
1445
-
1446
1134
  # Attribute for field payto
1447
1135
  attr_reader :payto
1448
-
1449
1136
  # Attribute for field pix
1450
1137
  attr_reader :pix
1451
-
1452
1138
  # Attribute for field promptpay
1453
1139
  attr_reader :promptpay
1454
-
1455
1140
  # Attribute for field qris
1456
1141
  attr_reader :qris
1457
-
1458
1142
  # Attribute for field rechnung
1459
1143
  attr_reader :rechnung
1460
-
1461
1144
  # Attribute for field revolut_pay
1462
1145
  attr_reader :revolut_pay
1463
-
1464
1146
  # Attribute for field samsung_pay
1465
1147
  attr_reader :samsung_pay
1466
-
1467
1148
  # Attribute for field sepa_credit_transfer
1468
1149
  attr_reader :sepa_credit_transfer
1469
-
1470
1150
  # Attribute for field sepa_debit
1471
1151
  attr_reader :sepa_debit
1472
-
1473
1152
  # Attribute for field shopeepay
1474
1153
  attr_reader :shopeepay
1475
-
1476
1154
  # Attribute for field sofort
1477
1155
  attr_reader :sofort
1478
-
1479
1156
  # Attribute for field stripe_account
1480
1157
  attr_reader :stripe_account
1481
-
1482
1158
  # Attribute for field swish
1483
1159
  attr_reader :swish
1484
-
1485
1160
  # Attribute for field twint
1486
1161
  attr_reader :twint
1487
-
1488
1162
  # The type of transaction-specific details of the payment method used in the payment, one of `ach_credit_transfer`, `ach_debit`, `acss_debit`, `alipay`, `au_becs_debit`, `bancontact`, `card`, `card_present`, `eps`, `giropay`, `ideal`, `klarna`, `multibanco`, `p24`, `sepa_debit`, `sofort`, `stripe_account`, or `wechat`.
1489
1163
  # An additional hash is included on `payment_method_details` with a name matching this value.
1490
1164
  # It contains information specific to the payment method.
1491
1165
  attr_reader :type
1492
-
1493
1166
  # Attribute for field us_bank_account
1494
1167
  attr_reader :us_bank_account
1495
-
1496
1168
  # Attribute for field wechat
1497
1169
  attr_reader :wechat
1498
-
1499
1170
  # Attribute for field wechat_pay
1500
1171
  attr_reader :wechat_pay
1501
-
1502
1172
  # Attribute for field zip
1503
1173
  attr_reader :zip
1504
1174
  end
@@ -1512,34 +1182,25 @@ module Stripe
1512
1182
  class Address < Stripe::StripeObject
1513
1183
  # City, district, suburb, town, or village.
1514
1184
  attr_reader :city
1515
-
1516
1185
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1517
1186
  attr_reader :country
1518
-
1519
1187
  # Address line 1 (e.g., street, PO Box, or company name).
1520
1188
  attr_reader :line1
1521
-
1522
1189
  # Address line 2 (e.g., apartment, suite, unit, or building).
1523
1190
  attr_reader :line2
1524
-
1525
1191
  # ZIP or postal code.
1526
1192
  attr_reader :postal_code
1527
-
1528
1193
  # State, county, province, or region.
1529
1194
  attr_reader :state
1530
1195
  end
1531
1196
  # Attribute for field address
1532
1197
  attr_reader :address
1533
-
1534
1198
  # The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
1535
1199
  attr_reader :carrier
1536
-
1537
1200
  # Recipient name.
1538
1201
  attr_reader :name
1539
-
1540
1202
  # Recipient phone (including extension).
1541
1203
  attr_reader :phone
1542
-
1543
1204
  # The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.
1544
1205
  attr_reader :tracking_number
1545
1206
  end
@@ -1547,7 +1208,6 @@ module Stripe
1547
1208
  class TransferData < Stripe::StripeObject
1548
1209
  # The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
1549
1210
  attr_reader :amount
1550
-
1551
1211
  # ID of an existing, connected Stripe account to transfer funds to if `transfer_data` was specified in the charge request.
1552
1212
  attr_reader :destination
1553
1213
  end
@@ -1556,13 +1216,10 @@ module Stripe
1556
1216
  class Created < Stripe::RequestParams
1557
1217
  # Minimum value to filter by (exclusive)
1558
1218
  attr_accessor :gt
1559
-
1560
1219
  # Minimum value to filter by (inclusive)
1561
1220
  attr_accessor :gte
1562
-
1563
1221
  # Maximum value to filter by (exclusive)
1564
1222
  attr_accessor :lt
1565
-
1566
1223
  # Maximum value to filter by (inclusive)
1567
1224
  attr_accessor :lte
1568
1225
 
@@ -1575,25 +1232,18 @@ module Stripe
1575
1232
  end
1576
1233
  # Only return charges that were created during the given date interval.
1577
1234
  attr_accessor :created
1578
-
1579
1235
  # Only return charges for the customer specified by this customer ID.
1580
1236
  attr_accessor :customer
1581
-
1582
1237
  # 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.
1583
1238
  attr_accessor :ending_before
1584
-
1585
1239
  # Specifies which fields in the response should be expanded.
1586
1240
  attr_accessor :expand
1587
-
1588
1241
  # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
1589
1242
  attr_accessor :limit
1590
-
1591
1243
  # Only return charges that were created by the PaymentIntent specified by this PaymentIntent ID.
1592
1244
  attr_accessor :payment_intent
1593
-
1594
1245
  # 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.
1595
1246
  attr_accessor :starting_after
1596
-
1597
1247
  # Only return charges for this transfer group, limited to 100.
1598
1248
  attr_accessor :transfer_group
1599
1249
 
@@ -1622,7 +1272,6 @@ module Stripe
1622
1272
  class Destination < Stripe::RequestParams
1623
1273
  # ID of an existing, connected Stripe account.
1624
1274
  attr_accessor :account
1625
-
1626
1275
  # The amount to transfer to the destination account without creating an `Application Fee` object. Cannot be combined with the `application_fee` parameter. Must be less than or equal to the charge amount.
1627
1276
  attr_accessor :amount
1628
1277
 
@@ -1645,19 +1294,14 @@ module Stripe
1645
1294
  class Address < Stripe::RequestParams
1646
1295
  # City, district, suburb, town, or village.
1647
1296
  attr_accessor :city
1648
-
1649
1297
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1650
1298
  attr_accessor :country
1651
-
1652
1299
  # Address line 1 (e.g., street, PO Box, or company name).
1653
1300
  attr_accessor :line1
1654
-
1655
1301
  # Address line 2 (e.g., apartment, suite, unit, or building).
1656
1302
  attr_accessor :line2
1657
-
1658
1303
  # ZIP or postal code.
1659
1304
  attr_accessor :postal_code
1660
-
1661
1305
  # State, county, province, or region.
1662
1306
  attr_accessor :state
1663
1307
 
@@ -1679,16 +1323,12 @@ module Stripe
1679
1323
  end
1680
1324
  # Shipping address.
1681
1325
  attr_accessor :address
1682
-
1683
1326
  # The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
1684
1327
  attr_accessor :carrier
1685
-
1686
1328
  # Recipient name.
1687
1329
  attr_accessor :name
1688
-
1689
1330
  # Recipient phone (including extension).
1690
1331
  attr_accessor :phone
1691
-
1692
1332
  # The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.
1693
1333
  attr_accessor :tracking_number
1694
1334
 
@@ -1704,7 +1344,6 @@ module Stripe
1704
1344
  class TransferData < Stripe::RequestParams
1705
1345
  # The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
1706
1346
  attr_accessor :amount
1707
-
1708
1347
  # ID of an existing, connected Stripe account.
1709
1348
  attr_accessor :destination
1710
1349
 
@@ -1715,60 +1354,42 @@ module Stripe
1715
1354
  end
1716
1355
  # Amount intended to be collected by this payment. 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).
1717
1356
  attr_accessor :amount
1718
-
1719
1357
  # Attribute for param field application_fee
1720
1358
  attr_accessor :application_fee
1721
-
1722
1359
  # A fee in cents (or local equivalent) that will be applied to the charge and transferred to the application owner's Stripe account. The request must be made with an OAuth key or the `Stripe-Account` header in order to take an application fee. For more information, see the application fees [documentation](https://stripe.com/docs/connect/direct-charges#collect-fees).
1723
1360
  attr_accessor :application_fee_amount
1724
-
1725
1361
  # Whether to immediately capture the charge. Defaults to `true`. When `false`, the charge issues an authorization (or pre-authorization), and will need to be [captured](https://stripe.com/docs/api#capture_charge) later. Uncaptured charges expire after a set number of days (7 by default). For more information, see the [authorizing charges and settling later](https://stripe.com/docs/charges/placing-a-hold) documentation.
1726
1362
  attr_accessor :capture
1727
-
1728
1363
  # 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).
1729
1364
  attr_accessor :currency
1730
-
1731
1365
  # The ID of an existing customer that will be charged in this request.
1732
1366
  attr_accessor :customer
1733
-
1734
1367
  # An arbitrary string which you can attach to a `Charge` object. It is displayed when in the web interface alongside the charge. Note that if you use Stripe to send automatic email receipts to your customers, your receipt emails will include the `description` of the charge(s) that they are describing.
1735
1368
  attr_accessor :description
1736
-
1737
1369
  # Attribute for param field destination
1738
1370
  attr_accessor :destination
1739
-
1740
1371
  # Specifies which fields in the response should be expanded.
1741
1372
  attr_accessor :expand
1742
-
1743
1373
  # 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`.
1744
1374
  attr_accessor :metadata
1745
-
1746
1375
  # The Stripe account ID for which these funds are intended. Automatically set if you use the `destination` parameter. For details, see [Creating Separate Charges and Transfers](https://stripe.com/docs/connect/separate-charges-and-transfers#settlement-merchant).
1747
1376
  attr_accessor :on_behalf_of
1748
-
1749
1377
  # Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
1750
1378
  attr_accessor :radar_options
1751
-
1752
1379
  # The email address to which this charge's [receipt](https://stripe.com/docs/dashboard/receipts) will be sent. The receipt will not be sent until the charge is paid, and no receipts will be sent for test mode charges. If this charge is for a [Customer](https://stripe.com/docs/api/customers/object), the email address specified here will override the customer's email address. If `receipt_email` is specified for a charge in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails).
1753
1380
  attr_accessor :receipt_email
1754
-
1755
1381
  # Shipping information for the charge. Helps prevent fraud on charges for physical goods.
1756
1382
  attr_accessor :shipping
1757
-
1758
1383
  # A payment source to be charged. This can be the ID of a [card](https://stripe.com/docs/api#cards) (i.e., credit or debit card), a [bank account](https://stripe.com/docs/api#bank_accounts), a [source](https://stripe.com/docs/api#sources), a [token](https://stripe.com/docs/api#tokens), or a [connected account](https://stripe.com/docs/connect/account-debits#charging-a-connected-account). For certain sources---namely, [cards](https://stripe.com/docs/api#cards), [bank accounts](https://stripe.com/docs/api#bank_accounts), and attached [sources](https://stripe.com/docs/api#sources)---you must also pass the ID of the associated customer.
1759
1384
  attr_accessor :source
1760
-
1761
1385
  # For a non-card charge, text that appears on the customer's statement as the statement descriptor. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).
1762
1386
  #
1763
1387
  # For a card charge, this value is ignored unless you don't specify a `statement_descriptor_suffix`, in which case this value is used as the suffix.
1764
1388
  attr_accessor :statement_descriptor
1765
-
1766
1389
  # Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement. If the account has no prefix value, the suffix is concatenated to the account's statement descriptor.
1767
1390
  attr_accessor :statement_descriptor_suffix
1768
-
1769
1391
  # An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://stripe.com/docs/connect/destination-charges) for details.
1770
1392
  attr_accessor :transfer_data
1771
-
1772
1393
  # A string that identifies this transaction as part of a group. For details, see [Grouping transactions](https://stripe.com/docs/connect/separate-charges-and-transfers#transfer-options).
1773
1394
  attr_accessor :transfer_group
1774
1395
 
@@ -1849,10 +1470,8 @@ module Stripe
1849
1470
  class Recipient < Stripe::RequestParams
1850
1471
  # The email of the recipient the ticket is delivered to.
1851
1472
  attr_accessor :email
1852
-
1853
1473
  # The name of the recipient the ticket is delivered to.
1854
1474
  attr_accessor :name
1855
-
1856
1475
  # The phone number of the recipient the ticket is delivered to.
1857
1476
  attr_accessor :phone
1858
1477
 
@@ -1864,7 +1483,6 @@ module Stripe
1864
1483
  end
1865
1484
  # The delivery method for the payment
1866
1485
  attr_accessor :mode
1867
-
1868
1486
  # Details of the recipient.
1869
1487
  attr_accessor :recipient
1870
1488
 
@@ -1886,19 +1504,14 @@ module Stripe
1886
1504
  class PickupAddress < Stripe::RequestParams
1887
1505
  # City, district, suburb, town, or village.
1888
1506
  attr_accessor :city
1889
-
1890
1507
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1891
1508
  attr_accessor :country
1892
-
1893
1509
  # Address line 1 (e.g., street, PO Box, or company name).
1894
1510
  attr_accessor :line1
1895
-
1896
1511
  # Address line 2 (e.g., apartment, suite, unit, or building).
1897
1512
  attr_accessor :line2
1898
-
1899
1513
  # ZIP or postal code.
1900
1514
  attr_accessor :postal_code
1901
-
1902
1515
  # State, county, province, or region.
1903
1516
  attr_accessor :state
1904
1517
 
@@ -1922,19 +1535,14 @@ module Stripe
1922
1535
  class ReturnAddress < Stripe::RequestParams
1923
1536
  # City, district, suburb, town, or village.
1924
1537
  attr_accessor :city
1925
-
1926
1538
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1927
1539
  attr_accessor :country
1928
-
1929
1540
  # Address line 1 (e.g., street, PO Box, or company name).
1930
1541
  attr_accessor :line1
1931
-
1932
1542
  # Address line 2 (e.g., apartment, suite, unit, or building).
1933
1543
  attr_accessor :line2
1934
-
1935
1544
  # ZIP or postal code.
1936
1545
  attr_accessor :postal_code
1937
-
1938
1546
  # State, county, province, or region.
1939
1547
  attr_accessor :state
1940
1548
 
@@ -1956,61 +1564,42 @@ module Stripe
1956
1564
  end
1957
1565
  # Affiliate details for this purchase.
1958
1566
  attr_accessor :affiliate
1959
-
1960
1567
  # The booking number associated with the car rental.
1961
1568
  attr_accessor :booking_number
1962
-
1963
1569
  # Class code of the car.
1964
1570
  attr_accessor :car_class_code
1965
-
1966
1571
  # Make of the car.
1967
1572
  attr_accessor :car_make
1968
-
1969
1573
  # Model of the car.
1970
1574
  attr_accessor :car_model
1971
-
1972
1575
  # The name of the rental car company.
1973
1576
  attr_accessor :company
1974
-
1975
1577
  # The customer service phone number of the car rental company.
1976
1578
  attr_accessor :customer_service_phone_number
1977
-
1978
1579
  # Number of days the car is being rented.
1979
1580
  attr_accessor :days_rented
1980
-
1981
1581
  # Delivery details for this purchase.
1982
1582
  attr_accessor :delivery
1983
-
1984
1583
  # The details of the passengers in the travel reservation
1985
1584
  attr_accessor :drivers
1986
-
1987
1585
  # List of additional charges being billed.
1988
1586
  attr_accessor :extra_charges
1989
-
1990
1587
  # Indicates if the customer did not keep nor cancel their booking.
1991
1588
  attr_accessor :no_show
1992
-
1993
1589
  # Car pick-up address.
1994
1590
  attr_accessor :pickup_address
1995
-
1996
1591
  # Car pick-up time. Measured in seconds since the Unix epoch.
1997
1592
  attr_accessor :pickup_at
1998
-
1999
1593
  # Rental rate.
2000
1594
  attr_accessor :rate_amount
2001
-
2002
1595
  # The frequency at which the rate amount is applied. One of `day`, `week` or `month`
2003
1596
  attr_accessor :rate_interval
2004
-
2005
1597
  # The name of the person or entity renting the car.
2006
1598
  attr_accessor :renter_name
2007
-
2008
1599
  # Car return address.
2009
1600
  attr_accessor :return_address
2010
-
2011
1601
  # Car return time. Measured in seconds since the Unix epoch.
2012
1602
  attr_accessor :return_at
2013
-
2014
1603
  # Indicates whether the goods or services are tax-exempt or tax is not collected.
2015
1604
  attr_accessor :tax_exempt
2016
1605
 
@@ -2063,19 +1652,14 @@ module Stripe
2063
1652
  class Address < Stripe::RequestParams
2064
1653
  # City, district, suburb, town, or village.
2065
1654
  attr_accessor :city
2066
-
2067
1655
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2068
1656
  attr_accessor :country
2069
-
2070
1657
  # Address line 1 (e.g., street, PO Box, or company name).
2071
1658
  attr_accessor :line1
2072
-
2073
1659
  # Address line 2 (e.g., apartment, suite, unit, or building).
2074
1660
  attr_accessor :line2
2075
-
2076
1661
  # ZIP or postal code.
2077
1662
  attr_accessor :postal_code
2078
-
2079
1663
  # State, county, province, or region.
2080
1664
  attr_accessor :state
2081
1665
 
@@ -2109,10 +1693,8 @@ module Stripe
2109
1693
  class Recipient < Stripe::RequestParams
2110
1694
  # The email of the recipient the ticket is delivered to.
2111
1695
  attr_accessor :email
2112
-
2113
1696
  # The name of the recipient the ticket is delivered to.
2114
1697
  attr_accessor :name
2115
-
2116
1698
  # The phone number of the recipient the ticket is delivered to.
2117
1699
  attr_accessor :phone
2118
1700
 
@@ -2124,7 +1706,6 @@ module Stripe
2124
1706
  end
2125
1707
  # The delivery method for the payment
2126
1708
  attr_accessor :mode
2127
-
2128
1709
  # Details of the recipient.
2129
1710
  attr_accessor :recipient
2130
1711
 
@@ -2135,28 +1716,20 @@ module Stripe
2135
1716
  end
2136
1717
  # Indicates if the tickets are digitally checked when entering the venue.
2137
1718
  attr_accessor :access_controlled_venue
2138
-
2139
1719
  # The event location's address.
2140
1720
  attr_accessor :address
2141
-
2142
1721
  # Affiliate details for this purchase.
2143
1722
  attr_accessor :affiliate
2144
-
2145
1723
  # The name of the company
2146
1724
  attr_accessor :company
2147
-
2148
1725
  # Delivery details for this purchase.
2149
1726
  attr_accessor :delivery
2150
-
2151
1727
  # Event end time. Measured in seconds since the Unix epoch.
2152
1728
  attr_accessor :ends_at
2153
-
2154
1729
  # Type of the event entertainment (concert, sports event etc)
2155
1730
  attr_accessor :genre
2156
-
2157
1731
  # The name of the event.
2158
1732
  attr_accessor :name
2159
-
2160
1733
  # Event start time. Measured in seconds since the Unix epoch.
2161
1734
  attr_accessor :starts_at
2162
1735
 
@@ -2197,10 +1770,8 @@ module Stripe
2197
1770
  class Recipient < Stripe::RequestParams
2198
1771
  # The email of the recipient the ticket is delivered to.
2199
1772
  attr_accessor :email
2200
-
2201
1773
  # The name of the recipient the ticket is delivered to.
2202
1774
  attr_accessor :name
2203
-
2204
1775
  # The phone number of the recipient the ticket is delivered to.
2205
1776
  attr_accessor :phone
2206
1777
 
@@ -2212,7 +1783,6 @@ module Stripe
2212
1783
  end
2213
1784
  # The delivery method for the payment
2214
1785
  attr_accessor :mode
2215
-
2216
1786
  # Details of the recipient.
2217
1787
  attr_accessor :recipient
2218
1788
 
@@ -2234,25 +1804,18 @@ module Stripe
2234
1804
  class Segment < Stripe::RequestParams
2235
1805
  # The flight segment amount.
2236
1806
  attr_accessor :amount
2237
-
2238
1807
  # The International Air Transport Association (IATA) airport code for the arrival airport.
2239
1808
  attr_accessor :arrival_airport
2240
-
2241
1809
  # The arrival time for the flight segment. Measured in seconds since the Unix epoch.
2242
1810
  attr_accessor :arrives_at
2243
-
2244
1811
  # The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
2245
1812
  attr_accessor :carrier
2246
-
2247
1813
  # The departure time for the flight segment. Measured in seconds since the Unix epoch.
2248
1814
  attr_accessor :departs_at
2249
-
2250
1815
  # The International Air Transport Association (IATA) airport code for the departure airport.
2251
1816
  attr_accessor :departure_airport
2252
-
2253
1817
  # The flight number associated with the segment
2254
1818
  attr_accessor :flight_number
2255
-
2256
1819
  # The fare class for the segment.
2257
1820
  attr_accessor :service_class
2258
1821
 
@@ -2278,25 +1841,18 @@ module Stripe
2278
1841
  end
2279
1842
  # Affiliate details for this purchase.
2280
1843
  attr_accessor :affiliate
2281
-
2282
1844
  # The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
2283
1845
  attr_accessor :agency_number
2284
-
2285
1846
  # The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
2286
1847
  attr_accessor :carrier
2287
-
2288
1848
  # Delivery details for this purchase.
2289
1849
  attr_accessor :delivery
2290
-
2291
1850
  # The name of the person or entity on the reservation.
2292
1851
  attr_accessor :passenger_name
2293
-
2294
1852
  # The details of the passengers in the travel reservation.
2295
1853
  attr_accessor :passengers
2296
-
2297
1854
  # The individual flight segments associated with the trip.
2298
1855
  attr_accessor :segments
2299
-
2300
1856
  # The ticket number associated with the travel reservation.
2301
1857
  attr_accessor :ticket_number
2302
1858
 
@@ -2325,19 +1881,14 @@ module Stripe
2325
1881
  class Address < Stripe::RequestParams
2326
1882
  # City, district, suburb, town, or village.
2327
1883
  attr_accessor :city
2328
-
2329
1884
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2330
1885
  attr_accessor :country
2331
-
2332
1886
  # Address line 1 (e.g., street, PO Box, or company name).
2333
1887
  attr_accessor :line1
2334
-
2335
1888
  # Address line 2 (e.g., apartment, suite, unit, or building).
2336
1889
  attr_accessor :line2
2337
-
2338
1890
  # ZIP or postal code.
2339
1891
  attr_accessor :postal_code
2340
-
2341
1892
  # State, county, province, or region.
2342
1893
  attr_accessor :state
2343
1894
 
@@ -2371,10 +1922,8 @@ module Stripe
2371
1922
  class Recipient < Stripe::RequestParams
2372
1923
  # The email of the recipient the ticket is delivered to.
2373
1924
  attr_accessor :email
2374
-
2375
1925
  # The name of the recipient the ticket is delivered to.
2376
1926
  attr_accessor :name
2377
-
2378
1927
  # The phone number of the recipient the ticket is delivered to.
2379
1928
  attr_accessor :phone
2380
1929
 
@@ -2386,7 +1935,6 @@ module Stripe
2386
1935
  end
2387
1936
  # The delivery method for the payment
2388
1937
  attr_accessor :mode
2389
-
2390
1938
  # Details of the recipient.
2391
1939
  attr_accessor :recipient
2392
1940
 
@@ -2406,64 +1954,44 @@ module Stripe
2406
1954
  end
2407
1955
  # The lodging location's address.
2408
1956
  attr_accessor :address
2409
-
2410
1957
  # The number of adults on the booking
2411
1958
  attr_accessor :adults
2412
-
2413
1959
  # Affiliate details for this purchase.
2414
1960
  attr_accessor :affiliate
2415
-
2416
1961
  # The booking number associated with the lodging reservation.
2417
1962
  attr_accessor :booking_number
2418
-
2419
1963
  # The lodging category
2420
1964
  attr_accessor :category
2421
-
2422
1965
  # Loding check-in time. Measured in seconds since the Unix epoch.
2423
1966
  attr_accessor :checkin_at
2424
-
2425
1967
  # Lodging check-out time. Measured in seconds since the Unix epoch.
2426
1968
  attr_accessor :checkout_at
2427
-
2428
1969
  # The customer service phone number of the lodging company.
2429
1970
  attr_accessor :customer_service_phone_number
2430
-
2431
1971
  # The daily lodging room rate.
2432
1972
  attr_accessor :daily_room_rate_amount
2433
-
2434
1973
  # Delivery details for this purchase.
2435
1974
  attr_accessor :delivery
2436
-
2437
1975
  # List of additional charges being billed.
2438
1976
  attr_accessor :extra_charges
2439
-
2440
1977
  # Indicates whether the lodging location is compliant with the Fire Safety Act.
2441
1978
  attr_accessor :fire_safety_act_compliance
2442
-
2443
1979
  # The name of the lodging location.
2444
1980
  attr_accessor :name
2445
-
2446
1981
  # Indicates if the customer did not keep their booking while failing to cancel the reservation.
2447
1982
  attr_accessor :no_show
2448
-
2449
1983
  # The number of rooms on the booking
2450
1984
  attr_accessor :number_of_rooms
2451
-
2452
1985
  # The details of the passengers in the travel reservation
2453
1986
  attr_accessor :passengers
2454
-
2455
1987
  # The phone number of the lodging location.
2456
1988
  attr_accessor :property_phone_number
2457
-
2458
1989
  # The room class for this purchase.
2459
1990
  attr_accessor :room_class
2460
-
2461
1991
  # The number of room nights
2462
1992
  attr_accessor :room_nights
2463
-
2464
1993
  # The total tax amount associating with the room reservation.
2465
1994
  attr_accessor :total_room_tax_amount
2466
-
2467
1995
  # The total tax amount
2468
1996
  attr_accessor :total_tax_amount
2469
1997
 
@@ -2527,7 +2055,6 @@ module Stripe
2527
2055
  class BillingInterval < Stripe::RequestParams
2528
2056
  # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
2529
2057
  attr_accessor :count
2530
-
2531
2058
  # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
2532
2059
  attr_accessor :interval
2533
2060
 
@@ -2538,19 +2065,14 @@ module Stripe
2538
2065
  end
2539
2066
  # Affiliate details for this purchase.
2540
2067
  attr_accessor :affiliate
2541
-
2542
2068
  # Info whether the subscription will be auto renewed upon expiry.
2543
2069
  attr_accessor :auto_renewal
2544
-
2545
2070
  # Subscription billing details for this purchase.
2546
2071
  attr_accessor :billing_interval
2547
-
2548
2072
  # Subscription end time. Measured in seconds since the Unix epoch.
2549
2073
  attr_accessor :ends_at
2550
-
2551
2074
  # Name of the product on subscription. e.g. Apple Music Subscription
2552
2075
  attr_accessor :name
2553
-
2554
2076
  # Subscription start time. Measured in seconds since the Unix epoch.
2555
2077
  attr_accessor :starts_at
2556
2078
 
@@ -2572,16 +2094,12 @@ module Stripe
2572
2094
  end
2573
2095
  # Car rental details for this PaymentIntent.
2574
2096
  attr_accessor :car_rental
2575
-
2576
2097
  # Event details for this PaymentIntent
2577
2098
  attr_accessor :event_details
2578
-
2579
2099
  # Flight reservation details for this PaymentIntent
2580
2100
  attr_accessor :flight
2581
-
2582
2101
  # Lodging reservation details for this PaymentIntent
2583
2102
  attr_accessor :lodging
2584
-
2585
2103
  # Subscription details for this PaymentIntent
2586
2104
  attr_accessor :subscription
2587
2105
 
@@ -2604,19 +2122,14 @@ module Stripe
2604
2122
  class Address < Stripe::RequestParams
2605
2123
  # City, district, suburb, town, or village.
2606
2124
  attr_accessor :city
2607
-
2608
2125
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2609
2126
  attr_accessor :country
2610
-
2611
2127
  # Address line 1 (e.g., street, PO Box, or company name).
2612
2128
  attr_accessor :line1
2613
-
2614
2129
  # Address line 2 (e.g., apartment, suite, unit, or building).
2615
2130
  attr_accessor :line2
2616
-
2617
2131
  # ZIP or postal code.
2618
2132
  attr_accessor :postal_code
2619
-
2620
2133
  # State, county, province, or region.
2621
2134
  attr_accessor :state
2622
2135
 
@@ -2638,16 +2151,12 @@ module Stripe
2638
2151
  end
2639
2152
  # Shipping address.
2640
2153
  attr_accessor :address
2641
-
2642
2154
  # The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
2643
2155
  attr_accessor :carrier
2644
-
2645
2156
  # Recipient name.
2646
2157
  attr_accessor :name
2647
-
2648
2158
  # Recipient phone (including extension).
2649
2159
  attr_accessor :phone
2650
-
2651
2160
  # The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.
2652
2161
  attr_accessor :tracking_number
2653
2162
 
@@ -2661,28 +2170,20 @@ module Stripe
2661
2170
  end
2662
2171
  # The ID of an existing customer that will be associated with this request. This field may only be updated if there is no existing associated customer with this charge.
2663
2172
  attr_accessor :customer
2664
-
2665
2173
  # An arbitrary string which you can attach to a charge object. It is displayed when in the web interface alongside the charge. Note that if you use Stripe to send automatic email receipts to your customers, your receipt emails will include the `description` of the charge(s) that they are describing.
2666
2174
  attr_accessor :description
2667
-
2668
2175
  # Specifies which fields in the response should be expanded.
2669
2176
  attr_accessor :expand
2670
-
2671
2177
  # A set of key-value pairs you can attach to a charge giving information about its riskiness. If you believe a charge is fraudulent, include a `user_report` key with a value of `fraudulent`. If you believe a charge is safe, include a `user_report` key with a value of `safe`. Stripe will use the information you send to improve our fraud detection algorithms.
2672
2178
  attr_accessor :fraud_details
2673
-
2674
2179
  # 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`.
2675
2180
  attr_accessor :metadata
2676
-
2677
2181
  # Provides industry-specific information about the charge.
2678
2182
  attr_accessor :payment_details
2679
-
2680
2183
  # This is the email address that the receipt for this charge will be sent to. If this field is updated, then a new email receipt will be sent to the updated address.
2681
2184
  attr_accessor :receipt_email
2682
-
2683
2185
  # Shipping information for the charge. Helps prevent fraud on charges for physical goods.
2684
2186
  attr_accessor :shipping
2685
-
2686
2187
  # A string that identifies this transaction as part of a group. `transfer_group` may only be provided if it has not been set. See the [Connect documentation](https://stripe.com/docs/connect/separate-charges-and-transfers#transfer-options) for details.
2687
2188
  attr_accessor :transfer_group
2688
2189
 
@@ -2712,13 +2213,10 @@ module Stripe
2712
2213
  class SearchParams < Stripe::RequestParams
2713
2214
  # Specifies which fields in the response should be expanded.
2714
2215
  attr_accessor :expand
2715
-
2716
2216
  # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
2717
2217
  attr_accessor :limit
2718
-
2719
2218
  # A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.
2720
2219
  attr_accessor :page
2721
-
2722
2220
  # The search query string. See [search query language](https://stripe.com/docs/search#search-query-language) and the list of supported [query fields for charges](https://stripe.com/docs/search#query-fields-for-charges).
2723
2221
  attr_accessor :query
2724
2222
 
@@ -2746,10 +2244,8 @@ module Stripe
2746
2244
  class Recipient < Stripe::RequestParams
2747
2245
  # The email of the recipient the ticket is delivered to.
2748
2246
  attr_accessor :email
2749
-
2750
2247
  # The name of the recipient the ticket is delivered to.
2751
2248
  attr_accessor :name
2752
-
2753
2249
  # The phone number of the recipient the ticket is delivered to.
2754
2250
  attr_accessor :phone
2755
2251
 
@@ -2761,7 +2257,6 @@ module Stripe
2761
2257
  end
2762
2258
  # The delivery method for the payment
2763
2259
  attr_accessor :mode
2764
-
2765
2260
  # Details of the recipient.
2766
2261
  attr_accessor :recipient
2767
2262
 
@@ -2783,19 +2278,14 @@ module Stripe
2783
2278
  class PickupAddress < Stripe::RequestParams
2784
2279
  # City, district, suburb, town, or village.
2785
2280
  attr_accessor :city
2786
-
2787
2281
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2788
2282
  attr_accessor :country
2789
-
2790
2283
  # Address line 1 (e.g., street, PO Box, or company name).
2791
2284
  attr_accessor :line1
2792
-
2793
2285
  # Address line 2 (e.g., apartment, suite, unit, or building).
2794
2286
  attr_accessor :line2
2795
-
2796
2287
  # ZIP or postal code.
2797
2288
  attr_accessor :postal_code
2798
-
2799
2289
  # State, county, province, or region.
2800
2290
  attr_accessor :state
2801
2291
 
@@ -2819,19 +2309,14 @@ module Stripe
2819
2309
  class ReturnAddress < Stripe::RequestParams
2820
2310
  # City, district, suburb, town, or village.
2821
2311
  attr_accessor :city
2822
-
2823
2312
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2824
2313
  attr_accessor :country
2825
-
2826
2314
  # Address line 1 (e.g., street, PO Box, or company name).
2827
2315
  attr_accessor :line1
2828
-
2829
2316
  # Address line 2 (e.g., apartment, suite, unit, or building).
2830
2317
  attr_accessor :line2
2831
-
2832
2318
  # ZIP or postal code.
2833
2319
  attr_accessor :postal_code
2834
-
2835
2320
  # State, county, province, or region.
2836
2321
  attr_accessor :state
2837
2322
 
@@ -2853,61 +2338,42 @@ module Stripe
2853
2338
  end
2854
2339
  # Affiliate details for this purchase.
2855
2340
  attr_accessor :affiliate
2856
-
2857
2341
  # The booking number associated with the car rental.
2858
2342
  attr_accessor :booking_number
2859
-
2860
2343
  # Class code of the car.
2861
2344
  attr_accessor :car_class_code
2862
-
2863
2345
  # Make of the car.
2864
2346
  attr_accessor :car_make
2865
-
2866
2347
  # Model of the car.
2867
2348
  attr_accessor :car_model
2868
-
2869
2349
  # The name of the rental car company.
2870
2350
  attr_accessor :company
2871
-
2872
2351
  # The customer service phone number of the car rental company.
2873
2352
  attr_accessor :customer_service_phone_number
2874
-
2875
2353
  # Number of days the car is being rented.
2876
2354
  attr_accessor :days_rented
2877
-
2878
2355
  # Delivery details for this purchase.
2879
2356
  attr_accessor :delivery
2880
-
2881
2357
  # The details of the passengers in the travel reservation
2882
2358
  attr_accessor :drivers
2883
-
2884
2359
  # List of additional charges being billed.
2885
2360
  attr_accessor :extra_charges
2886
-
2887
2361
  # Indicates if the customer did not keep nor cancel their booking.
2888
2362
  attr_accessor :no_show
2889
-
2890
2363
  # Car pick-up address.
2891
2364
  attr_accessor :pickup_address
2892
-
2893
2365
  # Car pick-up time. Measured in seconds since the Unix epoch.
2894
2366
  attr_accessor :pickup_at
2895
-
2896
2367
  # Rental rate.
2897
2368
  attr_accessor :rate_amount
2898
-
2899
2369
  # The frequency at which the rate amount is applied. One of `day`, `week` or `month`
2900
2370
  attr_accessor :rate_interval
2901
-
2902
2371
  # The name of the person or entity renting the car.
2903
2372
  attr_accessor :renter_name
2904
-
2905
2373
  # Car return address.
2906
2374
  attr_accessor :return_address
2907
-
2908
2375
  # Car return time. Measured in seconds since the Unix epoch.
2909
2376
  attr_accessor :return_at
2910
-
2911
2377
  # Indicates whether the goods or services are tax-exempt or tax is not collected.
2912
2378
  attr_accessor :tax_exempt
2913
2379
 
@@ -2960,19 +2426,14 @@ module Stripe
2960
2426
  class Address < Stripe::RequestParams
2961
2427
  # City, district, suburb, town, or village.
2962
2428
  attr_accessor :city
2963
-
2964
2429
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2965
2430
  attr_accessor :country
2966
-
2967
2431
  # Address line 1 (e.g., street, PO Box, or company name).
2968
2432
  attr_accessor :line1
2969
-
2970
2433
  # Address line 2 (e.g., apartment, suite, unit, or building).
2971
2434
  attr_accessor :line2
2972
-
2973
2435
  # ZIP or postal code.
2974
2436
  attr_accessor :postal_code
2975
-
2976
2437
  # State, county, province, or region.
2977
2438
  attr_accessor :state
2978
2439
 
@@ -3006,10 +2467,8 @@ module Stripe
3006
2467
  class Recipient < Stripe::RequestParams
3007
2468
  # The email of the recipient the ticket is delivered to.
3008
2469
  attr_accessor :email
3009
-
3010
2470
  # The name of the recipient the ticket is delivered to.
3011
2471
  attr_accessor :name
3012
-
3013
2472
  # The phone number of the recipient the ticket is delivered to.
3014
2473
  attr_accessor :phone
3015
2474
 
@@ -3021,7 +2480,6 @@ module Stripe
3021
2480
  end
3022
2481
  # The delivery method for the payment
3023
2482
  attr_accessor :mode
3024
-
3025
2483
  # Details of the recipient.
3026
2484
  attr_accessor :recipient
3027
2485
 
@@ -3032,28 +2490,20 @@ module Stripe
3032
2490
  end
3033
2491
  # Indicates if the tickets are digitally checked when entering the venue.
3034
2492
  attr_accessor :access_controlled_venue
3035
-
3036
2493
  # The event location's address.
3037
2494
  attr_accessor :address
3038
-
3039
2495
  # Affiliate details for this purchase.
3040
2496
  attr_accessor :affiliate
3041
-
3042
2497
  # The name of the company
3043
2498
  attr_accessor :company
3044
-
3045
2499
  # Delivery details for this purchase.
3046
2500
  attr_accessor :delivery
3047
-
3048
2501
  # Event end time. Measured in seconds since the Unix epoch.
3049
2502
  attr_accessor :ends_at
3050
-
3051
2503
  # Type of the event entertainment (concert, sports event etc)
3052
2504
  attr_accessor :genre
3053
-
3054
2505
  # The name of the event.
3055
2506
  attr_accessor :name
3056
-
3057
2507
  # Event start time. Measured in seconds since the Unix epoch.
3058
2508
  attr_accessor :starts_at
3059
2509
 
@@ -3094,10 +2544,8 @@ module Stripe
3094
2544
  class Recipient < Stripe::RequestParams
3095
2545
  # The email of the recipient the ticket is delivered to.
3096
2546
  attr_accessor :email
3097
-
3098
2547
  # The name of the recipient the ticket is delivered to.
3099
2548
  attr_accessor :name
3100
-
3101
2549
  # The phone number of the recipient the ticket is delivered to.
3102
2550
  attr_accessor :phone
3103
2551
 
@@ -3109,7 +2557,6 @@ module Stripe
3109
2557
  end
3110
2558
  # The delivery method for the payment
3111
2559
  attr_accessor :mode
3112
-
3113
2560
  # Details of the recipient.
3114
2561
  attr_accessor :recipient
3115
2562
 
@@ -3131,25 +2578,18 @@ module Stripe
3131
2578
  class Segment < Stripe::RequestParams
3132
2579
  # The flight segment amount.
3133
2580
  attr_accessor :amount
3134
-
3135
2581
  # The International Air Transport Association (IATA) airport code for the arrival airport.
3136
2582
  attr_accessor :arrival_airport
3137
-
3138
2583
  # The arrival time for the flight segment. Measured in seconds since the Unix epoch.
3139
2584
  attr_accessor :arrives_at
3140
-
3141
2585
  # The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
3142
2586
  attr_accessor :carrier
3143
-
3144
2587
  # The departure time for the flight segment. Measured in seconds since the Unix epoch.
3145
2588
  attr_accessor :departs_at
3146
-
3147
2589
  # The International Air Transport Association (IATA) airport code for the departure airport.
3148
2590
  attr_accessor :departure_airport
3149
-
3150
2591
  # The flight number associated with the segment
3151
2592
  attr_accessor :flight_number
3152
-
3153
2593
  # The fare class for the segment.
3154
2594
  attr_accessor :service_class
3155
2595
 
@@ -3175,25 +2615,18 @@ module Stripe
3175
2615
  end
3176
2616
  # Affiliate details for this purchase.
3177
2617
  attr_accessor :affiliate
3178
-
3179
2618
  # The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
3180
2619
  attr_accessor :agency_number
3181
-
3182
2620
  # The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
3183
2621
  attr_accessor :carrier
3184
-
3185
2622
  # Delivery details for this purchase.
3186
2623
  attr_accessor :delivery
3187
-
3188
2624
  # The name of the person or entity on the reservation.
3189
2625
  attr_accessor :passenger_name
3190
-
3191
2626
  # The details of the passengers in the travel reservation.
3192
2627
  attr_accessor :passengers
3193
-
3194
2628
  # The individual flight segments associated with the trip.
3195
2629
  attr_accessor :segments
3196
-
3197
2630
  # The ticket number associated with the travel reservation.
3198
2631
  attr_accessor :ticket_number
3199
2632
 
@@ -3222,19 +2655,14 @@ module Stripe
3222
2655
  class Address < Stripe::RequestParams
3223
2656
  # City, district, suburb, town, or village.
3224
2657
  attr_accessor :city
3225
-
3226
2658
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3227
2659
  attr_accessor :country
3228
-
3229
2660
  # Address line 1 (e.g., street, PO Box, or company name).
3230
2661
  attr_accessor :line1
3231
-
3232
2662
  # Address line 2 (e.g., apartment, suite, unit, or building).
3233
2663
  attr_accessor :line2
3234
-
3235
2664
  # ZIP or postal code.
3236
2665
  attr_accessor :postal_code
3237
-
3238
2666
  # State, county, province, or region.
3239
2667
  attr_accessor :state
3240
2668
 
@@ -3268,10 +2696,8 @@ module Stripe
3268
2696
  class Recipient < Stripe::RequestParams
3269
2697
  # The email of the recipient the ticket is delivered to.
3270
2698
  attr_accessor :email
3271
-
3272
2699
  # The name of the recipient the ticket is delivered to.
3273
2700
  attr_accessor :name
3274
-
3275
2701
  # The phone number of the recipient the ticket is delivered to.
3276
2702
  attr_accessor :phone
3277
2703
 
@@ -3283,7 +2709,6 @@ module Stripe
3283
2709
  end
3284
2710
  # The delivery method for the payment
3285
2711
  attr_accessor :mode
3286
-
3287
2712
  # Details of the recipient.
3288
2713
  attr_accessor :recipient
3289
2714
 
@@ -3303,64 +2728,44 @@ module Stripe
3303
2728
  end
3304
2729
  # The lodging location's address.
3305
2730
  attr_accessor :address
3306
-
3307
2731
  # The number of adults on the booking
3308
2732
  attr_accessor :adults
3309
-
3310
2733
  # Affiliate details for this purchase.
3311
2734
  attr_accessor :affiliate
3312
-
3313
2735
  # The booking number associated with the lodging reservation.
3314
2736
  attr_accessor :booking_number
3315
-
3316
2737
  # The lodging category
3317
2738
  attr_accessor :category
3318
-
3319
2739
  # Loding check-in time. Measured in seconds since the Unix epoch.
3320
2740
  attr_accessor :checkin_at
3321
-
3322
2741
  # Lodging check-out time. Measured in seconds since the Unix epoch.
3323
2742
  attr_accessor :checkout_at
3324
-
3325
2743
  # The customer service phone number of the lodging company.
3326
2744
  attr_accessor :customer_service_phone_number
3327
-
3328
2745
  # The daily lodging room rate.
3329
2746
  attr_accessor :daily_room_rate_amount
3330
-
3331
2747
  # Delivery details for this purchase.
3332
2748
  attr_accessor :delivery
3333
-
3334
2749
  # List of additional charges being billed.
3335
2750
  attr_accessor :extra_charges
3336
-
3337
2751
  # Indicates whether the lodging location is compliant with the Fire Safety Act.
3338
2752
  attr_accessor :fire_safety_act_compliance
3339
-
3340
2753
  # The name of the lodging location.
3341
2754
  attr_accessor :name
3342
-
3343
2755
  # Indicates if the customer did not keep their booking while failing to cancel the reservation.
3344
2756
  attr_accessor :no_show
3345
-
3346
2757
  # The number of rooms on the booking
3347
2758
  attr_accessor :number_of_rooms
3348
-
3349
2759
  # The details of the passengers in the travel reservation
3350
2760
  attr_accessor :passengers
3351
-
3352
2761
  # The phone number of the lodging location.
3353
2762
  attr_accessor :property_phone_number
3354
-
3355
2763
  # The room class for this purchase.
3356
2764
  attr_accessor :room_class
3357
-
3358
2765
  # The number of room nights
3359
2766
  attr_accessor :room_nights
3360
-
3361
2767
  # The total tax amount associating with the room reservation.
3362
2768
  attr_accessor :total_room_tax_amount
3363
-
3364
2769
  # The total tax amount
3365
2770
  attr_accessor :total_tax_amount
3366
2771
 
@@ -3424,7 +2829,6 @@ module Stripe
3424
2829
  class BillingInterval < Stripe::RequestParams
3425
2830
  # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
3426
2831
  attr_accessor :count
3427
-
3428
2832
  # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
3429
2833
  attr_accessor :interval
3430
2834
 
@@ -3435,19 +2839,14 @@ module Stripe
3435
2839
  end
3436
2840
  # Affiliate details for this purchase.
3437
2841
  attr_accessor :affiliate
3438
-
3439
2842
  # Info whether the subscription will be auto renewed upon expiry.
3440
2843
  attr_accessor :auto_renewal
3441
-
3442
2844
  # Subscription billing details for this purchase.
3443
2845
  attr_accessor :billing_interval
3444
-
3445
2846
  # Subscription end time. Measured in seconds since the Unix epoch.
3446
2847
  attr_accessor :ends_at
3447
-
3448
2848
  # Name of the product on subscription. e.g. Apple Music Subscription
3449
2849
  attr_accessor :name
3450
-
3451
2850
  # Subscription start time. Measured in seconds since the Unix epoch.
3452
2851
  attr_accessor :starts_at
3453
2852
 
@@ -3469,16 +2868,12 @@ module Stripe
3469
2868
  end
3470
2869
  # Car rental details for this PaymentIntent.
3471
2870
  attr_accessor :car_rental
3472
-
3473
2871
  # Event details for this PaymentIntent
3474
2872
  attr_accessor :event_details
3475
-
3476
2873
  # Flight reservation details for this PaymentIntent
3477
2874
  attr_accessor :flight
3478
-
3479
2875
  # Lodging reservation details for this PaymentIntent
3480
2876
  attr_accessor :lodging
3481
-
3482
2877
  # Subscription details for this PaymentIntent
3483
2878
  attr_accessor :subscription
3484
2879
 
@@ -3507,33 +2902,24 @@ module Stripe
3507
2902
  end
3508
2903
  # The amount to capture, which must be less than or equal to the original amount. Any additional amount will be automatically refunded.
3509
2904
  attr_accessor :amount
3510
-
3511
2905
  # An application fee to add on to this charge.
3512
2906
  attr_accessor :application_fee
3513
-
3514
2907
  # An application fee amount to add on to this charge, which must be less than or equal to the original amount.
3515
2908
  attr_accessor :application_fee_amount
3516
-
3517
2909
  # Specifies which fields in the response should be expanded.
3518
2910
  attr_accessor :expand
3519
-
3520
2911
  # Provides industry-specific information about the charge.
3521
2912
  attr_accessor :payment_details
3522
-
3523
2913
  # The email address to send this charge's receipt to. This will override the previously-specified email address for this charge, if one was set. Receipts will not be sent in test mode.
3524
2914
  attr_accessor :receipt_email
3525
-
3526
2915
  # For a non-card charge, text that appears on the customer's statement as the statement descriptor. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).
3527
2916
  #
3528
2917
  # For a card charge, this value is ignored unless you don't specify a `statement_descriptor_suffix`, in which case this value is used as the suffix.
3529
2918
  attr_accessor :statement_descriptor
3530
-
3531
2919
  # Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement. If the account has no prefix value, the suffix is concatenated to the account's statement descriptor.
3532
2920
  attr_accessor :statement_descriptor_suffix
3533
-
3534
2921
  # An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://stripe.com/docs/connect/destination-charges) for details.
3535
2922
  attr_accessor :transfer_data
3536
-
3537
2923
  # A string that identifies this transaction as part of a group. `transfer_group` may only be provided if it has not been set. See the [Connect documentation](https://stripe.com/docs/connect/separate-charges-and-transfers#transfer-options) for details.
3538
2924
  attr_accessor :transfer_group
3539
2925
 
@@ -3563,147 +2949,100 @@ module Stripe
3563
2949
  end
3564
2950
  # Amount intended to be collected by this payment. 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).
3565
2951
  attr_reader :amount
3566
-
3567
2952
  # Amount in cents (or local equivalent) captured (can be less than the amount attribute on the charge if a partial capture was made).
3568
2953
  attr_reader :amount_captured
3569
-
3570
2954
  # Amount in cents (or local equivalent) refunded (can be less than the amount attribute on the charge if a partial refund was issued).
3571
2955
  attr_reader :amount_refunded
3572
-
3573
2956
  # ID of the Connect application that created the charge.
3574
2957
  attr_reader :application
3575
-
3576
2958
  # The application fee (if any) for the charge. [See the Connect documentation](https://stripe.com/docs/connect/direct-charges#collect-fees) for details.
3577
2959
  attr_reader :application_fee
3578
-
3579
2960
  # The amount of the application fee (if any) requested for the charge. [See the Connect documentation](https://stripe.com/docs/connect/direct-charges#collect-fees) for details.
3580
2961
  attr_reader :application_fee_amount
3581
-
3582
2962
  # Authorization code on the charge.
3583
2963
  attr_reader :authorization_code
3584
-
3585
2964
  # ID of the balance transaction that describes the impact of this charge on your account balance (not including refunds or disputes).
3586
2965
  attr_reader :balance_transaction
3587
-
3588
2966
  # Attribute for field billing_details
3589
2967
  attr_reader :billing_details
3590
-
3591
2968
  # The full statement descriptor that is passed to card networks, and that is displayed on your customers' credit card and bank statements. Allows you to see what the statement descriptor looks like after the static and dynamic portions are combined. This value only exists for card payments.
3592
2969
  attr_reader :calculated_statement_descriptor
3593
-
3594
2970
  # If the charge was created without capturing, this Boolean represents whether it is still uncaptured or has since been captured.
3595
2971
  attr_reader :captured
3596
-
3597
2972
  # Time at which the object was created. Measured in seconds since the Unix epoch.
3598
2973
  attr_reader :created
3599
-
3600
2974
  # 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).
3601
2975
  attr_reader :currency
3602
-
3603
2976
  # ID of the customer this charge is for if one exists.
3604
2977
  attr_reader :customer
3605
-
3606
2978
  # An arbitrary string attached to the object. Often useful for displaying to users.
3607
2979
  attr_reader :description
3608
-
3609
2980
  # Whether the charge has been disputed.
3610
2981
  attr_reader :disputed
3611
-
3612
2982
  # ID of the balance transaction that describes the reversal of the balance on your account due to payment failure.
3613
2983
  attr_reader :failure_balance_transaction
3614
-
3615
2984
  # Error code explaining reason for charge failure if available (see [the errors section](https://stripe.com/docs/error-codes) for a list of codes).
3616
2985
  attr_reader :failure_code
3617
-
3618
2986
  # Message to user further explaining reason for charge failure if available.
3619
2987
  attr_reader :failure_message
3620
-
3621
2988
  # Information on fraud assessments for the charge.
3622
2989
  attr_reader :fraud_details
3623
-
3624
2990
  # Unique identifier for the object.
3625
2991
  attr_reader :id
3626
-
3627
2992
  # ID of the invoice this charge is for if one exists.
3628
2993
  attr_reader :invoice
3629
-
3630
2994
  # Attribute for field level3
3631
2995
  attr_reader :level3
3632
-
3633
2996
  # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
3634
2997
  attr_reader :livemode
3635
-
3636
2998
  # 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.
3637
2999
  attr_reader :metadata
3638
-
3639
3000
  # String representing the object's type. Objects of the same type share the same value.
3640
3001
  attr_reader :object
3641
-
3642
3002
  # The account (if any) the charge was made on behalf of without triggering an automatic transfer. See the [Connect documentation](https://stripe.com/docs/connect/separate-charges-and-transfers) for details.
3643
3003
  attr_reader :on_behalf_of
3644
-
3645
3004
  # Details about whether the payment was accepted, and why. See [understanding declines](https://stripe.com/docs/declines) for details.
3646
3005
  attr_reader :outcome
3647
-
3648
3006
  # `true` if the charge succeeded, or was successfully authorized for later capture.
3649
3007
  attr_reader :paid
3650
-
3651
3008
  # ID of the PaymentIntent associated with this charge, if one exists.
3652
3009
  attr_reader :payment_intent
3653
-
3654
3010
  # ID of the payment method used in this charge.
3655
3011
  attr_reader :payment_method
3656
-
3657
3012
  # Details about the payment method at the time of the transaction.
3658
3013
  attr_reader :payment_method_details
3659
-
3660
3014
  # Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
3661
3015
  attr_reader :radar_options
3662
-
3663
3016
  # This is the email address that the receipt for this charge was sent to.
3664
3017
  attr_reader :receipt_email
3665
-
3666
3018
  # This is the transaction number that appears on email receipts sent for this charge. This attribute will be `null` until a receipt has been sent.
3667
3019
  attr_reader :receipt_number
3668
-
3669
3020
  # This is the URL to view the receipt for this charge. The receipt is kept up-to-date to the latest state of the charge, including any refunds. If the charge is for an Invoice, the receipt will be stylized as an Invoice receipt.
3670
3021
  attr_reader :receipt_url
3671
-
3672
3022
  # Whether the charge has been fully refunded. If the charge is only partially refunded, this attribute will still be false.
3673
3023
  attr_reader :refunded
3674
-
3675
3024
  # A list of refunds that have been applied to the charge.
3676
3025
  attr_reader :refunds
3677
-
3678
3026
  # ID of the review associated with this charge if one exists.
3679
3027
  attr_reader :review
3680
-
3681
3028
  # Shipping information for the charge.
3682
3029
  attr_reader :shipping
3683
-
3684
3030
  # This is a legacy field that will be removed in the future. It contains the Source, Card, or BankAccount object used for the charge. For details about the payment method used for this charge, refer to `payment_method` or `payment_method_details` instead.
3685
3031
  attr_reader :source
3686
-
3687
3032
  # The transfer ID which created this charge. Only present if the charge came from another Stripe account. [See the Connect documentation](https://docs.stripe.com/connect/destination-charges) for details.
3688
3033
  attr_reader :source_transfer
3689
-
3690
3034
  # For a non-card charge, text that appears on the customer's statement as the statement descriptor. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).
3691
3035
  #
3692
3036
  # For a card charge, this value is ignored unless you don't specify a `statement_descriptor_suffix`, in which case this value is used as the suffix.
3693
3037
  attr_reader :statement_descriptor
3694
-
3695
3038
  # Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement. If the account has no prefix value, the suffix is concatenated to the account's statement descriptor.
3696
3039
  attr_reader :statement_descriptor_suffix
3697
-
3698
3040
  # The status of the payment is either `succeeded`, `pending`, or `failed`.
3699
3041
  attr_reader :status
3700
-
3701
3042
  # ID of the transfer to the `destination` account (only applicable if the charge was created using the `destination` parameter).
3702
3043
  attr_reader :transfer
3703
-
3704
3044
  # An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://stripe.com/docs/connect/destination-charges) for details.
3705
3045
  attr_reader :transfer_data
3706
-
3707
3046
  # A string that identifies this transaction as part of a group. See the [Connect documentation](https://stripe.com/docs/connect/separate-charges-and-transfers#transfer-options) for details.
3708
3047
  attr_reader :transfer_group
3709
3048