stripe 14.1.0.pre.beta.1 → 15.0.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 +689 -1512
- data/OPENAPI_VERSION +1 -1
- data/README.md +3 -3
- data/VERSION +1 -1
- data/lib/stripe/api_operations/save.rb +2 -1
- data/lib/stripe/api_operations/singleton_save.rb +2 -1
- data/lib/stripe/api_requestor.rb +3 -29
- data/lib/stripe/api_resource.rb +10 -3
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/errors.rb +0 -54
- data/lib/stripe/event_types.rb +0 -75
- data/lib/stripe/object_types.rb +0 -48
- data/lib/stripe/request_options.rb +2 -1
- data/lib/stripe/resources/account.rb +1 -653
- data/lib/stripe/resources/account_session.rb +1 -247
- 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 +0 -6
- data/lib/stripe/resources/card.rb +0 -2
- data/lib/stripe/resources/cash_balance.rb +0 -2
- data/lib/stripe/resources/charge.rb +0 -1454
- data/lib/stripe/resources/checkout/session.rb +4 -260
- data/lib/stripe/resources/confirmation_token.rb +0 -234
- data/lib/stripe/resources/coupon.rb +1 -1
- data/lib/stripe/resources/credit_note.rb +0 -10
- data/lib/stripe/resources/credit_note_line_item.rb +0 -9
- data/lib/stripe/resources/customer.rb +0 -2
- 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 +1 -6
- data/lib/stripe/resources/discount.rb +0 -2
- data/lib/stripe/resources/event.rb +0 -33
- 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_session.rb +0 -10
- data/lib/stripe/resources/invoice.rb +16 -1176
- data/lib/stripe/resources/invoice_item.rb +2 -78
- data/lib/stripe/resources/invoice_line_item.rb +1 -55
- data/lib/stripe/resources/invoice_payment.rb +53 -2
- data/lib/stripe/resources/issuing/cardholder.rb +1 -2
- 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 +307 -5109
- data/lib/stripe/resources/payment_method.rb +1 -196
- data/lib/stripe/resources/payment_method_configuration.rb +0 -295
- data/lib/stripe/resources/payout.rb +0 -6
- data/lib/stripe/resources/price.rb +0 -30
- data/lib/stripe/resources/product.rb +0 -59
- data/lib/stripe/resources/promotion_code.rb +0 -10
- data/lib/stripe/resources/quote.rb +6 -2042
- data/lib/stripe/resources/refund.rb +0 -9
- data/lib/stripe/resources/setup_attempt.rb +0 -21
- data/lib/stripe/resources/setup_intent.rb +9 -596
- data/lib/stripe/resources/source.rb +1 -30
- data/lib/stripe/resources/subscription.rb +9 -292
- data/lib/stripe/resources/subscription_item.rb +3 -84
- data/lib/stripe/resources/subscription_schedule.rb +10 -1007
- data/lib/stripe/resources/tax_id.rb +2 -12
- data/lib/stripe/resources/terminal/reader.rb +0 -406
- 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.rb +0 -85
- data/lib/stripe/services/account_service.rb +1 -562
- data/lib/stripe/services/account_session_service.rb +1 -217
- 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 +0 -1334
- data/lib/stripe/services/checkout/session_service.rb +2 -172
- data/lib/stripe/services/credit_note_service.rb +0 -4
- data/lib/stripe/services/customer_session_service.rb +1 -4
- 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 +0 -8
- data/lib/stripe/services/invoice_item_service.rb +2 -74
- data/lib/stripe/services/invoice_line_item_service.rb +1 -33
- data/lib/stripe/services/invoice_payment_service.rb +33 -5
- data/lib/stripe/services/invoice_service.rb +17 -1088
- data/lib/stripe/services/issuing/cardholder_service.rb +1 -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 +264 -4637
- data/lib/stripe/services/payment_method_configuration_service.rb +0 -210
- data/lib/stripe/services/payment_method_service.rb +1 -126
- data/lib/stripe/services/payout_service.rb +0 -4
- data/lib/stripe/services/price_service.rb +0 -19
- data/lib/stripe/services/product_service.rb +0 -38
- data/lib/stripe/services/promotion_code_service.rb +0 -8
- data/lib/stripe/services/quote_service.rb +7 -1726
- data/lib/stripe/services/setup_intent_service.rb +9 -556
- data/lib/stripe/services/subscription_item_service.rb +3 -75
- data/lib/stripe/services/subscription_schedule_service.rb +10 -911
- data/lib/stripe/services/subscription_service.rb +9 -253
- data/lib/stripe/services/tax_id_service.rb +2 -8
- data/lib/stripe/services/tax_service.rb +1 -3
- data/lib/stripe/services/terminal/reader_service.rb +0 -180
- data/lib/stripe/services/terminal_service.rb +1 -2
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +0 -148
- data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -43
- 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/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 -10
- data/lib/stripe/services/v2/core/event_service.rb +5 -3
- data/lib/stripe/services/v2/core_service.rb +1 -4
- data/lib/stripe/services/v2_services.rb +2 -4
- data/lib/stripe/services.rb +0 -49
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/stripe_object.rb +14 -4
- data/lib/stripe/util.rb +12 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +0 -55
- data/rbi/stripe/resources/account.rbi +4840 -0
- data/rbi/stripe/resources/account_link.rbi +74 -0
- data/rbi/stripe/resources/account_session.rbi +894 -0
- data/rbi/stripe/resources/apple_pay_domain.rbi +90 -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 +180 -0
- data/rbi/stripe/resources/balance_transaction.rbi +144 -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 +2054 -0
- data/rbi/stripe/resources/checkout/session.rbi +3951 -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 +1793 -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 +252 -0
- data/rbi/stripe/resources/credit_note.rbi +747 -0
- data/rbi/stripe/resources/credit_note_line_item.rbi +101 -0
- data/rbi/stripe/resources/customer.rbi +1009 -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 +146 -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 +351 -0
- data/rbi/stripe/resources/identity/verification_session.rbi +517 -0
- data/rbi/stripe/resources/invoice.rbi +3733 -0
- data/rbi/stripe/resources/invoice_item.rbi +475 -0
- data/rbi/stripe/resources/invoice_line_item.rbi +432 -0
- data/rbi/stripe/resources/invoice_payment.rbi +114 -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 +18 -0
- data/rbi/stripe/resources/mandate.rbi +187 -0
- data/rbi/stripe/resources/payment_intent.rbi +9731 -0
- data/rbi/stripe/resources/payment_link.rbi +1801 -0
- data/rbi/stripe/resources/payment_method.rbi +1822 -0
- data/rbi/stripe/resources/payment_method_configuration.rbi +3154 -0
- data/rbi/stripe/resources/payment_method_domain.rbi +212 -0
- data/rbi/stripe/resources/payout.rbi +300 -0
- data/rbi/stripe/resources/person.rbi +371 -0
- data/rbi/stripe/resources/plan.rbi +373 -0
- data/rbi/stripe/resources/price.rbi +694 -0
- data/rbi/stripe/resources/product.rbi +557 -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 +1123 -0
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +98 -0
- data/rbi/stripe/resources/radar/value_list.rbi +170 -0
- data/rbi/stripe/resources/radar/value_list_item.rbi +131 -0
- data/rbi/stripe/resources/refund.rbi +516 -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 +3860 -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 +1964 -0
- data/rbi/stripe/resources/subscription_item.rbi +370 -0
- data/rbi/stripe/resources/subscription_schedule.rbi +1495 -0
- data/rbi/stripe/resources/tax/calculation.rbi +474 -0
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +88 -0
- data/rbi/stripe/resources/tax/registration.rbi +2485 -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 +167 -0
- data/rbi/stripe/resources/tax_rate.rbi +239 -0
- data/rbi/stripe/resources/terminal/configuration.rbi +1388 -0
- data/rbi/stripe/resources/terminal/connection_token.rbi +37 -0
- data/rbi/stripe/resources/terminal/location.rbi +224 -0
- data/rbi/stripe/resources/terminal/reader.rbi +587 -0
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +134 -0
- data/rbi/stripe/resources/token.rbi +1217 -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 +170 -0
- data/rbi/stripe/services/account_capability_service.rbi +51 -0
- data/rbi/stripe/services/account_external_account_service.rbi +306 -0
- 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 +923 -0
- data/rbi/stripe/services/account_service.rbi +4143 -0
- data/rbi/stripe/services/account_session_service.rbi +572 -0
- data/rbi/stripe/services/apple_pay_domain_service.rbi +78 -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 +2585 -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 +196 -0
- data/{lib/stripe/services/quote_preview_subscription_schedule_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 +416 -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 +651 -0
- data/rbi/stripe/services/customer_session_service.rbi +116 -0
- data/rbi/stripe/services/customer_tax_id_service.rbi +72 -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 +368 -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 +2920 -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 +7759 -0
- data/{lib/stripe/services/quote_line_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 +2211 -0
- data/rbi/stripe/services/payment_method_domain_service.rbi +112 -0
- data/rbi/stripe/services/payment_method_service.rbi +840 -0
- data/rbi/stripe/services/payout_service.rbi +205 -0
- data/rbi/stripe/services/plan_service.rbi +284 -0
- data/rbi/stripe/services/price_service.rbi +546 -0
- data/rbi/stripe/services/product_feature_service.rbi +69 -0
- data/rbi/stripe/services/product_service.rbi +479 -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 +111 -0
- data/rbi/stripe/services/radar/value_list_service.rbi +143 -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 +3596 -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_preview_invoice_service.rb → rbi/stripe/services/source_transaction_service.rbi} +16 -20
- data/rbi/stripe/services/subscription_item_service.rbi +324 -0
- data/rbi/stripe/services/subscription_schedule_service.rbi +1192 -0
- data/rbi/stripe/services/subscription_service.rbi +1596 -0
- data/rbi/stripe/services/tax/calculation_line_item_service.rbi +33 -0
- data/rbi/stripe/services/tax/calculation_service.rbi +230 -0
- data/rbi/stripe/services/tax/registration_service.rbi +1689 -0
- data/rbi/stripe/services/tax/settings_service.rbi +93 -0
- data/{lib/stripe/services/financial_connections/account_inferred_balance_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 +112 -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 +1120 -0
- data/rbi/stripe/services/terminal/connection_token_service.rbi +25 -0
- data/rbi/stripe/services/terminal/location_service.rbi +184 -0
- data/rbi/stripe/services/terminal/reader_service.rbi +344 -0
- data/rbi/stripe/services/terminal_service.rbi +12 -0
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +746 -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 +62 -0
- data/rbi/stripe/services/test_helpers/terminal_service.rbi +11 -0
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +92 -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 +1189 -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 +20 -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 +200 -0
- data/rbi/stripe/services/v2/core/event_service.rbi +38 -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 +131 -0
- data/stripe.gemspec +1 -4
- metadata +324 -140
- 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_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_money_management_financial_account_created_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_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_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/request_signing_authenticator.rb +0 -79
- data/lib/stripe/resources/account_notice.rb +0 -123
- data/lib/stripe/resources/balance_settings.rb +0 -101
- 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/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_record.rb +0 -1607
- 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 -337
- 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 -1715
- data/lib/stripe/resources/v2/core/account_link.rb +0 -54
- data/lib/stripe/resources/v2/core/person.rb +0 -272
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -72
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -37
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -18
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -20
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -49
- data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -56
- data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -66
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -92
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -127
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -74
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -43
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -115
- data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -73
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -47
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -134
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -106
- data/lib/stripe/resources/v2/money_management/transaction.rb +0 -76
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -66
- 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/external_account_service.rb +0 -206
- 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/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 -4130
- data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -1040
- 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 -80
- 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 -189274
@@ -224,15 +224,6 @@ module Stripe
|
|
224
224
|
end
|
225
225
|
end
|
226
226
|
|
227
|
-
class AutomaticIndirectTax < Stripe::RequestParams
|
228
|
-
# 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.
|
229
|
-
attr_accessor :requested
|
230
|
-
|
231
|
-
def initialize(requested: nil)
|
232
|
-
@requested = requested
|
233
|
-
end
|
234
|
-
end
|
235
|
-
|
236
227
|
class BacsDebitPayments < Stripe::RequestParams
|
237
228
|
# 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.
|
238
229
|
attr_accessor :requested
|
@@ -359,15 +350,6 @@ module Stripe
|
|
359
350
|
end
|
360
351
|
end
|
361
352
|
|
362
|
-
class GopayPayments < Stripe::RequestParams
|
363
|
-
# 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.
|
364
|
-
attr_accessor :requested
|
365
|
-
|
366
|
-
def initialize(requested: nil)
|
367
|
-
@requested = requested
|
368
|
-
end
|
369
|
-
end
|
370
|
-
|
371
353
|
class GrabpayPayments < Stripe::RequestParams
|
372
354
|
# 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.
|
373
355
|
attr_accessor :requested
|
@@ -377,24 +359,6 @@ module Stripe
|
|
377
359
|
end
|
378
360
|
end
|
379
361
|
|
380
|
-
class IdBankTransferPayments < Stripe::RequestParams
|
381
|
-
# 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.
|
382
|
-
attr_accessor :requested
|
383
|
-
|
384
|
-
def initialize(requested: nil)
|
385
|
-
@requested = requested
|
386
|
-
end
|
387
|
-
end
|
388
|
-
|
389
|
-
class IdBankTransferPaymentsBca < Stripe::RequestParams
|
390
|
-
# 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.
|
391
|
-
attr_accessor :requested
|
392
|
-
|
393
|
-
def initialize(requested: nil)
|
394
|
-
@requested = requested
|
395
|
-
end
|
396
|
-
end
|
397
|
-
|
398
362
|
class IdealPayments < Stripe::RequestParams
|
399
363
|
# 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.
|
400
364
|
attr_accessor :requested
|
@@ -485,15 +449,6 @@ module Stripe
|
|
485
449
|
end
|
486
450
|
end
|
487
451
|
|
488
|
-
class MbWayPayments < Stripe::RequestParams
|
489
|
-
# 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.
|
490
|
-
attr_accessor :requested
|
491
|
-
|
492
|
-
def initialize(requested: nil)
|
493
|
-
@requested = requested
|
494
|
-
end
|
495
|
-
end
|
496
|
-
|
497
452
|
class MobilepayPayments < Stripe::RequestParams
|
498
453
|
# 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.
|
499
454
|
attr_accessor :requested
|
@@ -584,24 +539,6 @@ module Stripe
|
|
584
539
|
end
|
585
540
|
end
|
586
541
|
|
587
|
-
class PaypalPayments < Stripe::RequestParams
|
588
|
-
# 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.
|
589
|
-
attr_accessor :requested
|
590
|
-
|
591
|
-
def initialize(requested: nil)
|
592
|
-
@requested = requested
|
593
|
-
end
|
594
|
-
end
|
595
|
-
|
596
|
-
class PaytoPayments < Stripe::RequestParams
|
597
|
-
# 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.
|
598
|
-
attr_accessor :requested
|
599
|
-
|
600
|
-
def initialize(requested: nil)
|
601
|
-
@requested = requested
|
602
|
-
end
|
603
|
-
end
|
604
|
-
|
605
542
|
class PromptpayPayments < Stripe::RequestParams
|
606
543
|
# 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.
|
607
544
|
attr_accessor :requested
|
@@ -611,24 +548,6 @@ module Stripe
|
|
611
548
|
end
|
612
549
|
end
|
613
550
|
|
614
|
-
class QrisPayments < Stripe::RequestParams
|
615
|
-
# 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.
|
616
|
-
attr_accessor :requested
|
617
|
-
|
618
|
-
def initialize(requested: nil)
|
619
|
-
@requested = requested
|
620
|
-
end
|
621
|
-
end
|
622
|
-
|
623
|
-
class RechnungPayments < Stripe::RequestParams
|
624
|
-
# 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.
|
625
|
-
attr_accessor :requested
|
626
|
-
|
627
|
-
def initialize(requested: nil)
|
628
|
-
@requested = requested
|
629
|
-
end
|
630
|
-
end
|
631
|
-
|
632
551
|
class RevolutPayPayments < Stripe::RequestParams
|
633
552
|
# 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.
|
634
553
|
attr_accessor :requested
|
@@ -674,15 +593,6 @@ module Stripe
|
|
674
593
|
end
|
675
594
|
end
|
676
595
|
|
677
|
-
class ShopeepayPayments < Stripe::RequestParams
|
678
|
-
# 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.
|
679
|
-
attr_accessor :requested
|
680
|
-
|
681
|
-
def initialize(requested: nil)
|
682
|
-
@requested = requested
|
683
|
-
end
|
684
|
-
end
|
685
|
-
|
686
596
|
class SofortPayments < Stripe::RequestParams
|
687
597
|
# 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.
|
688
598
|
attr_accessor :requested
|
@@ -692,15 +602,6 @@ module Stripe
|
|
692
602
|
end
|
693
603
|
end
|
694
604
|
|
695
|
-
class StripeBalancePayments < Stripe::RequestParams
|
696
|
-
# 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.
|
697
|
-
attr_accessor :requested
|
698
|
-
|
699
|
-
def initialize(requested: nil)
|
700
|
-
@requested = requested
|
701
|
-
end
|
702
|
-
end
|
703
|
-
|
704
605
|
class SwishPayments < Stripe::RequestParams
|
705
606
|
# 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.
|
706
607
|
attr_accessor :requested
|
@@ -746,33 +647,6 @@ module Stripe
|
|
746
647
|
end
|
747
648
|
end
|
748
649
|
|
749
|
-
class TreasuryEvolve < Stripe::RequestParams
|
750
|
-
# 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.
|
751
|
-
attr_accessor :requested
|
752
|
-
|
753
|
-
def initialize(requested: nil)
|
754
|
-
@requested = requested
|
755
|
-
end
|
756
|
-
end
|
757
|
-
|
758
|
-
class TreasuryFifthThird < Stripe::RequestParams
|
759
|
-
# 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.
|
760
|
-
attr_accessor :requested
|
761
|
-
|
762
|
-
def initialize(requested: nil)
|
763
|
-
@requested = requested
|
764
|
-
end
|
765
|
-
end
|
766
|
-
|
767
|
-
class TreasuryGoldmanSachs < Stripe::RequestParams
|
768
|
-
# 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.
|
769
|
-
attr_accessor :requested
|
770
|
-
|
771
|
-
def initialize(requested: nil)
|
772
|
-
@requested = requested
|
773
|
-
end
|
774
|
-
end
|
775
|
-
|
776
650
|
class TwintPayments < Stripe::RequestParams
|
777
651
|
# 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.
|
778
652
|
attr_accessor :requested
|
@@ -820,8 +694,6 @@ module Stripe
|
|
820
694
|
attr_accessor :amazon_pay_payments
|
821
695
|
# The au_becs_debit_payments capability.
|
822
696
|
attr_accessor :au_becs_debit_payments
|
823
|
-
# The automatic_indirect_tax capability.
|
824
|
-
attr_accessor :automatic_indirect_tax
|
825
697
|
# The bacs_debit_payments capability.
|
826
698
|
attr_accessor :bacs_debit_payments
|
827
699
|
# The bancontact_payments capability.
|
@@ -850,14 +722,8 @@ module Stripe
|
|
850
722
|
attr_accessor :gb_bank_transfer_payments
|
851
723
|
# The giropay_payments capability.
|
852
724
|
attr_accessor :giropay_payments
|
853
|
-
# The gopay_payments capability.
|
854
|
-
attr_accessor :gopay_payments
|
855
725
|
# The grabpay_payments capability.
|
856
726
|
attr_accessor :grabpay_payments
|
857
|
-
# The id_bank_transfer_payments capability.
|
858
|
-
attr_accessor :id_bank_transfer_payments
|
859
|
-
# The id_bank_transfer_payments_bca capability.
|
860
|
-
attr_accessor :id_bank_transfer_payments_bca
|
861
727
|
# The ideal_payments capability.
|
862
728
|
attr_accessor :ideal_payments
|
863
729
|
# The india_international_payments capability.
|
@@ -878,8 +744,6 @@ module Stripe
|
|
878
744
|
attr_accessor :legacy_payments
|
879
745
|
# The link_payments capability.
|
880
746
|
attr_accessor :link_payments
|
881
|
-
# The mb_way_payments capability.
|
882
|
-
attr_accessor :mb_way_payments
|
883
747
|
# The mobilepay_payments capability.
|
884
748
|
attr_accessor :mobilepay_payments
|
885
749
|
# The multibanco_payments capability.
|
@@ -900,16 +764,8 @@ module Stripe
|
|
900
764
|
attr_accessor :payco_payments
|
901
765
|
# The paynow_payments capability.
|
902
766
|
attr_accessor :paynow_payments
|
903
|
-
# The paypal_payments capability.
|
904
|
-
attr_accessor :paypal_payments
|
905
|
-
# The payto_payments capability.
|
906
|
-
attr_accessor :payto_payments
|
907
767
|
# The promptpay_payments capability.
|
908
768
|
attr_accessor :promptpay_payments
|
909
|
-
# The qris_payments capability.
|
910
|
-
attr_accessor :qris_payments
|
911
|
-
# The rechnung_payments capability.
|
912
|
-
attr_accessor :rechnung_payments
|
913
769
|
# The revolut_pay_payments capability.
|
914
770
|
attr_accessor :revolut_pay_payments
|
915
771
|
# The samsung_pay_payments capability.
|
@@ -920,12 +776,8 @@ module Stripe
|
|
920
776
|
attr_accessor :sepa_bank_transfer_payments
|
921
777
|
# The sepa_debit_payments capability.
|
922
778
|
attr_accessor :sepa_debit_payments
|
923
|
-
# The shopeepay_payments capability.
|
924
|
-
attr_accessor :shopeepay_payments
|
925
779
|
# The sofort_payments capability.
|
926
780
|
attr_accessor :sofort_payments
|
927
|
-
# The stripe_balance_payments capability.
|
928
|
-
attr_accessor :stripe_balance_payments
|
929
781
|
# The swish_payments capability.
|
930
782
|
attr_accessor :swish_payments
|
931
783
|
# The tax_reporting_us_1099_k capability.
|
@@ -936,12 +788,6 @@ module Stripe
|
|
936
788
|
attr_accessor :transfers
|
937
789
|
# The treasury capability.
|
938
790
|
attr_accessor :treasury
|
939
|
-
# The treasury_evolve capability.
|
940
|
-
attr_accessor :treasury_evolve
|
941
|
-
# The treasury_fifth_third capability.
|
942
|
-
attr_accessor :treasury_fifth_third
|
943
|
-
# The treasury_goldman_sachs capability.
|
944
|
-
attr_accessor :treasury_goldman_sachs
|
945
791
|
# The twint_payments capability.
|
946
792
|
attr_accessor :twint_payments
|
947
793
|
# The us_bank_account_ach_payments capability.
|
@@ -958,7 +804,6 @@ module Stripe
|
|
958
804
|
alma_payments: nil,
|
959
805
|
amazon_pay_payments: nil,
|
960
806
|
au_becs_debit_payments: nil,
|
961
|
-
automatic_indirect_tax: nil,
|
962
807
|
bacs_debit_payments: nil,
|
963
808
|
bancontact_payments: nil,
|
964
809
|
bank_transfer_payments: nil,
|
@@ -973,10 +818,7 @@ module Stripe
|
|
973
818
|
fpx_payments: nil,
|
974
819
|
gb_bank_transfer_payments: nil,
|
975
820
|
giropay_payments: nil,
|
976
|
-
gopay_payments: nil,
|
977
821
|
grabpay_payments: nil,
|
978
|
-
id_bank_transfer_payments: nil,
|
979
|
-
id_bank_transfer_payments_bca: nil,
|
980
822
|
ideal_payments: nil,
|
981
823
|
india_international_payments: nil,
|
982
824
|
jcb_payments: nil,
|
@@ -987,7 +829,6 @@ module Stripe
|
|
987
829
|
kr_card_payments: nil,
|
988
830
|
legacy_payments: nil,
|
989
831
|
link_payments: nil,
|
990
|
-
mb_way_payments: nil,
|
991
832
|
mobilepay_payments: nil,
|
992
833
|
multibanco_payments: nil,
|
993
834
|
mx_bank_transfer_payments: nil,
|
@@ -998,27 +839,18 @@ module Stripe
|
|
998
839
|
pay_by_bank_payments: nil,
|
999
840
|
payco_payments: nil,
|
1000
841
|
paynow_payments: nil,
|
1001
|
-
paypal_payments: nil,
|
1002
|
-
payto_payments: nil,
|
1003
842
|
promptpay_payments: nil,
|
1004
|
-
qris_payments: nil,
|
1005
|
-
rechnung_payments: nil,
|
1006
843
|
revolut_pay_payments: nil,
|
1007
844
|
samsung_pay_payments: nil,
|
1008
845
|
satispay_payments: nil,
|
1009
846
|
sepa_bank_transfer_payments: nil,
|
1010
847
|
sepa_debit_payments: nil,
|
1011
|
-
shopeepay_payments: nil,
|
1012
848
|
sofort_payments: nil,
|
1013
|
-
stripe_balance_payments: nil,
|
1014
849
|
swish_payments: nil,
|
1015
850
|
tax_reporting_us_1099_k: nil,
|
1016
851
|
tax_reporting_us_1099_misc: nil,
|
1017
852
|
transfers: nil,
|
1018
853
|
treasury: nil,
|
1019
|
-
treasury_evolve: nil,
|
1020
|
-
treasury_fifth_third: nil,
|
1021
|
-
treasury_goldman_sachs: nil,
|
1022
854
|
twint_payments: nil,
|
1023
855
|
us_bank_account_ach_payments: nil,
|
1024
856
|
us_bank_transfer_payments: nil,
|
@@ -1030,7 +862,6 @@ module Stripe
|
|
1030
862
|
@alma_payments = alma_payments
|
1031
863
|
@amazon_pay_payments = amazon_pay_payments
|
1032
864
|
@au_becs_debit_payments = au_becs_debit_payments
|
1033
|
-
@automatic_indirect_tax = automatic_indirect_tax
|
1034
865
|
@bacs_debit_payments = bacs_debit_payments
|
1035
866
|
@bancontact_payments = bancontact_payments
|
1036
867
|
@bank_transfer_payments = bank_transfer_payments
|
@@ -1045,10 +876,7 @@ module Stripe
|
|
1045
876
|
@fpx_payments = fpx_payments
|
1046
877
|
@gb_bank_transfer_payments = gb_bank_transfer_payments
|
1047
878
|
@giropay_payments = giropay_payments
|
1048
|
-
@gopay_payments = gopay_payments
|
1049
879
|
@grabpay_payments = grabpay_payments
|
1050
|
-
@id_bank_transfer_payments = id_bank_transfer_payments
|
1051
|
-
@id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
|
1052
880
|
@ideal_payments = ideal_payments
|
1053
881
|
@india_international_payments = india_international_payments
|
1054
882
|
@jcb_payments = jcb_payments
|
@@ -1059,7 +887,6 @@ module Stripe
|
|
1059
887
|
@kr_card_payments = kr_card_payments
|
1060
888
|
@legacy_payments = legacy_payments
|
1061
889
|
@link_payments = link_payments
|
1062
|
-
@mb_way_payments = mb_way_payments
|
1063
890
|
@mobilepay_payments = mobilepay_payments
|
1064
891
|
@multibanco_payments = multibanco_payments
|
1065
892
|
@mx_bank_transfer_payments = mx_bank_transfer_payments
|
@@ -1070,27 +897,18 @@ module Stripe
|
|
1070
897
|
@pay_by_bank_payments = pay_by_bank_payments
|
1071
898
|
@payco_payments = payco_payments
|
1072
899
|
@paynow_payments = paynow_payments
|
1073
|
-
@paypal_payments = paypal_payments
|
1074
|
-
@payto_payments = payto_payments
|
1075
900
|
@promptpay_payments = promptpay_payments
|
1076
|
-
@qris_payments = qris_payments
|
1077
|
-
@rechnung_payments = rechnung_payments
|
1078
901
|
@revolut_pay_payments = revolut_pay_payments
|
1079
902
|
@samsung_pay_payments = samsung_pay_payments
|
1080
903
|
@satispay_payments = satispay_payments
|
1081
904
|
@sepa_bank_transfer_payments = sepa_bank_transfer_payments
|
1082
905
|
@sepa_debit_payments = sepa_debit_payments
|
1083
|
-
@shopeepay_payments = shopeepay_payments
|
1084
906
|
@sofort_payments = sofort_payments
|
1085
|
-
@stripe_balance_payments = stripe_balance_payments
|
1086
907
|
@swish_payments = swish_payments
|
1087
908
|
@tax_reporting_us_1099_k = tax_reporting_us_1099_k
|
1088
909
|
@tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
|
1089
910
|
@transfers = transfers
|
1090
911
|
@treasury = treasury
|
1091
|
-
@treasury_evolve = treasury_evolve
|
1092
|
-
@treasury_fifth_third = treasury_fifth_third
|
1093
|
-
@treasury_goldman_sachs = treasury_goldman_sachs
|
1094
912
|
@twint_payments = twint_payments
|
1095
913
|
@us_bank_account_ach_payments = us_bank_account_ach_payments
|
1096
914
|
@us_bank_transfer_payments = us_bank_transfer_payments
|
@@ -1847,37 +1665,6 @@ module Stripe
|
|
1847
1665
|
end
|
1848
1666
|
end
|
1849
1667
|
|
1850
|
-
class RiskControls < Stripe::RequestParams
|
1851
|
-
class Charges < Stripe::RequestParams
|
1852
|
-
# To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
1853
|
-
# There can be a delay before the risk control is paused or unpaused.
|
1854
|
-
attr_accessor :pause_requested
|
1855
|
-
|
1856
|
-
def initialize(pause_requested: nil)
|
1857
|
-
@pause_requested = pause_requested
|
1858
|
-
end
|
1859
|
-
end
|
1860
|
-
|
1861
|
-
class Payouts < Stripe::RequestParams
|
1862
|
-
# To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
1863
|
-
# There can be a delay before the risk control is paused or unpaused.
|
1864
|
-
attr_accessor :pause_requested
|
1865
|
-
|
1866
|
-
def initialize(pause_requested: nil)
|
1867
|
-
@pause_requested = pause_requested
|
1868
|
-
end
|
1869
|
-
end
|
1870
|
-
# 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).
|
1871
|
-
attr_accessor :charges
|
1872
|
-
# 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).
|
1873
|
-
attr_accessor :payouts
|
1874
|
-
|
1875
|
-
def initialize(charges: nil, payouts: nil)
|
1876
|
-
@charges = charges
|
1877
|
-
@payouts = payouts
|
1878
|
-
end
|
1879
|
-
end
|
1880
|
-
|
1881
1668
|
class Settings < Stripe::RequestParams
|
1882
1669
|
class BacsDebitPayments < Stripe::RequestParams
|
1883
1670
|
# 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.
|
@@ -1888,18 +1675,6 @@ module Stripe
|
|
1888
1675
|
end
|
1889
1676
|
end
|
1890
1677
|
|
1891
|
-
class BankBcaOnboarding < Stripe::RequestParams
|
1892
|
-
# Bank BCA business account holder name
|
1893
|
-
attr_accessor :account_holder_name
|
1894
|
-
# Bank BCA business account number
|
1895
|
-
attr_accessor :business_account_number
|
1896
|
-
|
1897
|
-
def initialize(account_holder_name: nil, business_account_number: nil)
|
1898
|
-
@account_holder_name = account_holder_name
|
1899
|
-
@business_account_number = business_account_number
|
1900
|
-
end
|
1901
|
-
end
|
1902
|
-
|
1903
1678
|
class Branding < Stripe::RequestParams
|
1904
1679
|
# (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.
|
1905
1680
|
attr_accessor :icon
|
@@ -1918,18 +1693,6 @@ module Stripe
|
|
1918
1693
|
end
|
1919
1694
|
end
|
1920
1695
|
|
1921
|
-
class Capital < Stripe::RequestParams
|
1922
|
-
# Per-currency mapping of user-selected destination accounts used to pay out loans.
|
1923
|
-
attr_accessor :payout_destination
|
1924
|
-
# Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
1925
|
-
attr_accessor :payout_destination_selector
|
1926
|
-
|
1927
|
-
def initialize(payout_destination: nil, payout_destination_selector: nil)
|
1928
|
-
@payout_destination = payout_destination
|
1929
|
-
@payout_destination_selector = payout_destination_selector
|
1930
|
-
end
|
1931
|
-
end
|
1932
|
-
|
1933
1696
|
class CardIssuing < Stripe::RequestParams
|
1934
1697
|
class TosAcceptance < Stripe::RequestParams
|
1935
1698
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
@@ -2050,15 +1813,6 @@ module Stripe
|
|
2050
1813
|
end
|
2051
1814
|
end
|
2052
1815
|
|
2053
|
-
class TaxForms < Stripe::RequestParams
|
2054
|
-
# Whether the account opted out of receiving their tax forms by postal delivery.
|
2055
|
-
attr_accessor :consented_to_paperless_delivery
|
2056
|
-
|
2057
|
-
def initialize(consented_to_paperless_delivery: nil)
|
2058
|
-
@consented_to_paperless_delivery = consented_to_paperless_delivery
|
2059
|
-
end
|
2060
|
-
end
|
2061
|
-
|
2062
1816
|
class Treasury < Stripe::RequestParams
|
2063
1817
|
class TosAcceptance < Stripe::RequestParams
|
2064
1818
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
@@ -2083,12 +1837,8 @@ module Stripe
|
|
2083
1837
|
end
|
2084
1838
|
# Settings specific to Bacs Direct Debit payments.
|
2085
1839
|
attr_accessor :bacs_debit_payments
|
2086
|
-
# Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
2087
|
-
attr_accessor :bank_bca_onboarding
|
2088
1840
|
# Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
2089
1841
|
attr_accessor :branding
|
2090
|
-
# Settings specific to the account's use of the Capital product.
|
2091
|
-
attr_accessor :capital
|
2092
1842
|
# Settings specific to the account's use of the Card Issuing product.
|
2093
1843
|
attr_accessor :card_issuing
|
2094
1844
|
# Settings specific to card charging on the account.
|
@@ -2099,34 +1849,26 @@ module Stripe
|
|
2099
1849
|
attr_accessor :payments
|
2100
1850
|
# Settings specific to the account's payouts.
|
2101
1851
|
attr_accessor :payouts
|
2102
|
-
# Settings specific to the account's tax forms.
|
2103
|
-
attr_accessor :tax_forms
|
2104
1852
|
# Settings specific to the account's Treasury FinancialAccounts.
|
2105
1853
|
attr_accessor :treasury
|
2106
1854
|
|
2107
1855
|
def initialize(
|
2108
1856
|
bacs_debit_payments: nil,
|
2109
|
-
bank_bca_onboarding: nil,
|
2110
1857
|
branding: nil,
|
2111
|
-
capital: nil,
|
2112
1858
|
card_issuing: nil,
|
2113
1859
|
card_payments: nil,
|
2114
1860
|
invoices: nil,
|
2115
1861
|
payments: nil,
|
2116
1862
|
payouts: nil,
|
2117
|
-
tax_forms: nil,
|
2118
1863
|
treasury: nil
|
2119
1864
|
)
|
2120
1865
|
@bacs_debit_payments = bacs_debit_payments
|
2121
|
-
@bank_bca_onboarding = bank_bca_onboarding
|
2122
1866
|
@branding = branding
|
2123
|
-
@capital = capital
|
2124
1867
|
@card_issuing = card_issuing
|
2125
1868
|
@card_payments = card_payments
|
2126
1869
|
@invoices = invoices
|
2127
1870
|
@payments = payments
|
2128
1871
|
@payouts = payouts
|
2129
|
-
@tax_forms = tax_forms
|
2130
1872
|
@treasury = treasury
|
2131
1873
|
end
|
2132
1874
|
end
|
@@ -2181,8 +1923,6 @@ module Stripe
|
|
2181
1923
|
attr_accessor :individual
|
2182
1924
|
# 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`.
|
2183
1925
|
attr_accessor :metadata
|
2184
|
-
# A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
|
2185
|
-
attr_accessor :risk_controls
|
2186
1926
|
# Options for customizing how the account functions within Stripe.
|
2187
1927
|
attr_accessor :settings
|
2188
1928
|
# 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.
|
@@ -2202,7 +1942,6 @@ module Stripe
|
|
2202
1942
|
groups: nil,
|
2203
1943
|
individual: nil,
|
2204
1944
|
metadata: nil,
|
2205
|
-
risk_controls: nil,
|
2206
1945
|
settings: nil,
|
2207
1946
|
tos_acceptance: nil
|
2208
1947
|
)
|
@@ -2219,7 +1958,6 @@ module Stripe
|
|
2219
1958
|
@groups = groups
|
2220
1959
|
@individual = individual
|
2221
1960
|
@metadata = metadata
|
2222
|
-
@risk_controls = risk_controls
|
2223
1961
|
@settings = settings
|
2224
1962
|
@tos_acceptance = tos_acceptance
|
2225
1963
|
end
|
@@ -2471,15 +2209,6 @@ module Stripe
|
|
2471
2209
|
end
|
2472
2210
|
end
|
2473
2211
|
|
2474
|
-
class AutomaticIndirectTax < Stripe::RequestParams
|
2475
|
-
# 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.
|
2476
|
-
attr_accessor :requested
|
2477
|
-
|
2478
|
-
def initialize(requested: nil)
|
2479
|
-
@requested = requested
|
2480
|
-
end
|
2481
|
-
end
|
2482
|
-
|
2483
2212
|
class BacsDebitPayments < Stripe::RequestParams
|
2484
2213
|
# 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.
|
2485
2214
|
attr_accessor :requested
|
@@ -2606,15 +2335,6 @@ module Stripe
|
|
2606
2335
|
end
|
2607
2336
|
end
|
2608
2337
|
|
2609
|
-
class GopayPayments < Stripe::RequestParams
|
2610
|
-
# 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.
|
2611
|
-
attr_accessor :requested
|
2612
|
-
|
2613
|
-
def initialize(requested: nil)
|
2614
|
-
@requested = requested
|
2615
|
-
end
|
2616
|
-
end
|
2617
|
-
|
2618
2338
|
class GrabpayPayments < Stripe::RequestParams
|
2619
2339
|
# 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.
|
2620
2340
|
attr_accessor :requested
|
@@ -2624,24 +2344,6 @@ module Stripe
|
|
2624
2344
|
end
|
2625
2345
|
end
|
2626
2346
|
|
2627
|
-
class IdBankTransferPayments < Stripe::RequestParams
|
2628
|
-
# 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.
|
2629
|
-
attr_accessor :requested
|
2630
|
-
|
2631
|
-
def initialize(requested: nil)
|
2632
|
-
@requested = requested
|
2633
|
-
end
|
2634
|
-
end
|
2635
|
-
|
2636
|
-
class IdBankTransferPaymentsBca < Stripe::RequestParams
|
2637
|
-
# 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.
|
2638
|
-
attr_accessor :requested
|
2639
|
-
|
2640
|
-
def initialize(requested: nil)
|
2641
|
-
@requested = requested
|
2642
|
-
end
|
2643
|
-
end
|
2644
|
-
|
2645
2347
|
class IdealPayments < Stripe::RequestParams
|
2646
2348
|
# 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.
|
2647
2349
|
attr_accessor :requested
|
@@ -2732,15 +2434,6 @@ module Stripe
|
|
2732
2434
|
end
|
2733
2435
|
end
|
2734
2436
|
|
2735
|
-
class MbWayPayments < Stripe::RequestParams
|
2736
|
-
# 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.
|
2737
|
-
attr_accessor :requested
|
2738
|
-
|
2739
|
-
def initialize(requested: nil)
|
2740
|
-
@requested = requested
|
2741
|
-
end
|
2742
|
-
end
|
2743
|
-
|
2744
2437
|
class MobilepayPayments < Stripe::RequestParams
|
2745
2438
|
# 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.
|
2746
2439
|
attr_accessor :requested
|
@@ -2831,24 +2524,6 @@ module Stripe
|
|
2831
2524
|
end
|
2832
2525
|
end
|
2833
2526
|
|
2834
|
-
class PaypalPayments < Stripe::RequestParams
|
2835
|
-
# 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.
|
2836
|
-
attr_accessor :requested
|
2837
|
-
|
2838
|
-
def initialize(requested: nil)
|
2839
|
-
@requested = requested
|
2840
|
-
end
|
2841
|
-
end
|
2842
|
-
|
2843
|
-
class PaytoPayments < Stripe::RequestParams
|
2844
|
-
# 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.
|
2845
|
-
attr_accessor :requested
|
2846
|
-
|
2847
|
-
def initialize(requested: nil)
|
2848
|
-
@requested = requested
|
2849
|
-
end
|
2850
|
-
end
|
2851
|
-
|
2852
2527
|
class PromptpayPayments < Stripe::RequestParams
|
2853
2528
|
# 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.
|
2854
2529
|
attr_accessor :requested
|
@@ -2858,24 +2533,6 @@ module Stripe
|
|
2858
2533
|
end
|
2859
2534
|
end
|
2860
2535
|
|
2861
|
-
class QrisPayments < Stripe::RequestParams
|
2862
|
-
# 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.
|
2863
|
-
attr_accessor :requested
|
2864
|
-
|
2865
|
-
def initialize(requested: nil)
|
2866
|
-
@requested = requested
|
2867
|
-
end
|
2868
|
-
end
|
2869
|
-
|
2870
|
-
class RechnungPayments < Stripe::RequestParams
|
2871
|
-
# 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.
|
2872
|
-
attr_accessor :requested
|
2873
|
-
|
2874
|
-
def initialize(requested: nil)
|
2875
|
-
@requested = requested
|
2876
|
-
end
|
2877
|
-
end
|
2878
|
-
|
2879
2536
|
class RevolutPayPayments < Stripe::RequestParams
|
2880
2537
|
# 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.
|
2881
2538
|
attr_accessor :requested
|
@@ -2921,15 +2578,6 @@ module Stripe
|
|
2921
2578
|
end
|
2922
2579
|
end
|
2923
2580
|
|
2924
|
-
class ShopeepayPayments < Stripe::RequestParams
|
2925
|
-
# 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.
|
2926
|
-
attr_accessor :requested
|
2927
|
-
|
2928
|
-
def initialize(requested: nil)
|
2929
|
-
@requested = requested
|
2930
|
-
end
|
2931
|
-
end
|
2932
|
-
|
2933
2581
|
class SofortPayments < Stripe::RequestParams
|
2934
2582
|
# 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.
|
2935
2583
|
attr_accessor :requested
|
@@ -2939,15 +2587,6 @@ module Stripe
|
|
2939
2587
|
end
|
2940
2588
|
end
|
2941
2589
|
|
2942
|
-
class StripeBalancePayments < Stripe::RequestParams
|
2943
|
-
# 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.
|
2944
|
-
attr_accessor :requested
|
2945
|
-
|
2946
|
-
def initialize(requested: nil)
|
2947
|
-
@requested = requested
|
2948
|
-
end
|
2949
|
-
end
|
2950
|
-
|
2951
2590
|
class SwishPayments < Stripe::RequestParams
|
2952
2591
|
# 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.
|
2953
2592
|
attr_accessor :requested
|
@@ -2993,33 +2632,6 @@ module Stripe
|
|
2993
2632
|
end
|
2994
2633
|
end
|
2995
2634
|
|
2996
|
-
class TreasuryEvolve < Stripe::RequestParams
|
2997
|
-
# 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.
|
2998
|
-
attr_accessor :requested
|
2999
|
-
|
3000
|
-
def initialize(requested: nil)
|
3001
|
-
@requested = requested
|
3002
|
-
end
|
3003
|
-
end
|
3004
|
-
|
3005
|
-
class TreasuryFifthThird < Stripe::RequestParams
|
3006
|
-
# 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.
|
3007
|
-
attr_accessor :requested
|
3008
|
-
|
3009
|
-
def initialize(requested: nil)
|
3010
|
-
@requested = requested
|
3011
|
-
end
|
3012
|
-
end
|
3013
|
-
|
3014
|
-
class TreasuryGoldmanSachs < Stripe::RequestParams
|
3015
|
-
# 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.
|
3016
|
-
attr_accessor :requested
|
3017
|
-
|
3018
|
-
def initialize(requested: nil)
|
3019
|
-
@requested = requested
|
3020
|
-
end
|
3021
|
-
end
|
3022
|
-
|
3023
2635
|
class TwintPayments < Stripe::RequestParams
|
3024
2636
|
# 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.
|
3025
2637
|
attr_accessor :requested
|
@@ -3067,8 +2679,6 @@ module Stripe
|
|
3067
2679
|
attr_accessor :amazon_pay_payments
|
3068
2680
|
# The au_becs_debit_payments capability.
|
3069
2681
|
attr_accessor :au_becs_debit_payments
|
3070
|
-
# The automatic_indirect_tax capability.
|
3071
|
-
attr_accessor :automatic_indirect_tax
|
3072
2682
|
# The bacs_debit_payments capability.
|
3073
2683
|
attr_accessor :bacs_debit_payments
|
3074
2684
|
# The bancontact_payments capability.
|
@@ -3097,14 +2707,8 @@ module Stripe
|
|
3097
2707
|
attr_accessor :gb_bank_transfer_payments
|
3098
2708
|
# The giropay_payments capability.
|
3099
2709
|
attr_accessor :giropay_payments
|
3100
|
-
# The gopay_payments capability.
|
3101
|
-
attr_accessor :gopay_payments
|
3102
2710
|
# The grabpay_payments capability.
|
3103
2711
|
attr_accessor :grabpay_payments
|
3104
|
-
# The id_bank_transfer_payments capability.
|
3105
|
-
attr_accessor :id_bank_transfer_payments
|
3106
|
-
# The id_bank_transfer_payments_bca capability.
|
3107
|
-
attr_accessor :id_bank_transfer_payments_bca
|
3108
2712
|
# The ideal_payments capability.
|
3109
2713
|
attr_accessor :ideal_payments
|
3110
2714
|
# The india_international_payments capability.
|
@@ -3125,8 +2729,6 @@ module Stripe
|
|
3125
2729
|
attr_accessor :legacy_payments
|
3126
2730
|
# The link_payments capability.
|
3127
2731
|
attr_accessor :link_payments
|
3128
|
-
# The mb_way_payments capability.
|
3129
|
-
attr_accessor :mb_way_payments
|
3130
2732
|
# The mobilepay_payments capability.
|
3131
2733
|
attr_accessor :mobilepay_payments
|
3132
2734
|
# The multibanco_payments capability.
|
@@ -3147,16 +2749,8 @@ module Stripe
|
|
3147
2749
|
attr_accessor :payco_payments
|
3148
2750
|
# The paynow_payments capability.
|
3149
2751
|
attr_accessor :paynow_payments
|
3150
|
-
# The paypal_payments capability.
|
3151
|
-
attr_accessor :paypal_payments
|
3152
|
-
# The payto_payments capability.
|
3153
|
-
attr_accessor :payto_payments
|
3154
2752
|
# The promptpay_payments capability.
|
3155
2753
|
attr_accessor :promptpay_payments
|
3156
|
-
# The qris_payments capability.
|
3157
|
-
attr_accessor :qris_payments
|
3158
|
-
# The rechnung_payments capability.
|
3159
|
-
attr_accessor :rechnung_payments
|
3160
2754
|
# The revolut_pay_payments capability.
|
3161
2755
|
attr_accessor :revolut_pay_payments
|
3162
2756
|
# The samsung_pay_payments capability.
|
@@ -3167,12 +2761,8 @@ module Stripe
|
|
3167
2761
|
attr_accessor :sepa_bank_transfer_payments
|
3168
2762
|
# The sepa_debit_payments capability.
|
3169
2763
|
attr_accessor :sepa_debit_payments
|
3170
|
-
# The shopeepay_payments capability.
|
3171
|
-
attr_accessor :shopeepay_payments
|
3172
2764
|
# The sofort_payments capability.
|
3173
2765
|
attr_accessor :sofort_payments
|
3174
|
-
# The stripe_balance_payments capability.
|
3175
|
-
attr_accessor :stripe_balance_payments
|
3176
2766
|
# The swish_payments capability.
|
3177
2767
|
attr_accessor :swish_payments
|
3178
2768
|
# The tax_reporting_us_1099_k capability.
|
@@ -3183,12 +2773,6 @@ module Stripe
|
|
3183
2773
|
attr_accessor :transfers
|
3184
2774
|
# The treasury capability.
|
3185
2775
|
attr_accessor :treasury
|
3186
|
-
# The treasury_evolve capability.
|
3187
|
-
attr_accessor :treasury_evolve
|
3188
|
-
# The treasury_fifth_third capability.
|
3189
|
-
attr_accessor :treasury_fifth_third
|
3190
|
-
# The treasury_goldman_sachs capability.
|
3191
|
-
attr_accessor :treasury_goldman_sachs
|
3192
2776
|
# The twint_payments capability.
|
3193
2777
|
attr_accessor :twint_payments
|
3194
2778
|
# The us_bank_account_ach_payments capability.
|
@@ -3205,7 +2789,6 @@ module Stripe
|
|
3205
2789
|
alma_payments: nil,
|
3206
2790
|
amazon_pay_payments: nil,
|
3207
2791
|
au_becs_debit_payments: nil,
|
3208
|
-
automatic_indirect_tax: nil,
|
3209
2792
|
bacs_debit_payments: nil,
|
3210
2793
|
bancontact_payments: nil,
|
3211
2794
|
bank_transfer_payments: nil,
|
@@ -3220,10 +2803,7 @@ module Stripe
|
|
3220
2803
|
fpx_payments: nil,
|
3221
2804
|
gb_bank_transfer_payments: nil,
|
3222
2805
|
giropay_payments: nil,
|
3223
|
-
gopay_payments: nil,
|
3224
2806
|
grabpay_payments: nil,
|
3225
|
-
id_bank_transfer_payments: nil,
|
3226
|
-
id_bank_transfer_payments_bca: nil,
|
3227
2807
|
ideal_payments: nil,
|
3228
2808
|
india_international_payments: nil,
|
3229
2809
|
jcb_payments: nil,
|
@@ -3234,7 +2814,6 @@ module Stripe
|
|
3234
2814
|
kr_card_payments: nil,
|
3235
2815
|
legacy_payments: nil,
|
3236
2816
|
link_payments: nil,
|
3237
|
-
mb_way_payments: nil,
|
3238
2817
|
mobilepay_payments: nil,
|
3239
2818
|
multibanco_payments: nil,
|
3240
2819
|
mx_bank_transfer_payments: nil,
|
@@ -3245,27 +2824,18 @@ module Stripe
|
|
3245
2824
|
pay_by_bank_payments: nil,
|
3246
2825
|
payco_payments: nil,
|
3247
2826
|
paynow_payments: nil,
|
3248
|
-
paypal_payments: nil,
|
3249
|
-
payto_payments: nil,
|
3250
2827
|
promptpay_payments: nil,
|
3251
|
-
qris_payments: nil,
|
3252
|
-
rechnung_payments: nil,
|
3253
2828
|
revolut_pay_payments: nil,
|
3254
2829
|
samsung_pay_payments: nil,
|
3255
2830
|
satispay_payments: nil,
|
3256
2831
|
sepa_bank_transfer_payments: nil,
|
3257
2832
|
sepa_debit_payments: nil,
|
3258
|
-
shopeepay_payments: nil,
|
3259
2833
|
sofort_payments: nil,
|
3260
|
-
stripe_balance_payments: nil,
|
3261
2834
|
swish_payments: nil,
|
3262
2835
|
tax_reporting_us_1099_k: nil,
|
3263
2836
|
tax_reporting_us_1099_misc: nil,
|
3264
2837
|
transfers: nil,
|
3265
2838
|
treasury: nil,
|
3266
|
-
treasury_evolve: nil,
|
3267
|
-
treasury_fifth_third: nil,
|
3268
|
-
treasury_goldman_sachs: nil,
|
3269
2839
|
twint_payments: nil,
|
3270
2840
|
us_bank_account_ach_payments: nil,
|
3271
2841
|
us_bank_transfer_payments: nil,
|
@@ -3277,7 +2847,6 @@ module Stripe
|
|
3277
2847
|
@alma_payments = alma_payments
|
3278
2848
|
@amazon_pay_payments = amazon_pay_payments
|
3279
2849
|
@au_becs_debit_payments = au_becs_debit_payments
|
3280
|
-
@automatic_indirect_tax = automatic_indirect_tax
|
3281
2850
|
@bacs_debit_payments = bacs_debit_payments
|
3282
2851
|
@bancontact_payments = bancontact_payments
|
3283
2852
|
@bank_transfer_payments = bank_transfer_payments
|
@@ -3292,10 +2861,7 @@ module Stripe
|
|
3292
2861
|
@fpx_payments = fpx_payments
|
3293
2862
|
@gb_bank_transfer_payments = gb_bank_transfer_payments
|
3294
2863
|
@giropay_payments = giropay_payments
|
3295
|
-
@gopay_payments = gopay_payments
|
3296
2864
|
@grabpay_payments = grabpay_payments
|
3297
|
-
@id_bank_transfer_payments = id_bank_transfer_payments
|
3298
|
-
@id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
|
3299
2865
|
@ideal_payments = ideal_payments
|
3300
2866
|
@india_international_payments = india_international_payments
|
3301
2867
|
@jcb_payments = jcb_payments
|
@@ -3306,7 +2872,6 @@ module Stripe
|
|
3306
2872
|
@kr_card_payments = kr_card_payments
|
3307
2873
|
@legacy_payments = legacy_payments
|
3308
2874
|
@link_payments = link_payments
|
3309
|
-
@mb_way_payments = mb_way_payments
|
3310
2875
|
@mobilepay_payments = mobilepay_payments
|
3311
2876
|
@multibanco_payments = multibanco_payments
|
3312
2877
|
@mx_bank_transfer_payments = mx_bank_transfer_payments
|
@@ -3317,27 +2882,18 @@ module Stripe
|
|
3317
2882
|
@pay_by_bank_payments = pay_by_bank_payments
|
3318
2883
|
@payco_payments = payco_payments
|
3319
2884
|
@paynow_payments = paynow_payments
|
3320
|
-
@paypal_payments = paypal_payments
|
3321
|
-
@payto_payments = payto_payments
|
3322
2885
|
@promptpay_payments = promptpay_payments
|
3323
|
-
@qris_payments = qris_payments
|
3324
|
-
@rechnung_payments = rechnung_payments
|
3325
2886
|
@revolut_pay_payments = revolut_pay_payments
|
3326
2887
|
@samsung_pay_payments = samsung_pay_payments
|
3327
2888
|
@satispay_payments = satispay_payments
|
3328
2889
|
@sepa_bank_transfer_payments = sepa_bank_transfer_payments
|
3329
2890
|
@sepa_debit_payments = sepa_debit_payments
|
3330
|
-
@shopeepay_payments = shopeepay_payments
|
3331
2891
|
@sofort_payments = sofort_payments
|
3332
|
-
@stripe_balance_payments = stripe_balance_payments
|
3333
2892
|
@swish_payments = swish_payments
|
3334
2893
|
@tax_reporting_us_1099_k = tax_reporting_us_1099_k
|
3335
2894
|
@tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
|
3336
2895
|
@transfers = transfers
|
3337
2896
|
@treasury = treasury
|
3338
|
-
@treasury_evolve = treasury_evolve
|
3339
|
-
@treasury_fifth_third = treasury_fifth_third
|
3340
|
-
@treasury_goldman_sachs = treasury_goldman_sachs
|
3341
2897
|
@twint_payments = twint_payments
|
3342
2898
|
@us_bank_account_ach_payments = us_bank_account_ach_payments
|
3343
2899
|
@us_bank_transfer_payments = us_bank_transfer_payments
|
@@ -3669,30 +3225,6 @@ module Stripe
|
|
3669
3225
|
end
|
3670
3226
|
|
3671
3227
|
class Controller < Stripe::RequestParams
|
3672
|
-
class Application < Stripe::RequestParams
|
3673
|
-
# Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
|
3674
|
-
attr_accessor :loss_liable
|
3675
|
-
# Whether the controller owns onboarding for this account.
|
3676
|
-
attr_accessor :onboarding_owner
|
3677
|
-
# Whether the controller has pricing controls for this account.
|
3678
|
-
attr_accessor :pricing_controls
|
3679
|
-
|
3680
|
-
def initialize(loss_liable: nil, onboarding_owner: nil, pricing_controls: nil)
|
3681
|
-
@loss_liable = loss_liable
|
3682
|
-
@onboarding_owner = onboarding_owner
|
3683
|
-
@pricing_controls = pricing_controls
|
3684
|
-
end
|
3685
|
-
end
|
3686
|
-
|
3687
|
-
class Dashboard < Stripe::RequestParams
|
3688
|
-
# 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`.
|
3689
|
-
attr_accessor :type
|
3690
|
-
|
3691
|
-
def initialize(type: nil)
|
3692
|
-
@type = type
|
3693
|
-
end
|
3694
|
-
end
|
3695
|
-
|
3696
3228
|
class Fees < Stripe::RequestParams
|
3697
3229
|
# 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).
|
3698
3230
|
attr_accessor :payer
|
@@ -3719,10 +3251,6 @@ module Stripe
|
|
3719
3251
|
@type = type
|
3720
3252
|
end
|
3721
3253
|
end
|
3722
|
-
# A hash of configuration describing the Connect application that controls the account.
|
3723
|
-
attr_accessor :application
|
3724
|
-
# Properties of the account's dashboard.
|
3725
|
-
attr_accessor :dashboard
|
3726
3254
|
# A hash of configuration for who pays Stripe fees for product usage on this account.
|
3727
3255
|
attr_accessor :fees
|
3728
3256
|
# A hash of configuration for products that have negative balance liability, and whether Stripe or a Connect application is responsible for them.
|
@@ -3732,16 +3260,7 @@ module Stripe
|
|
3732
3260
|
# A hash of configuration for Stripe-hosted dashboards.
|
3733
3261
|
attr_accessor :stripe_dashboard
|
3734
3262
|
|
3735
|
-
def initialize(
|
3736
|
-
application: nil,
|
3737
|
-
dashboard: nil,
|
3738
|
-
fees: nil,
|
3739
|
-
losses: nil,
|
3740
|
-
requirement_collection: nil,
|
3741
|
-
stripe_dashboard: nil
|
3742
|
-
)
|
3743
|
-
@application = application
|
3744
|
-
@dashboard = dashboard
|
3263
|
+
def initialize(fees: nil, losses: nil, requirement_collection: nil, stripe_dashboard: nil)
|
3745
3264
|
@fees = fees
|
3746
3265
|
@losses = losses
|
3747
3266
|
@requirement_collection = requirement_collection
|
@@ -4175,37 +3694,6 @@ module Stripe
|
|
4175
3694
|
end
|
4176
3695
|
end
|
4177
3696
|
|
4178
|
-
class RiskControls < Stripe::RequestParams
|
4179
|
-
class Charges < Stripe::RequestParams
|
4180
|
-
# To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
4181
|
-
# There can be a delay before the risk control is paused or unpaused.
|
4182
|
-
attr_accessor :pause_requested
|
4183
|
-
|
4184
|
-
def initialize(pause_requested: nil)
|
4185
|
-
@pause_requested = pause_requested
|
4186
|
-
end
|
4187
|
-
end
|
4188
|
-
|
4189
|
-
class Payouts < Stripe::RequestParams
|
4190
|
-
# To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
4191
|
-
# There can be a delay before the risk control is paused or unpaused.
|
4192
|
-
attr_accessor :pause_requested
|
4193
|
-
|
4194
|
-
def initialize(pause_requested: nil)
|
4195
|
-
@pause_requested = pause_requested
|
4196
|
-
end
|
4197
|
-
end
|
4198
|
-
# 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).
|
4199
|
-
attr_accessor :charges
|
4200
|
-
# 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).
|
4201
|
-
attr_accessor :payouts
|
4202
|
-
|
4203
|
-
def initialize(charges: nil, payouts: nil)
|
4204
|
-
@charges = charges
|
4205
|
-
@payouts = payouts
|
4206
|
-
end
|
4207
|
-
end
|
4208
|
-
|
4209
3697
|
class Settings < Stripe::RequestParams
|
4210
3698
|
class BacsDebitPayments < Stripe::RequestParams
|
4211
3699
|
# 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.
|
@@ -4216,18 +3704,6 @@ module Stripe
|
|
4216
3704
|
end
|
4217
3705
|
end
|
4218
3706
|
|
4219
|
-
class BankBcaOnboarding < Stripe::RequestParams
|
4220
|
-
# Bank BCA business account holder name
|
4221
|
-
attr_accessor :account_holder_name
|
4222
|
-
# Bank BCA business account number
|
4223
|
-
attr_accessor :business_account_number
|
4224
|
-
|
4225
|
-
def initialize(account_holder_name: nil, business_account_number: nil)
|
4226
|
-
@account_holder_name = account_holder_name
|
4227
|
-
@business_account_number = business_account_number
|
4228
|
-
end
|
4229
|
-
end
|
4230
|
-
|
4231
3707
|
class Branding < Stripe::RequestParams
|
4232
3708
|
# (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.
|
4233
3709
|
attr_accessor :icon
|
@@ -4246,18 +3722,6 @@ module Stripe
|
|
4246
3722
|
end
|
4247
3723
|
end
|
4248
3724
|
|
4249
|
-
class Capital < Stripe::RequestParams
|
4250
|
-
# Per-currency mapping of user-selected destination accounts used to pay out loans.
|
4251
|
-
attr_accessor :payout_destination
|
4252
|
-
# Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
4253
|
-
attr_accessor :payout_destination_selector
|
4254
|
-
|
4255
|
-
def initialize(payout_destination: nil, payout_destination_selector: nil)
|
4256
|
-
@payout_destination = payout_destination
|
4257
|
-
@payout_destination_selector = payout_destination_selector
|
4258
|
-
end
|
4259
|
-
end
|
4260
|
-
|
4261
3725
|
class CardIssuing < Stripe::RequestParams
|
4262
3726
|
class TosAcceptance < Stripe::RequestParams
|
4263
3727
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
@@ -4375,15 +3839,6 @@ module Stripe
|
|
4375
3839
|
end
|
4376
3840
|
end
|
4377
3841
|
|
4378
|
-
class TaxForms < Stripe::RequestParams
|
4379
|
-
# Whether the account opted out of receiving their tax forms by postal delivery.
|
4380
|
-
attr_accessor :consented_to_paperless_delivery
|
4381
|
-
|
4382
|
-
def initialize(consented_to_paperless_delivery: nil)
|
4383
|
-
@consented_to_paperless_delivery = consented_to_paperless_delivery
|
4384
|
-
end
|
4385
|
-
end
|
4386
|
-
|
4387
3842
|
class Treasury < Stripe::RequestParams
|
4388
3843
|
class TosAcceptance < Stripe::RequestParams
|
4389
3844
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
@@ -4408,12 +3863,8 @@ module Stripe
|
|
4408
3863
|
end
|
4409
3864
|
# Settings specific to Bacs Direct Debit.
|
4410
3865
|
attr_accessor :bacs_debit_payments
|
4411
|
-
# Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
4412
|
-
attr_accessor :bank_bca_onboarding
|
4413
3866
|
# Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
4414
3867
|
attr_accessor :branding
|
4415
|
-
# Settings specific to the account's use of the Capital product.
|
4416
|
-
attr_accessor :capital
|
4417
3868
|
# Settings specific to the account's use of the Card Issuing product.
|
4418
3869
|
attr_accessor :card_issuing
|
4419
3870
|
# Settings specific to card charging on the account.
|
@@ -4424,34 +3875,26 @@ module Stripe
|
|
4424
3875
|
attr_accessor :payments
|
4425
3876
|
# Settings specific to the account's payouts.
|
4426
3877
|
attr_accessor :payouts
|
4427
|
-
# Settings specific to the account's tax forms.
|
4428
|
-
attr_accessor :tax_forms
|
4429
3878
|
# Settings specific to the account's Treasury FinancialAccounts.
|
4430
3879
|
attr_accessor :treasury
|
4431
3880
|
|
4432
3881
|
def initialize(
|
4433
3882
|
bacs_debit_payments: nil,
|
4434
|
-
bank_bca_onboarding: nil,
|
4435
3883
|
branding: nil,
|
4436
|
-
capital: nil,
|
4437
3884
|
card_issuing: nil,
|
4438
3885
|
card_payments: nil,
|
4439
3886
|
invoices: nil,
|
4440
3887
|
payments: nil,
|
4441
3888
|
payouts: nil,
|
4442
|
-
tax_forms: nil,
|
4443
3889
|
treasury: nil
|
4444
3890
|
)
|
4445
3891
|
@bacs_debit_payments = bacs_debit_payments
|
4446
|
-
@bank_bca_onboarding = bank_bca_onboarding
|
4447
3892
|
@branding = branding
|
4448
|
-
@capital = capital
|
4449
3893
|
@card_issuing = card_issuing
|
4450
3894
|
@card_payments = card_payments
|
4451
3895
|
@invoices = invoices
|
4452
3896
|
@payments = payments
|
4453
3897
|
@payouts = payouts
|
4454
|
-
@tax_forms = tax_forms
|
4455
3898
|
@treasury = treasury
|
4456
3899
|
end
|
4457
3900
|
end
|
@@ -4510,8 +3953,6 @@ module Stripe
|
|
4510
3953
|
attr_accessor :individual
|
4511
3954
|
# 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`.
|
4512
3955
|
attr_accessor :metadata
|
4513
|
-
# A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
|
4514
|
-
attr_accessor :risk_controls
|
4515
3956
|
# Options for customizing how the account functions within Stripe.
|
4516
3957
|
attr_accessor :settings
|
4517
3958
|
# 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.
|
@@ -4535,7 +3976,6 @@ module Stripe
|
|
4535
3976
|
groups: nil,
|
4536
3977
|
individual: nil,
|
4537
3978
|
metadata: nil,
|
4538
|
-
risk_controls: nil,
|
4539
3979
|
settings: nil,
|
4540
3980
|
tos_acceptance: nil,
|
4541
3981
|
type: nil
|
@@ -4555,7 +3995,6 @@ module Stripe
|
|
4555
3995
|
@groups = groups
|
4556
3996
|
@individual = individual
|
4557
3997
|
@metadata = metadata
|
4558
|
-
@risk_controls = risk_controls
|
4559
3998
|
@settings = settings
|
4560
3999
|
@tos_acceptance = tos_acceptance
|
4561
4000
|
@type = type
|