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