stripe 15.2.0.pre.beta.1 → 15.2.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/CHANGELOG.md +718 -1556
- data/CONTRIBUTING.md +25 -0
- data/OPENAPI_VERSION +1 -1
- data/README.md +10 -7
- data/VERSION +1 -1
- data/lib/stripe/api_requestor.rb +0 -28
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/errors.rb +0 -54
- data/lib/stripe/event_types.rb +0 -89
- data/lib/stripe/object_types.rb +0 -52
- data/lib/stripe/resources/account.rb +32 -657
- data/lib/stripe/resources/account_session.rb +59 -253
- 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/credit_balance_summary.rb +0 -2
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -4
- data/lib/stripe/resources/billing/credit_grant.rb +0 -10
- data/lib/stripe/resources/billing_portal/session.rb +1 -7
- data/lib/stripe/resources/capability.rb +1 -1
- data/lib/stripe/resources/card.rb +0 -2
- data/lib/stripe/resources/cash_balance.rb +0 -2
- data/lib/stripe/resources/charge.rb +13 -1475
- data/lib/stripe/resources/checkout/session.rb +21 -333
- data/lib/stripe/resources/confirmation_token.rb +33 -263
- data/lib/stripe/resources/country_spec.rb +1 -1
- data/lib/stripe/resources/coupon.rb +2 -32
- data/lib/stripe/resources/credit_note.rb +10 -17
- data/lib/stripe/resources/credit_note_line_item.rb +0 -9
- data/lib/stripe/resources/customer.rb +2 -6
- data/lib/stripe/resources/customer_balance_transaction.rb +0 -2
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -2
- data/lib/stripe/resources/customer_session.rb +4 -9
- data/lib/stripe/resources/discount.rb +0 -2
- data/lib/stripe/resources/dispute.rb +2 -2
- data/lib/stripe/resources/event.rb +1 -32
- data/lib/stripe/resources/file.rb +1 -1
- data/lib/stripe/resources/financial_connections/account.rb +1 -20
- data/lib/stripe/resources/financial_connections/session.rb +2 -62
- data/lib/stripe/resources/identity/verification_report.rb +6 -0
- data/lib/stripe/resources/identity/verification_session.rb +17 -21
- data/lib/stripe/resources/invoice.rb +79 -1106
- data/lib/stripe/resources/invoice_item.rb +4 -81
- data/lib/stripe/resources/invoice_line_item.rb +2 -56
- data/lib/stripe/resources/invoice_payment.rb +62 -4
- data/lib/stripe/resources/issuing/authorization.rb +8 -8
- data/lib/stripe/resources/issuing/card.rb +1 -1
- data/lib/stripe/resources/issuing/cardholder.rb +1 -2
- data/lib/stripe/resources/issuing/dispute.rb +3 -3
- data/lib/stripe/resources/issuing/transaction.rb +0 -6
- data/lib/stripe/resources/line_item.rb +0 -37
- data/lib/stripe/resources/mandate.rb +0 -24
- data/lib/stripe/resources/payment_intent.rb +1912 -6840
- data/lib/stripe/resources/payment_method.rb +47 -301
- data/lib/stripe/resources/payment_method_configuration.rb +112 -112
- data/lib/stripe/resources/payment_method_domain.rb +2 -2
- data/lib/stripe/resources/payout.rb +4 -10
- data/lib/stripe/resources/person.rb +2 -2
- data/lib/stripe/resources/plan.rb +2 -3
- data/lib/stripe/resources/price.rb +1 -31
- data/lib/stripe/resources/product.rb +1 -61
- data/lib/stripe/resources/promotion_code.rb +0 -10
- data/lib/stripe/resources/quote.rb +6 -2046
- 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 +6 -10
- data/lib/stripe/resources/reversal.rb +1 -1
- data/lib/stripe/resources/review.rb +1 -1
- data/lib/stripe/resources/setup_attempt.rb +0 -21
- data/lib/stripe/resources/setup_intent.rb +120 -877
- data/lib/stripe/resources/source.rb +1 -30
- data/lib/stripe/resources/subscription.rb +97 -326
- data/lib/stripe/resources/subscription_item.rb +32 -80
- data/lib/stripe/resources/subscription_schedule.rb +127 -1015
- data/lib/stripe/resources/tax/calculation.rb +4 -0
- data/lib/stripe/resources/tax/calculation_line_item.rb +2 -0
- data/lib/stripe/resources/tax/registration.rb +1 -1
- data/lib/stripe/resources/tax_id.rb +3 -14
- data/lib/stripe/resources/tax_rate.rb +2 -2
- data/lib/stripe/resources/terminal/configuration.rb +1 -2
- data/lib/stripe/resources/terminal/location.rb +2 -3
- data/lib/stripe/resources/terminal/reader.rb +8 -142
- data/lib/stripe/resources/test_helpers/test_clock.rb +1 -2
- data/lib/stripe/resources/token.rb +2 -2
- data/lib/stripe/resources/transfer.rb +1 -7
- data/lib/stripe/resources/treasury/financial_account.rb +3 -22
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
- data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -37
- data/lib/stripe/resources/treasury/received_credit.rb +1 -38
- data/lib/stripe/resources/treasury/received_debit.rb +1 -40
- data/lib/stripe/resources/webhook_endpoint.rb +1 -2
- data/lib/stripe/resources.rb +0 -99
- data/lib/stripe/services/account_external_account_service.rb +2 -3
- data/lib/stripe/services/account_login_link_service.rb +1 -1
- data/lib/stripe/services/account_person_service.rb +1 -2
- data/lib/stripe/services/account_service.rb +23 -559
- data/lib/stripe/services/account_session_service.rb +29 -229
- data/lib/stripe/services/apple_pay_domain_service.rb +1 -2
- data/lib/stripe/services/balance_service.rb +1 -1
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +1 -4
- data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -4
- data/lib/stripe/services/billing/credit_grant_service.rb +0 -8
- data/lib/stripe/services/billing_portal/session_service.rb +0 -4
- data/lib/stripe/services/charge_service.rb +4 -1354
- data/lib/stripe/services/checkout/session_service.rb +13 -250
- data/lib/stripe/services/coupon_service.rb +2 -19
- data/lib/stripe/services/credit_note_service.rb +7 -12
- 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_source_service.rb +1 -1
- data/lib/stripe/services/customer_service.rb +3 -5
- data/lib/stripe/services/customer_session_service.rb +1 -4
- data/lib/stripe/services/customer_tax_id_service.rb +1 -2
- data/lib/stripe/services/dispute_service.rb +1 -1
- data/lib/stripe/services/file_service.rb +1 -1
- data/lib/stripe/services/financial_connections/account_service.rb +2 -7
- data/lib/stripe/services/financial_connections/session_service.rb +2 -34
- data/lib/stripe/services/financial_connections_service.rb +1 -2
- data/lib/stripe/services/identity/verification_session_service.rb +5 -13
- data/lib/stripe/services/invoice_item_service.rb +3 -76
- data/lib/stripe/services/invoice_line_item_service.rb +1 -33
- data/lib/stripe/services/invoice_payment_service.rb +83 -0
- data/lib/stripe/services/invoice_service.rb +74 -1049
- 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/cardholder_service.rb +1 -2
- data/lib/stripe/services/issuing/dispute_service.rb +2 -2
- data/lib/stripe/services/issuing/transaction_service.rb +0 -4
- data/lib/stripe/services/issuing_service.rb +1 -5
- data/lib/stripe/services/payment_intent_service.rb +439 -4928
- data/lib/stripe/services/payment_method_configuration_service.rb +82 -82
- data/lib/stripe/services/payment_method_domain_service.rb +1 -1
- data/lib/stripe/services/payment_method_service.rb +44 -226
- data/lib/stripe/services/payout_service.rb +2 -6
- data/lib/stripe/services/plan_service.rb +2 -3
- data/lib/stripe/services/price_service.rb +2 -21
- data/lib/stripe/services/product_feature_service.rb +1 -2
- data/lib/stripe/services/product_service.rb +2 -41
- data/lib/stripe/services/promotion_code_service.rb +1 -9
- data/lib/stripe/services/quote_service.rb +7 -1730
- 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/setup_intent_service.rb +119 -836
- data/lib/stripe/services/source_service.rb +1 -1
- data/lib/stripe/services/subscription_item_service.rb +27 -73
- data/lib/stripe/services/subscription_schedule_service.rb +101 -916
- data/lib/stripe/services/subscription_service.rb +85 -282
- data/lib/stripe/services/tax/calculation_service.rb +4 -0
- data/lib/stripe/services/tax/registration_service.rb +1 -1
- data/lib/stripe/services/tax_id_service.rb +3 -10
- data/lib/stripe/services/tax_service.rb +1 -3
- 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 +5 -81
- data/lib/stripe/services/terminal_service.rb +1 -2
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +33 -190
- data/lib/stripe/services/test_helpers/test_clock_service.rb +1 -2
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +1 -25
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +1 -25
- data/lib/stripe/services/token_service.rb +1 -1
- data/lib/stripe/services/transfer_service.rb +1 -5
- data/lib/stripe/services/treasury/financial_account_features_service.rb +1 -4
- data/lib/stripe/services/treasury/financial_account_service.rb +2 -16
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -24
- data/lib/stripe/services/v1_services.rb +2 -12
- data/lib/stripe/services/v2/billing/meter_event_session_service.rb +1 -2
- data/lib/stripe/services/v2/core/event_destination_service.rb +4 -10
- data/lib/stripe/services/v2/core/event_service.rb +1 -2
- data/lib/stripe/services/v2/core_service.rb +1 -4
- data/lib/stripe/services/v2_services.rb +2 -4
- data/lib/stripe/services/webhook_endpoint_service.rb +1 -2
- data/lib/stripe/services.rb +1 -54
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +0 -53
- data/rbi/stripe/resources/account.rbi +4926 -0
- data/rbi/stripe/resources/account_link.rbi +74 -0
- data/rbi/stripe/resources/account_session.rbi +1013 -0
- data/rbi/stripe/resources/apple_pay_domain.rbi +88 -0
- data/rbi/stripe/resources/application.rbi +20 -0
- data/rbi/stripe/resources/application_fee.rbi +118 -0
- data/rbi/stripe/resources/application_fee_refund.rbi +37 -0
- data/rbi/stripe/resources/apps/secret.rbi +195 -0
- data/rbi/stripe/resources/balance.rbi +235 -0
- data/rbi/stripe/resources/balance_transaction.rbi +147 -0
- data/rbi/stripe/resources/bank_account.rbi +127 -0
- data/rbi/stripe/resources/billing/alert.rbi +201 -0
- data/rbi/stripe/resources/billing/alert_triggered.rbi +28 -0
- data/rbi/stripe/resources/billing/credit_balance_summary.rbi +63 -0
- data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +147 -0
- data/rbi/stripe/resources/billing/credit_grant.rbi +291 -0
- data/rbi/stripe/resources/billing/meter.rbi +226 -0
- data/rbi/stripe/resources/billing/meter_event.rbi +64 -0
- data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +64 -0
- data/rbi/stripe/resources/billing/meter_event_summary.rbi +35 -0
- data/rbi/stripe/resources/billing_portal/configuration.rbi +645 -0
- data/rbi/stripe/resources/billing_portal/session.rbi +345 -0
- data/rbi/stripe/resources/capability.rbi +125 -0
- data/rbi/stripe/resources/card.rbi +125 -0
- data/rbi/stripe/resources/cash_balance.rbi +32 -0
- data/rbi/stripe/resources/charge.rbi +2069 -0
- data/rbi/stripe/resources/checkout/session.rbi +4004 -0
- data/rbi/stripe/resources/climate/order.rbi +245 -0
- data/rbi/stripe/resources/climate/product.rbi +75 -0
- data/rbi/stripe/resources/climate/supplier.rbi +72 -0
- data/rbi/stripe/resources/confirmation_token.rbi +1807 -0
- data/rbi/stripe/resources/connect_collection_transfer.rbi +26 -0
- data/rbi/stripe/resources/country_spec.rbi +85 -0
- data/rbi/stripe/resources/coupon.rbi +250 -0
- data/rbi/stripe/resources/credit_note.rbi +752 -0
- data/rbi/stripe/resources/credit_note_line_item.rbi +101 -0
- data/rbi/stripe/resources/customer.rbi +1005 -0
- data/rbi/stripe/resources/customer_balance_transaction.rbi +56 -0
- data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +151 -0
- data/rbi/stripe/resources/customer_session.rbi +200 -0
- data/rbi/stripe/resources/discount.rbi +53 -0
- data/rbi/stripe/resources/dispute.rbi +761 -0
- data/rbi/stripe/resources/entitlements/active_entitlement.rbi +58 -0
- data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +23 -0
- data/rbi/stripe/resources/entitlements/feature.rbi +117 -0
- data/rbi/stripe/resources/ephemeral_key.rbi +44 -0
- data/rbi/stripe/resources/event.rbi +149 -0
- data/rbi/stripe/resources/exchange_rate.rbi +66 -0
- data/rbi/stripe/resources/file.rbi +143 -0
- data/rbi/stripe/resources/file_link.rbi +141 -0
- data/rbi/stripe/resources/financial_connections/account.rbi +339 -0
- data/rbi/stripe/resources/financial_connections/account_owner.rbi +35 -0
- data/rbi/stripe/resources/financial_connections/account_ownership.rbi +23 -0
- data/rbi/stripe/resources/financial_connections/session.rbi +123 -0
- data/rbi/stripe/resources/financial_connections/transaction.rbi +124 -0
- data/rbi/stripe/resources/forwarding/request.rbi +216 -0
- data/rbi/stripe/resources/funding_instructions.rbi +437 -0
- data/rbi/stripe/resources/identity/verification_report.rbi +360 -0
- data/rbi/stripe/resources/identity/verification_session.rbi +526 -0
- data/rbi/stripe/resources/invoice.rbi +3812 -0
- data/rbi/stripe/resources/invoice_item.rbi +473 -0
- data/rbi/stripe/resources/invoice_line_item.rbi +432 -0
- data/rbi/stripe/resources/invoice_payment.rbi +121 -0
- data/rbi/stripe/resources/invoice_rendering_template.rbi +104 -0
- data/rbi/stripe/resources/issuing/authorization.rbi +1283 -0
- data/rbi/stripe/resources/issuing/card.rbi +741 -0
- data/rbi/stripe/resources/issuing/cardholder.rbi +744 -0
- data/rbi/stripe/resources/issuing/dispute.rbi +913 -0
- data/rbi/stripe/resources/issuing/personalization_design.rbi +338 -0
- data/rbi/stripe/resources/issuing/physical_bundle.rbi +79 -0
- data/rbi/stripe/resources/issuing/token.rbi +226 -0
- data/rbi/stripe/resources/issuing/transaction.rbi +1061 -0
- data/rbi/stripe/resources/line_item.rbi +72 -0
- data/rbi/stripe/resources/login_link.rbi +19 -0
- data/rbi/stripe/resources/mandate.rbi +187 -0
- data/rbi/stripe/resources/payment_intent.rbi +9647 -0
- data/rbi/stripe/resources/payment_link.rbi +1801 -0
- data/rbi/stripe/resources/payment_method.rbi +1761 -0
- data/rbi/stripe/resources/payment_method_configuration.rbi +3550 -0
- data/rbi/stripe/resources/payment_method_domain.rbi +228 -0
- data/rbi/stripe/resources/payout.rbi +300 -0
- data/rbi/stripe/resources/person.rbi +401 -0
- data/rbi/stripe/resources/plan.rbi +371 -0
- data/rbi/stripe/resources/price.rbi +694 -0
- data/rbi/stripe/resources/product.rbi +555 -0
- data/rbi/stripe/resources/product_feature.rbi +26 -0
- data/rbi/stripe/resources/promotion_code.rbi +261 -0
- data/rbi/stripe/resources/quote.rbi +1126 -0
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +98 -0
- data/rbi/stripe/resources/radar/value_list.rbi +168 -0
- data/rbi/stripe/resources/radar/value_list_item.rbi +129 -0
- data/rbi/stripe/resources/refund.rbi +523 -0
- data/rbi/stripe/resources/reporting/report_run.rbi +191 -0
- data/rbi/stripe/resources/reporting/report_type.rbi +57 -0
- data/rbi/stripe/resources/reserve_transaction.rbi +23 -0
- data/rbi/stripe/resources/reversal.rbi +51 -0
- data/rbi/stripe/resources/review.rbi +154 -0
- data/rbi/stripe/resources/setup_attempt.rbi +477 -0
- data/rbi/stripe/resources/setup_intent.rbi +3655 -0
- data/rbi/stripe/resources/shipping_rate.rbi +305 -0
- data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +75 -0
- data/rbi/stripe/resources/source.rbi +1496 -0
- data/rbi/stripe/resources/source_mandate_notification.rbi +77 -0
- data/rbi/stripe/resources/source_transaction.rbi +127 -0
- data/rbi/stripe/resources/subscription.rbi +2027 -0
- data/rbi/stripe/resources/subscription_item.rbi +404 -0
- data/rbi/stripe/resources/subscription_schedule.rbi +1623 -0
- data/rbi/stripe/resources/tax/calculation.rbi +478 -0
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +91 -0
- data/rbi/stripe/resources/tax/registration.rbi +2713 -0
- data/rbi/stripe/resources/tax/settings.rbi +141 -0
- data/rbi/stripe/resources/tax/transaction.rbi +351 -0
- data/rbi/stripe/resources/tax/transaction_line_item.rbi +54 -0
- data/rbi/stripe/resources/tax_code.rbi +44 -0
- data/rbi/stripe/resources/tax_deducted_at_source.rbi +23 -0
- data/rbi/stripe/resources/tax_id.rbi +165 -0
- data/rbi/stripe/resources/tax_rate.rbi +239 -0
- data/rbi/stripe/resources/terminal/configuration.rbi +1386 -0
- data/rbi/stripe/resources/terminal/connection_token.rbi +37 -0
- data/rbi/stripe/resources/terminal/location.rbi +222 -0
- data/rbi/stripe/resources/terminal/reader.rbi +847 -0
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +132 -0
- data/rbi/stripe/resources/token.rbi +1283 -0
- data/rbi/stripe/resources/topup.rbi +222 -0
- data/rbi/stripe/resources/transfer.rbi +199 -0
- data/rbi/stripe/resources/treasury/credit_reversal.rbi +119 -0
- data/rbi/stripe/resources/treasury/debit_reversal.rbi +131 -0
- data/rbi/stripe/resources/treasury/financial_account.rbi +865 -0
- data/rbi/stripe/resources/treasury/financial_account_features.rbi +260 -0
- data/rbi/stripe/resources/treasury/inbound_transfer.rbi +295 -0
- data/rbi/stripe/resources/treasury/outbound_payment.rbi +592 -0
- data/rbi/stripe/resources/treasury/outbound_transfer.rbi +431 -0
- data/rbi/stripe/resources/treasury/received_credit.rbi +302 -0
- data/rbi/stripe/resources/treasury/received_debit.rbi +256 -0
- data/rbi/stripe/resources/treasury/transaction.rbi +215 -0
- data/rbi/stripe/resources/treasury/transaction_entry.rbi +192 -0
- data/rbi/stripe/resources/v2/amount.rbi +14 -0
- data/rbi/stripe/resources/v2/billing/meter_event.rbi +37 -0
- data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +41 -0
- data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +31 -0
- data/rbi/stripe/resources/v2/event.rbi +48 -0
- data/rbi/stripe/resources/v2/event_destination.rbi +91 -0
- data/rbi/stripe/resources/webhook_endpoint.rbi +168 -0
- data/rbi/stripe/services/account_capability_service.rbi +51 -0
- data/{lib/stripe/services/external_account_service.rb → rbi/stripe/services/account_external_account_service.rbi} +124 -138
- data/rbi/stripe/services/account_link_service.rbi +58 -0
- data/rbi/stripe/services/account_login_link_service.rbi +22 -0
- data/rbi/stripe/services/account_person_service.rbi +1011 -0
- data/rbi/stripe/services/account_service.rbi +4213 -0
- data/rbi/stripe/services/account_session_service.rbi +646 -0
- data/rbi/stripe/services/apple_pay_domain_service.rbi +76 -0
- data/rbi/stripe/services/application_fee_refund_service.rbi +93 -0
- data/rbi/stripe/services/application_fee_service.rbi +78 -0
- data/rbi/stripe/services/apps/secret_service.rbi +151 -0
- data/rbi/stripe/services/apps_service.rbi +9 -0
- data/rbi/stripe/services/balance_service.rbi +21 -0
- data/rbi/stripe/services/balance_transaction_service.rbi +93 -0
- data/rbi/stripe/services/billing/alert_service.rbi +152 -0
- data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +68 -0
- data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +59 -0
- data/rbi/stripe/services/billing/credit_grant_service.rbi +211 -0
- data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +42 -0
- data/rbi/stripe/services/billing/meter_event_service.rbi +42 -0
- data/rbi/stripe/services/billing/meter_event_summary_service.rbi +54 -0
- data/rbi/stripe/services/billing/meter_service.rbi +163 -0
- data/rbi/stripe/services/billing_portal/configuration_service.rbi +511 -0
- data/rbi/stripe/services/billing_portal/session_service.rbi +204 -0
- data/rbi/stripe/services/billing_portal_service.rbi +10 -0
- data/rbi/stripe/services/billing_service.rbi +15 -0
- data/rbi/stripe/services/charge_service.rbi +448 -0
- data/rbi/stripe/services/checkout/session_line_item_service.rbi +33 -0
- data/rbi/stripe/services/checkout/session_service.rbi +2614 -0
- data/rbi/stripe/services/checkout_service.rbi +9 -0
- data/rbi/stripe/services/climate/order_service.rbi +142 -0
- data/rbi/stripe/services/climate/product_service.rbi +46 -0
- data/{lib/stripe/services/financial_connections/institution_service.rb → rbi/stripe/services/climate/supplier_service.rbi} +25 -36
- data/rbi/stripe/services/climate_service.rbi +11 -0
- data/rbi/stripe/services/confirmation_token_service.rbi +20 -0
- data/rbi/stripe/services/country_spec_service.rbi +44 -0
- data/rbi/stripe/services/coupon_service.rbi +194 -0
- data/{lib/stripe/services/quote_preview_invoice_service.rb → rbi/stripe/services/credit_note_line_item_service.rbi} +16 -20
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +167 -0
- data/rbi/stripe/services/credit_note_service.rbi +415 -0
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +92 -0
- data/rbi/stripe/services/customer_cash_balance_service.rbi +45 -0
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +44 -0
- data/rbi/stripe/services/customer_funding_instructions_service.rbi +59 -0
- data/rbi/stripe/services/customer_payment_method_service.rbi +57 -0
- data/rbi/stripe/services/customer_payment_source_service.rbi +232 -0
- data/rbi/stripe/services/customer_service.rbi +647 -0
- data/rbi/stripe/services/customer_session_service.rbi +116 -0
- data/rbi/stripe/services/customer_tax_id_service.rbi +70 -0
- data/rbi/stripe/services/dispute_service.rbi +424 -0
- data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +55 -0
- data/rbi/stripe/services/entitlements/feature_service.rbi +107 -0
- data/rbi/stripe/services/entitlements_service.rbi +10 -0
- data/rbi/stripe/services/ephemeral_key_service.rbi +53 -0
- data/rbi/stripe/services/event_service.rbi +83 -0
- data/rbi/stripe/services/exchange_rate_service.rbi +44 -0
- data/rbi/stripe/services/file_link_service.rbi +124 -0
- data/rbi/stripe/services/file_service.rbi +116 -0
- data/rbi/stripe/services/financial_connections/account_owner_service.rbi +42 -0
- data/rbi/stripe/services/financial_connections/account_service.rbi +133 -0
- data/rbi/stripe/services/financial_connections/session_service.rbi +88 -0
- data/rbi/stripe/services/financial_connections/transaction_service.rbi +92 -0
- data/rbi/stripe/services/financial_connections_service.rbi +11 -0
- data/rbi/stripe/services/forwarding/request_service.rbi +134 -0
- data/rbi/stripe/services/forwarding_service.rbi +9 -0
- data/rbi/stripe/services/identity/verification_report_service.rbi +87 -0
- data/rbi/stripe/services/identity/verification_session_service.rbi +323 -0
- data/rbi/stripe/services/identity_service.rbi +10 -0
- data/rbi/stripe/services/invoice_item_service.rbi +366 -0
- data/rbi/stripe/services/invoice_line_item_service.rbi +259 -0
- data/rbi/stripe/services/invoice_payment_service.rbi +71 -0
- data/rbi/stripe/services/invoice_rendering_template_service.rbi +82 -0
- data/rbi/stripe/services/invoice_service.rbi +2981 -0
- data/rbi/stripe/services/issuing/authorization_service.rbi +146 -0
- data/rbi/stripe/services/issuing/card_service.rbi +495 -0
- data/rbi/stripe/services/issuing/cardholder_service.rbi +587 -0
- data/rbi/stripe/services/issuing/dispute_service.rbi +707 -0
- data/rbi/stripe/services/issuing/personalization_design_service.rbi +243 -0
- data/rbi/stripe/services/issuing/physical_bundle_service.rbi +59 -0
- data/rbi/stripe/services/issuing/token_service.rbi +99 -0
- data/rbi/stripe/services/issuing/transaction_service.rbi +105 -0
- data/rbi/stripe/services/issuing_service.rbi +16 -0
- data/rbi/stripe/services/mandate_service.rbi +20 -0
- data/rbi/stripe/services/payment_intent_service.rbi +7659 -0
- data/{lib/stripe/services/payment_intent_amount_details_line_item_service.rb → rbi/stripe/services/payment_link_line_item_service.rbi} +16 -20
- data/rbi/stripe/services/payment_link_service.rbi +1352 -0
- data/rbi/stripe/services/payment_method_configuration_service.rbi +2487 -0
- data/rbi/stripe/services/payment_method_domain_service.rbi +112 -0
- data/rbi/stripe/services/payment_method_service.rbi +776 -0
- data/rbi/stripe/services/payout_service.rbi +205 -0
- data/rbi/stripe/services/plan_service.rbi +282 -0
- data/rbi/stripe/services/price_service.rbi +546 -0
- data/rbi/stripe/services/product_feature_service.rbi +67 -0
- data/rbi/stripe/services/product_service.rbi +477 -0
- data/rbi/stripe/services/promotion_code_service.rbi +214 -0
- data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +31 -0
- data/{lib/stripe/services/order_line_item_service.rb → rbi/stripe/services/quote_line_item_service.rbi} +16 -20
- data/rbi/stripe/services/quote_service.rbi +686 -0
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +85 -0
- data/rbi/stripe/services/radar/value_list_item_service.rbi +109 -0
- data/rbi/stripe/services/radar/value_list_service.rbi +141 -0
- data/rbi/stripe/services/radar_service.rbi +11 -0
- data/rbi/stripe/services/refund_service.rbi +185 -0
- data/rbi/stripe/services/reporting/report_run_service.rbi +135 -0
- data/rbi/stripe/services/reporting/report_type_service.rbi +35 -0
- data/rbi/stripe/services/reporting_service.rbi +10 -0
- data/rbi/stripe/services/review_service.rbi +84 -0
- data/rbi/stripe/services/setup_attempt_service.rbi +65 -0
- data/rbi/stripe/services/setup_intent_service.rbi +3391 -0
- data/rbi/stripe/services/shipping_rate_service.rbi +241 -0
- data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +46 -0
- data/rbi/stripe/services/sigma_service.rbi +9 -0
- data/rbi/stripe/services/source_service.rbi +663 -0
- data/{lib/stripe/services/quote_line_service.rb → rbi/stripe/services/source_transaction_service.rbi} +16 -20
- data/rbi/stripe/services/subscription_item_service.rbi +350 -0
- data/rbi/stripe/services/subscription_schedule_service.rbi +1290 -0
- data/rbi/stripe/services/subscription_service.rbi +1648 -0
- data/{lib/stripe/services/financial_connections/account_inferred_balance_service.rb → rbi/stripe/services/tax/calculation_line_item_service.rbi} +17 -21
- data/rbi/stripe/services/tax/calculation_service.rbi +234 -0
- data/rbi/stripe/services/tax/registration_service.rbi +1845 -0
- data/rbi/stripe/services/tax/settings_service.rbi +93 -0
- data/{lib/stripe/services/privacy/redaction_job_validation_error_service.rb → rbi/stripe/services/tax/transaction_line_item_service.rbi} +17 -21
- data/rbi/stripe/services/tax/transaction_service.rbi +146 -0
- data/rbi/stripe/services/tax_code_service.rbi +44 -0
- data/rbi/stripe/services/tax_id_service.rbi +110 -0
- data/rbi/stripe/services/tax_rate_service.rbi +185 -0
- data/rbi/stripe/services/tax_service.rbi +12 -0
- data/rbi/stripe/services/terminal/configuration_service.rbi +1118 -0
- data/rbi/stripe/services/terminal/connection_token_service.rbi +25 -0
- data/rbi/stripe/services/terminal/location_service.rbi +182 -0
- data/rbi/stripe/services/terminal/reader_service.rbi +455 -0
- data/rbi/stripe/services/terminal_service.rbi +12 -0
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +739 -0
- data/rbi/stripe/services/test_helpers/customer_service.rbi +33 -0
- data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +848 -0
- data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +76 -0
- data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +69 -0
- data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +711 -0
- data/rbi/stripe/services/test_helpers/issuing_service.rbi +14 -0
- data/rbi/stripe/services/test_helpers/refund_service.rbi +22 -0
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +93 -0
- data/rbi/stripe/services/test_helpers/terminal_service.rbi +11 -0
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +90 -0
- data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +64 -0
- data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +125 -0
- data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +125 -0
- data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +87 -0
- data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +87 -0
- data/rbi/stripe/services/test_helpers/treasury_service.rbi +15 -0
- data/rbi/stripe/services/test_helpers_service.rbi +15 -0
- data/rbi/stripe/services/token_service.rbi +1257 -0
- data/rbi/stripe/services/topup_service.rbi +176 -0
- data/rbi/stripe/services/transfer_reversal_service.rbi +101 -0
- data/rbi/stripe/services/transfer_service.rbi +152 -0
- data/rbi/stripe/services/treasury/credit_reversal_service.rbi +84 -0
- data/rbi/stripe/services/treasury/debit_reversal_service.rbi +88 -0
- data/rbi/stripe/services/treasury/financial_account_features_service.rbi +198 -0
- data/rbi/stripe/services/treasury/financial_account_service.rbi +562 -0
- data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +117 -0
- data/rbi/stripe/services/treasury/outbound_payment_service.rbi +304 -0
- data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +157 -0
- data/rbi/stripe/services/treasury/received_credit_service.rbi +72 -0
- data/rbi/stripe/services/treasury/received_debit_service.rbi +59 -0
- data/rbi/stripe/services/treasury/transaction_entry_service.rbi +111 -0
- data/rbi/stripe/services/treasury/transaction_service.rbi +122 -0
- data/rbi/stripe/services/treasury_service.rbi +18 -0
- data/rbi/stripe/services/v1_services.rbi +77 -0
- data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +39 -0
- data/rbi/stripe/services/v2/billing/meter_event_service.rbi +42 -0
- data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +18 -0
- data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +55 -0
- data/rbi/stripe/services/v2/billing_service.rbi +14 -0
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +192 -0
- data/rbi/stripe/services/v2/core/event_service.rbi +36 -0
- data/rbi/stripe/services/v2/core_service.rbi +12 -0
- data/rbi/stripe/services/v2_services.rbi +10 -0
- data/rbi/stripe/services/webhook_endpoint_service.rbi +129 -0
- data/stripe.gemspec +1 -4
- metadata +326 -158
- data/lib/stripe/events/v2_core_account_closed_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_created_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_link_completed_event.rb +0 -13
- data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_updated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -23
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -23
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -21
- data/lib/stripe/resources/account_notice.rb +0 -123
- data/lib/stripe/resources/balance_settings.rb +0 -105
- data/lib/stripe/resources/billing/meter_error_report.rb +0 -59
- data/lib/stripe/resources/capital/financing_offer.rb +0 -179
- data/lib/stripe/resources/capital/financing_summary.rb +0 -55
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -114
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
- data/lib/stripe/resources/financial_connections/institution.rb +0 -90
- data/lib/stripe/resources/fx_quote.rb +0 -184
- data/lib/stripe/resources/gift_cards/card.rb +0 -208
- data/lib/stripe/resources/gift_cards/transaction.rb +0 -272
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -602
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -82
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -86
- data/lib/stripe/resources/issuing/settlement.rb +0 -53
- data/lib/stripe/resources/margin.rb +0 -115
- data/lib/stripe/resources/order.rb +0 -2859
- data/lib/stripe/resources/payment_attempt_record.rb +0 -1078
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -65
- data/lib/stripe/resources/payment_record.rb +0 -1607
- data/lib/stripe/resources/privacy/redaction_job.rb +0 -275
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -25
- data/lib/stripe/resources/quote_line.rb +0 -274
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -663
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -339
- data/lib/stripe/resources/tax/association.rb +0 -89
- data/lib/stripe/resources/tax/form.rb +0 -211
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -31
- data/lib/stripe/resources/v2/core/account.rb +0 -1746
- data/lib/stripe/resources/v2/core/account_link.rb +0 -56
- data/lib/stripe/resources/v2/core/person.rb +0 -276
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -74
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -39
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -20
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -22
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -51
- data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -58
- data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -68
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -94
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -129
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -82
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -45
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -117
- data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -75
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -49
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -136
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -108
- data/lib/stripe/resources/v2/money_management/transaction.rb +0 -78
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -68
- data/lib/stripe/services/account_notice_service.rb +0 -101
- data/lib/stripe/services/balance_settings_service.rb +0 -96
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
- data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
- data/lib/stripe/services/capital_service.rb +0 -15
- data/lib/stripe/services/fx_quote_service.rb +0 -123
- data/lib/stripe/services/gift_cards/card_service.rb +0 -170
- data/lib/stripe/services/gift_cards/transaction_service.rb +0 -209
- data/lib/stripe/services/gift_cards_service.rb +0 -14
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
- data/lib/stripe/services/margin_service.rb +0 -119
- data/lib/stripe/services/order_service.rb +0 -2268
- data/lib/stripe/services/payment_attempt_record_service.rb +0 -49
- data/lib/stripe/services/payment_record_service.rb +0 -542
- data/lib/stripe/services/privacy/redaction_job_service.rb +0 -231
- data/lib/stripe/services/privacy_service.rb +0 -13
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -35
- data/lib/stripe/services/tax/association_service.rb +0 -31
- data/lib/stripe/services/tax/form_service.rb +0 -100
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
- data/lib/stripe/services/v2/core/account_link_service.rb +0 -76
- data/lib/stripe/services/v2/core/account_service.rb +0 -4138
- data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -1048
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -135
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -109
- data/lib/stripe/services/v2/core/vault_service.rb +0 -18
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -75
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -44
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -81
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -126
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -96
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -202
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -237
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -174
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -95
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -71
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -44
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -70
- data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -74
- data/lib/stripe/services/v2/money_management_service.rb +0 -31
- data/lib/stripe/services/v2/test_helper_service.rb +0 -15
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -50
- data/rbi/stripe.rbi +0 -191867
@@ -6,14 +6,14 @@ module Stripe
|
|
6
6
|
# properties on the account like its current requirements or if the account is
|
7
7
|
# enabled to make live charges or receive payouts.
|
8
8
|
#
|
9
|
-
# For accounts where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection)
|
9
|
+
# For accounts where [controller.requirement_collection](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection)
|
10
10
|
# is `application`, which includes Custom accounts, the properties below are always
|
11
11
|
# returned.
|
12
12
|
#
|
13
|
-
# For accounts where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection)
|
13
|
+
# For accounts where [controller.requirement_collection](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection)
|
14
14
|
# is `stripe`, which includes Standard and Express accounts, some properties are only returned
|
15
|
-
# until you create an [Account Link](https://stripe.com/api/account_links) or [Account Session](https://stripe.com/api/account_sessions)
|
16
|
-
# to start Connect Onboarding. Learn about the [differences between accounts](https://stripe.com/connect/accounts).
|
15
|
+
# until you create an [Account Link](https://docs.stripe.com/api/account_links) or [Account Session](https://docs.stripe.com/api/account_sessions)
|
16
|
+
# to start Connect Onboarding. Learn about the [differences between accounts](https://docs.stripe.com/connect/accounts).
|
17
17
|
class Account < APIResource
|
18
18
|
extend Stripe::APIOperations::Create
|
19
19
|
include Stripe::APIOperations::Delete
|
@@ -104,8 +104,6 @@ module Stripe
|
|
104
104
|
attr_reader :amazon_pay_payments
|
105
105
|
# 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
106
|
attr_reader :au_becs_debit_payments
|
107
|
-
# The status of the automatic_indirect_tax capability of the account.
|
108
|
-
attr_reader :automatic_indirect_tax
|
109
107
|
# The status of the Bacs Direct Debits payments capability of the account, or whether the account can directly process Bacs Direct Debits charges.
|
110
108
|
attr_reader :bacs_debit_payments
|
111
109
|
# The status of the Bancontact payments capability of the account, or whether the account can directly process Bancontact charges.
|
@@ -134,14 +132,8 @@ module Stripe
|
|
134
132
|
attr_reader :gb_bank_transfer_payments
|
135
133
|
# The status of the giropay payments capability of the account, or whether the account can directly process giropay charges.
|
136
134
|
attr_reader :giropay_payments
|
137
|
-
# The status of the Gopay capability of the account, or whether the account can directly process Gopay payments.
|
138
|
-
attr_reader :gopay_payments
|
139
135
|
# The status of the GrabPay payments capability of the account, or whether the account can directly process GrabPay charges.
|
140
136
|
attr_reader :grabpay_payments
|
141
|
-
# The status of the Indonesia Bank Transfer payments capability of the account, or whether the account can directly process Indonesia Bank Transfer charges.
|
142
|
-
attr_reader :id_bank_transfer_payments
|
143
|
-
# The status of Bank BCA onboarding of the account.
|
144
|
-
attr_reader :id_bank_transfer_payments_bca
|
145
137
|
# The status of the iDEAL payments capability of the account, or whether the account can directly process iDEAL charges.
|
146
138
|
attr_reader :ideal_payments
|
147
139
|
# The status of the india_international_payments capability of the account, or whether the account can process international charges (non INR) in India.
|
@@ -162,8 +154,6 @@ module Stripe
|
|
162
154
|
attr_reader :legacy_payments
|
163
155
|
# The status of the link_payments capability of the account, or whether the account can directly process Link charges.
|
164
156
|
attr_reader :link_payments
|
165
|
-
# The status of the MB WAY payments capability of the account, or whether the account can directly process MB WAY charges.
|
166
|
-
attr_reader :mb_way_payments
|
167
157
|
# The status of the MobilePay capability of the account, or whether the account can directly process MobilePay charges.
|
168
158
|
attr_reader :mobilepay_payments
|
169
159
|
# The status of the Multibanco payments capability of the account, or whether the account can directly process Multibanco charges.
|
@@ -184,16 +174,10 @@ module Stripe
|
|
184
174
|
attr_reader :payco_payments
|
185
175
|
# The status of the paynow payments capability of the account, or whether the account can directly process paynow charges.
|
186
176
|
attr_reader :paynow_payments
|
187
|
-
# The status of the
|
188
|
-
attr_reader :
|
189
|
-
# The status of the PayTo capability of the account, or whether the account can directly process PayTo charges.
|
190
|
-
attr_reader :payto_payments
|
177
|
+
# The status of the pix payments capability of the account, or whether the account can directly process pix charges.
|
178
|
+
attr_reader :pix_payments
|
191
179
|
# The status of the promptpay payments capability of the account, or whether the account can directly process promptpay charges.
|
192
180
|
attr_reader :promptpay_payments
|
193
|
-
# The status of the Qris capability of the account, or whether the account can directly process Qris payments.
|
194
|
-
attr_reader :qris_payments
|
195
|
-
# The status of the Rechnung capability of the account, or whether the account can directly process Rechnung payments.
|
196
|
-
attr_reader :rechnung_payments
|
197
181
|
# The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
|
198
182
|
attr_reader :revolut_pay_payments
|
199
183
|
# The status of the SamsungPay capability of the account, or whether the account can directly process SamsungPay payments.
|
@@ -204,12 +188,8 @@ module Stripe
|
|
204
188
|
attr_reader :sepa_bank_transfer_payments
|
205
189
|
# The status of the SEPA Direct Debits payments capability of the account, or whether the account can directly process SEPA Direct Debits charges.
|
206
190
|
attr_reader :sepa_debit_payments
|
207
|
-
# The status of the ShopeePay capability of the account, or whether the account can directly process ShopeePay payments.
|
208
|
-
attr_reader :shopeepay_payments
|
209
191
|
# The status of the Sofort payments capability of the account, or whether the account can directly process Sofort charges.
|
210
192
|
attr_reader :sofort_payments
|
211
|
-
# The status of the stripe_balance payments capability of the account, or whether the account can directly process stripe_balance charges.
|
212
|
-
attr_reader :stripe_balance_payments
|
213
193
|
# The status of the Swish capability of the account, or whether the account can directly process Swish payments.
|
214
194
|
attr_reader :swish_payments
|
215
195
|
# The status of the tax reporting 1099-K (US) capability of the account.
|
@@ -220,12 +200,6 @@ module Stripe
|
|
220
200
|
attr_reader :transfers
|
221
201
|
# The status of the banking capability, or whether the account can have bank accounts.
|
222
202
|
attr_reader :treasury
|
223
|
-
# The status of the treasury_evolve capability of the account.
|
224
|
-
attr_reader :treasury_evolve
|
225
|
-
# The status of the treasury_fifth_third capability of the account.
|
226
|
-
attr_reader :treasury_fifth_third
|
227
|
-
# The status of the treasury_goldman_sachs capability of the account.
|
228
|
-
attr_reader :treasury_goldman_sachs
|
229
203
|
# The status of the TWINT capability of the account, or whether the account can directly process TWINT charges.
|
230
204
|
attr_reader :twint_payments
|
231
205
|
# The status of the US bank account ACH payments capability of the account, or whether the account can directly process US bank account charges.
|
@@ -372,20 +346,6 @@ module Stripe
|
|
372
346
|
end
|
373
347
|
|
374
348
|
class Controller < Stripe::StripeObject
|
375
|
-
class Application < Stripe::StripeObject
|
376
|
-
# `true` if the Connect application is responsible for negative balances and should manage credit and fraud risk on the account.
|
377
|
-
attr_reader :loss_liable
|
378
|
-
# `true` if the Connect application is responsible for onboarding the account.
|
379
|
-
attr_reader :onboarding_owner
|
380
|
-
# `true` if the Connect application is responsible for paying Stripe fees on pricing-control eligible products.
|
381
|
-
attr_reader :pricing_controls
|
382
|
-
end
|
383
|
-
|
384
|
-
class Dashboard < Stripe::StripeObject
|
385
|
-
# Whether this account has access to the full Stripe dashboard (`full`), to the Express dashboard (`express`), or to no dashboard (`none`).
|
386
|
-
attr_reader :type
|
387
|
-
end
|
388
|
-
|
389
349
|
class Fees < Stripe::StripeObject
|
390
350
|
# 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).
|
391
351
|
attr_reader :payer
|
@@ -400,10 +360,6 @@ module Stripe
|
|
400
360
|
# A value indicating the Stripe dashboard this account has access to independent of the Connect application.
|
401
361
|
attr_reader :type
|
402
362
|
end
|
403
|
-
# Attribute for field application
|
404
|
-
attr_reader :application
|
405
|
-
# Attribute for field dashboard
|
406
|
-
attr_reader :dashboard
|
407
363
|
# Attribute for field fees
|
408
364
|
attr_reader :fees
|
409
365
|
# `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.
|
@@ -491,24 +447,6 @@ module Stripe
|
|
491
447
|
attr_reader :pending_verification
|
492
448
|
end
|
493
449
|
|
494
|
-
class RiskControls < Stripe::StripeObject
|
495
|
-
class Charges < Stripe::StripeObject
|
496
|
-
# Whether a pause of the risk control has been requested.
|
497
|
-
attr_reader :pause_requested
|
498
|
-
end
|
499
|
-
|
500
|
-
class Payouts < Stripe::StripeObject
|
501
|
-
# Whether a pause of the risk control has been requested.
|
502
|
-
attr_reader :pause_requested
|
503
|
-
end
|
504
|
-
# Attribute for field charges
|
505
|
-
attr_reader :charges
|
506
|
-
# Attribute for field payouts
|
507
|
-
attr_reader :payouts
|
508
|
-
# 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/)
|
509
|
-
attr_reader :rejected_reason
|
510
|
-
end
|
511
|
-
|
512
450
|
class Settings < Stripe::StripeObject
|
513
451
|
class BacsDebitPayments < Stripe::StripeObject
|
514
452
|
# 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. The fee appears 5 business days after requesting Bacs. 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.
|
@@ -517,13 +455,6 @@ module Stripe
|
|
517
455
|
attr_reader :service_user_number
|
518
456
|
end
|
519
457
|
|
520
|
-
class BankBcaOnboarding < Stripe::StripeObject
|
521
|
-
# Bank BCA business account holder name.
|
522
|
-
attr_reader :account_holder_name
|
523
|
-
# Bank BCA business account number.
|
524
|
-
attr_reader :business_account_number
|
525
|
-
end
|
526
|
-
|
527
458
|
class Branding < Stripe::StripeObject
|
528
459
|
# (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.
|
529
460
|
attr_reader :icon
|
@@ -535,13 +466,6 @@ module Stripe
|
|
535
466
|
attr_reader :secondary_color
|
536
467
|
end
|
537
468
|
|
538
|
-
class Capital < Stripe::StripeObject
|
539
|
-
# Per-currency mapping of user-selected destination accounts used to pay out loans.
|
540
|
-
attr_reader :payout_destination
|
541
|
-
# Per-currency mapping of all destination accounts eligible to receive loan payouts.
|
542
|
-
attr_reader :payout_destination_selector
|
543
|
-
end
|
544
|
-
|
545
469
|
class CardIssuing < Stripe::StripeObject
|
546
470
|
class TosAcceptance < Stripe::StripeObject
|
547
471
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
@@ -623,11 +547,6 @@ module Stripe
|
|
623
547
|
attr_reader :creditor_id
|
624
548
|
end
|
625
549
|
|
626
|
-
class TaxForms < Stripe::StripeObject
|
627
|
-
# Whether the account opted out of receiving their tax forms by postal delivery.
|
628
|
-
attr_reader :consented_to_paperless_delivery
|
629
|
-
end
|
630
|
-
|
631
550
|
class Treasury < Stripe::StripeObject
|
632
551
|
class TosAcceptance < Stripe::StripeObject
|
633
552
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
@@ -642,12 +561,8 @@ module Stripe
|
|
642
561
|
end
|
643
562
|
# Attribute for field bacs_debit_payments
|
644
563
|
attr_reader :bacs_debit_payments
|
645
|
-
# Attribute for field bank_bca_onboarding
|
646
|
-
attr_reader :bank_bca_onboarding
|
647
564
|
# Attribute for field branding
|
648
565
|
attr_reader :branding
|
649
|
-
# Attribute for field capital
|
650
|
-
attr_reader :capital
|
651
566
|
# Attribute for field card_issuing
|
652
567
|
attr_reader :card_issuing
|
653
568
|
# Attribute for field card_payments
|
@@ -662,8 +577,6 @@ module Stripe
|
|
662
577
|
attr_reader :payouts
|
663
578
|
# Attribute for field sepa_debit_payments
|
664
579
|
attr_reader :sepa_debit_payments
|
665
|
-
# Attribute for field tax_forms
|
666
|
-
attr_reader :tax_forms
|
667
580
|
# Attribute for field treasury
|
668
581
|
attr_reader :treasury
|
669
582
|
end
|
@@ -679,8 +592,7 @@ module Stripe
|
|
679
592
|
attr_reader :user_agent
|
680
593
|
end
|
681
594
|
|
682
|
-
class DeleteParams < Stripe::RequestParams
|
683
|
-
end
|
595
|
+
class DeleteParams < Stripe::RequestParams; end
|
684
596
|
|
685
597
|
class UpdateParams < Stripe::RequestParams
|
686
598
|
class BankAccount < Stripe::RequestParams
|
@@ -885,15 +797,6 @@ module Stripe
|
|
885
797
|
end
|
886
798
|
end
|
887
799
|
|
888
|
-
class AutomaticIndirectTax < Stripe::RequestParams
|
889
|
-
# 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.
|
890
|
-
attr_accessor :requested
|
891
|
-
|
892
|
-
def initialize(requested: nil)
|
893
|
-
@requested = requested
|
894
|
-
end
|
895
|
-
end
|
896
|
-
|
897
800
|
class BacsDebitPayments < Stripe::RequestParams
|
898
801
|
# 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.
|
899
802
|
attr_accessor :requested
|
@@ -1020,15 +923,6 @@ module Stripe
|
|
1020
923
|
end
|
1021
924
|
end
|
1022
925
|
|
1023
|
-
class GopayPayments < Stripe::RequestParams
|
1024
|
-
# 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.
|
1025
|
-
attr_accessor :requested
|
1026
|
-
|
1027
|
-
def initialize(requested: nil)
|
1028
|
-
@requested = requested
|
1029
|
-
end
|
1030
|
-
end
|
1031
|
-
|
1032
926
|
class GrabpayPayments < Stripe::RequestParams
|
1033
927
|
# 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.
|
1034
928
|
attr_accessor :requested
|
@@ -1038,24 +932,6 @@ module Stripe
|
|
1038
932
|
end
|
1039
933
|
end
|
1040
934
|
|
1041
|
-
class IdBankTransferPayments < Stripe::RequestParams
|
1042
|
-
# 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.
|
1043
|
-
attr_accessor :requested
|
1044
|
-
|
1045
|
-
def initialize(requested: nil)
|
1046
|
-
@requested = requested
|
1047
|
-
end
|
1048
|
-
end
|
1049
|
-
|
1050
|
-
class IdBankTransferPaymentsBca < Stripe::RequestParams
|
1051
|
-
# 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.
|
1052
|
-
attr_accessor :requested
|
1053
|
-
|
1054
|
-
def initialize(requested: nil)
|
1055
|
-
@requested = requested
|
1056
|
-
end
|
1057
|
-
end
|
1058
|
-
|
1059
935
|
class IdealPayments < Stripe::RequestParams
|
1060
936
|
# 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.
|
1061
937
|
attr_accessor :requested
|
@@ -1146,15 +1022,6 @@ module Stripe
|
|
1146
1022
|
end
|
1147
1023
|
end
|
1148
1024
|
|
1149
|
-
class MbWayPayments < Stripe::RequestParams
|
1150
|
-
# 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.
|
1151
|
-
attr_accessor :requested
|
1152
|
-
|
1153
|
-
def initialize(requested: nil)
|
1154
|
-
@requested = requested
|
1155
|
-
end
|
1156
|
-
end
|
1157
|
-
|
1158
1025
|
class MobilepayPayments < Stripe::RequestParams
|
1159
1026
|
# 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.
|
1160
1027
|
attr_accessor :requested
|
@@ -1245,16 +1112,7 @@ module Stripe
|
|
1245
1112
|
end
|
1246
1113
|
end
|
1247
1114
|
|
1248
|
-
class
|
1249
|
-
# 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.
|
1250
|
-
attr_accessor :requested
|
1251
|
-
|
1252
|
-
def initialize(requested: nil)
|
1253
|
-
@requested = requested
|
1254
|
-
end
|
1255
|
-
end
|
1256
|
-
|
1257
|
-
class PaytoPayments < Stripe::RequestParams
|
1115
|
+
class PixPayments < Stripe::RequestParams
|
1258
1116
|
# 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.
|
1259
1117
|
attr_accessor :requested
|
1260
1118
|
|
@@ -1272,24 +1130,6 @@ module Stripe
|
|
1272
1130
|
end
|
1273
1131
|
end
|
1274
1132
|
|
1275
|
-
class QrisPayments < Stripe::RequestParams
|
1276
|
-
# 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.
|
1277
|
-
attr_accessor :requested
|
1278
|
-
|
1279
|
-
def initialize(requested: nil)
|
1280
|
-
@requested = requested
|
1281
|
-
end
|
1282
|
-
end
|
1283
|
-
|
1284
|
-
class RechnungPayments < Stripe::RequestParams
|
1285
|
-
# 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.
|
1286
|
-
attr_accessor :requested
|
1287
|
-
|
1288
|
-
def initialize(requested: nil)
|
1289
|
-
@requested = requested
|
1290
|
-
end
|
1291
|
-
end
|
1292
|
-
|
1293
1133
|
class RevolutPayPayments < Stripe::RequestParams
|
1294
1134
|
# 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.
|
1295
1135
|
attr_accessor :requested
|
@@ -1335,15 +1175,6 @@ module Stripe
|
|
1335
1175
|
end
|
1336
1176
|
end
|
1337
1177
|
|
1338
|
-
class ShopeepayPayments < Stripe::RequestParams
|
1339
|
-
# 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.
|
1340
|
-
attr_accessor :requested
|
1341
|
-
|
1342
|
-
def initialize(requested: nil)
|
1343
|
-
@requested = requested
|
1344
|
-
end
|
1345
|
-
end
|
1346
|
-
|
1347
1178
|
class SofortPayments < Stripe::RequestParams
|
1348
1179
|
# 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.
|
1349
1180
|
attr_accessor :requested
|
@@ -1353,15 +1184,6 @@ module Stripe
|
|
1353
1184
|
end
|
1354
1185
|
end
|
1355
1186
|
|
1356
|
-
class StripeBalancePayments < Stripe::RequestParams
|
1357
|
-
# 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.
|
1358
|
-
attr_accessor :requested
|
1359
|
-
|
1360
|
-
def initialize(requested: nil)
|
1361
|
-
@requested = requested
|
1362
|
-
end
|
1363
|
-
end
|
1364
|
-
|
1365
1187
|
class SwishPayments < Stripe::RequestParams
|
1366
1188
|
# 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.
|
1367
1189
|
attr_accessor :requested
|
@@ -1407,33 +1229,6 @@ module Stripe
|
|
1407
1229
|
end
|
1408
1230
|
end
|
1409
1231
|
|
1410
|
-
class TreasuryEvolve < Stripe::RequestParams
|
1411
|
-
# 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.
|
1412
|
-
attr_accessor :requested
|
1413
|
-
|
1414
|
-
def initialize(requested: nil)
|
1415
|
-
@requested = requested
|
1416
|
-
end
|
1417
|
-
end
|
1418
|
-
|
1419
|
-
class TreasuryFifthThird < Stripe::RequestParams
|
1420
|
-
# 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.
|
1421
|
-
attr_accessor :requested
|
1422
|
-
|
1423
|
-
def initialize(requested: nil)
|
1424
|
-
@requested = requested
|
1425
|
-
end
|
1426
|
-
end
|
1427
|
-
|
1428
|
-
class TreasuryGoldmanSachs < Stripe::RequestParams
|
1429
|
-
# 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.
|
1430
|
-
attr_accessor :requested
|
1431
|
-
|
1432
|
-
def initialize(requested: nil)
|
1433
|
-
@requested = requested
|
1434
|
-
end
|
1435
|
-
end
|
1436
|
-
|
1437
1232
|
class TwintPayments < Stripe::RequestParams
|
1438
1233
|
# 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.
|
1439
1234
|
attr_accessor :requested
|
@@ -1481,8 +1276,6 @@ module Stripe
|
|
1481
1276
|
attr_accessor :amazon_pay_payments
|
1482
1277
|
# The au_becs_debit_payments capability.
|
1483
1278
|
attr_accessor :au_becs_debit_payments
|
1484
|
-
# The automatic_indirect_tax capability.
|
1485
|
-
attr_accessor :automatic_indirect_tax
|
1486
1279
|
# The bacs_debit_payments capability.
|
1487
1280
|
attr_accessor :bacs_debit_payments
|
1488
1281
|
# The bancontact_payments capability.
|
@@ -1511,14 +1304,8 @@ module Stripe
|
|
1511
1304
|
attr_accessor :gb_bank_transfer_payments
|
1512
1305
|
# The giropay_payments capability.
|
1513
1306
|
attr_accessor :giropay_payments
|
1514
|
-
# The gopay_payments capability.
|
1515
|
-
attr_accessor :gopay_payments
|
1516
1307
|
# The grabpay_payments capability.
|
1517
1308
|
attr_accessor :grabpay_payments
|
1518
|
-
# The id_bank_transfer_payments capability.
|
1519
|
-
attr_accessor :id_bank_transfer_payments
|
1520
|
-
# The id_bank_transfer_payments_bca capability.
|
1521
|
-
attr_accessor :id_bank_transfer_payments_bca
|
1522
1309
|
# The ideal_payments capability.
|
1523
1310
|
attr_accessor :ideal_payments
|
1524
1311
|
# The india_international_payments capability.
|
@@ -1539,8 +1326,6 @@ module Stripe
|
|
1539
1326
|
attr_accessor :legacy_payments
|
1540
1327
|
# The link_payments capability.
|
1541
1328
|
attr_accessor :link_payments
|
1542
|
-
# The mb_way_payments capability.
|
1543
|
-
attr_accessor :mb_way_payments
|
1544
1329
|
# The mobilepay_payments capability.
|
1545
1330
|
attr_accessor :mobilepay_payments
|
1546
1331
|
# The multibanco_payments capability.
|
@@ -1561,16 +1346,10 @@ module Stripe
|
|
1561
1346
|
attr_accessor :payco_payments
|
1562
1347
|
# The paynow_payments capability.
|
1563
1348
|
attr_accessor :paynow_payments
|
1564
|
-
# The
|
1565
|
-
attr_accessor :
|
1566
|
-
# The payto_payments capability.
|
1567
|
-
attr_accessor :payto_payments
|
1349
|
+
# The pix_payments capability.
|
1350
|
+
attr_accessor :pix_payments
|
1568
1351
|
# The promptpay_payments capability.
|
1569
1352
|
attr_accessor :promptpay_payments
|
1570
|
-
# The qris_payments capability.
|
1571
|
-
attr_accessor :qris_payments
|
1572
|
-
# The rechnung_payments capability.
|
1573
|
-
attr_accessor :rechnung_payments
|
1574
1353
|
# The revolut_pay_payments capability.
|
1575
1354
|
attr_accessor :revolut_pay_payments
|
1576
1355
|
# The samsung_pay_payments capability.
|
@@ -1581,12 +1360,8 @@ module Stripe
|
|
1581
1360
|
attr_accessor :sepa_bank_transfer_payments
|
1582
1361
|
# The sepa_debit_payments capability.
|
1583
1362
|
attr_accessor :sepa_debit_payments
|
1584
|
-
# The shopeepay_payments capability.
|
1585
|
-
attr_accessor :shopeepay_payments
|
1586
1363
|
# The sofort_payments capability.
|
1587
1364
|
attr_accessor :sofort_payments
|
1588
|
-
# The stripe_balance_payments capability.
|
1589
|
-
attr_accessor :stripe_balance_payments
|
1590
1365
|
# The swish_payments capability.
|
1591
1366
|
attr_accessor :swish_payments
|
1592
1367
|
# The tax_reporting_us_1099_k capability.
|
@@ -1597,12 +1372,6 @@ module Stripe
|
|
1597
1372
|
attr_accessor :transfers
|
1598
1373
|
# The treasury capability.
|
1599
1374
|
attr_accessor :treasury
|
1600
|
-
# The treasury_evolve capability.
|
1601
|
-
attr_accessor :treasury_evolve
|
1602
|
-
# The treasury_fifth_third capability.
|
1603
|
-
attr_accessor :treasury_fifth_third
|
1604
|
-
# The treasury_goldman_sachs capability.
|
1605
|
-
attr_accessor :treasury_goldman_sachs
|
1606
1375
|
# The twint_payments capability.
|
1607
1376
|
attr_accessor :twint_payments
|
1608
1377
|
# The us_bank_account_ach_payments capability.
|
@@ -1619,7 +1388,6 @@ module Stripe
|
|
1619
1388
|
alma_payments: nil,
|
1620
1389
|
amazon_pay_payments: nil,
|
1621
1390
|
au_becs_debit_payments: nil,
|
1622
|
-
automatic_indirect_tax: nil,
|
1623
1391
|
bacs_debit_payments: nil,
|
1624
1392
|
bancontact_payments: nil,
|
1625
1393
|
bank_transfer_payments: nil,
|
@@ -1634,10 +1402,7 @@ module Stripe
|
|
1634
1402
|
fpx_payments: nil,
|
1635
1403
|
gb_bank_transfer_payments: nil,
|
1636
1404
|
giropay_payments: nil,
|
1637
|
-
gopay_payments: nil,
|
1638
1405
|
grabpay_payments: nil,
|
1639
|
-
id_bank_transfer_payments: nil,
|
1640
|
-
id_bank_transfer_payments_bca: nil,
|
1641
1406
|
ideal_payments: nil,
|
1642
1407
|
india_international_payments: nil,
|
1643
1408
|
jcb_payments: nil,
|
@@ -1648,7 +1413,6 @@ module Stripe
|
|
1648
1413
|
kr_card_payments: nil,
|
1649
1414
|
legacy_payments: nil,
|
1650
1415
|
link_payments: nil,
|
1651
|
-
mb_way_payments: nil,
|
1652
1416
|
mobilepay_payments: nil,
|
1653
1417
|
multibanco_payments: nil,
|
1654
1418
|
mx_bank_transfer_payments: nil,
|
@@ -1659,27 +1423,19 @@ module Stripe
|
|
1659
1423
|
pay_by_bank_payments: nil,
|
1660
1424
|
payco_payments: nil,
|
1661
1425
|
paynow_payments: nil,
|
1662
|
-
|
1663
|
-
payto_payments: nil,
|
1426
|
+
pix_payments: nil,
|
1664
1427
|
promptpay_payments: nil,
|
1665
|
-
qris_payments: nil,
|
1666
|
-
rechnung_payments: nil,
|
1667
1428
|
revolut_pay_payments: nil,
|
1668
1429
|
samsung_pay_payments: nil,
|
1669
1430
|
satispay_payments: nil,
|
1670
1431
|
sepa_bank_transfer_payments: nil,
|
1671
1432
|
sepa_debit_payments: nil,
|
1672
|
-
shopeepay_payments: nil,
|
1673
1433
|
sofort_payments: nil,
|
1674
|
-
stripe_balance_payments: nil,
|
1675
1434
|
swish_payments: nil,
|
1676
1435
|
tax_reporting_us_1099_k: nil,
|
1677
1436
|
tax_reporting_us_1099_misc: nil,
|
1678
1437
|
transfers: nil,
|
1679
1438
|
treasury: nil,
|
1680
|
-
treasury_evolve: nil,
|
1681
|
-
treasury_fifth_third: nil,
|
1682
|
-
treasury_goldman_sachs: nil,
|
1683
1439
|
twint_payments: nil,
|
1684
1440
|
us_bank_account_ach_payments: nil,
|
1685
1441
|
us_bank_transfer_payments: nil,
|
@@ -1691,7 +1447,6 @@ module Stripe
|
|
1691
1447
|
@alma_payments = alma_payments
|
1692
1448
|
@amazon_pay_payments = amazon_pay_payments
|
1693
1449
|
@au_becs_debit_payments = au_becs_debit_payments
|
1694
|
-
@automatic_indirect_tax = automatic_indirect_tax
|
1695
1450
|
@bacs_debit_payments = bacs_debit_payments
|
1696
1451
|
@bancontact_payments = bancontact_payments
|
1697
1452
|
@bank_transfer_payments = bank_transfer_payments
|
@@ -1706,10 +1461,7 @@ module Stripe
|
|
1706
1461
|
@fpx_payments = fpx_payments
|
1707
1462
|
@gb_bank_transfer_payments = gb_bank_transfer_payments
|
1708
1463
|
@giropay_payments = giropay_payments
|
1709
|
-
@gopay_payments = gopay_payments
|
1710
1464
|
@grabpay_payments = grabpay_payments
|
1711
|
-
@id_bank_transfer_payments = id_bank_transfer_payments
|
1712
|
-
@id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
|
1713
1465
|
@ideal_payments = ideal_payments
|
1714
1466
|
@india_international_payments = india_international_payments
|
1715
1467
|
@jcb_payments = jcb_payments
|
@@ -1720,7 +1472,6 @@ module Stripe
|
|
1720
1472
|
@kr_card_payments = kr_card_payments
|
1721
1473
|
@legacy_payments = legacy_payments
|
1722
1474
|
@link_payments = link_payments
|
1723
|
-
@mb_way_payments = mb_way_payments
|
1724
1475
|
@mobilepay_payments = mobilepay_payments
|
1725
1476
|
@multibanco_payments = multibanco_payments
|
1726
1477
|
@mx_bank_transfer_payments = mx_bank_transfer_payments
|
@@ -1731,27 +1482,19 @@ module Stripe
|
|
1731
1482
|
@pay_by_bank_payments = pay_by_bank_payments
|
1732
1483
|
@payco_payments = payco_payments
|
1733
1484
|
@paynow_payments = paynow_payments
|
1734
|
-
@
|
1735
|
-
@payto_payments = payto_payments
|
1485
|
+
@pix_payments = pix_payments
|
1736
1486
|
@promptpay_payments = promptpay_payments
|
1737
|
-
@qris_payments = qris_payments
|
1738
|
-
@rechnung_payments = rechnung_payments
|
1739
1487
|
@revolut_pay_payments = revolut_pay_payments
|
1740
1488
|
@samsung_pay_payments = samsung_pay_payments
|
1741
1489
|
@satispay_payments = satispay_payments
|
1742
1490
|
@sepa_bank_transfer_payments = sepa_bank_transfer_payments
|
1743
1491
|
@sepa_debit_payments = sepa_debit_payments
|
1744
|
-
@shopeepay_payments = shopeepay_payments
|
1745
1492
|
@sofort_payments = sofort_payments
|
1746
|
-
@stripe_balance_payments = stripe_balance_payments
|
1747
1493
|
@swish_payments = swish_payments
|
1748
1494
|
@tax_reporting_us_1099_k = tax_reporting_us_1099_k
|
1749
1495
|
@tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
|
1750
1496
|
@transfers = transfers
|
1751
1497
|
@treasury = treasury
|
1752
|
-
@treasury_evolve = treasury_evolve
|
1753
|
-
@treasury_fifth_third = treasury_fifth_third
|
1754
|
-
@treasury_goldman_sachs = treasury_goldman_sachs
|
1755
1498
|
@twint_payments = twint_payments
|
1756
1499
|
@us_bank_account_ach_payments = us_bank_account_ach_payments
|
1757
1500
|
@us_bank_transfer_payments = us_bank_transfer_payments
|
@@ -2527,37 +2270,6 @@ module Stripe
|
|
2527
2270
|
end
|
2528
2271
|
end
|
2529
2272
|
|
2530
|
-
class RiskControls < Stripe::RequestParams
|
2531
|
-
class Charges < Stripe::RequestParams
|
2532
|
-
# To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
2533
|
-
# There can be a delay before the risk control is paused or unpaused.
|
2534
|
-
attr_accessor :pause_requested
|
2535
|
-
|
2536
|
-
def initialize(pause_requested: nil)
|
2537
|
-
@pause_requested = pause_requested
|
2538
|
-
end
|
2539
|
-
end
|
2540
|
-
|
2541
|
-
class Payouts < Stripe::RequestParams
|
2542
|
-
# To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
2543
|
-
# There can be a delay before the risk control is paused or unpaused.
|
2544
|
-
attr_accessor :pause_requested
|
2545
|
-
|
2546
|
-
def initialize(pause_requested: nil)
|
2547
|
-
@pause_requested = pause_requested
|
2548
|
-
end
|
2549
|
-
end
|
2550
|
-
# 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).
|
2551
|
-
attr_accessor :charges
|
2552
|
-
# 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).
|
2553
|
-
attr_accessor :payouts
|
2554
|
-
|
2555
|
-
def initialize(charges: nil, payouts: nil)
|
2556
|
-
@charges = charges
|
2557
|
-
@payouts = payouts
|
2558
|
-
end
|
2559
|
-
end
|
2560
|
-
|
2561
2273
|
class Settings < Stripe::RequestParams
|
2562
2274
|
class BacsDebitPayments < Stripe::RequestParams
|
2563
2275
|
# 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.
|
@@ -2568,18 +2280,6 @@ module Stripe
|
|
2568
2280
|
end
|
2569
2281
|
end
|
2570
2282
|
|
2571
|
-
class BankBcaOnboarding < Stripe::RequestParams
|
2572
|
-
# Bank BCA business account holder name
|
2573
|
-
attr_accessor :account_holder_name
|
2574
|
-
# Bank BCA business account number
|
2575
|
-
attr_accessor :business_account_number
|
2576
|
-
|
2577
|
-
def initialize(account_holder_name: nil, business_account_number: nil)
|
2578
|
-
@account_holder_name = account_holder_name
|
2579
|
-
@business_account_number = business_account_number
|
2580
|
-
end
|
2581
|
-
end
|
2582
|
-
|
2583
2283
|
class Branding < Stripe::RequestParams
|
2584
2284
|
# (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.
|
2585
2285
|
attr_accessor :icon
|
@@ -2598,18 +2298,6 @@ module Stripe
|
|
2598
2298
|
end
|
2599
2299
|
end
|
2600
2300
|
|
2601
|
-
class Capital < Stripe::RequestParams
|
2602
|
-
# Per-currency mapping of user-selected destination accounts used to pay out loans.
|
2603
|
-
attr_accessor :payout_destination
|
2604
|
-
# Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
2605
|
-
attr_accessor :payout_destination_selector
|
2606
|
-
|
2607
|
-
def initialize(payout_destination: nil, payout_destination_selector: nil)
|
2608
|
-
@payout_destination = payout_destination
|
2609
|
-
@payout_destination_selector = payout_destination_selector
|
2610
|
-
end
|
2611
|
-
end
|
2612
|
-
|
2613
2301
|
class CardIssuing < Stripe::RequestParams
|
2614
2302
|
class TosAcceptance < Stripe::RequestParams
|
2615
2303
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
@@ -2730,15 +2418,6 @@ module Stripe
|
|
2730
2418
|
end
|
2731
2419
|
end
|
2732
2420
|
|
2733
|
-
class TaxForms < Stripe::RequestParams
|
2734
|
-
# Whether the account opted out of receiving their tax forms by postal delivery.
|
2735
|
-
attr_accessor :consented_to_paperless_delivery
|
2736
|
-
|
2737
|
-
def initialize(consented_to_paperless_delivery: nil)
|
2738
|
-
@consented_to_paperless_delivery = consented_to_paperless_delivery
|
2739
|
-
end
|
2740
|
-
end
|
2741
|
-
|
2742
2421
|
class Treasury < Stripe::RequestParams
|
2743
2422
|
class TosAcceptance < Stripe::RequestParams
|
2744
2423
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
@@ -2763,12 +2442,8 @@ module Stripe
|
|
2763
2442
|
end
|
2764
2443
|
# Settings specific to Bacs Direct Debit payments.
|
2765
2444
|
attr_accessor :bacs_debit_payments
|
2766
|
-
# Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
2767
|
-
attr_accessor :bank_bca_onboarding
|
2768
2445
|
# Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
2769
2446
|
attr_accessor :branding
|
2770
|
-
# Settings specific to the account's use of the Capital product.
|
2771
|
-
attr_accessor :capital
|
2772
2447
|
# Settings specific to the account's use of the Card Issuing product.
|
2773
2448
|
attr_accessor :card_issuing
|
2774
2449
|
# Settings specific to card charging on the account.
|
@@ -2779,34 +2454,26 @@ module Stripe
|
|
2779
2454
|
attr_accessor :payments
|
2780
2455
|
# Settings specific to the account's payouts.
|
2781
2456
|
attr_accessor :payouts
|
2782
|
-
# Settings specific to the account's tax forms.
|
2783
|
-
attr_accessor :tax_forms
|
2784
2457
|
# Settings specific to the account's Treasury FinancialAccounts.
|
2785
2458
|
attr_accessor :treasury
|
2786
2459
|
|
2787
2460
|
def initialize(
|
2788
2461
|
bacs_debit_payments: nil,
|
2789
|
-
bank_bca_onboarding: nil,
|
2790
2462
|
branding: nil,
|
2791
|
-
capital: nil,
|
2792
2463
|
card_issuing: nil,
|
2793
2464
|
card_payments: nil,
|
2794
2465
|
invoices: nil,
|
2795
2466
|
payments: nil,
|
2796
2467
|
payouts: nil,
|
2797
|
-
tax_forms: nil,
|
2798
2468
|
treasury: nil
|
2799
2469
|
)
|
2800
2470
|
@bacs_debit_payments = bacs_debit_payments
|
2801
|
-
@bank_bca_onboarding = bank_bca_onboarding
|
2802
2471
|
@branding = branding
|
2803
|
-
@capital = capital
|
2804
2472
|
@card_issuing = card_issuing
|
2805
2473
|
@card_payments = card_payments
|
2806
2474
|
@invoices = invoices
|
2807
2475
|
@payments = payments
|
2808
2476
|
@payouts = payouts
|
2809
|
-
@tax_forms = tax_forms
|
2810
2477
|
@treasury = treasury
|
2811
2478
|
end
|
2812
2479
|
end
|
@@ -2861,8 +2528,6 @@ module Stripe
|
|
2861
2528
|
attr_accessor :individual
|
2862
2529
|
# 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`.
|
2863
2530
|
attr_accessor :metadata
|
2864
|
-
# A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
|
2865
|
-
attr_accessor :risk_controls
|
2866
2531
|
# Options for customizing how the account functions within Stripe.
|
2867
2532
|
attr_accessor :settings
|
2868
2533
|
# 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.
|
@@ -2882,7 +2547,6 @@ module Stripe
|
|
2882
2547
|
groups: nil,
|
2883
2548
|
individual: nil,
|
2884
2549
|
metadata: nil,
|
2885
|
-
risk_controls: nil,
|
2886
2550
|
settings: nil,
|
2887
2551
|
tos_acceptance: nil
|
2888
2552
|
)
|
@@ -2899,7 +2563,6 @@ module Stripe
|
|
2899
2563
|
@groups = groups
|
2900
2564
|
@individual = individual
|
2901
2565
|
@metadata = metadata
|
2902
|
-
@risk_controls = risk_controls
|
2903
2566
|
@settings = settings
|
2904
2567
|
@tos_acceptance = tos_acceptance
|
2905
2568
|
end
|
@@ -3146,15 +2809,6 @@ module Stripe
|
|
3146
2809
|
end
|
3147
2810
|
end
|
3148
2811
|
|
3149
|
-
class AutomaticIndirectTax < Stripe::RequestParams
|
3150
|
-
# 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.
|
3151
|
-
attr_accessor :requested
|
3152
|
-
|
3153
|
-
def initialize(requested: nil)
|
3154
|
-
@requested = requested
|
3155
|
-
end
|
3156
|
-
end
|
3157
|
-
|
3158
2812
|
class BacsDebitPayments < Stripe::RequestParams
|
3159
2813
|
# 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.
|
3160
2814
|
attr_accessor :requested
|
@@ -3281,15 +2935,6 @@ module Stripe
|
|
3281
2935
|
end
|
3282
2936
|
end
|
3283
2937
|
|
3284
|
-
class GopayPayments < Stripe::RequestParams
|
3285
|
-
# 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.
|
3286
|
-
attr_accessor :requested
|
3287
|
-
|
3288
|
-
def initialize(requested: nil)
|
3289
|
-
@requested = requested
|
3290
|
-
end
|
3291
|
-
end
|
3292
|
-
|
3293
2938
|
class GrabpayPayments < Stripe::RequestParams
|
3294
2939
|
# 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.
|
3295
2940
|
attr_accessor :requested
|
@@ -3299,24 +2944,6 @@ module Stripe
|
|
3299
2944
|
end
|
3300
2945
|
end
|
3301
2946
|
|
3302
|
-
class IdBankTransferPayments < Stripe::RequestParams
|
3303
|
-
# 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.
|
3304
|
-
attr_accessor :requested
|
3305
|
-
|
3306
|
-
def initialize(requested: nil)
|
3307
|
-
@requested = requested
|
3308
|
-
end
|
3309
|
-
end
|
3310
|
-
|
3311
|
-
class IdBankTransferPaymentsBca < Stripe::RequestParams
|
3312
|
-
# 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.
|
3313
|
-
attr_accessor :requested
|
3314
|
-
|
3315
|
-
def initialize(requested: nil)
|
3316
|
-
@requested = requested
|
3317
|
-
end
|
3318
|
-
end
|
3319
|
-
|
3320
2947
|
class IdealPayments < Stripe::RequestParams
|
3321
2948
|
# 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.
|
3322
2949
|
attr_accessor :requested
|
@@ -3407,15 +3034,6 @@ module Stripe
|
|
3407
3034
|
end
|
3408
3035
|
end
|
3409
3036
|
|
3410
|
-
class MbWayPayments < Stripe::RequestParams
|
3411
|
-
# 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.
|
3412
|
-
attr_accessor :requested
|
3413
|
-
|
3414
|
-
def initialize(requested: nil)
|
3415
|
-
@requested = requested
|
3416
|
-
end
|
3417
|
-
end
|
3418
|
-
|
3419
3037
|
class MobilepayPayments < Stripe::RequestParams
|
3420
3038
|
# 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.
|
3421
3039
|
attr_accessor :requested
|
@@ -3506,16 +3124,7 @@ module Stripe
|
|
3506
3124
|
end
|
3507
3125
|
end
|
3508
3126
|
|
3509
|
-
class
|
3510
|
-
# 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.
|
3511
|
-
attr_accessor :requested
|
3512
|
-
|
3513
|
-
def initialize(requested: nil)
|
3514
|
-
@requested = requested
|
3515
|
-
end
|
3516
|
-
end
|
3517
|
-
|
3518
|
-
class PaytoPayments < Stripe::RequestParams
|
3127
|
+
class PixPayments < Stripe::RequestParams
|
3519
3128
|
# 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.
|
3520
3129
|
attr_accessor :requested
|
3521
3130
|
|
@@ -3533,24 +3142,6 @@ module Stripe
|
|
3533
3142
|
end
|
3534
3143
|
end
|
3535
3144
|
|
3536
|
-
class QrisPayments < Stripe::RequestParams
|
3537
|
-
# 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.
|
3538
|
-
attr_accessor :requested
|
3539
|
-
|
3540
|
-
def initialize(requested: nil)
|
3541
|
-
@requested = requested
|
3542
|
-
end
|
3543
|
-
end
|
3544
|
-
|
3545
|
-
class RechnungPayments < Stripe::RequestParams
|
3546
|
-
# 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.
|
3547
|
-
attr_accessor :requested
|
3548
|
-
|
3549
|
-
def initialize(requested: nil)
|
3550
|
-
@requested = requested
|
3551
|
-
end
|
3552
|
-
end
|
3553
|
-
|
3554
3145
|
class RevolutPayPayments < Stripe::RequestParams
|
3555
3146
|
# 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.
|
3556
3147
|
attr_accessor :requested
|
@@ -3596,15 +3187,6 @@ module Stripe
|
|
3596
3187
|
end
|
3597
3188
|
end
|
3598
3189
|
|
3599
|
-
class ShopeepayPayments < Stripe::RequestParams
|
3600
|
-
# 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.
|
3601
|
-
attr_accessor :requested
|
3602
|
-
|
3603
|
-
def initialize(requested: nil)
|
3604
|
-
@requested = requested
|
3605
|
-
end
|
3606
|
-
end
|
3607
|
-
|
3608
3190
|
class SofortPayments < Stripe::RequestParams
|
3609
3191
|
# 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.
|
3610
3192
|
attr_accessor :requested
|
@@ -3614,15 +3196,6 @@ module Stripe
|
|
3614
3196
|
end
|
3615
3197
|
end
|
3616
3198
|
|
3617
|
-
class StripeBalancePayments < Stripe::RequestParams
|
3618
|
-
# 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.
|
3619
|
-
attr_accessor :requested
|
3620
|
-
|
3621
|
-
def initialize(requested: nil)
|
3622
|
-
@requested = requested
|
3623
|
-
end
|
3624
|
-
end
|
3625
|
-
|
3626
3199
|
class SwishPayments < Stripe::RequestParams
|
3627
3200
|
# 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.
|
3628
3201
|
attr_accessor :requested
|
@@ -3668,33 +3241,6 @@ module Stripe
|
|
3668
3241
|
end
|
3669
3242
|
end
|
3670
3243
|
|
3671
|
-
class TreasuryEvolve < Stripe::RequestParams
|
3672
|
-
# 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.
|
3673
|
-
attr_accessor :requested
|
3674
|
-
|
3675
|
-
def initialize(requested: nil)
|
3676
|
-
@requested = requested
|
3677
|
-
end
|
3678
|
-
end
|
3679
|
-
|
3680
|
-
class TreasuryFifthThird < Stripe::RequestParams
|
3681
|
-
# 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.
|
3682
|
-
attr_accessor :requested
|
3683
|
-
|
3684
|
-
def initialize(requested: nil)
|
3685
|
-
@requested = requested
|
3686
|
-
end
|
3687
|
-
end
|
3688
|
-
|
3689
|
-
class TreasuryGoldmanSachs < Stripe::RequestParams
|
3690
|
-
# 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.
|
3691
|
-
attr_accessor :requested
|
3692
|
-
|
3693
|
-
def initialize(requested: nil)
|
3694
|
-
@requested = requested
|
3695
|
-
end
|
3696
|
-
end
|
3697
|
-
|
3698
3244
|
class TwintPayments < Stripe::RequestParams
|
3699
3245
|
# 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.
|
3700
3246
|
attr_accessor :requested
|
@@ -3742,8 +3288,6 @@ module Stripe
|
|
3742
3288
|
attr_accessor :amazon_pay_payments
|
3743
3289
|
# The au_becs_debit_payments capability.
|
3744
3290
|
attr_accessor :au_becs_debit_payments
|
3745
|
-
# The automatic_indirect_tax capability.
|
3746
|
-
attr_accessor :automatic_indirect_tax
|
3747
3291
|
# The bacs_debit_payments capability.
|
3748
3292
|
attr_accessor :bacs_debit_payments
|
3749
3293
|
# The bancontact_payments capability.
|
@@ -3772,14 +3316,8 @@ module Stripe
|
|
3772
3316
|
attr_accessor :gb_bank_transfer_payments
|
3773
3317
|
# The giropay_payments capability.
|
3774
3318
|
attr_accessor :giropay_payments
|
3775
|
-
# The gopay_payments capability.
|
3776
|
-
attr_accessor :gopay_payments
|
3777
3319
|
# The grabpay_payments capability.
|
3778
3320
|
attr_accessor :grabpay_payments
|
3779
|
-
# The id_bank_transfer_payments capability.
|
3780
|
-
attr_accessor :id_bank_transfer_payments
|
3781
|
-
# The id_bank_transfer_payments_bca capability.
|
3782
|
-
attr_accessor :id_bank_transfer_payments_bca
|
3783
3321
|
# The ideal_payments capability.
|
3784
3322
|
attr_accessor :ideal_payments
|
3785
3323
|
# The india_international_payments capability.
|
@@ -3800,8 +3338,6 @@ module Stripe
|
|
3800
3338
|
attr_accessor :legacy_payments
|
3801
3339
|
# The link_payments capability.
|
3802
3340
|
attr_accessor :link_payments
|
3803
|
-
# The mb_way_payments capability.
|
3804
|
-
attr_accessor :mb_way_payments
|
3805
3341
|
# The mobilepay_payments capability.
|
3806
3342
|
attr_accessor :mobilepay_payments
|
3807
3343
|
# The multibanco_payments capability.
|
@@ -3822,16 +3358,10 @@ module Stripe
|
|
3822
3358
|
attr_accessor :payco_payments
|
3823
3359
|
# The paynow_payments capability.
|
3824
3360
|
attr_accessor :paynow_payments
|
3825
|
-
# The
|
3826
|
-
attr_accessor :
|
3827
|
-
# The payto_payments capability.
|
3828
|
-
attr_accessor :payto_payments
|
3361
|
+
# The pix_payments capability.
|
3362
|
+
attr_accessor :pix_payments
|
3829
3363
|
# The promptpay_payments capability.
|
3830
3364
|
attr_accessor :promptpay_payments
|
3831
|
-
# The qris_payments capability.
|
3832
|
-
attr_accessor :qris_payments
|
3833
|
-
# The rechnung_payments capability.
|
3834
|
-
attr_accessor :rechnung_payments
|
3835
3365
|
# The revolut_pay_payments capability.
|
3836
3366
|
attr_accessor :revolut_pay_payments
|
3837
3367
|
# The samsung_pay_payments capability.
|
@@ -3842,12 +3372,8 @@ module Stripe
|
|
3842
3372
|
attr_accessor :sepa_bank_transfer_payments
|
3843
3373
|
# The sepa_debit_payments capability.
|
3844
3374
|
attr_accessor :sepa_debit_payments
|
3845
|
-
# The shopeepay_payments capability.
|
3846
|
-
attr_accessor :shopeepay_payments
|
3847
3375
|
# The sofort_payments capability.
|
3848
3376
|
attr_accessor :sofort_payments
|
3849
|
-
# The stripe_balance_payments capability.
|
3850
|
-
attr_accessor :stripe_balance_payments
|
3851
3377
|
# The swish_payments capability.
|
3852
3378
|
attr_accessor :swish_payments
|
3853
3379
|
# The tax_reporting_us_1099_k capability.
|
@@ -3858,12 +3384,6 @@ module Stripe
|
|
3858
3384
|
attr_accessor :transfers
|
3859
3385
|
# The treasury capability.
|
3860
3386
|
attr_accessor :treasury
|
3861
|
-
# The treasury_evolve capability.
|
3862
|
-
attr_accessor :treasury_evolve
|
3863
|
-
# The treasury_fifth_third capability.
|
3864
|
-
attr_accessor :treasury_fifth_third
|
3865
|
-
# The treasury_goldman_sachs capability.
|
3866
|
-
attr_accessor :treasury_goldman_sachs
|
3867
3387
|
# The twint_payments capability.
|
3868
3388
|
attr_accessor :twint_payments
|
3869
3389
|
# The us_bank_account_ach_payments capability.
|
@@ -3880,7 +3400,6 @@ module Stripe
|
|
3880
3400
|
alma_payments: nil,
|
3881
3401
|
amazon_pay_payments: nil,
|
3882
3402
|
au_becs_debit_payments: nil,
|
3883
|
-
automatic_indirect_tax: nil,
|
3884
3403
|
bacs_debit_payments: nil,
|
3885
3404
|
bancontact_payments: nil,
|
3886
3405
|
bank_transfer_payments: nil,
|
@@ -3895,10 +3414,7 @@ module Stripe
|
|
3895
3414
|
fpx_payments: nil,
|
3896
3415
|
gb_bank_transfer_payments: nil,
|
3897
3416
|
giropay_payments: nil,
|
3898
|
-
gopay_payments: nil,
|
3899
3417
|
grabpay_payments: nil,
|
3900
|
-
id_bank_transfer_payments: nil,
|
3901
|
-
id_bank_transfer_payments_bca: nil,
|
3902
3418
|
ideal_payments: nil,
|
3903
3419
|
india_international_payments: nil,
|
3904
3420
|
jcb_payments: nil,
|
@@ -3909,7 +3425,6 @@ module Stripe
|
|
3909
3425
|
kr_card_payments: nil,
|
3910
3426
|
legacy_payments: nil,
|
3911
3427
|
link_payments: nil,
|
3912
|
-
mb_way_payments: nil,
|
3913
3428
|
mobilepay_payments: nil,
|
3914
3429
|
multibanco_payments: nil,
|
3915
3430
|
mx_bank_transfer_payments: nil,
|
@@ -3920,27 +3435,19 @@ module Stripe
|
|
3920
3435
|
pay_by_bank_payments: nil,
|
3921
3436
|
payco_payments: nil,
|
3922
3437
|
paynow_payments: nil,
|
3923
|
-
|
3924
|
-
payto_payments: nil,
|
3438
|
+
pix_payments: nil,
|
3925
3439
|
promptpay_payments: nil,
|
3926
|
-
qris_payments: nil,
|
3927
|
-
rechnung_payments: nil,
|
3928
3440
|
revolut_pay_payments: nil,
|
3929
3441
|
samsung_pay_payments: nil,
|
3930
3442
|
satispay_payments: nil,
|
3931
3443
|
sepa_bank_transfer_payments: nil,
|
3932
3444
|
sepa_debit_payments: nil,
|
3933
|
-
shopeepay_payments: nil,
|
3934
3445
|
sofort_payments: nil,
|
3935
|
-
stripe_balance_payments: nil,
|
3936
3446
|
swish_payments: nil,
|
3937
3447
|
tax_reporting_us_1099_k: nil,
|
3938
3448
|
tax_reporting_us_1099_misc: nil,
|
3939
3449
|
transfers: nil,
|
3940
3450
|
treasury: nil,
|
3941
|
-
treasury_evolve: nil,
|
3942
|
-
treasury_fifth_third: nil,
|
3943
|
-
treasury_goldman_sachs: nil,
|
3944
3451
|
twint_payments: nil,
|
3945
3452
|
us_bank_account_ach_payments: nil,
|
3946
3453
|
us_bank_transfer_payments: nil,
|
@@ -3952,7 +3459,6 @@ module Stripe
|
|
3952
3459
|
@alma_payments = alma_payments
|
3953
3460
|
@amazon_pay_payments = amazon_pay_payments
|
3954
3461
|
@au_becs_debit_payments = au_becs_debit_payments
|
3955
|
-
@automatic_indirect_tax = automatic_indirect_tax
|
3956
3462
|
@bacs_debit_payments = bacs_debit_payments
|
3957
3463
|
@bancontact_payments = bancontact_payments
|
3958
3464
|
@bank_transfer_payments = bank_transfer_payments
|
@@ -3967,10 +3473,7 @@ module Stripe
|
|
3967
3473
|
@fpx_payments = fpx_payments
|
3968
3474
|
@gb_bank_transfer_payments = gb_bank_transfer_payments
|
3969
3475
|
@giropay_payments = giropay_payments
|
3970
|
-
@gopay_payments = gopay_payments
|
3971
3476
|
@grabpay_payments = grabpay_payments
|
3972
|
-
@id_bank_transfer_payments = id_bank_transfer_payments
|
3973
|
-
@id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
|
3974
3477
|
@ideal_payments = ideal_payments
|
3975
3478
|
@india_international_payments = india_international_payments
|
3976
3479
|
@jcb_payments = jcb_payments
|
@@ -3981,7 +3484,6 @@ module Stripe
|
|
3981
3484
|
@kr_card_payments = kr_card_payments
|
3982
3485
|
@legacy_payments = legacy_payments
|
3983
3486
|
@link_payments = link_payments
|
3984
|
-
@mb_way_payments = mb_way_payments
|
3985
3487
|
@mobilepay_payments = mobilepay_payments
|
3986
3488
|
@multibanco_payments = multibanco_payments
|
3987
3489
|
@mx_bank_transfer_payments = mx_bank_transfer_payments
|
@@ -3992,27 +3494,19 @@ module Stripe
|
|
3992
3494
|
@pay_by_bank_payments = pay_by_bank_payments
|
3993
3495
|
@payco_payments = payco_payments
|
3994
3496
|
@paynow_payments = paynow_payments
|
3995
|
-
@
|
3996
|
-
@payto_payments = payto_payments
|
3497
|
+
@pix_payments = pix_payments
|
3997
3498
|
@promptpay_payments = promptpay_payments
|
3998
|
-
@qris_payments = qris_payments
|
3999
|
-
@rechnung_payments = rechnung_payments
|
4000
3499
|
@revolut_pay_payments = revolut_pay_payments
|
4001
3500
|
@samsung_pay_payments = samsung_pay_payments
|
4002
3501
|
@satispay_payments = satispay_payments
|
4003
3502
|
@sepa_bank_transfer_payments = sepa_bank_transfer_payments
|
4004
3503
|
@sepa_debit_payments = sepa_debit_payments
|
4005
|
-
@shopeepay_payments = shopeepay_payments
|
4006
3504
|
@sofort_payments = sofort_payments
|
4007
|
-
@stripe_balance_payments = stripe_balance_payments
|
4008
3505
|
@swish_payments = swish_payments
|
4009
3506
|
@tax_reporting_us_1099_k = tax_reporting_us_1099_k
|
4010
3507
|
@tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
|
4011
3508
|
@transfers = transfers
|
4012
3509
|
@treasury = treasury
|
4013
|
-
@treasury_evolve = treasury_evolve
|
4014
|
-
@treasury_fifth_third = treasury_fifth_third
|
4015
|
-
@treasury_goldman_sachs = treasury_goldman_sachs
|
4016
3510
|
@twint_payments = twint_payments
|
4017
3511
|
@us_bank_account_ach_payments = us_bank_account_ach_payments
|
4018
3512
|
@us_bank_transfer_payments = us_bank_transfer_payments
|
@@ -4363,30 +3857,6 @@ module Stripe
|
|
4363
3857
|
end
|
4364
3858
|
|
4365
3859
|
class Controller < Stripe::RequestParams
|
4366
|
-
class Application < Stripe::RequestParams
|
4367
|
-
# Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
|
4368
|
-
attr_accessor :loss_liable
|
4369
|
-
# Whether the controller owns onboarding for this account.
|
4370
|
-
attr_accessor :onboarding_owner
|
4371
|
-
# Whether the controller has pricing controls for this account.
|
4372
|
-
attr_accessor :pricing_controls
|
4373
|
-
|
4374
|
-
def initialize(loss_liable: nil, onboarding_owner: nil, pricing_controls: nil)
|
4375
|
-
@loss_liable = loss_liable
|
4376
|
-
@onboarding_owner = onboarding_owner
|
4377
|
-
@pricing_controls = pricing_controls
|
4378
|
-
end
|
4379
|
-
end
|
4380
|
-
|
4381
|
-
class Dashboard < Stripe::RequestParams
|
4382
|
-
# 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`.
|
4383
|
-
attr_accessor :type
|
4384
|
-
|
4385
|
-
def initialize(type: nil)
|
4386
|
-
@type = type
|
4387
|
-
end
|
4388
|
-
end
|
4389
|
-
|
4390
3860
|
class Fees < Stripe::RequestParams
|
4391
3861
|
# 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).
|
4392
3862
|
attr_accessor :payer
|
@@ -4413,10 +3883,6 @@ module Stripe
|
|
4413
3883
|
@type = type
|
4414
3884
|
end
|
4415
3885
|
end
|
4416
|
-
# A hash of configuration describing the Connect application that controls the account.
|
4417
|
-
attr_accessor :application
|
4418
|
-
# Properties of the account's dashboard.
|
4419
|
-
attr_accessor :dashboard
|
4420
3886
|
# A hash of configuration for who pays Stripe fees for product usage on this account.
|
4421
3887
|
attr_accessor :fees
|
4422
3888
|
# A hash of configuration for products that have negative balance liability, and whether Stripe or a Connect application is responsible for them.
|
@@ -4426,16 +3892,7 @@ module Stripe
|
|
4426
3892
|
# A hash of configuration for Stripe-hosted dashboards.
|
4427
3893
|
attr_accessor :stripe_dashboard
|
4428
3894
|
|
4429
|
-
def initialize(
|
4430
|
-
application: nil,
|
4431
|
-
dashboard: nil,
|
4432
|
-
fees: nil,
|
4433
|
-
losses: nil,
|
4434
|
-
requirement_collection: nil,
|
4435
|
-
stripe_dashboard: nil
|
4436
|
-
)
|
4437
|
-
@application = application
|
4438
|
-
@dashboard = dashboard
|
3895
|
+
def initialize(fees: nil, losses: nil, requirement_collection: nil, stripe_dashboard: nil)
|
4439
3896
|
@fees = fees
|
4440
3897
|
@losses = losses
|
4441
3898
|
@requirement_collection = requirement_collection
|
@@ -4869,37 +4326,6 @@ module Stripe
|
|
4869
4326
|
end
|
4870
4327
|
end
|
4871
4328
|
|
4872
|
-
class RiskControls < Stripe::RequestParams
|
4873
|
-
class Charges < Stripe::RequestParams
|
4874
|
-
# To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
4875
|
-
# There can be a delay before the risk control is paused or unpaused.
|
4876
|
-
attr_accessor :pause_requested
|
4877
|
-
|
4878
|
-
def initialize(pause_requested: nil)
|
4879
|
-
@pause_requested = pause_requested
|
4880
|
-
end
|
4881
|
-
end
|
4882
|
-
|
4883
|
-
class Payouts < Stripe::RequestParams
|
4884
|
-
# To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
4885
|
-
# There can be a delay before the risk control is paused or unpaused.
|
4886
|
-
attr_accessor :pause_requested
|
4887
|
-
|
4888
|
-
def initialize(pause_requested: nil)
|
4889
|
-
@pause_requested = pause_requested
|
4890
|
-
end
|
4891
|
-
end
|
4892
|
-
# 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).
|
4893
|
-
attr_accessor :charges
|
4894
|
-
# 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).
|
4895
|
-
attr_accessor :payouts
|
4896
|
-
|
4897
|
-
def initialize(charges: nil, payouts: nil)
|
4898
|
-
@charges = charges
|
4899
|
-
@payouts = payouts
|
4900
|
-
end
|
4901
|
-
end
|
4902
|
-
|
4903
4329
|
class Settings < Stripe::RequestParams
|
4904
4330
|
class BacsDebitPayments < Stripe::RequestParams
|
4905
4331
|
# 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.
|
@@ -4910,18 +4336,6 @@ module Stripe
|
|
4910
4336
|
end
|
4911
4337
|
end
|
4912
4338
|
|
4913
|
-
class BankBcaOnboarding < Stripe::RequestParams
|
4914
|
-
# Bank BCA business account holder name
|
4915
|
-
attr_accessor :account_holder_name
|
4916
|
-
# Bank BCA business account number
|
4917
|
-
attr_accessor :business_account_number
|
4918
|
-
|
4919
|
-
def initialize(account_holder_name: nil, business_account_number: nil)
|
4920
|
-
@account_holder_name = account_holder_name
|
4921
|
-
@business_account_number = business_account_number
|
4922
|
-
end
|
4923
|
-
end
|
4924
|
-
|
4925
4339
|
class Branding < Stripe::RequestParams
|
4926
4340
|
# (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.
|
4927
4341
|
attr_accessor :icon
|
@@ -4940,18 +4354,6 @@ module Stripe
|
|
4940
4354
|
end
|
4941
4355
|
end
|
4942
4356
|
|
4943
|
-
class Capital < Stripe::RequestParams
|
4944
|
-
# Per-currency mapping of user-selected destination accounts used to pay out loans.
|
4945
|
-
attr_accessor :payout_destination
|
4946
|
-
# Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
4947
|
-
attr_accessor :payout_destination_selector
|
4948
|
-
|
4949
|
-
def initialize(payout_destination: nil, payout_destination_selector: nil)
|
4950
|
-
@payout_destination = payout_destination
|
4951
|
-
@payout_destination_selector = payout_destination_selector
|
4952
|
-
end
|
4953
|
-
end
|
4954
|
-
|
4955
4357
|
class CardIssuing < Stripe::RequestParams
|
4956
4358
|
class TosAcceptance < Stripe::RequestParams
|
4957
4359
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
@@ -5069,15 +4471,6 @@ module Stripe
|
|
5069
4471
|
end
|
5070
4472
|
end
|
5071
4473
|
|
5072
|
-
class TaxForms < Stripe::RequestParams
|
5073
|
-
# Whether the account opted out of receiving their tax forms by postal delivery.
|
5074
|
-
attr_accessor :consented_to_paperless_delivery
|
5075
|
-
|
5076
|
-
def initialize(consented_to_paperless_delivery: nil)
|
5077
|
-
@consented_to_paperless_delivery = consented_to_paperless_delivery
|
5078
|
-
end
|
5079
|
-
end
|
5080
|
-
|
5081
4474
|
class Treasury < Stripe::RequestParams
|
5082
4475
|
class TosAcceptance < Stripe::RequestParams
|
5083
4476
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
@@ -5102,12 +4495,8 @@ module Stripe
|
|
5102
4495
|
end
|
5103
4496
|
# Settings specific to Bacs Direct Debit.
|
5104
4497
|
attr_accessor :bacs_debit_payments
|
5105
|
-
# Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
5106
|
-
attr_accessor :bank_bca_onboarding
|
5107
4498
|
# Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
5108
4499
|
attr_accessor :branding
|
5109
|
-
# Settings specific to the account's use of the Capital product.
|
5110
|
-
attr_accessor :capital
|
5111
4500
|
# Settings specific to the account's use of the Card Issuing product.
|
5112
4501
|
attr_accessor :card_issuing
|
5113
4502
|
# Settings specific to card charging on the account.
|
@@ -5118,34 +4507,26 @@ module Stripe
|
|
5118
4507
|
attr_accessor :payments
|
5119
4508
|
# Settings specific to the account's payouts.
|
5120
4509
|
attr_accessor :payouts
|
5121
|
-
# Settings specific to the account's tax forms.
|
5122
|
-
attr_accessor :tax_forms
|
5123
4510
|
# Settings specific to the account's Treasury FinancialAccounts.
|
5124
4511
|
attr_accessor :treasury
|
5125
4512
|
|
5126
4513
|
def initialize(
|
5127
4514
|
bacs_debit_payments: nil,
|
5128
|
-
bank_bca_onboarding: nil,
|
5129
4515
|
branding: nil,
|
5130
|
-
capital: nil,
|
5131
4516
|
card_issuing: nil,
|
5132
4517
|
card_payments: nil,
|
5133
4518
|
invoices: nil,
|
5134
4519
|
payments: nil,
|
5135
4520
|
payouts: nil,
|
5136
|
-
tax_forms: nil,
|
5137
4521
|
treasury: nil
|
5138
4522
|
)
|
5139
4523
|
@bacs_debit_payments = bacs_debit_payments
|
5140
|
-
@bank_bca_onboarding = bank_bca_onboarding
|
5141
4524
|
@branding = branding
|
5142
|
-
@capital = capital
|
5143
4525
|
@card_issuing = card_issuing
|
5144
4526
|
@card_payments = card_payments
|
5145
4527
|
@invoices = invoices
|
5146
4528
|
@payments = payments
|
5147
4529
|
@payouts = payouts
|
5148
|
-
@tax_forms = tax_forms
|
5149
4530
|
@treasury = treasury
|
5150
4531
|
end
|
5151
4532
|
end
|
@@ -5204,8 +4585,6 @@ module Stripe
|
|
5204
4585
|
attr_accessor :individual
|
5205
4586
|
# 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`.
|
5206
4587
|
attr_accessor :metadata
|
5207
|
-
# A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
|
5208
|
-
attr_accessor :risk_controls
|
5209
4588
|
# Options for customizing how the account functions within Stripe.
|
5210
4589
|
attr_accessor :settings
|
5211
4590
|
# 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.
|
@@ -5229,7 +4608,6 @@ module Stripe
|
|
5229
4608
|
groups: nil,
|
5230
4609
|
individual: nil,
|
5231
4610
|
metadata: nil,
|
5232
|
-
risk_controls: nil,
|
5233
4611
|
settings: nil,
|
5234
4612
|
tos_acceptance: nil,
|
5235
4613
|
type: nil
|
@@ -5249,7 +4627,6 @@ module Stripe
|
|
5249
4627
|
@groups = groups
|
5250
4628
|
@individual = individual
|
5251
4629
|
@metadata = metadata
|
5252
|
-
@risk_controls = risk_controls
|
5253
4630
|
@settings = settings
|
5254
4631
|
@tos_acceptance = tos_acceptance
|
5255
4632
|
@type = type
|
@@ -5368,8 +4745,6 @@ module Stripe
|
|
5368
4745
|
attr_reader :payouts_enabled
|
5369
4746
|
# Attribute for field requirements
|
5370
4747
|
attr_reader :requirements
|
5371
|
-
# Attribute for field risk_controls
|
5372
|
-
attr_reader :risk_controls
|
5373
4748
|
# Options for customizing how the account functions within Stripe.
|
5374
4749
|
attr_reader :settings
|
5375
4750
|
# Attribute for field tos_acceptance
|
@@ -5379,21 +4754,21 @@ module Stripe
|
|
5379
4754
|
# Always true for a deleted object
|
5380
4755
|
attr_reader :deleted
|
5381
4756
|
|
5382
|
-
# With [Connect](https://stripe.com/docs/connect), you can create Stripe accounts for your users.
|
4757
|
+
# With [Connect](https://docs.stripe.com/docs/connect), you can create Stripe accounts for your users.
|
5383
4758
|
# To do this, you'll first need to [register your platform](https://dashboard.stripe.com/account/applications/settings).
|
5384
4759
|
#
|
5385
|
-
# If you've already collected information for your connected accounts, you [can prefill that information](https://stripe.com/docs/connect/best-practices#onboarding) when
|
4760
|
+
# If you've already collected information for your connected accounts, you [can prefill that information](https://docs.stripe.com/docs/connect/best-practices#onboarding) when
|
5386
4761
|
# creating the account. Connect Onboarding won't ask for the prefilled information during account onboarding.
|
5387
4762
|
# You can prefill any information on the account.
|
5388
4763
|
def self.create(params = {}, opts = {})
|
5389
4764
|
request_stripe_object(method: :post, path: "/v1/accounts", params: params, opts: opts)
|
5390
4765
|
end
|
5391
4766
|
|
5392
|
-
# With [Connect](https://stripe.com/connect), you can delete accounts you manage.
|
4767
|
+
# With [Connect](https://docs.stripe.com/connect), you can delete accounts you manage.
|
5393
4768
|
#
|
5394
4769
|
# Test-mode accounts can be deleted at any time.
|
5395
4770
|
#
|
5396
|
-
# Live-mode accounts where Stripe is responsible for negative account balances cannot be deleted, which includes Standard accounts. Live-mode accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be deleted when all [balances](https://stripe.com/api/balance/balance_object) are zero.
|
4771
|
+
# Live-mode accounts where Stripe is responsible for negative account balances cannot be deleted, which includes Standard accounts. Live-mode accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be deleted when all [balances](https://docs.stripe.com/api/balance/balance_object) are zero.
|
5397
4772
|
#
|
5398
4773
|
# If you want to delete your own account, use the [account information tab in your account settings](https://dashboard.stripe.com/settings/account) instead.
|
5399
4774
|
def self.delete(account, params = {}, opts = {})
|
@@ -5405,11 +4780,11 @@ module Stripe
|
|
5405
4780
|
)
|
5406
4781
|
end
|
5407
4782
|
|
5408
|
-
# With [Connect](https://stripe.com/connect), you can delete accounts you manage.
|
4783
|
+
# With [Connect](https://docs.stripe.com/connect), you can delete accounts you manage.
|
5409
4784
|
#
|
5410
4785
|
# Test-mode accounts can be deleted at any time.
|
5411
4786
|
#
|
5412
|
-
# Live-mode accounts where Stripe is responsible for negative account balances cannot be deleted, which includes Standard accounts. Live-mode accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be deleted when all [balances](https://stripe.com/api/balance/balance_object) are zero.
|
4787
|
+
# Live-mode accounts where Stripe is responsible for negative account balances cannot be deleted, which includes Standard accounts. Live-mode accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be deleted when all [balances](https://docs.stripe.com/api/balance/balance_object) are zero.
|
5413
4788
|
#
|
5414
4789
|
# If you want to delete your own account, use the [account information tab in your account settings](https://dashboard.stripe.com/settings/account) instead.
|
5415
4790
|
def delete(params = {}, opts = {})
|
@@ -5421,7 +4796,7 @@ module Stripe
|
|
5421
4796
|
)
|
5422
4797
|
end
|
5423
4798
|
|
5424
|
-
# Returns a list of accounts connected to your platform via [Connect](https://stripe.com/docs/connect). If you're not a platform, the list is empty.
|
4799
|
+
# Returns a list of accounts connected to your platform via [Connect](https://docs.stripe.com/docs/connect). If you're not a platform, the list is empty.
|
5425
4800
|
def self.list(params = {}, opts = {})
|
5426
4801
|
request_stripe_object(method: :get, path: "/v1/accounts", params: params, opts: opts)
|
5427
4802
|
end
|
@@ -5446,7 +4821,7 @@ module Stripe
|
|
5446
4821
|
)
|
5447
4822
|
end
|
5448
4823
|
|
5449
|
-
# With [Connect](https://stripe.com/connect), you can reject accounts that you have flagged as suspicious.
|
4824
|
+
# With [Connect](https://docs.stripe.com/connect), you can reject accounts that you have flagged as suspicious.
|
5450
4825
|
#
|
5451
4826
|
# Only accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be rejected. Test-mode accounts can be rejected at any time. Live-mode accounts can only be rejected after all balances are zero.
|
5452
4827
|
def reject(params = {}, opts = {})
|
@@ -5458,7 +4833,7 @@ module Stripe
|
|
5458
4833
|
)
|
5459
4834
|
end
|
5460
4835
|
|
5461
|
-
# With [Connect](https://stripe.com/connect), you can reject accounts that you have flagged as suspicious.
|
4836
|
+
# With [Connect](https://docs.stripe.com/connect), you can reject accounts that you have flagged as suspicious.
|
5462
4837
|
#
|
5463
4838
|
# Only accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be rejected. Test-mode accounts can be rejected at any time. Live-mode accounts can only be rejected after all balances are zero.
|
5464
4839
|
def self.reject(account, params = {}, opts = {})
|
@@ -5470,19 +4845,19 @@ module Stripe
|
|
5470
4845
|
)
|
5471
4846
|
end
|
5472
4847
|
|
5473
|
-
# Updates a [connected account](https://stripe.com/connect/accounts) by setting the values of the parameters passed. Any parameters not provided are
|
4848
|
+
# Updates a [connected account](https://docs.stripe.com/connect/accounts) by setting the values of the parameters passed. Any parameters not provided are
|
5474
4849
|
# left unchanged.
|
5475
4850
|
#
|
5476
|
-
# For accounts where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection)
|
4851
|
+
# For accounts where [controller.requirement_collection](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection)
|
5477
4852
|
# is application, which includes Custom accounts, you can update any information on the account.
|
5478
4853
|
#
|
5479
|
-
# For accounts where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection)
|
4854
|
+
# For accounts where [controller.requirement_collection](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection)
|
5480
4855
|
# is stripe, which includes Standard and Express accounts, you can update all information until you create
|
5481
|
-
# an [Account Link or <a href="/api/account_sessions">Account Session](https://stripe.com/api/account_links) to start Connect onboarding,
|
4856
|
+
# an [Account Link or <a href="/api/account_sessions">Account Session](https://docs.stripe.com/api/account_links) to start Connect onboarding,
|
5482
4857
|
# after which some properties can no longer be updated.
|
5483
4858
|
#
|
5484
4859
|
# To update your own account, use the [Dashboard](https://dashboard.stripe.com/settings/account). Refer to our
|
5485
|
-
# [Connect](https://stripe.com/docs/connect/updating-accounts) documentation to learn more about updating accounts.
|
4860
|
+
# [Connect](https://docs.stripe.com/docs/connect/updating-accounts) documentation to learn more about updating accounts.
|
5486
4861
|
def self.update(account, params = {}, opts = {})
|
5487
4862
|
request_stripe_object(
|
5488
4863
|
method: :post,
|