stripe 15.0.0 → 15.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/API_VERSION +1 -0
- data/CHANGELOG.md +129 -44
- data/CONTRIBUTING.md +25 -0
- data/Gemfile +1 -1
- data/OPENAPI_VERSION +1 -1
- data/README.md +28 -55
- data/VERSION +1 -1
- data/lib/stripe/api_operations/nested_resource.rb +35 -35
- data/lib/stripe/api_requestor.rb +1 -1
- data/lib/stripe/api_version.rb +2 -1
- data/lib/stripe/connection_manager.rb +1 -3
- data/lib/stripe/event_types.rb +1 -0
- data/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb +1 -1
- data/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb +1 -1
- data/lib/stripe/events/v2_core_event_destination_ping_event.rb +21 -0
- data/lib/stripe/oauth.rb +1 -1
- data/lib/stripe/resources/account.rb +198 -28
- data/lib/stripe/resources/account_session.rb +176 -72
- data/lib/stripe/resources/apple_pay_domain.rb +1 -2
- data/lib/stripe/resources/balance.rb +42 -0
- data/lib/stripe/resources/balance_transaction.rb +2 -0
- data/lib/stripe/resources/bank_account.rb +2 -2
- data/lib/stripe/resources/billing_portal/session.rb +3 -3
- data/lib/stripe/resources/capability.rb +1 -1
- data/lib/stripe/resources/charge.rb +43 -20
- data/lib/stripe/resources/checkout/session.rb +120 -19
- data/lib/stripe/resources/confirmation_token.rb +119 -100
- data/lib/stripe/resources/country_spec.rb +1 -1
- data/lib/stripe/resources/coupon.rb +2 -3
- data/lib/stripe/resources/credit_note.rb +21 -18
- data/lib/stripe/resources/customer.rb +4 -6
- data/lib/stripe/resources/customer_session.rb +5 -5
- data/lib/stripe/resources/dispute.rb +2 -2
- data/lib/stripe/resources/event.rb +3 -1
- data/lib/stripe/resources/file.rb +1 -1
- data/lib/stripe/resources/funding_instructions.rb +1 -1
- data/lib/stripe/resources/identity/verification_report.rb +6 -0
- data/lib/stripe/resources/identity/verification_session.rb +51 -11
- data/lib/stripe/resources/invoice.rb +146 -32
- data/lib/stripe/resources/invoice_item.rb +3 -7
- data/lib/stripe/resources/invoice_line_item.rb +1 -1
- data/lib/stripe/resources/invoice_payment.rb +9 -2
- data/lib/stripe/resources/issuing/authorization.rb +8 -8
- data/lib/stripe/resources/issuing/card.rb +1 -1
- data/lib/stripe/resources/issuing/dispute.rb +3 -3
- data/lib/stripe/resources/login_link.rb +2 -1
- data/lib/stripe/resources/mandate.rb +3 -0
- data/lib/stripe/resources/payment_intent.rb +602 -325
- data/lib/stripe/resources/payment_method.rb +76 -117
- data/lib/stripe/resources/payment_method_configuration.rb +356 -2
- data/lib/stripe/resources/payment_method_domain.rb +15 -2
- data/lib/stripe/resources/payout.rb +4 -4
- data/lib/stripe/resources/person.rb +27 -3
- data/lib/stripe/resources/plan.rb +2 -3
- data/lib/stripe/resources/price.rb +1 -1
- data/lib/stripe/resources/product.rb +1 -2
- data/lib/stripe/resources/quote.rb +28 -3
- data/lib/stripe/resources/radar/value_list.rb +1 -2
- data/lib/stripe/resources/radar/value_list_item.rb +1 -2
- data/lib/stripe/resources/refund.rb +8 -1
- data/lib/stripe/resources/reversal.rb +1 -1
- data/lib/stripe/resources/review.rb +1 -1
- data/lib/stripe/resources/setup_attempt.rb +1 -1
- data/lib/stripe/resources/setup_intent.rb +414 -293
- data/lib/stripe/resources/source.rb +1 -1
- data/lib/stripe/resources/subscription.rb +149 -27
- data/lib/stripe/resources/subscription_item.rb +33 -0
- data/lib/stripe/resources/subscription_schedule.rb +141 -4
- data/lib/stripe/resources/tax/calculation.rb +6 -2
- data/lib/stripe/resources/tax/calculation_line_item.rb +2 -0
- data/lib/stripe/resources/tax/registration.rb +261 -1
- data/lib/stripe/resources/tax/transaction.rb +1 -1
- data/lib/stripe/resources/tax_id.rb +3 -4
- data/lib/stripe/resources/tax_rate.rb +2 -2
- data/lib/stripe/resources/terminal/configuration.rb +2 -2
- data/lib/stripe/resources/terminal/location.rb +2 -3
- data/lib/stripe/resources/terminal/reader.rb +426 -6
- data/lib/stripe/resources/test_helpers/test_clock.rb +1 -2
- data/lib/stripe/resources/token.rb +63 -2
- data/lib/stripe/resources/transfer.rb +1 -1
- data/lib/stripe/resources/treasury/financial_account.rb +5 -1
- data/lib/stripe/resources/v2/billing/meter_event.rb +2 -2
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +2 -2
- data/lib/stripe/resources/v2/billing/meter_event_session.rb +2 -2
- data/lib/stripe/resources/v2/event.rb +2 -2
- data/lib/stripe/resources/v2/event_destination.rb +2 -2
- data/lib/stripe/resources/webhook_endpoint.rb +1 -2
- data/lib/stripe/resources.rb +1 -0
- data/lib/stripe/services/account_external_account_service.rb +3 -4
- data/lib/stripe/services/account_login_link_service.rb +1 -1
- data/lib/stripe/services/account_person_service.rb +85 -2
- data/lib/stripe/services/account_service.rb +169 -20
- data/lib/stripe/services/account_session_service.rb +115 -47
- data/lib/stripe/services/apple_pay_domain_service.rb +1 -2
- data/lib/stripe/services/application_fee_service.rb +1 -1
- data/lib/stripe/services/apps_service.rb +1 -1
- data/lib/stripe/services/balance_service.rb +1 -1
- data/lib/stripe/services/billing/meter_service.rb +1 -1
- data/lib/stripe/services/billing_portal/session_service.rb +1 -1
- data/lib/stripe/services/billing_portal_service.rb +1 -1
- data/lib/stripe/services/billing_service.rb +1 -1
- data/lib/stripe/services/charge_service.rb +4 -4
- data/lib/stripe/services/checkout/session_service.rb +94 -15
- data/lib/stripe/services/checkout_service.rb +1 -1
- data/lib/stripe/services/climate_service.rb +1 -1
- data/lib/stripe/services/coupon_service.rb +1 -2
- data/lib/stripe/services/credit_note_preview_lines_service.rb +3 -3
- data/lib/stripe/services/credit_note_service.rb +14 -15
- data/lib/stripe/services/customer_balance_transaction_service.rb +3 -3
- data/lib/stripe/services/customer_cash_balance_transaction_service.rb +2 -2
- data/lib/stripe/services/customer_payment_method_service.rb +1 -1
- data/lib/stripe/services/customer_payment_source_service.rb +1 -1
- data/lib/stripe/services/customer_service.rb +5 -7
- data/lib/stripe/services/customer_session_service.rb +1 -1
- data/lib/stripe/services/customer_tax_id_service.rb +2 -3
- data/lib/stripe/services/dispute_service.rb +1 -1
- data/lib/stripe/services/entitlements_service.rb +1 -1
- data/lib/stripe/services/file_service.rb +1 -1
- data/lib/stripe/services/financial_connections/account_service.rb +1 -1
- data/lib/stripe/services/financial_connections_service.rb +1 -1
- data/lib/stripe/services/forwarding_service.rb +1 -1
- data/lib/stripe/services/identity/verification_session_service.rb +21 -5
- data/lib/stripe/services/identity_service.rb +1 -1
- data/lib/stripe/services/invoice_item_service.rb +1 -2
- data/lib/stripe/services/invoice_service.rb +122 -28
- data/lib/stripe/services/issuing/authorization_service.rb +4 -4
- data/lib/stripe/services/issuing/card_service.rb +1 -1
- data/lib/stripe/services/issuing/dispute_service.rb +2 -2
- data/lib/stripe/services/issuing_service.rb +1 -1
- data/lib/stripe/services/payment_intent_service.rb +563 -313
- data/lib/stripe/services/payment_link_service.rb +1 -1
- data/lib/stripe/services/payment_method_configuration_service.rb +254 -2
- data/lib/stripe/services/payment_method_domain_service.rb +1 -1
- data/lib/stripe/services/payment_method_service.rb +59 -105
- data/lib/stripe/services/payout_service.rb +2 -2
- data/lib/stripe/services/plan_service.rb +2 -3
- data/lib/stripe/services/price_service.rb +2 -2
- data/lib/stripe/services/product_feature_service.rb +1 -2
- data/lib/stripe/services/product_service.rb +3 -4
- data/lib/stripe/services/promotion_code_service.rb +1 -1
- data/lib/stripe/services/quote_service.rb +21 -4
- data/lib/stripe/services/radar/early_fraud_warning_service.rb +1 -1
- data/lib/stripe/services/radar/value_list_item_service.rb +1 -2
- data/lib/stripe/services/radar/value_list_service.rb +1 -2
- data/lib/stripe/services/radar_service.rb +1 -1
- data/lib/stripe/services/reporting_service.rb +1 -1
- data/lib/stripe/services/setup_intent_service.rb +403 -291
- data/lib/stripe/services/sigma_service.rb +1 -1
- data/lib/stripe/services/source_service.rb +2 -2
- data/lib/stripe/services/subscription_item_service.rb +26 -0
- data/lib/stripe/services/subscription_schedule_service.rb +106 -3
- data/lib/stripe/services/subscription_service.rb +121 -26
- data/lib/stripe/services/tax/calculation_service.rb +6 -2
- data/lib/stripe/services/tax/registration_service.rb +170 -1
- data/lib/stripe/services/tax/transaction_service.rb +1 -1
- data/lib/stripe/services/tax_id_service.rb +2 -3
- data/lib/stripe/services/tax_service.rb +1 -1
- data/lib/stripe/services/terminal/configuration_service.rb +1 -2
- data/lib/stripe/services/terminal/location_service.rb +2 -3
- data/lib/stripe/services/terminal/reader_service.rb +196 -2
- data/lib/stripe/services/terminal_service.rb +1 -1
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +90 -91
- data/lib/stripe/services/test_helpers/issuing_service.rb +1 -1
- data/lib/stripe/services/test_helpers/terminal/reader_service.rb +43 -0
- data/lib/stripe/services/test_helpers/terminal_service.rb +1 -1
- data/lib/stripe/services/test_helpers/test_clock_service.rb +1 -2
- data/lib/stripe/services/test_helpers/treasury_service.rb +1 -1
- data/lib/stripe/services/test_helpers_service.rb +1 -1
- data/lib/stripe/services/token_service.rb +62 -1
- data/lib/stripe/services/transfer_service.rb +2 -2
- data/lib/stripe/services/treasury/financial_account_service.rb +6 -2
- data/lib/stripe/services/treasury_service.rb +1 -1
- data/lib/stripe/services/v1_services.rb +1 -1
- data/lib/stripe/services/v2/billing/meter_event_session_service.rb +1 -2
- data/lib/stripe/services/v2/billing_service.rb +3 -3
- data/lib/stripe/services/v2/core/event_destination_service.rb +17 -23
- data/lib/stripe/services/v2/core/event_service.rb +1 -2
- data/lib/stripe/services/v2/core_service.rb +1 -1
- data/lib/stripe/services/v2_services.rb +1 -1
- data/lib/stripe/services/webhook_endpoint_service.rb +1 -2
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe/webhook.rb +1 -1
- data/rbi/stripe/resources/account.rbi +190 -35
- data/rbi/stripe/resources/account_session.rbi +196 -77
- data/rbi/stripe/resources/apple_pay_domain.rbi +1 -3
- data/rbi/stripe/resources/balance.rbi +55 -0
- data/rbi/stripe/resources/balance_transaction.rbi +3 -0
- data/rbi/stripe/resources/bank_account.rbi +2 -2
- data/rbi/stripe/resources/billing/alert.rbi +2 -2
- data/rbi/stripe/resources/billing_portal/session.rbi +3 -3
- data/rbi/stripe/resources/capability.rbi +1 -1
- data/rbi/stripe/resources/charge.rbi +52 -20
- data/rbi/stripe/resources/checkout/session.rbi +133 -24
- data/rbi/stripe/resources/confirmation_token.rbi +140 -115
- data/rbi/stripe/resources/country_spec.rbi +1 -1
- data/rbi/stripe/resources/coupon.rbi +2 -4
- data/rbi/stripe/resources/credit_note.rbi +23 -18
- data/rbi/stripe/resources/customer.rbi +4 -8
- data/rbi/stripe/resources/customer_session.rbi +5 -5
- data/rbi/stripe/resources/dispute.rbi +2 -2
- data/rbi/stripe/resources/event.rbi +4 -1
- data/rbi/stripe/resources/file.rbi +1 -1
- data/rbi/stripe/resources/identity/verification_report.rbi +9 -0
- data/rbi/stripe/resources/identity/verification_session.rbi +59 -12
- data/rbi/stripe/resources/invoice.rbi +149 -40
- data/rbi/stripe/resources/invoice_item.rbi +3 -8
- data/rbi/stripe/resources/invoice_line_item.rbi +2 -2
- data/rbi/stripe/resources/invoice_payment.rbi +9 -2
- data/rbi/stripe/resources/issuing/authorization.rbi +8 -8
- data/rbi/stripe/resources/issuing/card.rbi +1 -1
- data/rbi/stripe/resources/issuing/dispute.rbi +3 -3
- data/rbi/stripe/resources/login_link.rbi +2 -1
- data/rbi/stripe/resources/mandate.rbi +4 -0
- data/rbi/stripe/resources/payment_intent.rbi +637 -381
- data/rbi/stripe/resources/payment_method.rbi +81 -133
- data/rbi/stripe/resources/payment_method_configuration.rbi +400 -4
- data/rbi/stripe/resources/payment_method_domain.rbi +18 -2
- data/rbi/stripe/resources/payout.rbi +4 -4
- data/rbi/stripe/resources/person.rbi +33 -3
- data/rbi/stripe/resources/plan.rbi +2 -4
- data/rbi/stripe/resources/price.rbi +1 -1
- data/rbi/stripe/resources/product.rbi +1 -3
- data/rbi/stripe/resources/quote.rbi +25 -3
- data/rbi/stripe/resources/radar/value_list.rbi +1 -3
- data/rbi/stripe/resources/radar/value_list_item.rbi +1 -3
- data/rbi/stripe/resources/refund.rbi +8 -1
- data/rbi/stripe/resources/reversal.rbi +1 -1
- data/rbi/stripe/resources/review.rbi +1 -1
- data/rbi/stripe/resources/setup_attempt.rbi +1 -1
- data/rbi/stripe/resources/setup_intent.rbi +464 -346
- data/rbi/stripe/resources/source.rbi +1 -1
- data/rbi/stripe/resources/subscription.rbi +150 -34
- data/rbi/stripe/resources/subscription_item.rbi +36 -2
- data/rbi/stripe/resources/subscription_schedule.rbi +161 -11
- data/rbi/stripe/resources/tax/calculation.rbi +7 -3
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +4 -1
- data/rbi/stripe/resources/tax/registration.rbi +249 -2
- data/rbi/stripe/resources/tax/transaction.rbi +1 -1
- data/rbi/stripe/resources/tax_id.rbi +3 -5
- data/rbi/stripe/resources/tax_rate.rbi +2 -2
- data/rbi/stripe/resources/terminal/configuration.rbi +2 -3
- data/rbi/stripe/resources/terminal/location.rbi +4 -6
- data/rbi/stripe/resources/terminal/reader.rbi +415 -8
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +1 -3
- data/rbi/stripe/resources/token.rbi +70 -4
- data/rbi/stripe/resources/transfer.rbi +1 -1
- data/rbi/stripe/resources/treasury/financial_account.rbi +6 -2
- data/rbi/stripe/resources/v2/billing/meter_event.rbi +3 -3
- data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +3 -3
- data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +3 -3
- data/rbi/stripe/resources/v2/event.rbi +3 -3
- data/rbi/stripe/resources/v2/event_destination.rbi +3 -3
- data/rbi/stripe/resources/webhook_endpoint.rbi +1 -3
- data/rbi/stripe/services/account_external_account_service.rbi +3 -5
- data/rbi/stripe/services/account_login_link_service.rbi +1 -1
- data/rbi/stripe/services/account_person_service.rbi +93 -5
- data/rbi/stripe/services/account_service.rbi +166 -28
- data/rbi/stripe/services/account_session_service.rbi +126 -52
- data/rbi/stripe/services/apple_pay_domain_service.rbi +1 -3
- data/rbi/stripe/services/balance_service.rbi +1 -1
- data/rbi/stripe/services/billing/alert_service.rbi +2 -2
- data/rbi/stripe/services/billing_portal/session_service.rbi +1 -1
- data/rbi/stripe/services/charge_service.rbi +4 -4
- data/rbi/stripe/services/checkout/session_service.rbi +104 -19
- data/rbi/stripe/services/coupon_service.rbi +1 -3
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +3 -3
- data/rbi/stripe/services/credit_note_service.rbi +13 -14
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +3 -3
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +2 -2
- data/rbi/stripe/services/customer_payment_method_service.rbi +1 -1
- data/rbi/stripe/services/customer_payment_source_service.rbi +1 -1
- data/rbi/stripe/services/customer_service.rbi +4 -8
- data/rbi/stripe/services/customer_session_service.rbi +1 -1
- data/rbi/stripe/services/customer_tax_id_service.rbi +2 -4
- data/rbi/stripe/services/dispute_service.rbi +1 -1
- data/rbi/stripe/services/file_service.rbi +1 -1
- data/rbi/stripe/services/identity/verification_session_service.rbi +22 -6
- data/rbi/stripe/services/invoice_item_service.rbi +1 -3
- data/rbi/stripe/services/invoice_service.rbi +126 -35
- data/rbi/stripe/services/issuing/authorization_service.rbi +4 -4
- data/rbi/stripe/services/issuing/card_service.rbi +1 -1
- data/rbi/stripe/services/issuing/dispute_service.rbi +2 -2
- data/rbi/stripe/services/payment_intent_service.rbi +599 -369
- data/rbi/stripe/services/payment_method_configuration_service.rbi +280 -4
- data/rbi/stripe/services/payment_method_domain_service.rbi +1 -1
- data/rbi/stripe/services/payment_method_service.rbi +62 -121
- data/rbi/stripe/services/payout_service.rbi +2 -2
- data/rbi/stripe/services/plan_service.rbi +2 -4
- data/rbi/stripe/services/price_service.rbi +2 -2
- data/rbi/stripe/services/product_feature_service.rbi +1 -3
- data/rbi/stripe/services/product_service.rbi +2 -4
- data/rbi/stripe/services/promotion_code_service.rbi +1 -1
- data/rbi/stripe/services/quote_service.rbi +16 -3
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +1 -1
- data/rbi/stripe/services/radar/value_list_item_service.rbi +1 -3
- data/rbi/stripe/services/radar/value_list_service.rbi +1 -3
- data/rbi/stripe/services/setup_intent_service.rbi +457 -344
- data/rbi/stripe/services/source_service.rbi +1 -1
- data/rbi/stripe/services/subscription_item_service.rbi +28 -2
- data/rbi/stripe/services/subscription_schedule_service.rbi +119 -10
- data/rbi/stripe/services/subscription_service.rbi +121 -33
- data/rbi/stripe/services/tax/calculation_service.rbi +6 -2
- data/rbi/stripe/services/tax/registration_service.rbi +171 -2
- data/rbi/stripe/services/tax_id_service.rbi +2 -4
- data/rbi/stripe/services/terminal/configuration_service.rbi +1 -3
- data/rbi/stripe/services/terminal/location_service.rbi +4 -6
- data/rbi/stripe/services/terminal/reader_service.rbi +200 -4
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +106 -106
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +31 -0
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +1 -3
- data/rbi/stripe/services/token_service.rbi +71 -3
- data/rbi/stripe/services/transfer_service.rbi +1 -1
- data/rbi/stripe/services/treasury/financial_account_service.rbi +6 -2
- data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +1 -3
- data/rbi/stripe/services/v2/billing_service.rbi +1 -1
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +14 -22
- data/rbi/stripe/services/v2/core/event_service.rbi +1 -3
- data/rbi/stripe/services/webhook_endpoint_service.rbi +1 -3
- metadata +5 -2
@@ -20,9 +20,9 @@ module Stripe
|
|
20
20
|
class Components < Stripe::StripeObject
|
21
21
|
class AccountManagement < Stripe::StripeObject
|
22
22
|
class Features < Stripe::StripeObject
|
23
|
-
#
|
23
|
+
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
24
24
|
attr_reader :disable_stripe_user_authentication
|
25
|
-
# Whether
|
25
|
+
# Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
|
26
26
|
attr_reader :external_account_collection
|
27
27
|
end
|
28
28
|
# Whether the embedded component is enabled.
|
@@ -33,9 +33,9 @@ module Stripe
|
|
33
33
|
|
34
34
|
class AccountOnboarding < Stripe::StripeObject
|
35
35
|
class Features < Stripe::StripeObject
|
36
|
-
#
|
36
|
+
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
37
37
|
attr_reader :disable_stripe_user_authentication
|
38
|
-
# Whether
|
38
|
+
# Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
|
39
39
|
attr_reader :external_account_collection
|
40
40
|
end
|
41
41
|
# Whether the embedded component is enabled.
|
@@ -46,15 +46,15 @@ module Stripe
|
|
46
46
|
|
47
47
|
class Balances < Stripe::StripeObject
|
48
48
|
class Features < Stripe::StripeObject
|
49
|
-
#
|
49
|
+
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
50
50
|
attr_reader :disable_stripe_user_authentication
|
51
|
-
# Whether to allow payout schedule to be changed.
|
51
|
+
# Whether to allow payout schedule to be changed. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
52
52
|
attr_reader :edit_payout_schedule
|
53
|
-
# Whether
|
53
|
+
# Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
|
54
54
|
attr_reader :external_account_collection
|
55
|
-
# Whether to allow creation of instant payouts.
|
55
|
+
# Whether to allow creation of instant payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
56
56
|
attr_reader :instant_payouts
|
57
|
-
# Whether to allow creation of standard payouts.
|
57
|
+
# Whether to allow creation of standard payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
58
58
|
attr_reader :standard_payouts
|
59
59
|
end
|
60
60
|
# Whether the embedded component is enabled.
|
@@ -63,6 +63,23 @@ module Stripe
|
|
63
63
|
attr_reader :features
|
64
64
|
end
|
65
65
|
|
66
|
+
class DisputesList < Stripe::StripeObject
|
67
|
+
class Features < Stripe::StripeObject
|
68
|
+
# Whether to allow capturing and cancelling payment intents. This is `true` by default.
|
69
|
+
attr_reader :capture_payments
|
70
|
+
# Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
|
71
|
+
attr_reader :destination_on_behalf_of_charge_management
|
72
|
+
# Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
|
73
|
+
attr_reader :dispute_management
|
74
|
+
# Whether sending refunds is enabled. This is `true` by default.
|
75
|
+
attr_reader :refund_management
|
76
|
+
end
|
77
|
+
# Whether the embedded component is enabled.
|
78
|
+
attr_reader :enabled
|
79
|
+
# Attribute for field features
|
80
|
+
attr_reader :features
|
81
|
+
end
|
82
|
+
|
66
83
|
class Documents < Stripe::StripeObject
|
67
84
|
class Features < Stripe::StripeObject; end
|
68
85
|
# Whether the embedded component is enabled.
|
@@ -73,9 +90,9 @@ module Stripe
|
|
73
90
|
|
74
91
|
class FinancialAccount < Stripe::StripeObject
|
75
92
|
class Features < Stripe::StripeObject
|
76
|
-
#
|
93
|
+
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
77
94
|
attr_reader :disable_stripe_user_authentication
|
78
|
-
# Whether
|
95
|
+
# Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
|
79
96
|
attr_reader :external_account_collection
|
80
97
|
# Whether to allow sending money.
|
81
98
|
attr_reader :send_money
|
@@ -124,7 +141,7 @@ module Stripe
|
|
124
141
|
attr_reader :card_spend_dispute_management
|
125
142
|
# Whether to allow cardholder management features.
|
126
143
|
attr_reader :cardholder_management
|
127
|
-
#
|
144
|
+
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
128
145
|
attr_reader :disable_stripe_user_authentication
|
129
146
|
# Whether to allow spend control management features.
|
130
147
|
attr_reader :spend_control_management
|
@@ -137,9 +154,9 @@ module Stripe
|
|
137
154
|
|
138
155
|
class NotificationBanner < Stripe::StripeObject
|
139
156
|
class Features < Stripe::StripeObject
|
140
|
-
#
|
157
|
+
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
141
158
|
attr_reader :disable_stripe_user_authentication
|
142
|
-
# Whether
|
159
|
+
# Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
|
143
160
|
attr_reader :external_account_collection
|
144
161
|
end
|
145
162
|
# Whether the embedded component is enabled.
|
@@ -152,11 +169,26 @@ module Stripe
|
|
152
169
|
class Features < Stripe::StripeObject
|
153
170
|
# Whether to allow capturing and cancelling payment intents. This is `true` by default.
|
154
171
|
attr_reader :capture_payments
|
155
|
-
# Whether
|
172
|
+
# Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
|
156
173
|
attr_reader :destination_on_behalf_of_charge_management
|
157
|
-
# Whether
|
174
|
+
# Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
|
158
175
|
attr_reader :dispute_management
|
159
|
-
# Whether
|
176
|
+
# Whether sending refunds is enabled. This is `true` by default.
|
177
|
+
attr_reader :refund_management
|
178
|
+
end
|
179
|
+
# Whether the embedded component is enabled.
|
180
|
+
attr_reader :enabled
|
181
|
+
# Attribute for field features
|
182
|
+
attr_reader :features
|
183
|
+
end
|
184
|
+
|
185
|
+
class PaymentDisputes < Stripe::StripeObject
|
186
|
+
class Features < Stripe::StripeObject
|
187
|
+
# Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
|
188
|
+
attr_reader :destination_on_behalf_of_charge_management
|
189
|
+
# Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
|
190
|
+
attr_reader :dispute_management
|
191
|
+
# Whether sending refunds is enabled. This is `true` by default.
|
160
192
|
attr_reader :refund_management
|
161
193
|
end
|
162
194
|
# Whether the embedded component is enabled.
|
@@ -169,11 +201,11 @@ module Stripe
|
|
169
201
|
class Features < Stripe::StripeObject
|
170
202
|
# Whether to allow capturing and cancelling payment intents. This is `true` by default.
|
171
203
|
attr_reader :capture_payments
|
172
|
-
# Whether
|
204
|
+
# Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
|
173
205
|
attr_reader :destination_on_behalf_of_charge_management
|
174
|
-
# Whether
|
206
|
+
# Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
|
175
207
|
attr_reader :dispute_management
|
176
|
-
# Whether
|
208
|
+
# Whether sending refunds is enabled. This is `true` by default.
|
177
209
|
attr_reader :refund_management
|
178
210
|
end
|
179
211
|
# Whether the embedded component is enabled.
|
@@ -184,15 +216,15 @@ module Stripe
|
|
184
216
|
|
185
217
|
class Payouts < Stripe::StripeObject
|
186
218
|
class Features < Stripe::StripeObject
|
187
|
-
#
|
219
|
+
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
188
220
|
attr_reader :disable_stripe_user_authentication
|
189
|
-
# Whether to allow payout schedule to be changed.
|
221
|
+
# Whether to allow payout schedule to be changed. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
190
222
|
attr_reader :edit_payout_schedule
|
191
|
-
# Whether
|
223
|
+
# Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
|
192
224
|
attr_reader :external_account_collection
|
193
|
-
# Whether to allow creation of instant payouts.
|
225
|
+
# Whether to allow creation of instant payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
194
226
|
attr_reader :instant_payouts
|
195
|
-
# Whether to allow creation of standard payouts.
|
227
|
+
# Whether to allow creation of standard payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
196
228
|
attr_reader :standard_payouts
|
197
229
|
end
|
198
230
|
# Whether the embedded component is enabled.
|
@@ -230,6 +262,8 @@ module Stripe
|
|
230
262
|
attr_reader :account_onboarding
|
231
263
|
# Attribute for field balances
|
232
264
|
attr_reader :balances
|
265
|
+
# Attribute for field disputes_list
|
266
|
+
attr_reader :disputes_list
|
233
267
|
# Attribute for field documents
|
234
268
|
attr_reader :documents
|
235
269
|
# Attribute for field financial_account
|
@@ -244,6 +278,8 @@ module Stripe
|
|
244
278
|
attr_reader :notification_banner
|
245
279
|
# Attribute for field payment_details
|
246
280
|
attr_reader :payment_details
|
281
|
+
# Attribute for field payment_disputes
|
282
|
+
attr_reader :payment_disputes
|
247
283
|
# Attribute for field payments
|
248
284
|
attr_reader :payments
|
249
285
|
# Attribute for field payouts
|
@@ -260,9 +296,9 @@ module Stripe
|
|
260
296
|
class Components < Stripe::RequestParams
|
261
297
|
class AccountManagement < Stripe::RequestParams
|
262
298
|
class Features < Stripe::RequestParams
|
263
|
-
#
|
299
|
+
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
264
300
|
attr_accessor :disable_stripe_user_authentication
|
265
|
-
# Whether
|
301
|
+
# Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
|
266
302
|
attr_accessor :external_account_collection
|
267
303
|
|
268
304
|
def initialize(
|
@@ -286,9 +322,9 @@ module Stripe
|
|
286
322
|
|
287
323
|
class AccountOnboarding < Stripe::RequestParams
|
288
324
|
class Features < Stripe::RequestParams
|
289
|
-
#
|
325
|
+
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
290
326
|
attr_accessor :disable_stripe_user_authentication
|
291
|
-
# Whether
|
327
|
+
# Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
|
292
328
|
attr_accessor :external_account_collection
|
293
329
|
|
294
330
|
def initialize(
|
@@ -312,15 +348,15 @@ module Stripe
|
|
312
348
|
|
313
349
|
class Balances < Stripe::RequestParams
|
314
350
|
class Features < Stripe::RequestParams
|
315
|
-
#
|
351
|
+
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
316
352
|
attr_accessor :disable_stripe_user_authentication
|
317
|
-
# Whether to allow payout schedule to be changed.
|
353
|
+
# Whether to allow payout schedule to be changed. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
318
354
|
attr_accessor :edit_payout_schedule
|
319
|
-
# Whether
|
355
|
+
# Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
|
320
356
|
attr_accessor :external_account_collection
|
321
|
-
# Whether to allow creation of instant payouts.
|
357
|
+
# Whether to allow creation of instant payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
322
358
|
attr_accessor :instant_payouts
|
323
|
-
# Whether to allow creation of standard payouts.
|
359
|
+
# Whether to allow creation of standard payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
324
360
|
attr_accessor :standard_payouts
|
325
361
|
|
326
362
|
def initialize(
|
@@ -348,9 +384,42 @@ module Stripe
|
|
348
384
|
end
|
349
385
|
end
|
350
386
|
|
351
|
-
class
|
387
|
+
class DisputesList < Stripe::RequestParams
|
352
388
|
class Features < Stripe::RequestParams
|
389
|
+
# Whether to allow capturing and cancelling payment intents. This is `true` by default.
|
390
|
+
attr_accessor :capture_payments
|
391
|
+
# Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
|
392
|
+
attr_accessor :destination_on_behalf_of_charge_management
|
393
|
+
# Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
|
394
|
+
attr_accessor :dispute_management
|
395
|
+
# Whether sending refunds is enabled. This is `true` by default.
|
396
|
+
attr_accessor :refund_management
|
397
|
+
|
398
|
+
def initialize(
|
399
|
+
capture_payments: nil,
|
400
|
+
destination_on_behalf_of_charge_management: nil,
|
401
|
+
dispute_management: nil,
|
402
|
+
refund_management: nil
|
403
|
+
)
|
404
|
+
@capture_payments = capture_payments
|
405
|
+
@destination_on_behalf_of_charge_management = destination_on_behalf_of_charge_management
|
406
|
+
@dispute_management = dispute_management
|
407
|
+
@refund_management = refund_management
|
408
|
+
end
|
409
|
+
end
|
410
|
+
# Whether the embedded component is enabled.
|
411
|
+
attr_accessor :enabled
|
412
|
+
# The list of features enabled in the embedded component.
|
413
|
+
attr_accessor :features
|
414
|
+
|
415
|
+
def initialize(enabled: nil, features: nil)
|
416
|
+
@enabled = enabled
|
417
|
+
@features = features
|
353
418
|
end
|
419
|
+
end
|
420
|
+
|
421
|
+
class Documents < Stripe::RequestParams
|
422
|
+
class Features < Stripe::RequestParams; end
|
354
423
|
# Whether the embedded component is enabled.
|
355
424
|
attr_accessor :enabled
|
356
425
|
# The list of features enabled in the embedded component.
|
@@ -364,9 +433,9 @@ module Stripe
|
|
364
433
|
|
365
434
|
class FinancialAccount < Stripe::RequestParams
|
366
435
|
class Features < Stripe::RequestParams
|
367
|
-
#
|
436
|
+
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
368
437
|
attr_accessor :disable_stripe_user_authentication
|
369
|
-
# Whether
|
438
|
+
# Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
|
370
439
|
attr_accessor :external_account_collection
|
371
440
|
# Whether to allow sending money.
|
372
441
|
attr_accessor :send_money
|
@@ -458,7 +527,7 @@ module Stripe
|
|
458
527
|
attr_accessor :card_spend_dispute_management
|
459
528
|
# Whether to allow cardholder management features.
|
460
529
|
attr_accessor :cardholder_management
|
461
|
-
#
|
530
|
+
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
462
531
|
attr_accessor :disable_stripe_user_authentication
|
463
532
|
# Whether to allow spend control management features.
|
464
533
|
attr_accessor :spend_control_management
|
@@ -490,9 +559,9 @@ module Stripe
|
|
490
559
|
|
491
560
|
class NotificationBanner < Stripe::RequestParams
|
492
561
|
class Features < Stripe::RequestParams
|
493
|
-
#
|
562
|
+
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
494
563
|
attr_accessor :disable_stripe_user_authentication
|
495
|
-
# Whether
|
564
|
+
# Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
|
496
565
|
attr_accessor :external_account_collection
|
497
566
|
|
498
567
|
def initialize(
|
@@ -518,11 +587,11 @@ module Stripe
|
|
518
587
|
class Features < Stripe::RequestParams
|
519
588
|
# Whether to allow capturing and cancelling payment intents. This is `true` by default.
|
520
589
|
attr_accessor :capture_payments
|
521
|
-
# Whether
|
590
|
+
# Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
|
522
591
|
attr_accessor :destination_on_behalf_of_charge_management
|
523
|
-
# Whether
|
592
|
+
# Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
|
524
593
|
attr_accessor :dispute_management
|
525
|
-
# Whether
|
594
|
+
# Whether sending refunds is enabled. This is `true` by default.
|
526
595
|
attr_accessor :refund_management
|
527
596
|
|
528
597
|
def initialize(
|
@@ -548,15 +617,45 @@ module Stripe
|
|
548
617
|
end
|
549
618
|
end
|
550
619
|
|
620
|
+
class PaymentDisputes < Stripe::RequestParams
|
621
|
+
class Features < Stripe::RequestParams
|
622
|
+
# Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
|
623
|
+
attr_accessor :destination_on_behalf_of_charge_management
|
624
|
+
# Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
|
625
|
+
attr_accessor :dispute_management
|
626
|
+
# Whether sending refunds is enabled. This is `true` by default.
|
627
|
+
attr_accessor :refund_management
|
628
|
+
|
629
|
+
def initialize(
|
630
|
+
destination_on_behalf_of_charge_management: nil,
|
631
|
+
dispute_management: nil,
|
632
|
+
refund_management: nil
|
633
|
+
)
|
634
|
+
@destination_on_behalf_of_charge_management = destination_on_behalf_of_charge_management
|
635
|
+
@dispute_management = dispute_management
|
636
|
+
@refund_management = refund_management
|
637
|
+
end
|
638
|
+
end
|
639
|
+
# Whether the embedded component is enabled.
|
640
|
+
attr_accessor :enabled
|
641
|
+
# The list of features enabled in the embedded component.
|
642
|
+
attr_accessor :features
|
643
|
+
|
644
|
+
def initialize(enabled: nil, features: nil)
|
645
|
+
@enabled = enabled
|
646
|
+
@features = features
|
647
|
+
end
|
648
|
+
end
|
649
|
+
|
551
650
|
class Payments < Stripe::RequestParams
|
552
651
|
class Features < Stripe::RequestParams
|
553
652
|
# Whether to allow capturing and cancelling payment intents. This is `true` by default.
|
554
653
|
attr_accessor :capture_payments
|
555
|
-
# Whether
|
654
|
+
# Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
|
556
655
|
attr_accessor :destination_on_behalf_of_charge_management
|
557
|
-
# Whether
|
656
|
+
# Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
|
558
657
|
attr_accessor :dispute_management
|
559
|
-
# Whether
|
658
|
+
# Whether sending refunds is enabled. This is `true` by default.
|
560
659
|
attr_accessor :refund_management
|
561
660
|
|
562
661
|
def initialize(
|
@@ -584,15 +683,15 @@ module Stripe
|
|
584
683
|
|
585
684
|
class Payouts < Stripe::RequestParams
|
586
685
|
class Features < Stripe::RequestParams
|
587
|
-
#
|
686
|
+
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
588
687
|
attr_accessor :disable_stripe_user_authentication
|
589
|
-
# Whether to allow payout schedule to be changed.
|
688
|
+
# Whether to allow payout schedule to be changed. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
590
689
|
attr_accessor :edit_payout_schedule
|
591
|
-
# Whether
|
690
|
+
# Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
|
592
691
|
attr_accessor :external_account_collection
|
593
|
-
# Whether to allow creation of instant payouts.
|
692
|
+
# Whether to allow creation of instant payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
594
693
|
attr_accessor :instant_payouts
|
595
|
-
# Whether to allow creation of standard payouts.
|
694
|
+
# Whether to allow creation of standard payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
596
695
|
attr_accessor :standard_payouts
|
597
696
|
|
598
697
|
def initialize(
|
@@ -621,8 +720,7 @@ module Stripe
|
|
621
720
|
end
|
622
721
|
|
623
722
|
class PayoutsList < Stripe::RequestParams
|
624
|
-
class Features < Stripe::RequestParams
|
625
|
-
end
|
723
|
+
class Features < Stripe::RequestParams; end
|
626
724
|
# Whether the embedded component is enabled.
|
627
725
|
attr_accessor :enabled
|
628
726
|
# The list of features enabled in the embedded component.
|
@@ -635,8 +733,7 @@ module Stripe
|
|
635
733
|
end
|
636
734
|
|
637
735
|
class TaxRegistrations < Stripe::RequestParams
|
638
|
-
class Features < Stripe::RequestParams
|
639
|
-
end
|
736
|
+
class Features < Stripe::RequestParams; end
|
640
737
|
# Whether the embedded component is enabled.
|
641
738
|
attr_accessor :enabled
|
642
739
|
# The list of features enabled in the embedded component.
|
@@ -649,8 +746,7 @@ module Stripe
|
|
649
746
|
end
|
650
747
|
|
651
748
|
class TaxSettings < Stripe::RequestParams
|
652
|
-
class Features < Stripe::RequestParams
|
653
|
-
end
|
749
|
+
class Features < Stripe::RequestParams; end
|
654
750
|
# Whether the embedded component is enabled.
|
655
751
|
attr_accessor :enabled
|
656
752
|
# The list of features enabled in the embedded component.
|
@@ -661,41 +757,46 @@ module Stripe
|
|
661
757
|
@features = features
|
662
758
|
end
|
663
759
|
end
|
664
|
-
# Configuration for the account management embedded component.
|
760
|
+
# Configuration for the [account management](/connect/supported-embedded-components/account-management/) embedded component.
|
665
761
|
attr_accessor :account_management
|
666
|
-
# Configuration for the account onboarding embedded component.
|
762
|
+
# Configuration for the [account onboarding](/connect/supported-embedded-components/account-onboarding/) embedded component.
|
667
763
|
attr_accessor :account_onboarding
|
668
|
-
# Configuration for the balances embedded component.
|
764
|
+
# Configuration for the [balances](/connect/supported-embedded-components/balances/) embedded component.
|
669
765
|
attr_accessor :balances
|
670
|
-
# Configuration for the
|
766
|
+
# Configuration for the [disputes list](/connect/supported-embedded-components/disputes-list/) embedded component.
|
767
|
+
attr_accessor :disputes_list
|
768
|
+
# Configuration for the [documents](/connect/supported-embedded-components/documents/) embedded component.
|
671
769
|
attr_accessor :documents
|
672
|
-
# Configuration for the financial account embedded component.
|
770
|
+
# Configuration for the [financial account](/connect/supported-embedded-components/financial-account/) embedded component.
|
673
771
|
attr_accessor :financial_account
|
674
|
-
# Configuration for the financial account transactions embedded component.
|
772
|
+
# Configuration for the [financial account transactions](/connect/supported-embedded-components/financial-account-transactions/) embedded component.
|
675
773
|
attr_accessor :financial_account_transactions
|
676
|
-
# Configuration for the issuing card embedded component.
|
774
|
+
# Configuration for the [issuing card](/connect/supported-embedded-components/issuing-card/) embedded component.
|
677
775
|
attr_accessor :issuing_card
|
678
|
-
# Configuration for the issuing cards list embedded component.
|
776
|
+
# Configuration for the [issuing cards list](/connect/supported-embedded-components/issuing-cards-list/) embedded component.
|
679
777
|
attr_accessor :issuing_cards_list
|
680
|
-
# Configuration for the notification banner embedded component.
|
778
|
+
# Configuration for the [notification banner](/connect/supported-embedded-components/notification-banner/) embedded component.
|
681
779
|
attr_accessor :notification_banner
|
682
|
-
# Configuration for the payment details embedded component.
|
780
|
+
# Configuration for the [payment details](/connect/supported-embedded-components/payment-details/) embedded component.
|
683
781
|
attr_accessor :payment_details
|
684
|
-
# Configuration for the
|
782
|
+
# Configuration for the [payment disputes](/connect/supported-embedded-components/payment-disputes/) embedded component.
|
783
|
+
attr_accessor :payment_disputes
|
784
|
+
# Configuration for the [payments](/connect/supported-embedded-components/payments/) embedded component.
|
685
785
|
attr_accessor :payments
|
686
|
-
# Configuration for the payouts embedded component.
|
786
|
+
# Configuration for the [payouts](/connect/supported-embedded-components/payouts/) embedded component.
|
687
787
|
attr_accessor :payouts
|
688
|
-
# Configuration for the payouts list embedded component.
|
788
|
+
# Configuration for the [payouts list](/connect/supported-embedded-components/payouts-list/) embedded component.
|
689
789
|
attr_accessor :payouts_list
|
690
|
-
# Configuration for the tax registrations embedded component.
|
790
|
+
# Configuration for the [tax registrations](/connect/supported-embedded-components/tax-registrations/) embedded component.
|
691
791
|
attr_accessor :tax_registrations
|
692
|
-
# Configuration for the tax settings embedded component.
|
792
|
+
# Configuration for the [tax settings](/connect/supported-embedded-components/tax-settings/) embedded component.
|
693
793
|
attr_accessor :tax_settings
|
694
794
|
|
695
795
|
def initialize(
|
696
796
|
account_management: nil,
|
697
797
|
account_onboarding: nil,
|
698
798
|
balances: nil,
|
799
|
+
disputes_list: nil,
|
699
800
|
documents: nil,
|
700
801
|
financial_account: nil,
|
701
802
|
financial_account_transactions: nil,
|
@@ -703,6 +804,7 @@ module Stripe
|
|
703
804
|
issuing_cards_list: nil,
|
704
805
|
notification_banner: nil,
|
705
806
|
payment_details: nil,
|
807
|
+
payment_disputes: nil,
|
706
808
|
payments: nil,
|
707
809
|
payouts: nil,
|
708
810
|
payouts_list: nil,
|
@@ -712,6 +814,7 @@ module Stripe
|
|
712
814
|
@account_management = account_management
|
713
815
|
@account_onboarding = account_onboarding
|
714
816
|
@balances = balances
|
817
|
+
@disputes_list = disputes_list
|
715
818
|
@documents = documents
|
716
819
|
@financial_account = financial_account
|
717
820
|
@financial_account_transactions = financial_account_transactions
|
@@ -719,6 +822,7 @@ module Stripe
|
|
719
822
|
@issuing_cards_list = issuing_cards_list
|
720
823
|
@notification_banner = notification_banner
|
721
824
|
@payment_details = payment_details
|
825
|
+
@payment_disputes = payment_disputes
|
722
826
|
@payments = payments
|
723
827
|
@payouts = payouts
|
724
828
|
@payouts_list = payouts_list
|
@@ -126,6 +126,46 @@ module Stripe
|
|
126
126
|
# Attribute for field source_types
|
127
127
|
attr_reader :source_types
|
128
128
|
end
|
129
|
+
|
130
|
+
class RefundAndDisputePrefunding < Stripe::StripeObject
|
131
|
+
class Available < Stripe::StripeObject
|
132
|
+
class SourceTypes < Stripe::StripeObject
|
133
|
+
# Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated).
|
134
|
+
attr_reader :bank_account
|
135
|
+
# Amount coming from most payment methods, including cards as well as [non-legacy bank debits](https://docs.stripe.com/payments/bank-debits).
|
136
|
+
attr_reader :card
|
137
|
+
# Amount coming from [FPX](https://docs.stripe.com/payments/fpx), a Malaysian payment method.
|
138
|
+
attr_reader :fpx
|
139
|
+
end
|
140
|
+
# Balance amount.
|
141
|
+
attr_reader :amount
|
142
|
+
# 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).
|
143
|
+
attr_reader :currency
|
144
|
+
# Attribute for field source_types
|
145
|
+
attr_reader :source_types
|
146
|
+
end
|
147
|
+
|
148
|
+
class Pending < Stripe::StripeObject
|
149
|
+
class SourceTypes < Stripe::StripeObject
|
150
|
+
# Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated).
|
151
|
+
attr_reader :bank_account
|
152
|
+
# Amount coming from most payment methods, including cards as well as [non-legacy bank debits](https://docs.stripe.com/payments/bank-debits).
|
153
|
+
attr_reader :card
|
154
|
+
# Amount coming from [FPX](https://docs.stripe.com/payments/fpx), a Malaysian payment method.
|
155
|
+
attr_reader :fpx
|
156
|
+
end
|
157
|
+
# Balance amount.
|
158
|
+
attr_reader :amount
|
159
|
+
# 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).
|
160
|
+
attr_reader :currency
|
161
|
+
# Attribute for field source_types
|
162
|
+
attr_reader :source_types
|
163
|
+
end
|
164
|
+
# Funds that are available for use.
|
165
|
+
attr_reader :available
|
166
|
+
# Funds that are pending
|
167
|
+
attr_reader :pending
|
168
|
+
end
|
129
169
|
# Available funds that you can transfer or pay out automatically by Stripe or explicitly through the [Transfers API](https://stripe.com/docs/api#transfers) or [Payouts API](https://stripe.com/docs/api#payouts). You can find the available balance for each currency and payment type in the `source_types` property.
|
130
170
|
attr_reader :available
|
131
171
|
# Funds held due to negative balances on connected accounts where [account.controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. You can find the connect reserve balance for each currency and payment type in the `source_types` property.
|
@@ -140,5 +180,7 @@ module Stripe
|
|
140
180
|
attr_reader :object
|
141
181
|
# Funds that aren't available in the balance yet. You can find the pending balance for each currency and each payment type in the `source_types` property.
|
142
182
|
attr_reader :pending
|
183
|
+
# Attribute for field refund_and_dispute_prefunding
|
184
|
+
attr_reader :refund_and_dispute_prefunding
|
143
185
|
end
|
144
186
|
end
|
@@ -90,6 +90,8 @@ module Stripe
|
|
90
90
|
attr_reader :amount
|
91
91
|
# The date that the transaction's net funds become available in the Stripe balance.
|
92
92
|
attr_reader :available_on
|
93
|
+
# The balance that this transaction impacts.
|
94
|
+
attr_reader :balance_type
|
93
95
|
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
94
96
|
attr_reader :created
|
95
97
|
# 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).
|
@@ -4,11 +4,11 @@
|
|
4
4
|
module Stripe
|
5
5
|
# These bank accounts are payment methods on `Customer` objects.
|
6
6
|
#
|
7
|
-
# On the other hand [External Accounts](https://stripe.com/api#external_accounts) are transfer
|
7
|
+
# On the other hand [External Accounts](https://docs.stripe.com/api#external_accounts) are transfer
|
8
8
|
# destinations on `Account` objects for connected accounts.
|
9
9
|
# They can be bank accounts or debit cards as well, and are documented in the links above.
|
10
10
|
#
|
11
|
-
# Related guide: [Bank debits and transfers](https://stripe.com/payments/bank-debits-transfers)
|
11
|
+
# Related guide: [Bank debits and transfers](https://docs.stripe.com/payments/bank-debits-transfers)
|
12
12
|
class BankAccount < APIResource
|
13
13
|
include Stripe::APIOperations::Delete
|
14
14
|
extend Stripe::APIOperations::List
|