stripe 18.1.0.pre.alpha.4 → 18.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/data/ca-certificates.crt +682 -518
- data/lib/stripe/api_requestor.rb +0 -34
- data/lib/stripe/api_version.rb +2 -1
- data/lib/stripe/errors.rb +0 -63
- data/lib/stripe/event_types.rb +0 -513
- data/lib/stripe/object_types.rb +0 -83
- data/lib/stripe/params/account_create_params.rb +48 -361
- data/lib/stripe/params/account_external_account_create_params.rb +2 -2
- data/lib/stripe/params/account_external_account_update_params.rb +2 -2
- data/lib/stripe/params/account_person_create_params.rb +10 -42
- data/lib/stripe/params/account_person_update_params.rb +10 -42
- data/lib/stripe/params/account_session_create_params.rb +1 -226
- data/lib/stripe/params/account_update_params.rb +47 -323
- data/lib/stripe/params/application_fee_refund_create_params.rb +1 -1
- data/lib/stripe/params/application_fee_refund_update_params.rb +1 -1
- data/lib/stripe/params/billing/alert_create_params.rb +1 -121
- data/lib/stripe/params/billing/alert_list_params.rb +0 -4
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +3 -15
- data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +2 -2
- data/lib/stripe/params/billing/credit_grant_create_params.rb +4 -31
- data/lib/stripe/params/billing/credit_grant_list_params.rb +1 -1
- data/lib/stripe/params/billing/meter_create_params.rb +0 -4
- data/lib/stripe/params/billing/meter_event_create_params.rb +1 -1
- data/lib/stripe/params/billing/meter_event_summary_list_params.rb +0 -8
- data/lib/stripe/params/billing_portal/configuration_create_params.rb +7 -3
- data/lib/stripe/params/billing_portal/configuration_update_params.rb +7 -3
- data/lib/stripe/params/billing_portal/session_create_params.rb +7 -7
- data/lib/stripe/params/charge_capture_params.rb +2 -1650
- data/lib/stripe/params/charge_create_params.rb +12 -12
- data/lib/stripe/params/charge_search_params.rb +1 -1
- data/lib/stripe/params/charge_update_params.rb +3 -1651
- data/lib/stripe/params/checkout/session_create_params.rb +42 -247
- data/lib/stripe/params/checkout/session_update_params.rb +12 -152
- data/lib/stripe/params/climate/order_create_params.rb +1 -1
- data/lib/stripe/params/climate/order_update_params.rb +1 -1
- data/lib/stripe/params/confirmation_token_create_params.rb +6 -83
- data/lib/stripe/params/coupon_create_params.rb +2 -18
- data/lib/stripe/params/coupon_update_params.rb +1 -1
- data/lib/stripe/params/credit_note_create_params.rb +1 -1
- data/lib/stripe/params/credit_note_list_params.rb +1 -1
- data/lib/stripe/params/credit_note_list_preview_line_items_params.rb +1 -1
- data/lib/stripe/params/credit_note_preview_lines_list_params.rb +1 -1
- data/lib/stripe/params/credit_note_preview_params.rb +1 -1
- data/lib/stripe/params/credit_note_update_params.rb +1 -1
- data/lib/stripe/params/customer_balance_transaction_create_params.rb +2 -2
- data/lib/stripe/params/customer_balance_transaction_list_params.rb +11 -1
- data/lib/stripe/params/customer_balance_transaction_update_params.rb +1 -1
- data/lib/stripe/params/customer_cash_balance_update_params.rb +1 -1
- data/lib/stripe/params/customer_create_params.rb +5 -5
- data/lib/stripe/params/customer_fund_cash_balance_params.rb +2 -2
- data/lib/stripe/params/customer_payment_source_create_params.rb +2 -2
- data/lib/stripe/params/customer_payment_source_update_params.rb +2 -2
- data/lib/stripe/params/customer_search_params.rb +1 -1
- data/lib/stripe/params/customer_session_create_params.rb +1 -32
- data/lib/stripe/params/customer_update_params.rb +7 -7
- data/lib/stripe/params/dispute_update_params.rb +4 -13
- data/lib/stripe/params/file_create_params.rb +3 -3
- data/lib/stripe/params/file_link_create_params.rb +1 -1
- data/lib/stripe/params/file_link_update_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_list_params.rb +3 -3
- data/lib/stripe/params/financial_connections/session_create_params.rb +4 -33
- data/lib/stripe/params/forwarding/request_create_params.rb +1 -1
- data/lib/stripe/params/identity/verification_report_list_params.rb +0 -4
- data/lib/stripe/params/identity/verification_session_create_params.rb +6 -6
- data/lib/stripe/params/identity/verification_session_list_params.rb +3 -3
- data/lib/stripe/params/identity/verification_session_update_params.rb +5 -5
- data/lib/stripe/params/invoice_add_lines_params.rb +9 -41
- data/lib/stripe/params/invoice_attach_payment_params.rb +1 -43
- data/lib/stripe/params/invoice_create_params.rb +29 -110
- data/lib/stripe/params/invoice_create_preview_params.rb +43 -975
- data/lib/stripe/params/invoice_finalize_invoice_params.rb +1 -1
- data/lib/stripe/params/invoice_item_create_params.rb +9 -41
- data/lib/stripe/params/invoice_item_list_params.rb +2 -2
- data/lib/stripe/params/invoice_item_update_params.rb +7 -39
- data/lib/stripe/params/invoice_line_item_update_params.rb +8 -40
- data/lib/stripe/params/invoice_list_params.rb +2 -6
- data/lib/stripe/params/invoice_remove_lines_params.rb +1 -1
- data/lib/stripe/params/invoice_search_params.rb +1 -1
- data/lib/stripe/params/invoice_update_lines_params.rb +9 -41
- data/lib/stripe/params/invoice_update_params.rb +26 -107
- data/lib/stripe/params/issuing/authorization_approve_params.rb +2 -2
- data/lib/stripe/params/issuing/authorization_capture_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_create_params.rb +5 -5
- data/lib/stripe/params/issuing/authorization_decline_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_finalize_amount_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_increment_params.rb +2 -2
- data/lib/stripe/params/issuing/authorization_reverse_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_update_params.rb +1 -1
- data/lib/stripe/params/issuing/card_create_params.rb +7 -7
- data/lib/stripe/params/issuing/card_update_params.rb +6 -6
- data/lib/stripe/params/issuing/cardholder_create_params.rb +11 -12
- data/lib/stripe/params/issuing/cardholder_update_params.rb +10 -10
- data/lib/stripe/params/issuing/dispute_create_params.rb +2 -2
- data/lib/stripe/params/issuing/dispute_submit_params.rb +1 -1
- data/lib/stripe/params/issuing/dispute_update_params.rb +2 -2
- data/lib/stripe/params/issuing/personalization_design_create_params.rb +1 -1
- data/lib/stripe/params/issuing/personalization_design_update_params.rb +1 -1
- data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +2 -2
- data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +2 -2
- data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
- data/lib/stripe/params/issuing/transaction_refund_params.rb +1 -1
- data/lib/stripe/params/issuing/transaction_update_params.rb +1 -1
- data/lib/stripe/params/payment_intent_apply_customer_balance_params.rb +1 -1
- data/lib/stripe/params/payment_intent_capture_params.rb +13 -1639
- data/lib/stripe/params/payment_intent_confirm_params.rb +150 -3144
- data/lib/stripe/params/payment_intent_create_params.rb +167 -3174
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +11 -32
- data/lib/stripe/params/payment_intent_list_params.rb +1 -1
- data/lib/stripe/params/payment_intent_search_params.rb +1 -1
- data/lib/stripe/params/payment_intent_update_params.rb +205 -3230
- data/lib/stripe/params/payment_link_create_params.rb +19 -19
- data/lib/stripe/params/payment_link_update_params.rb +9 -9
- data/lib/stripe/params/payment_method_attach_params.rb +1 -1
- data/lib/stripe/params/payment_method_configuration_create_params.rb +38 -143
- data/lib/stripe/params/payment_method_configuration_update_params.rb +38 -143
- data/lib/stripe/params/payment_method_create_params.rb +4 -81
- data/lib/stripe/params/payment_method_update_params.rb +2 -2
- data/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb +2 -2
- data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +3 -3
- data/lib/stripe/params/payment_record_report_payment_params.rb +4 -4
- data/lib/stripe/params/payment_record_report_refund_params.rb +3 -3
- data/lib/stripe/params/payout_create_params.rb +1 -1
- data/lib/stripe/params/payout_reverse_params.rb +1 -1
- data/lib/stripe/params/payout_update_params.rb +1 -1
- data/lib/stripe/params/plan_create_params.rb +4 -4
- data/lib/stripe/params/plan_update_params.rb +2 -2
- data/lib/stripe/params/price_create_params.rb +6 -6
- data/lib/stripe/params/price_search_params.rb +1 -1
- data/lib/stripe/params/price_update_params.rb +3 -22
- data/lib/stripe/params/product_create_params.rb +7 -7
- data/lib/stripe/params/product_feature_create_params.rb +1 -1
- data/lib/stripe/params/product_list_params.rb +1 -1
- data/lib/stripe/params/product_search_params.rb +1 -1
- data/lib/stripe/params/product_update_params.rb +4 -4
- data/lib/stripe/params/promotion_code_create_params.rb +3 -3
- data/lib/stripe/params/promotion_code_list_params.rb +1 -1
- data/lib/stripe/params/promotion_code_update_params.rb +1 -1
- data/lib/stripe/params/quote_create_params.rb +7 -1025
- data/lib/stripe/params/quote_list_params.rb +2 -6
- data/lib/stripe/params/quote_update_params.rb +8 -1033
- data/lib/stripe/params/radar/value_list_create_params.rb +1 -1
- data/lib/stripe/params/radar/value_list_update_params.rb +1 -1
- data/lib/stripe/params/refund_create_params.rb +2 -2
- data/lib/stripe/params/refund_update_params.rb +1 -1
- data/lib/stripe/params/reporting/report_run_create_params.rb +2 -2
- data/lib/stripe/params/setup_intent_confirm_params.rb +9 -193
- data/lib/stripe/params/setup_intent_create_params.rb +15 -199
- data/lib/stripe/params/setup_intent_update_params.rb +12 -196
- data/lib/stripe/params/shipping_rate_create_params.rb +2 -2
- data/lib/stripe/params/shipping_rate_update_params.rb +1 -1
- data/lib/stripe/params/source_create_params.rb +3 -3
- data/lib/stripe/params/source_update_params.rb +3 -3
- data/lib/stripe/params/subscription_create_params.rb +39 -280
- data/lib/stripe/params/subscription_item_create_params.rb +12 -72
- data/lib/stripe/params/subscription_item_delete_params.rb +2 -2
- data/lib/stripe/params/subscription_item_update_params.rb +12 -56
- data/lib/stripe/params/subscription_list_params.rb +3 -3
- data/lib/stripe/params/subscription_resume_params.rb +2 -2
- data/lib/stripe/params/subscription_schedule_create_params.rb +22 -248
- data/lib/stripe/params/subscription_schedule_update_params.rb +22 -248
- data/lib/stripe/params/subscription_search_params.rb +1 -1
- data/lib/stripe/params/subscription_update_params.rb +37 -262
- data/lib/stripe/params/tax/association_find_params.rb +1 -1
- data/lib/stripe/params/tax/calculation_create_params.rb +7 -7
- data/lib/stripe/params/tax/settings_update_params.rb +1 -1
- data/lib/stripe/params/tax/transaction_create_from_calculation_params.rb +1 -1
- data/lib/stripe/params/tax/transaction_create_reversal_params.rb +9 -9
- data/lib/stripe/params/tax_id_create_params.rb +2 -2
- data/lib/stripe/params/tax_id_list_params.rb +2 -2
- data/lib/stripe/params/tax_rate_create_params.rb +1 -1
- data/lib/stripe/params/tax_rate_update_params.rb +1 -1
- data/lib/stripe/params/terminal/configuration_create_params.rb +0 -13
- data/lib/stripe/params/terminal/configuration_update_params.rb +0 -13
- data/lib/stripe/params/terminal/location_create_params.rb +2 -2
- data/lib/stripe/params/terminal/location_update_params.rb +2 -2
- data/lib/stripe/params/terminal/reader_collect_inputs_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_create_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_refund_payment_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_set_reader_display_params.rb +3 -3
- data/lib/stripe/params/terminal/reader_update_params.rb +1 -1
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +6 -83
- data/lib/stripe/params/test_helpers/customer_fund_cash_balance_params.rb +2 -2
- data/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +5 -5
- data/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_increment_params.rb +2 -2
- data/lib/stripe/params/test_helpers/issuing/authorization_reverse_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +2 -2
- data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +2 -2
- data/lib/stripe/params/test_helpers/issuing/transaction_refund_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +2 -26
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +2 -26
- data/lib/stripe/params/token_create_params.rb +22 -86
- data/lib/stripe/params/topup_create_params.rb +2 -2
- data/lib/stripe/params/topup_update_params.rb +1 -1
- data/lib/stripe/params/transfer_create_params.rb +3 -11
- data/lib/stripe/params/transfer_reversal_create_params.rb +1 -1
- data/lib/stripe/params/transfer_reversal_update_params.rb +1 -1
- data/lib/stripe/params/transfer_update_params.rb +1 -1
- data/lib/stripe/params/treasury/credit_reversal_create_params.rb +1 -1
- data/lib/stripe/params/treasury/debit_reversal_create_params.rb +1 -1
- data/lib/stripe/params/treasury/financial_account_create_params.rb +2 -9
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +1 -4
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +1 -4
- data/lib/stripe/params/treasury/financial_account_update_params.rb +2 -9
- data/lib/stripe/params/treasury/inbound_transfer_create_params.rb +2 -2
- data/lib/stripe/params/treasury/outbound_payment_create_params.rb +5 -5
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +3 -27
- data/lib/stripe/params/treasury/received_credit_create_params.rb +2 -26
- data/lib/stripe/params/treasury/received_debit_create_params.rb +2 -26
- data/lib/stripe/params/v2/core/account_create_params.rb +25 -967
- data/lib/stripe/params/v2/core/account_link_create_params.rb +5 -5
- data/lib/stripe/params/v2/core/account_token_create_params.rb +10 -258
- data/lib/stripe/params/v2/core/account_update_params.rb +30 -951
- data/lib/stripe/params/v2/core/accounts/person_create_params.rb +5 -5
- data/lib/stripe/params/v2/core/accounts/person_token_create_params.rb +5 -5
- data/lib/stripe/params/v2/core/accounts/person_update_params.rb +5 -5
- data/lib/stripe/params/v2/core/event_list_params.rb +1 -4
- data/lib/stripe/params/v2/core/event_retrieve_params.rb +1 -8
- data/lib/stripe/params/webhook_endpoint_create_params.rb +1 -1
- data/lib/stripe/params/webhook_endpoint_update_params.rb +1 -1
- data/lib/stripe/params.rb +0 -247
- data/lib/stripe/resources/account.rb +27 -208
- data/lib/stripe/resources/account_link.rb +1 -1
- data/lib/stripe/resources/account_session.rb +2 -110
- data/lib/stripe/resources/application_fee.rb +0 -2
- data/lib/stripe/resources/application_fee_refund.rb +2 -2
- data/lib/stripe/resources/apps/secret.rb +1 -1
- data/lib/stripe/resources/balance.rb +2 -85
- data/lib/stripe/resources/balance_settings.rb +1 -1
- data/lib/stripe/resources/balance_transaction.rb +1 -1
- data/lib/stripe/resources/bank_account.rb +10 -10
- data/lib/stripe/resources/billing/alert.rb +2 -106
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -6
- data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -84
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +2 -84
- data/lib/stripe/resources/billing/credit_grant.rb +4 -60
- data/lib/stripe/resources/billing/meter.rb +0 -2
- data/lib/stripe/resources/billing/meter_event.rb +1 -1
- data/lib/stripe/resources/billing/meter_event_summary.rb +0 -2
- data/lib/stripe/resources/billing_portal/configuration.rb +5 -3
- data/lib/stripe/resources/billing_portal/session.rb +6 -6
- data/lib/stripe/resources/capability.rb +16 -16
- data/lib/stripe/resources/card.rb +3 -22
- data/lib/stripe/resources/cash_balance.rb +2 -2
- data/lib/stripe/resources/charge.rb +46 -266
- data/lib/stripe/resources/checkout/session.rb +23 -215
- data/lib/stripe/resources/climate/order.rb +1 -1
- data/lib/stripe/resources/confirmation_token.rb +11 -162
- data/lib/stripe/resources/coupon.rb +4 -29
- data/lib/stripe/resources/credit_note.rb +5 -5
- data/lib/stripe/resources/credit_note_line_item.rb +1 -19
- data/lib/stripe/resources/customer.rb +8 -8
- data/lib/stripe/resources/customer_balance_transaction.rb +6 -6
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +10 -10
- data/lib/stripe/resources/customer_session.rb +0 -36
- data/lib/stripe/resources/discount.rb +3 -5
- data/lib/stripe/resources/dispute.rb +5 -27
- data/lib/stripe/resources/entitlements/active_entitlement.rb +1 -1
- data/lib/stripe/resources/event.rb +2 -65
- data/lib/stripe/resources/exchange_rate.rb +2 -2
- data/lib/stripe/resources/file.rb +4 -4
- data/lib/stripe/resources/file_link.rb +1 -1
- data/lib/stripe/resources/financial_connections/account.rb +3 -28
- data/lib/stripe/resources/financial_connections/session.rb +3 -67
- data/lib/stripe/resources/forwarding/request.rb +1 -1
- data/lib/stripe/resources/funding_instructions.rb +14 -14
- data/lib/stripe/resources/identity/verification_report.rb +9 -13
- data/lib/stripe/resources/identity/verification_session.rb +11 -11
- data/lib/stripe/resources/invoice.rb +49 -182
- data/lib/stripe/resources/invoice_item.rb +8 -114
- data/lib/stripe/resources/invoice_line_item.rb +7 -151
- data/lib/stripe/resources/invoice_payment.rb +1 -1
- data/lib/stripe/resources/invoice_rendering_template.rb +1 -1
- data/lib/stripe/resources/issuing/authorization.rb +20 -20
- data/lib/stripe/resources/issuing/card.rb +12 -12
- data/lib/stripe/resources/issuing/cardholder.rb +14 -14
- data/lib/stripe/resources/issuing/dispute.rb +7 -7
- data/lib/stripe/resources/issuing/personalization_design.rb +1 -1
- data/lib/stripe/resources/issuing/token.rb +1 -1
- data/lib/stripe/resources/issuing/transaction.rb +12 -14
- data/lib/stripe/resources/line_item.rb +4 -69
- data/lib/stripe/resources/login_link.rb +1 -1
- data/lib/stripe/resources/mandate.rb +0 -43
- data/lib/stripe/resources/payment_attempt_record.rb +79 -201
- data/lib/stripe/resources/payment_intent.rb +59 -811
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +3 -3
- data/lib/stripe/resources/payment_link.rb +7 -7
- data/lib/stripe/resources/payment_method.rb +13 -186
- data/lib/stripe/resources/payment_method_configuration.rb +4 -174
- data/lib/stripe/resources/payment_method_domain.rb +1 -1
- data/lib/stripe/resources/payment_record.rb +81 -201
- data/lib/stripe/resources/payout.rb +7 -7
- data/lib/stripe/resources/person.rb +23 -59
- data/lib/stripe/resources/plan.rb +5 -5
- data/lib/stripe/resources/price.rb +6 -26
- data/lib/stripe/resources/product.rb +9 -9
- data/lib/stripe/resources/promotion_code.rb +4 -4
- data/lib/stripe/resources/quote.rb +14 -818
- data/lib/stripe/resources/radar/early_fraud_warning.rb +1 -1
- data/lib/stripe/resources/radar/value_list.rb +2 -2
- data/lib/stripe/resources/radar/value_list_item.rb +1 -1
- data/lib/stripe/resources/refund.rb +3 -21
- data/lib/stripe/resources/reporting/report_run.rb +3 -3
- data/lib/stripe/resources/reporting/report_type.rb +3 -3
- data/lib/stripe/resources/reversal.rb +4 -4
- data/lib/stripe/resources/review.rb +1 -1
- data/lib/stripe/resources/setup_attempt.rb +17 -65
- data/lib/stripe/resources/setup_intent.rb +20 -147
- data/lib/stripe/resources/shipping_rate.rb +3 -3
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +1 -1
- data/lib/stripe/resources/source.rb +8 -46
- data/lib/stripe/resources/source_mandate_notification.rb +3 -3
- data/lib/stripe/resources/subscription.rb +23 -240
- data/lib/stripe/resources/subscription_item.rb +8 -50
- data/lib/stripe/resources/subscription_schedule.rb +11 -298
- data/lib/stripe/resources/tax/association.rb +3 -3
- data/lib/stripe/resources/tax/calculation.rb +12 -12
- data/lib/stripe/resources/tax/calculation_line_item.rb +7 -7
- data/lib/stripe/resources/tax/registration.rb +3 -3
- data/lib/stripe/resources/tax/settings.rb +2 -2
- data/lib/stripe/resources/tax/transaction.rb +9 -9
- data/lib/stripe/resources/tax/transaction_line_item.rb +5 -5
- data/lib/stripe/resources/tax_id.rb +4 -4
- data/lib/stripe/resources/tax_rate.rb +1 -1
- data/lib/stripe/resources/terminal/configuration.rb +0 -16
- data/lib/stripe/resources/terminal/connection_token.rb +1 -1
- data/lib/stripe/resources/terminal/location.rb +3 -3
- data/lib/stripe/resources/terminal/reader.rb +10 -18
- data/lib/stripe/resources/token.rb +4 -4
- data/lib/stripe/resources/topup.rb +3 -3
- data/lib/stripe/resources/transfer.rb +5 -11
- data/lib/stripe/resources/treasury/credit_reversal.rb +3 -3
- data/lib/stripe/resources/treasury/debit_reversal.rb +3 -3
- data/lib/stripe/resources/treasury/financial_account.rb +1 -3
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
- data/lib/stripe/resources/treasury/inbound_transfer.rb +5 -5
- data/lib/stripe/resources/treasury/outbound_payment.rb +6 -6
- data/lib/stripe/resources/treasury/outbound_transfer.rb +5 -35
- data/lib/stripe/resources/treasury/received_credit.rb +10 -40
- data/lib/stripe/resources/treasury/received_debit.rb +7 -39
- data/lib/stripe/resources/treasury/transaction.rb +11 -11
- data/lib/stripe/resources/treasury/transaction_entry.rb +11 -11
- data/lib/stripe/resources/v2/core/account.rb +159 -1904
- data/lib/stripe/resources/v2/core/account_link.rb +11 -11
- data/lib/stripe/resources/v2/core/account_person.rb +10 -10
- data/lib/stripe/resources/v2/core/event.rb +1 -50
- data/lib/stripe/resources/webhook_endpoint.rb +1 -1
- data/lib/stripe/resources.rb +0 -214
- data/lib/stripe/services/billing_service.rb +1 -2
- data/lib/stripe/services/financial_connections/account_service.rb +1 -3
- data/lib/stripe/services/financial_connections_service.rb +1 -2
- data/lib/stripe/services/identity_service.rb +1 -2
- data/lib/stripe/services/issuing_service.rb +1 -6
- data/lib/stripe/services/mandate_service.rb +0 -5
- data/lib/stripe/services/payment_intent_service.rb +0 -37
- data/lib/stripe/services/payment_method_service.rb +1 -12
- data/lib/stripe/services/quote_service.rb +1 -49
- data/lib/stripe/services/radar_service.rb +1 -2
- data/lib/stripe/services/subscription_schedule_service.rb +0 -11
- data/lib/stripe/services/subscription_service.rb +0 -11
- data/lib/stripe/services/tax_service.rb +1 -2
- data/lib/stripe/services/terminal_service.rb +1 -2
- data/lib/stripe/services/test_helpers_service.rb +1 -2
- data/lib/stripe/services/v1_services.rb +1 -11
- data/lib/stripe/services/v2/billing_service.rb +1 -18
- data/lib/stripe/services/v2/core/account_link_service.rb +1 -1
- data/lib/stripe/services/v2/core/account_service.rb +0 -4
- data/lib/stripe/services/v2/core/accounts/person_service.rb +2 -2
- data/lib/stripe/services/v2/core_service.rb +1 -3
- data/lib/stripe/services/v2_services.rb +1 -5
- data/lib/stripe/services.rb +0 -88
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/stripe_object.rb +12 -4
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +0 -53
- data/rbi/stripe.rbi +74214 -150917
- metadata +4 -553
- data/lib/stripe/events/v2_billing_cadence_billed_event.rb +0 -61
- data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_billing_cadence_created_event.rb +0 -61
- data/lib/stripe/events/v2_billing_license_fee_created_event.rb +0 -44
- data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +0 -61
- data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +0 -44
- data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_metered_item_created_event.rb +0 -44
- data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +0 -61
- data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +0 -61
- data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +0 -61
- data/lib/stripe/events/v2_billing_rate_card_created_event.rb +0 -61
- data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +0 -67
- data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_closed_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_created_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_card_creator_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_card_creator_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_link_returned_event.rb +0 -42
- data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_claimable_sandbox_claimed_event.rb +0 -44
- data/lib/stripe/events/v2_core_claimable_sandbox_created_event.rb +0 -44
- data/lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb +0 -44
- data/lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb +0 -44
- data/lib/stripe/events/v2_core_claimable_sandbox_sandbox_details_owner_account_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +0 -68
- data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +0 -68
- data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +0 -66
- data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +0 -66
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +0 -80
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +0 -80
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +0 -78
- data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +0 -78
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +0 -91
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +0 -93
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +0 -93
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +0 -93
- data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +0 -64
- data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +0 -64
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +0 -62
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +0 -62
- data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +0 -58
- data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +0 -58
- data/lib/stripe/events/v2_iam_api_key_created_event.rb +0 -20
- data/lib/stripe/events/v2_iam_api_key_default_secret_revealed_event.rb +0 -20
- data/lib/stripe/events/v2_iam_api_key_expired_event.rb +0 -20
- data/lib/stripe/events/v2_iam_api_key_permissions_updated_event.rb +0 -20
- data/lib/stripe/events/v2_iam_api_key_rotated_event.rb +0 -38
- data/lib/stripe/events/v2_iam_api_key_updated_event.rb +0 -20
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_recipient_verification_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_recipient_verification_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_attempt_failed_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_attempt_started_event.rb +0 -46
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -46
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -48
- data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_reporting_report_run_created_event.rb +0 -44
- data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +0 -44
- data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +0 -44
- data/lib/stripe/params/account_notice_list_params.rb +0 -25
- data/lib/stripe/params/account_notice_retrieve_params.rb +0 -13
- data/lib/stripe/params/account_notice_update_params.rb +0 -36
- data/lib/stripe/params/balance_transfer_create_params.rb +0 -66
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +0 -69
- data/lib/stripe/params/capital/financing_offer_create_params.rb +0 -37
- data/lib/stripe/params/capital/financing_offer_list_params.rb +0 -58
- data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +0 -15
- data/lib/stripe/params/capital/financing_offer_refill_params.rb +0 -37
- data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +0 -15
- data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +0 -15
- data/lib/stripe/params/capital/financing_transaction_list_params.rb +0 -45
- data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +0 -15
- data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +0 -55
- data/lib/stripe/params/delegated_checkout/requested_session_create_params.rb +0 -205
- data/lib/stripe/params/delegated_checkout/requested_session_expire_params.rb +0 -15
- data/lib/stripe/params/delegated_checkout/requested_session_retrieve_params.rb +0 -15
- data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +0 -209
- data/lib/stripe/params/external_account_create_params.rb +0 -134
- data/lib/stripe/params/external_account_delete_params.rb +0 -6
- data/lib/stripe/params/external_account_list_params.rb +0 -25
- data/lib/stripe/params/external_account_retrieve_params.rb +0 -13
- data/lib/stripe/params/external_account_update_params.rb +0 -91
- data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +0 -24
- data/lib/stripe/params/financial_connections/institution_list_params.rb +0 -24
- data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +0 -15
- data/lib/stripe/params/fx_quote_create_params.rb +0 -73
- data/lib/stripe/params/fx_quote_list_params.rb +0 -22
- data/lib/stripe/params/fx_quote_retrieve_params.rb +0 -13
- data/lib/stripe/params/identity/blocklist_entry_create_params.rb +0 -29
- data/lib/stripe/params/identity/blocklist_entry_disable_params.rb +0 -15
- data/lib/stripe/params/identity/blocklist_entry_list_params.rb +0 -62
- data/lib/stripe/params/identity/blocklist_entry_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +0 -163
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +0 -50
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +0 -128
- data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +0 -24
- data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +0 -86
- data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +0 -33
- data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +0 -44
- data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/program_create_params.rb +0 -21
- data/lib/stripe/params/issuing/program_list_params.rb +0 -24
- data/lib/stripe/params/issuing/program_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/program_update_params.rb +0 -21
- data/lib/stripe/params/mandate_list_params.rb +0 -39
- data/lib/stripe/params/margin_create_params.rb +0 -25
- data/lib/stripe/params/margin_list_params.rb +0 -25
- data/lib/stripe/params/margin_retrieve_params.rb +0 -13
- data/lib/stripe/params/margin_update_params.rb +0 -22
- data/lib/stripe/params/order_cancel_params.rb +0 -13
- data/lib/stripe/params/order_create_params.rb +0 -2061
- data/lib/stripe/params/order_line_item_list_params.rb +0 -22
- data/lib/stripe/params/order_list_line_items_params.rb +0 -22
- data/lib/stripe/params/order_list_params.rb +0 -25
- data/lib/stripe/params/order_reopen_params.rb +0 -13
- data/lib/stripe/params/order_retrieve_params.rb +0 -13
- data/lib/stripe/params/order_submit_params.rb +0 -16
- data/lib/stripe/params/order_update_params.rb +0 -2065
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +0 -73
- data/lib/stripe/params/payment_intent_trigger_action_params.rb +0 -27
- data/lib/stripe/params/payment_method_check_balance_params.rb +0 -13
- data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_create_params.rb +0 -67
- data/lib/stripe/params/privacy/redaction_job_list_params.rb +0 -27
- data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_run_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_update_params.rb +0 -18
- data/lib/stripe/params/privacy/redaction_job_validate_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +0 -24
- data/lib/stripe/params/product_catalog/trial_offer_create_params.rb +0 -60
- data/lib/stripe/params/quote_line_list_params.rb +0 -22
- data/lib/stripe/params/quote_list_lines_params.rb +0 -22
- data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +0 -22
- data/lib/stripe/params/quote_mark_draft_params.rb +0 -13
- data/lib/stripe/params/quote_mark_stale_params.rb +0 -16
- data/lib/stripe/params/quote_preview_invoice_list_params.rb +0 -22
- data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +0 -22
- data/lib/stripe/params/quote_reestimate_params.rb +0 -13
- data/lib/stripe/params/radar/account_evaluation_create_params.rb +0 -81
- data/lib/stripe/params/radar/account_evaluation_retrieve_params.rb +0 -15
- data/lib/stripe/params/radar/account_evaluation_update_params.rb +0 -18
- data/lib/stripe/params/subscription_attach_cadence_params.rb +0 -16
- data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -609
- data/lib/stripe/params/tax/form_list_params.rb +0 -51
- data/lib/stripe/params/tax/form_pdf_params.rb +0 -15
- data/lib/stripe/params/tax/form_retrieve_params.rb +0 -15
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
- data/lib/stripe/params/test_helpers/capital/financing_offer_create_params.rb +0 -39
- data/lib/stripe/params/test_helpers/capital/financing_offer_refill_params.rb +0 -39
- data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +0 -74
- data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +0 -80
- data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +0 -17
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -257
- data/lib/stripe/params/v2/billing/cadence_list_params.rb +0 -43
- data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/billing/cadence_update_params.rb +0 -78
- data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +0 -223
- data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +0 -229
- data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/custom_pricing_unit_create_params.rb +0 -26
- data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +0 -24
- data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +0 -26
- data/lib/stripe/params/v2/billing/intent_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/billing/intent_commit_params.rb +0 -17
- data/lib/stripe/params/v2/billing/intent_create_params.rb +0 -355
- data/lib/stripe/params/v2/billing/intent_list_params.rb +0 -17
- data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +0 -10
- data/lib/stripe/params/v2/billing/intent_reserve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/intents/action_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/license_fee_create_params.rb +0 -103
- data/lib/stripe/params/v2/billing/license_fee_list_params.rb +0 -24
- data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/license_fee_subscription_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/license_fee_update_params.rb +0 -84
- data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +0 -48
- data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +0 -48
- data/lib/stripe/params/v2/billing/metered_item_create_params.rb +0 -73
- data/lib/stripe/params/v2/billing/metered_item_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/metered_item_update_params.rb +0 -50
- data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +0 -39
- data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +0 -24
- data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +0 -50
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +0 -20
- data/lib/stripe/params/v2/billing/pricing_plan_subscriptions/component_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +0 -39
- data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +0 -73
- data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +0 -12
- data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +0 -27
- data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +0 -22
- data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/pricing_plans/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/profile_create_params.rb +0 -37
- data/lib/stripe/params/v2/billing/profile_list_params.rb +0 -40
- data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/profile_update_params.rb +0 -35
- data/lib/stripe/params/v2/billing/rate_card_create_params.rb +0 -49
- data/lib/stripe/params/v2/billing/rate_card_list_params.rb +0 -24
- data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +0 -26
- data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +0 -51
- data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +0 -17
- data/lib/stripe/params/v2/billing/rate_card_update_params.rb +0 -38
- data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +0 -91
- data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +0 -12
- data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +0 -25
- data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/rate_cards/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/service_action_create_params.rb +0 -278
- data/lib/stripe/params/v2/billing/service_action_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/service_action_update_params.rb +0 -40
- data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +0 -36
- data/lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -50
- data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +0 -19
- data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +0 -33
- data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +0 -22
- data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +0 -48
- data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/currency_conversion_create_params.rb +0 -68
- data/lib/stripe/params/v2/money_management/currency_conversion_list_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/currency_conversion_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -28
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -34
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +0 -31
- data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +0 -23
- data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +0 -62
- data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +0 -44
- data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -114
- data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +0 -52
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -79
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +0 -103
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +0 -80
- data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -93
- data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +0 -48
- data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +0 -31
- data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +0 -44
- data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/recipient_verification_acknowledge_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/recipient_verification_create_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/recipient_verification_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +0 -43
- data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/transaction_list_params.rb +0 -47
- data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +0 -57
- data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +0 -161
- data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +0 -17
- data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/reporting/report_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/reporting/report_run_create_params.rb +0 -33
- data/lib/stripe/params/v2/reporting/report_run_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -34
- data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +0 -10
- data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +0 -24
- data/lib/stripe/resources/account_notice.rb +0 -94
- data/lib/stripe/resources/balance_transfer.rb +0 -139
- data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -40
- data/lib/stripe/resources/capital/financing_offer.rb +0 -183
- data/lib/stripe/resources/capital/financing_summary.rb +0 -79
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
- data/lib/stripe/resources/delegated_checkout/requested_session.rb +0 -426
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -35
- data/lib/stripe/resources/financial_connections/institution.rb +0 -127
- data/lib/stripe/resources/fx_quote.rb +0 -147
- data/lib/stripe/resources/identity/blocklist_entry.rb +0 -116
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -263
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -71
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -51
- data/lib/stripe/resources/issuing/program.rb +0 -69
- data/lib/stripe/resources/issuing/settlement.rb +0 -61
- data/lib/stripe/resources/margin.rb +0 -64
- data/lib/stripe/resources/order.rb +0 -987
- data/lib/stripe/resources/payment_method_balance.rb +0 -68
- data/lib/stripe/resources/privacy/redaction_job.rb +0 -187
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
- data/lib/stripe/resources/product_catalog/trial_offer.rb +0 -101
- data/lib/stripe/resources/quote_line.rb +0 -527
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -1166
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -826
- data/lib/stripe/resources/radar/account_evaluation.rb +0 -116
- data/lib/stripe/resources/tax/form.rb +0 -264
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
- data/lib/stripe/resources/transit_balance.rb +0 -45
- data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -90
- data/lib/stripe/resources/v2/billing/cadence.rb +0 -655
- data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -274
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -262
- data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +0 -43
- data/lib/stripe/resources/v2/billing/intent.rb +0 -86
- data/lib/stripe/resources/v2/billing/intent_action.rb +0 -395
- data/lib/stripe/resources/v2/billing/license_fee.rb +0 -104
- data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +0 -44
- data/lib/stripe/resources/v2/billing/license_fee_version.rb +0 -80
- data/lib/stripe/resources/v2/billing/licensed_item.rb +0 -60
- data/lib/stripe/resources/v2/billing/metered_item.rb +0 -85
- data/lib/stripe/resources/v2/billing/pricing_plan.rb +0 -51
- data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +0 -94
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +0 -94
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription_components.rb +0 -49
- data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +0 -38
- data/lib/stripe/resources/v2/billing/profile.rb +0 -46
- data/lib/stripe/resources/v2/billing/rate_card.rb +0 -61
- data/lib/stripe/resources/v2/billing/rate_card_rate.rb +0 -110
- data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +0 -94
- data/lib/stripe/resources/v2/billing/rate_card_version.rb +0 -34
- data/lib/stripe/resources/v2/billing/service_action.rb +0 -274
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +0 -105
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -114
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -81
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -28
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -44
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -82
- data/lib/stripe/resources/v2/money_management/currency_conversion.rb +0 -94
- data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -188
- data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -132
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -197
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -263
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -202
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -69
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -242
- data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -137
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -81
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -278
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -208
- data/lib/stripe/resources/v2/money_management/recipient_verification.rb +0 -83
- data/lib/stripe/resources/v2/money_management/transaction.rb +0 -180
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -153
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -186
- data/lib/stripe/resources/v2/reporting/report.rb +0 -116
- data/lib/stripe/resources/v2/reporting/report_run.rb +0 -128
- data/lib/stripe/services/account_notice_service.rb +0 -39
- data/lib/stripe/services/balance_transfer_service.rb +0 -17
- data/lib/stripe/services/billing/analytics/meter_usage_service.rb +0 -21
- data/lib/stripe/services/billing/analytics_service.rb +0 -15
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -42
- data/lib/stripe/services/capital/financing_summary_service.rb +0 -19
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -31
- data/lib/stripe/services/capital_service.rb +0 -15
- data/lib/stripe/services/delegated_checkout/requested_session_service.rb +0 -63
- data/lib/stripe/services/delegated_checkout_service.rb +0 -13
- data/lib/stripe/services/external_account_service.rb +0 -68
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -19
- data/lib/stripe/services/financial_connections/institution_service.rb +0 -30
- data/lib/stripe/services/fx_quote_service.rb +0 -27
- data/lib/stripe/services/identity/blocklist_entry_service.rb +0 -71
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -74
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -30
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -30
- data/lib/stripe/services/issuing/program_service.rb +0 -52
- data/lib/stripe/services/margin_service.rb +0 -50
- data/lib/stripe/services/order_line_item_service.rb +0 -17
- data/lib/stripe/services/order_service.rb +0 -78
- data/lib/stripe/services/privacy/redaction_job_service.rb +0 -104
- data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -19
- data/lib/stripe/services/privacy_service.rb +0 -13
- data/lib/stripe/services/product_catalog/trial_offer_service.rb +0 -19
- data/lib/stripe/services/product_catalog_service.rb +0 -13
- data/lib/stripe/services/quote_line_service.rb +0 -17
- data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
- data/lib/stripe/services/radar/account_evaluation_service.rb +0 -41
- data/lib/stripe/services/tax/form_service.rb +0 -37
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
- data/lib/stripe/services/test_helpers/capital/financing_offer_service.rb +0 -32
- data/lib/stripe/services/test_helpers/capital_service.rb +0 -15
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -61
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/cadence_service.rb +0 -65
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -61
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +0 -54
- data/lib/stripe/services/v2/billing/intent_service.rb +0 -94
- data/lib/stripe/services/v2/billing/intents/action_service.rb +0 -34
- data/lib/stripe/services/v2/billing/license_fee_service.rb +0 -61
- data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +0 -21
- data/lib/stripe/services/v2/billing/license_fees/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/licensed_item_service.rb +0 -54
- data/lib/stripe/services/v2/billing/metered_item_service.rb +0 -54
- data/lib/stripe/services/v2/billing/pricing_plan_service.rb +0 -62
- data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +0 -51
- data/lib/stripe/services/v2/billing/pricing_plan_subscriptions/component_service.rb +0 -23
- data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +0 -67
- data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/profile_service.rb +0 -54
- data/lib/stripe/services/v2/billing/rate_card_service.rb +0 -62
- data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +0 -65
- data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +0 -57
- data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/service_action_service.rb +0 -43
- data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +0 -35
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -85
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -101
- data/lib/stripe/services/v2/core/vault_service.rb +0 -18
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/currency_conversion_service.rb +0 -45
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -70
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -46
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -45
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -34
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -62
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -73
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -60
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -63
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -23
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/recipient_verification_service.rb +0 -43
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -32
- data/lib/stripe/services/v2/money_management_service.rb +0 -35
- data/lib/stripe/services/v2/payment_service.rb +0 -15
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -65
- data/lib/stripe/services/v2/reporting/report_run_service.rb +0 -38
- data/lib/stripe/services/v2/reporting/report_service.rb +0 -23
- data/lib/stripe/services/v2/reporting_service.rb +0 -16
- data/lib/stripe/services/v2/test_helper_service.rb +0 -16
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
- data/lib/stripe/services/v2/test_helpers/money_management_service.rb +0 -21
|
@@ -8,11 +8,11 @@ module Stripe
|
|
|
8
8
|
# see the history of payment attempts for a particular session.
|
|
9
9
|
#
|
|
10
10
|
# A PaymentIntent transitions through
|
|
11
|
-
# [multiple statuses](https://stripe.com/
|
|
11
|
+
# [multiple statuses](https://docs.stripe.com/payments/paymentintents/lifecycle)
|
|
12
12
|
# throughout its lifetime as it interfaces with Stripe.js to perform
|
|
13
13
|
# authentication flows and ultimately creates at most one successful charge.
|
|
14
14
|
#
|
|
15
|
-
# Related guide: [Payment Intents API](https://stripe.com/
|
|
15
|
+
# Related guide: [Payment Intents API](https://docs.stripe.com/payments/payment-intents)
|
|
16
16
|
class PaymentIntent < APIResource
|
|
17
17
|
extend Stripe::APIOperations::Create
|
|
18
18
|
extend Stripe::APIOperations::List
|
|
@@ -27,22 +27,9 @@ module Stripe
|
|
|
27
27
|
|
|
28
28
|
nested_resource_class_methods :amount_details_line_item, operations: %i[list]
|
|
29
29
|
|
|
30
|
-
class AllocatedFunds < ::Stripe::StripeObject
|
|
31
|
-
# Allocated Funds configuration for this PaymentIntent.
|
|
32
|
-
attr_reader :enabled
|
|
33
|
-
|
|
34
|
-
def self.inner_class_types
|
|
35
|
-
@inner_class_types = {}
|
|
36
|
-
end
|
|
37
|
-
|
|
38
|
-
def self.field_remappings
|
|
39
|
-
@field_remappings = {}
|
|
40
|
-
end
|
|
41
|
-
end
|
|
42
|
-
|
|
43
30
|
class AmountDetails < ::Stripe::StripeObject
|
|
44
31
|
class Shipping < ::Stripe::StripeObject
|
|
45
|
-
# If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://stripe.com/
|
|
32
|
+
# If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than or equal to 0.
|
|
46
33
|
attr_reader :amount
|
|
47
34
|
# If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens are allowed.
|
|
48
35
|
attr_reader :from_postal_code
|
|
@@ -59,7 +46,7 @@ module Stripe
|
|
|
59
46
|
end
|
|
60
47
|
|
|
61
48
|
class Tax < ::Stripe::StripeObject
|
|
62
|
-
# The total amount of tax on the transaction represented in the [smallest currency unit](https://stripe.com/
|
|
49
|
+
# The total amount of tax on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0.
|
|
63
50
|
#
|
|
64
51
|
# This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.
|
|
65
52
|
attr_reader :total_tax_amount
|
|
@@ -85,11 +72,11 @@ module Stripe
|
|
|
85
72
|
@field_remappings = {}
|
|
86
73
|
end
|
|
87
74
|
end
|
|
88
|
-
# The total discount applied on the transaction represented in the [smallest currency unit](https://stripe.com/
|
|
75
|
+
# The total discount applied on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.
|
|
89
76
|
#
|
|
90
77
|
# This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.
|
|
91
78
|
attr_reader :discount_amount
|
|
92
|
-
# A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of
|
|
79
|
+
# A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 200 line items.
|
|
93
80
|
attr_reader :line_items
|
|
94
81
|
# Attribute for field shipping
|
|
95
82
|
attr_reader :shipping
|
|
@@ -110,7 +97,7 @@ module Stripe
|
|
|
110
97
|
class AutomaticPaymentMethods < ::Stripe::StripeObject
|
|
111
98
|
# Controls whether this PaymentIntent will accept redirect-based payment methods.
|
|
112
99
|
#
|
|
113
|
-
# Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://stripe.com/
|
|
100
|
+
# Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://docs.stripe.com/api/payment_intents/confirm) this PaymentIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the payment.
|
|
114
101
|
attr_reader :allow_redirects
|
|
115
102
|
# Automatically calculates compatible payment methods
|
|
116
103
|
attr_reader :enabled
|
|
@@ -127,7 +114,7 @@ module Stripe
|
|
|
127
114
|
class Hooks < ::Stripe::StripeObject
|
|
128
115
|
class Inputs < ::Stripe::StripeObject
|
|
129
116
|
class Tax < ::Stripe::StripeObject
|
|
130
|
-
# The [TaxCalculation](https://stripe.com/
|
|
117
|
+
# The [TaxCalculation](https://docs.stripe.com/api/tax/calculations) id
|
|
131
118
|
attr_reader :calculation
|
|
132
119
|
|
|
133
120
|
def self.inner_class_types
|
|
@@ -162,15 +149,15 @@ module Stripe
|
|
|
162
149
|
end
|
|
163
150
|
|
|
164
151
|
class LastPaymentError < ::Stripe::StripeObject
|
|
165
|
-
# For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://stripe.com/
|
|
152
|
+
# For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://docs.stripe.com/declines#retrying-issuer-declines) if they provide one.
|
|
166
153
|
attr_reader :advice_code
|
|
167
154
|
# For card errors, the ID of the failed charge.
|
|
168
155
|
attr_reader :charge
|
|
169
|
-
# For some errors that could be handled programmatically, a short string indicating the [error code](https://stripe.com/
|
|
156
|
+
# For some errors that could be handled programmatically, a short string indicating the [error code](https://docs.stripe.com/error-codes) reported.
|
|
170
157
|
attr_reader :code
|
|
171
|
-
# For card errors resulting from a card issuer decline, a short string indicating the [card issuer's reason for the decline](https://stripe.com/
|
|
158
|
+
# For card errors resulting from a card issuer decline, a short string indicating the [card issuer's reason for the decline](https://docs.stripe.com/declines#issuer-declines) if they provide one.
|
|
172
159
|
attr_reader :decline_code
|
|
173
|
-
# A URL to more information about the [error code](https://stripe.com/
|
|
160
|
+
# A URL to more information about the [error code](https://docs.stripe.com/error-codes) reported.
|
|
174
161
|
attr_reader :doc_url
|
|
175
162
|
# A human-readable message providing more details about the error. For card errors, these messages can be shown to your users.
|
|
176
163
|
attr_reader :message
|
|
@@ -186,17 +173,17 @@ module Stripe
|
|
|
186
173
|
# see the history of payment attempts for a particular session.
|
|
187
174
|
#
|
|
188
175
|
# A PaymentIntent transitions through
|
|
189
|
-
# [multiple statuses](
|
|
176
|
+
# [multiple statuses](/payments/paymentintents/lifecycle)
|
|
190
177
|
# throughout its lifetime as it interfaces with Stripe.js to perform
|
|
191
178
|
# authentication flows and ultimately creates at most one successful charge.
|
|
192
179
|
#
|
|
193
|
-
# Related guide: [Payment Intents API](https://stripe.com/
|
|
180
|
+
# Related guide: [Payment Intents API](https://docs.stripe.com/payments/payment-intents)
|
|
194
181
|
attr_reader :payment_intent
|
|
195
182
|
# PaymentMethod objects represent your customer's payment instruments.
|
|
196
|
-
# You can use them with [PaymentIntents](https://stripe.com/
|
|
183
|
+
# You can use them with [PaymentIntents](https://docs.stripe.com/payments/payment-intents) to collect payments or save them to
|
|
197
184
|
# Customer objects to store instrument details for future payments.
|
|
198
185
|
#
|
|
199
|
-
# Related guides: [Payment Methods](https://stripe.com/
|
|
186
|
+
# Related guides: [Payment Methods](https://docs.stripe.com/payments/payment-methods) and [More Payment Scenarios](https://docs.stripe.com/payments/more-payment-scenarios).
|
|
200
187
|
attr_reader :payment_method
|
|
201
188
|
# If the error is specific to the type of payment method, the payment method type that had a problem. This field is only populated for invoice-related errors.
|
|
202
189
|
attr_reader :payment_method_type
|
|
@@ -204,7 +191,7 @@ module Stripe
|
|
|
204
191
|
attr_reader :request_log_url
|
|
205
192
|
# A SetupIntent guides you through the process of setting up and saving a customer's payment credentials for future payments.
|
|
206
193
|
# For example, you can use a SetupIntent to set up and save your customer's card without immediately collecting a payment.
|
|
207
|
-
# Later, you can use [PaymentIntents](https://stripe.com
|
|
194
|
+
# Later, you can use [PaymentIntents](https://api.stripe.com#payment_intents) to drive the payment flow.
|
|
208
195
|
#
|
|
209
196
|
# Create a SetupIntent when you're ready to collect your customer's payment credentials.
|
|
210
197
|
# Don't maintain long-lived, unconfirmed SetupIntents because they might not be valid.
|
|
@@ -215,9 +202,9 @@ module Stripe
|
|
|
215
202
|
# For example, cardholders in [certain regions](https://stripe.com/guides/strong-customer-authentication) might need to be run through
|
|
216
203
|
# [Strong Customer Authentication](https://docs.stripe.com/strong-customer-authentication) during payment method collection
|
|
217
204
|
# to streamline later [off-session payments](https://docs.stripe.com/payments/setup-intents).
|
|
218
|
-
# If you use the SetupIntent with a [Customer](https://stripe.com
|
|
205
|
+
# If you use the SetupIntent with a [Customer](https://api.stripe.com#setup_intent_object-customer),
|
|
219
206
|
# it automatically attaches the resulting payment method to that Customer after successful setup.
|
|
220
|
-
# We recommend using SetupIntents or [setup_future_usage](https://stripe.com
|
|
207
|
+
# We recommend using SetupIntents or [setup_future_usage](https://api.stripe.com#payment_intent_object-setup_future_usage) on
|
|
221
208
|
# PaymentIntents to save payment methods to prevent saving invalid or unoptimized payment methods.
|
|
222
209
|
#
|
|
223
210
|
# By using SetupIntents, you can reduce friction for your customers, even as regulations change over time.
|
|
@@ -339,7 +326,7 @@ module Stripe
|
|
|
339
326
|
attr_reader :line2
|
|
340
327
|
# ZIP or postal code.
|
|
341
328
|
attr_reader :postal_code
|
|
342
|
-
# State, county, province, or region.
|
|
329
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
343
330
|
attr_reader :state
|
|
344
331
|
|
|
345
332
|
def self.inner_class_types
|
|
@@ -362,7 +349,7 @@ module Stripe
|
|
|
362
349
|
attr_reader :line2
|
|
363
350
|
# ZIP or postal code.
|
|
364
351
|
attr_reader :postal_code
|
|
365
|
-
# State, county, province, or region.
|
|
352
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
366
353
|
attr_reader :state
|
|
367
354
|
|
|
368
355
|
def self.inner_class_types
|
|
@@ -412,7 +399,7 @@ module Stripe
|
|
|
412
399
|
attr_reader :line2
|
|
413
400
|
# ZIP or postal code.
|
|
414
401
|
attr_reader :postal_code
|
|
415
|
-
# State, county, province, or region.
|
|
402
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
416
403
|
attr_reader :state
|
|
417
404
|
|
|
418
405
|
def self.inner_class_types
|
|
@@ -435,7 +422,7 @@ module Stripe
|
|
|
435
422
|
attr_reader :line2
|
|
436
423
|
# ZIP or postal code.
|
|
437
424
|
attr_reader :postal_code
|
|
438
|
-
# State, county, province, or region.
|
|
425
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
439
426
|
attr_reader :state
|
|
440
427
|
|
|
441
428
|
def self.inner_class_types
|
|
@@ -483,7 +470,7 @@ module Stripe
|
|
|
483
470
|
attr_reader :line2
|
|
484
471
|
# ZIP or postal code.
|
|
485
472
|
attr_reader :postal_code
|
|
486
|
-
# State, county, province, or region.
|
|
473
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
487
474
|
attr_reader :state
|
|
488
475
|
|
|
489
476
|
def self.inner_class_types
|
|
@@ -506,7 +493,7 @@ module Stripe
|
|
|
506
493
|
attr_reader :line2
|
|
507
494
|
# ZIP or postal code.
|
|
508
495
|
attr_reader :postal_code
|
|
509
|
-
# State, county, province, or region.
|
|
496
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
510
497
|
attr_reader :state
|
|
511
498
|
|
|
512
499
|
def self.inner_class_types
|
|
@@ -552,7 +539,7 @@ module Stripe
|
|
|
552
539
|
attr_reader :line2
|
|
553
540
|
# ZIP or postal code.
|
|
554
541
|
attr_reader :postal_code
|
|
555
|
-
# State, county, province, or region.
|
|
542
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
556
543
|
attr_reader :state
|
|
557
544
|
|
|
558
545
|
def self.inner_class_types
|
|
@@ -575,7 +562,7 @@ module Stripe
|
|
|
575
562
|
attr_reader :line2
|
|
576
563
|
# ZIP or postal code.
|
|
577
564
|
attr_reader :postal_code
|
|
578
|
-
# State, county, province, or region.
|
|
565
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
579
566
|
attr_reader :state
|
|
580
567
|
|
|
581
568
|
def self.inner_class_types
|
|
@@ -623,7 +610,7 @@ module Stripe
|
|
|
623
610
|
attr_reader :line2
|
|
624
611
|
# ZIP or postal code.
|
|
625
612
|
attr_reader :postal_code
|
|
626
|
-
# State, county, province, or region.
|
|
613
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
627
614
|
attr_reader :state
|
|
628
615
|
|
|
629
616
|
def self.inner_class_types
|
|
@@ -646,7 +633,7 @@ module Stripe
|
|
|
646
633
|
attr_reader :line2
|
|
647
634
|
# ZIP or postal code.
|
|
648
635
|
attr_reader :postal_code
|
|
649
|
-
# State, county, province, or region.
|
|
636
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
650
637
|
attr_reader :state
|
|
651
638
|
|
|
652
639
|
def self.inner_class_types
|
|
@@ -696,7 +683,7 @@ module Stripe
|
|
|
696
683
|
attr_reader :line2
|
|
697
684
|
# ZIP or postal code.
|
|
698
685
|
attr_reader :postal_code
|
|
699
|
-
# State, county, province, or region.
|
|
686
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
700
687
|
attr_reader :state
|
|
701
688
|
|
|
702
689
|
def self.inner_class_types
|
|
@@ -719,7 +706,7 @@ module Stripe
|
|
|
719
706
|
attr_reader :line2
|
|
720
707
|
# ZIP or postal code.
|
|
721
708
|
attr_reader :postal_code
|
|
722
|
-
# State, county, province, or region.
|
|
709
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
723
710
|
attr_reader :state
|
|
724
711
|
|
|
725
712
|
def self.inner_class_types
|
|
@@ -1198,388 +1185,19 @@ module Stripe
|
|
|
1198
1185
|
end
|
|
1199
1186
|
|
|
1200
1187
|
class PaymentDetails < ::Stripe::StripeObject
|
|
1201
|
-
class Benefit < ::Stripe::StripeObject
|
|
1202
|
-
class FrMealVoucher < ::Stripe::StripeObject
|
|
1203
|
-
# The 14-digit SIRET of the meal voucher acceptor.
|
|
1204
|
-
attr_reader :siret
|
|
1205
|
-
|
|
1206
|
-
def self.inner_class_types
|
|
1207
|
-
@inner_class_types = {}
|
|
1208
|
-
end
|
|
1209
|
-
|
|
1210
|
-
def self.field_remappings
|
|
1211
|
-
@field_remappings = {}
|
|
1212
|
-
end
|
|
1213
|
-
end
|
|
1214
|
-
# Attribute for field fr_meal_voucher
|
|
1215
|
-
attr_reader :fr_meal_voucher
|
|
1216
|
-
|
|
1217
|
-
def self.inner_class_types
|
|
1218
|
-
@inner_class_types = { fr_meal_voucher: FrMealVoucher }
|
|
1219
|
-
end
|
|
1220
|
-
|
|
1221
|
-
def self.field_remappings
|
|
1222
|
-
@field_remappings = {}
|
|
1223
|
-
end
|
|
1224
|
-
end
|
|
1225
|
-
|
|
1226
|
-
class CarRental < ::Stripe::StripeObject
|
|
1227
|
-
class Affiliate < ::Stripe::StripeObject
|
|
1228
|
-
# The name of the affiliate that originated the purchase.
|
|
1229
|
-
attr_reader :name
|
|
1230
|
-
|
|
1231
|
-
def self.inner_class_types
|
|
1232
|
-
@inner_class_types = {}
|
|
1233
|
-
end
|
|
1234
|
-
|
|
1235
|
-
def self.field_remappings
|
|
1236
|
-
@field_remappings = {}
|
|
1237
|
-
end
|
|
1238
|
-
end
|
|
1239
|
-
|
|
1240
|
-
class Delivery < ::Stripe::StripeObject
|
|
1241
|
-
class Recipient < ::Stripe::StripeObject
|
|
1242
|
-
# The email of the recipient the ticket is delivered to.
|
|
1243
|
-
attr_reader :email
|
|
1244
|
-
# The name of the recipient the ticket is delivered to.
|
|
1245
|
-
attr_reader :name
|
|
1246
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
1247
|
-
attr_reader :phone
|
|
1248
|
-
|
|
1249
|
-
def self.inner_class_types
|
|
1250
|
-
@inner_class_types = {}
|
|
1251
|
-
end
|
|
1252
|
-
|
|
1253
|
-
def self.field_remappings
|
|
1254
|
-
@field_remappings = {}
|
|
1255
|
-
end
|
|
1256
|
-
end
|
|
1257
|
-
# The delivery method for the payment
|
|
1258
|
-
attr_reader :mode
|
|
1259
|
-
# Attribute for field recipient
|
|
1260
|
-
attr_reader :recipient
|
|
1261
|
-
|
|
1262
|
-
def self.inner_class_types
|
|
1263
|
-
@inner_class_types = { recipient: Recipient }
|
|
1264
|
-
end
|
|
1265
|
-
|
|
1266
|
-
def self.field_remappings
|
|
1267
|
-
@field_remappings = {}
|
|
1268
|
-
end
|
|
1269
|
-
end
|
|
1270
|
-
|
|
1271
|
-
class Distance < ::Stripe::StripeObject
|
|
1272
|
-
# Distance traveled.
|
|
1273
|
-
attr_reader :amount
|
|
1274
|
-
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`
|
|
1275
|
-
attr_reader :unit
|
|
1276
|
-
|
|
1277
|
-
def self.inner_class_types
|
|
1278
|
-
@inner_class_types = {}
|
|
1279
|
-
end
|
|
1280
|
-
|
|
1281
|
-
def self.field_remappings
|
|
1282
|
-
@field_remappings = {}
|
|
1283
|
-
end
|
|
1284
|
-
end
|
|
1285
|
-
|
|
1286
|
-
class Driver < ::Stripe::StripeObject
|
|
1287
|
-
# Driver's identification number.
|
|
1288
|
-
attr_reader :driver_identification_number
|
|
1289
|
-
# Driver's tax number.
|
|
1290
|
-
attr_reader :driver_tax_number
|
|
1291
|
-
# Full name of the driver on the reservation.
|
|
1292
|
-
attr_reader :name
|
|
1293
|
-
|
|
1294
|
-
def self.inner_class_types
|
|
1295
|
-
@inner_class_types = {}
|
|
1296
|
-
end
|
|
1297
|
-
|
|
1298
|
-
def self.field_remappings
|
|
1299
|
-
@field_remappings = {}
|
|
1300
|
-
end
|
|
1301
|
-
end
|
|
1302
|
-
|
|
1303
|
-
class PickupAddress < ::Stripe::StripeObject
|
|
1304
|
-
# City, district, suburb, town, or village.
|
|
1305
|
-
attr_reader :city
|
|
1306
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1307
|
-
attr_reader :country
|
|
1308
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1309
|
-
attr_reader :line1
|
|
1310
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1311
|
-
attr_reader :line2
|
|
1312
|
-
# ZIP or postal code.
|
|
1313
|
-
attr_reader :postal_code
|
|
1314
|
-
# State, county, province, or region.
|
|
1315
|
-
attr_reader :state
|
|
1316
|
-
|
|
1317
|
-
def self.inner_class_types
|
|
1318
|
-
@inner_class_types = {}
|
|
1319
|
-
end
|
|
1320
|
-
|
|
1321
|
-
def self.field_remappings
|
|
1322
|
-
@field_remappings = {}
|
|
1323
|
-
end
|
|
1324
|
-
end
|
|
1325
|
-
|
|
1326
|
-
class ReturnAddress < ::Stripe::StripeObject
|
|
1327
|
-
# City, district, suburb, town, or village.
|
|
1328
|
-
attr_reader :city
|
|
1329
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1330
|
-
attr_reader :country
|
|
1331
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1332
|
-
attr_reader :line1
|
|
1333
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1334
|
-
attr_reader :line2
|
|
1335
|
-
# ZIP or postal code.
|
|
1336
|
-
attr_reader :postal_code
|
|
1337
|
-
# State, county, province, or region.
|
|
1338
|
-
attr_reader :state
|
|
1339
|
-
|
|
1340
|
-
def self.inner_class_types
|
|
1341
|
-
@inner_class_types = {}
|
|
1342
|
-
end
|
|
1343
|
-
|
|
1344
|
-
def self.field_remappings
|
|
1345
|
-
@field_remappings = {}
|
|
1346
|
-
end
|
|
1347
|
-
end
|
|
1348
|
-
# Attribute for field affiliate
|
|
1349
|
-
attr_reader :affiliate
|
|
1350
|
-
# The booking number associated with the car rental.
|
|
1351
|
-
attr_reader :booking_number
|
|
1352
|
-
# Class code of the car.
|
|
1353
|
-
attr_reader :car_class_code
|
|
1354
|
-
# Make of the car.
|
|
1355
|
-
attr_reader :car_make
|
|
1356
|
-
# Model of the car.
|
|
1357
|
-
attr_reader :car_model
|
|
1358
|
-
# The name of the rental car company.
|
|
1359
|
-
attr_reader :company
|
|
1360
|
-
# The customer service phone number of the car rental company.
|
|
1361
|
-
attr_reader :customer_service_phone_number
|
|
1362
|
-
# Number of days the car is being rented.
|
|
1363
|
-
attr_reader :days_rented
|
|
1364
|
-
# Attribute for field delivery
|
|
1365
|
-
attr_reader :delivery
|
|
1366
|
-
# Attribute for field distance
|
|
1367
|
-
attr_reader :distance
|
|
1368
|
-
# The details of the drivers associated with the trip.
|
|
1369
|
-
attr_reader :drivers
|
|
1370
|
-
# List of additional charges being billed.
|
|
1371
|
-
attr_reader :extra_charges
|
|
1372
|
-
# Indicates if the customer did not keep nor cancel their booking.
|
|
1373
|
-
attr_reader :no_show
|
|
1374
|
-
# Attribute for field pickup_address
|
|
1375
|
-
attr_reader :pickup_address
|
|
1376
|
-
# Car pick-up time. Measured in seconds since the Unix epoch.
|
|
1377
|
-
attr_reader :pickup_at
|
|
1378
|
-
# Name of the pickup location.
|
|
1379
|
-
attr_reader :pickup_location_name
|
|
1380
|
-
# Rental rate.
|
|
1381
|
-
attr_reader :rate_amount
|
|
1382
|
-
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
1383
|
-
attr_reader :rate_interval
|
|
1384
|
-
# The full name of the person or entity renting the car.
|
|
1385
|
-
attr_reader :renter_name
|
|
1386
|
-
# Attribute for field return_address
|
|
1387
|
-
attr_reader :return_address
|
|
1388
|
-
# Car return time. Measured in seconds since the Unix epoch.
|
|
1389
|
-
attr_reader :return_at
|
|
1390
|
-
# Name of the return location.
|
|
1391
|
-
attr_reader :return_location_name
|
|
1392
|
-
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
1393
|
-
attr_reader :tax_exempt
|
|
1394
|
-
# The vehicle identification number of the car.
|
|
1395
|
-
attr_reader :vehicle_identification_number
|
|
1396
|
-
|
|
1397
|
-
def self.inner_class_types
|
|
1398
|
-
@inner_class_types = {
|
|
1399
|
-
affiliate: Affiliate,
|
|
1400
|
-
delivery: Delivery,
|
|
1401
|
-
distance: Distance,
|
|
1402
|
-
drivers: Driver,
|
|
1403
|
-
pickup_address: PickupAddress,
|
|
1404
|
-
return_address: ReturnAddress,
|
|
1405
|
-
}
|
|
1406
|
-
end
|
|
1407
|
-
|
|
1408
|
-
def self.field_remappings
|
|
1409
|
-
@field_remappings = {}
|
|
1410
|
-
end
|
|
1411
|
-
end
|
|
1412
|
-
|
|
1413
|
-
class EventDetails < ::Stripe::StripeObject
|
|
1414
|
-
class Address < ::Stripe::StripeObject
|
|
1415
|
-
# City, district, suburb, town, or village.
|
|
1416
|
-
attr_reader :city
|
|
1417
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1418
|
-
attr_reader :country
|
|
1419
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1420
|
-
attr_reader :line1
|
|
1421
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1422
|
-
attr_reader :line2
|
|
1423
|
-
# ZIP or postal code.
|
|
1424
|
-
attr_reader :postal_code
|
|
1425
|
-
# State, county, province, or region.
|
|
1426
|
-
attr_reader :state
|
|
1427
|
-
|
|
1428
|
-
def self.inner_class_types
|
|
1429
|
-
@inner_class_types = {}
|
|
1430
|
-
end
|
|
1431
|
-
|
|
1432
|
-
def self.field_remappings
|
|
1433
|
-
@field_remappings = {}
|
|
1434
|
-
end
|
|
1435
|
-
end
|
|
1436
|
-
|
|
1437
|
-
class Affiliate < ::Stripe::StripeObject
|
|
1438
|
-
# The name of the affiliate that originated the purchase.
|
|
1439
|
-
attr_reader :name
|
|
1440
|
-
|
|
1441
|
-
def self.inner_class_types
|
|
1442
|
-
@inner_class_types = {}
|
|
1443
|
-
end
|
|
1444
|
-
|
|
1445
|
-
def self.field_remappings
|
|
1446
|
-
@field_remappings = {}
|
|
1447
|
-
end
|
|
1448
|
-
end
|
|
1449
|
-
|
|
1450
|
-
class Delivery < ::Stripe::StripeObject
|
|
1451
|
-
class Recipient < ::Stripe::StripeObject
|
|
1452
|
-
# The email of the recipient the ticket is delivered to.
|
|
1453
|
-
attr_reader :email
|
|
1454
|
-
# The name of the recipient the ticket is delivered to.
|
|
1455
|
-
attr_reader :name
|
|
1456
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
1457
|
-
attr_reader :phone
|
|
1458
|
-
|
|
1459
|
-
def self.inner_class_types
|
|
1460
|
-
@inner_class_types = {}
|
|
1461
|
-
end
|
|
1462
|
-
|
|
1463
|
-
def self.field_remappings
|
|
1464
|
-
@field_remappings = {}
|
|
1465
|
-
end
|
|
1466
|
-
end
|
|
1467
|
-
# The delivery method for the payment
|
|
1468
|
-
attr_reader :mode
|
|
1469
|
-
# Attribute for field recipient
|
|
1470
|
-
attr_reader :recipient
|
|
1471
|
-
|
|
1472
|
-
def self.inner_class_types
|
|
1473
|
-
@inner_class_types = { recipient: Recipient }
|
|
1474
|
-
end
|
|
1475
|
-
|
|
1476
|
-
def self.field_remappings
|
|
1477
|
-
@field_remappings = {}
|
|
1478
|
-
end
|
|
1479
|
-
end
|
|
1480
|
-
# Indicates if the tickets are digitally checked when entering the venue.
|
|
1481
|
-
attr_reader :access_controlled_venue
|
|
1482
|
-
# Attribute for field address
|
|
1483
|
-
attr_reader :address
|
|
1484
|
-
# Attribute for field affiliate
|
|
1485
|
-
attr_reader :affiliate
|
|
1486
|
-
# The name of the company
|
|
1487
|
-
attr_reader :company
|
|
1488
|
-
# Attribute for field delivery
|
|
1489
|
-
attr_reader :delivery
|
|
1490
|
-
# Event end time. Measured in seconds since the Unix epoch.
|
|
1491
|
-
attr_reader :ends_at
|
|
1492
|
-
# Type of the event entertainment (concert, sports event etc)
|
|
1493
|
-
attr_reader :genre
|
|
1494
|
-
# The name of the event.
|
|
1495
|
-
attr_reader :name
|
|
1496
|
-
# Event start time. Measured in seconds since the Unix epoch.
|
|
1497
|
-
attr_reader :starts_at
|
|
1498
|
-
|
|
1499
|
-
def self.inner_class_types
|
|
1500
|
-
@inner_class_types = { address: Address, affiliate: Affiliate, delivery: Delivery }
|
|
1501
|
-
end
|
|
1502
|
-
|
|
1503
|
-
def self.field_remappings
|
|
1504
|
-
@field_remappings = {}
|
|
1505
|
-
end
|
|
1506
|
-
end
|
|
1507
|
-
|
|
1508
|
-
class Subscription < ::Stripe::StripeObject
|
|
1509
|
-
class Affiliate < ::Stripe::StripeObject
|
|
1510
|
-
# The name of the affiliate that originated the purchase.
|
|
1511
|
-
attr_reader :name
|
|
1512
|
-
|
|
1513
|
-
def self.inner_class_types
|
|
1514
|
-
@inner_class_types = {}
|
|
1515
|
-
end
|
|
1516
|
-
|
|
1517
|
-
def self.field_remappings
|
|
1518
|
-
@field_remappings = {}
|
|
1519
|
-
end
|
|
1520
|
-
end
|
|
1521
|
-
|
|
1522
|
-
class BillingInterval < ::Stripe::StripeObject
|
|
1523
|
-
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1524
|
-
attr_reader :count
|
|
1525
|
-
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1526
|
-
attr_reader :interval
|
|
1527
|
-
|
|
1528
|
-
def self.inner_class_types
|
|
1529
|
-
@inner_class_types = {}
|
|
1530
|
-
end
|
|
1531
|
-
|
|
1532
|
-
def self.field_remappings
|
|
1533
|
-
@field_remappings = {}
|
|
1534
|
-
end
|
|
1535
|
-
end
|
|
1536
|
-
# Attribute for field affiliate
|
|
1537
|
-
attr_reader :affiliate
|
|
1538
|
-
# Info whether the subscription will be auto renewed upon expiry.
|
|
1539
|
-
attr_reader :auto_renewal
|
|
1540
|
-
# Attribute for field billing_interval
|
|
1541
|
-
attr_reader :billing_interval
|
|
1542
|
-
# Subscription end time. Measured in seconds since the Unix epoch.
|
|
1543
|
-
attr_reader :ends_at
|
|
1544
|
-
# Name of the product on subscription. e.g. Apple Music Subscription.
|
|
1545
|
-
attr_reader :name
|
|
1546
|
-
# Subscription start time. Measured in seconds since the Unix epoch.
|
|
1547
|
-
attr_reader :starts_at
|
|
1548
|
-
|
|
1549
|
-
def self.inner_class_types
|
|
1550
|
-
@inner_class_types = { affiliate: Affiliate, billing_interval: BillingInterval }
|
|
1551
|
-
end
|
|
1552
|
-
|
|
1553
|
-
def self.field_remappings
|
|
1554
|
-
@field_remappings = {}
|
|
1555
|
-
end
|
|
1556
|
-
end
|
|
1557
|
-
# Attribute for field benefit
|
|
1558
|
-
attr_reader :benefit
|
|
1559
|
-
# Attribute for field car_rental
|
|
1560
|
-
attr_reader :car_rental
|
|
1561
1188
|
# A unique value to identify the customer. This field is available only for card payments.
|
|
1562
1189
|
#
|
|
1563
1190
|
# This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
1564
1191
|
attr_reader :customer_reference
|
|
1565
|
-
# Attribute for field event_details
|
|
1566
|
-
attr_reader :event_details
|
|
1567
1192
|
# A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
1568
1193
|
#
|
|
1569
1194
|
# Required when the Payment Method Types array contains `card`, including when [automatic_payment_methods.enabled](/api/payment_intents/create#create_payment_intent-automatic_payment_methods-enabled) is set to `true`.
|
|
1570
1195
|
#
|
|
1571
1196
|
# For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
|
|
1572
1197
|
attr_reader :order_reference
|
|
1573
|
-
# Attribute for field subscription
|
|
1574
|
-
attr_reader :subscription
|
|
1575
1198
|
|
|
1576
1199
|
def self.inner_class_types
|
|
1577
|
-
@inner_class_types = {
|
|
1578
|
-
benefit: Benefit,
|
|
1579
|
-
car_rental: CarRental,
|
|
1580
|
-
event_details: EventDetails,
|
|
1581
|
-
subscription: Subscription,
|
|
1582
|
-
}
|
|
1200
|
+
@inner_class_types = {}
|
|
1583
1201
|
end
|
|
1584
1202
|
|
|
1585
1203
|
def self.field_remappings
|
|
@@ -1957,66 +1575,25 @@ module Stripe
|
|
|
1957
1575
|
@field_remappings = {}
|
|
1958
1576
|
end
|
|
1959
1577
|
end
|
|
1960
|
-
|
|
1961
|
-
class StatementDetails < ::Stripe::StripeObject
|
|
1962
|
-
class Address < ::Stripe::StripeObject
|
|
1963
|
-
# City, district, suburb, town, or village.
|
|
1964
|
-
attr_reader :city
|
|
1965
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1966
|
-
attr_reader :country
|
|
1967
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1968
|
-
attr_reader :line1
|
|
1969
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1970
|
-
attr_reader :line2
|
|
1971
|
-
# ZIP or postal code.
|
|
1972
|
-
attr_reader :postal_code
|
|
1973
|
-
# State, county, province, or region.
|
|
1974
|
-
attr_reader :state
|
|
1975
|
-
|
|
1976
|
-
def self.inner_class_types
|
|
1977
|
-
@inner_class_types = {}
|
|
1978
|
-
end
|
|
1979
|
-
|
|
1980
|
-
def self.field_remappings
|
|
1981
|
-
@field_remappings = {}
|
|
1982
|
-
end
|
|
1983
|
-
end
|
|
1984
|
-
# Attribute for field address
|
|
1985
|
-
attr_reader :address
|
|
1986
|
-
# Phone number
|
|
1987
|
-
attr_reader :phone
|
|
1988
|
-
|
|
1989
|
-
def self.inner_class_types
|
|
1990
|
-
@inner_class_types = { address: Address }
|
|
1991
|
-
end
|
|
1992
|
-
|
|
1993
|
-
def self.field_remappings
|
|
1994
|
-
@field_remappings = {}
|
|
1995
|
-
end
|
|
1996
|
-
end
|
|
1997
1578
|
# Controls when the funds will be captured from the customer's account.
|
|
1998
1579
|
attr_reader :capture_method
|
|
1999
1580
|
# Installment details for this payment.
|
|
2000
1581
|
#
|
|
2001
|
-
# For more information, see the [installments integration guide](https://stripe.com/
|
|
1582
|
+
# For more information, see the [installments integration guide](https://docs.stripe.com/payments/installments).
|
|
2002
1583
|
attr_reader :installments
|
|
2003
1584
|
# Configuration options for setting up an eMandate for cards issued in India.
|
|
2004
1585
|
attr_reader :mandate_options
|
|
2005
1586
|
# Selected network to process this payment intent on. Depends on the available networks of the card attached to the payment intent. Can be only set confirm-time.
|
|
2006
1587
|
attr_reader :network
|
|
2007
|
-
# Request ability to [
|
|
2008
|
-
attr_reader :request_decremental_authorization
|
|
2009
|
-
# Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
|
|
1588
|
+
# Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.
|
|
2010
1589
|
attr_reader :request_extended_authorization
|
|
2011
|
-
# Request ability to [increment the authorization](https://stripe.com/
|
|
1590
|
+
# Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.
|
|
2012
1591
|
attr_reader :request_incremental_authorization
|
|
2013
|
-
# Request ability to make [multiple captures](https://stripe.com/
|
|
1592
|
+
# Request ability to make [multiple captures](https://docs.stripe.com/payments/multicapture) for this PaymentIntent.
|
|
2014
1593
|
attr_reader :request_multicapture
|
|
2015
|
-
# Request ability to [overcapture](https://stripe.com/
|
|
1594
|
+
# Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.
|
|
2016
1595
|
attr_reader :request_overcapture
|
|
2017
|
-
#
|
|
2018
|
-
attr_reader :request_partial_authorization
|
|
2019
|
-
# We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
|
1596
|
+
# We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
|
2020
1597
|
attr_reader :request_three_d_secure
|
|
2021
1598
|
# When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).
|
|
2022
1599
|
attr_reader :require_cvc_recollection
|
|
@@ -2032,15 +1609,9 @@ module Stripe
|
|
|
2032
1609
|
attr_reader :statement_descriptor_suffix_kana
|
|
2033
1610
|
# Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters.
|
|
2034
1611
|
attr_reader :statement_descriptor_suffix_kanji
|
|
2035
|
-
# Attribute for field statement_details
|
|
2036
|
-
attr_reader :statement_details
|
|
2037
1612
|
|
|
2038
1613
|
def self.inner_class_types
|
|
2039
|
-
@inner_class_types = {
|
|
2040
|
-
installments: Installments,
|
|
2041
|
-
mandate_options: MandateOptions,
|
|
2042
|
-
statement_details: StatementDetails,
|
|
2043
|
-
}
|
|
1614
|
+
@inner_class_types = { installments: Installments, mandate_options: MandateOptions }
|
|
2044
1615
|
end
|
|
2045
1616
|
|
|
2046
1617
|
def self.field_remappings
|
|
@@ -2063,9 +1634,9 @@ module Stripe
|
|
|
2063
1634
|
end
|
|
2064
1635
|
# Controls when the funds will be captured from the customer's account.
|
|
2065
1636
|
attr_reader :capture_method
|
|
2066
|
-
# Request ability to capture this payment beyond the standard [authorization validity window](https://stripe.com/
|
|
1637
|
+
# Request ability to capture this payment beyond the standard [authorization validity window](https://docs.stripe.com/terminal/features/extended-authorizations#authorization-validity)
|
|
2067
1638
|
attr_reader :request_extended_authorization
|
|
2068
|
-
# Request ability to [increment](https://stripe.com/
|
|
1639
|
+
# Request ability to [increment](https://docs.stripe.com/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://docs.stripe.com/api/payment_intents/confirm) response to verify support.
|
|
2069
1640
|
attr_reader :request_incremental_authorization_support
|
|
2070
1641
|
# Attribute for field routing
|
|
2071
1642
|
attr_reader :routing
|
|
@@ -2229,25 +1800,6 @@ module Stripe
|
|
|
2229
1800
|
end
|
|
2230
1801
|
end
|
|
2231
1802
|
|
|
2232
|
-
class Gopay < ::Stripe::StripeObject
|
|
2233
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2234
|
-
#
|
|
2235
|
-
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
2236
|
-
#
|
|
2237
|
-
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
2238
|
-
#
|
|
2239
|
-
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
2240
|
-
attr_reader :setup_future_usage
|
|
2241
|
-
|
|
2242
|
-
def self.inner_class_types
|
|
2243
|
-
@inner_class_types = {}
|
|
2244
|
-
end
|
|
2245
|
-
|
|
2246
|
-
def self.field_remappings
|
|
2247
|
-
@field_remappings = {}
|
|
2248
|
-
end
|
|
2249
|
-
end
|
|
2250
|
-
|
|
2251
1803
|
class Grabpay < ::Stripe::StripeObject
|
|
2252
1804
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2253
1805
|
#
|
|
@@ -2267,29 +1819,6 @@ module Stripe
|
|
|
2267
1819
|
end
|
|
2268
1820
|
end
|
|
2269
1821
|
|
|
2270
|
-
class IdBankTransfer < ::Stripe::StripeObject
|
|
2271
|
-
# The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now till 2678400 seconds (31 days) from now.
|
|
2272
|
-
attr_reader :expires_after
|
|
2273
|
-
# The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now.
|
|
2274
|
-
attr_reader :expires_at
|
|
2275
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2276
|
-
#
|
|
2277
|
-
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
2278
|
-
#
|
|
2279
|
-
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
2280
|
-
#
|
|
2281
|
-
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
2282
|
-
attr_reader :setup_future_usage
|
|
2283
|
-
|
|
2284
|
-
def self.inner_class_types
|
|
2285
|
-
@inner_class_types = {}
|
|
2286
|
-
end
|
|
2287
|
-
|
|
2288
|
-
def self.field_remappings
|
|
2289
|
-
@field_remappings = {}
|
|
2290
|
-
end
|
|
2291
|
-
end
|
|
2292
|
-
|
|
2293
1822
|
class Ideal < ::Stripe::StripeObject
|
|
2294
1823
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2295
1824
|
#
|
|
@@ -2618,56 +2147,12 @@ module Stripe
|
|
|
2618
2147
|
end
|
|
2619
2148
|
|
|
2620
2149
|
class Paypal < ::Stripe::StripeObject
|
|
2621
|
-
class LineItem < ::Stripe::StripeObject
|
|
2622
|
-
class Tax < ::Stripe::StripeObject
|
|
2623
|
-
# The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
|
2624
|
-
attr_reader :amount
|
|
2625
|
-
# The tax behavior for the line item.
|
|
2626
|
-
attr_reader :behavior
|
|
2627
|
-
|
|
2628
|
-
def self.inner_class_types
|
|
2629
|
-
@inner_class_types = {}
|
|
2630
|
-
end
|
|
2631
|
-
|
|
2632
|
-
def self.field_remappings
|
|
2633
|
-
@field_remappings = {}
|
|
2634
|
-
end
|
|
2635
|
-
end
|
|
2636
|
-
# Type of the line item.
|
|
2637
|
-
attr_reader :category
|
|
2638
|
-
# Description of the line item.
|
|
2639
|
-
attr_reader :description
|
|
2640
|
-
# Descriptive name of the line item.
|
|
2641
|
-
attr_reader :name
|
|
2642
|
-
# Quantity of the line item. Cannot be a negative number.
|
|
2643
|
-
attr_reader :quantity
|
|
2644
|
-
# Client facing stock keeping unit, article number or similar.
|
|
2645
|
-
attr_reader :sku
|
|
2646
|
-
# The Stripe account ID of the connected account that sells the item. This is only needed when using [Separate Charges and Transfers](https://docs.stripe.com/connect/separate-charges-and-transfers).
|
|
2647
|
-
attr_reader :sold_by
|
|
2648
|
-
# Attribute for field tax
|
|
2649
|
-
attr_reader :tax
|
|
2650
|
-
# Price for a single unit of the line item in minor units. Cannot be a negative number.
|
|
2651
|
-
attr_reader :unit_amount
|
|
2652
|
-
|
|
2653
|
-
def self.inner_class_types
|
|
2654
|
-
@inner_class_types = { tax: Tax }
|
|
2655
|
-
end
|
|
2656
|
-
|
|
2657
|
-
def self.field_remappings
|
|
2658
|
-
@field_remappings = {}
|
|
2659
|
-
end
|
|
2660
|
-
end
|
|
2661
2150
|
# Controls when the funds will be captured from the customer's account.
|
|
2662
2151
|
attr_reader :capture_method
|
|
2663
|
-
# The line items purchased by the customer.
|
|
2664
|
-
attr_reader :line_items
|
|
2665
2152
|
# Preferred locale of the PayPal checkout page that the customer is redirected to.
|
|
2666
2153
|
attr_reader :preferred_locale
|
|
2667
2154
|
# A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
|
|
2668
2155
|
attr_reader :reference
|
|
2669
|
-
# A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
|
|
2670
|
-
attr_reader :reference_id
|
|
2671
2156
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2672
2157
|
#
|
|
2673
2158
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
@@ -2676,19 +2161,7 @@ module Stripe
|
|
|
2676
2161
|
#
|
|
2677
2162
|
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
2678
2163
|
attr_reader :setup_future_usage
|
|
2679
|
-
# The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
|
2680
|
-
attr_reader :subsellers
|
|
2681
2164
|
|
|
2682
|
-
def self.inner_class_types
|
|
2683
|
-
@inner_class_types = { line_items: LineItem }
|
|
2684
|
-
end
|
|
2685
|
-
|
|
2686
|
-
def self.field_remappings
|
|
2687
|
-
@field_remappings = {}
|
|
2688
|
-
end
|
|
2689
|
-
end
|
|
2690
|
-
|
|
2691
|
-
class Paypay < ::Stripe::StripeObject
|
|
2692
2165
|
def self.inner_class_types
|
|
2693
2166
|
@inner_class_types = {}
|
|
2694
2167
|
end
|
|
@@ -2742,59 +2215,12 @@ module Stripe
|
|
|
2742
2215
|
end
|
|
2743
2216
|
|
|
2744
2217
|
class Pix < ::Stripe::StripeObject
|
|
2745
|
-
class MandateOptions < ::Stripe::StripeObject
|
|
2746
|
-
# Amount to be charged for future payments.
|
|
2747
|
-
attr_reader :amount
|
|
2748
|
-
# Determines if the amount includes the IOF tax.
|
|
2749
|
-
attr_reader :amount_includes_iof
|
|
2750
|
-
# Type of amount.
|
|
2751
|
-
attr_reader :amount_type
|
|
2752
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase.
|
|
2753
|
-
attr_reader :currency
|
|
2754
|
-
# Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`.
|
|
2755
|
-
attr_reader :end_date
|
|
2756
|
-
# Schedule at which the future payments will be charged.
|
|
2757
|
-
attr_reader :payment_schedule
|
|
2758
|
-
# Subscription name displayed to buyers in their bank app.
|
|
2759
|
-
attr_reader :reference
|
|
2760
|
-
# Start date of the mandate, in `YYYY-MM-DD`.
|
|
2761
|
-
attr_reader :start_date
|
|
2762
|
-
|
|
2763
|
-
def self.inner_class_types
|
|
2764
|
-
@inner_class_types = {}
|
|
2765
|
-
end
|
|
2766
|
-
|
|
2767
|
-
def self.field_remappings
|
|
2768
|
-
@field_remappings = {}
|
|
2769
|
-
end
|
|
2770
|
-
end
|
|
2771
2218
|
# Determines if the amount includes the IOF tax.
|
|
2772
2219
|
attr_reader :amount_includes_iof
|
|
2773
2220
|
# The number of seconds (between 10 and 1209600) after which Pix payment will expire.
|
|
2774
2221
|
attr_reader :expires_after_seconds
|
|
2775
2222
|
# The timestamp at which the Pix expires.
|
|
2776
2223
|
attr_reader :expires_at
|
|
2777
|
-
# Attribute for field mandate_options
|
|
2778
|
-
attr_reader :mandate_options
|
|
2779
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2780
|
-
#
|
|
2781
|
-
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
2782
|
-
#
|
|
2783
|
-
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
2784
|
-
#
|
|
2785
|
-
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
2786
|
-
attr_reader :setup_future_usage
|
|
2787
|
-
|
|
2788
|
-
def self.inner_class_types
|
|
2789
|
-
@inner_class_types = { mandate_options: MandateOptions }
|
|
2790
|
-
end
|
|
2791
|
-
|
|
2792
|
-
def self.field_remappings
|
|
2793
|
-
@field_remappings = {}
|
|
2794
|
-
end
|
|
2795
|
-
end
|
|
2796
|
-
|
|
2797
|
-
class Promptpay < ::Stripe::StripeObject
|
|
2798
2224
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2799
2225
|
#
|
|
2800
2226
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
@@ -2813,7 +2239,7 @@ module Stripe
|
|
|
2813
2239
|
end
|
|
2814
2240
|
end
|
|
2815
2241
|
|
|
2816
|
-
class
|
|
2242
|
+
class Promptpay < ::Stripe::StripeObject
|
|
2817
2243
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2818
2244
|
#
|
|
2819
2245
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
@@ -2832,16 +2258,6 @@ module Stripe
|
|
|
2832
2258
|
end
|
|
2833
2259
|
end
|
|
2834
2260
|
|
|
2835
|
-
class Rechnung < ::Stripe::StripeObject
|
|
2836
|
-
def self.inner_class_types
|
|
2837
|
-
@inner_class_types = {}
|
|
2838
|
-
end
|
|
2839
|
-
|
|
2840
|
-
def self.field_remappings
|
|
2841
|
-
@field_remappings = {}
|
|
2842
|
-
end
|
|
2843
|
-
end
|
|
2844
|
-
|
|
2845
2261
|
class RevolutPay < ::Stripe::StripeObject
|
|
2846
2262
|
# Controls when the funds will be captured from the customer's account.
|
|
2847
2263
|
attr_reader :capture_method
|
|
@@ -2924,25 +2340,6 @@ module Stripe
|
|
|
2924
2340
|
end
|
|
2925
2341
|
end
|
|
2926
2342
|
|
|
2927
|
-
class Shopeepay < ::Stripe::StripeObject
|
|
2928
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2929
|
-
#
|
|
2930
|
-
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
2931
|
-
#
|
|
2932
|
-
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
2933
|
-
#
|
|
2934
|
-
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
2935
|
-
attr_reader :setup_future_usage
|
|
2936
|
-
|
|
2937
|
-
def self.inner_class_types
|
|
2938
|
-
@inner_class_types = {}
|
|
2939
|
-
end
|
|
2940
|
-
|
|
2941
|
-
def self.field_remappings
|
|
2942
|
-
@field_remappings = {}
|
|
2943
|
-
end
|
|
2944
|
-
end
|
|
2945
|
-
|
|
2946
2343
|
class Sofort < ::Stripe::StripeObject
|
|
2947
2344
|
# Preferred language of the SOFORT authorization page that the customer is redirected to.
|
|
2948
2345
|
attr_reader :preferred_language
|
|
@@ -2964,25 +2361,6 @@ module Stripe
|
|
|
2964
2361
|
end
|
|
2965
2362
|
end
|
|
2966
2363
|
|
|
2967
|
-
class StripeBalance < ::Stripe::StripeObject
|
|
2968
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2969
|
-
#
|
|
2970
|
-
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
2971
|
-
#
|
|
2972
|
-
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
2973
|
-
#
|
|
2974
|
-
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
2975
|
-
attr_reader :setup_future_usage
|
|
2976
|
-
|
|
2977
|
-
def self.inner_class_types
|
|
2978
|
-
@inner_class_types = {}
|
|
2979
|
-
end
|
|
2980
|
-
|
|
2981
|
-
def self.field_remappings
|
|
2982
|
-
@field_remappings = {}
|
|
2983
|
-
end
|
|
2984
|
-
end
|
|
2985
|
-
|
|
2986
2364
|
class Swish < ::Stripe::StripeObject
|
|
2987
2365
|
# A reference for this payment to be displayed in the Swish app.
|
|
2988
2366
|
attr_reader :reference
|
|
@@ -3028,21 +2406,6 @@ module Stripe
|
|
|
3028
2406
|
class Filters < ::Stripe::StripeObject
|
|
3029
2407
|
# The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
3030
2408
|
attr_reader :account_subcategories
|
|
3031
|
-
# The institution to use to filter for possible accounts to link.
|
|
3032
|
-
attr_reader :institution
|
|
3033
|
-
|
|
3034
|
-
def self.inner_class_types
|
|
3035
|
-
@inner_class_types = {}
|
|
3036
|
-
end
|
|
3037
|
-
|
|
3038
|
-
def self.field_remappings
|
|
3039
|
-
@field_remappings = {}
|
|
3040
|
-
end
|
|
3041
|
-
end
|
|
3042
|
-
|
|
3043
|
-
class ManualEntry < ::Stripe::StripeObject
|
|
3044
|
-
# Settings for configuring manual entry of account details.
|
|
3045
|
-
attr_reader :mode
|
|
3046
2409
|
|
|
3047
2410
|
def self.inner_class_types
|
|
3048
2411
|
@inner_class_types = {}
|
|
@@ -3054,8 +2417,6 @@ module Stripe
|
|
|
3054
2417
|
end
|
|
3055
2418
|
# Attribute for field filters
|
|
3056
2419
|
attr_reader :filters
|
|
3057
|
-
# Attribute for field manual_entry
|
|
3058
|
-
attr_reader :manual_entry
|
|
3059
2420
|
# The list of permissions to request. The `payment_method` permission must be included.
|
|
3060
2421
|
attr_reader :permissions
|
|
3061
2422
|
# Data features requested to be retrieved upon account creation.
|
|
@@ -3064,7 +2425,7 @@ module Stripe
|
|
|
3064
2425
|
attr_reader :return_url
|
|
3065
2426
|
|
|
3066
2427
|
def self.inner_class_types
|
|
3067
|
-
@inner_class_types = { filters: Filters
|
|
2428
|
+
@inner_class_types = { filters: Filters }
|
|
3068
2429
|
end
|
|
3069
2430
|
|
|
3070
2431
|
def self.field_remappings
|
|
@@ -3196,12 +2557,8 @@ module Stripe
|
|
|
3196
2557
|
attr_reader :fpx
|
|
3197
2558
|
# Attribute for field giropay
|
|
3198
2559
|
attr_reader :giropay
|
|
3199
|
-
# Attribute for field gopay
|
|
3200
|
-
attr_reader :gopay
|
|
3201
2560
|
# Attribute for field grabpay
|
|
3202
2561
|
attr_reader :grabpay
|
|
3203
|
-
# Attribute for field id_bank_transfer
|
|
3204
|
-
attr_reader :id_bank_transfer
|
|
3205
2562
|
# Attribute for field ideal
|
|
3206
2563
|
attr_reader :ideal
|
|
3207
2564
|
# Attribute for field interac_present
|
|
@@ -3238,18 +2595,12 @@ module Stripe
|
|
|
3238
2595
|
attr_reader :paynow
|
|
3239
2596
|
# Attribute for field paypal
|
|
3240
2597
|
attr_reader :paypal
|
|
3241
|
-
# Attribute for field paypay
|
|
3242
|
-
attr_reader :paypay
|
|
3243
2598
|
# Attribute for field payto
|
|
3244
2599
|
attr_reader :payto
|
|
3245
2600
|
# Attribute for field pix
|
|
3246
2601
|
attr_reader :pix
|
|
3247
2602
|
# Attribute for field promptpay
|
|
3248
2603
|
attr_reader :promptpay
|
|
3249
|
-
# Attribute for field qris
|
|
3250
|
-
attr_reader :qris
|
|
3251
|
-
# Attribute for field rechnung
|
|
3252
|
-
attr_reader :rechnung
|
|
3253
2604
|
# Attribute for field revolut_pay
|
|
3254
2605
|
attr_reader :revolut_pay
|
|
3255
2606
|
# Attribute for field samsung_pay
|
|
@@ -3258,12 +2609,8 @@ module Stripe
|
|
|
3258
2609
|
attr_reader :satispay
|
|
3259
2610
|
# Attribute for field sepa_debit
|
|
3260
2611
|
attr_reader :sepa_debit
|
|
3261
|
-
# Attribute for field shopeepay
|
|
3262
|
-
attr_reader :shopeepay
|
|
3263
2612
|
# Attribute for field sofort
|
|
3264
2613
|
attr_reader :sofort
|
|
3265
|
-
# Attribute for field stripe_balance
|
|
3266
|
-
attr_reader :stripe_balance
|
|
3267
2614
|
# Attribute for field swish
|
|
3268
2615
|
attr_reader :swish
|
|
3269
2616
|
# Attribute for field twint
|
|
@@ -3297,9 +2644,7 @@ module Stripe
|
|
|
3297
2644
|
eps: Eps,
|
|
3298
2645
|
fpx: Fpx,
|
|
3299
2646
|
giropay: Giropay,
|
|
3300
|
-
gopay: Gopay,
|
|
3301
2647
|
grabpay: Grabpay,
|
|
3302
|
-
id_bank_transfer: IdBankTransfer,
|
|
3303
2648
|
ideal: Ideal,
|
|
3304
2649
|
interac_present: InteracPresent,
|
|
3305
2650
|
kakao_pay: KakaoPay,
|
|
@@ -3318,19 +2663,14 @@ module Stripe
|
|
|
3318
2663
|
payco: Payco,
|
|
3319
2664
|
paynow: Paynow,
|
|
3320
2665
|
paypal: Paypal,
|
|
3321
|
-
paypay: Paypay,
|
|
3322
2666
|
payto: Payto,
|
|
3323
2667
|
pix: Pix,
|
|
3324
2668
|
promptpay: Promptpay,
|
|
3325
|
-
qris: Qris,
|
|
3326
|
-
rechnung: Rechnung,
|
|
3327
2669
|
revolut_pay: RevolutPay,
|
|
3328
2670
|
samsung_pay: SamsungPay,
|
|
3329
2671
|
satispay: Satispay,
|
|
3330
2672
|
sepa_debit: SepaDebit,
|
|
3331
|
-
shopeepay: Shopeepay,
|
|
3332
2673
|
sofort: Sofort,
|
|
3333
|
-
stripe_balance: StripeBalance,
|
|
3334
2674
|
swish: Swish,
|
|
3335
2675
|
twint: Twint,
|
|
3336
2676
|
us_bank_account: UsBankAccount,
|
|
@@ -3412,7 +2752,7 @@ module Stripe
|
|
|
3412
2752
|
attr_reader :line2
|
|
3413
2753
|
# ZIP or postal code.
|
|
3414
2754
|
attr_reader :postal_code
|
|
3415
|
-
# State, county, province, or region.
|
|
2755
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
3416
2756
|
attr_reader :state
|
|
3417
2757
|
|
|
3418
2758
|
def self.inner_class_types
|
|
@@ -3445,7 +2785,7 @@ module Stripe
|
|
|
3445
2785
|
|
|
3446
2786
|
class TransferData < ::Stripe::StripeObject
|
|
3447
2787
|
# The amount transferred to the destination account. This transfer will occur automatically after the payment succeeds. If no amount is specified, by default the entire payment amount is transferred to the destination account.
|
|
3448
|
-
# The amount must be less than or equal to the [amount](https://stripe.com/
|
|
2788
|
+
# The amount must be less than or equal to the [amount](https://docs.stripe.com/api/payment_intents/object#payment_intent_object-amount), and must be a positive integer
|
|
3449
2789
|
# representing how much to transfer in the smallest currency unit (e.g., 100 cents to charge $1.00).
|
|
3450
2790
|
attr_reader :amount
|
|
3451
2791
|
# The account (if any) that the payment is attributed to for tax reporting, and where funds from the payment are transferred to after payment success.
|
|
@@ -3459,22 +2799,7 @@ module Stripe
|
|
|
3459
2799
|
@field_remappings = {}
|
|
3460
2800
|
end
|
|
3461
2801
|
end
|
|
3462
|
-
|
|
3463
|
-
class PaymentsOrchestration < ::Stripe::StripeObject
|
|
3464
|
-
# Whether this feature is enabled.
|
|
3465
|
-
attr_reader :enabled
|
|
3466
|
-
|
|
3467
|
-
def self.inner_class_types
|
|
3468
|
-
@inner_class_types = {}
|
|
3469
|
-
end
|
|
3470
|
-
|
|
3471
|
-
def self.field_remappings
|
|
3472
|
-
@field_remappings = {}
|
|
3473
|
-
end
|
|
3474
|
-
end
|
|
3475
|
-
# Allocated Funds configuration for this PaymentIntent.
|
|
3476
|
-
attr_reader :allocated_funds
|
|
3477
|
-
# Amount intended to be collected by this PaymentIntent. 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).
|
|
2802
|
+
# Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/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://docs.stripe.com/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).
|
|
3478
2803
|
attr_reader :amount
|
|
3479
2804
|
# Amount that can be captured from this PaymentIntent.
|
|
3480
2805
|
attr_reader :amount_capturable
|
|
@@ -3484,7 +2809,7 @@ module Stripe
|
|
|
3484
2809
|
attr_reader :amount_received
|
|
3485
2810
|
# ID of the Connect application that created the PaymentIntent.
|
|
3486
2811
|
attr_reader :application
|
|
3487
|
-
# The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/
|
|
2812
|
+
# The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
|
|
3488
2813
|
attr_reader :application_fee_amount
|
|
3489
2814
|
# Settings to configure compatible payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods)
|
|
3490
2815
|
attr_reader :automatic_payment_methods
|
|
@@ -3498,7 +2823,7 @@ module Stripe
|
|
|
3498
2823
|
#
|
|
3499
2824
|
# The client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.
|
|
3500
2825
|
#
|
|
3501
|
-
# Refer to our docs to [accept a payment](https://stripe.com/
|
|
2826
|
+
# Refer to our docs to [accept a payment](https://docs.stripe.com/payments/accept-a-payment?ui=elements) and learn about how `client_secret` should be handled.
|
|
3502
2827
|
attr_reader :client_secret
|
|
3503
2828
|
# Describes whether we can confirm this PaymentIntent automatically, or if it requires customer action to confirm the payment.
|
|
3504
2829
|
attr_reader :confirmation_method
|
|
@@ -3510,43 +2835,42 @@ module Stripe
|
|
|
3510
2835
|
#
|
|
3511
2836
|
# Payment methods attached to other Customers cannot be used with this PaymentIntent.
|
|
3512
2837
|
#
|
|
3513
|
-
# If [setup_future_usage](https://stripe.com
|
|
2838
|
+
# If [setup_future_usage](https://api.stripe.com#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.
|
|
3514
2839
|
attr_reader :customer
|
|
3515
|
-
# ID of the Account this PaymentIntent belongs to, if one exists.
|
|
2840
|
+
# ID of the Account representing the customer that this PaymentIntent belongs to, if one exists.
|
|
3516
2841
|
#
|
|
3517
2842
|
# Payment methods attached to other Accounts cannot be used with this PaymentIntent.
|
|
3518
2843
|
#
|
|
3519
|
-
# If [setup_future_usage](https://stripe.com
|
|
2844
|
+
# If [setup_future_usage](https://api.stripe.com#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Account after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Account instead.
|
|
3520
2845
|
attr_reader :customer_account
|
|
3521
2846
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
|
3522
2847
|
attr_reader :description
|
|
3523
2848
|
# The list of payment method types to exclude from use with this payment.
|
|
3524
2849
|
attr_reader :excluded_payment_method_types
|
|
3525
|
-
# The FX Quote used for the PaymentIntent.
|
|
3526
|
-
attr_reader :fx_quote
|
|
3527
2850
|
# Attribute for field hooks
|
|
3528
2851
|
attr_reader :hooks
|
|
3529
2852
|
# Unique identifier for the object.
|
|
3530
2853
|
attr_reader :id
|
|
3531
2854
|
# The payment error encountered in the previous PaymentIntent confirmation. It will be cleared if the PaymentIntent is later updated for any reason.
|
|
3532
2855
|
attr_reader :last_payment_error
|
|
3533
|
-
# ID of the latest [Charge object](https://stripe.com/
|
|
2856
|
+
# ID of the latest [Charge object](https://docs.stripe.com/api/charges) created by this PaymentIntent. This property is `null` until PaymentIntent confirmation is attempted.
|
|
3534
2857
|
attr_reader :latest_charge
|
|
3535
2858
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
3536
2859
|
attr_reader :livemode
|
|
3537
|
-
# Set of [key-value pairs](https://stripe.com/
|
|
2860
|
+
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Learn more about [storing information in metadata](https://docs.stripe.com/payments/payment-intents/creating-payment-intents#storing-information-in-metadata).
|
|
3538
2861
|
attr_reader :metadata
|
|
3539
2862
|
# If present, this property tells you what actions you need to take in order for your customer to fulfill a payment using the provided source.
|
|
3540
2863
|
attr_reader :next_action
|
|
3541
2864
|
# String representing the object's type. Objects of the same type share the same value.
|
|
3542
2865
|
attr_reader :object
|
|
3543
|
-
#
|
|
2866
|
+
# You can specify the settlement merchant as the
|
|
2867
|
+
# connected account using the `on_behalf_of` attribute on the charge. See the PaymentIntents [use case for connected accounts](/payments/connected-accounts) for details.
|
|
3544
2868
|
attr_reader :on_behalf_of
|
|
3545
2869
|
# Attribute for field payment_details
|
|
3546
2870
|
attr_reader :payment_details
|
|
3547
2871
|
# ID of the payment method used in this PaymentIntent.
|
|
3548
2872
|
attr_reader :payment_method
|
|
3549
|
-
# Information about the [payment method configuration](https://stripe.com/
|
|
2873
|
+
# Information about the [payment method configuration](https://docs.stripe.com/api/payment_method_configurations) used for this PaymentIntent.
|
|
3550
2874
|
attr_reader :payment_method_configuration_details
|
|
3551
2875
|
# Payment-method-specific configuration for this PaymentIntent.
|
|
3552
2876
|
attr_reader :payment_method_options
|
|
@@ -3560,8 +2884,6 @@ module Stripe
|
|
|
3560
2884
|
attr_reader :receipt_email
|
|
3561
2885
|
# ID of the review associated with this PaymentIntent, if any.
|
|
3562
2886
|
attr_reader :review
|
|
3563
|
-
# Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`.
|
|
3564
|
-
attr_reader :secret_key_confirmation
|
|
3565
2887
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3566
2888
|
#
|
|
3567
2889
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
@@ -3580,14 +2902,12 @@ module Stripe
|
|
|
3580
2902
|
attr_reader :statement_descriptor
|
|
3581
2903
|
# 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.
|
|
3582
2904
|
attr_reader :statement_descriptor_suffix
|
|
3583
|
-
# Status of this PaymentIntent, one of `requires_payment_method`, `requires_confirmation`, `requires_action`, `processing`, `requires_capture`, `canceled`, or `succeeded`. Read more about each PaymentIntent [status](https://stripe.com/
|
|
2905
|
+
# Status of this PaymentIntent, one of `requires_payment_method`, `requires_confirmation`, `requires_action`, `processing`, `requires_capture`, `canceled`, or `succeeded`. Read more about each PaymentIntent [status](https://docs.stripe.com/payments/intents#intent-statuses).
|
|
3584
2906
|
attr_reader :status
|
|
3585
|
-
# The data that automatically creates a Transfer after the payment finalizes. Learn more about the [use case for connected accounts](https://stripe.com/
|
|
2907
|
+
# The data that automatically creates a Transfer after the payment finalizes. Learn more about the [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
|
|
3586
2908
|
attr_reader :transfer_data
|
|
3587
|
-
# A string that identifies the resulting payment as part of a group. Learn more about the [use case for connected accounts](https://stripe.com/
|
|
2909
|
+
# A string that identifies the resulting payment as part of a group. Learn more about the [use case for connected accounts](https://docs.stripe.com/connect/separate-charges-and-transfers).
|
|
3588
2910
|
attr_reader :transfer_group
|
|
3589
|
-
# When you enable this parameter, this PaymentIntent will route your payment to processors that you configure in the dashboard.
|
|
3590
|
-
attr_reader :payments_orchestration
|
|
3591
2911
|
|
|
3592
2912
|
# Manually reconcile the remaining amount for a customer_balance PaymentIntent.
|
|
3593
2913
|
def apply_customer_balance(params = {}, opts = {})
|
|
@@ -3757,56 +3077,6 @@ module Stripe
|
|
|
3757
3077
|
request_stripe_object(method: :post, path: "/v1/payment_intents", params: params, opts: opts)
|
|
3758
3078
|
end
|
|
3759
3079
|
|
|
3760
|
-
# Perform a decremental authorization on an eligible
|
|
3761
|
-
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
3762
|
-
# PaymentIntent's status must be requires_capture and
|
|
3763
|
-
# [decremental_authorization.status](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-decremental_authorization)
|
|
3764
|
-
# must be available.
|
|
3765
|
-
#
|
|
3766
|
-
# Decremental authorizations decrease the authorized amount on your customer's card
|
|
3767
|
-
# to the new, lower amount provided. A single PaymentIntent can call this endpoint multiple times to further decrease the authorized amount.
|
|
3768
|
-
#
|
|
3769
|
-
# After decrement, the PaymentIntent object
|
|
3770
|
-
# returns with the updated
|
|
3771
|
-
# [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
|
|
3772
|
-
# The PaymentIntent will now be capturable up to the new authorized amount.
|
|
3773
|
-
#
|
|
3774
|
-
# Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines.
|
|
3775
|
-
# After it's fully captured, a PaymentIntent can no longer be decremented.
|
|
3776
|
-
def decrement_authorization(params = {}, opts = {})
|
|
3777
|
-
request_stripe_object(
|
|
3778
|
-
method: :post,
|
|
3779
|
-
path: format("/v1/payment_intents/%<intent>s/decrement_authorization", { intent: CGI.escape(self["id"]) }),
|
|
3780
|
-
params: params,
|
|
3781
|
-
opts: opts
|
|
3782
|
-
)
|
|
3783
|
-
end
|
|
3784
|
-
|
|
3785
|
-
# Perform a decremental authorization on an eligible
|
|
3786
|
-
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
3787
|
-
# PaymentIntent's status must be requires_capture and
|
|
3788
|
-
# [decremental_authorization.status](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-decremental_authorization)
|
|
3789
|
-
# must be available.
|
|
3790
|
-
#
|
|
3791
|
-
# Decremental authorizations decrease the authorized amount on your customer's card
|
|
3792
|
-
# to the new, lower amount provided. A single PaymentIntent can call this endpoint multiple times to further decrease the authorized amount.
|
|
3793
|
-
#
|
|
3794
|
-
# After decrement, the PaymentIntent object
|
|
3795
|
-
# returns with the updated
|
|
3796
|
-
# [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
|
|
3797
|
-
# The PaymentIntent will now be capturable up to the new authorized amount.
|
|
3798
|
-
#
|
|
3799
|
-
# Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines.
|
|
3800
|
-
# After it's fully captured, a PaymentIntent can no longer be decremented.
|
|
3801
|
-
def self.decrement_authorization(intent, params = {}, opts = {})
|
|
3802
|
-
request_stripe_object(
|
|
3803
|
-
method: :post,
|
|
3804
|
-
path: format("/v1/payment_intents/%<intent>s/decrement_authorization", { intent: CGI.escape(intent) }),
|
|
3805
|
-
params: params,
|
|
3806
|
-
opts: opts
|
|
3807
|
-
)
|
|
3808
|
-
end
|
|
3809
|
-
|
|
3810
3080
|
# Perform an incremental authorization on an eligible
|
|
3811
3081
|
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
3812
3082
|
# PaymentIntent's status must be requires_capture and
|
|
@@ -3891,26 +3161,6 @@ module Stripe
|
|
|
3891
3161
|
search(params, opts).auto_paging_each(&blk)
|
|
3892
3162
|
end
|
|
3893
3163
|
|
|
3894
|
-
# Trigger an external action on a PaymentIntent.
|
|
3895
|
-
def trigger_action(params = {}, opts = {})
|
|
3896
|
-
request_stripe_object(
|
|
3897
|
-
method: :post,
|
|
3898
|
-
path: format("/v1/test/payment_intents/%<intent>s/trigger_action", { intent: CGI.escape(self["id"]) }),
|
|
3899
|
-
params: params,
|
|
3900
|
-
opts: opts
|
|
3901
|
-
)
|
|
3902
|
-
end
|
|
3903
|
-
|
|
3904
|
-
# Trigger an external action on a PaymentIntent.
|
|
3905
|
-
def self.trigger_action(intent, params = {}, opts = {})
|
|
3906
|
-
request_stripe_object(
|
|
3907
|
-
method: :post,
|
|
3908
|
-
path: format("/v1/test/payment_intents/%<intent>s/trigger_action", { intent: CGI.escape(intent) }),
|
|
3909
|
-
params: params,
|
|
3910
|
-
opts: opts
|
|
3911
|
-
)
|
|
3912
|
-
end
|
|
3913
|
-
|
|
3914
3164
|
# Updates properties on a PaymentIntent object without confirming.
|
|
3915
3165
|
#
|
|
3916
3166
|
# Depending on which properties you update, you might need to confirm the
|
|
@@ -3949,7 +3199,6 @@ module Stripe
|
|
|
3949
3199
|
|
|
3950
3200
|
def self.inner_class_types
|
|
3951
3201
|
@inner_class_types = {
|
|
3952
|
-
allocated_funds: AllocatedFunds,
|
|
3953
3202
|
amount_details: AmountDetails,
|
|
3954
3203
|
automatic_payment_methods: AutomaticPaymentMethods,
|
|
3955
3204
|
hooks: Hooks,
|
|
@@ -3962,7 +3211,6 @@ module Stripe
|
|
|
3962
3211
|
processing: Processing,
|
|
3963
3212
|
shipping: Shipping,
|
|
3964
3213
|
transfer_data: TransferData,
|
|
3965
|
-
payments_orchestration: PaymentsOrchestration,
|
|
3966
3214
|
}
|
|
3967
3215
|
end
|
|
3968
3216
|
|