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
@@ -102,6 +102,8 @@ module Stripe
|
|
102
102
|
attr_reader :amazon_pay_payments
|
103
103
|
# The status of the BECS Direct Debit (AU) payments capability of the account, or whether the account can directly process BECS Direct Debit (AU) charges.
|
104
104
|
attr_reader :au_becs_debit_payments
|
105
|
+
# The status of the automatic_indirect_tax capability of the account.
|
106
|
+
attr_reader :automatic_indirect_tax
|
105
107
|
# The status of the Bacs Direct Debits payments capability of the account, or whether the account can directly process Bacs Direct Debits charges.
|
106
108
|
attr_reader :bacs_debit_payments
|
107
109
|
# The status of the Bancontact payments capability of the account, or whether the account can directly process Bancontact charges.
|
@@ -130,8 +132,14 @@ module Stripe
|
|
130
132
|
attr_reader :gb_bank_transfer_payments
|
131
133
|
# The status of the giropay payments capability of the account, or whether the account can directly process giropay charges.
|
132
134
|
attr_reader :giropay_payments
|
135
|
+
# The status of the Gopay capability of the account, or whether the account can directly process Gopay payments.
|
136
|
+
attr_reader :gopay_payments
|
133
137
|
# The status of the GrabPay payments capability of the account, or whether the account can directly process GrabPay charges.
|
134
138
|
attr_reader :grabpay_payments
|
139
|
+
# The status of the Indonesia Bank Transfer payments capability of the account, or whether the account can directly process Indonesia Bank Transfer charges.
|
140
|
+
attr_reader :id_bank_transfer_payments
|
141
|
+
# The status of Bank BCA onboarding of the account.
|
142
|
+
attr_reader :id_bank_transfer_payments_bca
|
135
143
|
# The status of the iDEAL payments capability of the account, or whether the account can directly process iDEAL charges.
|
136
144
|
attr_reader :ideal_payments
|
137
145
|
# The status of the india_international_payments capability of the account, or whether the account can process international charges (non INR) in India.
|
@@ -152,6 +160,8 @@ module Stripe
|
|
152
160
|
attr_reader :legacy_payments
|
153
161
|
# The status of the link_payments capability of the account, or whether the account can directly process Link charges.
|
154
162
|
attr_reader :link_payments
|
163
|
+
# The status of the MB WAY payments capability of the account, or whether the account can directly process MB WAY charges.
|
164
|
+
attr_reader :mb_way_payments
|
155
165
|
# The status of the MobilePay capability of the account, or whether the account can directly process MobilePay charges.
|
156
166
|
attr_reader :mobilepay_payments
|
157
167
|
# The status of the Multibanco payments capability of the account, or whether the account can directly process Multibanco charges.
|
@@ -172,8 +182,16 @@ module Stripe
|
|
172
182
|
attr_reader :payco_payments
|
173
183
|
# The status of the paynow payments capability of the account, or whether the account can directly process paynow charges.
|
174
184
|
attr_reader :paynow_payments
|
185
|
+
# The status of the PayPal payments capability of the account, or whether the account can directly process PayPal charges.
|
186
|
+
attr_reader :paypal_payments
|
187
|
+
# The status of the PayTo capability of the account, or whether the account can directly process PayTo charges.
|
188
|
+
attr_reader :payto_payments
|
175
189
|
# The status of the promptpay payments capability of the account, or whether the account can directly process promptpay charges.
|
176
190
|
attr_reader :promptpay_payments
|
191
|
+
# The status of the Qris capability of the account, or whether the account can directly process Qris payments.
|
192
|
+
attr_reader :qris_payments
|
193
|
+
# The status of the Rechnung capability of the account, or whether the account can directly process Rechnung payments.
|
194
|
+
attr_reader :rechnung_payments
|
177
195
|
# The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
|
178
196
|
attr_reader :revolut_pay_payments
|
179
197
|
# The status of the SamsungPay capability of the account, or whether the account can directly process SamsungPay payments.
|
@@ -184,8 +202,12 @@ module Stripe
|
|
184
202
|
attr_reader :sepa_bank_transfer_payments
|
185
203
|
# The status of the SEPA Direct Debits payments capability of the account, or whether the account can directly process SEPA Direct Debits charges.
|
186
204
|
attr_reader :sepa_debit_payments
|
205
|
+
# The status of the ShopeePay capability of the account, or whether the account can directly process ShopeePay payments.
|
206
|
+
attr_reader :shopeepay_payments
|
187
207
|
# The status of the Sofort payments capability of the account, or whether the account can directly process Sofort charges.
|
188
208
|
attr_reader :sofort_payments
|
209
|
+
# The status of the stripe_balance payments capability of the account, or whether the account can directly process stripe_balance charges.
|
210
|
+
attr_reader :stripe_balance_payments
|
189
211
|
# The status of the Swish capability of the account, or whether the account can directly process Swish payments.
|
190
212
|
attr_reader :swish_payments
|
191
213
|
# The status of the tax reporting 1099-K (US) capability of the account.
|
@@ -196,6 +218,12 @@ module Stripe
|
|
196
218
|
attr_reader :transfers
|
197
219
|
# The status of the banking capability, or whether the account can have bank accounts.
|
198
220
|
attr_reader :treasury
|
221
|
+
# The status of the treasury_evolve capability of the account.
|
222
|
+
attr_reader :treasury_evolve
|
223
|
+
# The status of the treasury_fifth_third capability of the account.
|
224
|
+
attr_reader :treasury_fifth_third
|
225
|
+
# The status of the treasury_goldman_sachs capability of the account.
|
226
|
+
attr_reader :treasury_goldman_sachs
|
199
227
|
# The status of the TWINT capability of the account, or whether the account can directly process TWINT charges.
|
200
228
|
attr_reader :twint_payments
|
201
229
|
# The status of the US bank account ACH payments capability of the account, or whether the account can directly process US bank account charges.
|
@@ -331,6 +359,20 @@ module Stripe
|
|
331
359
|
end
|
332
360
|
|
333
361
|
class Controller < Stripe::StripeObject
|
362
|
+
class Application < Stripe::StripeObject
|
363
|
+
# `true` if the Connect application is responsible for negative balances and should manage credit and fraud risk on the account.
|
364
|
+
attr_reader :loss_liable
|
365
|
+
# `true` if the Connect application is responsible for onboarding the account.
|
366
|
+
attr_reader :onboarding_owner
|
367
|
+
# `true` if the Connect application is responsible for paying Stripe fees on pricing-control eligible products.
|
368
|
+
attr_reader :pricing_controls
|
369
|
+
end
|
370
|
+
|
371
|
+
class Dashboard < Stripe::StripeObject
|
372
|
+
# Whether this account has access to the full Stripe dashboard (`full`), to the Express dashboard (`express`), or to no dashboard (`none`).
|
373
|
+
attr_reader :type
|
374
|
+
end
|
375
|
+
|
334
376
|
class Fees < Stripe::StripeObject
|
335
377
|
# A value indicating the responsible payer of a bundle of Stripe fees for pricing-control eligible products on this account. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
|
336
378
|
attr_reader :payer
|
@@ -345,6 +387,10 @@ module Stripe
|
|
345
387
|
# A value indicating the Stripe dashboard this account has access to independent of the Connect application.
|
346
388
|
attr_reader :type
|
347
389
|
end
|
390
|
+
# Attribute for field application
|
391
|
+
attr_reader :application
|
392
|
+
# Attribute for field dashboard
|
393
|
+
attr_reader :dashboard
|
348
394
|
# Attribute for field fees
|
349
395
|
attr_reader :fees
|
350
396
|
# `true` if the Connect application retrieving the resource controls the account and can therefore exercise [platform controls](https://stripe.com/docs/connect/platform-controls-for-standard-accounts). Otherwise, this field is null.
|
@@ -432,6 +478,24 @@ module Stripe
|
|
432
478
|
attr_reader :pending_verification
|
433
479
|
end
|
434
480
|
|
481
|
+
class RiskControls < Stripe::StripeObject
|
482
|
+
class Charges < Stripe::StripeObject
|
483
|
+
# Whether a pause of the risk control has been requested.
|
484
|
+
attr_reader :pause_requested
|
485
|
+
end
|
486
|
+
|
487
|
+
class Payouts < Stripe::StripeObject
|
488
|
+
# Whether a pause of the risk control has been requested.
|
489
|
+
attr_reader :pause_requested
|
490
|
+
end
|
491
|
+
# Attribute for field charges
|
492
|
+
attr_reader :charges
|
493
|
+
# Attribute for field payouts
|
494
|
+
attr_reader :payouts
|
495
|
+
# Represents the rejected reason of the account. Empty if account is not rejected, or rejected by Stripe. Please see [this page for more details](https://stripe.com/docs/connect/)
|
496
|
+
attr_reader :rejected_reason
|
497
|
+
end
|
498
|
+
|
435
499
|
class Settings < Stripe::StripeObject
|
436
500
|
class BacsDebitPayments < Stripe::StripeObject
|
437
501
|
# The Bacs Direct Debit display name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. The fee appears 5 business days after requesting Bacs. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free.
|
@@ -440,6 +504,13 @@ module Stripe
|
|
440
504
|
attr_reader :service_user_number
|
441
505
|
end
|
442
506
|
|
507
|
+
class BankBcaOnboarding < Stripe::StripeObject
|
508
|
+
# Bank BCA business account holder name.
|
509
|
+
attr_reader :account_holder_name
|
510
|
+
# Bank BCA business account number.
|
511
|
+
attr_reader :business_account_number
|
512
|
+
end
|
513
|
+
|
443
514
|
class Branding < Stripe::StripeObject
|
444
515
|
# (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.
|
445
516
|
attr_reader :icon
|
@@ -451,6 +522,13 @@ module Stripe
|
|
451
522
|
attr_reader :secondary_color
|
452
523
|
end
|
453
524
|
|
525
|
+
class Capital < Stripe::StripeObject
|
526
|
+
# Per-currency mapping of user-selected destination accounts used to pay out loans.
|
527
|
+
attr_reader :payout_destination
|
528
|
+
# Per-currency mapping of all destination accounts eligible to receive loan payouts.
|
529
|
+
attr_reader :payout_destination_selector
|
530
|
+
end
|
531
|
+
|
454
532
|
class CardIssuing < Stripe::StripeObject
|
455
533
|
class TosAcceptance < Stripe::StripeObject
|
456
534
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
@@ -532,6 +610,11 @@ module Stripe
|
|
532
610
|
attr_reader :creditor_id
|
533
611
|
end
|
534
612
|
|
613
|
+
class TaxForms < Stripe::StripeObject
|
614
|
+
# Whether the account opted out of receiving their tax forms by postal delivery.
|
615
|
+
attr_reader :consented_to_paperless_delivery
|
616
|
+
end
|
617
|
+
|
535
618
|
class Treasury < Stripe::StripeObject
|
536
619
|
class TosAcceptance < Stripe::StripeObject
|
537
620
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
@@ -546,8 +629,12 @@ module Stripe
|
|
546
629
|
end
|
547
630
|
# Attribute for field bacs_debit_payments
|
548
631
|
attr_reader :bacs_debit_payments
|
632
|
+
# Attribute for field bank_bca_onboarding
|
633
|
+
attr_reader :bank_bca_onboarding
|
549
634
|
# Attribute for field branding
|
550
635
|
attr_reader :branding
|
636
|
+
# Attribute for field capital
|
637
|
+
attr_reader :capital
|
551
638
|
# Attribute for field card_issuing
|
552
639
|
attr_reader :card_issuing
|
553
640
|
# Attribute for field card_payments
|
@@ -562,6 +649,8 @@ module Stripe
|
|
562
649
|
attr_reader :payouts
|
563
650
|
# Attribute for field sepa_debit_payments
|
564
651
|
attr_reader :sepa_debit_payments
|
652
|
+
# Attribute for field tax_forms
|
653
|
+
attr_reader :tax_forms
|
565
654
|
# Attribute for field treasury
|
566
655
|
attr_reader :treasury
|
567
656
|
end
|
@@ -779,6 +868,15 @@ module Stripe
|
|
779
868
|
end
|
780
869
|
end
|
781
870
|
|
871
|
+
class AutomaticIndirectTax < Stripe::RequestParams
|
872
|
+
# 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.
|
873
|
+
attr_accessor :requested
|
874
|
+
|
875
|
+
def initialize(requested: nil)
|
876
|
+
@requested = requested
|
877
|
+
end
|
878
|
+
end
|
879
|
+
|
782
880
|
class BacsDebitPayments < Stripe::RequestParams
|
783
881
|
# 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.
|
784
882
|
attr_accessor :requested
|
@@ -905,6 +1003,15 @@ module Stripe
|
|
905
1003
|
end
|
906
1004
|
end
|
907
1005
|
|
1006
|
+
class GopayPayments < Stripe::RequestParams
|
1007
|
+
# 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.
|
1008
|
+
attr_accessor :requested
|
1009
|
+
|
1010
|
+
def initialize(requested: nil)
|
1011
|
+
@requested = requested
|
1012
|
+
end
|
1013
|
+
end
|
1014
|
+
|
908
1015
|
class GrabpayPayments < Stripe::RequestParams
|
909
1016
|
# 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.
|
910
1017
|
attr_accessor :requested
|
@@ -914,6 +1021,24 @@ module Stripe
|
|
914
1021
|
end
|
915
1022
|
end
|
916
1023
|
|
1024
|
+
class IdBankTransferPayments < Stripe::RequestParams
|
1025
|
+
# 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.
|
1026
|
+
attr_accessor :requested
|
1027
|
+
|
1028
|
+
def initialize(requested: nil)
|
1029
|
+
@requested = requested
|
1030
|
+
end
|
1031
|
+
end
|
1032
|
+
|
1033
|
+
class IdBankTransferPaymentsBca < Stripe::RequestParams
|
1034
|
+
# 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.
|
1035
|
+
attr_accessor :requested
|
1036
|
+
|
1037
|
+
def initialize(requested: nil)
|
1038
|
+
@requested = requested
|
1039
|
+
end
|
1040
|
+
end
|
1041
|
+
|
917
1042
|
class IdealPayments < Stripe::RequestParams
|
918
1043
|
# 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.
|
919
1044
|
attr_accessor :requested
|
@@ -1004,6 +1129,15 @@ module Stripe
|
|
1004
1129
|
end
|
1005
1130
|
end
|
1006
1131
|
|
1132
|
+
class MbWayPayments < Stripe::RequestParams
|
1133
|
+
# 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.
|
1134
|
+
attr_accessor :requested
|
1135
|
+
|
1136
|
+
def initialize(requested: nil)
|
1137
|
+
@requested = requested
|
1138
|
+
end
|
1139
|
+
end
|
1140
|
+
|
1007
1141
|
class MobilepayPayments < Stripe::RequestParams
|
1008
1142
|
# 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.
|
1009
1143
|
attr_accessor :requested
|
@@ -1094,6 +1228,24 @@ module Stripe
|
|
1094
1228
|
end
|
1095
1229
|
end
|
1096
1230
|
|
1231
|
+
class PaypalPayments < Stripe::RequestParams
|
1232
|
+
# 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.
|
1233
|
+
attr_accessor :requested
|
1234
|
+
|
1235
|
+
def initialize(requested: nil)
|
1236
|
+
@requested = requested
|
1237
|
+
end
|
1238
|
+
end
|
1239
|
+
|
1240
|
+
class PaytoPayments < Stripe::RequestParams
|
1241
|
+
# 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.
|
1242
|
+
attr_accessor :requested
|
1243
|
+
|
1244
|
+
def initialize(requested: nil)
|
1245
|
+
@requested = requested
|
1246
|
+
end
|
1247
|
+
end
|
1248
|
+
|
1097
1249
|
class PromptpayPayments < Stripe::RequestParams
|
1098
1250
|
# 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.
|
1099
1251
|
attr_accessor :requested
|
@@ -1103,6 +1255,24 @@ module Stripe
|
|
1103
1255
|
end
|
1104
1256
|
end
|
1105
1257
|
|
1258
|
+
class QrisPayments < Stripe::RequestParams
|
1259
|
+
# 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.
|
1260
|
+
attr_accessor :requested
|
1261
|
+
|
1262
|
+
def initialize(requested: nil)
|
1263
|
+
@requested = requested
|
1264
|
+
end
|
1265
|
+
end
|
1266
|
+
|
1267
|
+
class RechnungPayments < Stripe::RequestParams
|
1268
|
+
# 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.
|
1269
|
+
attr_accessor :requested
|
1270
|
+
|
1271
|
+
def initialize(requested: nil)
|
1272
|
+
@requested = requested
|
1273
|
+
end
|
1274
|
+
end
|
1275
|
+
|
1106
1276
|
class RevolutPayPayments < Stripe::RequestParams
|
1107
1277
|
# 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.
|
1108
1278
|
attr_accessor :requested
|
@@ -1148,6 +1318,15 @@ module Stripe
|
|
1148
1318
|
end
|
1149
1319
|
end
|
1150
1320
|
|
1321
|
+
class ShopeepayPayments < Stripe::RequestParams
|
1322
|
+
# 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.
|
1323
|
+
attr_accessor :requested
|
1324
|
+
|
1325
|
+
def initialize(requested: nil)
|
1326
|
+
@requested = requested
|
1327
|
+
end
|
1328
|
+
end
|
1329
|
+
|
1151
1330
|
class SofortPayments < Stripe::RequestParams
|
1152
1331
|
# 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.
|
1153
1332
|
attr_accessor :requested
|
@@ -1157,6 +1336,15 @@ module Stripe
|
|
1157
1336
|
end
|
1158
1337
|
end
|
1159
1338
|
|
1339
|
+
class StripeBalancePayments < Stripe::RequestParams
|
1340
|
+
# 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.
|
1341
|
+
attr_accessor :requested
|
1342
|
+
|
1343
|
+
def initialize(requested: nil)
|
1344
|
+
@requested = requested
|
1345
|
+
end
|
1346
|
+
end
|
1347
|
+
|
1160
1348
|
class SwishPayments < Stripe::RequestParams
|
1161
1349
|
# 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.
|
1162
1350
|
attr_accessor :requested
|
@@ -1202,6 +1390,33 @@ module Stripe
|
|
1202
1390
|
end
|
1203
1391
|
end
|
1204
1392
|
|
1393
|
+
class TreasuryEvolve < Stripe::RequestParams
|
1394
|
+
# 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.
|
1395
|
+
attr_accessor :requested
|
1396
|
+
|
1397
|
+
def initialize(requested: nil)
|
1398
|
+
@requested = requested
|
1399
|
+
end
|
1400
|
+
end
|
1401
|
+
|
1402
|
+
class TreasuryFifthThird < Stripe::RequestParams
|
1403
|
+
# 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.
|
1404
|
+
attr_accessor :requested
|
1405
|
+
|
1406
|
+
def initialize(requested: nil)
|
1407
|
+
@requested = requested
|
1408
|
+
end
|
1409
|
+
end
|
1410
|
+
|
1411
|
+
class TreasuryGoldmanSachs < Stripe::RequestParams
|
1412
|
+
# 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.
|
1413
|
+
attr_accessor :requested
|
1414
|
+
|
1415
|
+
def initialize(requested: nil)
|
1416
|
+
@requested = requested
|
1417
|
+
end
|
1418
|
+
end
|
1419
|
+
|
1205
1420
|
class TwintPayments < Stripe::RequestParams
|
1206
1421
|
# 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.
|
1207
1422
|
attr_accessor :requested
|
@@ -1249,6 +1464,8 @@ module Stripe
|
|
1249
1464
|
attr_accessor :amazon_pay_payments
|
1250
1465
|
# The au_becs_debit_payments capability.
|
1251
1466
|
attr_accessor :au_becs_debit_payments
|
1467
|
+
# The automatic_indirect_tax capability.
|
1468
|
+
attr_accessor :automatic_indirect_tax
|
1252
1469
|
# The bacs_debit_payments capability.
|
1253
1470
|
attr_accessor :bacs_debit_payments
|
1254
1471
|
# The bancontact_payments capability.
|
@@ -1277,8 +1494,14 @@ module Stripe
|
|
1277
1494
|
attr_accessor :gb_bank_transfer_payments
|
1278
1495
|
# The giropay_payments capability.
|
1279
1496
|
attr_accessor :giropay_payments
|
1497
|
+
# The gopay_payments capability.
|
1498
|
+
attr_accessor :gopay_payments
|
1280
1499
|
# The grabpay_payments capability.
|
1281
1500
|
attr_accessor :grabpay_payments
|
1501
|
+
# The id_bank_transfer_payments capability.
|
1502
|
+
attr_accessor :id_bank_transfer_payments
|
1503
|
+
# The id_bank_transfer_payments_bca capability.
|
1504
|
+
attr_accessor :id_bank_transfer_payments_bca
|
1282
1505
|
# The ideal_payments capability.
|
1283
1506
|
attr_accessor :ideal_payments
|
1284
1507
|
# The india_international_payments capability.
|
@@ -1299,6 +1522,8 @@ module Stripe
|
|
1299
1522
|
attr_accessor :legacy_payments
|
1300
1523
|
# The link_payments capability.
|
1301
1524
|
attr_accessor :link_payments
|
1525
|
+
# The mb_way_payments capability.
|
1526
|
+
attr_accessor :mb_way_payments
|
1302
1527
|
# The mobilepay_payments capability.
|
1303
1528
|
attr_accessor :mobilepay_payments
|
1304
1529
|
# The multibanco_payments capability.
|
@@ -1319,8 +1544,16 @@ module Stripe
|
|
1319
1544
|
attr_accessor :payco_payments
|
1320
1545
|
# The paynow_payments capability.
|
1321
1546
|
attr_accessor :paynow_payments
|
1547
|
+
# The paypal_payments capability.
|
1548
|
+
attr_accessor :paypal_payments
|
1549
|
+
# The payto_payments capability.
|
1550
|
+
attr_accessor :payto_payments
|
1322
1551
|
# The promptpay_payments capability.
|
1323
1552
|
attr_accessor :promptpay_payments
|
1553
|
+
# The qris_payments capability.
|
1554
|
+
attr_accessor :qris_payments
|
1555
|
+
# The rechnung_payments capability.
|
1556
|
+
attr_accessor :rechnung_payments
|
1324
1557
|
# The revolut_pay_payments capability.
|
1325
1558
|
attr_accessor :revolut_pay_payments
|
1326
1559
|
# The samsung_pay_payments capability.
|
@@ -1331,8 +1564,12 @@ module Stripe
|
|
1331
1564
|
attr_accessor :sepa_bank_transfer_payments
|
1332
1565
|
# The sepa_debit_payments capability.
|
1333
1566
|
attr_accessor :sepa_debit_payments
|
1567
|
+
# The shopeepay_payments capability.
|
1568
|
+
attr_accessor :shopeepay_payments
|
1334
1569
|
# The sofort_payments capability.
|
1335
1570
|
attr_accessor :sofort_payments
|
1571
|
+
# The stripe_balance_payments capability.
|
1572
|
+
attr_accessor :stripe_balance_payments
|
1336
1573
|
# The swish_payments capability.
|
1337
1574
|
attr_accessor :swish_payments
|
1338
1575
|
# The tax_reporting_us_1099_k capability.
|
@@ -1343,6 +1580,12 @@ module Stripe
|
|
1343
1580
|
attr_accessor :transfers
|
1344
1581
|
# The treasury capability.
|
1345
1582
|
attr_accessor :treasury
|
1583
|
+
# The treasury_evolve capability.
|
1584
|
+
attr_accessor :treasury_evolve
|
1585
|
+
# The treasury_fifth_third capability.
|
1586
|
+
attr_accessor :treasury_fifth_third
|
1587
|
+
# The treasury_goldman_sachs capability.
|
1588
|
+
attr_accessor :treasury_goldman_sachs
|
1346
1589
|
# The twint_payments capability.
|
1347
1590
|
attr_accessor :twint_payments
|
1348
1591
|
# The us_bank_account_ach_payments capability.
|
@@ -1359,6 +1602,7 @@ module Stripe
|
|
1359
1602
|
alma_payments: nil,
|
1360
1603
|
amazon_pay_payments: nil,
|
1361
1604
|
au_becs_debit_payments: nil,
|
1605
|
+
automatic_indirect_tax: nil,
|
1362
1606
|
bacs_debit_payments: nil,
|
1363
1607
|
bancontact_payments: nil,
|
1364
1608
|
bank_transfer_payments: nil,
|
@@ -1373,7 +1617,10 @@ module Stripe
|
|
1373
1617
|
fpx_payments: nil,
|
1374
1618
|
gb_bank_transfer_payments: nil,
|
1375
1619
|
giropay_payments: nil,
|
1620
|
+
gopay_payments: nil,
|
1376
1621
|
grabpay_payments: nil,
|
1622
|
+
id_bank_transfer_payments: nil,
|
1623
|
+
id_bank_transfer_payments_bca: nil,
|
1377
1624
|
ideal_payments: nil,
|
1378
1625
|
india_international_payments: nil,
|
1379
1626
|
jcb_payments: nil,
|
@@ -1384,6 +1631,7 @@ module Stripe
|
|
1384
1631
|
kr_card_payments: nil,
|
1385
1632
|
legacy_payments: nil,
|
1386
1633
|
link_payments: nil,
|
1634
|
+
mb_way_payments: nil,
|
1387
1635
|
mobilepay_payments: nil,
|
1388
1636
|
multibanco_payments: nil,
|
1389
1637
|
mx_bank_transfer_payments: nil,
|
@@ -1394,18 +1642,27 @@ module Stripe
|
|
1394
1642
|
pay_by_bank_payments: nil,
|
1395
1643
|
payco_payments: nil,
|
1396
1644
|
paynow_payments: nil,
|
1645
|
+
paypal_payments: nil,
|
1646
|
+
payto_payments: nil,
|
1397
1647
|
promptpay_payments: nil,
|
1648
|
+
qris_payments: nil,
|
1649
|
+
rechnung_payments: nil,
|
1398
1650
|
revolut_pay_payments: nil,
|
1399
1651
|
samsung_pay_payments: nil,
|
1400
1652
|
satispay_payments: nil,
|
1401
1653
|
sepa_bank_transfer_payments: nil,
|
1402
1654
|
sepa_debit_payments: nil,
|
1655
|
+
shopeepay_payments: nil,
|
1403
1656
|
sofort_payments: nil,
|
1657
|
+
stripe_balance_payments: nil,
|
1404
1658
|
swish_payments: nil,
|
1405
1659
|
tax_reporting_us_1099_k: nil,
|
1406
1660
|
tax_reporting_us_1099_misc: nil,
|
1407
1661
|
transfers: nil,
|
1408
1662
|
treasury: nil,
|
1663
|
+
treasury_evolve: nil,
|
1664
|
+
treasury_fifth_third: nil,
|
1665
|
+
treasury_goldman_sachs: nil,
|
1409
1666
|
twint_payments: nil,
|
1410
1667
|
us_bank_account_ach_payments: nil,
|
1411
1668
|
us_bank_transfer_payments: nil,
|
@@ -1417,6 +1674,7 @@ module Stripe
|
|
1417
1674
|
@alma_payments = alma_payments
|
1418
1675
|
@amazon_pay_payments = amazon_pay_payments
|
1419
1676
|
@au_becs_debit_payments = au_becs_debit_payments
|
1677
|
+
@automatic_indirect_tax = automatic_indirect_tax
|
1420
1678
|
@bacs_debit_payments = bacs_debit_payments
|
1421
1679
|
@bancontact_payments = bancontact_payments
|
1422
1680
|
@bank_transfer_payments = bank_transfer_payments
|
@@ -1431,7 +1689,10 @@ module Stripe
|
|
1431
1689
|
@fpx_payments = fpx_payments
|
1432
1690
|
@gb_bank_transfer_payments = gb_bank_transfer_payments
|
1433
1691
|
@giropay_payments = giropay_payments
|
1692
|
+
@gopay_payments = gopay_payments
|
1434
1693
|
@grabpay_payments = grabpay_payments
|
1694
|
+
@id_bank_transfer_payments = id_bank_transfer_payments
|
1695
|
+
@id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
|
1435
1696
|
@ideal_payments = ideal_payments
|
1436
1697
|
@india_international_payments = india_international_payments
|
1437
1698
|
@jcb_payments = jcb_payments
|
@@ -1442,6 +1703,7 @@ module Stripe
|
|
1442
1703
|
@kr_card_payments = kr_card_payments
|
1443
1704
|
@legacy_payments = legacy_payments
|
1444
1705
|
@link_payments = link_payments
|
1706
|
+
@mb_way_payments = mb_way_payments
|
1445
1707
|
@mobilepay_payments = mobilepay_payments
|
1446
1708
|
@multibanco_payments = multibanco_payments
|
1447
1709
|
@mx_bank_transfer_payments = mx_bank_transfer_payments
|
@@ -1452,18 +1714,27 @@ module Stripe
|
|
1452
1714
|
@pay_by_bank_payments = pay_by_bank_payments
|
1453
1715
|
@payco_payments = payco_payments
|
1454
1716
|
@paynow_payments = paynow_payments
|
1717
|
+
@paypal_payments = paypal_payments
|
1718
|
+
@payto_payments = payto_payments
|
1455
1719
|
@promptpay_payments = promptpay_payments
|
1720
|
+
@qris_payments = qris_payments
|
1721
|
+
@rechnung_payments = rechnung_payments
|
1456
1722
|
@revolut_pay_payments = revolut_pay_payments
|
1457
1723
|
@samsung_pay_payments = samsung_pay_payments
|
1458
1724
|
@satispay_payments = satispay_payments
|
1459
1725
|
@sepa_bank_transfer_payments = sepa_bank_transfer_payments
|
1460
1726
|
@sepa_debit_payments = sepa_debit_payments
|
1727
|
+
@shopeepay_payments = shopeepay_payments
|
1461
1728
|
@sofort_payments = sofort_payments
|
1729
|
+
@stripe_balance_payments = stripe_balance_payments
|
1462
1730
|
@swish_payments = swish_payments
|
1463
1731
|
@tax_reporting_us_1099_k = tax_reporting_us_1099_k
|
1464
1732
|
@tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
|
1465
1733
|
@transfers = transfers
|
1466
1734
|
@treasury = treasury
|
1735
|
+
@treasury_evolve = treasury_evolve
|
1736
|
+
@treasury_fifth_third = treasury_fifth_third
|
1737
|
+
@treasury_goldman_sachs = treasury_goldman_sachs
|
1467
1738
|
@twint_payments = twint_payments
|
1468
1739
|
@us_bank_account_ach_payments = us_bank_account_ach_payments
|
1469
1740
|
@us_bank_transfer_payments = us_bank_transfer_payments
|
@@ -2220,6 +2491,37 @@ module Stripe
|
|
2220
2491
|
end
|
2221
2492
|
end
|
2222
2493
|
|
2494
|
+
class RiskControls < Stripe::RequestParams
|
2495
|
+
class Charges < Stripe::RequestParams
|
2496
|
+
# To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
2497
|
+
# There can be a delay before the risk control is paused or unpaused.
|
2498
|
+
attr_accessor :pause_requested
|
2499
|
+
|
2500
|
+
def initialize(pause_requested: nil)
|
2501
|
+
@pause_requested = pause_requested
|
2502
|
+
end
|
2503
|
+
end
|
2504
|
+
|
2505
|
+
class Payouts < Stripe::RequestParams
|
2506
|
+
# To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
2507
|
+
# There can be a delay before the risk control is paused or unpaused.
|
2508
|
+
attr_accessor :pause_requested
|
2509
|
+
|
2510
|
+
def initialize(pause_requested: nil)
|
2511
|
+
@pause_requested = pause_requested
|
2512
|
+
end
|
2513
|
+
end
|
2514
|
+
# 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).
|
2515
|
+
attr_accessor :charges
|
2516
|
+
# 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).
|
2517
|
+
attr_accessor :payouts
|
2518
|
+
|
2519
|
+
def initialize(charges: nil, payouts: nil)
|
2520
|
+
@charges = charges
|
2521
|
+
@payouts = payouts
|
2522
|
+
end
|
2523
|
+
end
|
2524
|
+
|
2223
2525
|
class Settings < Stripe::RequestParams
|
2224
2526
|
class BacsDebitPayments < Stripe::RequestParams
|
2225
2527
|
# 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.
|
@@ -2230,6 +2532,18 @@ module Stripe
|
|
2230
2532
|
end
|
2231
2533
|
end
|
2232
2534
|
|
2535
|
+
class BankBcaOnboarding < Stripe::RequestParams
|
2536
|
+
# Bank BCA business account holder name
|
2537
|
+
attr_accessor :account_holder_name
|
2538
|
+
# Bank BCA business account number
|
2539
|
+
attr_accessor :business_account_number
|
2540
|
+
|
2541
|
+
def initialize(account_holder_name: nil, business_account_number: nil)
|
2542
|
+
@account_holder_name = account_holder_name
|
2543
|
+
@business_account_number = business_account_number
|
2544
|
+
end
|
2545
|
+
end
|
2546
|
+
|
2233
2547
|
class Branding < Stripe::RequestParams
|
2234
2548
|
# (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.
|
2235
2549
|
attr_accessor :icon
|
@@ -2248,6 +2562,18 @@ module Stripe
|
|
2248
2562
|
end
|
2249
2563
|
end
|
2250
2564
|
|
2565
|
+
class Capital < Stripe::RequestParams
|
2566
|
+
# Per-currency mapping of user-selected destination accounts used to pay out loans.
|
2567
|
+
attr_accessor :payout_destination
|
2568
|
+
# Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
2569
|
+
attr_accessor :payout_destination_selector
|
2570
|
+
|
2571
|
+
def initialize(payout_destination: nil, payout_destination_selector: nil)
|
2572
|
+
@payout_destination = payout_destination
|
2573
|
+
@payout_destination_selector = payout_destination_selector
|
2574
|
+
end
|
2575
|
+
end
|
2576
|
+
|
2251
2577
|
class CardIssuing < Stripe::RequestParams
|
2252
2578
|
class TosAcceptance < Stripe::RequestParams
|
2253
2579
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
@@ -2368,6 +2694,15 @@ module Stripe
|
|
2368
2694
|
end
|
2369
2695
|
end
|
2370
2696
|
|
2697
|
+
class TaxForms < Stripe::RequestParams
|
2698
|
+
# Whether the account opted out of receiving their tax forms by postal delivery.
|
2699
|
+
attr_accessor :consented_to_paperless_delivery
|
2700
|
+
|
2701
|
+
def initialize(consented_to_paperless_delivery: nil)
|
2702
|
+
@consented_to_paperless_delivery = consented_to_paperless_delivery
|
2703
|
+
end
|
2704
|
+
end
|
2705
|
+
|
2371
2706
|
class Treasury < Stripe::RequestParams
|
2372
2707
|
class TosAcceptance < Stripe::RequestParams
|
2373
2708
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
@@ -2392,8 +2727,12 @@ module Stripe
|
|
2392
2727
|
end
|
2393
2728
|
# Settings specific to Bacs Direct Debit payments.
|
2394
2729
|
attr_accessor :bacs_debit_payments
|
2730
|
+
# Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
2731
|
+
attr_accessor :bank_bca_onboarding
|
2395
2732
|
# Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
2396
2733
|
attr_accessor :branding
|
2734
|
+
# Settings specific to the account's use of the Capital product.
|
2735
|
+
attr_accessor :capital
|
2397
2736
|
# Settings specific to the account's use of the Card Issuing product.
|
2398
2737
|
attr_accessor :card_issuing
|
2399
2738
|
# Settings specific to card charging on the account.
|
@@ -2404,26 +2743,34 @@ module Stripe
|
|
2404
2743
|
attr_accessor :payments
|
2405
2744
|
# Settings specific to the account's payouts.
|
2406
2745
|
attr_accessor :payouts
|
2746
|
+
# Settings specific to the account's tax forms.
|
2747
|
+
attr_accessor :tax_forms
|
2407
2748
|
# Settings specific to the account's Treasury FinancialAccounts.
|
2408
2749
|
attr_accessor :treasury
|
2409
2750
|
|
2410
2751
|
def initialize(
|
2411
2752
|
bacs_debit_payments: nil,
|
2753
|
+
bank_bca_onboarding: nil,
|
2412
2754
|
branding: nil,
|
2755
|
+
capital: nil,
|
2413
2756
|
card_issuing: nil,
|
2414
2757
|
card_payments: nil,
|
2415
2758
|
invoices: nil,
|
2416
2759
|
payments: nil,
|
2417
2760
|
payouts: nil,
|
2761
|
+
tax_forms: nil,
|
2418
2762
|
treasury: nil
|
2419
2763
|
)
|
2420
2764
|
@bacs_debit_payments = bacs_debit_payments
|
2765
|
+
@bank_bca_onboarding = bank_bca_onboarding
|
2421
2766
|
@branding = branding
|
2767
|
+
@capital = capital
|
2422
2768
|
@card_issuing = card_issuing
|
2423
2769
|
@card_payments = card_payments
|
2424
2770
|
@invoices = invoices
|
2425
2771
|
@payments = payments
|
2426
2772
|
@payouts = payouts
|
2773
|
+
@tax_forms = tax_forms
|
2427
2774
|
@treasury = treasury
|
2428
2775
|
end
|
2429
2776
|
end
|
@@ -2478,6 +2825,8 @@ module Stripe
|
|
2478
2825
|
attr_accessor :individual
|
2479
2826
|
# 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`.
|
2480
2827
|
attr_accessor :metadata
|
2828
|
+
# A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
|
2829
|
+
attr_accessor :risk_controls
|
2481
2830
|
# Options for customizing how the account functions within Stripe.
|
2482
2831
|
attr_accessor :settings
|
2483
2832
|
# 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.
|
@@ -2497,6 +2846,7 @@ module Stripe
|
|
2497
2846
|
groups: nil,
|
2498
2847
|
individual: nil,
|
2499
2848
|
metadata: nil,
|
2849
|
+
risk_controls: nil,
|
2500
2850
|
settings: nil,
|
2501
2851
|
tos_acceptance: nil
|
2502
2852
|
)
|
@@ -2513,6 +2863,7 @@ module Stripe
|
|
2513
2863
|
@groups = groups
|
2514
2864
|
@individual = individual
|
2515
2865
|
@metadata = metadata
|
2866
|
+
@risk_controls = risk_controls
|
2516
2867
|
@settings = settings
|
2517
2868
|
@tos_acceptance = tos_acceptance
|
2518
2869
|
end
|
@@ -2755,6 +3106,15 @@ module Stripe
|
|
2755
3106
|
end
|
2756
3107
|
end
|
2757
3108
|
|
3109
|
+
class AutomaticIndirectTax < Stripe::RequestParams
|
3110
|
+
# 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.
|
3111
|
+
attr_accessor :requested
|
3112
|
+
|
3113
|
+
def initialize(requested: nil)
|
3114
|
+
@requested = requested
|
3115
|
+
end
|
3116
|
+
end
|
3117
|
+
|
2758
3118
|
class BacsDebitPayments < Stripe::RequestParams
|
2759
3119
|
# 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.
|
2760
3120
|
attr_accessor :requested
|
@@ -2881,6 +3241,15 @@ module Stripe
|
|
2881
3241
|
end
|
2882
3242
|
end
|
2883
3243
|
|
3244
|
+
class GopayPayments < Stripe::RequestParams
|
3245
|
+
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
3246
|
+
attr_accessor :requested
|
3247
|
+
|
3248
|
+
def initialize(requested: nil)
|
3249
|
+
@requested = requested
|
3250
|
+
end
|
3251
|
+
end
|
3252
|
+
|
2884
3253
|
class GrabpayPayments < Stripe::RequestParams
|
2885
3254
|
# 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.
|
2886
3255
|
attr_accessor :requested
|
@@ -2890,6 +3259,24 @@ module Stripe
|
|
2890
3259
|
end
|
2891
3260
|
end
|
2892
3261
|
|
3262
|
+
class IdBankTransferPayments < Stripe::RequestParams
|
3263
|
+
# 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.
|
3264
|
+
attr_accessor :requested
|
3265
|
+
|
3266
|
+
def initialize(requested: nil)
|
3267
|
+
@requested = requested
|
3268
|
+
end
|
3269
|
+
end
|
3270
|
+
|
3271
|
+
class IdBankTransferPaymentsBca < Stripe::RequestParams
|
3272
|
+
# 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.
|
3273
|
+
attr_accessor :requested
|
3274
|
+
|
3275
|
+
def initialize(requested: nil)
|
3276
|
+
@requested = requested
|
3277
|
+
end
|
3278
|
+
end
|
3279
|
+
|
2893
3280
|
class IdealPayments < Stripe::RequestParams
|
2894
3281
|
# 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.
|
2895
3282
|
attr_accessor :requested
|
@@ -2980,6 +3367,15 @@ module Stripe
|
|
2980
3367
|
end
|
2981
3368
|
end
|
2982
3369
|
|
3370
|
+
class MbWayPayments < Stripe::RequestParams
|
3371
|
+
# 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.
|
3372
|
+
attr_accessor :requested
|
3373
|
+
|
3374
|
+
def initialize(requested: nil)
|
3375
|
+
@requested = requested
|
3376
|
+
end
|
3377
|
+
end
|
3378
|
+
|
2983
3379
|
class MobilepayPayments < Stripe::RequestParams
|
2984
3380
|
# 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.
|
2985
3381
|
attr_accessor :requested
|
@@ -3070,6 +3466,24 @@ module Stripe
|
|
3070
3466
|
end
|
3071
3467
|
end
|
3072
3468
|
|
3469
|
+
class PaypalPayments < Stripe::RequestParams
|
3470
|
+
# 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.
|
3471
|
+
attr_accessor :requested
|
3472
|
+
|
3473
|
+
def initialize(requested: nil)
|
3474
|
+
@requested = requested
|
3475
|
+
end
|
3476
|
+
end
|
3477
|
+
|
3478
|
+
class PaytoPayments < Stripe::RequestParams
|
3479
|
+
# 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.
|
3480
|
+
attr_accessor :requested
|
3481
|
+
|
3482
|
+
def initialize(requested: nil)
|
3483
|
+
@requested = requested
|
3484
|
+
end
|
3485
|
+
end
|
3486
|
+
|
3073
3487
|
class PromptpayPayments < Stripe::RequestParams
|
3074
3488
|
# 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.
|
3075
3489
|
attr_accessor :requested
|
@@ -3079,6 +3493,24 @@ module Stripe
|
|
3079
3493
|
end
|
3080
3494
|
end
|
3081
3495
|
|
3496
|
+
class QrisPayments < Stripe::RequestParams
|
3497
|
+
# 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.
|
3498
|
+
attr_accessor :requested
|
3499
|
+
|
3500
|
+
def initialize(requested: nil)
|
3501
|
+
@requested = requested
|
3502
|
+
end
|
3503
|
+
end
|
3504
|
+
|
3505
|
+
class RechnungPayments < Stripe::RequestParams
|
3506
|
+
# 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.
|
3507
|
+
attr_accessor :requested
|
3508
|
+
|
3509
|
+
def initialize(requested: nil)
|
3510
|
+
@requested = requested
|
3511
|
+
end
|
3512
|
+
end
|
3513
|
+
|
3082
3514
|
class RevolutPayPayments < Stripe::RequestParams
|
3083
3515
|
# 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.
|
3084
3516
|
attr_accessor :requested
|
@@ -3124,6 +3556,15 @@ module Stripe
|
|
3124
3556
|
end
|
3125
3557
|
end
|
3126
3558
|
|
3559
|
+
class ShopeepayPayments < Stripe::RequestParams
|
3560
|
+
# 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.
|
3561
|
+
attr_accessor :requested
|
3562
|
+
|
3563
|
+
def initialize(requested: nil)
|
3564
|
+
@requested = requested
|
3565
|
+
end
|
3566
|
+
end
|
3567
|
+
|
3127
3568
|
class SofortPayments < Stripe::RequestParams
|
3128
3569
|
# 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.
|
3129
3570
|
attr_accessor :requested
|
@@ -3133,6 +3574,15 @@ module Stripe
|
|
3133
3574
|
end
|
3134
3575
|
end
|
3135
3576
|
|
3577
|
+
class StripeBalancePayments < Stripe::RequestParams
|
3578
|
+
# 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.
|
3579
|
+
attr_accessor :requested
|
3580
|
+
|
3581
|
+
def initialize(requested: nil)
|
3582
|
+
@requested = requested
|
3583
|
+
end
|
3584
|
+
end
|
3585
|
+
|
3136
3586
|
class SwishPayments < Stripe::RequestParams
|
3137
3587
|
# 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.
|
3138
3588
|
attr_accessor :requested
|
@@ -3178,6 +3628,33 @@ module Stripe
|
|
3178
3628
|
end
|
3179
3629
|
end
|
3180
3630
|
|
3631
|
+
class TreasuryEvolve < Stripe::RequestParams
|
3632
|
+
# 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.
|
3633
|
+
attr_accessor :requested
|
3634
|
+
|
3635
|
+
def initialize(requested: nil)
|
3636
|
+
@requested = requested
|
3637
|
+
end
|
3638
|
+
end
|
3639
|
+
|
3640
|
+
class TreasuryFifthThird < Stripe::RequestParams
|
3641
|
+
# 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.
|
3642
|
+
attr_accessor :requested
|
3643
|
+
|
3644
|
+
def initialize(requested: nil)
|
3645
|
+
@requested = requested
|
3646
|
+
end
|
3647
|
+
end
|
3648
|
+
|
3649
|
+
class TreasuryGoldmanSachs < Stripe::RequestParams
|
3650
|
+
# 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.
|
3651
|
+
attr_accessor :requested
|
3652
|
+
|
3653
|
+
def initialize(requested: nil)
|
3654
|
+
@requested = requested
|
3655
|
+
end
|
3656
|
+
end
|
3657
|
+
|
3181
3658
|
class TwintPayments < Stripe::RequestParams
|
3182
3659
|
# 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.
|
3183
3660
|
attr_accessor :requested
|
@@ -3225,6 +3702,8 @@ module Stripe
|
|
3225
3702
|
attr_accessor :amazon_pay_payments
|
3226
3703
|
# The au_becs_debit_payments capability.
|
3227
3704
|
attr_accessor :au_becs_debit_payments
|
3705
|
+
# The automatic_indirect_tax capability.
|
3706
|
+
attr_accessor :automatic_indirect_tax
|
3228
3707
|
# The bacs_debit_payments capability.
|
3229
3708
|
attr_accessor :bacs_debit_payments
|
3230
3709
|
# The bancontact_payments capability.
|
@@ -3253,8 +3732,14 @@ module Stripe
|
|
3253
3732
|
attr_accessor :gb_bank_transfer_payments
|
3254
3733
|
# The giropay_payments capability.
|
3255
3734
|
attr_accessor :giropay_payments
|
3735
|
+
# The gopay_payments capability.
|
3736
|
+
attr_accessor :gopay_payments
|
3256
3737
|
# The grabpay_payments capability.
|
3257
3738
|
attr_accessor :grabpay_payments
|
3739
|
+
# The id_bank_transfer_payments capability.
|
3740
|
+
attr_accessor :id_bank_transfer_payments
|
3741
|
+
# The id_bank_transfer_payments_bca capability.
|
3742
|
+
attr_accessor :id_bank_transfer_payments_bca
|
3258
3743
|
# The ideal_payments capability.
|
3259
3744
|
attr_accessor :ideal_payments
|
3260
3745
|
# The india_international_payments capability.
|
@@ -3275,6 +3760,8 @@ module Stripe
|
|
3275
3760
|
attr_accessor :legacy_payments
|
3276
3761
|
# The link_payments capability.
|
3277
3762
|
attr_accessor :link_payments
|
3763
|
+
# The mb_way_payments capability.
|
3764
|
+
attr_accessor :mb_way_payments
|
3278
3765
|
# The mobilepay_payments capability.
|
3279
3766
|
attr_accessor :mobilepay_payments
|
3280
3767
|
# The multibanco_payments capability.
|
@@ -3295,8 +3782,16 @@ module Stripe
|
|
3295
3782
|
attr_accessor :payco_payments
|
3296
3783
|
# The paynow_payments capability.
|
3297
3784
|
attr_accessor :paynow_payments
|
3785
|
+
# The paypal_payments capability.
|
3786
|
+
attr_accessor :paypal_payments
|
3787
|
+
# The payto_payments capability.
|
3788
|
+
attr_accessor :payto_payments
|
3298
3789
|
# The promptpay_payments capability.
|
3299
3790
|
attr_accessor :promptpay_payments
|
3791
|
+
# The qris_payments capability.
|
3792
|
+
attr_accessor :qris_payments
|
3793
|
+
# The rechnung_payments capability.
|
3794
|
+
attr_accessor :rechnung_payments
|
3300
3795
|
# The revolut_pay_payments capability.
|
3301
3796
|
attr_accessor :revolut_pay_payments
|
3302
3797
|
# The samsung_pay_payments capability.
|
@@ -3307,8 +3802,12 @@ module Stripe
|
|
3307
3802
|
attr_accessor :sepa_bank_transfer_payments
|
3308
3803
|
# The sepa_debit_payments capability.
|
3309
3804
|
attr_accessor :sepa_debit_payments
|
3805
|
+
# The shopeepay_payments capability.
|
3806
|
+
attr_accessor :shopeepay_payments
|
3310
3807
|
# The sofort_payments capability.
|
3311
3808
|
attr_accessor :sofort_payments
|
3809
|
+
# The stripe_balance_payments capability.
|
3810
|
+
attr_accessor :stripe_balance_payments
|
3312
3811
|
# The swish_payments capability.
|
3313
3812
|
attr_accessor :swish_payments
|
3314
3813
|
# The tax_reporting_us_1099_k capability.
|
@@ -3319,6 +3818,12 @@ module Stripe
|
|
3319
3818
|
attr_accessor :transfers
|
3320
3819
|
# The treasury capability.
|
3321
3820
|
attr_accessor :treasury
|
3821
|
+
# The treasury_evolve capability.
|
3822
|
+
attr_accessor :treasury_evolve
|
3823
|
+
# The treasury_fifth_third capability.
|
3824
|
+
attr_accessor :treasury_fifth_third
|
3825
|
+
# The treasury_goldman_sachs capability.
|
3826
|
+
attr_accessor :treasury_goldman_sachs
|
3322
3827
|
# The twint_payments capability.
|
3323
3828
|
attr_accessor :twint_payments
|
3324
3829
|
# The us_bank_account_ach_payments capability.
|
@@ -3335,6 +3840,7 @@ module Stripe
|
|
3335
3840
|
alma_payments: nil,
|
3336
3841
|
amazon_pay_payments: nil,
|
3337
3842
|
au_becs_debit_payments: nil,
|
3843
|
+
automatic_indirect_tax: nil,
|
3338
3844
|
bacs_debit_payments: nil,
|
3339
3845
|
bancontact_payments: nil,
|
3340
3846
|
bank_transfer_payments: nil,
|
@@ -3349,7 +3855,10 @@ module Stripe
|
|
3349
3855
|
fpx_payments: nil,
|
3350
3856
|
gb_bank_transfer_payments: nil,
|
3351
3857
|
giropay_payments: nil,
|
3858
|
+
gopay_payments: nil,
|
3352
3859
|
grabpay_payments: nil,
|
3860
|
+
id_bank_transfer_payments: nil,
|
3861
|
+
id_bank_transfer_payments_bca: nil,
|
3353
3862
|
ideal_payments: nil,
|
3354
3863
|
india_international_payments: nil,
|
3355
3864
|
jcb_payments: nil,
|
@@ -3360,6 +3869,7 @@ module Stripe
|
|
3360
3869
|
kr_card_payments: nil,
|
3361
3870
|
legacy_payments: nil,
|
3362
3871
|
link_payments: nil,
|
3872
|
+
mb_way_payments: nil,
|
3363
3873
|
mobilepay_payments: nil,
|
3364
3874
|
multibanco_payments: nil,
|
3365
3875
|
mx_bank_transfer_payments: nil,
|
@@ -3370,18 +3880,27 @@ module Stripe
|
|
3370
3880
|
pay_by_bank_payments: nil,
|
3371
3881
|
payco_payments: nil,
|
3372
3882
|
paynow_payments: nil,
|
3883
|
+
paypal_payments: nil,
|
3884
|
+
payto_payments: nil,
|
3373
3885
|
promptpay_payments: nil,
|
3886
|
+
qris_payments: nil,
|
3887
|
+
rechnung_payments: nil,
|
3374
3888
|
revolut_pay_payments: nil,
|
3375
3889
|
samsung_pay_payments: nil,
|
3376
3890
|
satispay_payments: nil,
|
3377
3891
|
sepa_bank_transfer_payments: nil,
|
3378
3892
|
sepa_debit_payments: nil,
|
3893
|
+
shopeepay_payments: nil,
|
3379
3894
|
sofort_payments: nil,
|
3895
|
+
stripe_balance_payments: nil,
|
3380
3896
|
swish_payments: nil,
|
3381
3897
|
tax_reporting_us_1099_k: nil,
|
3382
3898
|
tax_reporting_us_1099_misc: nil,
|
3383
3899
|
transfers: nil,
|
3384
3900
|
treasury: nil,
|
3901
|
+
treasury_evolve: nil,
|
3902
|
+
treasury_fifth_third: nil,
|
3903
|
+
treasury_goldman_sachs: nil,
|
3385
3904
|
twint_payments: nil,
|
3386
3905
|
us_bank_account_ach_payments: nil,
|
3387
3906
|
us_bank_transfer_payments: nil,
|
@@ -3393,6 +3912,7 @@ module Stripe
|
|
3393
3912
|
@alma_payments = alma_payments
|
3394
3913
|
@amazon_pay_payments = amazon_pay_payments
|
3395
3914
|
@au_becs_debit_payments = au_becs_debit_payments
|
3915
|
+
@automatic_indirect_tax = automatic_indirect_tax
|
3396
3916
|
@bacs_debit_payments = bacs_debit_payments
|
3397
3917
|
@bancontact_payments = bancontact_payments
|
3398
3918
|
@bank_transfer_payments = bank_transfer_payments
|
@@ -3407,7 +3927,10 @@ module Stripe
|
|
3407
3927
|
@fpx_payments = fpx_payments
|
3408
3928
|
@gb_bank_transfer_payments = gb_bank_transfer_payments
|
3409
3929
|
@giropay_payments = giropay_payments
|
3930
|
+
@gopay_payments = gopay_payments
|
3410
3931
|
@grabpay_payments = grabpay_payments
|
3932
|
+
@id_bank_transfer_payments = id_bank_transfer_payments
|
3933
|
+
@id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
|
3411
3934
|
@ideal_payments = ideal_payments
|
3412
3935
|
@india_international_payments = india_international_payments
|
3413
3936
|
@jcb_payments = jcb_payments
|
@@ -3418,6 +3941,7 @@ module Stripe
|
|
3418
3941
|
@kr_card_payments = kr_card_payments
|
3419
3942
|
@legacy_payments = legacy_payments
|
3420
3943
|
@link_payments = link_payments
|
3944
|
+
@mb_way_payments = mb_way_payments
|
3421
3945
|
@mobilepay_payments = mobilepay_payments
|
3422
3946
|
@multibanco_payments = multibanco_payments
|
3423
3947
|
@mx_bank_transfer_payments = mx_bank_transfer_payments
|
@@ -3428,18 +3952,27 @@ module Stripe
|
|
3428
3952
|
@pay_by_bank_payments = pay_by_bank_payments
|
3429
3953
|
@payco_payments = payco_payments
|
3430
3954
|
@paynow_payments = paynow_payments
|
3955
|
+
@paypal_payments = paypal_payments
|
3956
|
+
@payto_payments = payto_payments
|
3431
3957
|
@promptpay_payments = promptpay_payments
|
3958
|
+
@qris_payments = qris_payments
|
3959
|
+
@rechnung_payments = rechnung_payments
|
3432
3960
|
@revolut_pay_payments = revolut_pay_payments
|
3433
3961
|
@samsung_pay_payments = samsung_pay_payments
|
3434
3962
|
@satispay_payments = satispay_payments
|
3435
3963
|
@sepa_bank_transfer_payments = sepa_bank_transfer_payments
|
3436
3964
|
@sepa_debit_payments = sepa_debit_payments
|
3965
|
+
@shopeepay_payments = shopeepay_payments
|
3437
3966
|
@sofort_payments = sofort_payments
|
3967
|
+
@stripe_balance_payments = stripe_balance_payments
|
3438
3968
|
@swish_payments = swish_payments
|
3439
3969
|
@tax_reporting_us_1099_k = tax_reporting_us_1099_k
|
3440
3970
|
@tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
|
3441
3971
|
@transfers = transfers
|
3442
3972
|
@treasury = treasury
|
3973
|
+
@treasury_evolve = treasury_evolve
|
3974
|
+
@treasury_fifth_third = treasury_fifth_third
|
3975
|
+
@treasury_goldman_sachs = treasury_goldman_sachs
|
3443
3976
|
@twint_payments = twint_payments
|
3444
3977
|
@us_bank_account_ach_payments = us_bank_account_ach_payments
|
3445
3978
|
@us_bank_transfer_payments = us_bank_transfer_payments
|
@@ -3771,6 +4304,30 @@ module Stripe
|
|
3771
4304
|
end
|
3772
4305
|
|
3773
4306
|
class Controller < Stripe::RequestParams
|
4307
|
+
class Application < Stripe::RequestParams
|
4308
|
+
# Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
|
4309
|
+
attr_accessor :loss_liable
|
4310
|
+
# Whether the controller owns onboarding for this account.
|
4311
|
+
attr_accessor :onboarding_owner
|
4312
|
+
# Whether the controller has pricing controls for this account.
|
4313
|
+
attr_accessor :pricing_controls
|
4314
|
+
|
4315
|
+
def initialize(loss_liable: nil, onboarding_owner: nil, pricing_controls: nil)
|
4316
|
+
@loss_liable = loss_liable
|
4317
|
+
@onboarding_owner = onboarding_owner
|
4318
|
+
@pricing_controls = pricing_controls
|
4319
|
+
end
|
4320
|
+
end
|
4321
|
+
|
4322
|
+
class Dashboard < Stripe::RequestParams
|
4323
|
+
# 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`.
|
4324
|
+
attr_accessor :type
|
4325
|
+
|
4326
|
+
def initialize(type: nil)
|
4327
|
+
@type = type
|
4328
|
+
end
|
4329
|
+
end
|
4330
|
+
|
3774
4331
|
class Fees < Stripe::RequestParams
|
3775
4332
|
# 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).
|
3776
4333
|
attr_accessor :payer
|
@@ -3797,6 +4354,10 @@ module Stripe
|
|
3797
4354
|
@type = type
|
3798
4355
|
end
|
3799
4356
|
end
|
4357
|
+
# A hash of configuration describing the Connect application that controls the account.
|
4358
|
+
attr_accessor :application
|
4359
|
+
# Properties of the account's dashboard.
|
4360
|
+
attr_accessor :dashboard
|
3800
4361
|
# A hash of configuration for who pays Stripe fees for product usage on this account.
|
3801
4362
|
attr_accessor :fees
|
3802
4363
|
# A hash of configuration for products that have negative balance liability, and whether Stripe or a Connect application is responsible for them.
|
@@ -3806,7 +4367,16 @@ module Stripe
|
|
3806
4367
|
# A hash of configuration for Stripe-hosted dashboards.
|
3807
4368
|
attr_accessor :stripe_dashboard
|
3808
4369
|
|
3809
|
-
def initialize(
|
4370
|
+
def initialize(
|
4371
|
+
application: nil,
|
4372
|
+
dashboard: nil,
|
4373
|
+
fees: nil,
|
4374
|
+
losses: nil,
|
4375
|
+
requirement_collection: nil,
|
4376
|
+
stripe_dashboard: nil
|
4377
|
+
)
|
4378
|
+
@application = application
|
4379
|
+
@dashboard = dashboard
|
3810
4380
|
@fees = fees
|
3811
4381
|
@losses = losses
|
3812
4382
|
@requirement_collection = requirement_collection
|
@@ -4240,6 +4810,37 @@ module Stripe
|
|
4240
4810
|
end
|
4241
4811
|
end
|
4242
4812
|
|
4813
|
+
class RiskControls < Stripe::RequestParams
|
4814
|
+
class Charges < Stripe::RequestParams
|
4815
|
+
# To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
4816
|
+
# There can be a delay before the risk control is paused or unpaused.
|
4817
|
+
attr_accessor :pause_requested
|
4818
|
+
|
4819
|
+
def initialize(pause_requested: nil)
|
4820
|
+
@pause_requested = pause_requested
|
4821
|
+
end
|
4822
|
+
end
|
4823
|
+
|
4824
|
+
class Payouts < Stripe::RequestParams
|
4825
|
+
# To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
4826
|
+
# There can be a delay before the risk control is paused or unpaused.
|
4827
|
+
attr_accessor :pause_requested
|
4828
|
+
|
4829
|
+
def initialize(pause_requested: nil)
|
4830
|
+
@pause_requested = pause_requested
|
4831
|
+
end
|
4832
|
+
end
|
4833
|
+
# 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).
|
4834
|
+
attr_accessor :charges
|
4835
|
+
# 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).
|
4836
|
+
attr_accessor :payouts
|
4837
|
+
|
4838
|
+
def initialize(charges: nil, payouts: nil)
|
4839
|
+
@charges = charges
|
4840
|
+
@payouts = payouts
|
4841
|
+
end
|
4842
|
+
end
|
4843
|
+
|
4243
4844
|
class Settings < Stripe::RequestParams
|
4244
4845
|
class BacsDebitPayments < Stripe::RequestParams
|
4245
4846
|
# 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.
|
@@ -4250,6 +4851,18 @@ module Stripe
|
|
4250
4851
|
end
|
4251
4852
|
end
|
4252
4853
|
|
4854
|
+
class BankBcaOnboarding < Stripe::RequestParams
|
4855
|
+
# Bank BCA business account holder name
|
4856
|
+
attr_accessor :account_holder_name
|
4857
|
+
# Bank BCA business account number
|
4858
|
+
attr_accessor :business_account_number
|
4859
|
+
|
4860
|
+
def initialize(account_holder_name: nil, business_account_number: nil)
|
4861
|
+
@account_holder_name = account_holder_name
|
4862
|
+
@business_account_number = business_account_number
|
4863
|
+
end
|
4864
|
+
end
|
4865
|
+
|
4253
4866
|
class Branding < Stripe::RequestParams
|
4254
4867
|
# (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.
|
4255
4868
|
attr_accessor :icon
|
@@ -4268,6 +4881,18 @@ module Stripe
|
|
4268
4881
|
end
|
4269
4882
|
end
|
4270
4883
|
|
4884
|
+
class Capital < Stripe::RequestParams
|
4885
|
+
# Per-currency mapping of user-selected destination accounts used to pay out loans.
|
4886
|
+
attr_accessor :payout_destination
|
4887
|
+
# Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
4888
|
+
attr_accessor :payout_destination_selector
|
4889
|
+
|
4890
|
+
def initialize(payout_destination: nil, payout_destination_selector: nil)
|
4891
|
+
@payout_destination = payout_destination
|
4892
|
+
@payout_destination_selector = payout_destination_selector
|
4893
|
+
end
|
4894
|
+
end
|
4895
|
+
|
4271
4896
|
class CardIssuing < Stripe::RequestParams
|
4272
4897
|
class TosAcceptance < Stripe::RequestParams
|
4273
4898
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
@@ -4385,6 +5010,15 @@ module Stripe
|
|
4385
5010
|
end
|
4386
5011
|
end
|
4387
5012
|
|
5013
|
+
class TaxForms < Stripe::RequestParams
|
5014
|
+
# Whether the account opted out of receiving their tax forms by postal delivery.
|
5015
|
+
attr_accessor :consented_to_paperless_delivery
|
5016
|
+
|
5017
|
+
def initialize(consented_to_paperless_delivery: nil)
|
5018
|
+
@consented_to_paperless_delivery = consented_to_paperless_delivery
|
5019
|
+
end
|
5020
|
+
end
|
5021
|
+
|
4388
5022
|
class Treasury < Stripe::RequestParams
|
4389
5023
|
class TosAcceptance < Stripe::RequestParams
|
4390
5024
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
@@ -4409,8 +5043,12 @@ module Stripe
|
|
4409
5043
|
end
|
4410
5044
|
# Settings specific to Bacs Direct Debit.
|
4411
5045
|
attr_accessor :bacs_debit_payments
|
5046
|
+
# Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
5047
|
+
attr_accessor :bank_bca_onboarding
|
4412
5048
|
# Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
4413
5049
|
attr_accessor :branding
|
5050
|
+
# Settings specific to the account's use of the Capital product.
|
5051
|
+
attr_accessor :capital
|
4414
5052
|
# Settings specific to the account's use of the Card Issuing product.
|
4415
5053
|
attr_accessor :card_issuing
|
4416
5054
|
# Settings specific to card charging on the account.
|
@@ -4421,26 +5059,34 @@ module Stripe
|
|
4421
5059
|
attr_accessor :payments
|
4422
5060
|
# Settings specific to the account's payouts.
|
4423
5061
|
attr_accessor :payouts
|
5062
|
+
# Settings specific to the account's tax forms.
|
5063
|
+
attr_accessor :tax_forms
|
4424
5064
|
# Settings specific to the account's Treasury FinancialAccounts.
|
4425
5065
|
attr_accessor :treasury
|
4426
5066
|
|
4427
5067
|
def initialize(
|
4428
5068
|
bacs_debit_payments: nil,
|
5069
|
+
bank_bca_onboarding: nil,
|
4429
5070
|
branding: nil,
|
5071
|
+
capital: nil,
|
4430
5072
|
card_issuing: nil,
|
4431
5073
|
card_payments: nil,
|
4432
5074
|
invoices: nil,
|
4433
5075
|
payments: nil,
|
4434
5076
|
payouts: nil,
|
5077
|
+
tax_forms: nil,
|
4435
5078
|
treasury: nil
|
4436
5079
|
)
|
4437
5080
|
@bacs_debit_payments = bacs_debit_payments
|
5081
|
+
@bank_bca_onboarding = bank_bca_onboarding
|
4438
5082
|
@branding = branding
|
5083
|
+
@capital = capital
|
4439
5084
|
@card_issuing = card_issuing
|
4440
5085
|
@card_payments = card_payments
|
4441
5086
|
@invoices = invoices
|
4442
5087
|
@payments = payments
|
4443
5088
|
@payouts = payouts
|
5089
|
+
@tax_forms = tax_forms
|
4444
5090
|
@treasury = treasury
|
4445
5091
|
end
|
4446
5092
|
end
|
@@ -4499,6 +5145,8 @@ module Stripe
|
|
4499
5145
|
attr_accessor :individual
|
4500
5146
|
# 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`.
|
4501
5147
|
attr_accessor :metadata
|
5148
|
+
# A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
|
5149
|
+
attr_accessor :risk_controls
|
4502
5150
|
# Options for customizing how the account functions within Stripe.
|
4503
5151
|
attr_accessor :settings
|
4504
5152
|
# 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.
|
@@ -4522,6 +5170,7 @@ module Stripe
|
|
4522
5170
|
groups: nil,
|
4523
5171
|
individual: nil,
|
4524
5172
|
metadata: nil,
|
5173
|
+
risk_controls: nil,
|
4525
5174
|
settings: nil,
|
4526
5175
|
tos_acceptance: nil,
|
4527
5176
|
type: nil
|
@@ -4541,6 +5190,7 @@ module Stripe
|
|
4541
5190
|
@groups = groups
|
4542
5191
|
@individual = individual
|
4543
5192
|
@metadata = metadata
|
5193
|
+
@risk_controls = risk_controls
|
4544
5194
|
@settings = settings
|
4545
5195
|
@tos_acceptance = tos_acceptance
|
4546
5196
|
@type = type
|
@@ -4659,6 +5309,8 @@ module Stripe
|
|
4659
5309
|
attr_reader :payouts_enabled
|
4660
5310
|
# Attribute for field requirements
|
4661
5311
|
attr_reader :requirements
|
5312
|
+
# Attribute for field risk_controls
|
5313
|
+
attr_reader :risk_controls
|
4662
5314
|
# Options for customizing how the account functions within Stripe.
|
4663
5315
|
attr_reader :settings
|
4664
5316
|
# Attribute for field tos_acceptance
|