stripe 20.1.0 → 20.2.0.pre.beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stripe/api_requestor.rb +4 -0
- data/lib/stripe/api_version.rb +2 -2
- data/lib/stripe/errors.rb +6 -0
- data/lib/stripe/event_types.rb +193 -0
- data/lib/stripe/events/unknown_event_notification.rb +1 -0
- data/lib/stripe/events/v2_core_account_including_configuration_money_manager_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_money_manager_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_approved_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_created_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_expired_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_failed_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_rejected_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_batch_failed_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_completed_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_created_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_ready_for_upload_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_timeout_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_upload_timeout_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_validating_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_validation_failed_event.rb +44 -0
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +78 -0
- data/lib/stripe/events/v2_data_query_run_created_event.rb +44 -0
- data/lib/stripe/events/v2_data_query_run_failed_event.rb +44 -0
- data/lib/stripe/events/v2_data_query_run_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_data_query_run_updated_event.rb +44 -0
- data/lib/stripe/events/v2_data_report_run_created_event.rb +44 -0
- data/lib/stripe/events/v2_data_report_run_failed_event.rb +44 -0
- data/lib/stripe/events/v2_data_report_run_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_data_report_run_updated_event.rb +44 -0
- data/lib/stripe/events/v2_data_reporting_query_run_created_event.rb +44 -0
- data/lib/stripe/events/v2_data_reporting_query_run_failed_event.rb +44 -0
- data/lib/stripe/events/v2_data_reporting_query_run_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_data_reporting_query_run_updated_event.rb +44 -0
- data/lib/stripe/events/v2_extend_workflow_run_failed_event.rb +75 -0
- data/lib/stripe/events/v2_extend_workflow_run_started_event.rb +44 -0
- data/lib/stripe/events/v2_extend_workflow_run_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_under_review_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +44 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_confirmed_event.rb +97 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_created_event.rb +97 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_partially_confirmed_event.rb +97 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_terminated_event.rb +97 -0
- data/lib/stripe/events/v2_signals_account_evaluation_complete_event.rb +44 -0
- data/lib/stripe/events/v2_signals_account_signal_fraudulent_merchant_ready_event.rb +44 -0
- data/lib/stripe/events/v2_signals_account_signal_fraudulent_website_ready_event.rb +44 -0
- data/lib/stripe/object_types.rb +53 -0
- data/lib/stripe/params/account_create_params.rb +299 -1
- data/lib/stripe/params/account_notice_list_params.rb +25 -0
- data/lib/stripe/params/account_notice_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_notice_update_params.rb +36 -0
- data/lib/stripe/params/account_session_create_params.rb +191 -0
- data/lib/stripe/params/account_update_params.rb +261 -0
- data/lib/stripe/params/balance_settings_update_params.rb +9 -1
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +65 -0
- data/lib/stripe/params/capital/financing_offer_list_params.rb +58 -0
- data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +15 -0
- data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +15 -0
- data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +15 -0
- data/lib/stripe/params/capital/financing_transaction_list_params.rb +45 -0
- data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +15 -0
- data/lib/stripe/params/charge_capture_params.rb +1646 -0
- data/lib/stripe/params/charge_update_params.rb +1646 -0
- data/lib/stripe/params/checkout/session_create_params.rb +87 -3
- data/lib/stripe/params/checkout/session_update_params.rb +161 -1
- data/lib/stripe/params/confirmation_token_create_params.rb +92 -0
- data/lib/stripe/params/coupon_create_params.rb +17 -1
- data/lib/stripe/params/customer_session_create_params.rb +32 -1
- data/lib/stripe/params/external_account_create_params.rb +134 -0
- data/lib/stripe/params/external_account_delete_params.rb +6 -0
- data/lib/stripe/params/external_account_list_params.rb +25 -0
- data/lib/stripe/params/external_account_retrieve_params.rb +13 -0
- data/lib/stripe/params/external_account_update_params.rb +91 -0
- data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +24 -0
- data/lib/stripe/params/financial_connections/authorization_retrieve_params.rb +15 -0
- data/lib/stripe/params/financial_connections/institution_list_params.rb +24 -0
- data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +15 -0
- data/lib/stripe/params/financial_connections/session_create_params.rb +38 -1
- data/lib/stripe/params/fx_quote_create_params.rb +73 -0
- data/lib/stripe/params/fx_quote_list_params.rb +22 -0
- data/lib/stripe/params/fx_quote_retrieve_params.rb +13 -0
- data/lib/stripe/params/invoice_add_lines_params.rb +33 -1
- data/lib/stripe/params/invoice_attach_payment_params.rb +43 -1
- data/lib/stripe/params/invoice_create_params.rb +64 -2
- data/lib/stripe/params/invoice_create_preview_params.rb +772 -9
- data/lib/stripe/params/invoice_detach_payment_params.rb +16 -0
- data/lib/stripe/params/invoice_item_create_params.rb +33 -1
- data/lib/stripe/params/invoice_item_update_params.rb +33 -1
- data/lib/stripe/params/invoice_line_item_update_params.rb +33 -1
- data/lib/stripe/params/invoice_update_lines_params.rb +33 -1
- data/lib/stripe/params/invoice_update_params.rb +64 -2
- data/lib/stripe/params/issuing/cardholder_create_params.rb +2 -1
- data/lib/stripe/params/issuing/cardholder_update_params.rb +4 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +163 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +50 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +128 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +24 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +86 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +33 -0
- data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +44 -0
- data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/transaction_list_params.rb +4 -0
- data/lib/stripe/params/mandate_list_params.rb +39 -0
- data/lib/stripe/params/margin_create_params.rb +25 -0
- data/lib/stripe/params/margin_list_params.rb +25 -0
- data/lib/stripe/params/margin_retrieve_params.rb +13 -0
- data/lib/stripe/params/margin_update_params.rb +22 -0
- data/lib/stripe/params/order_create_params.rb +2083 -0
- data/lib/stripe/params/order_list_params.rb +25 -0
- data/lib/stripe/params/order_retrieve_params.rb +13 -0
- data/lib/stripe/params/order_submit_params.rb +16 -0
- data/lib/stripe/params/order_update_params.rb +2087 -0
- data/lib/stripe/params/payment_intent_capture_params.rb +1643 -1
- data/lib/stripe/params/payment_intent_confirm_params.rb +3038 -85
- data/lib/stripe/params/payment_intent_create_params.rb +3050 -97
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +297 -0
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +37 -0
- data/lib/stripe/params/payment_intent_trigger_action_params.rb +27 -0
- data/lib/stripe/params/payment_intent_update_params.rb +3039 -55
- data/lib/stripe/params/payment_method_configuration_create_params.rb +105 -0
- data/lib/stripe/params/payment_method_configuration_update_params.rb +105 -0
- data/lib/stripe/params/payment_method_create_params.rb +88 -0
- data/lib/stripe/params/payment_plan_create_params.rb +128 -0
- data/lib/stripe/params/payment_plan_list_params.rb +25 -0
- data/lib/stripe/params/payment_plan_retrieve_params.rb +13 -0
- data/lib/stripe/params/payment_plan_update_params.rb +105 -0
- data/lib/stripe/params/price_update_params.rb +19 -0
- data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_create_params.rb +67 -0
- data/lib/stripe/params/privacy/redaction_job_list_params.rb +27 -0
- data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_run_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_update_params.rb +18 -0
- data/lib/stripe/params/privacy/redaction_job_validate_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +24 -0
- data/lib/stripe/params/quote_create_params.rb +809 -3
- data/lib/stripe/params/quote_line_list_params.rb +22 -0
- data/lib/stripe/params/quote_list_lines_params.rb +22 -0
- data/lib/stripe/params/quote_list_params.rb +4 -0
- data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +22 -0
- data/lib/stripe/params/quote_mark_draft_params.rb +13 -0
- data/lib/stripe/params/quote_mark_stale_params.rb +16 -0
- data/lib/stripe/params/quote_preview_invoice_list_params.rb +22 -0
- data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +22 -0
- data/lib/stripe/params/quote_reestimate_params.rb +13 -0
- data/lib/stripe/params/quote_update_params.rb +817 -4
- data/lib/stripe/params/radar/billing_evaluation_create_params.rb +231 -0
- data/lib/stripe/params/reserve/hold_list_params.rb +53 -0
- data/lib/stripe/params/reserve/hold_retrieve_params.rb +15 -0
- data/lib/stripe/params/reserve/plan_list_params.rb +37 -0
- data/lib/stripe/params/reserve/plan_retrieve_params.rb +15 -0
- data/lib/stripe/params/reserve/release_list_params.rb +41 -0
- data/lib/stripe/params/reserve/release_retrieve_params.rb +15 -0
- data/lib/stripe/params/setup_intent_confirm_params.rb +122 -3
- data/lib/stripe/params/setup_intent_create_params.rb +122 -3
- data/lib/stripe/params/setup_intent_update_params.rb +122 -3
- data/lib/stripe/params/shared_payment/granted_token_create_params.rb +47 -0
- data/lib/stripe/params/shared_payment/granted_token_retrieve_params.rb +15 -0
- data/lib/stripe/params/shared_payment/granted_token_revoke_params.rb +15 -0
- data/lib/stripe/params/shared_payment/issued_token_create_params.rb +71 -0
- data/lib/stripe/params/shared_payment/issued_token_retrieve_params.rb +15 -0
- data/lib/stripe/params/shared_payment/issued_token_revoke_params.rb +15 -0
- data/lib/stripe/params/subscription_create_params.rb +133 -6
- data/lib/stripe/params/subscription_item_create_params.rb +50 -3
- data/lib/stripe/params/subscription_item_update_params.rb +33 -2
- data/lib/stripe/params/subscription_schedule_amend_params.rb +578 -0
- data/lib/stripe/params/subscription_schedule_create_params.rb +167 -5
- data/lib/stripe/params/subscription_schedule_update_params.rb +167 -5
- data/lib/stripe/params/subscription_update_params.rb +116 -5
- data/lib/stripe/params/tax/form_list_params.rb +51 -0
- data/lib/stripe/params/tax/form_pdf_params.rb +15 -0
- data/lib/stripe/params/tax/form_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax/registration_create_params.rb +13 -1
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +15 -0
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +92 -0
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +49 -0
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_revoke_params.rb +17 -0
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +25 -1
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +25 -1
- data/lib/stripe/params/transfer_create_params.rb +4 -0
- data/lib/stripe/params/treasury/financial_account_create_params.rb +8 -1
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +4 -1
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +4 -1
- data/lib/stripe/params/treasury/financial_account_update_params.rb +8 -1
- data/lib/stripe/params/treasury/outbound_payment_create_params.rb +19 -0
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +24 -0
- data/lib/stripe/params/treasury/received_credit_create_params.rb +25 -1
- data/lib/stripe/params/treasury/received_debit_create_params.rb +25 -1
- data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +74 -0
- data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +80 -0
- data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +253 -0
- data/lib/stripe/params/v2/billing/cadence_list_params.rb +43 -0
- data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/billing/cadence_update_params.rb +75 -0
- data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +257 -0
- data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +263 -0
- data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/profile_create_params.rb +37 -0
- data/lib/stripe/params/v2/billing/profile_list_params.rb +40 -0
- data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/profile_update_params.rb +35 -0
- data/lib/stripe/params/v2/core/account_create_params.rb +392 -5
- data/lib/stripe/params/v2/core/account_token_create_params.rb +29 -1
- data/lib/stripe/params/v2/core/account_update_params.rb +376 -4
- data/lib/stripe/params/v2/core/approval_request_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/core/approval_request_list_params.rb +47 -0
- data/lib/stripe/params/v2/core/approval_request_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/approval_request_update_params.rb +17 -0
- data/lib/stripe/params/v2/core/batch_job_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/core/batch_job_create_params.rb +53 -0
- data/lib/stripe/params/v2/core/batch_job_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +21 -0
- data/lib/stripe/params/v2/data/query_run_create_params.rb +50 -0
- data/lib/stripe/params/v2/data/query_run_retrieve_params.rb +23 -0
- data/lib/stripe/params/v2/data/report_list_params.rb +23 -0
- data/lib/stripe/params/v2/data/report_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/data/report_run_create_params.rb +48 -0
- data/lib/stripe/params/v2/data/report_run_retrieve_params.rb +23 -0
- data/lib/stripe/params/v2/data/reporting/query_run_create_params.rb +31 -0
- data/lib/stripe/params/v2/data/reporting/query_run_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/data/schema_list_params.rb +26 -0
- data/lib/stripe/params/v2/data/schema_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/extend/workflow_invoke_params.rb +17 -0
- data/lib/stripe/params/v2/extend/workflow_list_params.rb +21 -0
- data/lib/stripe/params/v2/extend/workflow_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/extend/workflow_run_list_params.rb +23 -0
- data/lib/stripe/params/v2/extend/workflow_run_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/iam/activity_log_list_params.rb +23 -0
- data/lib/stripe/params/v2/iam/activity_log_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +30 -0
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +35 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +21 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +113 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +40 -1
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +22 -1
- data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +112 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +48 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_disable_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/test_helpers/financial_address_generate_microdeposits_params.rb +12 -0
- data/lib/stripe/params/v2/network/business_profile_me_params.rb +10 -0
- data/lib/stripe/params/v2/network/business_profile_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_confirm_params.rb +10 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_create_params.rb +17 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_list_params.rb +20 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_terminate_params.rb +10 -0
- data/lib/stripe/params/v2/signals/account_activity_create_params.rb +200 -0
- data/lib/stripe/params/v2/signals/account_activity_delete_params.rb +10 -0
- data/lib/stripe/params/v2/signals/account_activity_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/signals/account_evaluation_create_params.rb +192 -0
- data/lib/stripe/params/v2/signals/account_evaluation_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/signals/account_signal_list_params.rb +35 -0
- data/lib/stripe/params/v2/signals/account_signal_retrieve_params.rb +10 -0
- data/lib/stripe/params.rb +364 -0
- data/lib/stripe/resources/account.rb +176 -1
- data/lib/stripe/resources/account_notice.rb +94 -0
- data/lib/stripe/resources/account_session.rb +81 -0
- data/lib/stripe/resources/balance.rb +83 -0
- data/lib/stripe/resources/balance_settings.rb +4 -0
- data/lib/stripe/resources/billing/alert_triggered.rb +4 -0
- data/lib/stripe/resources/billing/analytics/meter_usage.rb +33 -0
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +38 -0
- data/lib/stripe/resources/capital/financing_offer.rb +144 -0
- data/lib/stripe/resources/capital/financing_summary.rb +82 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +99 -0
- data/lib/stripe/resources/card.rb +18 -1
- data/lib/stripe/resources/charge.rb +227 -1
- data/lib/stripe/resources/checkout/session.rb +91 -3
- data/lib/stripe/resources/confirmation_token.rb +131 -0
- data/lib/stripe/resources/coupon.rb +26 -1
- data/lib/stripe/resources/credit_note_line_item.rb +18 -0
- data/lib/stripe/resources/customer.rb +16 -0
- data/lib/stripe/resources/customer_session.rb +36 -0
- data/lib/stripe/resources/dispute.rb +18 -0
- data/lib/stripe/resources/event.rb +64 -1
- data/lib/stripe/resources/financial_connections/account.rb +45 -1
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +35 -0
- data/lib/stripe/resources/financial_connections/authorization.rb +24 -1
- data/lib/stripe/resources/financial_connections/institution.rb +127 -0
- data/lib/stripe/resources/financial_connections/session.rb +92 -0
- data/lib/stripe/resources/fx_quote.rb +149 -0
- data/lib/stripe/resources/invoice.rb +106 -1
- data/lib/stripe/resources/invoice_item.rb +2 -0
- data/lib/stripe/resources/invoice_line_item.rb +40 -0
- data/lib/stripe/resources/issuing/authorization.rb +16 -0
- data/lib/stripe/resources/issuing/card.rb +16 -0
- data/lib/stripe/resources/issuing/cardholder.rb +16 -0
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +263 -0
- data/lib/stripe/resources/issuing/dispute.rb +16 -1
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +71 -0
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +51 -0
- data/lib/stripe/resources/issuing/settlement.rb +61 -0
- data/lib/stripe/resources/issuing/transaction.rb +18 -0
- data/lib/stripe/resources/line_item.rb +42 -0
- data/lib/stripe/resources/mandate.rb +12 -0
- data/lib/stripe/resources/margin.rb +64 -0
- data/lib/stripe/resources/order.rb +927 -0
- data/lib/stripe/resources/payment_attempt_record.rb +177 -1
- data/lib/stripe/resources/payment_intent.rb +1588 -10
- data/lib/stripe/resources/payment_method.rb +151 -0
- data/lib/stripe/resources/payment_method_configuration.rb +170 -0
- data/lib/stripe/resources/payment_plan.rb +213 -0
- data/lib/stripe/resources/payment_record.rb +177 -1
- data/lib/stripe/resources/price.rb +20 -0
- data/lib/stripe/resources/privacy/redaction_job.rb +189 -0
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +49 -0
- data/lib/stripe/resources/quote.rb +569 -2
- data/lib/stripe/resources/quote_line.rb +525 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +1241 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +968 -0
- data/lib/stripe/resources/radar/billing_evaluation.rb +281 -0
- data/lib/stripe/resources/radar/value_list_item.rb +15 -1
- data/lib/stripe/resources/refund.rb +18 -0
- data/lib/stripe/resources/reserve/hold.rb +7 -0
- data/lib/stripe/resources/reserve/plan.rb +7 -0
- data/lib/stripe/resources/reserve/release.rb +12 -0
- data/lib/stripe/resources/setup_attempt.rb +35 -0
- data/lib/stripe/resources/setup_intent.rb +38 -1
- data/lib/stripe/resources/shared_payment/granted_token.rb +681 -0
- data/lib/stripe/resources/shared_payment/issued_token.rb +310 -0
- data/lib/stripe/resources/source.rb +54 -0
- data/lib/stripe/resources/subscription.rb +73 -0
- data/lib/stripe/resources/subscription_item.rb +22 -1
- data/lib/stripe/resources/subscription_schedule.rb +198 -3
- data/lib/stripe/resources/tax/form.rb +264 -0
- data/lib/stripe/resources/tax/registration.rb +16 -1
- data/lib/stripe/resources/terminal/reader.rb +8 -0
- data/lib/stripe/resources/terminal/reader_collected_data.rb +47 -0
- data/lib/stripe/resources/token.rb +15 -1
- data/lib/stripe/resources/transfer.rb +2 -0
- data/lib/stripe/resources/treasury/financial_account.rb +2 -0
- data/lib/stripe/resources/treasury/financial_account_features.rb +2 -0
- data/lib/stripe/resources/treasury/outbound_payment.rb +2 -0
- data/lib/stripe/resources/treasury/outbound_transfer.rb +30 -0
- data/lib/stripe/resources/treasury/received_credit.rb +30 -0
- data/lib/stripe/resources/treasury/received_debit.rb +32 -0
- data/lib/stripe/resources/v2/billing/bill_setting.rb +102 -0
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +91 -0
- data/lib/stripe/resources/v2/billing/cadence.rb +710 -0
- data/lib/stripe/resources/v2/billing/collection_setting.rb +327 -0
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +316 -0
- data/lib/stripe/resources/v2/billing/profile.rb +47 -0
- data/lib/stripe/resources/v2/core/account.rb +802 -2
- data/lib/stripe/resources/v2/core/approval_request.rb +395 -0
- data/lib/stripe/resources/v2/core/batch_job.rb +536 -0
- data/lib/stripe/resources/v2/core/event_notification.rb +1 -0
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +91 -1
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +26 -1
- data/lib/stripe/resources/v2/data/query_run.rb +255 -0
- data/lib/stripe/resources/v2/data/report.rb +104 -0
- data/lib/stripe/resources/v2/data/report_run.rb +246 -0
- data/lib/stripe/resources/v2/data/reporting/query_run.rb +142 -0
- data/lib/stripe/resources/v2/data/schema.rb +121 -0
- data/lib/stripe/resources/v2/extend/workflow.rb +80 -0
- data/lib/stripe/resources/v2/extend/workflow_run.rb +158 -0
- data/lib/stripe/resources/v2/iam/activity_log.rb +368 -0
- data/lib/stripe/resources/v2/money_management/adjustment.rb +4 -0
- data/lib/stripe/resources/v2/money_management/financial_account.rb +50 -1
- data/lib/stripe/resources/v2/money_management/financial_address_generated_microdeposits.rb +33 -0
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +2 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +63 -1
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +255 -0
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +31 -1
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +260 -0
- data/lib/stripe/resources/v2/money_management/payout_method.rb +50 -1
- data/lib/stripe/resources/v2/money_management/received_credit.rb +2 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +137 -0
- data/lib/stripe/resources/v2/money_management/recipient_verification.rb +2 -0
- data/lib/stripe/resources/v2/network/business_profile.rb +84 -0
- data/lib/stripe/resources/v2/orchestrated_commerce/agreement.rb +93 -0
- data/lib/stripe/resources/v2/signals/account_activity.rb +252 -0
- data/lib/stripe/resources/v2/signals/account_evaluation.rb +249 -0
- data/lib/stripe/resources/v2/signals/account_signal.rb +184 -0
- data/lib/stripe/resources.rb +341 -0
- data/lib/stripe/services/account_notice_service.rb +39 -0
- data/lib/stripe/services/account_service.rb +15 -0
- data/lib/stripe/services/billing/analytics/meter_usage_service.rb +21 -0
- data/lib/stripe/services/billing/analytics_service.rb +15 -0
- data/lib/stripe/services/billing_service.rb +2 -1
- data/lib/stripe/services/capital/financing_offer_service.rb +42 -0
- data/lib/stripe/services/capital/financing_summary_service.rb +19 -0
- data/lib/stripe/services/capital/financing_transaction_service.rb +31 -0
- data/lib/stripe/services/capital_service.rb +15 -0
- data/lib/stripe/services/coupon_service.rb +14 -0
- data/lib/stripe/services/customer_service.rb +15 -0
- data/lib/stripe/services/external_account_service.rb +68 -0
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +19 -0
- data/lib/stripe/services/financial_connections/account_service.rb +3 -1
- data/lib/stripe/services/financial_connections/authorization_service.rb +19 -0
- data/lib/stripe/services/financial_connections/institution_service.rb +30 -0
- data/lib/stripe/services/financial_connections_service.rb +3 -1
- data/lib/stripe/services/fx_quote_service.rb +27 -0
- data/lib/stripe/services/invoice_service.rb +11 -0
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +74 -0
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +30 -0
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +30 -0
- data/lib/stripe/services/issuing_service.rb +5 -1
- data/lib/stripe/services/mandate_service.rb +5 -0
- data/lib/stripe/services/margin_service.rb +50 -0
- data/lib/stripe/services/order_service.rb +53 -0
- data/lib/stripe/services/payment_intent_service.rb +37 -0
- data/lib/stripe/services/payment_plan_service.rb +50 -0
- data/lib/stripe/services/privacy/redaction_job_service.rb +104 -0
- data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +19 -0
- data/lib/stripe/services/privacy_service.rb +13 -0
- data/lib/stripe/services/promotion_code_service.rb +29 -0
- data/lib/stripe/services/quote_line_service.rb +17 -0
- data/lib/stripe/services/quote_preview_invoice_service.rb +17 -0
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +17 -0
- data/lib/stripe/services/quote_service.rb +49 -1
- data/lib/stripe/services/radar/billing_evaluation_service.rb +19 -0
- data/lib/stripe/services/radar_service.rb +2 -1
- data/lib/stripe/services/reserve/hold_service.rb +30 -0
- data/lib/stripe/services/reserve/plan_service.rb +30 -0
- data/lib/stripe/services/reserve/release_service.rb +30 -0
- data/lib/stripe/services/reserve_service.rb +15 -0
- data/lib/stripe/services/shared_payment/granted_token_service.rb +19 -0
- data/lib/stripe/services/shared_payment/issued_token_service.rb +41 -0
- data/lib/stripe/services/shared_payment_service.rb +14 -0
- data/lib/stripe/services/subscription_schedule_service.rb +11 -0
- data/lib/stripe/services/subscription_service.rb +45 -0
- data/lib/stripe/services/tax/form_service.rb +37 -0
- data/lib/stripe/services/tax_service.rb +2 -1
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +19 -0
- data/lib/stripe/services/terminal_service.rb +2 -1
- data/lib/stripe/services/test_helpers/shared_payment/granted_token_service.rb +32 -0
- data/lib/stripe/services/test_helpers/shared_payment_service.rb +15 -0
- data/lib/stripe/services/test_helpers_service.rb +2 -1
- data/lib/stripe/services/v1_services.rb +11 -1
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +61 -0
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/cadence_service.rb +65 -0
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +69 -0
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/profile_service.rb +54 -0
- data/lib/stripe/services/v2/billing_service.rb +5 -1
- data/lib/stripe/services/v2/core/approval_request_service.rb +58 -0
- data/lib/stripe/services/v2/core/batch_job_service.rb +43 -0
- data/lib/stripe/services/v2/core_service.rb +3 -1
- data/lib/stripe/services/v2/data/query_run_service.rb +34 -0
- data/lib/stripe/services/v2/data/report_run_service.rb +36 -0
- data/lib/stripe/services/v2/data/report_service.rb +34 -0
- data/lib/stripe/services/v2/data/reporting/query_run_service.rb +35 -0
- data/lib/stripe/services/v2/data/reporting_service.rb +17 -0
- data/lib/stripe/services/v2/data/schema_service.rb +32 -0
- data/lib/stripe/services/v2/data_service.rb +19 -0
- data/lib/stripe/services/v2/extend/workflow_run_service.rb +32 -0
- data/lib/stripe/services/v2/extend/workflow_service.rb +45 -0
- data/lib/stripe/services/v2/extend_service.rb +16 -0
- data/lib/stripe/services/v2/iam/activity_log_service.rb +32 -0
- data/lib/stripe/services/v2/iam_service.rb +15 -0
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +27 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +35 -0
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +61 -0
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +15 -0
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/test_helpers/financial_address_service.rb +13 -0
- data/lib/stripe/services/v2/money_management_service.rb +5 -1
- data/lib/stripe/services/v2/network/business_profile_service.rb +32 -0
- data/lib/stripe/services/v2/network_service.rb +15 -0
- data/lib/stripe/services/v2/orchestrated_commerce/agreement_service.rb +65 -0
- data/lib/stripe/services/v2/orchestrated_commerce_service.rb +15 -0
- data/lib/stripe/services/v2/signals/account_activity_service.rb +43 -0
- data/lib/stripe/services/v2/signals/account_evaluation_service.rb +32 -0
- data/lib/stripe/services/v2/signals/account_signal_service.rb +32 -0
- data/lib/stripe/services/v2/signals_service.rb +17 -0
- data/lib/stripe/services/v2_services.rb +7 -1
- data/lib/stripe/services.rb +181 -0
- data/lib/stripe/stripe_client.rb +4 -1
- data/lib/stripe/stripe_configuration.rb +3 -1
- data/lib/stripe/stripe_event_notification_handler.rb +216 -0
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/util.rb +7 -1
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +53 -0
- data/rbi/stripe/resources/v2/core/event_notification.rbi +2 -0
- data/rbi/stripe.rbi +133319 -66595
- metadata +331 -3
|
@@ -218,6 +218,15 @@ module Stripe
|
|
|
218
218
|
end
|
|
219
219
|
end
|
|
220
220
|
|
|
221
|
+
class AutomaticIndirectTax < ::Stripe::RequestParams
|
|
222
|
+
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
223
|
+
attr_accessor :requested
|
|
224
|
+
|
|
225
|
+
def initialize(requested: nil)
|
|
226
|
+
@requested = requested
|
|
227
|
+
end
|
|
228
|
+
end
|
|
229
|
+
|
|
221
230
|
class BacsDebitPayments < ::Stripe::RequestParams
|
|
222
231
|
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
223
232
|
attr_accessor :requested
|
|
@@ -371,6 +380,15 @@ module Stripe
|
|
|
371
380
|
end
|
|
372
381
|
end
|
|
373
382
|
|
|
383
|
+
class GopayPayments < ::Stripe::RequestParams
|
|
384
|
+
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
385
|
+
attr_accessor :requested
|
|
386
|
+
|
|
387
|
+
def initialize(requested: nil)
|
|
388
|
+
@requested = requested
|
|
389
|
+
end
|
|
390
|
+
end
|
|
391
|
+
|
|
374
392
|
class GrabpayPayments < ::Stripe::RequestParams
|
|
375
393
|
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
376
394
|
attr_accessor :requested
|
|
@@ -380,6 +398,24 @@ module Stripe
|
|
|
380
398
|
end
|
|
381
399
|
end
|
|
382
400
|
|
|
401
|
+
class IdBankTransferPayments < ::Stripe::RequestParams
|
|
402
|
+
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
403
|
+
attr_accessor :requested
|
|
404
|
+
|
|
405
|
+
def initialize(requested: nil)
|
|
406
|
+
@requested = requested
|
|
407
|
+
end
|
|
408
|
+
end
|
|
409
|
+
|
|
410
|
+
class IdBankTransferPaymentsBca < ::Stripe::RequestParams
|
|
411
|
+
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
412
|
+
attr_accessor :requested
|
|
413
|
+
|
|
414
|
+
def initialize(requested: nil)
|
|
415
|
+
@requested = requested
|
|
416
|
+
end
|
|
417
|
+
end
|
|
418
|
+
|
|
383
419
|
class IdealPayments < ::Stripe::RequestParams
|
|
384
420
|
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
385
421
|
attr_accessor :requested
|
|
@@ -569,6 +605,15 @@ module Stripe
|
|
|
569
605
|
end
|
|
570
606
|
end
|
|
571
607
|
|
|
608
|
+
class PaypalPayments < ::Stripe::RequestParams
|
|
609
|
+
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
610
|
+
attr_accessor :requested
|
|
611
|
+
|
|
612
|
+
def initialize(requested: nil)
|
|
613
|
+
@requested = requested
|
|
614
|
+
end
|
|
615
|
+
end
|
|
616
|
+
|
|
572
617
|
class PaypayPayments < ::Stripe::RequestParams
|
|
573
618
|
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
574
619
|
attr_accessor :requested
|
|
@@ -605,6 +650,24 @@ module Stripe
|
|
|
605
650
|
end
|
|
606
651
|
end
|
|
607
652
|
|
|
653
|
+
class QrisPayments < ::Stripe::RequestParams
|
|
654
|
+
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
655
|
+
attr_accessor :requested
|
|
656
|
+
|
|
657
|
+
def initialize(requested: nil)
|
|
658
|
+
@requested = requested
|
|
659
|
+
end
|
|
660
|
+
end
|
|
661
|
+
|
|
662
|
+
class RechnungPayments < ::Stripe::RequestParams
|
|
663
|
+
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
664
|
+
attr_accessor :requested
|
|
665
|
+
|
|
666
|
+
def initialize(requested: nil)
|
|
667
|
+
@requested = requested
|
|
668
|
+
end
|
|
669
|
+
end
|
|
670
|
+
|
|
608
671
|
class RevolutPayPayments < ::Stripe::RequestParams
|
|
609
672
|
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
610
673
|
attr_accessor :requested
|
|
@@ -668,6 +731,15 @@ module Stripe
|
|
|
668
731
|
end
|
|
669
732
|
end
|
|
670
733
|
|
|
734
|
+
class ShopeepayPayments < ::Stripe::RequestParams
|
|
735
|
+
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
736
|
+
attr_accessor :requested
|
|
737
|
+
|
|
738
|
+
def initialize(requested: nil)
|
|
739
|
+
@requested = requested
|
|
740
|
+
end
|
|
741
|
+
end
|
|
742
|
+
|
|
671
743
|
class SofortPayments < ::Stripe::RequestParams
|
|
672
744
|
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
673
745
|
attr_accessor :requested
|
|
@@ -677,6 +749,15 @@ module Stripe
|
|
|
677
749
|
end
|
|
678
750
|
end
|
|
679
751
|
|
|
752
|
+
class StripeBalancePayments < ::Stripe::RequestParams
|
|
753
|
+
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
754
|
+
attr_accessor :requested
|
|
755
|
+
|
|
756
|
+
def initialize(requested: nil)
|
|
757
|
+
@requested = requested
|
|
758
|
+
end
|
|
759
|
+
end
|
|
760
|
+
|
|
680
761
|
class SunbitPayments < ::Stripe::RequestParams
|
|
681
762
|
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
682
763
|
attr_accessor :requested
|
|
@@ -731,6 +812,33 @@ module Stripe
|
|
|
731
812
|
end
|
|
732
813
|
end
|
|
733
814
|
|
|
815
|
+
class TreasuryEvolve < ::Stripe::RequestParams
|
|
816
|
+
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
817
|
+
attr_accessor :requested
|
|
818
|
+
|
|
819
|
+
def initialize(requested: nil)
|
|
820
|
+
@requested = requested
|
|
821
|
+
end
|
|
822
|
+
end
|
|
823
|
+
|
|
824
|
+
class TreasuryFifthThird < ::Stripe::RequestParams
|
|
825
|
+
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
826
|
+
attr_accessor :requested
|
|
827
|
+
|
|
828
|
+
def initialize(requested: nil)
|
|
829
|
+
@requested = requested
|
|
830
|
+
end
|
|
831
|
+
end
|
|
832
|
+
|
|
833
|
+
class TreasuryGoldmanSachs < ::Stripe::RequestParams
|
|
834
|
+
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
835
|
+
attr_accessor :requested
|
|
836
|
+
|
|
837
|
+
def initialize(requested: nil)
|
|
838
|
+
@requested = requested
|
|
839
|
+
end
|
|
840
|
+
end
|
|
841
|
+
|
|
734
842
|
class TwintPayments < ::Stripe::RequestParams
|
|
735
843
|
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
736
844
|
attr_accessor :requested
|
|
@@ -798,6 +906,8 @@ module Stripe
|
|
|
798
906
|
attr_accessor :app_distribution
|
|
799
907
|
# The au_becs_debit_payments capability.
|
|
800
908
|
attr_accessor :au_becs_debit_payments
|
|
909
|
+
# The automatic_indirect_tax capability.
|
|
910
|
+
attr_accessor :automatic_indirect_tax
|
|
801
911
|
# The bacs_debit_payments capability.
|
|
802
912
|
attr_accessor :bacs_debit_payments
|
|
803
913
|
# The bancontact_payments capability.
|
|
@@ -832,8 +942,14 @@ module Stripe
|
|
|
832
942
|
attr_accessor :gb_bank_transfer_payments
|
|
833
943
|
# The giropay_payments capability.
|
|
834
944
|
attr_accessor :giropay_payments
|
|
945
|
+
# The gopay_payments capability.
|
|
946
|
+
attr_accessor :gopay_payments
|
|
835
947
|
# The grabpay_payments capability.
|
|
836
948
|
attr_accessor :grabpay_payments
|
|
949
|
+
# The id_bank_transfer_payments capability.
|
|
950
|
+
attr_accessor :id_bank_transfer_payments
|
|
951
|
+
# The id_bank_transfer_payments_bca capability.
|
|
952
|
+
attr_accessor :id_bank_transfer_payments_bca
|
|
837
953
|
# The ideal_payments capability.
|
|
838
954
|
attr_accessor :ideal_payments
|
|
839
955
|
# The india_international_payments capability.
|
|
@@ -876,6 +992,8 @@ module Stripe
|
|
|
876
992
|
attr_accessor :payco_payments
|
|
877
993
|
# The paynow_payments capability.
|
|
878
994
|
attr_accessor :paynow_payments
|
|
995
|
+
# The paypal_payments capability.
|
|
996
|
+
attr_accessor :paypal_payments
|
|
879
997
|
# The paypay_payments capability.
|
|
880
998
|
attr_accessor :paypay_payments
|
|
881
999
|
# The payto_payments capability.
|
|
@@ -884,6 +1002,10 @@ module Stripe
|
|
|
884
1002
|
attr_accessor :pix_payments
|
|
885
1003
|
# The promptpay_payments capability.
|
|
886
1004
|
attr_accessor :promptpay_payments
|
|
1005
|
+
# The qris_payments capability.
|
|
1006
|
+
attr_accessor :qris_payments
|
|
1007
|
+
# The rechnung_payments capability.
|
|
1008
|
+
attr_accessor :rechnung_payments
|
|
887
1009
|
# The revolut_pay_payments capability.
|
|
888
1010
|
attr_accessor :revolut_pay_payments
|
|
889
1011
|
# The samsung_pay_payments capability.
|
|
@@ -898,8 +1020,12 @@ module Stripe
|
|
|
898
1020
|
attr_accessor :sepa_debit_payments
|
|
899
1021
|
# The sequra_payments capability.
|
|
900
1022
|
attr_accessor :sequra_payments
|
|
1023
|
+
# The shopeepay_payments capability.
|
|
1024
|
+
attr_accessor :shopeepay_payments
|
|
901
1025
|
# The sofort_payments capability.
|
|
902
1026
|
attr_accessor :sofort_payments
|
|
1027
|
+
# The stripe_balance_payments capability.
|
|
1028
|
+
attr_accessor :stripe_balance_payments
|
|
903
1029
|
# The sunbit_payments capability.
|
|
904
1030
|
attr_accessor :sunbit_payments
|
|
905
1031
|
# The swish_payments capability.
|
|
@@ -912,6 +1038,12 @@ module Stripe
|
|
|
912
1038
|
attr_accessor :transfers
|
|
913
1039
|
# The treasury capability.
|
|
914
1040
|
attr_accessor :treasury
|
|
1041
|
+
# The treasury_evolve capability.
|
|
1042
|
+
attr_accessor :treasury_evolve
|
|
1043
|
+
# The treasury_fifth_third capability.
|
|
1044
|
+
attr_accessor :treasury_fifth_third
|
|
1045
|
+
# The treasury_goldman_sachs capability.
|
|
1046
|
+
attr_accessor :treasury_goldman_sachs
|
|
915
1047
|
# The twint_payments capability.
|
|
916
1048
|
attr_accessor :twint_payments
|
|
917
1049
|
# The upi_payments capability.
|
|
@@ -933,6 +1065,7 @@ module Stripe
|
|
|
933
1065
|
amazon_pay_payments: nil,
|
|
934
1066
|
app_distribution: nil,
|
|
935
1067
|
au_becs_debit_payments: nil,
|
|
1068
|
+
automatic_indirect_tax: nil,
|
|
936
1069
|
bacs_debit_payments: nil,
|
|
937
1070
|
bancontact_payments: nil,
|
|
938
1071
|
bank_transfer_payments: nil,
|
|
@@ -950,7 +1083,10 @@ module Stripe
|
|
|
950
1083
|
fpx_payments: nil,
|
|
951
1084
|
gb_bank_transfer_payments: nil,
|
|
952
1085
|
giropay_payments: nil,
|
|
1086
|
+
gopay_payments: nil,
|
|
953
1087
|
grabpay_payments: nil,
|
|
1088
|
+
id_bank_transfer_payments: nil,
|
|
1089
|
+
id_bank_transfer_payments_bca: nil,
|
|
954
1090
|
ideal_payments: nil,
|
|
955
1091
|
india_international_payments: nil,
|
|
956
1092
|
jcb_payments: nil,
|
|
@@ -972,10 +1108,13 @@ module Stripe
|
|
|
972
1108
|
pay_by_bank_payments: nil,
|
|
973
1109
|
payco_payments: nil,
|
|
974
1110
|
paynow_payments: nil,
|
|
1111
|
+
paypal_payments: nil,
|
|
975
1112
|
paypay_payments: nil,
|
|
976
1113
|
payto_payments: nil,
|
|
977
1114
|
pix_payments: nil,
|
|
978
1115
|
promptpay_payments: nil,
|
|
1116
|
+
qris_payments: nil,
|
|
1117
|
+
rechnung_payments: nil,
|
|
979
1118
|
revolut_pay_payments: nil,
|
|
980
1119
|
samsung_pay_payments: nil,
|
|
981
1120
|
satispay_payments: nil,
|
|
@@ -983,13 +1122,18 @@ module Stripe
|
|
|
983
1122
|
sepa_bank_transfer_payments: nil,
|
|
984
1123
|
sepa_debit_payments: nil,
|
|
985
1124
|
sequra_payments: nil,
|
|
1125
|
+
shopeepay_payments: nil,
|
|
986
1126
|
sofort_payments: nil,
|
|
1127
|
+
stripe_balance_payments: nil,
|
|
987
1128
|
sunbit_payments: nil,
|
|
988
1129
|
swish_payments: nil,
|
|
989
1130
|
tax_reporting_us_1099_k: nil,
|
|
990
1131
|
tax_reporting_us_1099_misc: nil,
|
|
991
1132
|
transfers: nil,
|
|
992
1133
|
treasury: nil,
|
|
1134
|
+
treasury_evolve: nil,
|
|
1135
|
+
treasury_fifth_third: nil,
|
|
1136
|
+
treasury_goldman_sachs: nil,
|
|
993
1137
|
twint_payments: nil,
|
|
994
1138
|
upi_payments: nil,
|
|
995
1139
|
us_bank_account_ach_payments: nil,
|
|
@@ -1004,6 +1148,7 @@ module Stripe
|
|
|
1004
1148
|
@amazon_pay_payments = amazon_pay_payments
|
|
1005
1149
|
@app_distribution = app_distribution
|
|
1006
1150
|
@au_becs_debit_payments = au_becs_debit_payments
|
|
1151
|
+
@automatic_indirect_tax = automatic_indirect_tax
|
|
1007
1152
|
@bacs_debit_payments = bacs_debit_payments
|
|
1008
1153
|
@bancontact_payments = bancontact_payments
|
|
1009
1154
|
@bank_transfer_payments = bank_transfer_payments
|
|
@@ -1021,7 +1166,10 @@ module Stripe
|
|
|
1021
1166
|
@fpx_payments = fpx_payments
|
|
1022
1167
|
@gb_bank_transfer_payments = gb_bank_transfer_payments
|
|
1023
1168
|
@giropay_payments = giropay_payments
|
|
1169
|
+
@gopay_payments = gopay_payments
|
|
1024
1170
|
@grabpay_payments = grabpay_payments
|
|
1171
|
+
@id_bank_transfer_payments = id_bank_transfer_payments
|
|
1172
|
+
@id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
|
|
1025
1173
|
@ideal_payments = ideal_payments
|
|
1026
1174
|
@india_international_payments = india_international_payments
|
|
1027
1175
|
@jcb_payments = jcb_payments
|
|
@@ -1043,10 +1191,13 @@ module Stripe
|
|
|
1043
1191
|
@pay_by_bank_payments = pay_by_bank_payments
|
|
1044
1192
|
@payco_payments = payco_payments
|
|
1045
1193
|
@paynow_payments = paynow_payments
|
|
1194
|
+
@paypal_payments = paypal_payments
|
|
1046
1195
|
@paypay_payments = paypay_payments
|
|
1047
1196
|
@payto_payments = payto_payments
|
|
1048
1197
|
@pix_payments = pix_payments
|
|
1049
1198
|
@promptpay_payments = promptpay_payments
|
|
1199
|
+
@qris_payments = qris_payments
|
|
1200
|
+
@rechnung_payments = rechnung_payments
|
|
1050
1201
|
@revolut_pay_payments = revolut_pay_payments
|
|
1051
1202
|
@samsung_pay_payments = samsung_pay_payments
|
|
1052
1203
|
@satispay_payments = satispay_payments
|
|
@@ -1054,13 +1205,18 @@ module Stripe
|
|
|
1054
1205
|
@sepa_bank_transfer_payments = sepa_bank_transfer_payments
|
|
1055
1206
|
@sepa_debit_payments = sepa_debit_payments
|
|
1056
1207
|
@sequra_payments = sequra_payments
|
|
1208
|
+
@shopeepay_payments = shopeepay_payments
|
|
1057
1209
|
@sofort_payments = sofort_payments
|
|
1210
|
+
@stripe_balance_payments = stripe_balance_payments
|
|
1058
1211
|
@sunbit_payments = sunbit_payments
|
|
1059
1212
|
@swish_payments = swish_payments
|
|
1060
1213
|
@tax_reporting_us_1099_k = tax_reporting_us_1099_k
|
|
1061
1214
|
@tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
|
|
1062
1215
|
@transfers = transfers
|
|
1063
1216
|
@treasury = treasury
|
|
1217
|
+
@treasury_evolve = treasury_evolve
|
|
1218
|
+
@treasury_fifth_third = treasury_fifth_third
|
|
1219
|
+
@treasury_goldman_sachs = treasury_goldman_sachs
|
|
1064
1220
|
@twint_payments = twint_payments
|
|
1065
1221
|
@upi_payments = upi_payments
|
|
1066
1222
|
@us_bank_account_ach_payments = us_bank_account_ach_payments
|
|
@@ -1539,6 +1695,30 @@ module Stripe
|
|
|
1539
1695
|
end
|
|
1540
1696
|
|
|
1541
1697
|
class Controller < ::Stripe::RequestParams
|
|
1698
|
+
class Application < ::Stripe::RequestParams
|
|
1699
|
+
# Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://docs.stripe.com/connect/account-balances).
|
|
1700
|
+
attr_accessor :loss_liable
|
|
1701
|
+
# Whether the controller owns onboarding for this account.
|
|
1702
|
+
attr_accessor :onboarding_owner
|
|
1703
|
+
# Whether the controller has pricing controls for this account.
|
|
1704
|
+
attr_accessor :pricing_controls
|
|
1705
|
+
|
|
1706
|
+
def initialize(loss_liable: nil, onboarding_owner: nil, pricing_controls: nil)
|
|
1707
|
+
@loss_liable = loss_liable
|
|
1708
|
+
@onboarding_owner = onboarding_owner
|
|
1709
|
+
@pricing_controls = pricing_controls
|
|
1710
|
+
end
|
|
1711
|
+
end
|
|
1712
|
+
|
|
1713
|
+
class Dashboard < ::Stripe::RequestParams
|
|
1714
|
+
# Whether this account should have access to the full Stripe Dashboard (`full`), to the Express Dashboard (`express`), or to no Stripe-hosted dashboard (`none`). Defaults to `full`.
|
|
1715
|
+
attr_accessor :type
|
|
1716
|
+
|
|
1717
|
+
def initialize(type: nil)
|
|
1718
|
+
@type = type
|
|
1719
|
+
end
|
|
1720
|
+
end
|
|
1721
|
+
|
|
1542
1722
|
class Fees < ::Stripe::RequestParams
|
|
1543
1723
|
# Controls who pays Stripe fees for direct charges and other pricing-control-eligible Stripe products. Setting `controller.losses.payments=application` requires `controller.fees.payer=application`. For destination charges and separate charges and transfers, Stripe bills the platform regardless of this setting. Defaults to `account`. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior), including application fees and pricing considerations.
|
|
1544
1724
|
attr_accessor :payer
|
|
@@ -1565,6 +1745,10 @@ module Stripe
|
|
|
1565
1745
|
@type = type
|
|
1566
1746
|
end
|
|
1567
1747
|
end
|
|
1748
|
+
# A hash of configuration describing the Connect application that controls the account.
|
|
1749
|
+
attr_accessor :application
|
|
1750
|
+
# Properties of the account's dashboard.
|
|
1751
|
+
attr_accessor :dashboard
|
|
1568
1752
|
# A hash of configuration for who pays Stripe fees for product usage on this account.
|
|
1569
1753
|
attr_accessor :fees
|
|
1570
1754
|
# A hash of configuration for products that have negative balance liability, and whether Stripe or a Connect application is responsible for them.
|
|
@@ -1574,7 +1758,16 @@ module Stripe
|
|
|
1574
1758
|
# A hash of configuration for Stripe-hosted dashboards.
|
|
1575
1759
|
attr_accessor :stripe_dashboard
|
|
1576
1760
|
|
|
1577
|
-
def initialize(
|
|
1761
|
+
def initialize(
|
|
1762
|
+
application: nil,
|
|
1763
|
+
dashboard: nil,
|
|
1764
|
+
fees: nil,
|
|
1765
|
+
losses: nil,
|
|
1766
|
+
requirement_collection: nil,
|
|
1767
|
+
stripe_dashboard: nil
|
|
1768
|
+
)
|
|
1769
|
+
@application = application
|
|
1770
|
+
@dashboard = dashboard
|
|
1578
1771
|
@fees = fees
|
|
1579
1772
|
@losses = losses
|
|
1580
1773
|
@requirement_collection = requirement_collection
|
|
@@ -2032,6 +2225,37 @@ module Stripe
|
|
|
2032
2225
|
end
|
|
2033
2226
|
end
|
|
2034
2227
|
|
|
2228
|
+
class RiskControls < ::Stripe::RequestParams
|
|
2229
|
+
class Charges < ::Stripe::RequestParams
|
|
2230
|
+
# To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
2231
|
+
# There can be a delay before the risk control is paused or unpaused.
|
|
2232
|
+
attr_accessor :pause_requested
|
|
2233
|
+
|
|
2234
|
+
def initialize(pause_requested: nil)
|
|
2235
|
+
@pause_requested = pause_requested
|
|
2236
|
+
end
|
|
2237
|
+
end
|
|
2238
|
+
|
|
2239
|
+
class Payouts < ::Stripe::RequestParams
|
|
2240
|
+
# To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
2241
|
+
# There can be a delay before the risk control is paused or unpaused.
|
|
2242
|
+
attr_accessor :pause_requested
|
|
2243
|
+
|
|
2244
|
+
def initialize(pause_requested: nil)
|
|
2245
|
+
@pause_requested = pause_requested
|
|
2246
|
+
end
|
|
2247
|
+
end
|
|
2248
|
+
# Represents the risk control status of charges. Please see [this page for more details](https://docs.stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
2249
|
+
attr_accessor :charges
|
|
2250
|
+
# Represents the risk control status of payouts. Please see [this page for more details](https://docs.stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
2251
|
+
attr_accessor :payouts
|
|
2252
|
+
|
|
2253
|
+
def initialize(charges: nil, payouts: nil)
|
|
2254
|
+
@charges = charges
|
|
2255
|
+
@payouts = payouts
|
|
2256
|
+
end
|
|
2257
|
+
end
|
|
2258
|
+
|
|
2035
2259
|
class Settings < ::Stripe::RequestParams
|
|
2036
2260
|
class BacsDebitPayments < ::Stripe::RequestParams
|
|
2037
2261
|
# The Bacs Direct Debit Display Name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free.
|
|
@@ -2042,6 +2266,18 @@ module Stripe
|
|
|
2042
2266
|
end
|
|
2043
2267
|
end
|
|
2044
2268
|
|
|
2269
|
+
class BankBcaOnboarding < ::Stripe::RequestParams
|
|
2270
|
+
# Bank BCA business account holder name
|
|
2271
|
+
attr_accessor :account_holder_name
|
|
2272
|
+
# Bank BCA business account number
|
|
2273
|
+
attr_accessor :business_account_number
|
|
2274
|
+
|
|
2275
|
+
def initialize(account_holder_name: nil, business_account_number: nil)
|
|
2276
|
+
@account_holder_name = account_holder_name
|
|
2277
|
+
@business_account_number = business_account_number
|
|
2278
|
+
end
|
|
2279
|
+
end
|
|
2280
|
+
|
|
2045
2281
|
class Branding < ::Stripe::RequestParams
|
|
2046
2282
|
# (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.
|
|
2047
2283
|
attr_accessor :icon
|
|
@@ -2060,6 +2296,18 @@ module Stripe
|
|
|
2060
2296
|
end
|
|
2061
2297
|
end
|
|
2062
2298
|
|
|
2299
|
+
class Capital < ::Stripe::RequestParams
|
|
2300
|
+
# Per-currency mapping of user-selected destination accounts used to pay out loans.
|
|
2301
|
+
attr_accessor :payout_destination
|
|
2302
|
+
# Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
|
2303
|
+
attr_accessor :payout_destination_selector
|
|
2304
|
+
|
|
2305
|
+
def initialize(payout_destination: nil, payout_destination_selector: nil)
|
|
2306
|
+
@payout_destination = payout_destination
|
|
2307
|
+
@payout_destination_selector = payout_destination_selector
|
|
2308
|
+
end
|
|
2309
|
+
end
|
|
2310
|
+
|
|
2063
2311
|
class CardIssuing < ::Stripe::RequestParams
|
|
2064
2312
|
class TosAcceptance < ::Stripe::RequestParams
|
|
2065
2313
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
|
@@ -2127,6 +2375,8 @@ module Stripe
|
|
|
2127
2375
|
end
|
|
2128
2376
|
|
|
2129
2377
|
class Payments < ::Stripe::RequestParams
|
|
2378
|
+
# When you enable this parameter, the customer of this Account receives an email receipt when their payment succeeds. If this parameter isn't set, the default value is `false`.
|
|
2379
|
+
attr_accessor :email_customers_on_successful_payment
|
|
2130
2380
|
# The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a `statement_descriptor_prefix`, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the `statement_descriptor` text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the [account settings documentation](https://docs.stripe.com/get-started/account/statement-descriptors).
|
|
2131
2381
|
attr_accessor :statement_descriptor
|
|
2132
2382
|
# The Kana variation of `statement_descriptor` used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).
|
|
@@ -2135,10 +2385,12 @@ module Stripe
|
|
|
2135
2385
|
attr_accessor :statement_descriptor_kanji
|
|
2136
2386
|
|
|
2137
2387
|
def initialize(
|
|
2388
|
+
email_customers_on_successful_payment: nil,
|
|
2138
2389
|
statement_descriptor: nil,
|
|
2139
2390
|
statement_descriptor_kana: nil,
|
|
2140
2391
|
statement_descriptor_kanji: nil
|
|
2141
2392
|
)
|
|
2393
|
+
@email_customers_on_successful_payment = email_customers_on_successful_payment
|
|
2142
2394
|
@statement_descriptor = statement_descriptor
|
|
2143
2395
|
@statement_descriptor_kana = statement_descriptor_kana
|
|
2144
2396
|
@statement_descriptor_kanji = statement_descriptor_kanji
|
|
@@ -2253,6 +2505,32 @@ module Stripe
|
|
|
2253
2505
|
end
|
|
2254
2506
|
end
|
|
2255
2507
|
|
|
2508
|
+
class SmartDisputes < ::Stripe::RequestParams
|
|
2509
|
+
class AutoRespond < ::Stripe::RequestParams
|
|
2510
|
+
# The preference setting for auto-respond. Can be 'on', 'off', or 'inherit'.
|
|
2511
|
+
attr_accessor :preference
|
|
2512
|
+
|
|
2513
|
+
def initialize(preference: nil)
|
|
2514
|
+
@preference = preference
|
|
2515
|
+
end
|
|
2516
|
+
end
|
|
2517
|
+
# Smart Disputes auto-respond settings for the account.
|
|
2518
|
+
attr_accessor :auto_respond
|
|
2519
|
+
|
|
2520
|
+
def initialize(auto_respond: nil)
|
|
2521
|
+
@auto_respond = auto_respond
|
|
2522
|
+
end
|
|
2523
|
+
end
|
|
2524
|
+
|
|
2525
|
+
class TaxForms < ::Stripe::RequestParams
|
|
2526
|
+
# Whether the account opted out of receiving their tax forms by postal delivery.
|
|
2527
|
+
attr_accessor :consented_to_paperless_delivery
|
|
2528
|
+
|
|
2529
|
+
def initialize(consented_to_paperless_delivery: nil)
|
|
2530
|
+
@consented_to_paperless_delivery = consented_to_paperless_delivery
|
|
2531
|
+
end
|
|
2532
|
+
end
|
|
2533
|
+
|
|
2256
2534
|
class Treasury < ::Stripe::RequestParams
|
|
2257
2535
|
class TosAcceptance < ::Stripe::RequestParams
|
|
2258
2536
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
|
@@ -2277,8 +2555,12 @@ module Stripe
|
|
|
2277
2555
|
end
|
|
2278
2556
|
# Settings specific to Bacs Direct Debit.
|
|
2279
2557
|
attr_accessor :bacs_debit_payments
|
|
2558
|
+
# Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
|
2559
|
+
attr_accessor :bank_bca_onboarding
|
|
2280
2560
|
# Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
|
2281
2561
|
attr_accessor :branding
|
|
2562
|
+
# Settings specific to the account's use of the Capital product.
|
|
2563
|
+
attr_accessor :capital
|
|
2282
2564
|
# Settings specific to the account's use of the Card Issuing product.
|
|
2283
2565
|
attr_accessor :card_issuing
|
|
2284
2566
|
# Settings specific to card charging on the account.
|
|
@@ -2293,12 +2575,18 @@ module Stripe
|
|
|
2293
2575
|
attr_accessor :paypay_payments
|
|
2294
2576
|
# Settings specific to SEPA Direct Debit payments.
|
|
2295
2577
|
attr_accessor :sepa_debit_payments
|
|
2578
|
+
# Settings specific to the account's use of Smart Disputes.
|
|
2579
|
+
attr_accessor :smart_disputes
|
|
2580
|
+
# Settings specific to the account's tax forms.
|
|
2581
|
+
attr_accessor :tax_forms
|
|
2296
2582
|
# Settings specific to the account's Treasury FinancialAccounts.
|
|
2297
2583
|
attr_accessor :treasury
|
|
2298
2584
|
|
|
2299
2585
|
def initialize(
|
|
2300
2586
|
bacs_debit_payments: nil,
|
|
2587
|
+
bank_bca_onboarding: nil,
|
|
2301
2588
|
branding: nil,
|
|
2589
|
+
capital: nil,
|
|
2302
2590
|
card_issuing: nil,
|
|
2303
2591
|
card_payments: nil,
|
|
2304
2592
|
invoices: nil,
|
|
@@ -2306,10 +2594,14 @@ module Stripe
|
|
|
2306
2594
|
payouts: nil,
|
|
2307
2595
|
paypay_payments: nil,
|
|
2308
2596
|
sepa_debit_payments: nil,
|
|
2597
|
+
smart_disputes: nil,
|
|
2598
|
+
tax_forms: nil,
|
|
2309
2599
|
treasury: nil
|
|
2310
2600
|
)
|
|
2311
2601
|
@bacs_debit_payments = bacs_debit_payments
|
|
2602
|
+
@bank_bca_onboarding = bank_bca_onboarding
|
|
2312
2603
|
@branding = branding
|
|
2604
|
+
@capital = capital
|
|
2313
2605
|
@card_issuing = card_issuing
|
|
2314
2606
|
@card_payments = card_payments
|
|
2315
2607
|
@invoices = invoices
|
|
@@ -2317,6 +2609,8 @@ module Stripe
|
|
|
2317
2609
|
@payouts = payouts
|
|
2318
2610
|
@paypay_payments = paypay_payments
|
|
2319
2611
|
@sepa_debit_payments = sepa_debit_payments
|
|
2612
|
+
@smart_disputes = smart_disputes
|
|
2613
|
+
@tax_forms = tax_forms
|
|
2320
2614
|
@treasury = treasury
|
|
2321
2615
|
end
|
|
2322
2616
|
end
|
|
@@ -2375,6 +2669,8 @@ module Stripe
|
|
|
2375
2669
|
attr_accessor :individual
|
|
2376
2670
|
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
2377
2671
|
attr_accessor :metadata
|
|
2672
|
+
# A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
2673
|
+
attr_accessor :risk_controls
|
|
2378
2674
|
# Options for customizing how the account functions within Stripe.
|
|
2379
2675
|
attr_accessor :settings
|
|
2380
2676
|
# Details on the account's acceptance of the [Stripe Services Agreement](/connect/updating-accounts#tos-acceptance). This property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. This property defaults to a `full` service agreement when empty.
|
|
@@ -2398,6 +2694,7 @@ module Stripe
|
|
|
2398
2694
|
groups: nil,
|
|
2399
2695
|
individual: nil,
|
|
2400
2696
|
metadata: nil,
|
|
2697
|
+
risk_controls: nil,
|
|
2401
2698
|
settings: nil,
|
|
2402
2699
|
tos_acceptance: nil,
|
|
2403
2700
|
type: nil
|
|
@@ -2417,6 +2714,7 @@ module Stripe
|
|
|
2417
2714
|
@groups = groups
|
|
2418
2715
|
@individual = individual
|
|
2419
2716
|
@metadata = metadata
|
|
2717
|
+
@risk_controls = risk_controls
|
|
2420
2718
|
@settings = settings
|
|
2421
2719
|
@tos_acceptance = tos_acceptance
|
|
2422
2720
|
@type = type
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
class AccountNoticeListParams < ::Stripe::RequestParams
|
|
6
|
+
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
|
7
|
+
attr_accessor :ending_before
|
|
8
|
+
# Specifies which fields in the response should be expanded.
|
|
9
|
+
attr_accessor :expand
|
|
10
|
+
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
|
11
|
+
attr_accessor :limit
|
|
12
|
+
# Set to false to only return unsent AccountNotices.
|
|
13
|
+
attr_accessor :sent
|
|
14
|
+
# A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
|
|
15
|
+
attr_accessor :starting_after
|
|
16
|
+
|
|
17
|
+
def initialize(ending_before: nil, expand: nil, limit: nil, sent: nil, starting_after: nil)
|
|
18
|
+
@ending_before = ending_before
|
|
19
|
+
@expand = expand
|
|
20
|
+
@limit = limit
|
|
21
|
+
@sent = sent
|
|
22
|
+
@starting_after = starting_after
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
class AccountNoticeRetrieveParams < ::Stripe::RequestParams
|
|
6
|
+
# Specifies which fields in the response should be expanded.
|
|
7
|
+
attr_accessor :expand
|
|
8
|
+
|
|
9
|
+
def initialize(expand: nil)
|
|
10
|
+
@expand = expand
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
class AccountNoticeUpdateParams < ::Stripe::RequestParams
|
|
6
|
+
class Email < ::Stripe::RequestParams
|
|
7
|
+
# Content of the email in plain text. The copy must match exactly the language that Stripe Compliance has approved for use.
|
|
8
|
+
attr_accessor :plain_text
|
|
9
|
+
# Email address of the recipient.
|
|
10
|
+
attr_accessor :recipient
|
|
11
|
+
# Subject of the email.
|
|
12
|
+
attr_accessor :subject
|
|
13
|
+
|
|
14
|
+
def initialize(plain_text: nil, recipient: nil, subject: nil)
|
|
15
|
+
@plain_text = plain_text
|
|
16
|
+
@recipient = recipient
|
|
17
|
+
@subject = subject
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
# Information about the email you sent.
|
|
21
|
+
attr_accessor :email
|
|
22
|
+
# Specifies which fields in the response should be expanded.
|
|
23
|
+
attr_accessor :expand
|
|
24
|
+
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
25
|
+
attr_accessor :metadata
|
|
26
|
+
# Date when you sent the notice.
|
|
27
|
+
attr_accessor :sent_at
|
|
28
|
+
|
|
29
|
+
def initialize(email: nil, expand: nil, metadata: nil, sent_at: nil)
|
|
30
|
+
@email = email
|
|
31
|
+
@expand = expand
|
|
32
|
+
@metadata = metadata
|
|
33
|
+
@sent_at = sent_at
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|