stripe 15.5.0 → 15.6.0.pre.alpha.2
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/API_VERSION +1 -1
- data/CHANGELOG.md +1723 -642
- data/OPENAPI_VERSION +1 -1
- data/VERSION +1 -1
- 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 +185 -0
- data/lib/stripe/events/v2_billing_cadence_billed_event.rb +21 -0
- data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_billing_cadence_created_event.rb +23 -0
- data/lib/stripe/events/v2_billing_cadence_errored_event.rb +21 -0
- data/lib/stripe/events/v2_billing_license_fee_created_event.rb +21 -0
- data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +21 -0
- data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +23 -0
- data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +21 -0
- data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +21 -0
- data/lib/stripe/events/v2_billing_metered_item_created_event.rb +21 -0
- data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +21 -0
- data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +23 -0
- data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +23 -0
- data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +21 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +21 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +21 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +21 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +21 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +21 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +21 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +21 -0
- data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +21 -0
- data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +23 -0
- data/lib/stripe/events/v2_billing_rate_card_created_event.rb +23 -0
- data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +23 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +21 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +21 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +21 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +21 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +21 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +21 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +21 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +21 -0
- data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +21 -0
- data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_closed_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_created_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_link_returned_event.rb +13 -0
- data/lib/stripe/events/v2_core_account_person_created_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_person_deleted_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_person_updated_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +13 -0
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +23 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +23 -0
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +22 -0
- data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +21 -0
- data/lib/stripe/events/v2_reporting_report_run_created_event.rb +21 -0
- data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +21 -0
- data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +21 -0
- data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +21 -0
- data/lib/stripe/object_types.rb +80 -0
- data/lib/stripe/resources/account.rb +1137 -42
- data/lib/stripe/resources/account_link.rb +8 -0
- data/lib/stripe/resources/account_notice.rb +147 -0
- data/lib/stripe/resources/account_session.rb +688 -8
- data/lib/stripe/resources/apple_pay_domain.rb +8 -0
- data/lib/stripe/resources/application.rb +8 -0
- data/lib/stripe/resources/application_fee.rb +16 -0
- data/lib/stripe/resources/application_fee_refund.rb +8 -0
- data/lib/stripe/resources/apps/secret.rb +16 -0
- data/lib/stripe/resources/balance.rb +159 -0
- data/lib/stripe/resources/balance_settings.rb +152 -0
- data/lib/stripe/resources/balance_transaction.rb +16 -0
- data/lib/stripe/resources/bank_account.rb +40 -0
- data/lib/stripe/resources/billing/alert.rb +203 -1
- data/lib/stripe/resources/billing/alert_triggered.rb +14 -0
- data/lib/stripe/resources/billing/credit_balance_summary.rb +132 -0
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +161 -0
- data/lib/stripe/resources/billing/credit_grant.rb +143 -2
- data/lib/stripe/resources/billing/meter.rb +45 -0
- data/lib/stripe/resources/billing/meter_event.rb +8 -0
- data/lib/stripe/resources/billing/meter_event_adjustment.rb +16 -0
- data/lib/stripe/resources/billing/meter_event_summary.rb +8 -0
- data/lib/stripe/resources/billing/meter_usage.rb +31 -0
- data/lib/stripe/resources/billing/meter_usage_row.rb +36 -0
- data/lib/stripe/resources/billing_portal/configuration.rb +122 -0
- data/lib/stripe/resources/billing_portal/session.rb +107 -0
- data/lib/stripe/resources/capability.rb +56 -0
- data/lib/stripe/resources/capital/financing_offer.rb +203 -0
- data/lib/stripe/resources/capital/financing_summary.rb +79 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +138 -0
- data/lib/stripe/resources/card.rb +18 -0
- data/lib/stripe/resources/cash_balance.rb +18 -0
- data/lib/stripe/resources/charge.rb +2587 -15
- data/lib/stripe/resources/checkout/session.rb +1583 -15
- data/lib/stripe/resources/climate/order.rb +32 -0
- data/lib/stripe/resources/climate/product.rb +16 -0
- data/lib/stripe/resources/climate/supplier.rb +16 -0
- data/lib/stripe/resources/confirmation_token.rb +1126 -34
- data/lib/stripe/resources/connect_collection_transfer.rb +8 -0
- data/lib/stripe/resources/country_spec.rb +32 -0
- data/lib/stripe/resources/coupon.rb +66 -1
- data/lib/stripe/resources/credit_note.rb +76 -0
- data/lib/stripe/resources/credit_note_line_item.rb +62 -0
- data/lib/stripe/resources/customer.rb +79 -0
- data/lib/stripe/resources/customer_balance_transaction.rb +10 -0
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +110 -0
- data/lib/stripe/resources/customer_session.rb +58 -1
- data/lib/stripe/resources/discount.rb +10 -0
- data/lib/stripe/resources/dispute.rb +177 -0
- data/lib/stripe/resources/entitlements/active_entitlement.rb +8 -0
- data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +8 -0
- data/lib/stripe/resources/entitlements/feature.rb +8 -0
- data/lib/stripe/resources/ephemeral_key.rb +8 -0
- data/lib/stripe/resources/event.rb +87 -0
- data/lib/stripe/resources/exchange_rate.rb +8 -0
- data/lib/stripe/resources/file.rb +8 -0
- data/lib/stripe/resources/file_link.rb +8 -0
- data/lib/stripe/resources/financial_connections/account.rb +101 -1
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +35 -0
- data/lib/stripe/resources/financial_connections/account_owner.rb +8 -0
- data/lib/stripe/resources/financial_connections/account_ownership.rb +8 -0
- data/lib/stripe/resources/financial_connections/institution.rb +145 -0
- data/lib/stripe/resources/financial_connections/session.rb +124 -2
- data/lib/stripe/resources/financial_connections/transaction.rb +16 -0
- data/lib/stripe/resources/forwarding/request.rb +52 -0
- data/lib/stripe/resources/funding_instructions.rb +193 -0
- data/lib/stripe/resources/fx_quote.rb +234 -0
- data/lib/stripe/resources/identity/verification_report.rb +166 -1
- data/lib/stripe/resources/identity/verification_session.rb +136 -1
- data/lib/stripe/resources/invoice.rb +1591 -18
- data/lib/stripe/resources/invoice_item.rb +214 -2
- data/lib/stripe/resources/invoice_line_item.rb +293 -1
- data/lib/stripe/resources/invoice_payment.rb +30 -1
- data/lib/stripe/resources/invoice_rendering_template.rb +8 -0
- data/lib/stripe/resources/issuing/authorization.rb +177 -0
- data/lib/stripe/resources/issuing/card.rb +96 -8
- data/lib/stripe/resources/issuing/cardholder.rb +112 -1
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +684 -0
- data/lib/stripe/resources/issuing/dispute.rb +97 -0
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +98 -0
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +94 -0
- data/lib/stripe/resources/issuing/personalization_design.rb +36 -0
- data/lib/stripe/resources/issuing/physical_bundle.rb +16 -0
- data/lib/stripe/resources/issuing/settlement.rb +61 -0
- data/lib/stripe/resources/issuing/token.rb +61 -0
- data/lib/stripe/resources/issuing/transaction.rb +157 -0
- data/lib/stripe/resources/line_item.rb +91 -0
- data/lib/stripe/resources/login_link.rb +8 -0
- data/lib/stripe/resources/mandate.rb +331 -12
- data/lib/stripe/resources/margin.rb +123 -0
- data/lib/stripe/resources/order.rb +3306 -0
- data/lib/stripe/resources/payment_attempt_record.rb +2056 -0
- data/lib/stripe/resources/payment_intent.rb +11019 -3714
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +128 -0
- data/lib/stripe/resources/payment_link.rb +337 -0
- data/lib/stripe/resources/payment_method.rb +1074 -35
- data/lib/stripe/resources/payment_method_configuration.rb +1260 -4
- data/lib/stripe/resources/payment_method_domain.rb +111 -0
- data/lib/stripe/resources/payment_record.rb +2602 -0
- data/lib/stripe/resources/payout.rb +16 -0
- data/lib/stripe/resources/person.rb +180 -0
- data/lib/stripe/resources/plan.rb +24 -0
- data/lib/stripe/resources/price.rb +109 -0
- data/lib/stripe/resources/privacy/redaction_job.rb +314 -0
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +49 -0
- data/lib/stripe/resources/product.rb +27 -0
- data/lib/stripe/resources/product_feature.rb +8 -0
- data/lib/stripe/resources/promotion_code.rb +34 -0
- data/lib/stripe/resources/quote.rb +2512 -49
- data/lib/stripe/resources/quote_line.rb +521 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +1134 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +718 -0
- data/lib/stripe/resources/radar/early_fraud_warning.rb +8 -0
- data/lib/stripe/resources/radar/value_list.rb +8 -0
- data/lib/stripe/resources/radar/value_list_item.rb +8 -0
- data/lib/stripe/resources/refund.rb +389 -19
- data/lib/stripe/resources/reporting/report_run.rb +16 -0
- data/lib/stripe/resources/reporting/report_type.rb +8 -0
- data/lib/stripe/resources/reserve_transaction.rb +8 -0
- data/lib/stripe/resources/reversal.rb +8 -0
- data/lib/stripe/resources/review.rb +24 -0
- data/lib/stripe/resources/setup_attempt.rb +352 -17
- data/lib/stripe/resources/setup_intent.rb +1065 -12
- data/lib/stripe/resources/shipping_rate.rb +48 -0
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +16 -0
- data/lib/stripe/resources/source.rb +303 -0
- data/lib/stripe/resources/source_mandate_notification.rb +32 -0
- data/lib/stripe/resources/source_transaction.rb +54 -0
- data/lib/stripe/resources/subscription.rb +720 -11
- data/lib/stripe/resources/subscription_item.rb +108 -3
- data/lib/stripe/resources/subscription_schedule.rb +1321 -10
- data/lib/stripe/resources/tax/association.rb +98 -0
- data/lib/stripe/resources/tax/calculation.rb +109 -0
- data/lib/stripe/resources/tax/calculation_line_item.rb +32 -0
- data/lib/stripe/resources/tax/form.rb +318 -0
- data/lib/stripe/resources/tax/registration.rb +1232 -0
- data/lib/stripe/resources/tax/settings.rb +61 -1
- data/lib/stripe/resources/tax/transaction.rb +93 -0
- data/lib/stripe/resources/tax/transaction_line_item.rb +16 -0
- data/lib/stripe/resources/tax_code.rb +8 -0
- data/lib/stripe/resources/tax_deducted_at_source.rb +8 -0
- data/lib/stripe/resources/tax_id.rb +36 -2
- data/lib/stripe/resources/tax_rate.rb +16 -0
- data/lib/stripe/resources/terminal/configuration.rb +332 -0
- data/lib/stripe/resources/terminal/connection_token.rb +8 -0
- data/lib/stripe/resources/terminal/location.rb +16 -0
- data/lib/stripe/resources/terminal/onboarding_link.rb +108 -0
- data/lib/stripe/resources/terminal/reader.rb +249 -0
- data/lib/stripe/resources/terminal/reader_collected_data.rb +47 -0
- data/lib/stripe/resources/test_helpers/test_clock.rb +24 -0
- data/lib/stripe/resources/token.rb +8 -0
- data/lib/stripe/resources/topup.rb +8 -0
- data/lib/stripe/resources/transfer.rb +14 -0
- data/lib/stripe/resources/treasury/credit_reversal.rb +16 -0
- data/lib/stripe/resources/treasury/debit_reversal.rb +24 -0
- data/lib/stripe/resources/treasury/financial_account.rb +83 -3
- data/lib/stripe/resources/treasury/financial_account_features.rb +194 -0
- data/lib/stripe/resources/treasury/inbound_transfer.rb +69 -0
- data/lib/stripe/resources/treasury/outbound_payment.rb +106 -0
- data/lib/stripe/resources/treasury/outbound_transfer.rb +151 -0
- data/lib/stripe/resources/treasury/received_credit.rb +135 -1
- data/lib/stripe/resources/treasury/received_debit.rb +129 -1
- data/lib/stripe/resources/treasury/transaction.rb +36 -0
- data/lib/stripe/resources/treasury/transaction_entry.rb +24 -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 +323 -0
- data/lib/stripe/resources/v2/billing/collection_setting.rb +296 -0
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +284 -0
- data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +43 -0
- data/lib/stripe/resources/v2/billing/intent.rb +86 -0
- data/lib/stripe/resources/v2/billing/intent_action.rb +395 -0
- data/lib/stripe/resources/v2/billing/license_fee.rb +103 -0
- data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +44 -0
- data/lib/stripe/resources/v2/billing/license_fee_version.rb +80 -0
- data/lib/stripe/resources/v2/billing/licensed_item.rb +60 -0
- data/lib/stripe/resources/v2/billing/meter_event.rb +8 -0
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +16 -0
- data/lib/stripe/resources/v2/billing/meter_event_session.rb +8 -0
- data/lib/stripe/resources/v2/billing/metered_item.rb +85 -0
- data/lib/stripe/resources/v2/billing/pricing_plan.rb +51 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +94 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +90 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +38 -0
- data/lib/stripe/resources/v2/billing/profile.rb +46 -0
- data/lib/stripe/resources/v2/billing/rate_card.rb +61 -0
- data/lib/stripe/resources/v2/billing/rate_card_rate.rb +107 -0
- data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +90 -0
- data/lib/stripe/resources/v2/billing/rate_card_version.rb +34 -0
- data/lib/stripe/resources/v2/billing/service_action.rb +232 -0
- data/lib/stripe/resources/v2/core/account.rb +3838 -0
- data/lib/stripe/resources/v2/core/account_link.rb +123 -0
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +81 -0
- data/lib/stripe/resources/v2/core/person.rb +477 -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 +47 -0
- data/lib/stripe/resources/v2/event.rb +26 -0
- data/lib/stripe/resources/v2/event_destination.rb +44 -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 +100 -0
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +181 -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 +199 -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/v2/payments/off_session_payment.rb +113 -0
- data/lib/stripe/resources/v2/reporting/report.rb +116 -0
- data/lib/stripe/resources/v2/reporting/report_run.rb +158 -0
- data/lib/stripe/resources/v2/tax/automatic_rule.rb +39 -0
- data/lib/stripe/resources/webhook_endpoint.rb +8 -0
- data/lib/stripe/resources.rb +194 -0
- data/lib/stripe/services/account_notice_service.rb +101 -0
- data/lib/stripe/services/account_service.rb +562 -1
- data/lib/stripe/services/account_session_service.rb +226 -1
- data/lib/stripe/services/balance_settings_service.rb +99 -0
- data/lib/stripe/services/billing/alert_service.rb +75 -1
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +17 -2
- data/lib/stripe/services/billing/credit_balance_transaction_service.rb +4 -0
- data/lib/stripe/services/billing/credit_grant_service.rb +37 -2
- data/lib/stripe/services/billing/meter_usage_service.rb +76 -0
- data/lib/stripe/services/billing_portal/session_service.rb +4 -0
- data/lib/stripe/services/billing_service.rb +2 -1
- data/lib/stripe/services/capital/financing_offer_service.rb +112 -0
- data/lib/stripe/services/capital/financing_summary_service.rb +28 -0
- data/lib/stripe/services/capital/financing_transaction_service.rb +79 -0
- data/lib/stripe/services/capital_service.rb +15 -0
- data/lib/stripe/services/charge_service.rb +1418 -0
- data/lib/stripe/services/checkout/session_service.rb +472 -5
- data/lib/stripe/services/coupon_service.rb +17 -1
- data/lib/stripe/services/credit_note_service.rb +4 -0
- data/lib/stripe/services/customer_session_service.rb +4 -1
- data/{rbi/stripe/services/account_external_account_service.rbi → lib/stripe/services/external_account_service.rb} +135 -122
- data/{rbi/stripe/services/tax/transaction_line_item_service.rbi → lib/stripe/services/financial_connections/account_inferred_balance_service.rb} +21 -17
- data/lib/stripe/services/financial_connections/account_service.rb +7 -2
- data/{rbi/stripe/services/climate/supplier_service.rbi → lib/stripe/services/financial_connections/institution_service.rb} +36 -25
- data/lib/stripe/services/financial_connections/session_service.rb +34 -2
- data/lib/stripe/services/financial_connections_service.rb +2 -1
- data/lib/stripe/services/fx_quote_service.rb +123 -0
- data/lib/stripe/services/identity/verification_session_service.rb +8 -0
- data/lib/stripe/services/invoice_item_service.rb +74 -2
- data/lib/stripe/services/invoice_line_item_service.rb +33 -1
- data/lib/stripe/services/invoice_payment_service.rb +4 -1
- data/lib/stripe/services/invoice_service.rb +1078 -16
- data/lib/stripe/services/issuing/card_service.rb +0 -8
- data/lib/stripe/services/issuing/cardholder_service.rb +2 -1
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +504 -0
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +66 -0
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +83 -0
- data/lib/stripe/services/issuing/transaction_service.rb +4 -0
- data/lib/stripe/services/issuing_service.rb +5 -1
- data/lib/stripe/services/mandate_service.rb +40 -0
- data/lib/stripe/services/margin_service.rb +119 -0
- data/{rbi/stripe/services/source_transaction_service.rbi → lib/stripe/services/order_line_item_service.rb} +20 -16
- data/lib/stripe/services/order_service.rb +2388 -0
- data/lib/stripe/services/payment_attempt_record_service.rb +52 -0
- data/{rbi/stripe/services/quote_line_item_service.rbi → lib/stripe/services/payment_intent_amount_details_line_item_service.rb} +20 -16
- data/lib/stripe/services/payment_intent_service.rb +7630 -2215
- data/lib/stripe/services/payment_method_configuration_service.rb +210 -0
- data/lib/stripe/services/payment_method_service.rb +120 -1
- data/lib/stripe/services/payment_record_service.rb +562 -0
- data/lib/stripe/services/price_service.rb +19 -0
- data/lib/stripe/services/privacy/redaction_job_service.rb +240 -0
- data/{rbi/stripe/services/tax/calculation_line_item_service.rbi → lib/stripe/services/privacy/redaction_job_validation_error_service.rb} +21 -17
- data/lib/stripe/services/privacy_service.rb +13 -0
- data/lib/stripe/services/promotion_code_service.rb +8 -0
- data/{rbi/stripe/services/credit_note_line_item_service.rbi → lib/stripe/services/quote_line_service.rb} +20 -16
- data/{rbi/stripe/services/payment_link_line_item_service.rbi → lib/stripe/services/quote_preview_invoice_service.rb} +20 -16
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +35 -0
- data/lib/stripe/services/quote_service.rb +1723 -8
- data/lib/stripe/services/setup_intent_service.rb +691 -9
- data/lib/stripe/services/subscription_item_service.rb +75 -3
- data/lib/stripe/services/subscription_schedule_service.rb +911 -10
- data/lib/stripe/services/subscription_service.rb +336 -9
- data/lib/stripe/services/tax/association_service.rb +31 -0
- data/lib/stripe/services/tax/form_service.rb +100 -0
- data/lib/stripe/services/tax_id_service.rb +8 -2
- data/lib/stripe/services/tax_service.rb +3 -1
- data/lib/stripe/services/terminal/configuration_service.rb +26 -0
- data/lib/stripe/services/terminal/onboarding_link_service.rb +56 -0
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +28 -0
- data/lib/stripe/services/terminal_service.rb +3 -1
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +97 -0
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +25 -1
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +25 -1
- data/lib/stripe/services/transfer_service.rb +4 -0
- data/lib/stripe/services/treasury/financial_account_features_service.rb +4 -1
- data/lib/stripe/services/treasury/financial_account_service.rb +16 -2
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +24 -0
- data/lib/stripe/services/v1_services.rb +11 -1
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +214 -0
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +45 -0
- data/lib/stripe/services/v2/billing/cadence_service.rb +428 -0
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +518 -0
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +45 -0
- data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +108 -0
- data/lib/stripe/services/v2/billing/intent_service.rb +465 -0
- data/lib/stripe/services/v2/billing/intents/action_service.rb +45 -0
- data/lib/stripe/services/v2/billing/license_fee_service.rb +250 -0
- data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +23 -0
- data/lib/stripe/services/v2/billing/license_fees/version_service.rb +45 -0
- data/lib/stripe/services/v2/billing/licensed_item_service.rb +149 -0
- data/lib/stripe/services/v2/billing/metered_item_service.rb +176 -0
- data/lib/stripe/services/v2/billing/pricing_plan_service.rb +142 -0
- data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +76 -0
- data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +162 -0
- data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +45 -0
- data/lib/stripe/services/v2/billing/profile_service.rb +144 -0
- data/lib/stripe/services/v2/billing/rate_card_service.rb +151 -0
- data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +144 -0
- data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +161 -0
- data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +45 -0
- data/lib/stripe/services/v2/billing/service_action_service.rb +259 -0
- data/lib/stripe/services/v2/billing_service.rb +18 -1
- data/lib/stripe/services/v2/core/account_link_service.rb +114 -0
- data/lib/stripe/services/v2/core/account_service.rb +4536 -0
- data/lib/stripe/services/v2/core/accounts/person_service.rb +1045 -0
- data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +50 -0
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +130 -0
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +107 -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 +74 -0
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +119 -0
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +82 -0
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +125 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +95 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +199 -0
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +235 -0
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +172 -0
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +90 -0
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +70 -0
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +43 -0
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +69 -0
- data/lib/stripe/services/v2/money_management/transaction_service.rb +73 -0
- data/lib/stripe/services/v2/money_management_service.rb +31 -0
- data/lib/stripe/services/v2/payment_service.rb +15 -0
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +152 -0
- data/lib/stripe/services/v2/reporting/report_run_service.rb +88 -0
- data/lib/stripe/services/v2/reporting/report_service.rb +25 -0
- data/lib/stripe/services/v2/reporting_service.rb +16 -0
- data/lib/stripe/services/v2/tax/automatic_rule_service.rb +99 -0
- data/lib/stripe/services/v2/tax_service.rb +15 -0
- data/lib/stripe/services/v2/test_helper_service.rb +15 -0
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +53 -0
- data/lib/stripe/services/v2_services.rb +6 -1
- data/lib/stripe/services.rb +84 -0
- data/lib/stripe/stripe_configuration.rb +3 -1
- data/lib/stripe/stripe_object.rb +26 -2
- data/lib/stripe/util.rb +16 -6
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +53 -0
- data/rbi/stripe.rbi +280174 -0
- data/stripe.gemspec +4 -1
- metadata +283 -324
- data/rbi/stripe/resources/account.rbi +0 -4991
- data/rbi/stripe/resources/account_link.rbi +0 -76
- data/rbi/stripe/resources/account_session.rbi +0 -1173
- data/rbi/stripe/resources/apple_pay_domain.rbi +0 -88
- data/rbi/stripe/resources/application.rbi +0 -20
- data/rbi/stripe/resources/application_fee.rbi +0 -118
- data/rbi/stripe/resources/application_fee_refund.rbi +0 -37
- data/rbi/stripe/resources/apps/secret.rbi +0 -195
- data/rbi/stripe/resources/balance.rbi +0 -230
- data/rbi/stripe/resources/balance_transaction.rbi +0 -147
- data/rbi/stripe/resources/bank_account.rbi +0 -127
- data/rbi/stripe/resources/billing/alert.rbi +0 -201
- data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -28
- data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -63
- data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -147
- data/rbi/stripe/resources/billing/credit_grant.rbi +0 -291
- data/rbi/stripe/resources/billing/meter.rbi +0 -226
- data/rbi/stripe/resources/billing/meter_event.rbi +0 -64
- data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -64
- data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -35
- data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -712
- data/rbi/stripe/resources/billing_portal/session.rbi +0 -345
- data/rbi/stripe/resources/capability.rbi +0 -125
- data/rbi/stripe/resources/card.rbi +0 -125
- data/rbi/stripe/resources/cash_balance.rbi +0 -32
- data/rbi/stripe/resources/charge.rbi +0 -2136
- data/rbi/stripe/resources/checkout/session.rbi +0 -4105
- data/rbi/stripe/resources/climate/order.rbi +0 -245
- data/rbi/stripe/resources/climate/product.rbi +0 -75
- data/rbi/stripe/resources/climate/supplier.rbi +0 -72
- data/rbi/stripe/resources/confirmation_token.rbi +0 -1818
- data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -26
- data/rbi/stripe/resources/country_spec.rbi +0 -85
- data/rbi/stripe/resources/coupon.rbi +0 -250
- data/rbi/stripe/resources/credit_note.rbi +0 -752
- data/rbi/stripe/resources/credit_note_line_item.rbi +0 -101
- data/rbi/stripe/resources/customer.rbi +0 -993
- data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -56
- data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -151
- data/rbi/stripe/resources/customer_session.rbi +0 -200
- data/rbi/stripe/resources/discount.rbi +0 -53
- data/rbi/stripe/resources/dispute.rbi +0 -761
- data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -58
- data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -23
- data/rbi/stripe/resources/entitlements/feature.rbi +0 -117
- data/rbi/stripe/resources/ephemeral_key.rbi +0 -44
- data/rbi/stripe/resources/event.rbi +0 -137
- data/rbi/stripe/resources/exchange_rate.rbi +0 -66
- data/rbi/stripe/resources/file.rbi +0 -143
- data/rbi/stripe/resources/file_link.rbi +0 -141
- data/rbi/stripe/resources/financial_connections/account.rbi +0 -339
- data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -35
- data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -23
- data/rbi/stripe/resources/financial_connections/session.rbi +0 -123
- data/rbi/stripe/resources/financial_connections/transaction.rbi +0 -124
- data/rbi/stripe/resources/forwarding/request.rbi +0 -216
- data/rbi/stripe/resources/funding_instructions.rbi +0 -437
- data/rbi/stripe/resources/identity/verification_report.rbi +0 -360
- data/rbi/stripe/resources/identity/verification_session.rbi +0 -564
- data/rbi/stripe/resources/invoice.rbi +0 -3894
- data/rbi/stripe/resources/invoice_item.rbi +0 -470
- data/rbi/stripe/resources/invoice_line_item.rbi +0 -432
- data/rbi/stripe/resources/invoice_payment.rbi +0 -121
- data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -104
- data/rbi/stripe/resources/issuing/authorization.rbi +0 -1283
- data/rbi/stripe/resources/issuing/card.rbi +0 -749
- data/rbi/stripe/resources/issuing/cardholder.rbi +0 -744
- data/rbi/stripe/resources/issuing/dispute.rbi +0 -913
- data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -338
- data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -79
- data/rbi/stripe/resources/issuing/token.rbi +0 -226
- data/rbi/stripe/resources/issuing/transaction.rbi +0 -1061
- data/rbi/stripe/resources/line_item.rbi +0 -72
- data/rbi/stripe/resources/login_link.rbi +0 -19
- data/rbi/stripe/resources/mandate.rbi +0 -191
- data/rbi/stripe/resources/payment_intent.rbi +0 -10011
- data/rbi/stripe/resources/payment_link.rbi +0 -1891
- data/rbi/stripe/resources/payment_method.rbi +0 -1770
- data/rbi/stripe/resources/payment_method_configuration.rbi +0 -3550
- data/rbi/stripe/resources/payment_method_domain.rbi +0 -228
- data/rbi/stripe/resources/payout.rbi +0 -307
- data/rbi/stripe/resources/person.rbi +0 -401
- data/rbi/stripe/resources/plan.rbi +0 -371
- data/rbi/stripe/resources/price.rbi +0 -694
- data/rbi/stripe/resources/product.rbi +0 -553
- data/rbi/stripe/resources/product_feature.rbi +0 -26
- data/rbi/stripe/resources/promotion_code.rbi +0 -264
- data/rbi/stripe/resources/quote.rbi +0 -1137
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -98
- data/rbi/stripe/resources/radar/value_list.rbi +0 -168
- data/rbi/stripe/resources/radar/value_list_item.rbi +0 -129
- data/rbi/stripe/resources/refund.rbi +0 -523
- data/rbi/stripe/resources/reporting/report_run.rbi +0 -191
- data/rbi/stripe/resources/reporting/report_type.rbi +0 -57
- data/rbi/stripe/resources/reserve_transaction.rbi +0 -23
- data/rbi/stripe/resources/reversal.rbi +0 -51
- data/rbi/stripe/resources/review.rbi +0 -154
- data/rbi/stripe/resources/setup_attempt.rbi +0 -477
- data/rbi/stripe/resources/setup_intent.rbi +0 -3974
- data/rbi/stripe/resources/shipping_rate.rbi +0 -305
- data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -75
- data/rbi/stripe/resources/source.rbi +0 -1496
- data/rbi/stripe/resources/source_mandate_notification.rbi +0 -77
- data/rbi/stripe/resources/source_transaction.rbi +0 -127
- data/rbi/stripe/resources/subscription.rbi +0 -2154
- data/rbi/stripe/resources/subscription_item.rbi +0 -404
- data/rbi/stripe/resources/subscription_schedule.rbi +0 -1795
- data/rbi/stripe/resources/tax/calculation.rbi +0 -478
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -91
- data/rbi/stripe/resources/tax/registration.rbi +0 -3216
- data/rbi/stripe/resources/tax/settings.rbi +0 -141
- data/rbi/stripe/resources/tax/transaction.rbi +0 -351
- data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -54
- data/rbi/stripe/resources/tax_code.rbi +0 -44
- data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -23
- data/rbi/stripe/resources/tax_id.rbi +0 -165
- data/rbi/stripe/resources/tax_rate.rbi +0 -239
- data/rbi/stripe/resources/terminal/configuration.rbi +0 -1647
- data/rbi/stripe/resources/terminal/connection_token.rbi +0 -37
- data/rbi/stripe/resources/terminal/location.rbi +0 -222
- data/rbi/stripe/resources/terminal/reader.rbi +0 -1016
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -132
- data/rbi/stripe/resources/token.rbi +0 -1281
- data/rbi/stripe/resources/topup.rbi +0 -222
- data/rbi/stripe/resources/transfer.rbi +0 -199
- data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -119
- data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -131
- data/rbi/stripe/resources/treasury/financial_account.rbi +0 -869
- data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -260
- data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -295
- data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -592
- data/rbi/stripe/resources/treasury/outbound_transfer.rbi +0 -431
- data/rbi/stripe/resources/treasury/received_credit.rbi +0 -302
- data/rbi/stripe/resources/treasury/received_debit.rbi +0 -256
- data/rbi/stripe/resources/treasury/transaction.rbi +0 -215
- data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -192
- data/rbi/stripe/resources/v2/amount.rbi +0 -14
- data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -37
- data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -41
- data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -31
- data/rbi/stripe/resources/v2/event.rbi +0 -48
- data/rbi/stripe/resources/v2/event_destination.rbi +0 -91
- data/rbi/stripe/resources/webhook_endpoint.rbi +0 -168
- data/rbi/stripe/services/account_capability_service.rbi +0 -51
- data/rbi/stripe/services/account_link_service.rbi +0 -60
- data/rbi/stripe/services/account_login_link_service.rbi +0 -22
- data/rbi/stripe/services/account_person_service.rbi +0 -1007
- data/rbi/stripe/services/account_service.rbi +0 -4281
- data/rbi/stripe/services/account_session_service.rbi +0 -748
- data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -76
- data/rbi/stripe/services/application_fee_refund_service.rbi +0 -93
- data/rbi/stripe/services/application_fee_service.rbi +0 -78
- data/rbi/stripe/services/apps/secret_service.rbi +0 -151
- data/rbi/stripe/services/apps_service.rbi +0 -9
- data/rbi/stripe/services/balance_service.rbi +0 -21
- data/rbi/stripe/services/balance_transaction_service.rbi +0 -93
- data/rbi/stripe/services/billing/alert_service.rbi +0 -152
- data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -68
- data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -59
- data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -211
- data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -42
- data/rbi/stripe/services/billing/meter_event_service.rbi +0 -42
- data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -54
- data/rbi/stripe/services/billing/meter_service.rbi +0 -163
- data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -561
- data/rbi/stripe/services/billing_portal/session_service.rbi +0 -204
- data/rbi/stripe/services/billing_portal_service.rbi +0 -10
- data/rbi/stripe/services/billing_service.rbi +0 -15
- data/rbi/stripe/services/charge_service.rbi +0 -448
- data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -33
- data/rbi/stripe/services/checkout/session_service.rbi +0 -2697
- data/rbi/stripe/services/checkout_service.rbi +0 -9
- data/rbi/stripe/services/climate/order_service.rbi +0 -142
- data/rbi/stripe/services/climate/product_service.rbi +0 -46
- data/rbi/stripe/services/climate_service.rbi +0 -11
- data/rbi/stripe/services/confirmation_token_service.rbi +0 -20
- data/rbi/stripe/services/country_spec_service.rbi +0 -44
- data/rbi/stripe/services/coupon_service.rbi +0 -194
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -167
- data/rbi/stripe/services/credit_note_service.rbi +0 -415
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -92
- data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -45
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -44
- data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -59
- data/rbi/stripe/services/customer_payment_method_service.rbi +0 -57
- data/rbi/stripe/services/customer_payment_source_service.rbi +0 -232
- data/rbi/stripe/services/customer_service.rbi +0 -635
- data/rbi/stripe/services/customer_session_service.rbi +0 -116
- data/rbi/stripe/services/customer_tax_id_service.rbi +0 -70
- data/rbi/stripe/services/dispute_service.rbi +0 -424
- data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -55
- data/rbi/stripe/services/entitlements/feature_service.rbi +0 -107
- data/rbi/stripe/services/entitlements_service.rbi +0 -10
- data/rbi/stripe/services/ephemeral_key_service.rbi +0 -53
- data/rbi/stripe/services/event_service.rbi +0 -83
- data/rbi/stripe/services/exchange_rate_service.rbi +0 -44
- data/rbi/stripe/services/file_link_service.rbi +0 -124
- data/rbi/stripe/services/file_service.rbi +0 -116
- data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -42
- data/rbi/stripe/services/financial_connections/account_service.rbi +0 -133
- data/rbi/stripe/services/financial_connections/session_service.rbi +0 -88
- data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -92
- data/rbi/stripe/services/financial_connections_service.rbi +0 -11
- data/rbi/stripe/services/forwarding/request_service.rbi +0 -134
- data/rbi/stripe/services/forwarding_service.rbi +0 -9
- data/rbi/stripe/services/identity/verification_report_service.rbi +0 -87
- data/rbi/stripe/services/identity/verification_session_service.rbi +0 -339
- data/rbi/stripe/services/identity_service.rbi +0 -10
- data/rbi/stripe/services/invoice_item_service.rbi +0 -366
- data/rbi/stripe/services/invoice_line_item_service.rbi +0 -259
- data/rbi/stripe/services/invoice_payment_service.rbi +0 -71
- data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -82
- data/rbi/stripe/services/invoice_service.rbi +0 -3073
- data/rbi/stripe/services/issuing/authorization_service.rbi +0 -146
- data/rbi/stripe/services/issuing/card_service.rbi +0 -503
- data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -587
- data/rbi/stripe/services/issuing/dispute_service.rbi +0 -707
- data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -243
- data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -59
- data/rbi/stripe/services/issuing/token_service.rbi +0 -99
- data/rbi/stripe/services/issuing/transaction_service.rbi +0 -105
- data/rbi/stripe/services/issuing_service.rbi +0 -16
- data/rbi/stripe/services/mandate_service.rbi +0 -20
- data/rbi/stripe/services/payment_intent_service.rbi +0 -8010
- data/rbi/stripe/services/payment_link_service.rbi +0 -1441
- data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -2487
- data/rbi/stripe/services/payment_method_domain_service.rbi +0 -112
- data/rbi/stripe/services/payment_method_service.rbi +0 -781
- data/rbi/stripe/services/payout_service.rbi +0 -209
- data/rbi/stripe/services/plan_service.rbi +0 -282
- data/rbi/stripe/services/price_service.rbi +0 -546
- data/rbi/stripe/services/product_feature_service.rbi +0 -67
- data/rbi/stripe/services/product_service.rbi +0 -477
- data/rbi/stripe/services/promotion_code_service.rbi +0 -214
- data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -31
- data/rbi/stripe/services/quote_service.rbi +0 -695
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -85
- data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -109
- data/rbi/stripe/services/radar/value_list_service.rbi +0 -141
- data/rbi/stripe/services/radar_service.rbi +0 -11
- data/rbi/stripe/services/refund_service.rbi +0 -185
- data/rbi/stripe/services/reporting/report_run_service.rbi +0 -135
- data/rbi/stripe/services/reporting/report_type_service.rbi +0 -35
- data/rbi/stripe/services/reporting_service.rbi +0 -10
- data/rbi/stripe/services/review_service.rbi +0 -84
- data/rbi/stripe/services/setup_attempt_service.rbi +0 -65
- data/rbi/stripe/services/setup_intent_service.rbi +0 -3709
- data/rbi/stripe/services/shipping_rate_service.rbi +0 -241
- data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -46
- data/rbi/stripe/services/sigma_service.rbi +0 -9
- data/rbi/stripe/services/source_service.rbi +0 -663
- data/rbi/stripe/services/subscription_item_service.rbi +0 -350
- data/rbi/stripe/services/subscription_schedule_service.rbi +0 -1425
- data/rbi/stripe/services/subscription_service.rbi +0 -1768
- data/rbi/stripe/services/tax/calculation_service.rbi +0 -234
- data/rbi/stripe/services/tax/registration_service.rbi +0 -2278
- data/rbi/stripe/services/tax/settings_service.rbi +0 -93
- data/rbi/stripe/services/tax/transaction_service.rbi +0 -146
- data/rbi/stripe/services/tax_code_service.rbi +0 -44
- data/rbi/stripe/services/tax_id_service.rbi +0 -110
- data/rbi/stripe/services/tax_rate_service.rbi +0 -185
- data/rbi/stripe/services/tax_service.rbi +0 -12
- data/rbi/stripe/services/terminal/configuration_service.rbi +0 -1328
- data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -25
- data/rbi/stripe/services/terminal/location_service.rbi +0 -182
- data/rbi/stripe/services/terminal/reader_service.rbi +0 -540
- data/rbi/stripe/services/terminal_service.rbi +0 -12
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -746
- data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -33
- data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -848
- data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -76
- data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -69
- data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -711
- data/rbi/stripe/services/test_helpers/issuing_service.rbi +0 -14
- data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -22
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -117
- data/rbi/stripe/services/test_helpers/terminal_service.rbi +0 -11
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -90
- data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -64
- data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -125
- data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -125
- data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -87
- data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -87
- data/rbi/stripe/services/test_helpers/treasury_service.rbi +0 -15
- data/rbi/stripe/services/test_helpers_service.rbi +0 -15
- data/rbi/stripe/services/token_service.rbi +0 -1255
- data/rbi/stripe/services/topup_service.rbi +0 -176
- data/rbi/stripe/services/transfer_reversal_service.rbi +0 -101
- data/rbi/stripe/services/transfer_service.rbi +0 -152
- data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -84
- data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -88
- data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -198
- data/rbi/stripe/services/treasury/financial_account_service.rbi +0 -566
- data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -117
- data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -304
- data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +0 -157
- data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -72
- data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -59
- data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -111
- data/rbi/stripe/services/treasury/transaction_service.rbi +0 -122
- data/rbi/stripe/services/treasury_service.rbi +0 -18
- data/rbi/stripe/services/v1_services.rbi +0 -77
- data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -39
- data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -42
- data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +0 -18
- data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -55
- data/rbi/stripe/services/v2/billing_service.rbi +0 -14
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -192
- data/rbi/stripe/services/v2/core/event_service.rbi +0 -36
- data/rbi/stripe/services/v2/core_service.rbi +0 -12
- data/rbi/stripe/services/v2_services.rbi +0 -10
- data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -129
@@ -42,6 +42,14 @@ module Stripe
|
|
42
42
|
attr_reader :currency
|
43
43
|
# The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.
|
44
44
|
attr_reader :fiscal_year_end
|
45
|
+
|
46
|
+
def self.inner_class_types
|
47
|
+
@inner_class_types = {}
|
48
|
+
end
|
49
|
+
|
50
|
+
def self.field_remappings
|
51
|
+
@field_remappings = {}
|
52
|
+
end
|
45
53
|
end
|
46
54
|
|
47
55
|
class MonthlyEstimatedRevenue < Stripe::StripeObject
|
@@ -49,6 +57,14 @@ module Stripe
|
|
49
57
|
attr_reader :amount
|
50
58
|
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
51
59
|
attr_reader :currency
|
60
|
+
|
61
|
+
def self.inner_class_types
|
62
|
+
@inner_class_types = {}
|
63
|
+
end
|
64
|
+
|
65
|
+
def self.field_remappings
|
66
|
+
@field_remappings = {}
|
67
|
+
end
|
52
68
|
end
|
53
69
|
|
54
70
|
class SupportAddress < Stripe::StripeObject
|
@@ -64,6 +80,14 @@ module Stripe
|
|
64
80
|
attr_reader :postal_code
|
65
81
|
# State, county, province, or region.
|
66
82
|
attr_reader :state
|
83
|
+
|
84
|
+
def self.inner_class_types
|
85
|
+
@inner_class_types = {}
|
86
|
+
end
|
87
|
+
|
88
|
+
def self.field_remappings
|
89
|
+
@field_remappings = {}
|
90
|
+
end
|
67
91
|
end
|
68
92
|
# The applicant's gross annual revenue for its preceding fiscal year.
|
69
93
|
attr_reader :annual_revenue
|
@@ -89,6 +113,18 @@ module Stripe
|
|
89
113
|
attr_reader :support_url
|
90
114
|
# The business's publicly available website.
|
91
115
|
attr_reader :url
|
116
|
+
|
117
|
+
def self.inner_class_types
|
118
|
+
@inner_class_types = {
|
119
|
+
annual_revenue: AnnualRevenue,
|
120
|
+
monthly_estimated_revenue: MonthlyEstimatedRevenue,
|
121
|
+
support_address: SupportAddress,
|
122
|
+
}
|
123
|
+
end
|
124
|
+
|
125
|
+
def self.field_remappings
|
126
|
+
@field_remappings = {}
|
127
|
+
end
|
92
128
|
end
|
93
129
|
|
94
130
|
class Capabilities < Stripe::StripeObject
|
@@ -104,6 +140,8 @@ module Stripe
|
|
104
140
|
attr_reader :amazon_pay_payments
|
105
141
|
# The status of the BECS Direct Debit (AU) payments capability of the account, or whether the account can directly process BECS Direct Debit (AU) charges.
|
106
142
|
attr_reader :au_becs_debit_payments
|
143
|
+
# The status of the automatic_indirect_tax capability of the account.
|
144
|
+
attr_reader :automatic_indirect_tax
|
107
145
|
# The status of the Bacs Direct Debits payments capability of the account, or whether the account can directly process Bacs Direct Debits charges.
|
108
146
|
attr_reader :bacs_debit_payments
|
109
147
|
# The status of the Bancontact payments capability of the account, or whether the account can directly process Bancontact charges.
|
@@ -134,8 +172,14 @@ module Stripe
|
|
134
172
|
attr_reader :gb_bank_transfer_payments
|
135
173
|
# The status of the giropay payments capability of the account, or whether the account can directly process giropay charges.
|
136
174
|
attr_reader :giropay_payments
|
175
|
+
# The status of the Gopay capability of the account, or whether the account can directly process Gopay payments.
|
176
|
+
attr_reader :gopay_payments
|
137
177
|
# The status of the GrabPay payments capability of the account, or whether the account can directly process GrabPay charges.
|
138
178
|
attr_reader :grabpay_payments
|
179
|
+
# The status of the Indonesia Bank Transfer payments capability of the account, or whether the account can directly process Indonesia Bank Transfer charges.
|
180
|
+
attr_reader :id_bank_transfer_payments
|
181
|
+
# The status of Bank BCA onboarding of the account.
|
182
|
+
attr_reader :id_bank_transfer_payments_bca
|
139
183
|
# The status of the iDEAL payments capability of the account, or whether the account can directly process iDEAL charges.
|
140
184
|
attr_reader :ideal_payments
|
141
185
|
# The status of the india_international_payments capability of the account, or whether the account can process international charges (non INR) in India.
|
@@ -156,6 +200,8 @@ module Stripe
|
|
156
200
|
attr_reader :legacy_payments
|
157
201
|
# The status of the link_payments capability of the account, or whether the account can directly process Link charges.
|
158
202
|
attr_reader :link_payments
|
203
|
+
# The status of the MB WAY payments capability of the account, or whether the account can directly process MB WAY charges.
|
204
|
+
attr_reader :mb_way_payments
|
159
205
|
# The status of the MobilePay capability of the account, or whether the account can directly process MobilePay charges.
|
160
206
|
attr_reader :mobilepay_payments
|
161
207
|
# The status of the Multibanco payments capability of the account, or whether the account can directly process Multibanco charges.
|
@@ -176,10 +222,18 @@ module Stripe
|
|
176
222
|
attr_reader :payco_payments
|
177
223
|
# The status of the paynow payments capability of the account, or whether the account can directly process paynow charges.
|
178
224
|
attr_reader :paynow_payments
|
225
|
+
# The status of the PayPal payments capability of the account, or whether the account can directly process PayPal charges.
|
226
|
+
attr_reader :paypal_payments
|
227
|
+
# The status of the PayTo capability of the account, or whether the account can directly process PayTo charges.
|
228
|
+
attr_reader :payto_payments
|
179
229
|
# The status of the pix payments capability of the account, or whether the account can directly process pix charges.
|
180
230
|
attr_reader :pix_payments
|
181
231
|
# The status of the promptpay payments capability of the account, or whether the account can directly process promptpay charges.
|
182
232
|
attr_reader :promptpay_payments
|
233
|
+
# The status of the Qris capability of the account, or whether the account can directly process Qris payments.
|
234
|
+
attr_reader :qris_payments
|
235
|
+
# The status of the Rechnung capability of the account, or whether the account can directly process Rechnung payments.
|
236
|
+
attr_reader :rechnung_payments
|
183
237
|
# The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
|
184
238
|
attr_reader :revolut_pay_payments
|
185
239
|
# The status of the SamsungPay capability of the account, or whether the account can directly process SamsungPay payments.
|
@@ -190,8 +244,12 @@ module Stripe
|
|
190
244
|
attr_reader :sepa_bank_transfer_payments
|
191
245
|
# The status of the SEPA Direct Debits payments capability of the account, or whether the account can directly process SEPA Direct Debits charges.
|
192
246
|
attr_reader :sepa_debit_payments
|
247
|
+
# The status of the ShopeePay capability of the account, or whether the account can directly process ShopeePay payments.
|
248
|
+
attr_reader :shopeepay_payments
|
193
249
|
# The status of the Sofort payments capability of the account, or whether the account can directly process Sofort charges.
|
194
250
|
attr_reader :sofort_payments
|
251
|
+
# The status of the stripe_balance payments capability of the account, or whether the account can directly process stripe_balance charges.
|
252
|
+
attr_reader :stripe_balance_payments
|
195
253
|
# The status of the Swish capability of the account, or whether the account can directly process Swish payments.
|
196
254
|
attr_reader :swish_payments
|
197
255
|
# The status of the tax reporting 1099-K (US) capability of the account.
|
@@ -202,6 +260,12 @@ module Stripe
|
|
202
260
|
attr_reader :transfers
|
203
261
|
# The status of the banking capability, or whether the account can have bank accounts.
|
204
262
|
attr_reader :treasury
|
263
|
+
# The status of the treasury_evolve capability of the account.
|
264
|
+
attr_reader :treasury_evolve
|
265
|
+
# The status of the treasury_fifth_third capability of the account.
|
266
|
+
attr_reader :treasury_fifth_third
|
267
|
+
# The status of the treasury_goldman_sachs capability of the account.
|
268
|
+
attr_reader :treasury_goldman_sachs
|
205
269
|
# The status of the TWINT capability of the account, or whether the account can directly process TWINT charges.
|
206
270
|
attr_reader :twint_payments
|
207
271
|
# The status of the US bank account ACH payments capability of the account, or whether the account can directly process US bank account charges.
|
@@ -210,6 +274,14 @@ module Stripe
|
|
210
274
|
attr_reader :us_bank_transfer_payments
|
211
275
|
# The status of the Zip capability of the account, or whether the account can directly process Zip charges.
|
212
276
|
attr_reader :zip_payments
|
277
|
+
|
278
|
+
def self.inner_class_types
|
279
|
+
@inner_class_types = {}
|
280
|
+
end
|
281
|
+
|
282
|
+
def self.field_remappings
|
283
|
+
@field_remappings = {}
|
284
|
+
end
|
213
285
|
end
|
214
286
|
|
215
287
|
class Company < Stripe::StripeObject
|
@@ -226,6 +298,14 @@ module Stripe
|
|
226
298
|
attr_reader :postal_code
|
227
299
|
# State, county, province, or region.
|
228
300
|
attr_reader :state
|
301
|
+
|
302
|
+
def self.inner_class_types
|
303
|
+
@inner_class_types = {}
|
304
|
+
end
|
305
|
+
|
306
|
+
def self.field_remappings
|
307
|
+
@field_remappings = {}
|
308
|
+
end
|
229
309
|
end
|
230
310
|
|
231
311
|
class AddressKana < Stripe::StripeObject
|
@@ -243,6 +323,14 @@ module Stripe
|
|
243
323
|
attr_reader :state
|
244
324
|
# Town/cho-me.
|
245
325
|
attr_reader :town
|
326
|
+
|
327
|
+
def self.inner_class_types
|
328
|
+
@inner_class_types = {}
|
329
|
+
end
|
330
|
+
|
331
|
+
def self.field_remappings
|
332
|
+
@field_remappings = {}
|
333
|
+
end
|
246
334
|
end
|
247
335
|
|
248
336
|
class AddressKanji < Stripe::StripeObject
|
@@ -260,6 +348,14 @@ module Stripe
|
|
260
348
|
attr_reader :state
|
261
349
|
# Town/cho-me.
|
262
350
|
attr_reader :town
|
351
|
+
|
352
|
+
def self.inner_class_types
|
353
|
+
@inner_class_types = {}
|
354
|
+
end
|
355
|
+
|
356
|
+
def self.field_remappings
|
357
|
+
@field_remappings = {}
|
358
|
+
end
|
263
359
|
end
|
264
360
|
|
265
361
|
class DirectorshipDeclaration < Stripe::StripeObject
|
@@ -269,6 +365,14 @@ module Stripe
|
|
269
365
|
attr_reader :ip
|
270
366
|
# The user-agent string from the browser where the directorship declaration attestation was made.
|
271
367
|
attr_reader :user_agent
|
368
|
+
|
369
|
+
def self.inner_class_types
|
370
|
+
@inner_class_types = {}
|
371
|
+
end
|
372
|
+
|
373
|
+
def self.field_remappings
|
374
|
+
@field_remappings = {}
|
375
|
+
end
|
272
376
|
end
|
273
377
|
|
274
378
|
class OwnershipDeclaration < Stripe::StripeObject
|
@@ -278,6 +382,14 @@ module Stripe
|
|
278
382
|
attr_reader :ip
|
279
383
|
# The user-agent string from the browser where the beneficial owner attestation was made.
|
280
384
|
attr_reader :user_agent
|
385
|
+
|
386
|
+
def self.inner_class_types
|
387
|
+
@inner_class_types = {}
|
388
|
+
end
|
389
|
+
|
390
|
+
def self.field_remappings
|
391
|
+
@field_remappings = {}
|
392
|
+
end
|
281
393
|
end
|
282
394
|
|
283
395
|
class RegistrationDate < Stripe::StripeObject
|
@@ -287,6 +399,14 @@ module Stripe
|
|
287
399
|
attr_reader :month
|
288
400
|
# The four-digit year of registration.
|
289
401
|
attr_reader :year
|
402
|
+
|
403
|
+
def self.inner_class_types
|
404
|
+
@inner_class_types = {}
|
405
|
+
end
|
406
|
+
|
407
|
+
def self.field_remappings
|
408
|
+
@field_remappings = {}
|
409
|
+
end
|
290
410
|
end
|
291
411
|
|
292
412
|
class Verification < Stripe::StripeObject
|
@@ -299,9 +419,25 @@ module Stripe
|
|
299
419
|
attr_reader :details_code
|
300
420
|
# The front of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. Note that `additional_verification` files are [not downloadable](/file-upload#uploading-a-file).
|
301
421
|
attr_reader :front
|
422
|
+
|
423
|
+
def self.inner_class_types
|
424
|
+
@inner_class_types = {}
|
425
|
+
end
|
426
|
+
|
427
|
+
def self.field_remappings
|
428
|
+
@field_remappings = {}
|
429
|
+
end
|
302
430
|
end
|
303
431
|
# Attribute for field document
|
304
432
|
attr_reader :document
|
433
|
+
|
434
|
+
def self.inner_class_types
|
435
|
+
@inner_class_types = { document: Document }
|
436
|
+
end
|
437
|
+
|
438
|
+
def self.field_remappings
|
439
|
+
@field_remappings = {}
|
440
|
+
end
|
305
441
|
end
|
306
442
|
# Attribute for field address
|
307
443
|
attr_reader :address
|
@@ -345,23 +481,97 @@ module Stripe
|
|
345
481
|
attr_reader :vat_id_provided
|
346
482
|
# Information on the verification state of the company.
|
347
483
|
attr_reader :verification
|
484
|
+
|
485
|
+
def self.inner_class_types
|
486
|
+
@inner_class_types = {
|
487
|
+
address: Address,
|
488
|
+
address_kana: AddressKana,
|
489
|
+
address_kanji: AddressKanji,
|
490
|
+
directorship_declaration: DirectorshipDeclaration,
|
491
|
+
ownership_declaration: OwnershipDeclaration,
|
492
|
+
registration_date: RegistrationDate,
|
493
|
+
verification: Verification,
|
494
|
+
}
|
495
|
+
end
|
496
|
+
|
497
|
+
def self.field_remappings
|
498
|
+
@field_remappings = {}
|
499
|
+
end
|
348
500
|
end
|
349
501
|
|
350
502
|
class Controller < Stripe::StripeObject
|
503
|
+
class Application < Stripe::StripeObject
|
504
|
+
# `true` if the Connect application is responsible for negative balances and should manage credit and fraud risk on the account.
|
505
|
+
attr_reader :loss_liable
|
506
|
+
# `true` if the Connect application is responsible for onboarding the account.
|
507
|
+
attr_reader :onboarding_owner
|
508
|
+
# `true` if the Connect application is responsible for paying Stripe fees on pricing-control eligible products.
|
509
|
+
attr_reader :pricing_controls
|
510
|
+
|
511
|
+
def self.inner_class_types
|
512
|
+
@inner_class_types = {}
|
513
|
+
end
|
514
|
+
|
515
|
+
def self.field_remappings
|
516
|
+
@field_remappings = {}
|
517
|
+
end
|
518
|
+
end
|
519
|
+
|
520
|
+
class Dashboard < Stripe::StripeObject
|
521
|
+
# Whether this account has access to the full Stripe dashboard (`full`), to the Express dashboard (`express`), or to no dashboard (`none`).
|
522
|
+
attr_reader :type
|
523
|
+
|
524
|
+
def self.inner_class_types
|
525
|
+
@inner_class_types = {}
|
526
|
+
end
|
527
|
+
|
528
|
+
def self.field_remappings
|
529
|
+
@field_remappings = {}
|
530
|
+
end
|
531
|
+
end
|
532
|
+
|
351
533
|
class Fees < Stripe::StripeObject
|
352
534
|
# A value indicating the responsible payer of a bundle of Stripe fees for pricing-control eligible products on this account. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
|
353
535
|
attr_reader :payer
|
536
|
+
|
537
|
+
def self.inner_class_types
|
538
|
+
@inner_class_types = {}
|
539
|
+
end
|
540
|
+
|
541
|
+
def self.field_remappings
|
542
|
+
@field_remappings = {}
|
543
|
+
end
|
354
544
|
end
|
355
545
|
|
356
546
|
class Losses < Stripe::StripeObject
|
357
547
|
# A value indicating who is liable when this account can't pay back negative balances from payments.
|
358
548
|
attr_reader :payments
|
549
|
+
|
550
|
+
def self.inner_class_types
|
551
|
+
@inner_class_types = {}
|
552
|
+
end
|
553
|
+
|
554
|
+
def self.field_remappings
|
555
|
+
@field_remappings = {}
|
556
|
+
end
|
359
557
|
end
|
360
558
|
|
361
559
|
class StripeDashboard < Stripe::StripeObject
|
362
560
|
# A value indicating the Stripe dashboard this account has access to independent of the Connect application.
|
363
561
|
attr_reader :type
|
562
|
+
|
563
|
+
def self.inner_class_types
|
564
|
+
@inner_class_types = {}
|
565
|
+
end
|
566
|
+
|
567
|
+
def self.field_remappings
|
568
|
+
@field_remappings = {}
|
569
|
+
end
|
364
570
|
end
|
571
|
+
# Attribute for field application
|
572
|
+
attr_reader :application
|
573
|
+
# Attribute for field dashboard
|
574
|
+
attr_reader :dashboard
|
365
575
|
# Attribute for field fees
|
366
576
|
attr_reader :fees
|
367
577
|
# `true` if the Connect application retrieving the resource controls the account and can therefore exercise [platform controls](https://stripe.com/docs/connect/platform-controls-for-standard-accounts). Otherwise, this field is null.
|
@@ -374,6 +584,20 @@ module Stripe
|
|
374
584
|
attr_reader :stripe_dashboard
|
375
585
|
# The controller type. Can be `application`, if a Connect application controls the account, or `account`, if the account controls itself.
|
376
586
|
attr_reader :type
|
587
|
+
|
588
|
+
def self.inner_class_types
|
589
|
+
@inner_class_types = {
|
590
|
+
application: Application,
|
591
|
+
dashboard: Dashboard,
|
592
|
+
fees: Fees,
|
593
|
+
losses: Losses,
|
594
|
+
stripe_dashboard: StripeDashboard,
|
595
|
+
}
|
596
|
+
end
|
597
|
+
|
598
|
+
def self.field_remappings
|
599
|
+
@field_remappings = {}
|
600
|
+
end
|
377
601
|
end
|
378
602
|
|
379
603
|
class FutureRequirements < Stripe::StripeObject
|
@@ -382,6 +606,14 @@ module Stripe
|
|
382
606
|
attr_reader :alternative_fields_due
|
383
607
|
# Fields that are due and can be satisfied by providing all fields in `alternative_fields_due`.
|
384
608
|
attr_reader :original_fields_due
|
609
|
+
|
610
|
+
def self.inner_class_types
|
611
|
+
@inner_class_types = {}
|
612
|
+
end
|
613
|
+
|
614
|
+
def self.field_remappings
|
615
|
+
@field_remappings = {}
|
616
|
+
end
|
385
617
|
end
|
386
618
|
|
387
619
|
class Error < Stripe::StripeObject
|
@@ -391,6 +623,14 @@ module Stripe
|
|
391
623
|
attr_reader :reason
|
392
624
|
# The specific user onboarding requirement field (in the requirements hash) that needs to be resolved.
|
393
625
|
attr_reader :requirement
|
626
|
+
|
627
|
+
def self.inner_class_types
|
628
|
+
@inner_class_types = {}
|
629
|
+
end
|
630
|
+
|
631
|
+
def self.field_remappings
|
632
|
+
@field_remappings = {}
|
633
|
+
end
|
394
634
|
end
|
395
635
|
# Fields that are due and can be satisfied by providing the corresponding alternative fields instead.
|
396
636
|
attr_reader :alternatives
|
@@ -408,11 +648,27 @@ module Stripe
|
|
408
648
|
attr_reader :past_due
|
409
649
|
# Fields that might become required depending on the results of verification or review. It's an empty array unless an asynchronous verification is pending. If verification fails, these fields move to `eventually_due` or `currently_due`. Fields might appear in `eventually_due` or `currently_due` and in `pending_verification` if verification fails but another verification is still pending.
|
410
650
|
attr_reader :pending_verification
|
651
|
+
|
652
|
+
def self.inner_class_types
|
653
|
+
@inner_class_types = { alternatives: Alternative, errors: Error }
|
654
|
+
end
|
655
|
+
|
656
|
+
def self.field_remappings
|
657
|
+
@field_remappings = {}
|
658
|
+
end
|
411
659
|
end
|
412
660
|
|
413
661
|
class Groups < Stripe::StripeObject
|
414
662
|
# The group the account is in to determine their payments pricing, and null if the account is on customized pricing. [See the Platform pricing tool documentation](https://stripe.com/docs/connect/platform-pricing-tools) for details.
|
415
663
|
attr_reader :payments_pricing
|
664
|
+
|
665
|
+
def self.inner_class_types
|
666
|
+
@inner_class_types = {}
|
667
|
+
end
|
668
|
+
|
669
|
+
def self.field_remappings
|
670
|
+
@field_remappings = {}
|
671
|
+
end
|
416
672
|
end
|
417
673
|
|
418
674
|
class Requirements < Stripe::StripeObject
|
@@ -421,6 +677,14 @@ module Stripe
|
|
421
677
|
attr_reader :alternative_fields_due
|
422
678
|
# Fields that are due and can be satisfied by providing all fields in `alternative_fields_due`.
|
423
679
|
attr_reader :original_fields_due
|
680
|
+
|
681
|
+
def self.inner_class_types
|
682
|
+
@inner_class_types = {}
|
683
|
+
end
|
684
|
+
|
685
|
+
def self.field_remappings
|
686
|
+
@field_remappings = {}
|
687
|
+
end
|
424
688
|
end
|
425
689
|
|
426
690
|
class Error < Stripe::StripeObject
|
@@ -430,6 +694,14 @@ module Stripe
|
|
430
694
|
attr_reader :reason
|
431
695
|
# The specific user onboarding requirement field (in the requirements hash) that needs to be resolved.
|
432
696
|
attr_reader :requirement
|
697
|
+
|
698
|
+
def self.inner_class_types
|
699
|
+
@inner_class_types = {}
|
700
|
+
end
|
701
|
+
|
702
|
+
def self.field_remappings
|
703
|
+
@field_remappings = {}
|
704
|
+
end
|
433
705
|
end
|
434
706
|
# Fields that are due and can be satisfied by providing the corresponding alternative fields instead.
|
435
707
|
attr_reader :alternatives
|
@@ -447,6 +719,56 @@ module Stripe
|
|
447
719
|
attr_reader :past_due
|
448
720
|
# Fields that might become required depending on the results of verification or review. It's an empty array unless an asynchronous verification is pending. If verification fails, these fields move to `eventually_due`, `currently_due`, or `past_due`. Fields might appear in `eventually_due`, `currently_due`, or `past_due` and in `pending_verification` if verification fails but another verification is still pending.
|
449
721
|
attr_reader :pending_verification
|
722
|
+
|
723
|
+
def self.inner_class_types
|
724
|
+
@inner_class_types = { alternatives: Alternative, errors: Error }
|
725
|
+
end
|
726
|
+
|
727
|
+
def self.field_remappings
|
728
|
+
@field_remappings = {}
|
729
|
+
end
|
730
|
+
end
|
731
|
+
|
732
|
+
class RiskControls < Stripe::StripeObject
|
733
|
+
class Charges < Stripe::StripeObject
|
734
|
+
# Whether a pause of the risk control has been requested.
|
735
|
+
attr_reader :pause_requested
|
736
|
+
|
737
|
+
def self.inner_class_types
|
738
|
+
@inner_class_types = {}
|
739
|
+
end
|
740
|
+
|
741
|
+
def self.field_remappings
|
742
|
+
@field_remappings = {}
|
743
|
+
end
|
744
|
+
end
|
745
|
+
|
746
|
+
class Payouts < Stripe::StripeObject
|
747
|
+
# Whether a pause of the risk control has been requested.
|
748
|
+
attr_reader :pause_requested
|
749
|
+
|
750
|
+
def self.inner_class_types
|
751
|
+
@inner_class_types = {}
|
752
|
+
end
|
753
|
+
|
754
|
+
def self.field_remappings
|
755
|
+
@field_remappings = {}
|
756
|
+
end
|
757
|
+
end
|
758
|
+
# Attribute for field charges
|
759
|
+
attr_reader :charges
|
760
|
+
# Attribute for field payouts
|
761
|
+
attr_reader :payouts
|
762
|
+
# Represents the rejected reason of the account. Empty if account is not rejected, or rejected by Stripe. Please see [this page for more details](https://stripe.com/docs/connect/)
|
763
|
+
attr_reader :rejected_reason
|
764
|
+
|
765
|
+
def self.inner_class_types
|
766
|
+
@inner_class_types = { charges: Charges, payouts: Payouts }
|
767
|
+
end
|
768
|
+
|
769
|
+
def self.field_remappings
|
770
|
+
@field_remappings = {}
|
771
|
+
end
|
450
772
|
end
|
451
773
|
|
452
774
|
class Settings < Stripe::StripeObject
|
@@ -455,6 +777,29 @@ module Stripe
|
|
455
777
|
attr_reader :display_name
|
456
778
|
# The Bacs Direct Debit Service user number for this account. For payments made with Bacs Direct Debit, this number is a unique identifier of the account with our banking partners.
|
457
779
|
attr_reader :service_user_number
|
780
|
+
|
781
|
+
def self.inner_class_types
|
782
|
+
@inner_class_types = {}
|
783
|
+
end
|
784
|
+
|
785
|
+
def self.field_remappings
|
786
|
+
@field_remappings = {}
|
787
|
+
end
|
788
|
+
end
|
789
|
+
|
790
|
+
class BankBcaOnboarding < Stripe::StripeObject
|
791
|
+
# Bank BCA business account holder name.
|
792
|
+
attr_reader :account_holder_name
|
793
|
+
# Bank BCA business account number.
|
794
|
+
attr_reader :business_account_number
|
795
|
+
|
796
|
+
def self.inner_class_types
|
797
|
+
@inner_class_types = {}
|
798
|
+
end
|
799
|
+
|
800
|
+
def self.field_remappings
|
801
|
+
@field_remappings = {}
|
802
|
+
end
|
458
803
|
end
|
459
804
|
|
460
805
|
class Branding < Stripe::StripeObject
|
@@ -466,6 +811,29 @@ module Stripe
|
|
466
811
|
attr_reader :primary_color
|
467
812
|
# A CSS hex color value representing the secondary branding color for this account
|
468
813
|
attr_reader :secondary_color
|
814
|
+
|
815
|
+
def self.inner_class_types
|
816
|
+
@inner_class_types = {}
|
817
|
+
end
|
818
|
+
|
819
|
+
def self.field_remappings
|
820
|
+
@field_remappings = {}
|
821
|
+
end
|
822
|
+
end
|
823
|
+
|
824
|
+
class Capital < Stripe::StripeObject
|
825
|
+
# Per-currency mapping of user-selected destination accounts used to pay out loans.
|
826
|
+
attr_reader :payout_destination
|
827
|
+
# Per-currency mapping of all destination accounts eligible to receive loan payouts.
|
828
|
+
attr_reader :payout_destination_selector
|
829
|
+
|
830
|
+
def self.inner_class_types
|
831
|
+
@inner_class_types = {}
|
832
|
+
end
|
833
|
+
|
834
|
+
def self.field_remappings
|
835
|
+
@field_remappings = {}
|
836
|
+
end
|
469
837
|
end
|
470
838
|
|
471
839
|
class CardIssuing < Stripe::StripeObject
|
@@ -476,9 +844,25 @@ module Stripe
|
|
476
844
|
attr_reader :ip
|
477
845
|
# The user agent of the browser from which the account representative accepted the service agreement.
|
478
846
|
attr_reader :user_agent
|
847
|
+
|
848
|
+
def self.inner_class_types
|
849
|
+
@inner_class_types = {}
|
850
|
+
end
|
851
|
+
|
852
|
+
def self.field_remappings
|
853
|
+
@field_remappings = {}
|
854
|
+
end
|
479
855
|
end
|
480
856
|
# Attribute for field tos_acceptance
|
481
857
|
attr_reader :tos_acceptance
|
858
|
+
|
859
|
+
def self.inner_class_types
|
860
|
+
@inner_class_types = { tos_acceptance: TosAcceptance }
|
861
|
+
end
|
862
|
+
|
863
|
+
def self.field_remappings
|
864
|
+
@field_remappings = {}
|
865
|
+
end
|
482
866
|
end
|
483
867
|
|
484
868
|
class CardPayments < Stripe::StripeObject
|
@@ -487,6 +871,14 @@ module Stripe
|
|
487
871
|
attr_reader :avs_failure
|
488
872
|
# Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification.
|
489
873
|
attr_reader :cvc_failure
|
874
|
+
|
875
|
+
def self.inner_class_types
|
876
|
+
@inner_class_types = {}
|
877
|
+
end
|
878
|
+
|
879
|
+
def self.field_remappings
|
880
|
+
@field_remappings = {}
|
881
|
+
end
|
490
882
|
end
|
491
883
|
# Attribute for field decline_on
|
492
884
|
attr_reader :decline_on
|
@@ -496,6 +888,14 @@ module Stripe
|
|
496
888
|
attr_reader :statement_descriptor_prefix_kana
|
497
889
|
# The Kanji variation of the default text that appears on credit card statements when a charge is made (Japan only). This field prefixes any dynamic `statement_descriptor_suffix_kanji` specified on the charge. `statement_descriptor_prefix_kanji` is useful for maximizing descriptor space for the dynamic portion.
|
498
890
|
attr_reader :statement_descriptor_prefix_kanji
|
891
|
+
|
892
|
+
def self.inner_class_types
|
893
|
+
@inner_class_types = { decline_on: DeclineOn }
|
894
|
+
end
|
895
|
+
|
896
|
+
def self.field_remappings
|
897
|
+
@field_remappings = {}
|
898
|
+
end
|
499
899
|
end
|
500
900
|
|
501
901
|
class Dashboard < Stripe::StripeObject
|
@@ -503,6 +903,14 @@ module Stripe
|
|
503
903
|
attr_reader :display_name
|
504
904
|
# The timezone used in the Stripe Dashboard for this account. A list of possible time zone values is maintained at the [IANA Time Zone Database](http://www.iana.org/time-zones).
|
505
905
|
attr_reader :timezone
|
906
|
+
|
907
|
+
def self.inner_class_types
|
908
|
+
@inner_class_types = {}
|
909
|
+
end
|
910
|
+
|
911
|
+
def self.field_remappings
|
912
|
+
@field_remappings = {}
|
913
|
+
end
|
506
914
|
end
|
507
915
|
|
508
916
|
class Invoices < Stripe::StripeObject
|
@@ -510,6 +918,14 @@ module Stripe
|
|
510
918
|
attr_reader :default_account_tax_ids
|
511
919
|
# Whether payment methods should be saved when a payment is completed for a one-time invoices on a hosted invoice page.
|
512
920
|
attr_reader :hosted_payment_method_save
|
921
|
+
|
922
|
+
def self.inner_class_types
|
923
|
+
@inner_class_types = {}
|
924
|
+
end
|
925
|
+
|
926
|
+
def self.field_remappings
|
927
|
+
@field_remappings = {}
|
928
|
+
end
|
513
929
|
end
|
514
930
|
|
515
931
|
class Payments < Stripe::StripeObject
|
@@ -523,6 +939,14 @@ module Stripe
|
|
523
939
|
attr_reader :statement_descriptor_prefix_kana
|
524
940
|
# The Kanji variation of `statement_descriptor_prefix` used for card charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).
|
525
941
|
attr_reader :statement_descriptor_prefix_kanji
|
942
|
+
|
943
|
+
def self.inner_class_types
|
944
|
+
@inner_class_types = {}
|
945
|
+
end
|
946
|
+
|
947
|
+
def self.field_remappings
|
948
|
+
@field_remappings = {}
|
949
|
+
end
|
526
950
|
end
|
527
951
|
|
528
952
|
class Payouts < Stripe::StripeObject
|
@@ -539,6 +963,14 @@ module Stripe
|
|
539
963
|
attr_reader :weekly_anchor
|
540
964
|
# The days of the week when available funds are paid out, specified as an array, for example, [`monday`, `tuesday`]. Only shown if `interval` is weekly.
|
541
965
|
attr_reader :weekly_payout_days
|
966
|
+
|
967
|
+
def self.inner_class_types
|
968
|
+
@inner_class_types = {}
|
969
|
+
end
|
970
|
+
|
971
|
+
def self.field_remappings
|
972
|
+
@field_remappings = {}
|
973
|
+
end
|
542
974
|
end
|
543
975
|
# A Boolean indicating if Stripe should try to reclaim negative balances from an attached bank account. See [Understanding Connect account balances](/connect/account-balances) for details. The default value is `false` when [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts, otherwise `true`.
|
544
976
|
attr_reader :debit_negative_balances
|
@@ -546,11 +978,40 @@ module Stripe
|
|
546
978
|
attr_reader :schedule
|
547
979
|
# The text that appears on the bank account statement for payouts. If not set, this defaults to the platform's bank descriptor as set in the Dashboard.
|
548
980
|
attr_reader :statement_descriptor
|
981
|
+
|
982
|
+
def self.inner_class_types
|
983
|
+
@inner_class_types = { schedule: Schedule }
|
984
|
+
end
|
985
|
+
|
986
|
+
def self.field_remappings
|
987
|
+
@field_remappings = {}
|
988
|
+
end
|
549
989
|
end
|
550
990
|
|
551
991
|
class SepaDebitPayments < Stripe::StripeObject
|
552
992
|
# SEPA creditor identifier that identifies the company making the payment.
|
553
993
|
attr_reader :creditor_id
|
994
|
+
|
995
|
+
def self.inner_class_types
|
996
|
+
@inner_class_types = {}
|
997
|
+
end
|
998
|
+
|
999
|
+
def self.field_remappings
|
1000
|
+
@field_remappings = {}
|
1001
|
+
end
|
1002
|
+
end
|
1003
|
+
|
1004
|
+
class TaxForms < Stripe::StripeObject
|
1005
|
+
# Whether the account opted out of receiving their tax forms by postal delivery.
|
1006
|
+
attr_reader :consented_to_paperless_delivery
|
1007
|
+
|
1008
|
+
def self.inner_class_types
|
1009
|
+
@inner_class_types = {}
|
1010
|
+
end
|
1011
|
+
|
1012
|
+
def self.field_remappings
|
1013
|
+
@field_remappings = {}
|
1014
|
+
end
|
554
1015
|
end
|
555
1016
|
|
556
1017
|
class Treasury < Stripe::StripeObject
|
@@ -561,14 +1022,34 @@ module Stripe
|
|
561
1022
|
attr_reader :ip
|
562
1023
|
# The user agent of the browser from which the account representative accepted the service agreement.
|
563
1024
|
attr_reader :user_agent
|
1025
|
+
|
1026
|
+
def self.inner_class_types
|
1027
|
+
@inner_class_types = {}
|
1028
|
+
end
|
1029
|
+
|
1030
|
+
def self.field_remappings
|
1031
|
+
@field_remappings = {}
|
1032
|
+
end
|
564
1033
|
end
|
565
1034
|
# Attribute for field tos_acceptance
|
566
1035
|
attr_reader :tos_acceptance
|
1036
|
+
|
1037
|
+
def self.inner_class_types
|
1038
|
+
@inner_class_types = { tos_acceptance: TosAcceptance }
|
1039
|
+
end
|
1040
|
+
|
1041
|
+
def self.field_remappings
|
1042
|
+
@field_remappings = {}
|
1043
|
+
end
|
567
1044
|
end
|
568
1045
|
# Attribute for field bacs_debit_payments
|
569
1046
|
attr_reader :bacs_debit_payments
|
1047
|
+
# Attribute for field bank_bca_onboarding
|
1048
|
+
attr_reader :bank_bca_onboarding
|
570
1049
|
# Attribute for field branding
|
571
1050
|
attr_reader :branding
|
1051
|
+
# Attribute for field capital
|
1052
|
+
attr_reader :capital
|
572
1053
|
# Attribute for field card_issuing
|
573
1054
|
attr_reader :card_issuing
|
574
1055
|
# Attribute for field card_payments
|
@@ -583,8 +1064,32 @@ module Stripe
|
|
583
1064
|
attr_reader :payouts
|
584
1065
|
# Attribute for field sepa_debit_payments
|
585
1066
|
attr_reader :sepa_debit_payments
|
1067
|
+
# Attribute for field tax_forms
|
1068
|
+
attr_reader :tax_forms
|
586
1069
|
# Attribute for field treasury
|
587
1070
|
attr_reader :treasury
|
1071
|
+
|
1072
|
+
def self.inner_class_types
|
1073
|
+
@inner_class_types = {
|
1074
|
+
bacs_debit_payments: BacsDebitPayments,
|
1075
|
+
bank_bca_onboarding: BankBcaOnboarding,
|
1076
|
+
branding: Branding,
|
1077
|
+
capital: Capital,
|
1078
|
+
card_issuing: CardIssuing,
|
1079
|
+
card_payments: CardPayments,
|
1080
|
+
dashboard: Dashboard,
|
1081
|
+
invoices: Invoices,
|
1082
|
+
payments: Payments,
|
1083
|
+
payouts: Payouts,
|
1084
|
+
sepa_debit_payments: SepaDebitPayments,
|
1085
|
+
tax_forms: TaxForms,
|
1086
|
+
treasury: Treasury,
|
1087
|
+
}
|
1088
|
+
end
|
1089
|
+
|
1090
|
+
def self.field_remappings
|
1091
|
+
@field_remappings = {}
|
1092
|
+
end
|
588
1093
|
end
|
589
1094
|
|
590
1095
|
class TosAcceptance < Stripe::StripeObject
|
@@ -596,6 +1101,14 @@ module Stripe
|
|
596
1101
|
attr_reader :service_agreement
|
597
1102
|
# The user agent of the browser from which the account representative accepted their service agreement
|
598
1103
|
attr_reader :user_agent
|
1104
|
+
|
1105
|
+
def self.inner_class_types
|
1106
|
+
@inner_class_types = {}
|
1107
|
+
end
|
1108
|
+
|
1109
|
+
def self.field_remappings
|
1110
|
+
@field_remappings = {}
|
1111
|
+
end
|
599
1112
|
end
|
600
1113
|
|
601
1114
|
class DeleteParams < Stripe::RequestParams; end
|
@@ -803,6 +1316,15 @@ module Stripe
|
|
803
1316
|
end
|
804
1317
|
end
|
805
1318
|
|
1319
|
+
class AutomaticIndirectTax < Stripe::RequestParams
|
1320
|
+
# 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.
|
1321
|
+
attr_accessor :requested
|
1322
|
+
|
1323
|
+
def initialize(requested: nil)
|
1324
|
+
@requested = requested
|
1325
|
+
end
|
1326
|
+
end
|
1327
|
+
|
806
1328
|
class BacsDebitPayments < Stripe::RequestParams
|
807
1329
|
# 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.
|
808
1330
|
attr_accessor :requested
|
@@ -875,7 +1397,124 @@ module Stripe
|
|
875
1397
|
end
|
876
1398
|
end
|
877
1399
|
|
878
|
-
class CartesBancairesPayments < Stripe::RequestParams
|
1400
|
+
class CartesBancairesPayments < Stripe::RequestParams
|
1401
|
+
# 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.
|
1402
|
+
attr_accessor :requested
|
1403
|
+
|
1404
|
+
def initialize(requested: nil)
|
1405
|
+
@requested = requested
|
1406
|
+
end
|
1407
|
+
end
|
1408
|
+
|
1409
|
+
class CashappPayments < Stripe::RequestParams
|
1410
|
+
# 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.
|
1411
|
+
attr_accessor :requested
|
1412
|
+
|
1413
|
+
def initialize(requested: nil)
|
1414
|
+
@requested = requested
|
1415
|
+
end
|
1416
|
+
end
|
1417
|
+
|
1418
|
+
class CryptoPayments < Stripe::RequestParams
|
1419
|
+
# 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.
|
1420
|
+
attr_accessor :requested
|
1421
|
+
|
1422
|
+
def initialize(requested: nil)
|
1423
|
+
@requested = requested
|
1424
|
+
end
|
1425
|
+
end
|
1426
|
+
|
1427
|
+
class EpsPayments < Stripe::RequestParams
|
1428
|
+
# 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.
|
1429
|
+
attr_accessor :requested
|
1430
|
+
|
1431
|
+
def initialize(requested: nil)
|
1432
|
+
@requested = requested
|
1433
|
+
end
|
1434
|
+
end
|
1435
|
+
|
1436
|
+
class FpxPayments < Stripe::RequestParams
|
1437
|
+
# 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.
|
1438
|
+
attr_accessor :requested
|
1439
|
+
|
1440
|
+
def initialize(requested: nil)
|
1441
|
+
@requested = requested
|
1442
|
+
end
|
1443
|
+
end
|
1444
|
+
|
1445
|
+
class GbBankTransferPayments < Stripe::RequestParams
|
1446
|
+
# 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.
|
1447
|
+
attr_accessor :requested
|
1448
|
+
|
1449
|
+
def initialize(requested: nil)
|
1450
|
+
@requested = requested
|
1451
|
+
end
|
1452
|
+
end
|
1453
|
+
|
1454
|
+
class GiropayPayments < Stripe::RequestParams
|
1455
|
+
# 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.
|
1456
|
+
attr_accessor :requested
|
1457
|
+
|
1458
|
+
def initialize(requested: nil)
|
1459
|
+
@requested = requested
|
1460
|
+
end
|
1461
|
+
end
|
1462
|
+
|
1463
|
+
class GopayPayments < Stripe::RequestParams
|
1464
|
+
# 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.
|
1465
|
+
attr_accessor :requested
|
1466
|
+
|
1467
|
+
def initialize(requested: nil)
|
1468
|
+
@requested = requested
|
1469
|
+
end
|
1470
|
+
end
|
1471
|
+
|
1472
|
+
class GrabpayPayments < Stripe::RequestParams
|
1473
|
+
# 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.
|
1474
|
+
attr_accessor :requested
|
1475
|
+
|
1476
|
+
def initialize(requested: nil)
|
1477
|
+
@requested = requested
|
1478
|
+
end
|
1479
|
+
end
|
1480
|
+
|
1481
|
+
class IdBankTransferPayments < Stripe::RequestParams
|
1482
|
+
# 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.
|
1483
|
+
attr_accessor :requested
|
1484
|
+
|
1485
|
+
def initialize(requested: nil)
|
1486
|
+
@requested = requested
|
1487
|
+
end
|
1488
|
+
end
|
1489
|
+
|
1490
|
+
class IdBankTransferPaymentsBca < Stripe::RequestParams
|
1491
|
+
# 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.
|
1492
|
+
attr_accessor :requested
|
1493
|
+
|
1494
|
+
def initialize(requested: nil)
|
1495
|
+
@requested = requested
|
1496
|
+
end
|
1497
|
+
end
|
1498
|
+
|
1499
|
+
class IdealPayments < Stripe::RequestParams
|
1500
|
+
# 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.
|
1501
|
+
attr_accessor :requested
|
1502
|
+
|
1503
|
+
def initialize(requested: nil)
|
1504
|
+
@requested = requested
|
1505
|
+
end
|
1506
|
+
end
|
1507
|
+
|
1508
|
+
class IndiaInternationalPayments < Stripe::RequestParams
|
1509
|
+
# 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.
|
1510
|
+
attr_accessor :requested
|
1511
|
+
|
1512
|
+
def initialize(requested: nil)
|
1513
|
+
@requested = requested
|
1514
|
+
end
|
1515
|
+
end
|
1516
|
+
|
1517
|
+
class JcbPayments < Stripe::RequestParams
|
879
1518
|
# 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.
|
880
1519
|
attr_accessor :requested
|
881
1520
|
|
@@ -884,7 +1523,7 @@ module Stripe
|
|
884
1523
|
end
|
885
1524
|
end
|
886
1525
|
|
887
|
-
class
|
1526
|
+
class JpBankTransferPayments < Stripe::RequestParams
|
888
1527
|
# 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.
|
889
1528
|
attr_accessor :requested
|
890
1529
|
|
@@ -893,7 +1532,7 @@ module Stripe
|
|
893
1532
|
end
|
894
1533
|
end
|
895
1534
|
|
896
|
-
class
|
1535
|
+
class KakaoPayPayments < Stripe::RequestParams
|
897
1536
|
# 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.
|
898
1537
|
attr_accessor :requested
|
899
1538
|
|
@@ -902,7 +1541,7 @@ module Stripe
|
|
902
1541
|
end
|
903
1542
|
end
|
904
1543
|
|
905
|
-
class
|
1544
|
+
class KlarnaPayments < Stripe::RequestParams
|
906
1545
|
# 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.
|
907
1546
|
attr_accessor :requested
|
908
1547
|
|
@@ -911,7 +1550,7 @@ module Stripe
|
|
911
1550
|
end
|
912
1551
|
end
|
913
1552
|
|
914
|
-
class
|
1553
|
+
class KonbiniPayments < Stripe::RequestParams
|
915
1554
|
# 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.
|
916
1555
|
attr_accessor :requested
|
917
1556
|
|
@@ -920,7 +1559,7 @@ module Stripe
|
|
920
1559
|
end
|
921
1560
|
end
|
922
1561
|
|
923
|
-
class
|
1562
|
+
class KrCardPayments < Stripe::RequestParams
|
924
1563
|
# 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.
|
925
1564
|
attr_accessor :requested
|
926
1565
|
|
@@ -929,7 +1568,7 @@ module Stripe
|
|
929
1568
|
end
|
930
1569
|
end
|
931
1570
|
|
932
|
-
class
|
1571
|
+
class LegacyPayments < Stripe::RequestParams
|
933
1572
|
# 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.
|
934
1573
|
attr_accessor :requested
|
935
1574
|
|
@@ -938,7 +1577,7 @@ module Stripe
|
|
938
1577
|
end
|
939
1578
|
end
|
940
1579
|
|
941
|
-
class
|
1580
|
+
class LinkPayments < Stripe::RequestParams
|
942
1581
|
# 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.
|
943
1582
|
attr_accessor :requested
|
944
1583
|
|
@@ -947,7 +1586,7 @@ module Stripe
|
|
947
1586
|
end
|
948
1587
|
end
|
949
1588
|
|
950
|
-
class
|
1589
|
+
class MbWayPayments < Stripe::RequestParams
|
951
1590
|
# 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.
|
952
1591
|
attr_accessor :requested
|
953
1592
|
|
@@ -956,7 +1595,7 @@ module Stripe
|
|
956
1595
|
end
|
957
1596
|
end
|
958
1597
|
|
959
|
-
class
|
1598
|
+
class MobilepayPayments < Stripe::RequestParams
|
960
1599
|
# 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.
|
961
1600
|
attr_accessor :requested
|
962
1601
|
|
@@ -965,7 +1604,7 @@ module Stripe
|
|
965
1604
|
end
|
966
1605
|
end
|
967
1606
|
|
968
|
-
class
|
1607
|
+
class MultibancoPayments < Stripe::RequestParams
|
969
1608
|
# 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.
|
970
1609
|
attr_accessor :requested
|
971
1610
|
|
@@ -974,7 +1613,7 @@ module Stripe
|
|
974
1613
|
end
|
975
1614
|
end
|
976
1615
|
|
977
|
-
class
|
1616
|
+
class MxBankTransferPayments < Stripe::RequestParams
|
978
1617
|
# 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.
|
979
1618
|
attr_accessor :requested
|
980
1619
|
|
@@ -983,7 +1622,7 @@ module Stripe
|
|
983
1622
|
end
|
984
1623
|
end
|
985
1624
|
|
986
|
-
class
|
1625
|
+
class NaverPayPayments < Stripe::RequestParams
|
987
1626
|
# 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.
|
988
1627
|
attr_accessor :requested
|
989
1628
|
|
@@ -992,7 +1631,7 @@ module Stripe
|
|
992
1631
|
end
|
993
1632
|
end
|
994
1633
|
|
995
|
-
class
|
1634
|
+
class NzBankAccountBecsDebitPayments < Stripe::RequestParams
|
996
1635
|
# 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.
|
997
1636
|
attr_accessor :requested
|
998
1637
|
|
@@ -1001,7 +1640,7 @@ module Stripe
|
|
1001
1640
|
end
|
1002
1641
|
end
|
1003
1642
|
|
1004
|
-
class
|
1643
|
+
class OxxoPayments < Stripe::RequestParams
|
1005
1644
|
# 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.
|
1006
1645
|
attr_accessor :requested
|
1007
1646
|
|
@@ -1010,7 +1649,7 @@ module Stripe
|
|
1010
1649
|
end
|
1011
1650
|
end
|
1012
1651
|
|
1013
|
-
class
|
1652
|
+
class P24Payments < Stripe::RequestParams
|
1014
1653
|
# 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.
|
1015
1654
|
attr_accessor :requested
|
1016
1655
|
|
@@ -1019,7 +1658,7 @@ module Stripe
|
|
1019
1658
|
end
|
1020
1659
|
end
|
1021
1660
|
|
1022
|
-
class
|
1661
|
+
class PayByBankPayments < Stripe::RequestParams
|
1023
1662
|
# 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.
|
1024
1663
|
attr_accessor :requested
|
1025
1664
|
|
@@ -1028,7 +1667,7 @@ module Stripe
|
|
1028
1667
|
end
|
1029
1668
|
end
|
1030
1669
|
|
1031
|
-
class
|
1670
|
+
class PaycoPayments < Stripe::RequestParams
|
1032
1671
|
# 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.
|
1033
1672
|
attr_accessor :requested
|
1034
1673
|
|
@@ -1037,7 +1676,7 @@ module Stripe
|
|
1037
1676
|
end
|
1038
1677
|
end
|
1039
1678
|
|
1040
|
-
class
|
1679
|
+
class PaynowPayments < Stripe::RequestParams
|
1041
1680
|
# 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.
|
1042
1681
|
attr_accessor :requested
|
1043
1682
|
|
@@ -1046,7 +1685,7 @@ module Stripe
|
|
1046
1685
|
end
|
1047
1686
|
end
|
1048
1687
|
|
1049
|
-
class
|
1688
|
+
class PaypalPayments < Stripe::RequestParams
|
1050
1689
|
# 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.
|
1051
1690
|
attr_accessor :requested
|
1052
1691
|
|
@@ -1055,7 +1694,7 @@ module Stripe
|
|
1055
1694
|
end
|
1056
1695
|
end
|
1057
1696
|
|
1058
|
-
class
|
1697
|
+
class PaytoPayments < Stripe::RequestParams
|
1059
1698
|
# 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.
|
1060
1699
|
attr_accessor :requested
|
1061
1700
|
|
@@ -1064,7 +1703,7 @@ module Stripe
|
|
1064
1703
|
end
|
1065
1704
|
end
|
1066
1705
|
|
1067
|
-
class
|
1706
|
+
class PixPayments < Stripe::RequestParams
|
1068
1707
|
# 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.
|
1069
1708
|
attr_accessor :requested
|
1070
1709
|
|
@@ -1073,7 +1712,7 @@ module Stripe
|
|
1073
1712
|
end
|
1074
1713
|
end
|
1075
1714
|
|
1076
|
-
class
|
1715
|
+
class PromptpayPayments < Stripe::RequestParams
|
1077
1716
|
# 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.
|
1078
1717
|
attr_accessor :requested
|
1079
1718
|
|
@@ -1082,7 +1721,7 @@ module Stripe
|
|
1082
1721
|
end
|
1083
1722
|
end
|
1084
1723
|
|
1085
|
-
class
|
1724
|
+
class QrisPayments < Stripe::RequestParams
|
1086
1725
|
# 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.
|
1087
1726
|
attr_accessor :requested
|
1088
1727
|
|
@@ -1091,7 +1730,7 @@ module Stripe
|
|
1091
1730
|
end
|
1092
1731
|
end
|
1093
1732
|
|
1094
|
-
class
|
1733
|
+
class RechnungPayments < Stripe::RequestParams
|
1095
1734
|
# 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.
|
1096
1735
|
attr_accessor :requested
|
1097
1736
|
|
@@ -1100,7 +1739,7 @@ module Stripe
|
|
1100
1739
|
end
|
1101
1740
|
end
|
1102
1741
|
|
1103
|
-
class
|
1742
|
+
class RevolutPayPayments < Stripe::RequestParams
|
1104
1743
|
# 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.
|
1105
1744
|
attr_accessor :requested
|
1106
1745
|
|
@@ -1109,7 +1748,7 @@ module Stripe
|
|
1109
1748
|
end
|
1110
1749
|
end
|
1111
1750
|
|
1112
|
-
class
|
1751
|
+
class SamsungPayPayments < Stripe::RequestParams
|
1113
1752
|
# 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.
|
1114
1753
|
attr_accessor :requested
|
1115
1754
|
|
@@ -1118,7 +1757,7 @@ module Stripe
|
|
1118
1757
|
end
|
1119
1758
|
end
|
1120
1759
|
|
1121
|
-
class
|
1760
|
+
class SatispayPayments < Stripe::RequestParams
|
1122
1761
|
# 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.
|
1123
1762
|
attr_accessor :requested
|
1124
1763
|
|
@@ -1127,7 +1766,7 @@ module Stripe
|
|
1127
1766
|
end
|
1128
1767
|
end
|
1129
1768
|
|
1130
|
-
class
|
1769
|
+
class SepaBankTransferPayments < Stripe::RequestParams
|
1131
1770
|
# 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.
|
1132
1771
|
attr_accessor :requested
|
1133
1772
|
|
@@ -1136,7 +1775,7 @@ module Stripe
|
|
1136
1775
|
end
|
1137
1776
|
end
|
1138
1777
|
|
1139
|
-
class
|
1778
|
+
class SepaDebitPayments < Stripe::RequestParams
|
1140
1779
|
# 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.
|
1141
1780
|
attr_accessor :requested
|
1142
1781
|
|
@@ -1145,7 +1784,7 @@ module Stripe
|
|
1145
1784
|
end
|
1146
1785
|
end
|
1147
1786
|
|
1148
|
-
class
|
1787
|
+
class ShopeepayPayments < Stripe::RequestParams
|
1149
1788
|
# 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.
|
1150
1789
|
attr_accessor :requested
|
1151
1790
|
|
@@ -1154,7 +1793,7 @@ module Stripe
|
|
1154
1793
|
end
|
1155
1794
|
end
|
1156
1795
|
|
1157
|
-
class
|
1796
|
+
class SofortPayments < Stripe::RequestParams
|
1158
1797
|
# 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.
|
1159
1798
|
attr_accessor :requested
|
1160
1799
|
|
@@ -1163,7 +1802,7 @@ module Stripe
|
|
1163
1802
|
end
|
1164
1803
|
end
|
1165
1804
|
|
1166
|
-
class
|
1805
|
+
class StripeBalancePayments < Stripe::RequestParams
|
1167
1806
|
# 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.
|
1168
1807
|
attr_accessor :requested
|
1169
1808
|
|
@@ -1172,7 +1811,7 @@ module Stripe
|
|
1172
1811
|
end
|
1173
1812
|
end
|
1174
1813
|
|
1175
|
-
class
|
1814
|
+
class SwishPayments < Stripe::RequestParams
|
1176
1815
|
# 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.
|
1177
1816
|
attr_accessor :requested
|
1178
1817
|
|
@@ -1181,7 +1820,7 @@ module Stripe
|
|
1181
1820
|
end
|
1182
1821
|
end
|
1183
1822
|
|
1184
|
-
class
|
1823
|
+
class TaxReportingUs1099K < Stripe::RequestParams
|
1185
1824
|
# 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.
|
1186
1825
|
attr_accessor :requested
|
1187
1826
|
|
@@ -1190,7 +1829,7 @@ module Stripe
|
|
1190
1829
|
end
|
1191
1830
|
end
|
1192
1831
|
|
1193
|
-
class
|
1832
|
+
class TaxReportingUs1099Misc < Stripe::RequestParams
|
1194
1833
|
# 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.
|
1195
1834
|
attr_accessor :requested
|
1196
1835
|
|
@@ -1199,7 +1838,7 @@ module Stripe
|
|
1199
1838
|
end
|
1200
1839
|
end
|
1201
1840
|
|
1202
|
-
class
|
1841
|
+
class Transfers < Stripe::RequestParams
|
1203
1842
|
# 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.
|
1204
1843
|
attr_accessor :requested
|
1205
1844
|
|
@@ -1208,7 +1847,7 @@ module Stripe
|
|
1208
1847
|
end
|
1209
1848
|
end
|
1210
1849
|
|
1211
|
-
class
|
1850
|
+
class Treasury < Stripe::RequestParams
|
1212
1851
|
# 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.
|
1213
1852
|
attr_accessor :requested
|
1214
1853
|
|
@@ -1217,7 +1856,7 @@ module Stripe
|
|
1217
1856
|
end
|
1218
1857
|
end
|
1219
1858
|
|
1220
|
-
class
|
1859
|
+
class TreasuryEvolve < Stripe::RequestParams
|
1221
1860
|
# 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.
|
1222
1861
|
attr_accessor :requested
|
1223
1862
|
|
@@ -1226,7 +1865,7 @@ module Stripe
|
|
1226
1865
|
end
|
1227
1866
|
end
|
1228
1867
|
|
1229
|
-
class
|
1868
|
+
class TreasuryFifthThird < Stripe::RequestParams
|
1230
1869
|
# 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.
|
1231
1870
|
attr_accessor :requested
|
1232
1871
|
|
@@ -1235,7 +1874,7 @@ module Stripe
|
|
1235
1874
|
end
|
1236
1875
|
end
|
1237
1876
|
|
1238
|
-
class
|
1877
|
+
class TreasuryGoldmanSachs < Stripe::RequestParams
|
1239
1878
|
# 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.
|
1240
1879
|
attr_accessor :requested
|
1241
1880
|
|
@@ -1291,6 +1930,8 @@ module Stripe
|
|
1291
1930
|
attr_accessor :amazon_pay_payments
|
1292
1931
|
# The au_becs_debit_payments capability.
|
1293
1932
|
attr_accessor :au_becs_debit_payments
|
1933
|
+
# The automatic_indirect_tax capability.
|
1934
|
+
attr_accessor :automatic_indirect_tax
|
1294
1935
|
# The bacs_debit_payments capability.
|
1295
1936
|
attr_accessor :bacs_debit_payments
|
1296
1937
|
# The bancontact_payments capability.
|
@@ -1321,8 +1962,14 @@ module Stripe
|
|
1321
1962
|
attr_accessor :gb_bank_transfer_payments
|
1322
1963
|
# The giropay_payments capability.
|
1323
1964
|
attr_accessor :giropay_payments
|
1965
|
+
# The gopay_payments capability.
|
1966
|
+
attr_accessor :gopay_payments
|
1324
1967
|
# The grabpay_payments capability.
|
1325
1968
|
attr_accessor :grabpay_payments
|
1969
|
+
# The id_bank_transfer_payments capability.
|
1970
|
+
attr_accessor :id_bank_transfer_payments
|
1971
|
+
# The id_bank_transfer_payments_bca capability.
|
1972
|
+
attr_accessor :id_bank_transfer_payments_bca
|
1326
1973
|
# The ideal_payments capability.
|
1327
1974
|
attr_accessor :ideal_payments
|
1328
1975
|
# The india_international_payments capability.
|
@@ -1343,6 +1990,8 @@ module Stripe
|
|
1343
1990
|
attr_accessor :legacy_payments
|
1344
1991
|
# The link_payments capability.
|
1345
1992
|
attr_accessor :link_payments
|
1993
|
+
# The mb_way_payments capability.
|
1994
|
+
attr_accessor :mb_way_payments
|
1346
1995
|
# The mobilepay_payments capability.
|
1347
1996
|
attr_accessor :mobilepay_payments
|
1348
1997
|
# The multibanco_payments capability.
|
@@ -1363,10 +2012,18 @@ module Stripe
|
|
1363
2012
|
attr_accessor :payco_payments
|
1364
2013
|
# The paynow_payments capability.
|
1365
2014
|
attr_accessor :paynow_payments
|
2015
|
+
# The paypal_payments capability.
|
2016
|
+
attr_accessor :paypal_payments
|
2017
|
+
# The payto_payments capability.
|
2018
|
+
attr_accessor :payto_payments
|
1366
2019
|
# The pix_payments capability.
|
1367
2020
|
attr_accessor :pix_payments
|
1368
2021
|
# The promptpay_payments capability.
|
1369
2022
|
attr_accessor :promptpay_payments
|
2023
|
+
# The qris_payments capability.
|
2024
|
+
attr_accessor :qris_payments
|
2025
|
+
# The rechnung_payments capability.
|
2026
|
+
attr_accessor :rechnung_payments
|
1370
2027
|
# The revolut_pay_payments capability.
|
1371
2028
|
attr_accessor :revolut_pay_payments
|
1372
2029
|
# The samsung_pay_payments capability.
|
@@ -1377,8 +2034,12 @@ module Stripe
|
|
1377
2034
|
attr_accessor :sepa_bank_transfer_payments
|
1378
2035
|
# The sepa_debit_payments capability.
|
1379
2036
|
attr_accessor :sepa_debit_payments
|
2037
|
+
# The shopeepay_payments capability.
|
2038
|
+
attr_accessor :shopeepay_payments
|
1380
2039
|
# The sofort_payments capability.
|
1381
2040
|
attr_accessor :sofort_payments
|
2041
|
+
# The stripe_balance_payments capability.
|
2042
|
+
attr_accessor :stripe_balance_payments
|
1382
2043
|
# The swish_payments capability.
|
1383
2044
|
attr_accessor :swish_payments
|
1384
2045
|
# The tax_reporting_us_1099_k capability.
|
@@ -1389,6 +2050,12 @@ module Stripe
|
|
1389
2050
|
attr_accessor :transfers
|
1390
2051
|
# The treasury capability.
|
1391
2052
|
attr_accessor :treasury
|
2053
|
+
# The treasury_evolve capability.
|
2054
|
+
attr_accessor :treasury_evolve
|
2055
|
+
# The treasury_fifth_third capability.
|
2056
|
+
attr_accessor :treasury_fifth_third
|
2057
|
+
# The treasury_goldman_sachs capability.
|
2058
|
+
attr_accessor :treasury_goldman_sachs
|
1392
2059
|
# The twint_payments capability.
|
1393
2060
|
attr_accessor :twint_payments
|
1394
2061
|
# The us_bank_account_ach_payments capability.
|
@@ -1405,6 +2072,7 @@ module Stripe
|
|
1405
2072
|
alma_payments: nil,
|
1406
2073
|
amazon_pay_payments: nil,
|
1407
2074
|
au_becs_debit_payments: nil,
|
2075
|
+
automatic_indirect_tax: nil,
|
1408
2076
|
bacs_debit_payments: nil,
|
1409
2077
|
bancontact_payments: nil,
|
1410
2078
|
bank_transfer_payments: nil,
|
@@ -1420,7 +2088,10 @@ module Stripe
|
|
1420
2088
|
fpx_payments: nil,
|
1421
2089
|
gb_bank_transfer_payments: nil,
|
1422
2090
|
giropay_payments: nil,
|
2091
|
+
gopay_payments: nil,
|
1423
2092
|
grabpay_payments: nil,
|
2093
|
+
id_bank_transfer_payments: nil,
|
2094
|
+
id_bank_transfer_payments_bca: nil,
|
1424
2095
|
ideal_payments: nil,
|
1425
2096
|
india_international_payments: nil,
|
1426
2097
|
jcb_payments: nil,
|
@@ -1431,6 +2102,7 @@ module Stripe
|
|
1431
2102
|
kr_card_payments: nil,
|
1432
2103
|
legacy_payments: nil,
|
1433
2104
|
link_payments: nil,
|
2105
|
+
mb_way_payments: nil,
|
1434
2106
|
mobilepay_payments: nil,
|
1435
2107
|
multibanco_payments: nil,
|
1436
2108
|
mx_bank_transfer_payments: nil,
|
@@ -1441,19 +2113,28 @@ module Stripe
|
|
1441
2113
|
pay_by_bank_payments: nil,
|
1442
2114
|
payco_payments: nil,
|
1443
2115
|
paynow_payments: nil,
|
2116
|
+
paypal_payments: nil,
|
2117
|
+
payto_payments: nil,
|
1444
2118
|
pix_payments: nil,
|
1445
2119
|
promptpay_payments: nil,
|
2120
|
+
qris_payments: nil,
|
2121
|
+
rechnung_payments: nil,
|
1446
2122
|
revolut_pay_payments: nil,
|
1447
2123
|
samsung_pay_payments: nil,
|
1448
2124
|
satispay_payments: nil,
|
1449
2125
|
sepa_bank_transfer_payments: nil,
|
1450
2126
|
sepa_debit_payments: nil,
|
2127
|
+
shopeepay_payments: nil,
|
1451
2128
|
sofort_payments: nil,
|
2129
|
+
stripe_balance_payments: nil,
|
1452
2130
|
swish_payments: nil,
|
1453
2131
|
tax_reporting_us_1099_k: nil,
|
1454
2132
|
tax_reporting_us_1099_misc: nil,
|
1455
2133
|
transfers: nil,
|
1456
2134
|
treasury: nil,
|
2135
|
+
treasury_evolve: nil,
|
2136
|
+
treasury_fifth_third: nil,
|
2137
|
+
treasury_goldman_sachs: nil,
|
1457
2138
|
twint_payments: nil,
|
1458
2139
|
us_bank_account_ach_payments: nil,
|
1459
2140
|
us_bank_transfer_payments: nil,
|
@@ -1465,6 +2146,7 @@ module Stripe
|
|
1465
2146
|
@alma_payments = alma_payments
|
1466
2147
|
@amazon_pay_payments = amazon_pay_payments
|
1467
2148
|
@au_becs_debit_payments = au_becs_debit_payments
|
2149
|
+
@automatic_indirect_tax = automatic_indirect_tax
|
1468
2150
|
@bacs_debit_payments = bacs_debit_payments
|
1469
2151
|
@bancontact_payments = bancontact_payments
|
1470
2152
|
@bank_transfer_payments = bank_transfer_payments
|
@@ -1480,7 +2162,10 @@ module Stripe
|
|
1480
2162
|
@fpx_payments = fpx_payments
|
1481
2163
|
@gb_bank_transfer_payments = gb_bank_transfer_payments
|
1482
2164
|
@giropay_payments = giropay_payments
|
2165
|
+
@gopay_payments = gopay_payments
|
1483
2166
|
@grabpay_payments = grabpay_payments
|
2167
|
+
@id_bank_transfer_payments = id_bank_transfer_payments
|
2168
|
+
@id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
|
1484
2169
|
@ideal_payments = ideal_payments
|
1485
2170
|
@india_international_payments = india_international_payments
|
1486
2171
|
@jcb_payments = jcb_payments
|
@@ -1491,6 +2176,7 @@ module Stripe
|
|
1491
2176
|
@kr_card_payments = kr_card_payments
|
1492
2177
|
@legacy_payments = legacy_payments
|
1493
2178
|
@link_payments = link_payments
|
2179
|
+
@mb_way_payments = mb_way_payments
|
1494
2180
|
@mobilepay_payments = mobilepay_payments
|
1495
2181
|
@multibanco_payments = multibanco_payments
|
1496
2182
|
@mx_bank_transfer_payments = mx_bank_transfer_payments
|
@@ -1501,19 +2187,28 @@ module Stripe
|
|
1501
2187
|
@pay_by_bank_payments = pay_by_bank_payments
|
1502
2188
|
@payco_payments = payco_payments
|
1503
2189
|
@paynow_payments = paynow_payments
|
2190
|
+
@paypal_payments = paypal_payments
|
2191
|
+
@payto_payments = payto_payments
|
1504
2192
|
@pix_payments = pix_payments
|
1505
2193
|
@promptpay_payments = promptpay_payments
|
2194
|
+
@qris_payments = qris_payments
|
2195
|
+
@rechnung_payments = rechnung_payments
|
1506
2196
|
@revolut_pay_payments = revolut_pay_payments
|
1507
2197
|
@samsung_pay_payments = samsung_pay_payments
|
1508
2198
|
@satispay_payments = satispay_payments
|
1509
2199
|
@sepa_bank_transfer_payments = sepa_bank_transfer_payments
|
1510
2200
|
@sepa_debit_payments = sepa_debit_payments
|
2201
|
+
@shopeepay_payments = shopeepay_payments
|
1511
2202
|
@sofort_payments = sofort_payments
|
2203
|
+
@stripe_balance_payments = stripe_balance_payments
|
1512
2204
|
@swish_payments = swish_payments
|
1513
2205
|
@tax_reporting_us_1099_k = tax_reporting_us_1099_k
|
1514
2206
|
@tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
|
1515
2207
|
@transfers = transfers
|
1516
2208
|
@treasury = treasury
|
2209
|
+
@treasury_evolve = treasury_evolve
|
2210
|
+
@treasury_fifth_third = treasury_fifth_third
|
2211
|
+
@treasury_goldman_sachs = treasury_goldman_sachs
|
1517
2212
|
@twint_payments = twint_payments
|
1518
2213
|
@us_bank_account_ach_payments = us_bank_account_ach_payments
|
1519
2214
|
@us_bank_transfer_payments = us_bank_transfer_payments
|
@@ -2302,6 +2997,37 @@ module Stripe
|
|
2302
2997
|
end
|
2303
2998
|
end
|
2304
2999
|
|
3000
|
+
class RiskControls < Stripe::RequestParams
|
3001
|
+
class Charges < Stripe::RequestParams
|
3002
|
+
# To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
3003
|
+
# There can be a delay before the risk control is paused or unpaused.
|
3004
|
+
attr_accessor :pause_requested
|
3005
|
+
|
3006
|
+
def initialize(pause_requested: nil)
|
3007
|
+
@pause_requested = pause_requested
|
3008
|
+
end
|
3009
|
+
end
|
3010
|
+
|
3011
|
+
class Payouts < Stripe::RequestParams
|
3012
|
+
# To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
3013
|
+
# There can be a delay before the risk control is paused or unpaused.
|
3014
|
+
attr_accessor :pause_requested
|
3015
|
+
|
3016
|
+
def initialize(pause_requested: nil)
|
3017
|
+
@pause_requested = pause_requested
|
3018
|
+
end
|
3019
|
+
end
|
3020
|
+
# 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).
|
3021
|
+
attr_accessor :charges
|
3022
|
+
# 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).
|
3023
|
+
attr_accessor :payouts
|
3024
|
+
|
3025
|
+
def initialize(charges: nil, payouts: nil)
|
3026
|
+
@charges = charges
|
3027
|
+
@payouts = payouts
|
3028
|
+
end
|
3029
|
+
end
|
3030
|
+
|
2305
3031
|
class Settings < Stripe::RequestParams
|
2306
3032
|
class BacsDebitPayments < Stripe::RequestParams
|
2307
3033
|
# 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.
|
@@ -2312,6 +3038,18 @@ module Stripe
|
|
2312
3038
|
end
|
2313
3039
|
end
|
2314
3040
|
|
3041
|
+
class BankBcaOnboarding < Stripe::RequestParams
|
3042
|
+
# Bank BCA business account holder name
|
3043
|
+
attr_accessor :account_holder_name
|
3044
|
+
# Bank BCA business account number
|
3045
|
+
attr_accessor :business_account_number
|
3046
|
+
|
3047
|
+
def initialize(account_holder_name: nil, business_account_number: nil)
|
3048
|
+
@account_holder_name = account_holder_name
|
3049
|
+
@business_account_number = business_account_number
|
3050
|
+
end
|
3051
|
+
end
|
3052
|
+
|
2315
3053
|
class Branding < Stripe::RequestParams
|
2316
3054
|
# (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.
|
2317
3055
|
attr_accessor :icon
|
@@ -2330,6 +3068,18 @@ module Stripe
|
|
2330
3068
|
end
|
2331
3069
|
end
|
2332
3070
|
|
3071
|
+
class Capital < Stripe::RequestParams
|
3072
|
+
# Per-currency mapping of user-selected destination accounts used to pay out loans.
|
3073
|
+
attr_accessor :payout_destination
|
3074
|
+
# Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
3075
|
+
attr_accessor :payout_destination_selector
|
3076
|
+
|
3077
|
+
def initialize(payout_destination: nil, payout_destination_selector: nil)
|
3078
|
+
@payout_destination = payout_destination
|
3079
|
+
@payout_destination_selector = payout_destination_selector
|
3080
|
+
end
|
3081
|
+
end
|
3082
|
+
|
2333
3083
|
class CardIssuing < Stripe::RequestParams
|
2334
3084
|
class TosAcceptance < Stripe::RequestParams
|
2335
3085
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
@@ -2463,6 +3213,15 @@ module Stripe
|
|
2463
3213
|
end
|
2464
3214
|
end
|
2465
3215
|
|
3216
|
+
class TaxForms < Stripe::RequestParams
|
3217
|
+
# Whether the account opted out of receiving their tax forms by postal delivery.
|
3218
|
+
attr_accessor :consented_to_paperless_delivery
|
3219
|
+
|
3220
|
+
def initialize(consented_to_paperless_delivery: nil)
|
3221
|
+
@consented_to_paperless_delivery = consented_to_paperless_delivery
|
3222
|
+
end
|
3223
|
+
end
|
3224
|
+
|
2466
3225
|
class Treasury < Stripe::RequestParams
|
2467
3226
|
class TosAcceptance < Stripe::RequestParams
|
2468
3227
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
@@ -2487,8 +3246,12 @@ module Stripe
|
|
2487
3246
|
end
|
2488
3247
|
# Settings specific to Bacs Direct Debit payments.
|
2489
3248
|
attr_accessor :bacs_debit_payments
|
3249
|
+
# Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
3250
|
+
attr_accessor :bank_bca_onboarding
|
2490
3251
|
# Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
2491
3252
|
attr_accessor :branding
|
3253
|
+
# Settings specific to the account's use of the Capital product.
|
3254
|
+
attr_accessor :capital
|
2492
3255
|
# Settings specific to the account's use of the Card Issuing product.
|
2493
3256
|
attr_accessor :card_issuing
|
2494
3257
|
# Settings specific to card charging on the account.
|
@@ -2499,26 +3262,34 @@ module Stripe
|
|
2499
3262
|
attr_accessor :payments
|
2500
3263
|
# Settings specific to the account's payouts.
|
2501
3264
|
attr_accessor :payouts
|
3265
|
+
# Settings specific to the account's tax forms.
|
3266
|
+
attr_accessor :tax_forms
|
2502
3267
|
# Settings specific to the account's Treasury FinancialAccounts.
|
2503
3268
|
attr_accessor :treasury
|
2504
3269
|
|
2505
3270
|
def initialize(
|
2506
3271
|
bacs_debit_payments: nil,
|
3272
|
+
bank_bca_onboarding: nil,
|
2507
3273
|
branding: nil,
|
3274
|
+
capital: nil,
|
2508
3275
|
card_issuing: nil,
|
2509
3276
|
card_payments: nil,
|
2510
3277
|
invoices: nil,
|
2511
3278
|
payments: nil,
|
2512
3279
|
payouts: nil,
|
3280
|
+
tax_forms: nil,
|
2513
3281
|
treasury: nil
|
2514
3282
|
)
|
2515
3283
|
@bacs_debit_payments = bacs_debit_payments
|
3284
|
+
@bank_bca_onboarding = bank_bca_onboarding
|
2516
3285
|
@branding = branding
|
3286
|
+
@capital = capital
|
2517
3287
|
@card_issuing = card_issuing
|
2518
3288
|
@card_payments = card_payments
|
2519
3289
|
@invoices = invoices
|
2520
3290
|
@payments = payments
|
2521
3291
|
@payouts = payouts
|
3292
|
+
@tax_forms = tax_forms
|
2522
3293
|
@treasury = treasury
|
2523
3294
|
end
|
2524
3295
|
end
|
@@ -2573,6 +3344,8 @@ module Stripe
|
|
2573
3344
|
attr_accessor :individual
|
2574
3345
|
# 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`.
|
2575
3346
|
attr_accessor :metadata
|
3347
|
+
# A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
|
3348
|
+
attr_accessor :risk_controls
|
2576
3349
|
# Options for customizing how the account functions within Stripe.
|
2577
3350
|
attr_accessor :settings
|
2578
3351
|
# 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.
|
@@ -2592,6 +3365,7 @@ module Stripe
|
|
2592
3365
|
groups: nil,
|
2593
3366
|
individual: nil,
|
2594
3367
|
metadata: nil,
|
3368
|
+
risk_controls: nil,
|
2595
3369
|
settings: nil,
|
2596
3370
|
tos_acceptance: nil
|
2597
3371
|
)
|
@@ -2608,6 +3382,7 @@ module Stripe
|
|
2608
3382
|
@groups = groups
|
2609
3383
|
@individual = individual
|
2610
3384
|
@metadata = metadata
|
3385
|
+
@risk_controls = risk_controls
|
2611
3386
|
@settings = settings
|
2612
3387
|
@tos_acceptance = tos_acceptance
|
2613
3388
|
end
|
@@ -2854,6 +3629,15 @@ module Stripe
|
|
2854
3629
|
end
|
2855
3630
|
end
|
2856
3631
|
|
3632
|
+
class AutomaticIndirectTax < Stripe::RequestParams
|
3633
|
+
# 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.
|
3634
|
+
attr_accessor :requested
|
3635
|
+
|
3636
|
+
def initialize(requested: nil)
|
3637
|
+
@requested = requested
|
3638
|
+
end
|
3639
|
+
end
|
3640
|
+
|
2857
3641
|
class BacsDebitPayments < Stripe::RequestParams
|
2858
3642
|
# 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.
|
2859
3643
|
attr_accessor :requested
|
@@ -2989,6 +3773,15 @@ module Stripe
|
|
2989
3773
|
end
|
2990
3774
|
end
|
2991
3775
|
|
3776
|
+
class GopayPayments < Stripe::RequestParams
|
3777
|
+
# 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.
|
3778
|
+
attr_accessor :requested
|
3779
|
+
|
3780
|
+
def initialize(requested: nil)
|
3781
|
+
@requested = requested
|
3782
|
+
end
|
3783
|
+
end
|
3784
|
+
|
2992
3785
|
class GrabpayPayments < Stripe::RequestParams
|
2993
3786
|
# 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.
|
2994
3787
|
attr_accessor :requested
|
@@ -2998,6 +3791,24 @@ module Stripe
|
|
2998
3791
|
end
|
2999
3792
|
end
|
3000
3793
|
|
3794
|
+
class IdBankTransferPayments < Stripe::RequestParams
|
3795
|
+
# 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.
|
3796
|
+
attr_accessor :requested
|
3797
|
+
|
3798
|
+
def initialize(requested: nil)
|
3799
|
+
@requested = requested
|
3800
|
+
end
|
3801
|
+
end
|
3802
|
+
|
3803
|
+
class IdBankTransferPaymentsBca < Stripe::RequestParams
|
3804
|
+
# 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.
|
3805
|
+
attr_accessor :requested
|
3806
|
+
|
3807
|
+
def initialize(requested: nil)
|
3808
|
+
@requested = requested
|
3809
|
+
end
|
3810
|
+
end
|
3811
|
+
|
3001
3812
|
class IdealPayments < Stripe::RequestParams
|
3002
3813
|
# 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.
|
3003
3814
|
attr_accessor :requested
|
@@ -3088,6 +3899,15 @@ module Stripe
|
|
3088
3899
|
end
|
3089
3900
|
end
|
3090
3901
|
|
3902
|
+
class MbWayPayments < Stripe::RequestParams
|
3903
|
+
# 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.
|
3904
|
+
attr_accessor :requested
|
3905
|
+
|
3906
|
+
def initialize(requested: nil)
|
3907
|
+
@requested = requested
|
3908
|
+
end
|
3909
|
+
end
|
3910
|
+
|
3091
3911
|
class MobilepayPayments < Stripe::RequestParams
|
3092
3912
|
# 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.
|
3093
3913
|
attr_accessor :requested
|
@@ -3178,6 +3998,24 @@ module Stripe
|
|
3178
3998
|
end
|
3179
3999
|
end
|
3180
4000
|
|
4001
|
+
class PaypalPayments < Stripe::RequestParams
|
4002
|
+
# 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.
|
4003
|
+
attr_accessor :requested
|
4004
|
+
|
4005
|
+
def initialize(requested: nil)
|
4006
|
+
@requested = requested
|
4007
|
+
end
|
4008
|
+
end
|
4009
|
+
|
4010
|
+
class PaytoPayments < Stripe::RequestParams
|
4011
|
+
# 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.
|
4012
|
+
attr_accessor :requested
|
4013
|
+
|
4014
|
+
def initialize(requested: nil)
|
4015
|
+
@requested = requested
|
4016
|
+
end
|
4017
|
+
end
|
4018
|
+
|
3181
4019
|
class PixPayments < Stripe::RequestParams
|
3182
4020
|
# 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.
|
3183
4021
|
attr_accessor :requested
|
@@ -3196,6 +4034,24 @@ module Stripe
|
|
3196
4034
|
end
|
3197
4035
|
end
|
3198
4036
|
|
4037
|
+
class QrisPayments < Stripe::RequestParams
|
4038
|
+
# 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.
|
4039
|
+
attr_accessor :requested
|
4040
|
+
|
4041
|
+
def initialize(requested: nil)
|
4042
|
+
@requested = requested
|
4043
|
+
end
|
4044
|
+
end
|
4045
|
+
|
4046
|
+
class RechnungPayments < Stripe::RequestParams
|
4047
|
+
# 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.
|
4048
|
+
attr_accessor :requested
|
4049
|
+
|
4050
|
+
def initialize(requested: nil)
|
4051
|
+
@requested = requested
|
4052
|
+
end
|
4053
|
+
end
|
4054
|
+
|
3199
4055
|
class RevolutPayPayments < Stripe::RequestParams
|
3200
4056
|
# 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.
|
3201
4057
|
attr_accessor :requested
|
@@ -3241,6 +4097,15 @@ module Stripe
|
|
3241
4097
|
end
|
3242
4098
|
end
|
3243
4099
|
|
4100
|
+
class ShopeepayPayments < Stripe::RequestParams
|
4101
|
+
# 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.
|
4102
|
+
attr_accessor :requested
|
4103
|
+
|
4104
|
+
def initialize(requested: nil)
|
4105
|
+
@requested = requested
|
4106
|
+
end
|
4107
|
+
end
|
4108
|
+
|
3244
4109
|
class SofortPayments < Stripe::RequestParams
|
3245
4110
|
# 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.
|
3246
4111
|
attr_accessor :requested
|
@@ -3250,6 +4115,15 @@ module Stripe
|
|
3250
4115
|
end
|
3251
4116
|
end
|
3252
4117
|
|
4118
|
+
class StripeBalancePayments < Stripe::RequestParams
|
4119
|
+
# 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.
|
4120
|
+
attr_accessor :requested
|
4121
|
+
|
4122
|
+
def initialize(requested: nil)
|
4123
|
+
@requested = requested
|
4124
|
+
end
|
4125
|
+
end
|
4126
|
+
|
3253
4127
|
class SwishPayments < Stripe::RequestParams
|
3254
4128
|
# 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.
|
3255
4129
|
attr_accessor :requested
|
@@ -3295,6 +4169,33 @@ module Stripe
|
|
3295
4169
|
end
|
3296
4170
|
end
|
3297
4171
|
|
4172
|
+
class TreasuryEvolve < Stripe::RequestParams
|
4173
|
+
# 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.
|
4174
|
+
attr_accessor :requested
|
4175
|
+
|
4176
|
+
def initialize(requested: nil)
|
4177
|
+
@requested = requested
|
4178
|
+
end
|
4179
|
+
end
|
4180
|
+
|
4181
|
+
class TreasuryFifthThird < Stripe::RequestParams
|
4182
|
+
# 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.
|
4183
|
+
attr_accessor :requested
|
4184
|
+
|
4185
|
+
def initialize(requested: nil)
|
4186
|
+
@requested = requested
|
4187
|
+
end
|
4188
|
+
end
|
4189
|
+
|
4190
|
+
class TreasuryGoldmanSachs < Stripe::RequestParams
|
4191
|
+
# 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.
|
4192
|
+
attr_accessor :requested
|
4193
|
+
|
4194
|
+
def initialize(requested: nil)
|
4195
|
+
@requested = requested
|
4196
|
+
end
|
4197
|
+
end
|
4198
|
+
|
3298
4199
|
class TwintPayments < Stripe::RequestParams
|
3299
4200
|
# 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.
|
3300
4201
|
attr_accessor :requested
|
@@ -3342,6 +4243,8 @@ module Stripe
|
|
3342
4243
|
attr_accessor :amazon_pay_payments
|
3343
4244
|
# The au_becs_debit_payments capability.
|
3344
4245
|
attr_accessor :au_becs_debit_payments
|
4246
|
+
# The automatic_indirect_tax capability.
|
4247
|
+
attr_accessor :automatic_indirect_tax
|
3345
4248
|
# The bacs_debit_payments capability.
|
3346
4249
|
attr_accessor :bacs_debit_payments
|
3347
4250
|
# The bancontact_payments capability.
|
@@ -3372,8 +4275,14 @@ module Stripe
|
|
3372
4275
|
attr_accessor :gb_bank_transfer_payments
|
3373
4276
|
# The giropay_payments capability.
|
3374
4277
|
attr_accessor :giropay_payments
|
4278
|
+
# The gopay_payments capability.
|
4279
|
+
attr_accessor :gopay_payments
|
3375
4280
|
# The grabpay_payments capability.
|
3376
4281
|
attr_accessor :grabpay_payments
|
4282
|
+
# The id_bank_transfer_payments capability.
|
4283
|
+
attr_accessor :id_bank_transfer_payments
|
4284
|
+
# The id_bank_transfer_payments_bca capability.
|
4285
|
+
attr_accessor :id_bank_transfer_payments_bca
|
3377
4286
|
# The ideal_payments capability.
|
3378
4287
|
attr_accessor :ideal_payments
|
3379
4288
|
# The india_international_payments capability.
|
@@ -3394,6 +4303,8 @@ module Stripe
|
|
3394
4303
|
attr_accessor :legacy_payments
|
3395
4304
|
# The link_payments capability.
|
3396
4305
|
attr_accessor :link_payments
|
4306
|
+
# The mb_way_payments capability.
|
4307
|
+
attr_accessor :mb_way_payments
|
3397
4308
|
# The mobilepay_payments capability.
|
3398
4309
|
attr_accessor :mobilepay_payments
|
3399
4310
|
# The multibanco_payments capability.
|
@@ -3414,10 +4325,18 @@ module Stripe
|
|
3414
4325
|
attr_accessor :payco_payments
|
3415
4326
|
# The paynow_payments capability.
|
3416
4327
|
attr_accessor :paynow_payments
|
4328
|
+
# The paypal_payments capability.
|
4329
|
+
attr_accessor :paypal_payments
|
4330
|
+
# The payto_payments capability.
|
4331
|
+
attr_accessor :payto_payments
|
3417
4332
|
# The pix_payments capability.
|
3418
4333
|
attr_accessor :pix_payments
|
3419
4334
|
# The promptpay_payments capability.
|
3420
4335
|
attr_accessor :promptpay_payments
|
4336
|
+
# The qris_payments capability.
|
4337
|
+
attr_accessor :qris_payments
|
4338
|
+
# The rechnung_payments capability.
|
4339
|
+
attr_accessor :rechnung_payments
|
3421
4340
|
# The revolut_pay_payments capability.
|
3422
4341
|
attr_accessor :revolut_pay_payments
|
3423
4342
|
# The samsung_pay_payments capability.
|
@@ -3428,8 +4347,12 @@ module Stripe
|
|
3428
4347
|
attr_accessor :sepa_bank_transfer_payments
|
3429
4348
|
# The sepa_debit_payments capability.
|
3430
4349
|
attr_accessor :sepa_debit_payments
|
4350
|
+
# The shopeepay_payments capability.
|
4351
|
+
attr_accessor :shopeepay_payments
|
3431
4352
|
# The sofort_payments capability.
|
3432
4353
|
attr_accessor :sofort_payments
|
4354
|
+
# The stripe_balance_payments capability.
|
4355
|
+
attr_accessor :stripe_balance_payments
|
3433
4356
|
# The swish_payments capability.
|
3434
4357
|
attr_accessor :swish_payments
|
3435
4358
|
# The tax_reporting_us_1099_k capability.
|
@@ -3440,6 +4363,12 @@ module Stripe
|
|
3440
4363
|
attr_accessor :transfers
|
3441
4364
|
# The treasury capability.
|
3442
4365
|
attr_accessor :treasury
|
4366
|
+
# The treasury_evolve capability.
|
4367
|
+
attr_accessor :treasury_evolve
|
4368
|
+
# The treasury_fifth_third capability.
|
4369
|
+
attr_accessor :treasury_fifth_third
|
4370
|
+
# The treasury_goldman_sachs capability.
|
4371
|
+
attr_accessor :treasury_goldman_sachs
|
3443
4372
|
# The twint_payments capability.
|
3444
4373
|
attr_accessor :twint_payments
|
3445
4374
|
# The us_bank_account_ach_payments capability.
|
@@ -3456,6 +4385,7 @@ module Stripe
|
|
3456
4385
|
alma_payments: nil,
|
3457
4386
|
amazon_pay_payments: nil,
|
3458
4387
|
au_becs_debit_payments: nil,
|
4388
|
+
automatic_indirect_tax: nil,
|
3459
4389
|
bacs_debit_payments: nil,
|
3460
4390
|
bancontact_payments: nil,
|
3461
4391
|
bank_transfer_payments: nil,
|
@@ -3471,7 +4401,10 @@ module Stripe
|
|
3471
4401
|
fpx_payments: nil,
|
3472
4402
|
gb_bank_transfer_payments: nil,
|
3473
4403
|
giropay_payments: nil,
|
4404
|
+
gopay_payments: nil,
|
3474
4405
|
grabpay_payments: nil,
|
4406
|
+
id_bank_transfer_payments: nil,
|
4407
|
+
id_bank_transfer_payments_bca: nil,
|
3475
4408
|
ideal_payments: nil,
|
3476
4409
|
india_international_payments: nil,
|
3477
4410
|
jcb_payments: nil,
|
@@ -3482,6 +4415,7 @@ module Stripe
|
|
3482
4415
|
kr_card_payments: nil,
|
3483
4416
|
legacy_payments: nil,
|
3484
4417
|
link_payments: nil,
|
4418
|
+
mb_way_payments: nil,
|
3485
4419
|
mobilepay_payments: nil,
|
3486
4420
|
multibanco_payments: nil,
|
3487
4421
|
mx_bank_transfer_payments: nil,
|
@@ -3492,19 +4426,28 @@ module Stripe
|
|
3492
4426
|
pay_by_bank_payments: nil,
|
3493
4427
|
payco_payments: nil,
|
3494
4428
|
paynow_payments: nil,
|
4429
|
+
paypal_payments: nil,
|
4430
|
+
payto_payments: nil,
|
3495
4431
|
pix_payments: nil,
|
3496
4432
|
promptpay_payments: nil,
|
4433
|
+
qris_payments: nil,
|
4434
|
+
rechnung_payments: nil,
|
3497
4435
|
revolut_pay_payments: nil,
|
3498
4436
|
samsung_pay_payments: nil,
|
3499
4437
|
satispay_payments: nil,
|
3500
4438
|
sepa_bank_transfer_payments: nil,
|
3501
4439
|
sepa_debit_payments: nil,
|
4440
|
+
shopeepay_payments: nil,
|
3502
4441
|
sofort_payments: nil,
|
4442
|
+
stripe_balance_payments: nil,
|
3503
4443
|
swish_payments: nil,
|
3504
4444
|
tax_reporting_us_1099_k: nil,
|
3505
4445
|
tax_reporting_us_1099_misc: nil,
|
3506
4446
|
transfers: nil,
|
3507
4447
|
treasury: nil,
|
4448
|
+
treasury_evolve: nil,
|
4449
|
+
treasury_fifth_third: nil,
|
4450
|
+
treasury_goldman_sachs: nil,
|
3508
4451
|
twint_payments: nil,
|
3509
4452
|
us_bank_account_ach_payments: nil,
|
3510
4453
|
us_bank_transfer_payments: nil,
|
@@ -3516,6 +4459,7 @@ module Stripe
|
|
3516
4459
|
@alma_payments = alma_payments
|
3517
4460
|
@amazon_pay_payments = amazon_pay_payments
|
3518
4461
|
@au_becs_debit_payments = au_becs_debit_payments
|
4462
|
+
@automatic_indirect_tax = automatic_indirect_tax
|
3519
4463
|
@bacs_debit_payments = bacs_debit_payments
|
3520
4464
|
@bancontact_payments = bancontact_payments
|
3521
4465
|
@bank_transfer_payments = bank_transfer_payments
|
@@ -3531,7 +4475,10 @@ module Stripe
|
|
3531
4475
|
@fpx_payments = fpx_payments
|
3532
4476
|
@gb_bank_transfer_payments = gb_bank_transfer_payments
|
3533
4477
|
@giropay_payments = giropay_payments
|
4478
|
+
@gopay_payments = gopay_payments
|
3534
4479
|
@grabpay_payments = grabpay_payments
|
4480
|
+
@id_bank_transfer_payments = id_bank_transfer_payments
|
4481
|
+
@id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
|
3535
4482
|
@ideal_payments = ideal_payments
|
3536
4483
|
@india_international_payments = india_international_payments
|
3537
4484
|
@jcb_payments = jcb_payments
|
@@ -3542,6 +4489,7 @@ module Stripe
|
|
3542
4489
|
@kr_card_payments = kr_card_payments
|
3543
4490
|
@legacy_payments = legacy_payments
|
3544
4491
|
@link_payments = link_payments
|
4492
|
+
@mb_way_payments = mb_way_payments
|
3545
4493
|
@mobilepay_payments = mobilepay_payments
|
3546
4494
|
@multibanco_payments = multibanco_payments
|
3547
4495
|
@mx_bank_transfer_payments = mx_bank_transfer_payments
|
@@ -3552,19 +4500,28 @@ module Stripe
|
|
3552
4500
|
@pay_by_bank_payments = pay_by_bank_payments
|
3553
4501
|
@payco_payments = payco_payments
|
3554
4502
|
@paynow_payments = paynow_payments
|
4503
|
+
@paypal_payments = paypal_payments
|
4504
|
+
@payto_payments = payto_payments
|
3555
4505
|
@pix_payments = pix_payments
|
3556
4506
|
@promptpay_payments = promptpay_payments
|
4507
|
+
@qris_payments = qris_payments
|
4508
|
+
@rechnung_payments = rechnung_payments
|
3557
4509
|
@revolut_pay_payments = revolut_pay_payments
|
3558
4510
|
@samsung_pay_payments = samsung_pay_payments
|
3559
4511
|
@satispay_payments = satispay_payments
|
3560
4512
|
@sepa_bank_transfer_payments = sepa_bank_transfer_payments
|
3561
4513
|
@sepa_debit_payments = sepa_debit_payments
|
4514
|
+
@shopeepay_payments = shopeepay_payments
|
3562
4515
|
@sofort_payments = sofort_payments
|
4516
|
+
@stripe_balance_payments = stripe_balance_payments
|
3563
4517
|
@swish_payments = swish_payments
|
3564
4518
|
@tax_reporting_us_1099_k = tax_reporting_us_1099_k
|
3565
4519
|
@tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
|
3566
4520
|
@transfers = transfers
|
3567
4521
|
@treasury = treasury
|
4522
|
+
@treasury_evolve = treasury_evolve
|
4523
|
+
@treasury_fifth_third = treasury_fifth_third
|
4524
|
+
@treasury_goldman_sachs = treasury_goldman_sachs
|
3568
4525
|
@twint_payments = twint_payments
|
3569
4526
|
@us_bank_account_ach_payments = us_bank_account_ach_payments
|
3570
4527
|
@us_bank_transfer_payments = us_bank_transfer_payments
|
@@ -3915,6 +4872,30 @@ module Stripe
|
|
3915
4872
|
end
|
3916
4873
|
|
3917
4874
|
class Controller < Stripe::RequestParams
|
4875
|
+
class Application < Stripe::RequestParams
|
4876
|
+
# Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
|
4877
|
+
attr_accessor :loss_liable
|
4878
|
+
# Whether the controller owns onboarding for this account.
|
4879
|
+
attr_accessor :onboarding_owner
|
4880
|
+
# Whether the controller has pricing controls for this account.
|
4881
|
+
attr_accessor :pricing_controls
|
4882
|
+
|
4883
|
+
def initialize(loss_liable: nil, onboarding_owner: nil, pricing_controls: nil)
|
4884
|
+
@loss_liable = loss_liable
|
4885
|
+
@onboarding_owner = onboarding_owner
|
4886
|
+
@pricing_controls = pricing_controls
|
4887
|
+
end
|
4888
|
+
end
|
4889
|
+
|
4890
|
+
class Dashboard < Stripe::RequestParams
|
4891
|
+
# 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`.
|
4892
|
+
attr_accessor :type
|
4893
|
+
|
4894
|
+
def initialize(type: nil)
|
4895
|
+
@type = type
|
4896
|
+
end
|
4897
|
+
end
|
4898
|
+
|
3918
4899
|
class Fees < Stripe::RequestParams
|
3919
4900
|
# 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).
|
3920
4901
|
attr_accessor :payer
|
@@ -3941,6 +4922,10 @@ module Stripe
|
|
3941
4922
|
@type = type
|
3942
4923
|
end
|
3943
4924
|
end
|
4925
|
+
# A hash of configuration describing the Connect application that controls the account.
|
4926
|
+
attr_accessor :application
|
4927
|
+
# Properties of the account's dashboard.
|
4928
|
+
attr_accessor :dashboard
|
3944
4929
|
# A hash of configuration for who pays Stripe fees for product usage on this account.
|
3945
4930
|
attr_accessor :fees
|
3946
4931
|
# A hash of configuration for products that have negative balance liability, and whether Stripe or a Connect application is responsible for them.
|
@@ -3950,7 +4935,16 @@ module Stripe
|
|
3950
4935
|
# A hash of configuration for Stripe-hosted dashboards.
|
3951
4936
|
attr_accessor :stripe_dashboard
|
3952
4937
|
|
3953
|
-
def initialize(
|
4938
|
+
def initialize(
|
4939
|
+
application: nil,
|
4940
|
+
dashboard: nil,
|
4941
|
+
fees: nil,
|
4942
|
+
losses: nil,
|
4943
|
+
requirement_collection: nil,
|
4944
|
+
stripe_dashboard: nil
|
4945
|
+
)
|
4946
|
+
@application = application
|
4947
|
+
@dashboard = dashboard
|
3954
4948
|
@fees = fees
|
3955
4949
|
@losses = losses
|
3956
4950
|
@requirement_collection = requirement_collection
|
@@ -4397,6 +5391,37 @@ module Stripe
|
|
4397
5391
|
end
|
4398
5392
|
end
|
4399
5393
|
|
5394
|
+
class RiskControls < Stripe::RequestParams
|
5395
|
+
class Charges < Stripe::RequestParams
|
5396
|
+
# To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
5397
|
+
# There can be a delay before the risk control is paused or unpaused.
|
5398
|
+
attr_accessor :pause_requested
|
5399
|
+
|
5400
|
+
def initialize(pause_requested: nil)
|
5401
|
+
@pause_requested = pause_requested
|
5402
|
+
end
|
5403
|
+
end
|
5404
|
+
|
5405
|
+
class Payouts < Stripe::RequestParams
|
5406
|
+
# To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
5407
|
+
# There can be a delay before the risk control is paused or unpaused.
|
5408
|
+
attr_accessor :pause_requested
|
5409
|
+
|
5410
|
+
def initialize(pause_requested: nil)
|
5411
|
+
@pause_requested = pause_requested
|
5412
|
+
end
|
5413
|
+
end
|
5414
|
+
# 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).
|
5415
|
+
attr_accessor :charges
|
5416
|
+
# 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).
|
5417
|
+
attr_accessor :payouts
|
5418
|
+
|
5419
|
+
def initialize(charges: nil, payouts: nil)
|
5420
|
+
@charges = charges
|
5421
|
+
@payouts = payouts
|
5422
|
+
end
|
5423
|
+
end
|
5424
|
+
|
4400
5425
|
class Settings < Stripe::RequestParams
|
4401
5426
|
class BacsDebitPayments < Stripe::RequestParams
|
4402
5427
|
# 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.
|
@@ -4407,6 +5432,18 @@ module Stripe
|
|
4407
5432
|
end
|
4408
5433
|
end
|
4409
5434
|
|
5435
|
+
class BankBcaOnboarding < Stripe::RequestParams
|
5436
|
+
# Bank BCA business account holder name
|
5437
|
+
attr_accessor :account_holder_name
|
5438
|
+
# Bank BCA business account number
|
5439
|
+
attr_accessor :business_account_number
|
5440
|
+
|
5441
|
+
def initialize(account_holder_name: nil, business_account_number: nil)
|
5442
|
+
@account_holder_name = account_holder_name
|
5443
|
+
@business_account_number = business_account_number
|
5444
|
+
end
|
5445
|
+
end
|
5446
|
+
|
4410
5447
|
class Branding < Stripe::RequestParams
|
4411
5448
|
# (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.
|
4412
5449
|
attr_accessor :icon
|
@@ -4425,6 +5462,18 @@ module Stripe
|
|
4425
5462
|
end
|
4426
5463
|
end
|
4427
5464
|
|
5465
|
+
class Capital < Stripe::RequestParams
|
5466
|
+
# Per-currency mapping of user-selected destination accounts used to pay out loans.
|
5467
|
+
attr_accessor :payout_destination
|
5468
|
+
# Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
5469
|
+
attr_accessor :payout_destination_selector
|
5470
|
+
|
5471
|
+
def initialize(payout_destination: nil, payout_destination_selector: nil)
|
5472
|
+
@payout_destination = payout_destination
|
5473
|
+
@payout_destination_selector = payout_destination_selector
|
5474
|
+
end
|
5475
|
+
end
|
5476
|
+
|
4428
5477
|
class CardIssuing < Stripe::RequestParams
|
4429
5478
|
class TosAcceptance < Stripe::RequestParams
|
4430
5479
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
@@ -4555,6 +5604,15 @@ module Stripe
|
|
4555
5604
|
end
|
4556
5605
|
end
|
4557
5606
|
|
5607
|
+
class TaxForms < Stripe::RequestParams
|
5608
|
+
# Whether the account opted out of receiving their tax forms by postal delivery.
|
5609
|
+
attr_accessor :consented_to_paperless_delivery
|
5610
|
+
|
5611
|
+
def initialize(consented_to_paperless_delivery: nil)
|
5612
|
+
@consented_to_paperless_delivery = consented_to_paperless_delivery
|
5613
|
+
end
|
5614
|
+
end
|
5615
|
+
|
4558
5616
|
class Treasury < Stripe::RequestParams
|
4559
5617
|
class TosAcceptance < Stripe::RequestParams
|
4560
5618
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
@@ -4579,8 +5637,12 @@ module Stripe
|
|
4579
5637
|
end
|
4580
5638
|
# Settings specific to Bacs Direct Debit.
|
4581
5639
|
attr_accessor :bacs_debit_payments
|
5640
|
+
# Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
5641
|
+
attr_accessor :bank_bca_onboarding
|
4582
5642
|
# Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
4583
5643
|
attr_accessor :branding
|
5644
|
+
# Settings specific to the account's use of the Capital product.
|
5645
|
+
attr_accessor :capital
|
4584
5646
|
# Settings specific to the account's use of the Card Issuing product.
|
4585
5647
|
attr_accessor :card_issuing
|
4586
5648
|
# Settings specific to card charging on the account.
|
@@ -4591,26 +5653,34 @@ module Stripe
|
|
4591
5653
|
attr_accessor :payments
|
4592
5654
|
# Settings specific to the account's payouts.
|
4593
5655
|
attr_accessor :payouts
|
5656
|
+
# Settings specific to the account's tax forms.
|
5657
|
+
attr_accessor :tax_forms
|
4594
5658
|
# Settings specific to the account's Treasury FinancialAccounts.
|
4595
5659
|
attr_accessor :treasury
|
4596
5660
|
|
4597
5661
|
def initialize(
|
4598
5662
|
bacs_debit_payments: nil,
|
5663
|
+
bank_bca_onboarding: nil,
|
4599
5664
|
branding: nil,
|
5665
|
+
capital: nil,
|
4600
5666
|
card_issuing: nil,
|
4601
5667
|
card_payments: nil,
|
4602
5668
|
invoices: nil,
|
4603
5669
|
payments: nil,
|
4604
5670
|
payouts: nil,
|
5671
|
+
tax_forms: nil,
|
4605
5672
|
treasury: nil
|
4606
5673
|
)
|
4607
5674
|
@bacs_debit_payments = bacs_debit_payments
|
5675
|
+
@bank_bca_onboarding = bank_bca_onboarding
|
4608
5676
|
@branding = branding
|
5677
|
+
@capital = capital
|
4609
5678
|
@card_issuing = card_issuing
|
4610
5679
|
@card_payments = card_payments
|
4611
5680
|
@invoices = invoices
|
4612
5681
|
@payments = payments
|
4613
5682
|
@payouts = payouts
|
5683
|
+
@tax_forms = tax_forms
|
4614
5684
|
@treasury = treasury
|
4615
5685
|
end
|
4616
5686
|
end
|
@@ -4669,6 +5739,8 @@ module Stripe
|
|
4669
5739
|
attr_accessor :individual
|
4670
5740
|
# 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`.
|
4671
5741
|
attr_accessor :metadata
|
5742
|
+
# A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
|
5743
|
+
attr_accessor :risk_controls
|
4672
5744
|
# Options for customizing how the account functions within Stripe.
|
4673
5745
|
attr_accessor :settings
|
4674
5746
|
# 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.
|
@@ -4692,6 +5764,7 @@ module Stripe
|
|
4692
5764
|
groups: nil,
|
4693
5765
|
individual: nil,
|
4694
5766
|
metadata: nil,
|
5767
|
+
risk_controls: nil,
|
4695
5768
|
settings: nil,
|
4696
5769
|
tos_acceptance: nil,
|
4697
5770
|
type: nil
|
@@ -4711,6 +5784,7 @@ module Stripe
|
|
4711
5784
|
@groups = groups
|
4712
5785
|
@individual = individual
|
4713
5786
|
@metadata = metadata
|
5787
|
+
@risk_controls = risk_controls
|
4714
5788
|
@settings = settings
|
4715
5789
|
@tos_acceptance = tos_acceptance
|
4716
5790
|
@type = type
|
@@ -4829,6 +5903,8 @@ module Stripe
|
|
4829
5903
|
attr_reader :payouts_enabled
|
4830
5904
|
# Attribute for field requirements
|
4831
5905
|
attr_reader :requirements
|
5906
|
+
# Attribute for field risk_controls
|
5907
|
+
attr_reader :risk_controls
|
4832
5908
|
# Options for customizing how the account functions within Stripe.
|
4833
5909
|
attr_reader :settings
|
4834
5910
|
# Attribute for field tos_acceptance
|
@@ -5074,5 +6150,24 @@ module Stripe
|
|
5074
6150
|
end
|
5075
6151
|
update_hash
|
5076
6152
|
end
|
6153
|
+
|
6154
|
+
def self.inner_class_types
|
6155
|
+
@inner_class_types = {
|
6156
|
+
business_profile: BusinessProfile,
|
6157
|
+
capabilities: Capabilities,
|
6158
|
+
company: Company,
|
6159
|
+
controller: Controller,
|
6160
|
+
future_requirements: FutureRequirements,
|
6161
|
+
groups: Groups,
|
6162
|
+
requirements: Requirements,
|
6163
|
+
risk_controls: RiskControls,
|
6164
|
+
settings: Settings,
|
6165
|
+
tos_acceptance: TosAcceptance,
|
6166
|
+
}
|
6167
|
+
end
|
6168
|
+
|
6169
|
+
def self.field_remappings
|
6170
|
+
@field_remappings = {}
|
6171
|
+
end
|
5077
6172
|
end
|
5078
6173
|
end
|