stripe 18.0.0 → 18.1.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 +34 -0
- data/lib/stripe/api_version.rb +1 -2
- data/lib/stripe/errors.rb +63 -0
- data/lib/stripe/event_types.rb +209 -0
- data/lib/stripe/events/v2_core_account_closed_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_created_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_link_returned_event.rb +42 -0
- data/lib/stripe/events/v2_core_account_person_created_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_person_deleted_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_person_updated_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +78 -0
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_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_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_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_money_management_transaction_created_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +44 -0
- data/lib/stripe/object_types.rb +54 -0
- data/lib/stripe/params/account_create_params.rb +317 -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 +226 -1
- data/lib/stripe/params/account_update_params.rb +279 -0
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +65 -0
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +4 -1
- data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +4 -0
- data/lib/stripe/params/billing/credit_grant_create_params.rb +4 -0
- data/lib/stripe/params/billing/credit_grant_list_params.rb +4 -0
- data/lib/stripe/params/billing_portal/session_create_params.rb +4 -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 +1648 -0
- data/lib/stripe/params/charge_update_params.rb +1648 -0
- data/lib/stripe/params/checkout/session_create_params.rb +193 -3
- data/lib/stripe/params/checkout/session_list_params.rb +4 -0
- data/lib/stripe/params/checkout/session_update_params.rb +288 -1
- data/lib/stripe/params/confirmation_token_create_params.rb +97 -0
- data/lib/stripe/params/coupon_create_params.rb +17 -1
- data/lib/stripe/params/credit_note_list_params.rb +4 -0
- data/lib/stripe/params/customer_session_create_params.rb +36 -2
- data/lib/stripe/params/dispute_update_params.rb +10 -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/account_list_params.rb +4 -1
- 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 +34 -2
- 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/identity/verification_session_create_params.rb +4 -0
- data/lib/stripe/params/identity/verification_session_list_params.rb +4 -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 +112 -2
- data/lib/stripe/params/invoice_create_preview_params.rb +826 -9
- data/lib/stripe/params/invoice_item_create_params.rb +37 -1
- data/lib/stripe/params/invoice_item_list_params.rb +4 -0
- 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_list_params.rb +4 -0
- data/lib/stripe/params/invoice_update_lines_params.rb +33 -1
- data/lib/stripe/params/invoice_update_params.rb +108 -2
- data/lib/stripe/params/issuing/cardholder_create_params.rb +2 -1
- 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_cancel_params.rb +13 -0
- data/lib/stripe/params/order_create_params.rb +2061 -0
- data/lib/stripe/params/order_line_item_list_params.rb +22 -0
- data/lib/stripe/params/order_list_line_items_params.rb +22 -0
- data/lib/stripe/params/order_list_params.rb +25 -0
- data/lib/stripe/params/order_reopen_params.rb +13 -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 +2065 -0
- data/lib/stripe/params/payment_intent_capture_params.rb +1627 -1
- data/lib/stripe/params/payment_intent_confirm_params.rb +3134 -100
- data/lib/stripe/params/payment_intent_create_params.rb +3126 -84
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +73 -0
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +21 -0
- data/lib/stripe/params/payment_intent_list_params.rb +4 -0
- data/lib/stripe/params/payment_intent_trigger_action_params.rb +27 -0
- data/lib/stripe/params/payment_intent_update_params.rb +3158 -85
- data/lib/stripe/params/payment_method_attach_params.rb +4 -1
- data/lib/stripe/params/payment_method_configuration_create_params.rb +126 -0
- data/lib/stripe/params/payment_method_configuration_update_params.rb +126 -0
- data/lib/stripe/params/payment_method_create_params.rb +97 -0
- data/lib/stripe/params/payment_method_list_params.rb +8 -0
- data/lib/stripe/params/payment_method_update_params.rb +19 -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/promotion_code_create_params.rb +4 -0
- data/lib/stripe/params/promotion_code_list_params.rb +4 -0
- data/lib/stripe/params/quote_create_params.rb +805 -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 +8 -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 +813 -4
- data/lib/stripe/params/setup_intent_confirm_params.rb +225 -3
- data/lib/stripe/params/setup_intent_create_params.rb +231 -3
- data/lib/stripe/params/setup_intent_list_params.rb +4 -0
- data/lib/stripe/params/setup_intent_update_params.rb +231 -3
- data/lib/stripe/params/subscription_attach_cadence_params.rb +16 -0
- data/lib/stripe/params/subscription_create_params.rb +259 -5
- data/lib/stripe/params/subscription_item_create_params.rb +46 -2
- data/lib/stripe/params/subscription_item_update_params.rb +29 -1
- data/lib/stripe/params/subscription_list_params.rb +4 -0
- data/lib/stripe/params/subscription_schedule_amend_params.rb +570 -0
- data/lib/stripe/params/subscription_schedule_create_params.rb +167 -5
- data/lib/stripe/params/subscription_schedule_list_params.rb +4 -0
- data/lib/stripe/params/subscription_schedule_update_params.rb +163 -5
- data/lib/stripe/params/subscription_update_params.rb +238 -4
- 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_id_create_params.rb +4 -1
- data/lib/stripe/params/tax_id_list_params.rb +4 -1
- data/lib/stripe/params/terminal/configuration_create_params.rb +13 -0
- data/lib/stripe/params/terminal/configuration_update_params.rb +13 -0
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +15 -0
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +97 -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_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 +223 -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 +229 -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_close_params.rb +17 -0
- data/lib/stripe/params/v2/core/account_create_params.rb +2341 -0
- data/lib/stripe/params/v2/core/account_link_create_params.rb +101 -0
- data/lib/stripe/params/v2/core/account_list_params.rb +23 -0
- data/lib/stripe/params/v2/core/account_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/core/account_token_create_params.rb +1001 -0
- data/lib/stripe/params/v2/core/account_token_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/account_update_params.rb +2387 -0
- data/lib/stripe/params/v2/core/accounts/person_create_params.rb +497 -0
- data/lib/stripe/params/v2/core/accounts/person_delete_params.rb +12 -0
- data/lib/stripe/params/v2/core/accounts/person_list_params.rb +19 -0
- data/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/accounts/person_token_create_params.rb +487 -0
- data/lib/stripe/params/v2/core/accounts/person_token_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/accounts/person_update_params.rb +497 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +50 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +19 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +33 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +22 -0
- data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +48 -0
- data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +28 -0
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +34 -0
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +23 -0
- data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +50 -0
- data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +44 -0
- data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +98 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +52 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +67 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +85 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +80 -0
- 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 +77 -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_archive_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +31 -0
- data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +44 -0
- data/lib/stripe/params/v2/money_management/received_credit_retrieve_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/transaction_entry_list_params.rb +43 -0
- data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/transaction_list_params.rb +47 -0
- data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +23 -0
- data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +10 -0
- data/lib/stripe/params.rb +161 -0
- data/lib/stripe/resources/account.rb +184 -1
- data/lib/stripe/resources/account_notice.rb +94 -0
- data/lib/stripe/resources/account_session.rb +81 -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/billing/credit_balance_summary.rb +2 -0
- data/lib/stripe/resources/billing/credit_grant.rb +2 -0
- data/lib/stripe/resources/billing_portal/session.rb +2 -0
- data/lib/stripe/resources/capital/financing_offer.rb +142 -0
- data/lib/stripe/resources/capital/financing_summary.rb +79 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +99 -0
- data/lib/stripe/resources/card.rb +2 -0
- data/lib/stripe/resources/cash_balance.rb +2 -0
- data/lib/stripe/resources/charge.rb +237 -1
- data/lib/stripe/resources/checkout/session.rb +154 -4
- data/lib/stripe/resources/confirmation_token.rb +155 -0
- data/lib/stripe/resources/coupon.rb +26 -1
- data/lib/stripe/resources/credit_note.rb +2 -0
- data/lib/stripe/resources/credit_note_line_item.rb +18 -0
- data/lib/stripe/resources/customer.rb +2 -0
- data/lib/stripe/resources/customer_balance_transaction.rb +2 -0
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +2 -0
- data/lib/stripe/resources/customer_session.rb +38 -0
- data/lib/stripe/resources/discount.rb +2 -0
- data/lib/stripe/resources/dispute.rb +22 -0
- data/lib/stripe/resources/event.rb +64 -1
- data/lib/stripe/resources/financial_connections/account.rb +27 -0
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +35 -0
- data/lib/stripe/resources/financial_connections/institution.rb +127 -0
- data/lib/stripe/resources/financial_connections/session.rb +67 -1
- data/lib/stripe/resources/fx_quote.rb +147 -0
- data/lib/stripe/resources/identity/verification_session.rb +2 -0
- data/lib/stripe/resources/invoice.rb +152 -1
- data/lib/stripe/resources/invoice_item.rb +4 -0
- data/lib/stripe/resources/invoice_line_item.rb +40 -0
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +263 -0
- 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 +2 -0
- data/lib/stripe/resources/line_item.rb +68 -1
- data/lib/stripe/resources/mandate.rb +71 -0
- data/lib/stripe/resources/margin.rb +64 -0
- data/lib/stripe/resources/order.rb +987 -0
- data/lib/stripe/resources/payment_attempt_record.rb +203 -1
- data/lib/stripe/resources/payment_intent.rb +749 -4
- data/lib/stripe/resources/payment_method.rb +157 -0
- data/lib/stripe/resources/payment_method_configuration.rb +204 -0
- data/lib/stripe/resources/payment_record.rb +203 -1
- data/lib/stripe/resources/price.rb +20 -0
- data/lib/stripe/resources/privacy/redaction_job.rb +187 -0
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +49 -0
- data/lib/stripe/resources/promotion_code.rb +2 -0
- data/lib/stripe/resources/quote.rb +571 -2
- data/lib/stripe/resources/quote_line.rb +521 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +1150 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +732 -0
- data/lib/stripe/resources/refund.rb +18 -0
- data/lib/stripe/resources/setup_attempt.rb +63 -0
- data/lib/stripe/resources/setup_intent.rb +132 -1
- data/lib/stripe/resources/source.rb +38 -0
- data/lib/stripe/resources/subscription.rb +232 -0
- data/lib/stripe/resources/subscription_item.rb +20 -1
- data/lib/stripe/resources/subscription_schedule.rb +198 -3
- data/lib/stripe/resources/tax/form.rb +264 -0
- data/lib/stripe/resources/tax_id.rb +4 -0
- data/lib/stripe/resources/terminal/configuration.rb +16 -0
- data/lib/stripe/resources/terminal/reader.rb +8 -0
- data/lib/stripe/resources/terminal/reader_collected_data.rb +47 -0
- 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_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 +90 -0
- data/lib/stripe/resources/v2/billing/cadence.rb +609 -0
- data/lib/stripe/resources/v2/billing/collection_setting.rb +274 -0
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +262 -0
- data/lib/stripe/resources/v2/billing/profile.rb +46 -0
- data/lib/stripe/resources/v2/core/account.rb +4209 -0
- data/lib/stripe/resources/v2/core/account_link.rb +123 -0
- data/lib/stripe/resources/v2/core/account_person.rb +477 -0
- data/lib/stripe/resources/v2/core/account_person_token.rb +37 -0
- data/lib/stripe/resources/v2/core/account_token.rb +37 -0
- data/lib/stripe/resources/v2/core/event.rb +2 -0
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +114 -0
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +81 -0
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +28 -0
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +30 -0
- data/lib/stripe/resources/v2/money_management/adjustment.rb +67 -0
- data/lib/stripe/resources/v2/money_management/financial_account.rb +140 -0
- data/lib/stripe/resources/v2/money_management/financial_address.rb +132 -0
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +148 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +217 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +144 -0
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +69 -0
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +196 -0
- data/lib/stripe/resources/v2/money_management/payout_method.rb +109 -0
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +81 -0
- data/lib/stripe/resources/v2/money_management/received_credit.rb +228 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +136 -0
- data/lib/stripe/resources/v2/money_management/transaction.rb +116 -0
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +105 -0
- data/lib/stripe/resources.rb +105 -0
- data/lib/stripe/services/account_notice_service.rb +39 -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/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/institution_service.rb +30 -0
- data/lib/stripe/services/financial_connections_service.rb +2 -1
- data/lib/stripe/services/fx_quote_service.rb +27 -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_line_item_service.rb +17 -0
- data/lib/stripe/services/order_service.rb +78 -0
- data/lib/stripe/services/payment_intent_service.rb +37 -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/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/subscription_schedule_service.rb +11 -0
- data/lib/stripe/services/subscription_service.rb +11 -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/v1_services.rb +8 -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 +61 -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/account_link_service.rb +21 -0
- data/lib/stripe/services/v2/core/account_service.rb +77 -0
- data/lib/stripe/services/v2/core/account_token_service.rb +32 -0
- data/lib/stripe/services/v2/core/accounts/person_service.rb +67 -0
- data/lib/stripe/services/v2/core/accounts/person_token_service.rb +34 -0
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +85 -0
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +101 -0
- data/lib/stripe/services/v2/core/vault_service.rb +18 -0
- data/lib/stripe/services/v2/core_service.rb +5 -1
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +70 -0
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +46 -0
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +45 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +34 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +62 -0
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +73 -0
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +60 -0
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +63 -0
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +23 -0
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/transaction_service.rb +32 -0
- data/lib/stripe/services/v2/money_management_service.rb +31 -0
- data/lib/stripe/services/v2/test_helper_service.rb +15 -0
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +36 -0
- data/lib/stripe/services/v2_services.rb +3 -1
- data/lib/stripe/services.rb +56 -0
- data/lib/stripe/stripe_configuration.rb +3 -1
- 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.rbi +156300 -79954
- metadata +325 -3
|
@@ -110,6 +110,8 @@ module Stripe
|
|
|
110
110
|
attr_accessor :name
|
|
111
111
|
# Internal-only description of the product sold by, or service provided by, the business. Used by Stripe for risk and underwriting purposes.
|
|
112
112
|
attr_accessor :product_description
|
|
113
|
+
# A link to the business's publicly available terms related to the Specified Commercial Transaction Act. Used by the Checkout product and for Japanese payment methods.
|
|
114
|
+
attr_accessor :specified_commercial_transactions_act_url
|
|
113
115
|
# A publicly available mailing address for sending support issues to.
|
|
114
116
|
attr_accessor :support_address
|
|
115
117
|
# A publicly available email address for sending support issues to.
|
|
@@ -129,6 +131,7 @@ module Stripe
|
|
|
129
131
|
monthly_estimated_revenue: nil,
|
|
130
132
|
name: nil,
|
|
131
133
|
product_description: nil,
|
|
134
|
+
specified_commercial_transactions_act_url: nil,
|
|
132
135
|
support_address: nil,
|
|
133
136
|
support_email: nil,
|
|
134
137
|
support_phone: nil,
|
|
@@ -142,6 +145,7 @@ module Stripe
|
|
|
142
145
|
@monthly_estimated_revenue = monthly_estimated_revenue
|
|
143
146
|
@name = name
|
|
144
147
|
@product_description = product_description
|
|
148
|
+
@specified_commercial_transactions_act_url = specified_commercial_transactions_act_url
|
|
145
149
|
@support_address = support_address
|
|
146
150
|
@support_email = support_email
|
|
147
151
|
@support_phone = support_phone
|
|
@@ -205,6 +209,15 @@ module Stripe
|
|
|
205
209
|
end
|
|
206
210
|
end
|
|
207
211
|
|
|
212
|
+
class AutomaticIndirectTax < ::Stripe::RequestParams
|
|
213
|
+
# 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.
|
|
214
|
+
attr_accessor :requested
|
|
215
|
+
|
|
216
|
+
def initialize(requested: nil)
|
|
217
|
+
@requested = requested
|
|
218
|
+
end
|
|
219
|
+
end
|
|
220
|
+
|
|
208
221
|
class BacsDebitPayments < ::Stripe::RequestParams
|
|
209
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.
|
|
210
223
|
attr_accessor :requested
|
|
@@ -340,6 +353,15 @@ module Stripe
|
|
|
340
353
|
end
|
|
341
354
|
end
|
|
342
355
|
|
|
356
|
+
class GopayPayments < ::Stripe::RequestParams
|
|
357
|
+
# 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.
|
|
358
|
+
attr_accessor :requested
|
|
359
|
+
|
|
360
|
+
def initialize(requested: nil)
|
|
361
|
+
@requested = requested
|
|
362
|
+
end
|
|
363
|
+
end
|
|
364
|
+
|
|
343
365
|
class GrabpayPayments < ::Stripe::RequestParams
|
|
344
366
|
# 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.
|
|
345
367
|
attr_accessor :requested
|
|
@@ -349,6 +371,24 @@ module Stripe
|
|
|
349
371
|
end
|
|
350
372
|
end
|
|
351
373
|
|
|
374
|
+
class IdBankTransferPayments < ::Stripe::RequestParams
|
|
375
|
+
# 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
|
+
attr_accessor :requested
|
|
377
|
+
|
|
378
|
+
def initialize(requested: nil)
|
|
379
|
+
@requested = requested
|
|
380
|
+
end
|
|
381
|
+
end
|
|
382
|
+
|
|
383
|
+
class IdBankTransferPaymentsBca < ::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
|
+
|
|
352
392
|
class IdealPayments < ::Stripe::RequestParams
|
|
353
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.
|
|
354
394
|
attr_accessor :requested
|
|
@@ -538,6 +578,33 @@ module Stripe
|
|
|
538
578
|
end
|
|
539
579
|
end
|
|
540
580
|
|
|
581
|
+
class PaypalPayments < ::Stripe::RequestParams
|
|
582
|
+
# 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.
|
|
583
|
+
attr_accessor :requested
|
|
584
|
+
|
|
585
|
+
def initialize(requested: nil)
|
|
586
|
+
@requested = requested
|
|
587
|
+
end
|
|
588
|
+
end
|
|
589
|
+
|
|
590
|
+
class PaypayPayments < ::Stripe::RequestParams
|
|
591
|
+
# 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.
|
|
592
|
+
attr_accessor :requested
|
|
593
|
+
|
|
594
|
+
def initialize(requested: nil)
|
|
595
|
+
@requested = requested
|
|
596
|
+
end
|
|
597
|
+
end
|
|
598
|
+
|
|
599
|
+
class PaytoPayments < ::Stripe::RequestParams
|
|
600
|
+
# 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.
|
|
601
|
+
attr_accessor :requested
|
|
602
|
+
|
|
603
|
+
def initialize(requested: nil)
|
|
604
|
+
@requested = requested
|
|
605
|
+
end
|
|
606
|
+
end
|
|
607
|
+
|
|
541
608
|
class PixPayments < ::Stripe::RequestParams
|
|
542
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.
|
|
543
610
|
attr_accessor :requested
|
|
@@ -556,6 +623,24 @@ module Stripe
|
|
|
556
623
|
end
|
|
557
624
|
end
|
|
558
625
|
|
|
626
|
+
class QrisPayments < ::Stripe::RequestParams
|
|
627
|
+
# 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.
|
|
628
|
+
attr_accessor :requested
|
|
629
|
+
|
|
630
|
+
def initialize(requested: nil)
|
|
631
|
+
@requested = requested
|
|
632
|
+
end
|
|
633
|
+
end
|
|
634
|
+
|
|
635
|
+
class RechnungPayments < ::Stripe::RequestParams
|
|
636
|
+
# 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.
|
|
637
|
+
attr_accessor :requested
|
|
638
|
+
|
|
639
|
+
def initialize(requested: nil)
|
|
640
|
+
@requested = requested
|
|
641
|
+
end
|
|
642
|
+
end
|
|
643
|
+
|
|
559
644
|
class RevolutPayPayments < ::Stripe::RequestParams
|
|
560
645
|
# 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.
|
|
561
646
|
attr_accessor :requested
|
|
@@ -601,6 +686,15 @@ module Stripe
|
|
|
601
686
|
end
|
|
602
687
|
end
|
|
603
688
|
|
|
689
|
+
class ShopeepayPayments < ::Stripe::RequestParams
|
|
690
|
+
# 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.
|
|
691
|
+
attr_accessor :requested
|
|
692
|
+
|
|
693
|
+
def initialize(requested: nil)
|
|
694
|
+
@requested = requested
|
|
695
|
+
end
|
|
696
|
+
end
|
|
697
|
+
|
|
604
698
|
class SofortPayments < ::Stripe::RequestParams
|
|
605
699
|
# 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.
|
|
606
700
|
attr_accessor :requested
|
|
@@ -610,6 +704,15 @@ module Stripe
|
|
|
610
704
|
end
|
|
611
705
|
end
|
|
612
706
|
|
|
707
|
+
class StripeBalancePayments < ::Stripe::RequestParams
|
|
708
|
+
# 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.
|
|
709
|
+
attr_accessor :requested
|
|
710
|
+
|
|
711
|
+
def initialize(requested: nil)
|
|
712
|
+
@requested = requested
|
|
713
|
+
end
|
|
714
|
+
end
|
|
715
|
+
|
|
613
716
|
class SwishPayments < ::Stripe::RequestParams
|
|
614
717
|
# 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.
|
|
615
718
|
attr_accessor :requested
|
|
@@ -655,6 +758,33 @@ module Stripe
|
|
|
655
758
|
end
|
|
656
759
|
end
|
|
657
760
|
|
|
761
|
+
class TreasuryEvolve < ::Stripe::RequestParams
|
|
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.
|
|
763
|
+
attr_accessor :requested
|
|
764
|
+
|
|
765
|
+
def initialize(requested: nil)
|
|
766
|
+
@requested = requested
|
|
767
|
+
end
|
|
768
|
+
end
|
|
769
|
+
|
|
770
|
+
class TreasuryFifthThird < ::Stripe::RequestParams
|
|
771
|
+
# 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.
|
|
772
|
+
attr_accessor :requested
|
|
773
|
+
|
|
774
|
+
def initialize(requested: nil)
|
|
775
|
+
@requested = requested
|
|
776
|
+
end
|
|
777
|
+
end
|
|
778
|
+
|
|
779
|
+
class TreasuryGoldmanSachs < ::Stripe::RequestParams
|
|
780
|
+
# 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.
|
|
781
|
+
attr_accessor :requested
|
|
782
|
+
|
|
783
|
+
def initialize(requested: nil)
|
|
784
|
+
@requested = requested
|
|
785
|
+
end
|
|
786
|
+
end
|
|
787
|
+
|
|
658
788
|
class TwintPayments < ::Stripe::RequestParams
|
|
659
789
|
# 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.
|
|
660
790
|
attr_accessor :requested
|
|
@@ -702,6 +832,8 @@ module Stripe
|
|
|
702
832
|
attr_accessor :amazon_pay_payments
|
|
703
833
|
# The au_becs_debit_payments capability.
|
|
704
834
|
attr_accessor :au_becs_debit_payments
|
|
835
|
+
# The automatic_indirect_tax capability.
|
|
836
|
+
attr_accessor :automatic_indirect_tax
|
|
705
837
|
# The bacs_debit_payments capability.
|
|
706
838
|
attr_accessor :bacs_debit_payments
|
|
707
839
|
# The bancontact_payments capability.
|
|
@@ -732,8 +864,14 @@ module Stripe
|
|
|
732
864
|
attr_accessor :gb_bank_transfer_payments
|
|
733
865
|
# The giropay_payments capability.
|
|
734
866
|
attr_accessor :giropay_payments
|
|
867
|
+
# The gopay_payments capability.
|
|
868
|
+
attr_accessor :gopay_payments
|
|
735
869
|
# The grabpay_payments capability.
|
|
736
870
|
attr_accessor :grabpay_payments
|
|
871
|
+
# The id_bank_transfer_payments capability.
|
|
872
|
+
attr_accessor :id_bank_transfer_payments
|
|
873
|
+
# The id_bank_transfer_payments_bca capability.
|
|
874
|
+
attr_accessor :id_bank_transfer_payments_bca
|
|
737
875
|
# The ideal_payments capability.
|
|
738
876
|
attr_accessor :ideal_payments
|
|
739
877
|
# The india_international_payments capability.
|
|
@@ -776,10 +914,20 @@ module Stripe
|
|
|
776
914
|
attr_accessor :payco_payments
|
|
777
915
|
# The paynow_payments capability.
|
|
778
916
|
attr_accessor :paynow_payments
|
|
917
|
+
# The paypal_payments capability.
|
|
918
|
+
attr_accessor :paypal_payments
|
|
919
|
+
# The paypay_payments capability.
|
|
920
|
+
attr_accessor :paypay_payments
|
|
921
|
+
# The payto_payments capability.
|
|
922
|
+
attr_accessor :payto_payments
|
|
779
923
|
# The pix_payments capability.
|
|
780
924
|
attr_accessor :pix_payments
|
|
781
925
|
# The promptpay_payments capability.
|
|
782
926
|
attr_accessor :promptpay_payments
|
|
927
|
+
# The qris_payments capability.
|
|
928
|
+
attr_accessor :qris_payments
|
|
929
|
+
# The rechnung_payments capability.
|
|
930
|
+
attr_accessor :rechnung_payments
|
|
783
931
|
# The revolut_pay_payments capability.
|
|
784
932
|
attr_accessor :revolut_pay_payments
|
|
785
933
|
# The samsung_pay_payments capability.
|
|
@@ -790,8 +938,12 @@ module Stripe
|
|
|
790
938
|
attr_accessor :sepa_bank_transfer_payments
|
|
791
939
|
# The sepa_debit_payments capability.
|
|
792
940
|
attr_accessor :sepa_debit_payments
|
|
941
|
+
# The shopeepay_payments capability.
|
|
942
|
+
attr_accessor :shopeepay_payments
|
|
793
943
|
# The sofort_payments capability.
|
|
794
944
|
attr_accessor :sofort_payments
|
|
945
|
+
# The stripe_balance_payments capability.
|
|
946
|
+
attr_accessor :stripe_balance_payments
|
|
795
947
|
# The swish_payments capability.
|
|
796
948
|
attr_accessor :swish_payments
|
|
797
949
|
# The tax_reporting_us_1099_k capability.
|
|
@@ -802,6 +954,12 @@ module Stripe
|
|
|
802
954
|
attr_accessor :transfers
|
|
803
955
|
# The treasury capability.
|
|
804
956
|
attr_accessor :treasury
|
|
957
|
+
# The treasury_evolve capability.
|
|
958
|
+
attr_accessor :treasury_evolve
|
|
959
|
+
# The treasury_fifth_third capability.
|
|
960
|
+
attr_accessor :treasury_fifth_third
|
|
961
|
+
# The treasury_goldman_sachs capability.
|
|
962
|
+
attr_accessor :treasury_goldman_sachs
|
|
805
963
|
# The twint_payments capability.
|
|
806
964
|
attr_accessor :twint_payments
|
|
807
965
|
# The us_bank_account_ach_payments capability.
|
|
@@ -818,6 +976,7 @@ module Stripe
|
|
|
818
976
|
alma_payments: nil,
|
|
819
977
|
amazon_pay_payments: nil,
|
|
820
978
|
au_becs_debit_payments: nil,
|
|
979
|
+
automatic_indirect_tax: nil,
|
|
821
980
|
bacs_debit_payments: nil,
|
|
822
981
|
bancontact_payments: nil,
|
|
823
982
|
bank_transfer_payments: nil,
|
|
@@ -833,7 +992,10 @@ module Stripe
|
|
|
833
992
|
fpx_payments: nil,
|
|
834
993
|
gb_bank_transfer_payments: nil,
|
|
835
994
|
giropay_payments: nil,
|
|
995
|
+
gopay_payments: nil,
|
|
836
996
|
grabpay_payments: nil,
|
|
997
|
+
id_bank_transfer_payments: nil,
|
|
998
|
+
id_bank_transfer_payments_bca: nil,
|
|
837
999
|
ideal_payments: nil,
|
|
838
1000
|
india_international_payments: nil,
|
|
839
1001
|
jcb_payments: nil,
|
|
@@ -855,19 +1017,29 @@ module Stripe
|
|
|
855
1017
|
pay_by_bank_payments: nil,
|
|
856
1018
|
payco_payments: nil,
|
|
857
1019
|
paynow_payments: nil,
|
|
1020
|
+
paypal_payments: nil,
|
|
1021
|
+
paypay_payments: nil,
|
|
1022
|
+
payto_payments: nil,
|
|
858
1023
|
pix_payments: nil,
|
|
859
1024
|
promptpay_payments: nil,
|
|
1025
|
+
qris_payments: nil,
|
|
1026
|
+
rechnung_payments: nil,
|
|
860
1027
|
revolut_pay_payments: nil,
|
|
861
1028
|
samsung_pay_payments: nil,
|
|
862
1029
|
satispay_payments: nil,
|
|
863
1030
|
sepa_bank_transfer_payments: nil,
|
|
864
1031
|
sepa_debit_payments: nil,
|
|
1032
|
+
shopeepay_payments: nil,
|
|
865
1033
|
sofort_payments: nil,
|
|
1034
|
+
stripe_balance_payments: nil,
|
|
866
1035
|
swish_payments: nil,
|
|
867
1036
|
tax_reporting_us_1099_k: nil,
|
|
868
1037
|
tax_reporting_us_1099_misc: nil,
|
|
869
1038
|
transfers: nil,
|
|
870
1039
|
treasury: nil,
|
|
1040
|
+
treasury_evolve: nil,
|
|
1041
|
+
treasury_fifth_third: nil,
|
|
1042
|
+
treasury_goldman_sachs: nil,
|
|
871
1043
|
twint_payments: nil,
|
|
872
1044
|
us_bank_account_ach_payments: nil,
|
|
873
1045
|
us_bank_transfer_payments: nil,
|
|
@@ -879,6 +1051,7 @@ module Stripe
|
|
|
879
1051
|
@alma_payments = alma_payments
|
|
880
1052
|
@amazon_pay_payments = amazon_pay_payments
|
|
881
1053
|
@au_becs_debit_payments = au_becs_debit_payments
|
|
1054
|
+
@automatic_indirect_tax = automatic_indirect_tax
|
|
882
1055
|
@bacs_debit_payments = bacs_debit_payments
|
|
883
1056
|
@bancontact_payments = bancontact_payments
|
|
884
1057
|
@bank_transfer_payments = bank_transfer_payments
|
|
@@ -894,7 +1067,10 @@ module Stripe
|
|
|
894
1067
|
@fpx_payments = fpx_payments
|
|
895
1068
|
@gb_bank_transfer_payments = gb_bank_transfer_payments
|
|
896
1069
|
@giropay_payments = giropay_payments
|
|
1070
|
+
@gopay_payments = gopay_payments
|
|
897
1071
|
@grabpay_payments = grabpay_payments
|
|
1072
|
+
@id_bank_transfer_payments = id_bank_transfer_payments
|
|
1073
|
+
@id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
|
|
898
1074
|
@ideal_payments = ideal_payments
|
|
899
1075
|
@india_international_payments = india_international_payments
|
|
900
1076
|
@jcb_payments = jcb_payments
|
|
@@ -916,19 +1092,29 @@ module Stripe
|
|
|
916
1092
|
@pay_by_bank_payments = pay_by_bank_payments
|
|
917
1093
|
@payco_payments = payco_payments
|
|
918
1094
|
@paynow_payments = paynow_payments
|
|
1095
|
+
@paypal_payments = paypal_payments
|
|
1096
|
+
@paypay_payments = paypay_payments
|
|
1097
|
+
@payto_payments = payto_payments
|
|
919
1098
|
@pix_payments = pix_payments
|
|
920
1099
|
@promptpay_payments = promptpay_payments
|
|
1100
|
+
@qris_payments = qris_payments
|
|
1101
|
+
@rechnung_payments = rechnung_payments
|
|
921
1102
|
@revolut_pay_payments = revolut_pay_payments
|
|
922
1103
|
@samsung_pay_payments = samsung_pay_payments
|
|
923
1104
|
@satispay_payments = satispay_payments
|
|
924
1105
|
@sepa_bank_transfer_payments = sepa_bank_transfer_payments
|
|
925
1106
|
@sepa_debit_payments = sepa_debit_payments
|
|
1107
|
+
@shopeepay_payments = shopeepay_payments
|
|
926
1108
|
@sofort_payments = sofort_payments
|
|
1109
|
+
@stripe_balance_payments = stripe_balance_payments
|
|
927
1110
|
@swish_payments = swish_payments
|
|
928
1111
|
@tax_reporting_us_1099_k = tax_reporting_us_1099_k
|
|
929
1112
|
@tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
|
|
930
1113
|
@transfers = transfers
|
|
931
1114
|
@treasury = treasury
|
|
1115
|
+
@treasury_evolve = treasury_evolve
|
|
1116
|
+
@treasury_fifth_third = treasury_fifth_third
|
|
1117
|
+
@treasury_goldman_sachs = treasury_goldman_sachs
|
|
932
1118
|
@twint_payments = twint_payments
|
|
933
1119
|
@us_bank_account_ach_payments = us_bank_account_ach_payments
|
|
934
1120
|
@us_bank_transfer_payments = us_bank_transfer_payments
|
|
@@ -1298,6 +1484,30 @@ module Stripe
|
|
|
1298
1484
|
end
|
|
1299
1485
|
|
|
1300
1486
|
class Controller < ::Stripe::RequestParams
|
|
1487
|
+
class Application < ::Stripe::RequestParams
|
|
1488
|
+
# Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
|
|
1489
|
+
attr_accessor :loss_liable
|
|
1490
|
+
# Whether the controller owns onboarding for this account.
|
|
1491
|
+
attr_accessor :onboarding_owner
|
|
1492
|
+
# Whether the controller has pricing controls for this account.
|
|
1493
|
+
attr_accessor :pricing_controls
|
|
1494
|
+
|
|
1495
|
+
def initialize(loss_liable: nil, onboarding_owner: nil, pricing_controls: nil)
|
|
1496
|
+
@loss_liable = loss_liable
|
|
1497
|
+
@onboarding_owner = onboarding_owner
|
|
1498
|
+
@pricing_controls = pricing_controls
|
|
1499
|
+
end
|
|
1500
|
+
end
|
|
1501
|
+
|
|
1502
|
+
class Dashboard < ::Stripe::RequestParams
|
|
1503
|
+
# 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`.
|
|
1504
|
+
attr_accessor :type
|
|
1505
|
+
|
|
1506
|
+
def initialize(type: nil)
|
|
1507
|
+
@type = type
|
|
1508
|
+
end
|
|
1509
|
+
end
|
|
1510
|
+
|
|
1301
1511
|
class Fees < ::Stripe::RequestParams
|
|
1302
1512
|
# A value indicating the responsible payer of Stripe fees on this account. Defaults to `account`. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
|
|
1303
1513
|
attr_accessor :payer
|
|
@@ -1324,6 +1534,10 @@ module Stripe
|
|
|
1324
1534
|
@type = type
|
|
1325
1535
|
end
|
|
1326
1536
|
end
|
|
1537
|
+
# A hash of configuration describing the Connect application that controls the account.
|
|
1538
|
+
attr_accessor :application
|
|
1539
|
+
# Properties of the account's dashboard.
|
|
1540
|
+
attr_accessor :dashboard
|
|
1327
1541
|
# A hash of configuration for who pays Stripe fees for product usage on this account.
|
|
1328
1542
|
attr_accessor :fees
|
|
1329
1543
|
# A hash of configuration for products that have negative balance liability, and whether Stripe or a Connect application is responsible for them.
|
|
@@ -1333,7 +1547,16 @@ module Stripe
|
|
|
1333
1547
|
# A hash of configuration for Stripe-hosted dashboards.
|
|
1334
1548
|
attr_accessor :stripe_dashboard
|
|
1335
1549
|
|
|
1336
|
-
def initialize(
|
|
1550
|
+
def initialize(
|
|
1551
|
+
application: nil,
|
|
1552
|
+
dashboard: nil,
|
|
1553
|
+
fees: nil,
|
|
1554
|
+
losses: nil,
|
|
1555
|
+
requirement_collection: nil,
|
|
1556
|
+
stripe_dashboard: nil
|
|
1557
|
+
)
|
|
1558
|
+
@application = application
|
|
1559
|
+
@dashboard = dashboard
|
|
1337
1560
|
@fees = fees
|
|
1338
1561
|
@losses = losses
|
|
1339
1562
|
@requirement_collection = requirement_collection
|
|
@@ -1780,6 +2003,37 @@ module Stripe
|
|
|
1780
2003
|
end
|
|
1781
2004
|
end
|
|
1782
2005
|
|
|
2006
|
+
class RiskControls < ::Stripe::RequestParams
|
|
2007
|
+
class Charges < ::Stripe::RequestParams
|
|
2008
|
+
# To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
2009
|
+
# There can be a delay before the risk control is paused or unpaused.
|
|
2010
|
+
attr_accessor :pause_requested
|
|
2011
|
+
|
|
2012
|
+
def initialize(pause_requested: nil)
|
|
2013
|
+
@pause_requested = pause_requested
|
|
2014
|
+
end
|
|
2015
|
+
end
|
|
2016
|
+
|
|
2017
|
+
class Payouts < ::Stripe::RequestParams
|
|
2018
|
+
# To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
2019
|
+
# There can be a delay before the risk control is paused or unpaused.
|
|
2020
|
+
attr_accessor :pause_requested
|
|
2021
|
+
|
|
2022
|
+
def initialize(pause_requested: nil)
|
|
2023
|
+
@pause_requested = pause_requested
|
|
2024
|
+
end
|
|
2025
|
+
end
|
|
2026
|
+
# Represents the risk control status of charges. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
2027
|
+
attr_accessor :charges
|
|
2028
|
+
# Represents the risk control status of payouts. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
2029
|
+
attr_accessor :payouts
|
|
2030
|
+
|
|
2031
|
+
def initialize(charges: nil, payouts: nil)
|
|
2032
|
+
@charges = charges
|
|
2033
|
+
@payouts = payouts
|
|
2034
|
+
end
|
|
2035
|
+
end
|
|
2036
|
+
|
|
1783
2037
|
class Settings < ::Stripe::RequestParams
|
|
1784
2038
|
class BacsDebitPayments < ::Stripe::RequestParams
|
|
1785
2039
|
# 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.
|
|
@@ -1790,6 +2044,18 @@ module Stripe
|
|
|
1790
2044
|
end
|
|
1791
2045
|
end
|
|
1792
2046
|
|
|
2047
|
+
class BankBcaOnboarding < ::Stripe::RequestParams
|
|
2048
|
+
# Bank BCA business account holder name
|
|
2049
|
+
attr_accessor :account_holder_name
|
|
2050
|
+
# Bank BCA business account number
|
|
2051
|
+
attr_accessor :business_account_number
|
|
2052
|
+
|
|
2053
|
+
def initialize(account_holder_name: nil, business_account_number: nil)
|
|
2054
|
+
@account_holder_name = account_holder_name
|
|
2055
|
+
@business_account_number = business_account_number
|
|
2056
|
+
end
|
|
2057
|
+
end
|
|
2058
|
+
|
|
1793
2059
|
class Branding < ::Stripe::RequestParams
|
|
1794
2060
|
# (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.
|
|
1795
2061
|
attr_accessor :icon
|
|
@@ -1808,6 +2074,18 @@ module Stripe
|
|
|
1808
2074
|
end
|
|
1809
2075
|
end
|
|
1810
2076
|
|
|
2077
|
+
class Capital < ::Stripe::RequestParams
|
|
2078
|
+
# Per-currency mapping of user-selected destination accounts used to pay out loans.
|
|
2079
|
+
attr_accessor :payout_destination
|
|
2080
|
+
# Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
|
2081
|
+
attr_accessor :payout_destination_selector
|
|
2082
|
+
|
|
2083
|
+
def initialize(payout_destination: nil, payout_destination_selector: nil)
|
|
2084
|
+
@payout_destination = payout_destination
|
|
2085
|
+
@payout_destination_selector = payout_destination_selector
|
|
2086
|
+
end
|
|
2087
|
+
end
|
|
2088
|
+
|
|
1811
2089
|
class CardIssuing < ::Stripe::RequestParams
|
|
1812
2090
|
class TosAcceptance < ::Stripe::RequestParams
|
|
1813
2091
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
|
@@ -1938,6 +2216,24 @@ module Stripe
|
|
|
1938
2216
|
end
|
|
1939
2217
|
end
|
|
1940
2218
|
|
|
2219
|
+
class PaypayPayments < ::Stripe::RequestParams
|
|
2220
|
+
# Whether your business sells digital content or not.
|
|
2221
|
+
attr_accessor :goods_type
|
|
2222
|
+
|
|
2223
|
+
def initialize(goods_type: nil)
|
|
2224
|
+
@goods_type = goods_type
|
|
2225
|
+
end
|
|
2226
|
+
end
|
|
2227
|
+
|
|
2228
|
+
class TaxForms < ::Stripe::RequestParams
|
|
2229
|
+
# Whether the account opted out of receiving their tax forms by postal delivery.
|
|
2230
|
+
attr_accessor :consented_to_paperless_delivery
|
|
2231
|
+
|
|
2232
|
+
def initialize(consented_to_paperless_delivery: nil)
|
|
2233
|
+
@consented_to_paperless_delivery = consented_to_paperless_delivery
|
|
2234
|
+
end
|
|
2235
|
+
end
|
|
2236
|
+
|
|
1941
2237
|
class Treasury < ::Stripe::RequestParams
|
|
1942
2238
|
class TosAcceptance < ::Stripe::RequestParams
|
|
1943
2239
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
|
@@ -1962,8 +2258,12 @@ module Stripe
|
|
|
1962
2258
|
end
|
|
1963
2259
|
# Settings specific to Bacs Direct Debit.
|
|
1964
2260
|
attr_accessor :bacs_debit_payments
|
|
2261
|
+
# Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
|
2262
|
+
attr_accessor :bank_bca_onboarding
|
|
1965
2263
|
# Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
|
1966
2264
|
attr_accessor :branding
|
|
2265
|
+
# Settings specific to the account's use of the Capital product.
|
|
2266
|
+
attr_accessor :capital
|
|
1967
2267
|
# Settings specific to the account's use of the Card Issuing product.
|
|
1968
2268
|
attr_accessor :card_issuing
|
|
1969
2269
|
# Settings specific to card charging on the account.
|
|
@@ -1974,26 +2274,38 @@ module Stripe
|
|
|
1974
2274
|
attr_accessor :payments
|
|
1975
2275
|
# Settings specific to the account's payouts.
|
|
1976
2276
|
attr_accessor :payouts
|
|
2277
|
+
# Settings specific to the PayPay payments method.
|
|
2278
|
+
attr_accessor :paypay_payments
|
|
2279
|
+
# Settings specific to the account's tax forms.
|
|
2280
|
+
attr_accessor :tax_forms
|
|
1977
2281
|
# Settings specific to the account's Treasury FinancialAccounts.
|
|
1978
2282
|
attr_accessor :treasury
|
|
1979
2283
|
|
|
1980
2284
|
def initialize(
|
|
1981
2285
|
bacs_debit_payments: nil,
|
|
2286
|
+
bank_bca_onboarding: nil,
|
|
1982
2287
|
branding: nil,
|
|
2288
|
+
capital: nil,
|
|
1983
2289
|
card_issuing: nil,
|
|
1984
2290
|
card_payments: nil,
|
|
1985
2291
|
invoices: nil,
|
|
1986
2292
|
payments: nil,
|
|
1987
2293
|
payouts: nil,
|
|
2294
|
+
paypay_payments: nil,
|
|
2295
|
+
tax_forms: nil,
|
|
1988
2296
|
treasury: nil
|
|
1989
2297
|
)
|
|
1990
2298
|
@bacs_debit_payments = bacs_debit_payments
|
|
2299
|
+
@bank_bca_onboarding = bank_bca_onboarding
|
|
1991
2300
|
@branding = branding
|
|
2301
|
+
@capital = capital
|
|
1992
2302
|
@card_issuing = card_issuing
|
|
1993
2303
|
@card_payments = card_payments
|
|
1994
2304
|
@invoices = invoices
|
|
1995
2305
|
@payments = payments
|
|
1996
2306
|
@payouts = payouts
|
|
2307
|
+
@paypay_payments = paypay_payments
|
|
2308
|
+
@tax_forms = tax_forms
|
|
1997
2309
|
@treasury = treasury
|
|
1998
2310
|
end
|
|
1999
2311
|
end
|
|
@@ -2052,6 +2364,8 @@ module Stripe
|
|
|
2052
2364
|
attr_accessor :individual
|
|
2053
2365
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
2054
2366
|
attr_accessor :metadata
|
|
2367
|
+
# A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
2368
|
+
attr_accessor :risk_controls
|
|
2055
2369
|
# Options for customizing how the account functions within Stripe.
|
|
2056
2370
|
attr_accessor :settings
|
|
2057
2371
|
# 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.
|
|
@@ -2075,6 +2389,7 @@ module Stripe
|
|
|
2075
2389
|
groups: nil,
|
|
2076
2390
|
individual: nil,
|
|
2077
2391
|
metadata: nil,
|
|
2392
|
+
risk_controls: nil,
|
|
2078
2393
|
settings: nil,
|
|
2079
2394
|
tos_acceptance: nil,
|
|
2080
2395
|
type: nil
|
|
@@ -2094,6 +2409,7 @@ module Stripe
|
|
|
2094
2409
|
@groups = groups
|
|
2095
2410
|
@individual = individual
|
|
2096
2411
|
@metadata = metadata
|
|
2412
|
+
@risk_controls = risk_controls
|
|
2097
2413
|
@settings = settings
|
|
2098
2414
|
@tos_acceptance = tos_acceptance
|
|
2099
2415
|
@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://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
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
|