stripe 15.0.0 → 15.1.0.pre.beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1559 -676
- data/Gemfile +1 -1
- data/OPENAPI_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/stripe/api_operations/nested_resource.rb +35 -35
- data/lib/stripe/api_requestor.rb +29 -1
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/connection_manager.rb +1 -3
- data/lib/stripe/errors.rb +54 -0
- data/lib/stripe/event_types.rb +75 -0
- data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_link_completed_event.rb +13 -0
- data/lib/stripe/events/v2_core_account_person_created_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_person_deleted_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_person_updated_event.rb +23 -0
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +23 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +23 -0
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +21 -0
- data/lib/stripe/oauth.rb +1 -1
- data/lib/stripe/object_types.rb +53 -0
- data/lib/stripe/resources/account.rb +714 -3
- data/lib/stripe/resources/account_notice.rb +123 -0
- data/lib/stripe/resources/account_session.rb +299 -1
- data/lib/stripe/resources/balance_settings.rb +105 -0
- data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -0
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +4 -0
- data/lib/stripe/resources/billing/credit_grant.rb +10 -0
- data/lib/stripe/resources/billing/meter_error_report.rb +59 -0
- data/lib/stripe/resources/billing_portal/session.rb +6 -0
- data/lib/stripe/resources/capital/financing_offer.rb +179 -0
- data/lib/stripe/resources/capital/financing_summary.rb +55 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +114 -0
- data/lib/stripe/resources/card.rb +2 -0
- data/lib/stripe/resources/cash_balance.rb +2 -0
- data/lib/stripe/resources/charge.rb +1472 -0
- data/lib/stripe/resources/checkout/session.rb +368 -9
- data/lib/stripe/resources/confirmation_token.rb +243 -4
- data/lib/stripe/resources/coupon.rb +31 -2
- data/lib/stripe/resources/credit_note.rb +10 -0
- data/lib/stripe/resources/credit_note_line_item.rb +9 -0
- data/lib/stripe/resources/customer.rb +2 -0
- data/lib/stripe/resources/customer_balance_transaction.rb +2 -0
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +2 -0
- data/lib/stripe/resources/customer_session.rb +6 -1
- data/lib/stripe/resources/discount.rb +2 -0
- data/lib/stripe/resources/event.rb +33 -0
- data/lib/stripe/resources/financial_connections/account.rb +20 -1
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +27 -0
- data/lib/stripe/resources/financial_connections/institution.rb +90 -0
- data/lib/stripe/resources/financial_connections/session.rb +62 -2
- data/lib/stripe/resources/funding_instructions.rb +1 -1
- data/lib/stripe/resources/fx_quote.rb +184 -0
- data/lib/stripe/resources/gift_cards/card.rb +208 -0
- data/lib/stripe/resources/gift_cards/transaction.rb +272 -0
- data/lib/stripe/resources/identity/verification_session.rb +10 -0
- data/lib/stripe/resources/invoice.rb +1124 -16
- data/lib/stripe/resources/invoice_item.rb +78 -2
- data/lib/stripe/resources/invoice_line_item.rb +55 -1
- data/lib/stripe/resources/invoice_payment.rb +2 -53
- data/lib/stripe/resources/issuing/cardholder.rb +2 -1
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +602 -0
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +82 -0
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +86 -0
- data/lib/stripe/resources/issuing/settlement.rb +53 -0
- data/lib/stripe/resources/issuing/transaction.rb +6 -0
- data/lib/stripe/resources/line_item.rb +37 -0
- data/lib/stripe/resources/login_link.rb +2 -1
- data/lib/stripe/resources/mandate.rb +24 -0
- data/lib/stripe/resources/margin.rb +115 -0
- data/lib/stripe/resources/order.rb +2859 -0
- data/lib/stripe/resources/payment_attempt_record.rb +1078 -0
- data/lib/stripe/resources/payment_intent.rb +5540 -654
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +65 -0
- data/lib/stripe/resources/payment_method.rb +209 -6
- data/lib/stripe/resources/payment_method_configuration.rb +354 -0
- data/lib/stripe/resources/payment_method_domain.rb +13 -0
- data/lib/stripe/resources/payment_record.rb +1607 -0
- data/lib/stripe/resources/payout.rb +6 -0
- data/lib/stripe/resources/person.rb +25 -1
- data/lib/stripe/resources/price.rb +30 -0
- data/lib/stripe/resources/privacy/redaction_job.rb +254 -0
- data/lib/stripe/resources/privacy/redaction_job_root_objects.rb +35 -0
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +25 -0
- data/lib/stripe/resources/product.rb +59 -0
- data/lib/stripe/resources/promotion_code.rb +10 -0
- data/lib/stripe/resources/quote.rb +2042 -6
- data/lib/stripe/resources/quote_line.rb +274 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +663 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +337 -0
- data/lib/stripe/resources/refund.rb +11 -0
- data/lib/stripe/resources/setup_attempt.rb +21 -0
- data/lib/stripe/resources/setup_intent.rb +617 -21
- data/lib/stripe/resources/source.rb +29 -0
- data/lib/stripe/resources/subscription.rb +292 -9
- data/lib/stripe/resources/subscription_item.rb +84 -3
- data/lib/stripe/resources/subscription_schedule.rb +1007 -10
- data/lib/stripe/resources/tax/association.rb +89 -0
- data/lib/stripe/resources/tax/form.rb +211 -0
- data/lib/stripe/resources/tax/registration.rb +180 -0
- data/lib/stripe/resources/tax_id.rb +12 -2
- data/lib/stripe/resources/terminal/reader.rb +406 -0
- data/lib/stripe/resources/terminal/reader_collected_data.rb +31 -0
- data/lib/stripe/resources/token.rb +61 -0
- data/lib/stripe/resources/transfer.rb +6 -0
- data/lib/stripe/resources/treasury/financial_account.rb +22 -3
- data/lib/stripe/resources/treasury/financial_account_features.rb +2 -0
- data/lib/stripe/resources/treasury/outbound_payment.rb +4 -1
- data/lib/stripe/resources/treasury/outbound_transfer.rb +37 -0
- data/lib/stripe/resources/treasury/received_credit.rb +38 -1
- data/lib/stripe/resources/treasury/received_debit.rb +40 -1
- data/lib/stripe/resources/v2/core/account.rb +1715 -0
- data/lib/stripe/resources/v2/core/account_link.rb +54 -0
- data/lib/stripe/resources/v2/core/person.rb +272 -0
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +72 -0
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +37 -0
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +18 -0
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +20 -0
- data/lib/stripe/resources/v2/money_management/adjustment.rb +49 -0
- data/lib/stripe/resources/v2/money_management/financial_account.rb +56 -0
- data/lib/stripe/resources/v2/money_management/financial_address.rb +66 -0
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +92 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +127 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +74 -0
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +43 -0
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +115 -0
- data/lib/stripe/resources/v2/money_management/payout_method.rb +73 -0
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +47 -0
- data/lib/stripe/resources/v2/money_management/received_credit.rb +134 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +106 -0
- data/lib/stripe/resources/v2/money_management/transaction.rb +76 -0
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +66 -0
- data/lib/stripe/resources.rb +90 -0
- data/lib/stripe/services/account_notice_service.rb +101 -0
- data/lib/stripe/services/account_person_service.rb +84 -0
- data/lib/stripe/services/account_service.rb +609 -2
- data/lib/stripe/services/account_session_service.rb +269 -1
- data/lib/stripe/services/application_fee_service.rb +1 -1
- data/lib/stripe/services/apps_service.rb +1 -1
- data/lib/stripe/services/balance_settings_service.rb +96 -0
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +4 -1
- data/lib/stripe/services/billing/credit_balance_transaction_service.rb +4 -0
- data/lib/stripe/services/billing/credit_grant_service.rb +8 -0
- data/lib/stripe/services/billing/meter_service.rb +1 -1
- data/lib/stripe/services/billing_portal/session_service.rb +4 -0
- data/lib/stripe/services/billing_portal_service.rb +1 -1
- data/lib/stripe/services/billing_service.rb +1 -1
- data/lib/stripe/services/capital/financing_offer_service.rb +112 -0
- data/lib/stripe/services/capital/financing_summary_service.rb +28 -0
- data/lib/stripe/services/capital/financing_transaction_service.rb +79 -0
- data/lib/stripe/services/capital_service.rb +15 -0
- data/lib/stripe/services/charge_service.rb +1350 -0
- data/lib/stripe/services/checkout/session_service.rb +269 -7
- data/lib/stripe/services/checkout_service.rb +1 -1
- data/lib/stripe/services/climate_service.rb +1 -1
- data/lib/stripe/services/coupon_service.rb +17 -1
- data/lib/stripe/services/credit_note_service.rb +5 -1
- data/lib/stripe/services/customer_service.rb +1 -1
- data/lib/stripe/services/customer_session_service.rb +4 -1
- data/lib/stripe/services/entitlements_service.rb +1 -1
- data/{rbi/stripe/services/account_external_account_service.rbi → lib/stripe/services/external_account_service.rb} +135 -123
- data/{rbi/stripe/services/tax/transaction_line_item_service.rbi → lib/stripe/services/financial_connections/account_inferred_balance_service.rb} +21 -17
- data/lib/stripe/services/financial_connections/account_service.rb +8 -3
- data/{rbi/stripe/services/climate/supplier_service.rbi → lib/stripe/services/financial_connections/institution_service.rb} +36 -25
- data/lib/stripe/services/financial_connections/session_service.rb +34 -2
- data/lib/stripe/services/financial_connections_service.rb +3 -2
- data/lib/stripe/services/forwarding_service.rb +1 -1
- data/lib/stripe/services/fx_quote_service.rb +123 -0
- data/lib/stripe/services/gift_cards/card_service.rb +170 -0
- data/lib/stripe/services/gift_cards/transaction_service.rb +209 -0
- data/lib/stripe/services/gift_cards_service.rb +14 -0
- data/lib/stripe/services/identity/verification_session_service.rb +8 -0
- data/lib/stripe/services/identity_service.rb +1 -1
- data/lib/stripe/services/invoice_item_service.rb +74 -2
- data/lib/stripe/services/invoice_line_item_service.rb +33 -1
- data/lib/stripe/services/invoice_service.rb +1053 -17
- data/lib/stripe/services/issuing/cardholder_service.rb +2 -1
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +504 -0
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +66 -0
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +83 -0
- data/lib/stripe/services/issuing/transaction_service.rb +4 -0
- data/lib/stripe/services/issuing_service.rb +6 -2
- data/lib/stripe/services/margin_service.rb +119 -0
- data/{rbi/stripe/services/source_transaction_service.rbi → lib/stripe/services/order_line_item_service.rb} +20 -16
- data/lib/stripe/services/order_service.rb +2268 -0
- data/lib/stripe/services/payment_attempt_record_service.rb +49 -0
- data/{rbi/stripe/services/quote_line_item_service.rbi → lib/stripe/services/payment_intent_amount_details_line_item_service.rb} +20 -16
- data/lib/stripe/services/payment_intent_service.rb +4711 -278
- data/lib/stripe/services/payment_link_service.rb +1 -1
- data/lib/stripe/services/payment_method_configuration_service.rb +252 -0
- data/lib/stripe/services/payment_method_service.rb +137 -6
- data/lib/stripe/services/payment_record_service.rb +542 -0
- data/lib/stripe/services/payout_service.rb +4 -0
- data/lib/stripe/services/price_service.rb +19 -0
- data/lib/stripe/services/privacy/redaction_job_service.rb +231 -0
- data/{rbi/stripe/services/climate/product_service.rbi → lib/stripe/services/privacy/redaction_job_validation_error_service.rb} +36 -25
- data/lib/stripe/services/privacy_service.rb +13 -0
- data/lib/stripe/services/product_service.rb +39 -1
- data/lib/stripe/services/promotion_code_service.rb +8 -0
- data/{rbi/stripe/services/credit_note_line_item_service.rbi → lib/stripe/services/quote_line_service.rb} +20 -16
- data/{rbi/stripe/services/payment_link_line_item_service.rbi → lib/stripe/services/quote_preview_invoice_service.rb} +20 -16
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +35 -0
- data/lib/stripe/services/quote_service.rb +1727 -8
- data/lib/stripe/services/radar_service.rb +1 -1
- data/lib/stripe/services/reporting_service.rb +1 -1
- data/lib/stripe/services/setup_intent_service.rb +577 -21
- data/lib/stripe/services/sigma_service.rb +1 -1
- data/lib/stripe/services/source_service.rb +1 -1
- data/lib/stripe/services/subscription_item_service.rb +75 -3
- data/lib/stripe/services/subscription_schedule_service.rb +911 -10
- data/lib/stripe/services/subscription_service.rb +253 -9
- data/lib/stripe/services/tax/association_service.rb +31 -0
- data/lib/stripe/services/tax/calculation_service.rb +1 -1
- data/lib/stripe/services/tax/form_service.rb +100 -0
- data/lib/stripe/services/tax/registration_service.rb +117 -0
- data/lib/stripe/services/tax/transaction_service.rb +1 -1
- data/lib/stripe/services/tax_id_service.rb +8 -2
- data/lib/stripe/services/tax_service.rb +4 -2
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +28 -0
- data/lib/stripe/services/terminal/reader_service.rb +180 -0
- data/lib/stripe/services/terminal_service.rb +3 -2
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +155 -4
- data/lib/stripe/services/test_helpers/issuing_service.rb +1 -1
- data/lib/stripe/services/test_helpers/terminal/reader_service.rb +43 -0
- data/lib/stripe/services/test_helpers/terminal_service.rb +1 -1
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +25 -1
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +25 -1
- data/lib/stripe/services/test_helpers/treasury_service.rb +1 -1
- data/lib/stripe/services/test_helpers_service.rb +1 -1
- data/lib/stripe/services/token_service.rb +61 -0
- data/lib/stripe/services/transfer_service.rb +5 -1
- data/lib/stripe/services/treasury/financial_account_features_service.rb +4 -1
- data/lib/stripe/services/treasury/financial_account_service.rb +17 -3
- data/lib/stripe/services/treasury/outbound_payment_service.rb +4 -1
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +24 -0
- data/lib/stripe/services/treasury_service.rb +1 -1
- data/lib/stripe/services/v1_services.rb +13 -3
- data/lib/stripe/services/v2/billing_service.rb +1 -1
- data/lib/stripe/services/v2/core/account_link_service.rb +76 -0
- data/lib/stripe/services/v2/core/account_service.rb +4130 -0
- data/lib/stripe/services/v2/core/accounts/person_service.rb +1040 -0
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +135 -0
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +109 -0
- data/lib/stripe/services/v2/core/vault_service.rb +18 -0
- data/lib/stripe/services/v2/core_service.rb +5 -2
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +75 -0
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +44 -0
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +81 -0
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +126 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +80 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +202 -0
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +237 -0
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +174 -0
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +95 -0
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +71 -0
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +44 -0
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +70 -0
- data/lib/stripe/services/v2/money_management/transaction_service.rb +74 -0
- data/lib/stripe/services/v2/money_management_service.rb +31 -0
- data/lib/stripe/services/v2/test_helper_service.rb +15 -0
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +50 -0
- data/lib/stripe/services/v2_services.rb +5 -3
- data/lib/stripe/services.rb +54 -1
- data/lib/stripe/stripe_configuration.rb +3 -1
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/util.rb +7 -1
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +53 -0
- data/rbi/stripe.rbi +191592 -0
- data/stripe.gemspec +4 -1
- metadata +149 -325
- data/lib/stripe/services/invoice_payment_service.rb +0 -83
- data/rbi/stripe/resources/account.rbi +0 -4840
- data/rbi/stripe/resources/account_link.rbi +0 -74
- data/rbi/stripe/resources/account_session.rbi +0 -894
- data/rbi/stripe/resources/apple_pay_domain.rbi +0 -90
- data/rbi/stripe/resources/application.rbi +0 -20
- data/rbi/stripe/resources/application_fee.rbi +0 -118
- data/rbi/stripe/resources/application_fee_refund.rbi +0 -37
- data/rbi/stripe/resources/apps/secret.rbi +0 -195
- data/rbi/stripe/resources/balance.rbi +0 -180
- data/rbi/stripe/resources/balance_transaction.rbi +0 -144
- data/rbi/stripe/resources/bank_account.rbi +0 -127
- data/rbi/stripe/resources/billing/alert.rbi +0 -201
- data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -28
- data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -63
- data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -147
- data/rbi/stripe/resources/billing/credit_grant.rbi +0 -291
- data/rbi/stripe/resources/billing/meter.rbi +0 -226
- data/rbi/stripe/resources/billing/meter_event.rbi +0 -64
- data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -64
- data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -35
- data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -645
- data/rbi/stripe/resources/billing_portal/session.rbi +0 -345
- data/rbi/stripe/resources/capability.rbi +0 -125
- data/rbi/stripe/resources/card.rbi +0 -125
- data/rbi/stripe/resources/cash_balance.rbi +0 -32
- data/rbi/stripe/resources/charge.rbi +0 -2054
- data/rbi/stripe/resources/checkout/session.rbi +0 -3951
- data/rbi/stripe/resources/climate/order.rbi +0 -245
- data/rbi/stripe/resources/climate/product.rbi +0 -75
- data/rbi/stripe/resources/climate/supplier.rbi +0 -72
- data/rbi/stripe/resources/confirmation_token.rbi +0 -1793
- data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -26
- data/rbi/stripe/resources/country_spec.rbi +0 -85
- data/rbi/stripe/resources/coupon.rbi +0 -252
- data/rbi/stripe/resources/credit_note.rbi +0 -747
- data/rbi/stripe/resources/credit_note_line_item.rbi +0 -101
- data/rbi/stripe/resources/customer.rbi +0 -1009
- data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -56
- data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -151
- data/rbi/stripe/resources/customer_session.rbi +0 -200
- data/rbi/stripe/resources/discount.rbi +0 -53
- data/rbi/stripe/resources/dispute.rbi +0 -761
- data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -58
- data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -23
- data/rbi/stripe/resources/entitlements/feature.rbi +0 -117
- data/rbi/stripe/resources/ephemeral_key.rbi +0 -44
- data/rbi/stripe/resources/event.rbi +0 -146
- data/rbi/stripe/resources/exchange_rate.rbi +0 -66
- data/rbi/stripe/resources/file.rbi +0 -143
- data/rbi/stripe/resources/file_link.rbi +0 -141
- data/rbi/stripe/resources/financial_connections/account.rbi +0 -339
- data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -35
- data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -23
- data/rbi/stripe/resources/financial_connections/session.rbi +0 -123
- data/rbi/stripe/resources/financial_connections/transaction.rbi +0 -124
- data/rbi/stripe/resources/forwarding/request.rbi +0 -216
- data/rbi/stripe/resources/funding_instructions.rbi +0 -437
- data/rbi/stripe/resources/identity/verification_report.rbi +0 -351
- data/rbi/stripe/resources/identity/verification_session.rbi +0 -517
- data/rbi/stripe/resources/invoice.rbi +0 -3733
- data/rbi/stripe/resources/invoice_item.rbi +0 -475
- data/rbi/stripe/resources/invoice_line_item.rbi +0 -432
- data/rbi/stripe/resources/invoice_payment.rbi +0 -114
- data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -104
- data/rbi/stripe/resources/issuing/authorization.rbi +0 -1283
- data/rbi/stripe/resources/issuing/card.rbi +0 -741
- data/rbi/stripe/resources/issuing/cardholder.rbi +0 -744
- data/rbi/stripe/resources/issuing/dispute.rbi +0 -913
- data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -338
- data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -79
- data/rbi/stripe/resources/issuing/token.rbi +0 -226
- data/rbi/stripe/resources/issuing/transaction.rbi +0 -1061
- data/rbi/stripe/resources/line_item.rbi +0 -72
- data/rbi/stripe/resources/login_link.rbi +0 -18
- data/rbi/stripe/resources/mandate.rbi +0 -187
- data/rbi/stripe/resources/payment_intent.rbi +0 -9731
- data/rbi/stripe/resources/payment_link.rbi +0 -1801
- data/rbi/stripe/resources/payment_method.rbi +0 -1822
- data/rbi/stripe/resources/payment_method_configuration.rbi +0 -3154
- data/rbi/stripe/resources/payment_method_domain.rbi +0 -212
- data/rbi/stripe/resources/payout.rbi +0 -300
- data/rbi/stripe/resources/person.rbi +0 -371
- data/rbi/stripe/resources/plan.rbi +0 -373
- data/rbi/stripe/resources/price.rbi +0 -694
- data/rbi/stripe/resources/product.rbi +0 -557
- data/rbi/stripe/resources/product_feature.rbi +0 -26
- data/rbi/stripe/resources/promotion_code.rbi +0 -261
- data/rbi/stripe/resources/quote.rbi +0 -1123
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -98
- data/rbi/stripe/resources/radar/value_list.rbi +0 -170
- data/rbi/stripe/resources/radar/value_list_item.rbi +0 -131
- data/rbi/stripe/resources/refund.rbi +0 -516
- data/rbi/stripe/resources/reporting/report_run.rbi +0 -191
- data/rbi/stripe/resources/reporting/report_type.rbi +0 -57
- data/rbi/stripe/resources/reserve_transaction.rbi +0 -23
- data/rbi/stripe/resources/reversal.rbi +0 -51
- data/rbi/stripe/resources/review.rbi +0 -154
- data/rbi/stripe/resources/setup_attempt.rbi +0 -477
- data/rbi/stripe/resources/setup_intent.rbi +0 -3860
- data/rbi/stripe/resources/shipping_rate.rbi +0 -305
- data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -75
- data/rbi/stripe/resources/source.rbi +0 -1496
- data/rbi/stripe/resources/source_mandate_notification.rbi +0 -77
- data/rbi/stripe/resources/source_transaction.rbi +0 -127
- data/rbi/stripe/resources/subscription.rbi +0 -1964
- data/rbi/stripe/resources/subscription_item.rbi +0 -370
- data/rbi/stripe/resources/subscription_schedule.rbi +0 -1495
- data/rbi/stripe/resources/tax/calculation.rbi +0 -474
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -88
- data/rbi/stripe/resources/tax/registration.rbi +0 -2485
- data/rbi/stripe/resources/tax/settings.rbi +0 -141
- data/rbi/stripe/resources/tax/transaction.rbi +0 -351
- data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -54
- data/rbi/stripe/resources/tax_code.rbi +0 -44
- data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -23
- data/rbi/stripe/resources/tax_id.rbi +0 -167
- data/rbi/stripe/resources/tax_rate.rbi +0 -239
- data/rbi/stripe/resources/terminal/configuration.rbi +0 -1388
- data/rbi/stripe/resources/terminal/connection_token.rbi +0 -37
- data/rbi/stripe/resources/terminal/location.rbi +0 -224
- data/rbi/stripe/resources/terminal/reader.rbi +0 -587
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -134
- data/rbi/stripe/resources/token.rbi +0 -1217
- data/rbi/stripe/resources/topup.rbi +0 -222
- data/rbi/stripe/resources/transfer.rbi +0 -199
- data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -119
- data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -131
- data/rbi/stripe/resources/treasury/financial_account.rbi +0 -865
- data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -260
- data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -295
- data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -592
- data/rbi/stripe/resources/treasury/outbound_transfer.rbi +0 -431
- data/rbi/stripe/resources/treasury/received_credit.rbi +0 -302
- data/rbi/stripe/resources/treasury/received_debit.rbi +0 -256
- data/rbi/stripe/resources/treasury/transaction.rbi +0 -215
- data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -192
- data/rbi/stripe/resources/v2/amount.rbi +0 -14
- data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -37
- data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -41
- data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -31
- data/rbi/stripe/resources/v2/event.rbi +0 -48
- data/rbi/stripe/resources/v2/event_destination.rbi +0 -91
- data/rbi/stripe/resources/webhook_endpoint.rbi +0 -170
- data/rbi/stripe/services/account_capability_service.rbi +0 -51
- data/rbi/stripe/services/account_link_service.rbi +0 -58
- data/rbi/stripe/services/account_login_link_service.rbi +0 -22
- data/rbi/stripe/services/account_person_service.rbi +0 -923
- data/rbi/stripe/services/account_service.rbi +0 -4143
- data/rbi/stripe/services/account_session_service.rbi +0 -572
- data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -78
- data/rbi/stripe/services/application_fee_refund_service.rbi +0 -93
- data/rbi/stripe/services/application_fee_service.rbi +0 -78
- data/rbi/stripe/services/apps/secret_service.rbi +0 -151
- data/rbi/stripe/services/apps_service.rbi +0 -9
- data/rbi/stripe/services/balance_service.rbi +0 -21
- data/rbi/stripe/services/balance_transaction_service.rbi +0 -93
- data/rbi/stripe/services/billing/alert_service.rbi +0 -152
- data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -68
- data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -59
- data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -211
- data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -42
- data/rbi/stripe/services/billing/meter_event_service.rbi +0 -42
- data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -54
- data/rbi/stripe/services/billing/meter_service.rbi +0 -163
- data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -511
- data/rbi/stripe/services/billing_portal/session_service.rbi +0 -204
- data/rbi/stripe/services/billing_portal_service.rbi +0 -10
- data/rbi/stripe/services/billing_service.rbi +0 -15
- data/rbi/stripe/services/charge_service.rbi +0 -448
- data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -33
- data/rbi/stripe/services/checkout/session_service.rbi +0 -2585
- data/rbi/stripe/services/checkout_service.rbi +0 -9
- data/rbi/stripe/services/climate/order_service.rbi +0 -142
- data/rbi/stripe/services/climate_service.rbi +0 -11
- data/rbi/stripe/services/confirmation_token_service.rbi +0 -20
- data/rbi/stripe/services/country_spec_service.rbi +0 -44
- data/rbi/stripe/services/coupon_service.rbi +0 -196
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -167
- data/rbi/stripe/services/credit_note_service.rbi +0 -416
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -92
- data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -45
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -44
- data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -59
- data/rbi/stripe/services/customer_payment_method_service.rbi +0 -57
- data/rbi/stripe/services/customer_payment_source_service.rbi +0 -232
- data/rbi/stripe/services/customer_service.rbi +0 -651
- data/rbi/stripe/services/customer_session_service.rbi +0 -116
- data/rbi/stripe/services/customer_tax_id_service.rbi +0 -72
- data/rbi/stripe/services/dispute_service.rbi +0 -424
- data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -55
- data/rbi/stripe/services/entitlements/feature_service.rbi +0 -107
- data/rbi/stripe/services/entitlements_service.rbi +0 -10
- data/rbi/stripe/services/ephemeral_key_service.rbi +0 -53
- data/rbi/stripe/services/event_service.rbi +0 -83
- data/rbi/stripe/services/exchange_rate_service.rbi +0 -44
- data/rbi/stripe/services/file_link_service.rbi +0 -124
- data/rbi/stripe/services/file_service.rbi +0 -116
- data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -42
- data/rbi/stripe/services/financial_connections/account_service.rbi +0 -133
- data/rbi/stripe/services/financial_connections/session_service.rbi +0 -88
- data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -92
- data/rbi/stripe/services/financial_connections_service.rbi +0 -11
- data/rbi/stripe/services/forwarding/request_service.rbi +0 -134
- data/rbi/stripe/services/forwarding_service.rbi +0 -9
- data/rbi/stripe/services/identity/verification_report_service.rbi +0 -87
- data/rbi/stripe/services/identity/verification_session_service.rbi +0 -323
- data/rbi/stripe/services/identity_service.rbi +0 -10
- data/rbi/stripe/services/invoice_item_service.rbi +0 -368
- data/rbi/stripe/services/invoice_line_item_service.rbi +0 -259
- data/rbi/stripe/services/invoice_payment_service.rbi +0 -71
- data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -82
- data/rbi/stripe/services/invoice_service.rbi +0 -2920
- data/rbi/stripe/services/issuing/authorization_service.rbi +0 -146
- data/rbi/stripe/services/issuing/card_service.rbi +0 -495
- data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -587
- data/rbi/stripe/services/issuing/dispute_service.rbi +0 -707
- data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -243
- data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -59
- data/rbi/stripe/services/issuing/token_service.rbi +0 -99
- data/rbi/stripe/services/issuing/transaction_service.rbi +0 -105
- data/rbi/stripe/services/issuing_service.rbi +0 -16
- data/rbi/stripe/services/mandate_service.rbi +0 -20
- data/rbi/stripe/services/payment_intent_service.rbi +0 -7759
- data/rbi/stripe/services/payment_link_service.rbi +0 -1352
- data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -2211
- data/rbi/stripe/services/payment_method_domain_service.rbi +0 -112
- data/rbi/stripe/services/payment_method_service.rbi +0 -840
- data/rbi/stripe/services/payout_service.rbi +0 -205
- data/rbi/stripe/services/plan_service.rbi +0 -284
- data/rbi/stripe/services/price_service.rbi +0 -546
- data/rbi/stripe/services/product_feature_service.rbi +0 -69
- data/rbi/stripe/services/product_service.rbi +0 -479
- data/rbi/stripe/services/promotion_code_service.rbi +0 -214
- data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -31
- data/rbi/stripe/services/quote_service.rbi +0 -686
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -85
- data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -111
- data/rbi/stripe/services/radar/value_list_service.rbi +0 -143
- data/rbi/stripe/services/radar_service.rbi +0 -11
- data/rbi/stripe/services/refund_service.rbi +0 -185
- data/rbi/stripe/services/reporting/report_run_service.rbi +0 -135
- data/rbi/stripe/services/reporting/report_type_service.rbi +0 -35
- data/rbi/stripe/services/reporting_service.rbi +0 -10
- data/rbi/stripe/services/review_service.rbi +0 -84
- data/rbi/stripe/services/setup_attempt_service.rbi +0 -65
- data/rbi/stripe/services/setup_intent_service.rbi +0 -3596
- data/rbi/stripe/services/shipping_rate_service.rbi +0 -241
- data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -46
- data/rbi/stripe/services/sigma_service.rbi +0 -9
- data/rbi/stripe/services/source_service.rbi +0 -663
- data/rbi/stripe/services/subscription_item_service.rbi +0 -324
- data/rbi/stripe/services/subscription_schedule_service.rbi +0 -1192
- data/rbi/stripe/services/subscription_service.rbi +0 -1596
- data/rbi/stripe/services/tax/calculation_line_item_service.rbi +0 -33
- data/rbi/stripe/services/tax/calculation_service.rbi +0 -230
- data/rbi/stripe/services/tax/registration_service.rbi +0 -1689
- data/rbi/stripe/services/tax/settings_service.rbi +0 -93
- data/rbi/stripe/services/tax/transaction_service.rbi +0 -146
- data/rbi/stripe/services/tax_code_service.rbi +0 -44
- data/rbi/stripe/services/tax_id_service.rbi +0 -112
- data/rbi/stripe/services/tax_rate_service.rbi +0 -185
- data/rbi/stripe/services/tax_service.rbi +0 -12
- data/rbi/stripe/services/terminal/configuration_service.rbi +0 -1120
- data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -25
- data/rbi/stripe/services/terminal/location_service.rbi +0 -184
- data/rbi/stripe/services/terminal/reader_service.rbi +0 -344
- data/rbi/stripe/services/terminal_service.rbi +0 -12
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -746
- data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -33
- data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -848
- data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -76
- data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -69
- data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -711
- data/rbi/stripe/services/test_helpers/issuing_service.rbi +0 -14
- data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -22
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -62
- data/rbi/stripe/services/test_helpers/terminal_service.rbi +0 -11
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -92
- data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -64
- data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -125
- data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -125
- data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -87
- data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -87
- data/rbi/stripe/services/test_helpers/treasury_service.rbi +0 -15
- data/rbi/stripe/services/test_helpers_service.rbi +0 -15
- data/rbi/stripe/services/token_service.rbi +0 -1189
- data/rbi/stripe/services/topup_service.rbi +0 -176
- data/rbi/stripe/services/transfer_reversal_service.rbi +0 -101
- data/rbi/stripe/services/transfer_service.rbi +0 -152
- data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -84
- data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -88
- data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -198
- data/rbi/stripe/services/treasury/financial_account_service.rbi +0 -562
- data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -117
- data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -304
- data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +0 -157
- data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -72
- data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -59
- data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -111
- data/rbi/stripe/services/treasury/transaction_service.rbi +0 -122
- data/rbi/stripe/services/treasury_service.rbi +0 -18
- data/rbi/stripe/services/v1_services.rbi +0 -77
- data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -39
- data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -42
- data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +0 -20
- data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -55
- data/rbi/stripe/services/v2/billing_service.rbi +0 -14
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -200
- data/rbi/stripe/services/v2/core/event_service.rbi +0 -38
- data/rbi/stripe/services/v2/core_service.rbi +0 -12
- data/rbi/stripe/services/v2_services.rbi +0 -10
- data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -131
@@ -6,7 +6,7 @@ module Stripe
|
|
6
6
|
attr_reader :capabilities, :external_accounts, :login_links, :persons
|
7
7
|
|
8
8
|
def initialize(requestor)
|
9
|
-
super
|
9
|
+
super
|
10
10
|
@capabilities = Stripe::AccountCapabilityService.new(@requestor)
|
11
11
|
@external_accounts = Stripe::AccountExternalAccountService.new(@requestor)
|
12
12
|
@login_links = Stripe::AccountLoginLinkService.new(@requestor)
|
@@ -125,6 +125,8 @@ module Stripe
|
|
125
125
|
attr_accessor :estimated_worker_count
|
126
126
|
# [The merchant category code for the account](/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
|
127
127
|
attr_accessor :mcc
|
128
|
+
# Whether the business is a minority-owned, women-owned, and/or LGBTQI+-owned business.
|
129
|
+
attr_accessor :minority_owned_business_designation
|
128
130
|
# An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.
|
129
131
|
attr_accessor :monthly_estimated_revenue
|
130
132
|
# The customer-facing business name.
|
@@ -146,6 +148,7 @@ module Stripe
|
|
146
148
|
annual_revenue: nil,
|
147
149
|
estimated_worker_count: nil,
|
148
150
|
mcc: nil,
|
151
|
+
minority_owned_business_designation: nil,
|
149
152
|
monthly_estimated_revenue: nil,
|
150
153
|
name: nil,
|
151
154
|
product_description: nil,
|
@@ -158,6 +161,7 @@ module Stripe
|
|
158
161
|
@annual_revenue = annual_revenue
|
159
162
|
@estimated_worker_count = estimated_worker_count
|
160
163
|
@mcc = mcc
|
164
|
+
@minority_owned_business_designation = minority_owned_business_designation
|
161
165
|
@monthly_estimated_revenue = monthly_estimated_revenue
|
162
166
|
@name = name
|
163
167
|
@product_description = product_description
|
@@ -224,6 +228,15 @@ module Stripe
|
|
224
228
|
end
|
225
229
|
end
|
226
230
|
|
231
|
+
class AutomaticIndirectTax < Stripe::RequestParams
|
232
|
+
# 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.
|
233
|
+
attr_accessor :requested
|
234
|
+
|
235
|
+
def initialize(requested: nil)
|
236
|
+
@requested = requested
|
237
|
+
end
|
238
|
+
end
|
239
|
+
|
227
240
|
class BacsDebitPayments < Stripe::RequestParams
|
228
241
|
# 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
242
|
attr_accessor :requested
|
@@ -350,6 +363,15 @@ module Stripe
|
|
350
363
|
end
|
351
364
|
end
|
352
365
|
|
366
|
+
class GopayPayments < Stripe::RequestParams
|
367
|
+
# 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.
|
368
|
+
attr_accessor :requested
|
369
|
+
|
370
|
+
def initialize(requested: nil)
|
371
|
+
@requested = requested
|
372
|
+
end
|
373
|
+
end
|
374
|
+
|
353
375
|
class GrabpayPayments < Stripe::RequestParams
|
354
376
|
# 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.
|
355
377
|
attr_accessor :requested
|
@@ -359,6 +381,24 @@ module Stripe
|
|
359
381
|
end
|
360
382
|
end
|
361
383
|
|
384
|
+
class IdBankTransferPayments < Stripe::RequestParams
|
385
|
+
# 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.
|
386
|
+
attr_accessor :requested
|
387
|
+
|
388
|
+
def initialize(requested: nil)
|
389
|
+
@requested = requested
|
390
|
+
end
|
391
|
+
end
|
392
|
+
|
393
|
+
class IdBankTransferPaymentsBca < Stripe::RequestParams
|
394
|
+
# 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.
|
395
|
+
attr_accessor :requested
|
396
|
+
|
397
|
+
def initialize(requested: nil)
|
398
|
+
@requested = requested
|
399
|
+
end
|
400
|
+
end
|
401
|
+
|
362
402
|
class IdealPayments < Stripe::RequestParams
|
363
403
|
# 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
404
|
attr_accessor :requested
|
@@ -449,6 +489,15 @@ module Stripe
|
|
449
489
|
end
|
450
490
|
end
|
451
491
|
|
492
|
+
class MbWayPayments < Stripe::RequestParams
|
493
|
+
# 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.
|
494
|
+
attr_accessor :requested
|
495
|
+
|
496
|
+
def initialize(requested: nil)
|
497
|
+
@requested = requested
|
498
|
+
end
|
499
|
+
end
|
500
|
+
|
452
501
|
class MobilepayPayments < Stripe::RequestParams
|
453
502
|
# 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.
|
454
503
|
attr_accessor :requested
|
@@ -539,6 +588,24 @@ module Stripe
|
|
539
588
|
end
|
540
589
|
end
|
541
590
|
|
591
|
+
class PaypalPayments < Stripe::RequestParams
|
592
|
+
# 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.
|
593
|
+
attr_accessor :requested
|
594
|
+
|
595
|
+
def initialize(requested: nil)
|
596
|
+
@requested = requested
|
597
|
+
end
|
598
|
+
end
|
599
|
+
|
600
|
+
class PaytoPayments < Stripe::RequestParams
|
601
|
+
# 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.
|
602
|
+
attr_accessor :requested
|
603
|
+
|
604
|
+
def initialize(requested: nil)
|
605
|
+
@requested = requested
|
606
|
+
end
|
607
|
+
end
|
608
|
+
|
542
609
|
class PromptpayPayments < Stripe::RequestParams
|
543
610
|
# 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.
|
544
611
|
attr_accessor :requested
|
@@ -548,6 +615,24 @@ module Stripe
|
|
548
615
|
end
|
549
616
|
end
|
550
617
|
|
618
|
+
class QrisPayments < Stripe::RequestParams
|
619
|
+
# 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.
|
620
|
+
attr_accessor :requested
|
621
|
+
|
622
|
+
def initialize(requested: nil)
|
623
|
+
@requested = requested
|
624
|
+
end
|
625
|
+
end
|
626
|
+
|
627
|
+
class RechnungPayments < Stripe::RequestParams
|
628
|
+
# 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.
|
629
|
+
attr_accessor :requested
|
630
|
+
|
631
|
+
def initialize(requested: nil)
|
632
|
+
@requested = requested
|
633
|
+
end
|
634
|
+
end
|
635
|
+
|
551
636
|
class RevolutPayPayments < Stripe::RequestParams
|
552
637
|
# 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.
|
553
638
|
attr_accessor :requested
|
@@ -593,6 +678,15 @@ module Stripe
|
|
593
678
|
end
|
594
679
|
end
|
595
680
|
|
681
|
+
class ShopeepayPayments < Stripe::RequestParams
|
682
|
+
# 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.
|
683
|
+
attr_accessor :requested
|
684
|
+
|
685
|
+
def initialize(requested: nil)
|
686
|
+
@requested = requested
|
687
|
+
end
|
688
|
+
end
|
689
|
+
|
596
690
|
class SofortPayments < Stripe::RequestParams
|
597
691
|
# 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
692
|
attr_accessor :requested
|
@@ -602,6 +696,15 @@ module Stripe
|
|
602
696
|
end
|
603
697
|
end
|
604
698
|
|
699
|
+
class StripeBalancePayments < Stripe::RequestParams
|
700
|
+
# 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.
|
701
|
+
attr_accessor :requested
|
702
|
+
|
703
|
+
def initialize(requested: nil)
|
704
|
+
@requested = requested
|
705
|
+
end
|
706
|
+
end
|
707
|
+
|
605
708
|
class SwishPayments < Stripe::RequestParams
|
606
709
|
# 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
710
|
attr_accessor :requested
|
@@ -647,6 +750,33 @@ module Stripe
|
|
647
750
|
end
|
648
751
|
end
|
649
752
|
|
753
|
+
class TreasuryEvolve < Stripe::RequestParams
|
754
|
+
# 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.
|
755
|
+
attr_accessor :requested
|
756
|
+
|
757
|
+
def initialize(requested: nil)
|
758
|
+
@requested = requested
|
759
|
+
end
|
760
|
+
end
|
761
|
+
|
762
|
+
class TreasuryFifthThird < Stripe::RequestParams
|
763
|
+
# 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.
|
764
|
+
attr_accessor :requested
|
765
|
+
|
766
|
+
def initialize(requested: nil)
|
767
|
+
@requested = requested
|
768
|
+
end
|
769
|
+
end
|
770
|
+
|
771
|
+
class TreasuryGoldmanSachs < Stripe::RequestParams
|
772
|
+
# 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.
|
773
|
+
attr_accessor :requested
|
774
|
+
|
775
|
+
def initialize(requested: nil)
|
776
|
+
@requested = requested
|
777
|
+
end
|
778
|
+
end
|
779
|
+
|
650
780
|
class TwintPayments < Stripe::RequestParams
|
651
781
|
# 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.
|
652
782
|
attr_accessor :requested
|
@@ -694,6 +824,8 @@ module Stripe
|
|
694
824
|
attr_accessor :amazon_pay_payments
|
695
825
|
# The au_becs_debit_payments capability.
|
696
826
|
attr_accessor :au_becs_debit_payments
|
827
|
+
# The automatic_indirect_tax capability.
|
828
|
+
attr_accessor :automatic_indirect_tax
|
697
829
|
# The bacs_debit_payments capability.
|
698
830
|
attr_accessor :bacs_debit_payments
|
699
831
|
# The bancontact_payments capability.
|
@@ -722,8 +854,14 @@ module Stripe
|
|
722
854
|
attr_accessor :gb_bank_transfer_payments
|
723
855
|
# The giropay_payments capability.
|
724
856
|
attr_accessor :giropay_payments
|
857
|
+
# The gopay_payments capability.
|
858
|
+
attr_accessor :gopay_payments
|
725
859
|
# The grabpay_payments capability.
|
726
860
|
attr_accessor :grabpay_payments
|
861
|
+
# The id_bank_transfer_payments capability.
|
862
|
+
attr_accessor :id_bank_transfer_payments
|
863
|
+
# The id_bank_transfer_payments_bca capability.
|
864
|
+
attr_accessor :id_bank_transfer_payments_bca
|
727
865
|
# The ideal_payments capability.
|
728
866
|
attr_accessor :ideal_payments
|
729
867
|
# The india_international_payments capability.
|
@@ -744,6 +882,8 @@ module Stripe
|
|
744
882
|
attr_accessor :legacy_payments
|
745
883
|
# The link_payments capability.
|
746
884
|
attr_accessor :link_payments
|
885
|
+
# The mb_way_payments capability.
|
886
|
+
attr_accessor :mb_way_payments
|
747
887
|
# The mobilepay_payments capability.
|
748
888
|
attr_accessor :mobilepay_payments
|
749
889
|
# The multibanco_payments capability.
|
@@ -764,8 +904,16 @@ module Stripe
|
|
764
904
|
attr_accessor :payco_payments
|
765
905
|
# The paynow_payments capability.
|
766
906
|
attr_accessor :paynow_payments
|
907
|
+
# The paypal_payments capability.
|
908
|
+
attr_accessor :paypal_payments
|
909
|
+
# The payto_payments capability.
|
910
|
+
attr_accessor :payto_payments
|
767
911
|
# The promptpay_payments capability.
|
768
912
|
attr_accessor :promptpay_payments
|
913
|
+
# The qris_payments capability.
|
914
|
+
attr_accessor :qris_payments
|
915
|
+
# The rechnung_payments capability.
|
916
|
+
attr_accessor :rechnung_payments
|
769
917
|
# The revolut_pay_payments capability.
|
770
918
|
attr_accessor :revolut_pay_payments
|
771
919
|
# The samsung_pay_payments capability.
|
@@ -776,8 +924,12 @@ module Stripe
|
|
776
924
|
attr_accessor :sepa_bank_transfer_payments
|
777
925
|
# The sepa_debit_payments capability.
|
778
926
|
attr_accessor :sepa_debit_payments
|
927
|
+
# The shopeepay_payments capability.
|
928
|
+
attr_accessor :shopeepay_payments
|
779
929
|
# The sofort_payments capability.
|
780
930
|
attr_accessor :sofort_payments
|
931
|
+
# The stripe_balance_payments capability.
|
932
|
+
attr_accessor :stripe_balance_payments
|
781
933
|
# The swish_payments capability.
|
782
934
|
attr_accessor :swish_payments
|
783
935
|
# The tax_reporting_us_1099_k capability.
|
@@ -788,6 +940,12 @@ module Stripe
|
|
788
940
|
attr_accessor :transfers
|
789
941
|
# The treasury capability.
|
790
942
|
attr_accessor :treasury
|
943
|
+
# The treasury_evolve capability.
|
944
|
+
attr_accessor :treasury_evolve
|
945
|
+
# The treasury_fifth_third capability.
|
946
|
+
attr_accessor :treasury_fifth_third
|
947
|
+
# The treasury_goldman_sachs capability.
|
948
|
+
attr_accessor :treasury_goldman_sachs
|
791
949
|
# The twint_payments capability.
|
792
950
|
attr_accessor :twint_payments
|
793
951
|
# The us_bank_account_ach_payments capability.
|
@@ -804,6 +962,7 @@ module Stripe
|
|
804
962
|
alma_payments: nil,
|
805
963
|
amazon_pay_payments: nil,
|
806
964
|
au_becs_debit_payments: nil,
|
965
|
+
automatic_indirect_tax: nil,
|
807
966
|
bacs_debit_payments: nil,
|
808
967
|
bancontact_payments: nil,
|
809
968
|
bank_transfer_payments: nil,
|
@@ -818,7 +977,10 @@ module Stripe
|
|
818
977
|
fpx_payments: nil,
|
819
978
|
gb_bank_transfer_payments: nil,
|
820
979
|
giropay_payments: nil,
|
980
|
+
gopay_payments: nil,
|
821
981
|
grabpay_payments: nil,
|
982
|
+
id_bank_transfer_payments: nil,
|
983
|
+
id_bank_transfer_payments_bca: nil,
|
822
984
|
ideal_payments: nil,
|
823
985
|
india_international_payments: nil,
|
824
986
|
jcb_payments: nil,
|
@@ -829,6 +991,7 @@ module Stripe
|
|
829
991
|
kr_card_payments: nil,
|
830
992
|
legacy_payments: nil,
|
831
993
|
link_payments: nil,
|
994
|
+
mb_way_payments: nil,
|
832
995
|
mobilepay_payments: nil,
|
833
996
|
multibanco_payments: nil,
|
834
997
|
mx_bank_transfer_payments: nil,
|
@@ -839,18 +1002,27 @@ module Stripe
|
|
839
1002
|
pay_by_bank_payments: nil,
|
840
1003
|
payco_payments: nil,
|
841
1004
|
paynow_payments: nil,
|
1005
|
+
paypal_payments: nil,
|
1006
|
+
payto_payments: nil,
|
842
1007
|
promptpay_payments: nil,
|
1008
|
+
qris_payments: nil,
|
1009
|
+
rechnung_payments: nil,
|
843
1010
|
revolut_pay_payments: nil,
|
844
1011
|
samsung_pay_payments: nil,
|
845
1012
|
satispay_payments: nil,
|
846
1013
|
sepa_bank_transfer_payments: nil,
|
847
1014
|
sepa_debit_payments: nil,
|
1015
|
+
shopeepay_payments: nil,
|
848
1016
|
sofort_payments: nil,
|
1017
|
+
stripe_balance_payments: nil,
|
849
1018
|
swish_payments: nil,
|
850
1019
|
tax_reporting_us_1099_k: nil,
|
851
1020
|
tax_reporting_us_1099_misc: nil,
|
852
1021
|
transfers: nil,
|
853
1022
|
treasury: nil,
|
1023
|
+
treasury_evolve: nil,
|
1024
|
+
treasury_fifth_third: nil,
|
1025
|
+
treasury_goldman_sachs: nil,
|
854
1026
|
twint_payments: nil,
|
855
1027
|
us_bank_account_ach_payments: nil,
|
856
1028
|
us_bank_transfer_payments: nil,
|
@@ -862,6 +1034,7 @@ module Stripe
|
|
862
1034
|
@alma_payments = alma_payments
|
863
1035
|
@amazon_pay_payments = amazon_pay_payments
|
864
1036
|
@au_becs_debit_payments = au_becs_debit_payments
|
1037
|
+
@automatic_indirect_tax = automatic_indirect_tax
|
865
1038
|
@bacs_debit_payments = bacs_debit_payments
|
866
1039
|
@bancontact_payments = bancontact_payments
|
867
1040
|
@bank_transfer_payments = bank_transfer_payments
|
@@ -876,7 +1049,10 @@ module Stripe
|
|
876
1049
|
@fpx_payments = fpx_payments
|
877
1050
|
@gb_bank_transfer_payments = gb_bank_transfer_payments
|
878
1051
|
@giropay_payments = giropay_payments
|
1052
|
+
@gopay_payments = gopay_payments
|
879
1053
|
@grabpay_payments = grabpay_payments
|
1054
|
+
@id_bank_transfer_payments = id_bank_transfer_payments
|
1055
|
+
@id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
|
880
1056
|
@ideal_payments = ideal_payments
|
881
1057
|
@india_international_payments = india_international_payments
|
882
1058
|
@jcb_payments = jcb_payments
|
@@ -887,6 +1063,7 @@ module Stripe
|
|
887
1063
|
@kr_card_payments = kr_card_payments
|
888
1064
|
@legacy_payments = legacy_payments
|
889
1065
|
@link_payments = link_payments
|
1066
|
+
@mb_way_payments = mb_way_payments
|
890
1067
|
@mobilepay_payments = mobilepay_payments
|
891
1068
|
@multibanco_payments = multibanco_payments
|
892
1069
|
@mx_bank_transfer_payments = mx_bank_transfer_payments
|
@@ -897,18 +1074,27 @@ module Stripe
|
|
897
1074
|
@pay_by_bank_payments = pay_by_bank_payments
|
898
1075
|
@payco_payments = payco_payments
|
899
1076
|
@paynow_payments = paynow_payments
|
1077
|
+
@paypal_payments = paypal_payments
|
1078
|
+
@payto_payments = payto_payments
|
900
1079
|
@promptpay_payments = promptpay_payments
|
1080
|
+
@qris_payments = qris_payments
|
1081
|
+
@rechnung_payments = rechnung_payments
|
901
1082
|
@revolut_pay_payments = revolut_pay_payments
|
902
1083
|
@samsung_pay_payments = samsung_pay_payments
|
903
1084
|
@satispay_payments = satispay_payments
|
904
1085
|
@sepa_bank_transfer_payments = sepa_bank_transfer_payments
|
905
1086
|
@sepa_debit_payments = sepa_debit_payments
|
1087
|
+
@shopeepay_payments = shopeepay_payments
|
906
1088
|
@sofort_payments = sofort_payments
|
1089
|
+
@stripe_balance_payments = stripe_balance_payments
|
907
1090
|
@swish_payments = swish_payments
|
908
1091
|
@tax_reporting_us_1099_k = tax_reporting_us_1099_k
|
909
1092
|
@tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
|
910
1093
|
@transfers = transfers
|
911
1094
|
@treasury = treasury
|
1095
|
+
@treasury_evolve = treasury_evolve
|
1096
|
+
@treasury_fifth_third = treasury_fifth_third
|
1097
|
+
@treasury_goldman_sachs = treasury_goldman_sachs
|
912
1098
|
@twint_payments = twint_payments
|
913
1099
|
@us_bank_account_ach_payments = us_bank_account_ach_payments
|
914
1100
|
@us_bank_transfer_payments = us_bank_transfer_payments
|
@@ -1130,6 +1316,21 @@ module Stripe
|
|
1130
1316
|
end
|
1131
1317
|
end
|
1132
1318
|
|
1319
|
+
class RegistrationDate < Stripe::RequestParams
|
1320
|
+
# The day of registration, between 1 and 31.
|
1321
|
+
attr_accessor :day
|
1322
|
+
# The month of registration, between 1 and 12.
|
1323
|
+
attr_accessor :month
|
1324
|
+
# The four-digit year of registration.
|
1325
|
+
attr_accessor :year
|
1326
|
+
|
1327
|
+
def initialize(day: nil, month: nil, year: nil)
|
1328
|
+
@day = day
|
1329
|
+
@month = month
|
1330
|
+
@year = year
|
1331
|
+
end
|
1332
|
+
end
|
1333
|
+
|
1133
1334
|
class Verification < Stripe::RequestParams
|
1134
1335
|
class Document < Stripe::RequestParams
|
1135
1336
|
# The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
@@ -1179,6 +1380,8 @@ module Stripe
|
|
1179
1380
|
attr_accessor :ownership_exemption_reason
|
1180
1381
|
# The company's phone number (used for verification).
|
1181
1382
|
attr_accessor :phone
|
1383
|
+
# Attribute for param field registration_date
|
1384
|
+
attr_accessor :registration_date
|
1182
1385
|
# The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes. (Examples are the CIN for companies and LLP IN for partnerships in India, and the Company Registration Number in Hong Kong).
|
1183
1386
|
attr_accessor :registration_number
|
1184
1387
|
# The category identifying the legal structure of the company or legal entity. See [Business structure](/connect/identity-verification#business-structure) for more details. Pass an empty string to unset this value.
|
@@ -1208,6 +1411,7 @@ module Stripe
|
|
1208
1411
|
ownership_declaration: nil,
|
1209
1412
|
ownership_exemption_reason: nil,
|
1210
1413
|
phone: nil,
|
1414
|
+
registration_date: nil,
|
1211
1415
|
registration_number: nil,
|
1212
1416
|
structure: nil,
|
1213
1417
|
tax_id: nil,
|
@@ -1230,6 +1434,7 @@ module Stripe
|
|
1230
1434
|
@ownership_declaration = ownership_declaration
|
1231
1435
|
@ownership_exemption_reason = ownership_exemption_reason
|
1232
1436
|
@phone = phone
|
1437
|
+
@registration_date = registration_date
|
1233
1438
|
@registration_number = registration_number
|
1234
1439
|
@structure = structure
|
1235
1440
|
@tax_id = tax_id
|
@@ -1665,6 +1870,37 @@ module Stripe
|
|
1665
1870
|
end
|
1666
1871
|
end
|
1667
1872
|
|
1873
|
+
class RiskControls < Stripe::RequestParams
|
1874
|
+
class Charges < Stripe::RequestParams
|
1875
|
+
# To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
1876
|
+
# There can be a delay before the risk control is paused or unpaused.
|
1877
|
+
attr_accessor :pause_requested
|
1878
|
+
|
1879
|
+
def initialize(pause_requested: nil)
|
1880
|
+
@pause_requested = pause_requested
|
1881
|
+
end
|
1882
|
+
end
|
1883
|
+
|
1884
|
+
class Payouts < Stripe::RequestParams
|
1885
|
+
# To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
1886
|
+
# There can be a delay before the risk control is paused or unpaused.
|
1887
|
+
attr_accessor :pause_requested
|
1888
|
+
|
1889
|
+
def initialize(pause_requested: nil)
|
1890
|
+
@pause_requested = pause_requested
|
1891
|
+
end
|
1892
|
+
end
|
1893
|
+
# 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).
|
1894
|
+
attr_accessor :charges
|
1895
|
+
# 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).
|
1896
|
+
attr_accessor :payouts
|
1897
|
+
|
1898
|
+
def initialize(charges: nil, payouts: nil)
|
1899
|
+
@charges = charges
|
1900
|
+
@payouts = payouts
|
1901
|
+
end
|
1902
|
+
end
|
1903
|
+
|
1668
1904
|
class Settings < Stripe::RequestParams
|
1669
1905
|
class BacsDebitPayments < Stripe::RequestParams
|
1670
1906
|
# 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.
|
@@ -1675,6 +1911,18 @@ module Stripe
|
|
1675
1911
|
end
|
1676
1912
|
end
|
1677
1913
|
|
1914
|
+
class BankBcaOnboarding < Stripe::RequestParams
|
1915
|
+
# Bank BCA business account holder name
|
1916
|
+
attr_accessor :account_holder_name
|
1917
|
+
# Bank BCA business account number
|
1918
|
+
attr_accessor :business_account_number
|
1919
|
+
|
1920
|
+
def initialize(account_holder_name: nil, business_account_number: nil)
|
1921
|
+
@account_holder_name = account_holder_name
|
1922
|
+
@business_account_number = business_account_number
|
1923
|
+
end
|
1924
|
+
end
|
1925
|
+
|
1678
1926
|
class Branding < Stripe::RequestParams
|
1679
1927
|
# (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.
|
1680
1928
|
attr_accessor :icon
|
@@ -1693,6 +1941,18 @@ module Stripe
|
|
1693
1941
|
end
|
1694
1942
|
end
|
1695
1943
|
|
1944
|
+
class Capital < Stripe::RequestParams
|
1945
|
+
# Per-currency mapping of user-selected destination accounts used to pay out loans.
|
1946
|
+
attr_accessor :payout_destination
|
1947
|
+
# Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
1948
|
+
attr_accessor :payout_destination_selector
|
1949
|
+
|
1950
|
+
def initialize(payout_destination: nil, payout_destination_selector: nil)
|
1951
|
+
@payout_destination = payout_destination
|
1952
|
+
@payout_destination_selector = payout_destination_selector
|
1953
|
+
end
|
1954
|
+
end
|
1955
|
+
|
1696
1956
|
class CardIssuing < Stripe::RequestParams
|
1697
1957
|
class TosAcceptance < Stripe::RequestParams
|
1698
1958
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
@@ -1813,6 +2073,15 @@ module Stripe
|
|
1813
2073
|
end
|
1814
2074
|
end
|
1815
2075
|
|
2076
|
+
class TaxForms < Stripe::RequestParams
|
2077
|
+
# Whether the account opted out of receiving their tax forms by postal delivery.
|
2078
|
+
attr_accessor :consented_to_paperless_delivery
|
2079
|
+
|
2080
|
+
def initialize(consented_to_paperless_delivery: nil)
|
2081
|
+
@consented_to_paperless_delivery = consented_to_paperless_delivery
|
2082
|
+
end
|
2083
|
+
end
|
2084
|
+
|
1816
2085
|
class Treasury < Stripe::RequestParams
|
1817
2086
|
class TosAcceptance < Stripe::RequestParams
|
1818
2087
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
@@ -1837,8 +2106,12 @@ module Stripe
|
|
1837
2106
|
end
|
1838
2107
|
# Settings specific to Bacs Direct Debit payments.
|
1839
2108
|
attr_accessor :bacs_debit_payments
|
2109
|
+
# Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
2110
|
+
attr_accessor :bank_bca_onboarding
|
1840
2111
|
# Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
1841
2112
|
attr_accessor :branding
|
2113
|
+
# Settings specific to the account's use of the Capital product.
|
2114
|
+
attr_accessor :capital
|
1842
2115
|
# Settings specific to the account's use of the Card Issuing product.
|
1843
2116
|
attr_accessor :card_issuing
|
1844
2117
|
# Settings specific to card charging on the account.
|
@@ -1849,26 +2122,34 @@ module Stripe
|
|
1849
2122
|
attr_accessor :payments
|
1850
2123
|
# Settings specific to the account's payouts.
|
1851
2124
|
attr_accessor :payouts
|
2125
|
+
# Settings specific to the account's tax forms.
|
2126
|
+
attr_accessor :tax_forms
|
1852
2127
|
# Settings specific to the account's Treasury FinancialAccounts.
|
1853
2128
|
attr_accessor :treasury
|
1854
2129
|
|
1855
2130
|
def initialize(
|
1856
2131
|
bacs_debit_payments: nil,
|
2132
|
+
bank_bca_onboarding: nil,
|
1857
2133
|
branding: nil,
|
2134
|
+
capital: nil,
|
1858
2135
|
card_issuing: nil,
|
1859
2136
|
card_payments: nil,
|
1860
2137
|
invoices: nil,
|
1861
2138
|
payments: nil,
|
1862
2139
|
payouts: nil,
|
2140
|
+
tax_forms: nil,
|
1863
2141
|
treasury: nil
|
1864
2142
|
)
|
1865
2143
|
@bacs_debit_payments = bacs_debit_payments
|
2144
|
+
@bank_bca_onboarding = bank_bca_onboarding
|
1866
2145
|
@branding = branding
|
2146
|
+
@capital = capital
|
1867
2147
|
@card_issuing = card_issuing
|
1868
2148
|
@card_payments = card_payments
|
1869
2149
|
@invoices = invoices
|
1870
2150
|
@payments = payments
|
1871
2151
|
@payouts = payouts
|
2152
|
+
@tax_forms = tax_forms
|
1872
2153
|
@treasury = treasury
|
1873
2154
|
end
|
1874
2155
|
end
|
@@ -1923,6 +2204,8 @@ module Stripe
|
|
1923
2204
|
attr_accessor :individual
|
1924
2205
|
# 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`.
|
1925
2206
|
attr_accessor :metadata
|
2207
|
+
# A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
|
2208
|
+
attr_accessor :risk_controls
|
1926
2209
|
# Options for customizing how the account functions within Stripe.
|
1927
2210
|
attr_accessor :settings
|
1928
2211
|
# 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.
|
@@ -1942,6 +2225,7 @@ module Stripe
|
|
1942
2225
|
groups: nil,
|
1943
2226
|
individual: nil,
|
1944
2227
|
metadata: nil,
|
2228
|
+
risk_controls: nil,
|
1945
2229
|
settings: nil,
|
1946
2230
|
tos_acceptance: nil
|
1947
2231
|
)
|
@@ -1958,6 +2242,7 @@ module Stripe
|
|
1958
2242
|
@groups = groups
|
1959
2243
|
@individual = individual
|
1960
2244
|
@metadata = metadata
|
2245
|
+
@risk_controls = risk_controls
|
1961
2246
|
@settings = settings
|
1962
2247
|
@tos_acceptance = tos_acceptance
|
1963
2248
|
end
|
@@ -2110,6 +2395,8 @@ module Stripe
|
|
2110
2395
|
attr_accessor :estimated_worker_count
|
2111
2396
|
# [The merchant category code for the account](/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
|
2112
2397
|
attr_accessor :mcc
|
2398
|
+
# Whether the business is a minority-owned, women-owned, and/or LGBTQI+-owned business.
|
2399
|
+
attr_accessor :minority_owned_business_designation
|
2113
2400
|
# An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.
|
2114
2401
|
attr_accessor :monthly_estimated_revenue
|
2115
2402
|
# The customer-facing business name.
|
@@ -2131,6 +2418,7 @@ module Stripe
|
|
2131
2418
|
annual_revenue: nil,
|
2132
2419
|
estimated_worker_count: nil,
|
2133
2420
|
mcc: nil,
|
2421
|
+
minority_owned_business_designation: nil,
|
2134
2422
|
monthly_estimated_revenue: nil,
|
2135
2423
|
name: nil,
|
2136
2424
|
product_description: nil,
|
@@ -2143,6 +2431,7 @@ module Stripe
|
|
2143
2431
|
@annual_revenue = annual_revenue
|
2144
2432
|
@estimated_worker_count = estimated_worker_count
|
2145
2433
|
@mcc = mcc
|
2434
|
+
@minority_owned_business_designation = minority_owned_business_designation
|
2146
2435
|
@monthly_estimated_revenue = monthly_estimated_revenue
|
2147
2436
|
@name = name
|
2148
2437
|
@product_description = product_description
|
@@ -2209,6 +2498,15 @@ module Stripe
|
|
2209
2498
|
end
|
2210
2499
|
end
|
2211
2500
|
|
2501
|
+
class AutomaticIndirectTax < Stripe::RequestParams
|
2502
|
+
# 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.
|
2503
|
+
attr_accessor :requested
|
2504
|
+
|
2505
|
+
def initialize(requested: nil)
|
2506
|
+
@requested = requested
|
2507
|
+
end
|
2508
|
+
end
|
2509
|
+
|
2212
2510
|
class BacsDebitPayments < Stripe::RequestParams
|
2213
2511
|
# 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.
|
2214
2512
|
attr_accessor :requested
|
@@ -2335,6 +2633,15 @@ module Stripe
|
|
2335
2633
|
end
|
2336
2634
|
end
|
2337
2635
|
|
2636
|
+
class GopayPayments < 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
|
+
|
2338
2645
|
class GrabpayPayments < Stripe::RequestParams
|
2339
2646
|
# 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.
|
2340
2647
|
attr_accessor :requested
|
@@ -2344,6 +2651,24 @@ module Stripe
|
|
2344
2651
|
end
|
2345
2652
|
end
|
2346
2653
|
|
2654
|
+
class IdBankTransferPayments < Stripe::RequestParams
|
2655
|
+
# 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.
|
2656
|
+
attr_accessor :requested
|
2657
|
+
|
2658
|
+
def initialize(requested: nil)
|
2659
|
+
@requested = requested
|
2660
|
+
end
|
2661
|
+
end
|
2662
|
+
|
2663
|
+
class IdBankTransferPaymentsBca < Stripe::RequestParams
|
2664
|
+
# 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.
|
2665
|
+
attr_accessor :requested
|
2666
|
+
|
2667
|
+
def initialize(requested: nil)
|
2668
|
+
@requested = requested
|
2669
|
+
end
|
2670
|
+
end
|
2671
|
+
|
2347
2672
|
class IdealPayments < Stripe::RequestParams
|
2348
2673
|
# 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.
|
2349
2674
|
attr_accessor :requested
|
@@ -2434,6 +2759,15 @@ module Stripe
|
|
2434
2759
|
end
|
2435
2760
|
end
|
2436
2761
|
|
2762
|
+
class MbWayPayments < Stripe::RequestParams
|
2763
|
+
# 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.
|
2764
|
+
attr_accessor :requested
|
2765
|
+
|
2766
|
+
def initialize(requested: nil)
|
2767
|
+
@requested = requested
|
2768
|
+
end
|
2769
|
+
end
|
2770
|
+
|
2437
2771
|
class MobilepayPayments < Stripe::RequestParams
|
2438
2772
|
# 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.
|
2439
2773
|
attr_accessor :requested
|
@@ -2524,6 +2858,24 @@ module Stripe
|
|
2524
2858
|
end
|
2525
2859
|
end
|
2526
2860
|
|
2861
|
+
class PaypalPayments < 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 PaytoPayments < 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
|
+
|
2527
2879
|
class PromptpayPayments < Stripe::RequestParams
|
2528
2880
|
# 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.
|
2529
2881
|
attr_accessor :requested
|
@@ -2533,6 +2885,24 @@ module Stripe
|
|
2533
2885
|
end
|
2534
2886
|
end
|
2535
2887
|
|
2888
|
+
class QrisPayments < Stripe::RequestParams
|
2889
|
+
# 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.
|
2890
|
+
attr_accessor :requested
|
2891
|
+
|
2892
|
+
def initialize(requested: nil)
|
2893
|
+
@requested = requested
|
2894
|
+
end
|
2895
|
+
end
|
2896
|
+
|
2897
|
+
class RechnungPayments < Stripe::RequestParams
|
2898
|
+
# 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.
|
2899
|
+
attr_accessor :requested
|
2900
|
+
|
2901
|
+
def initialize(requested: nil)
|
2902
|
+
@requested = requested
|
2903
|
+
end
|
2904
|
+
end
|
2905
|
+
|
2536
2906
|
class RevolutPayPayments < Stripe::RequestParams
|
2537
2907
|
# 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.
|
2538
2908
|
attr_accessor :requested
|
@@ -2578,6 +2948,15 @@ module Stripe
|
|
2578
2948
|
end
|
2579
2949
|
end
|
2580
2950
|
|
2951
|
+
class ShopeepayPayments < Stripe::RequestParams
|
2952
|
+
# 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
|
+
attr_accessor :requested
|
2954
|
+
|
2955
|
+
def initialize(requested: nil)
|
2956
|
+
@requested = requested
|
2957
|
+
end
|
2958
|
+
end
|
2959
|
+
|
2581
2960
|
class SofortPayments < Stripe::RequestParams
|
2582
2961
|
# 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.
|
2583
2962
|
attr_accessor :requested
|
@@ -2587,6 +2966,15 @@ module Stripe
|
|
2587
2966
|
end
|
2588
2967
|
end
|
2589
2968
|
|
2969
|
+
class StripeBalancePayments < Stripe::RequestParams
|
2970
|
+
# 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.
|
2971
|
+
attr_accessor :requested
|
2972
|
+
|
2973
|
+
def initialize(requested: nil)
|
2974
|
+
@requested = requested
|
2975
|
+
end
|
2976
|
+
end
|
2977
|
+
|
2590
2978
|
class SwishPayments < Stripe::RequestParams
|
2591
2979
|
# 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.
|
2592
2980
|
attr_accessor :requested
|
@@ -2632,6 +3020,33 @@ module Stripe
|
|
2632
3020
|
end
|
2633
3021
|
end
|
2634
3022
|
|
3023
|
+
class TreasuryEvolve < Stripe::RequestParams
|
3024
|
+
# 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
|
+
attr_accessor :requested
|
3026
|
+
|
3027
|
+
def initialize(requested: nil)
|
3028
|
+
@requested = requested
|
3029
|
+
end
|
3030
|
+
end
|
3031
|
+
|
3032
|
+
class TreasuryFifthThird < Stripe::RequestParams
|
3033
|
+
# 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.
|
3034
|
+
attr_accessor :requested
|
3035
|
+
|
3036
|
+
def initialize(requested: nil)
|
3037
|
+
@requested = requested
|
3038
|
+
end
|
3039
|
+
end
|
3040
|
+
|
3041
|
+
class TreasuryGoldmanSachs < Stripe::RequestParams
|
3042
|
+
# 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.
|
3043
|
+
attr_accessor :requested
|
3044
|
+
|
3045
|
+
def initialize(requested: nil)
|
3046
|
+
@requested = requested
|
3047
|
+
end
|
3048
|
+
end
|
3049
|
+
|
2635
3050
|
class TwintPayments < Stripe::RequestParams
|
2636
3051
|
# 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.
|
2637
3052
|
attr_accessor :requested
|
@@ -2679,6 +3094,8 @@ module Stripe
|
|
2679
3094
|
attr_accessor :amazon_pay_payments
|
2680
3095
|
# The au_becs_debit_payments capability.
|
2681
3096
|
attr_accessor :au_becs_debit_payments
|
3097
|
+
# The automatic_indirect_tax capability.
|
3098
|
+
attr_accessor :automatic_indirect_tax
|
2682
3099
|
# The bacs_debit_payments capability.
|
2683
3100
|
attr_accessor :bacs_debit_payments
|
2684
3101
|
# The bancontact_payments capability.
|
@@ -2707,8 +3124,14 @@ module Stripe
|
|
2707
3124
|
attr_accessor :gb_bank_transfer_payments
|
2708
3125
|
# The giropay_payments capability.
|
2709
3126
|
attr_accessor :giropay_payments
|
3127
|
+
# The gopay_payments capability.
|
3128
|
+
attr_accessor :gopay_payments
|
2710
3129
|
# The grabpay_payments capability.
|
2711
3130
|
attr_accessor :grabpay_payments
|
3131
|
+
# The id_bank_transfer_payments capability.
|
3132
|
+
attr_accessor :id_bank_transfer_payments
|
3133
|
+
# The id_bank_transfer_payments_bca capability.
|
3134
|
+
attr_accessor :id_bank_transfer_payments_bca
|
2712
3135
|
# The ideal_payments capability.
|
2713
3136
|
attr_accessor :ideal_payments
|
2714
3137
|
# The india_international_payments capability.
|
@@ -2729,6 +3152,8 @@ module Stripe
|
|
2729
3152
|
attr_accessor :legacy_payments
|
2730
3153
|
# The link_payments capability.
|
2731
3154
|
attr_accessor :link_payments
|
3155
|
+
# The mb_way_payments capability.
|
3156
|
+
attr_accessor :mb_way_payments
|
2732
3157
|
# The mobilepay_payments capability.
|
2733
3158
|
attr_accessor :mobilepay_payments
|
2734
3159
|
# The multibanco_payments capability.
|
@@ -2749,8 +3174,16 @@ module Stripe
|
|
2749
3174
|
attr_accessor :payco_payments
|
2750
3175
|
# The paynow_payments capability.
|
2751
3176
|
attr_accessor :paynow_payments
|
3177
|
+
# The paypal_payments capability.
|
3178
|
+
attr_accessor :paypal_payments
|
3179
|
+
# The payto_payments capability.
|
3180
|
+
attr_accessor :payto_payments
|
2752
3181
|
# The promptpay_payments capability.
|
2753
3182
|
attr_accessor :promptpay_payments
|
3183
|
+
# The qris_payments capability.
|
3184
|
+
attr_accessor :qris_payments
|
3185
|
+
# The rechnung_payments capability.
|
3186
|
+
attr_accessor :rechnung_payments
|
2754
3187
|
# The revolut_pay_payments capability.
|
2755
3188
|
attr_accessor :revolut_pay_payments
|
2756
3189
|
# The samsung_pay_payments capability.
|
@@ -2761,8 +3194,12 @@ module Stripe
|
|
2761
3194
|
attr_accessor :sepa_bank_transfer_payments
|
2762
3195
|
# The sepa_debit_payments capability.
|
2763
3196
|
attr_accessor :sepa_debit_payments
|
3197
|
+
# The shopeepay_payments capability.
|
3198
|
+
attr_accessor :shopeepay_payments
|
2764
3199
|
# The sofort_payments capability.
|
2765
3200
|
attr_accessor :sofort_payments
|
3201
|
+
# The stripe_balance_payments capability.
|
3202
|
+
attr_accessor :stripe_balance_payments
|
2766
3203
|
# The swish_payments capability.
|
2767
3204
|
attr_accessor :swish_payments
|
2768
3205
|
# The tax_reporting_us_1099_k capability.
|
@@ -2773,6 +3210,12 @@ module Stripe
|
|
2773
3210
|
attr_accessor :transfers
|
2774
3211
|
# The treasury capability.
|
2775
3212
|
attr_accessor :treasury
|
3213
|
+
# The treasury_evolve capability.
|
3214
|
+
attr_accessor :treasury_evolve
|
3215
|
+
# The treasury_fifth_third capability.
|
3216
|
+
attr_accessor :treasury_fifth_third
|
3217
|
+
# The treasury_goldman_sachs capability.
|
3218
|
+
attr_accessor :treasury_goldman_sachs
|
2776
3219
|
# The twint_payments capability.
|
2777
3220
|
attr_accessor :twint_payments
|
2778
3221
|
# The us_bank_account_ach_payments capability.
|
@@ -2789,6 +3232,7 @@ module Stripe
|
|
2789
3232
|
alma_payments: nil,
|
2790
3233
|
amazon_pay_payments: nil,
|
2791
3234
|
au_becs_debit_payments: nil,
|
3235
|
+
automatic_indirect_tax: nil,
|
2792
3236
|
bacs_debit_payments: nil,
|
2793
3237
|
bancontact_payments: nil,
|
2794
3238
|
bank_transfer_payments: nil,
|
@@ -2803,7 +3247,10 @@ module Stripe
|
|
2803
3247
|
fpx_payments: nil,
|
2804
3248
|
gb_bank_transfer_payments: nil,
|
2805
3249
|
giropay_payments: nil,
|
3250
|
+
gopay_payments: nil,
|
2806
3251
|
grabpay_payments: nil,
|
3252
|
+
id_bank_transfer_payments: nil,
|
3253
|
+
id_bank_transfer_payments_bca: nil,
|
2807
3254
|
ideal_payments: nil,
|
2808
3255
|
india_international_payments: nil,
|
2809
3256
|
jcb_payments: nil,
|
@@ -2814,6 +3261,7 @@ module Stripe
|
|
2814
3261
|
kr_card_payments: nil,
|
2815
3262
|
legacy_payments: nil,
|
2816
3263
|
link_payments: nil,
|
3264
|
+
mb_way_payments: nil,
|
2817
3265
|
mobilepay_payments: nil,
|
2818
3266
|
multibanco_payments: nil,
|
2819
3267
|
mx_bank_transfer_payments: nil,
|
@@ -2824,18 +3272,27 @@ module Stripe
|
|
2824
3272
|
pay_by_bank_payments: nil,
|
2825
3273
|
payco_payments: nil,
|
2826
3274
|
paynow_payments: nil,
|
3275
|
+
paypal_payments: nil,
|
3276
|
+
payto_payments: nil,
|
2827
3277
|
promptpay_payments: nil,
|
3278
|
+
qris_payments: nil,
|
3279
|
+
rechnung_payments: nil,
|
2828
3280
|
revolut_pay_payments: nil,
|
2829
3281
|
samsung_pay_payments: nil,
|
2830
3282
|
satispay_payments: nil,
|
2831
3283
|
sepa_bank_transfer_payments: nil,
|
2832
3284
|
sepa_debit_payments: nil,
|
3285
|
+
shopeepay_payments: nil,
|
2833
3286
|
sofort_payments: nil,
|
3287
|
+
stripe_balance_payments: nil,
|
2834
3288
|
swish_payments: nil,
|
2835
3289
|
tax_reporting_us_1099_k: nil,
|
2836
3290
|
tax_reporting_us_1099_misc: nil,
|
2837
3291
|
transfers: nil,
|
2838
3292
|
treasury: nil,
|
3293
|
+
treasury_evolve: nil,
|
3294
|
+
treasury_fifth_third: nil,
|
3295
|
+
treasury_goldman_sachs: nil,
|
2839
3296
|
twint_payments: nil,
|
2840
3297
|
us_bank_account_ach_payments: nil,
|
2841
3298
|
us_bank_transfer_payments: nil,
|
@@ -2847,6 +3304,7 @@ module Stripe
|
|
2847
3304
|
@alma_payments = alma_payments
|
2848
3305
|
@amazon_pay_payments = amazon_pay_payments
|
2849
3306
|
@au_becs_debit_payments = au_becs_debit_payments
|
3307
|
+
@automatic_indirect_tax = automatic_indirect_tax
|
2850
3308
|
@bacs_debit_payments = bacs_debit_payments
|
2851
3309
|
@bancontact_payments = bancontact_payments
|
2852
3310
|
@bank_transfer_payments = bank_transfer_payments
|
@@ -2861,7 +3319,10 @@ module Stripe
|
|
2861
3319
|
@fpx_payments = fpx_payments
|
2862
3320
|
@gb_bank_transfer_payments = gb_bank_transfer_payments
|
2863
3321
|
@giropay_payments = giropay_payments
|
3322
|
+
@gopay_payments = gopay_payments
|
2864
3323
|
@grabpay_payments = grabpay_payments
|
3324
|
+
@id_bank_transfer_payments = id_bank_transfer_payments
|
3325
|
+
@id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
|
2865
3326
|
@ideal_payments = ideal_payments
|
2866
3327
|
@india_international_payments = india_international_payments
|
2867
3328
|
@jcb_payments = jcb_payments
|
@@ -2872,6 +3333,7 @@ module Stripe
|
|
2872
3333
|
@kr_card_payments = kr_card_payments
|
2873
3334
|
@legacy_payments = legacy_payments
|
2874
3335
|
@link_payments = link_payments
|
3336
|
+
@mb_way_payments = mb_way_payments
|
2875
3337
|
@mobilepay_payments = mobilepay_payments
|
2876
3338
|
@multibanco_payments = multibanco_payments
|
2877
3339
|
@mx_bank_transfer_payments = mx_bank_transfer_payments
|
@@ -2882,18 +3344,27 @@ module Stripe
|
|
2882
3344
|
@pay_by_bank_payments = pay_by_bank_payments
|
2883
3345
|
@payco_payments = payco_payments
|
2884
3346
|
@paynow_payments = paynow_payments
|
3347
|
+
@paypal_payments = paypal_payments
|
3348
|
+
@payto_payments = payto_payments
|
2885
3349
|
@promptpay_payments = promptpay_payments
|
3350
|
+
@qris_payments = qris_payments
|
3351
|
+
@rechnung_payments = rechnung_payments
|
2886
3352
|
@revolut_pay_payments = revolut_pay_payments
|
2887
3353
|
@samsung_pay_payments = samsung_pay_payments
|
2888
3354
|
@satispay_payments = satispay_payments
|
2889
3355
|
@sepa_bank_transfer_payments = sepa_bank_transfer_payments
|
2890
3356
|
@sepa_debit_payments = sepa_debit_payments
|
3357
|
+
@shopeepay_payments = shopeepay_payments
|
2891
3358
|
@sofort_payments = sofort_payments
|
3359
|
+
@stripe_balance_payments = stripe_balance_payments
|
2892
3360
|
@swish_payments = swish_payments
|
2893
3361
|
@tax_reporting_us_1099_k = tax_reporting_us_1099_k
|
2894
3362
|
@tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
|
2895
3363
|
@transfers = transfers
|
2896
3364
|
@treasury = treasury
|
3365
|
+
@treasury_evolve = treasury_evolve
|
3366
|
+
@treasury_fifth_third = treasury_fifth_third
|
3367
|
+
@treasury_goldman_sachs = treasury_goldman_sachs
|
2897
3368
|
@twint_payments = twint_payments
|
2898
3369
|
@us_bank_account_ach_payments = us_bank_account_ach_payments
|
2899
3370
|
@us_bank_transfer_payments = us_bank_transfer_payments
|
@@ -3115,6 +3586,21 @@ module Stripe
|
|
3115
3586
|
end
|
3116
3587
|
end
|
3117
3588
|
|
3589
|
+
class RegistrationDate < Stripe::RequestParams
|
3590
|
+
# The day of registration, between 1 and 31.
|
3591
|
+
attr_accessor :day
|
3592
|
+
# The month of registration, between 1 and 12.
|
3593
|
+
attr_accessor :month
|
3594
|
+
# The four-digit year of registration.
|
3595
|
+
attr_accessor :year
|
3596
|
+
|
3597
|
+
def initialize(day: nil, month: nil, year: nil)
|
3598
|
+
@day = day
|
3599
|
+
@month = month
|
3600
|
+
@year = year
|
3601
|
+
end
|
3602
|
+
end
|
3603
|
+
|
3118
3604
|
class Verification < Stripe::RequestParams
|
3119
3605
|
class Document < Stripe::RequestParams
|
3120
3606
|
# The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
@@ -3164,6 +3650,8 @@ module Stripe
|
|
3164
3650
|
attr_accessor :ownership_exemption_reason
|
3165
3651
|
# The company's phone number (used for verification).
|
3166
3652
|
attr_accessor :phone
|
3653
|
+
# Attribute for param field registration_date
|
3654
|
+
attr_accessor :registration_date
|
3167
3655
|
# The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes. (Examples are the CIN for companies and LLP IN for partnerships in India, and the Company Registration Number in Hong Kong).
|
3168
3656
|
attr_accessor :registration_number
|
3169
3657
|
# The category identifying the legal structure of the company or legal entity. See [Business structure](/connect/identity-verification#business-structure) for more details. Pass an empty string to unset this value.
|
@@ -3193,6 +3681,7 @@ module Stripe
|
|
3193
3681
|
ownership_declaration: nil,
|
3194
3682
|
ownership_exemption_reason: nil,
|
3195
3683
|
phone: nil,
|
3684
|
+
registration_date: nil,
|
3196
3685
|
registration_number: nil,
|
3197
3686
|
structure: nil,
|
3198
3687
|
tax_id: nil,
|
@@ -3215,6 +3704,7 @@ module Stripe
|
|
3215
3704
|
@ownership_declaration = ownership_declaration
|
3216
3705
|
@ownership_exemption_reason = ownership_exemption_reason
|
3217
3706
|
@phone = phone
|
3707
|
+
@registration_date = registration_date
|
3218
3708
|
@registration_number = registration_number
|
3219
3709
|
@structure = structure
|
3220
3710
|
@tax_id = tax_id
|
@@ -3225,6 +3715,30 @@ module Stripe
|
|
3225
3715
|
end
|
3226
3716
|
|
3227
3717
|
class Controller < Stripe::RequestParams
|
3718
|
+
class Application < Stripe::RequestParams
|
3719
|
+
# Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
|
3720
|
+
attr_accessor :loss_liable
|
3721
|
+
# Whether the controller owns onboarding for this account.
|
3722
|
+
attr_accessor :onboarding_owner
|
3723
|
+
# Whether the controller has pricing controls for this account.
|
3724
|
+
attr_accessor :pricing_controls
|
3725
|
+
|
3726
|
+
def initialize(loss_liable: nil, onboarding_owner: nil, pricing_controls: nil)
|
3727
|
+
@loss_liable = loss_liable
|
3728
|
+
@onboarding_owner = onboarding_owner
|
3729
|
+
@pricing_controls = pricing_controls
|
3730
|
+
end
|
3731
|
+
end
|
3732
|
+
|
3733
|
+
class Dashboard < Stripe::RequestParams
|
3734
|
+
# 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`.
|
3735
|
+
attr_accessor :type
|
3736
|
+
|
3737
|
+
def initialize(type: nil)
|
3738
|
+
@type = type
|
3739
|
+
end
|
3740
|
+
end
|
3741
|
+
|
3228
3742
|
class Fees < Stripe::RequestParams
|
3229
3743
|
# 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).
|
3230
3744
|
attr_accessor :payer
|
@@ -3251,6 +3765,10 @@ module Stripe
|
|
3251
3765
|
@type = type
|
3252
3766
|
end
|
3253
3767
|
end
|
3768
|
+
# A hash of configuration describing the Connect application that controls the account.
|
3769
|
+
attr_accessor :application
|
3770
|
+
# Properties of the account's dashboard.
|
3771
|
+
attr_accessor :dashboard
|
3254
3772
|
# A hash of configuration for who pays Stripe fees for product usage on this account.
|
3255
3773
|
attr_accessor :fees
|
3256
3774
|
# A hash of configuration for products that have negative balance liability, and whether Stripe or a Connect application is responsible for them.
|
@@ -3260,7 +3778,16 @@ module Stripe
|
|
3260
3778
|
# A hash of configuration for Stripe-hosted dashboards.
|
3261
3779
|
attr_accessor :stripe_dashboard
|
3262
3780
|
|
3263
|
-
def initialize(
|
3781
|
+
def initialize(
|
3782
|
+
application: nil,
|
3783
|
+
dashboard: nil,
|
3784
|
+
fees: nil,
|
3785
|
+
losses: nil,
|
3786
|
+
requirement_collection: nil,
|
3787
|
+
stripe_dashboard: nil
|
3788
|
+
)
|
3789
|
+
@application = application
|
3790
|
+
@dashboard = dashboard
|
3264
3791
|
@fees = fees
|
3265
3792
|
@losses = losses
|
3266
3793
|
@requirement_collection = requirement_collection
|
@@ -3694,6 +4221,37 @@ module Stripe
|
|
3694
4221
|
end
|
3695
4222
|
end
|
3696
4223
|
|
4224
|
+
class RiskControls < Stripe::RequestParams
|
4225
|
+
class Charges < Stripe::RequestParams
|
4226
|
+
# To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
4227
|
+
# There can be a delay before the risk control is paused or unpaused.
|
4228
|
+
attr_accessor :pause_requested
|
4229
|
+
|
4230
|
+
def initialize(pause_requested: nil)
|
4231
|
+
@pause_requested = pause_requested
|
4232
|
+
end
|
4233
|
+
end
|
4234
|
+
|
4235
|
+
class Payouts < Stripe::RequestParams
|
4236
|
+
# To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
4237
|
+
# There can be a delay before the risk control is paused or unpaused.
|
4238
|
+
attr_accessor :pause_requested
|
4239
|
+
|
4240
|
+
def initialize(pause_requested: nil)
|
4241
|
+
@pause_requested = pause_requested
|
4242
|
+
end
|
4243
|
+
end
|
4244
|
+
# 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).
|
4245
|
+
attr_accessor :charges
|
4246
|
+
# 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).
|
4247
|
+
attr_accessor :payouts
|
4248
|
+
|
4249
|
+
def initialize(charges: nil, payouts: nil)
|
4250
|
+
@charges = charges
|
4251
|
+
@payouts = payouts
|
4252
|
+
end
|
4253
|
+
end
|
4254
|
+
|
3697
4255
|
class Settings < Stripe::RequestParams
|
3698
4256
|
class BacsDebitPayments < Stripe::RequestParams
|
3699
4257
|
# 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.
|
@@ -3704,6 +4262,18 @@ module Stripe
|
|
3704
4262
|
end
|
3705
4263
|
end
|
3706
4264
|
|
4265
|
+
class BankBcaOnboarding < Stripe::RequestParams
|
4266
|
+
# Bank BCA business account holder name
|
4267
|
+
attr_accessor :account_holder_name
|
4268
|
+
# Bank BCA business account number
|
4269
|
+
attr_accessor :business_account_number
|
4270
|
+
|
4271
|
+
def initialize(account_holder_name: nil, business_account_number: nil)
|
4272
|
+
@account_holder_name = account_holder_name
|
4273
|
+
@business_account_number = business_account_number
|
4274
|
+
end
|
4275
|
+
end
|
4276
|
+
|
3707
4277
|
class Branding < Stripe::RequestParams
|
3708
4278
|
# (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.
|
3709
4279
|
attr_accessor :icon
|
@@ -3722,6 +4292,18 @@ module Stripe
|
|
3722
4292
|
end
|
3723
4293
|
end
|
3724
4294
|
|
4295
|
+
class Capital < Stripe::RequestParams
|
4296
|
+
# Per-currency mapping of user-selected destination accounts used to pay out loans.
|
4297
|
+
attr_accessor :payout_destination
|
4298
|
+
# Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
4299
|
+
attr_accessor :payout_destination_selector
|
4300
|
+
|
4301
|
+
def initialize(payout_destination: nil, payout_destination_selector: nil)
|
4302
|
+
@payout_destination = payout_destination
|
4303
|
+
@payout_destination_selector = payout_destination_selector
|
4304
|
+
end
|
4305
|
+
end
|
4306
|
+
|
3725
4307
|
class CardIssuing < Stripe::RequestParams
|
3726
4308
|
class TosAcceptance < Stripe::RequestParams
|
3727
4309
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
@@ -3839,6 +4421,15 @@ module Stripe
|
|
3839
4421
|
end
|
3840
4422
|
end
|
3841
4423
|
|
4424
|
+
class TaxForms < Stripe::RequestParams
|
4425
|
+
# Whether the account opted out of receiving their tax forms by postal delivery.
|
4426
|
+
attr_accessor :consented_to_paperless_delivery
|
4427
|
+
|
4428
|
+
def initialize(consented_to_paperless_delivery: nil)
|
4429
|
+
@consented_to_paperless_delivery = consented_to_paperless_delivery
|
4430
|
+
end
|
4431
|
+
end
|
4432
|
+
|
3842
4433
|
class Treasury < Stripe::RequestParams
|
3843
4434
|
class TosAcceptance < Stripe::RequestParams
|
3844
4435
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
@@ -3863,8 +4454,12 @@ module Stripe
|
|
3863
4454
|
end
|
3864
4455
|
# Settings specific to Bacs Direct Debit.
|
3865
4456
|
attr_accessor :bacs_debit_payments
|
4457
|
+
# Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
4458
|
+
attr_accessor :bank_bca_onboarding
|
3866
4459
|
# Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
3867
4460
|
attr_accessor :branding
|
4461
|
+
# Settings specific to the account's use of the Capital product.
|
4462
|
+
attr_accessor :capital
|
3868
4463
|
# Settings specific to the account's use of the Card Issuing product.
|
3869
4464
|
attr_accessor :card_issuing
|
3870
4465
|
# Settings specific to card charging on the account.
|
@@ -3875,26 +4470,34 @@ module Stripe
|
|
3875
4470
|
attr_accessor :payments
|
3876
4471
|
# Settings specific to the account's payouts.
|
3877
4472
|
attr_accessor :payouts
|
4473
|
+
# Settings specific to the account's tax forms.
|
4474
|
+
attr_accessor :tax_forms
|
3878
4475
|
# Settings specific to the account's Treasury FinancialAccounts.
|
3879
4476
|
attr_accessor :treasury
|
3880
4477
|
|
3881
4478
|
def initialize(
|
3882
4479
|
bacs_debit_payments: nil,
|
4480
|
+
bank_bca_onboarding: nil,
|
3883
4481
|
branding: nil,
|
4482
|
+
capital: nil,
|
3884
4483
|
card_issuing: nil,
|
3885
4484
|
card_payments: nil,
|
3886
4485
|
invoices: nil,
|
3887
4486
|
payments: nil,
|
3888
4487
|
payouts: nil,
|
4488
|
+
tax_forms: nil,
|
3889
4489
|
treasury: nil
|
3890
4490
|
)
|
3891
4491
|
@bacs_debit_payments = bacs_debit_payments
|
4492
|
+
@bank_bca_onboarding = bank_bca_onboarding
|
3892
4493
|
@branding = branding
|
4494
|
+
@capital = capital
|
3893
4495
|
@card_issuing = card_issuing
|
3894
4496
|
@card_payments = card_payments
|
3895
4497
|
@invoices = invoices
|
3896
4498
|
@payments = payments
|
3897
4499
|
@payouts = payouts
|
4500
|
+
@tax_forms = tax_forms
|
3898
4501
|
@treasury = treasury
|
3899
4502
|
end
|
3900
4503
|
end
|
@@ -3953,6 +4556,8 @@ module Stripe
|
|
3953
4556
|
attr_accessor :individual
|
3954
4557
|
# 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`.
|
3955
4558
|
attr_accessor :metadata
|
4559
|
+
# A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
|
4560
|
+
attr_accessor :risk_controls
|
3956
4561
|
# Options for customizing how the account functions within Stripe.
|
3957
4562
|
attr_accessor :settings
|
3958
4563
|
# 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.
|
@@ -3976,6 +4581,7 @@ module Stripe
|
|
3976
4581
|
groups: nil,
|
3977
4582
|
individual: nil,
|
3978
4583
|
metadata: nil,
|
4584
|
+
risk_controls: nil,
|
3979
4585
|
settings: nil,
|
3980
4586
|
tos_acceptance: nil,
|
3981
4587
|
type: nil
|
@@ -3995,6 +4601,7 @@ module Stripe
|
|
3995
4601
|
@groups = groups
|
3996
4602
|
@individual = individual
|
3997
4603
|
@metadata = metadata
|
4604
|
+
@risk_controls = risk_controls
|
3998
4605
|
@settings = settings
|
3999
4606
|
@tos_acceptance = tos_acceptance
|
4000
4607
|
@type = type
|