stripe 15.2.0.pre.beta.1 → 15.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +718 -1556
- data/CONTRIBUTING.md +25 -0
- data/OPENAPI_VERSION +1 -1
- data/README.md +10 -7
- data/VERSION +1 -1
- data/lib/stripe/api_requestor.rb +0 -28
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/errors.rb +0 -54
- data/lib/stripe/event_types.rb +0 -89
- data/lib/stripe/object_types.rb +0 -52
- data/lib/stripe/resources/account.rb +32 -657
- data/lib/stripe/resources/account_session.rb +59 -253
- data/lib/stripe/resources/apple_pay_domain.rb +1 -2
- data/lib/stripe/resources/balance.rb +42 -0
- data/lib/stripe/resources/balance_transaction.rb +2 -0
- data/lib/stripe/resources/bank_account.rb +2 -2
- data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -2
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -4
- data/lib/stripe/resources/billing/credit_grant.rb +0 -10
- data/lib/stripe/resources/billing_portal/session.rb +1 -7
- data/lib/stripe/resources/capability.rb +1 -1
- data/lib/stripe/resources/card.rb +0 -2
- data/lib/stripe/resources/cash_balance.rb +0 -2
- data/lib/stripe/resources/charge.rb +13 -1475
- data/lib/stripe/resources/checkout/session.rb +21 -333
- data/lib/stripe/resources/confirmation_token.rb +33 -263
- data/lib/stripe/resources/country_spec.rb +1 -1
- data/lib/stripe/resources/coupon.rb +2 -32
- data/lib/stripe/resources/credit_note.rb +10 -17
- data/lib/stripe/resources/credit_note_line_item.rb +0 -9
- data/lib/stripe/resources/customer.rb +2 -6
- data/lib/stripe/resources/customer_balance_transaction.rb +0 -2
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -2
- data/lib/stripe/resources/customer_session.rb +4 -9
- data/lib/stripe/resources/discount.rb +0 -2
- data/lib/stripe/resources/dispute.rb +2 -2
- data/lib/stripe/resources/event.rb +1 -32
- data/lib/stripe/resources/file.rb +1 -1
- data/lib/stripe/resources/financial_connections/account.rb +1 -20
- data/lib/stripe/resources/financial_connections/session.rb +2 -62
- data/lib/stripe/resources/identity/verification_report.rb +6 -0
- data/lib/stripe/resources/identity/verification_session.rb +17 -21
- data/lib/stripe/resources/invoice.rb +79 -1106
- data/lib/stripe/resources/invoice_item.rb +4 -81
- data/lib/stripe/resources/invoice_line_item.rb +2 -56
- data/lib/stripe/resources/invoice_payment.rb +62 -4
- data/lib/stripe/resources/issuing/authorization.rb +8 -8
- data/lib/stripe/resources/issuing/card.rb +1 -1
- data/lib/stripe/resources/issuing/cardholder.rb +1 -2
- data/lib/stripe/resources/issuing/dispute.rb +3 -3
- data/lib/stripe/resources/issuing/transaction.rb +0 -6
- data/lib/stripe/resources/line_item.rb +0 -37
- data/lib/stripe/resources/mandate.rb +0 -24
- data/lib/stripe/resources/payment_intent.rb +1912 -6840
- data/lib/stripe/resources/payment_method.rb +47 -301
- data/lib/stripe/resources/payment_method_configuration.rb +112 -112
- data/lib/stripe/resources/payment_method_domain.rb +2 -2
- data/lib/stripe/resources/payout.rb +4 -10
- data/lib/stripe/resources/person.rb +2 -2
- data/lib/stripe/resources/plan.rb +2 -3
- data/lib/stripe/resources/price.rb +1 -31
- data/lib/stripe/resources/product.rb +1 -61
- data/lib/stripe/resources/promotion_code.rb +0 -10
- data/lib/stripe/resources/quote.rb +6 -2046
- data/lib/stripe/resources/radar/value_list.rb +1 -2
- data/lib/stripe/resources/radar/value_list_item.rb +1 -2
- data/lib/stripe/resources/refund.rb +6 -10
- data/lib/stripe/resources/reversal.rb +1 -1
- data/lib/stripe/resources/review.rb +1 -1
- data/lib/stripe/resources/setup_attempt.rb +0 -21
- data/lib/stripe/resources/setup_intent.rb +120 -877
- data/lib/stripe/resources/source.rb +1 -30
- data/lib/stripe/resources/subscription.rb +97 -326
- data/lib/stripe/resources/subscription_item.rb +32 -80
- data/lib/stripe/resources/subscription_schedule.rb +127 -1015
- data/lib/stripe/resources/tax/calculation.rb +4 -0
- data/lib/stripe/resources/tax/calculation_line_item.rb +2 -0
- data/lib/stripe/resources/tax/registration.rb +1 -1
- data/lib/stripe/resources/tax_id.rb +3 -14
- data/lib/stripe/resources/tax_rate.rb +2 -2
- data/lib/stripe/resources/terminal/configuration.rb +1 -2
- data/lib/stripe/resources/terminal/location.rb +2 -3
- data/lib/stripe/resources/terminal/reader.rb +8 -142
- data/lib/stripe/resources/test_helpers/test_clock.rb +1 -2
- data/lib/stripe/resources/token.rb +2 -2
- data/lib/stripe/resources/transfer.rb +1 -7
- data/lib/stripe/resources/treasury/financial_account.rb +3 -22
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
- data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -37
- data/lib/stripe/resources/treasury/received_credit.rb +1 -38
- data/lib/stripe/resources/treasury/received_debit.rb +1 -40
- data/lib/stripe/resources/webhook_endpoint.rb +1 -2
- data/lib/stripe/resources.rb +0 -99
- data/lib/stripe/services/account_external_account_service.rb +2 -3
- data/lib/stripe/services/account_login_link_service.rb +1 -1
- data/lib/stripe/services/account_person_service.rb +1 -2
- data/lib/stripe/services/account_service.rb +23 -559
- data/lib/stripe/services/account_session_service.rb +29 -229
- data/lib/stripe/services/apple_pay_domain_service.rb +1 -2
- data/lib/stripe/services/balance_service.rb +1 -1
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +1 -4
- data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -4
- data/lib/stripe/services/billing/credit_grant_service.rb +0 -8
- data/lib/stripe/services/billing_portal/session_service.rb +0 -4
- data/lib/stripe/services/charge_service.rb +4 -1354
- data/lib/stripe/services/checkout/session_service.rb +13 -250
- data/lib/stripe/services/coupon_service.rb +2 -19
- data/lib/stripe/services/credit_note_service.rb +7 -12
- data/lib/stripe/services/customer_balance_transaction_service.rb +3 -3
- data/lib/stripe/services/customer_cash_balance_transaction_service.rb +2 -2
- data/lib/stripe/services/customer_payment_source_service.rb +1 -1
- data/lib/stripe/services/customer_service.rb +3 -5
- data/lib/stripe/services/customer_session_service.rb +1 -4
- data/lib/stripe/services/customer_tax_id_service.rb +1 -2
- data/lib/stripe/services/dispute_service.rb +1 -1
- data/lib/stripe/services/file_service.rb +1 -1
- data/lib/stripe/services/financial_connections/account_service.rb +2 -7
- data/lib/stripe/services/financial_connections/session_service.rb +2 -34
- data/lib/stripe/services/financial_connections_service.rb +1 -2
- data/lib/stripe/services/identity/verification_session_service.rb +5 -13
- data/lib/stripe/services/invoice_item_service.rb +3 -76
- data/lib/stripe/services/invoice_line_item_service.rb +1 -33
- data/lib/stripe/services/invoice_payment_service.rb +83 -0
- data/lib/stripe/services/invoice_service.rb +74 -1049
- data/lib/stripe/services/issuing/authorization_service.rb +4 -4
- data/lib/stripe/services/issuing/card_service.rb +1 -1
- data/lib/stripe/services/issuing/cardholder_service.rb +1 -2
- data/lib/stripe/services/issuing/dispute_service.rb +2 -2
- data/lib/stripe/services/issuing/transaction_service.rb +0 -4
- data/lib/stripe/services/issuing_service.rb +1 -5
- data/lib/stripe/services/payment_intent_service.rb +439 -4928
- data/lib/stripe/services/payment_method_configuration_service.rb +82 -82
- data/lib/stripe/services/payment_method_domain_service.rb +1 -1
- data/lib/stripe/services/payment_method_service.rb +44 -226
- data/lib/stripe/services/payout_service.rb +2 -6
- data/lib/stripe/services/plan_service.rb +2 -3
- data/lib/stripe/services/price_service.rb +2 -21
- data/lib/stripe/services/product_feature_service.rb +1 -2
- data/lib/stripe/services/product_service.rb +2 -41
- data/lib/stripe/services/promotion_code_service.rb +1 -9
- data/lib/stripe/services/quote_service.rb +7 -1730
- data/lib/stripe/services/radar/early_fraud_warning_service.rb +1 -1
- data/lib/stripe/services/radar/value_list_item_service.rb +1 -2
- data/lib/stripe/services/radar/value_list_service.rb +1 -2
- data/lib/stripe/services/setup_intent_service.rb +119 -836
- data/lib/stripe/services/source_service.rb +1 -1
- data/lib/stripe/services/subscription_item_service.rb +27 -73
- data/lib/stripe/services/subscription_schedule_service.rb +101 -916
- data/lib/stripe/services/subscription_service.rb +85 -282
- data/lib/stripe/services/tax/calculation_service.rb +4 -0
- data/lib/stripe/services/tax/registration_service.rb +1 -1
- data/lib/stripe/services/tax_id_service.rb +3 -10
- data/lib/stripe/services/tax_service.rb +1 -3
- data/lib/stripe/services/terminal/configuration_service.rb +1 -2
- data/lib/stripe/services/terminal/location_service.rb +2 -3
- data/lib/stripe/services/terminal/reader_service.rb +5 -81
- data/lib/stripe/services/terminal_service.rb +1 -2
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +33 -190
- data/lib/stripe/services/test_helpers/test_clock_service.rb +1 -2
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +1 -25
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +1 -25
- data/lib/stripe/services/token_service.rb +1 -1
- data/lib/stripe/services/transfer_service.rb +1 -5
- data/lib/stripe/services/treasury/financial_account_features_service.rb +1 -4
- data/lib/stripe/services/treasury/financial_account_service.rb +2 -16
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -24
- data/lib/stripe/services/v1_services.rb +2 -12
- data/lib/stripe/services/v2/billing/meter_event_session_service.rb +1 -2
- data/lib/stripe/services/v2/core/event_destination_service.rb +4 -10
- data/lib/stripe/services/v2/core/event_service.rb +1 -2
- data/lib/stripe/services/v2/core_service.rb +1 -4
- data/lib/stripe/services/v2_services.rb +2 -4
- data/lib/stripe/services/webhook_endpoint_service.rb +1 -2
- data/lib/stripe/services.rb +1 -54
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +0 -53
- data/rbi/stripe/resources/account.rbi +4926 -0
- data/rbi/stripe/resources/account_link.rbi +74 -0
- data/rbi/stripe/resources/account_session.rbi +1013 -0
- data/rbi/stripe/resources/apple_pay_domain.rbi +88 -0
- data/rbi/stripe/resources/application.rbi +20 -0
- data/rbi/stripe/resources/application_fee.rbi +118 -0
- data/rbi/stripe/resources/application_fee_refund.rbi +37 -0
- data/rbi/stripe/resources/apps/secret.rbi +195 -0
- data/rbi/stripe/resources/balance.rbi +235 -0
- data/rbi/stripe/resources/balance_transaction.rbi +147 -0
- data/rbi/stripe/resources/bank_account.rbi +127 -0
- data/rbi/stripe/resources/billing/alert.rbi +201 -0
- data/rbi/stripe/resources/billing/alert_triggered.rbi +28 -0
- data/rbi/stripe/resources/billing/credit_balance_summary.rbi +63 -0
- data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +147 -0
- data/rbi/stripe/resources/billing/credit_grant.rbi +291 -0
- data/rbi/stripe/resources/billing/meter.rbi +226 -0
- data/rbi/stripe/resources/billing/meter_event.rbi +64 -0
- data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +64 -0
- data/rbi/stripe/resources/billing/meter_event_summary.rbi +35 -0
- data/rbi/stripe/resources/billing_portal/configuration.rbi +645 -0
- data/rbi/stripe/resources/billing_portal/session.rbi +345 -0
- data/rbi/stripe/resources/capability.rbi +125 -0
- data/rbi/stripe/resources/card.rbi +125 -0
- data/rbi/stripe/resources/cash_balance.rbi +32 -0
- data/rbi/stripe/resources/charge.rbi +2069 -0
- data/rbi/stripe/resources/checkout/session.rbi +4004 -0
- data/rbi/stripe/resources/climate/order.rbi +245 -0
- data/rbi/stripe/resources/climate/product.rbi +75 -0
- data/rbi/stripe/resources/climate/supplier.rbi +72 -0
- data/rbi/stripe/resources/confirmation_token.rbi +1807 -0
- data/rbi/stripe/resources/connect_collection_transfer.rbi +26 -0
- data/rbi/stripe/resources/country_spec.rbi +85 -0
- data/rbi/stripe/resources/coupon.rbi +250 -0
- data/rbi/stripe/resources/credit_note.rbi +752 -0
- data/rbi/stripe/resources/credit_note_line_item.rbi +101 -0
- data/rbi/stripe/resources/customer.rbi +1005 -0
- data/rbi/stripe/resources/customer_balance_transaction.rbi +56 -0
- data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +151 -0
- data/rbi/stripe/resources/customer_session.rbi +200 -0
- data/rbi/stripe/resources/discount.rbi +53 -0
- data/rbi/stripe/resources/dispute.rbi +761 -0
- data/rbi/stripe/resources/entitlements/active_entitlement.rbi +58 -0
- data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +23 -0
- data/rbi/stripe/resources/entitlements/feature.rbi +117 -0
- data/rbi/stripe/resources/ephemeral_key.rbi +44 -0
- data/rbi/stripe/resources/event.rbi +149 -0
- data/rbi/stripe/resources/exchange_rate.rbi +66 -0
- data/rbi/stripe/resources/file.rbi +143 -0
- data/rbi/stripe/resources/file_link.rbi +141 -0
- data/rbi/stripe/resources/financial_connections/account.rbi +339 -0
- data/rbi/stripe/resources/financial_connections/account_owner.rbi +35 -0
- data/rbi/stripe/resources/financial_connections/account_ownership.rbi +23 -0
- data/rbi/stripe/resources/financial_connections/session.rbi +123 -0
- data/rbi/stripe/resources/financial_connections/transaction.rbi +124 -0
- data/rbi/stripe/resources/forwarding/request.rbi +216 -0
- data/rbi/stripe/resources/funding_instructions.rbi +437 -0
- data/rbi/stripe/resources/identity/verification_report.rbi +360 -0
- data/rbi/stripe/resources/identity/verification_session.rbi +526 -0
- data/rbi/stripe/resources/invoice.rbi +3812 -0
- data/rbi/stripe/resources/invoice_item.rbi +473 -0
- data/rbi/stripe/resources/invoice_line_item.rbi +432 -0
- data/rbi/stripe/resources/invoice_payment.rbi +121 -0
- data/rbi/stripe/resources/invoice_rendering_template.rbi +104 -0
- data/rbi/stripe/resources/issuing/authorization.rbi +1283 -0
- data/rbi/stripe/resources/issuing/card.rbi +741 -0
- data/rbi/stripe/resources/issuing/cardholder.rbi +744 -0
- data/rbi/stripe/resources/issuing/dispute.rbi +913 -0
- data/rbi/stripe/resources/issuing/personalization_design.rbi +338 -0
- data/rbi/stripe/resources/issuing/physical_bundle.rbi +79 -0
- data/rbi/stripe/resources/issuing/token.rbi +226 -0
- data/rbi/stripe/resources/issuing/transaction.rbi +1061 -0
- data/rbi/stripe/resources/line_item.rbi +72 -0
- data/rbi/stripe/resources/login_link.rbi +19 -0
- data/rbi/stripe/resources/mandate.rbi +187 -0
- data/rbi/stripe/resources/payment_intent.rbi +9647 -0
- data/rbi/stripe/resources/payment_link.rbi +1801 -0
- data/rbi/stripe/resources/payment_method.rbi +1761 -0
- data/rbi/stripe/resources/payment_method_configuration.rbi +3550 -0
- data/rbi/stripe/resources/payment_method_domain.rbi +228 -0
- data/rbi/stripe/resources/payout.rbi +300 -0
- data/rbi/stripe/resources/person.rbi +401 -0
- data/rbi/stripe/resources/plan.rbi +371 -0
- data/rbi/stripe/resources/price.rbi +694 -0
- data/rbi/stripe/resources/product.rbi +555 -0
- data/rbi/stripe/resources/product_feature.rbi +26 -0
- data/rbi/stripe/resources/promotion_code.rbi +261 -0
- data/rbi/stripe/resources/quote.rbi +1126 -0
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +98 -0
- data/rbi/stripe/resources/radar/value_list.rbi +168 -0
- data/rbi/stripe/resources/radar/value_list_item.rbi +129 -0
- data/rbi/stripe/resources/refund.rbi +523 -0
- data/rbi/stripe/resources/reporting/report_run.rbi +191 -0
- data/rbi/stripe/resources/reporting/report_type.rbi +57 -0
- data/rbi/stripe/resources/reserve_transaction.rbi +23 -0
- data/rbi/stripe/resources/reversal.rbi +51 -0
- data/rbi/stripe/resources/review.rbi +154 -0
- data/rbi/stripe/resources/setup_attempt.rbi +477 -0
- data/rbi/stripe/resources/setup_intent.rbi +3655 -0
- data/rbi/stripe/resources/shipping_rate.rbi +305 -0
- data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +75 -0
- data/rbi/stripe/resources/source.rbi +1496 -0
- data/rbi/stripe/resources/source_mandate_notification.rbi +77 -0
- data/rbi/stripe/resources/source_transaction.rbi +127 -0
- data/rbi/stripe/resources/subscription.rbi +2027 -0
- data/rbi/stripe/resources/subscription_item.rbi +404 -0
- data/rbi/stripe/resources/subscription_schedule.rbi +1623 -0
- data/rbi/stripe/resources/tax/calculation.rbi +478 -0
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +91 -0
- data/rbi/stripe/resources/tax/registration.rbi +2713 -0
- data/rbi/stripe/resources/tax/settings.rbi +141 -0
- data/rbi/stripe/resources/tax/transaction.rbi +351 -0
- data/rbi/stripe/resources/tax/transaction_line_item.rbi +54 -0
- data/rbi/stripe/resources/tax_code.rbi +44 -0
- data/rbi/stripe/resources/tax_deducted_at_source.rbi +23 -0
- data/rbi/stripe/resources/tax_id.rbi +165 -0
- data/rbi/stripe/resources/tax_rate.rbi +239 -0
- data/rbi/stripe/resources/terminal/configuration.rbi +1386 -0
- data/rbi/stripe/resources/terminal/connection_token.rbi +37 -0
- data/rbi/stripe/resources/terminal/location.rbi +222 -0
- data/rbi/stripe/resources/terminal/reader.rbi +847 -0
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +132 -0
- data/rbi/stripe/resources/token.rbi +1283 -0
- data/rbi/stripe/resources/topup.rbi +222 -0
- data/rbi/stripe/resources/transfer.rbi +199 -0
- data/rbi/stripe/resources/treasury/credit_reversal.rbi +119 -0
- data/rbi/stripe/resources/treasury/debit_reversal.rbi +131 -0
- data/rbi/stripe/resources/treasury/financial_account.rbi +865 -0
- data/rbi/stripe/resources/treasury/financial_account_features.rbi +260 -0
- data/rbi/stripe/resources/treasury/inbound_transfer.rbi +295 -0
- data/rbi/stripe/resources/treasury/outbound_payment.rbi +592 -0
- data/rbi/stripe/resources/treasury/outbound_transfer.rbi +431 -0
- data/rbi/stripe/resources/treasury/received_credit.rbi +302 -0
- data/rbi/stripe/resources/treasury/received_debit.rbi +256 -0
- data/rbi/stripe/resources/treasury/transaction.rbi +215 -0
- data/rbi/stripe/resources/treasury/transaction_entry.rbi +192 -0
- data/rbi/stripe/resources/v2/amount.rbi +14 -0
- data/rbi/stripe/resources/v2/billing/meter_event.rbi +37 -0
- data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +41 -0
- data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +31 -0
- data/rbi/stripe/resources/v2/event.rbi +48 -0
- data/rbi/stripe/resources/v2/event_destination.rbi +91 -0
- data/rbi/stripe/resources/webhook_endpoint.rbi +168 -0
- data/rbi/stripe/services/account_capability_service.rbi +51 -0
- data/{lib/stripe/services/external_account_service.rb → rbi/stripe/services/account_external_account_service.rbi} +124 -138
- data/rbi/stripe/services/account_link_service.rbi +58 -0
- data/rbi/stripe/services/account_login_link_service.rbi +22 -0
- data/rbi/stripe/services/account_person_service.rbi +1011 -0
- data/rbi/stripe/services/account_service.rbi +4213 -0
- data/rbi/stripe/services/account_session_service.rbi +646 -0
- data/rbi/stripe/services/apple_pay_domain_service.rbi +76 -0
- data/rbi/stripe/services/application_fee_refund_service.rbi +93 -0
- data/rbi/stripe/services/application_fee_service.rbi +78 -0
- data/rbi/stripe/services/apps/secret_service.rbi +151 -0
- data/rbi/stripe/services/apps_service.rbi +9 -0
- data/rbi/stripe/services/balance_service.rbi +21 -0
- data/rbi/stripe/services/balance_transaction_service.rbi +93 -0
- data/rbi/stripe/services/billing/alert_service.rbi +152 -0
- data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +68 -0
- data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +59 -0
- data/rbi/stripe/services/billing/credit_grant_service.rbi +211 -0
- data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +42 -0
- data/rbi/stripe/services/billing/meter_event_service.rbi +42 -0
- data/rbi/stripe/services/billing/meter_event_summary_service.rbi +54 -0
- data/rbi/stripe/services/billing/meter_service.rbi +163 -0
- data/rbi/stripe/services/billing_portal/configuration_service.rbi +511 -0
- data/rbi/stripe/services/billing_portal/session_service.rbi +204 -0
- data/rbi/stripe/services/billing_portal_service.rbi +10 -0
- data/rbi/stripe/services/billing_service.rbi +15 -0
- data/rbi/stripe/services/charge_service.rbi +448 -0
- data/rbi/stripe/services/checkout/session_line_item_service.rbi +33 -0
- data/rbi/stripe/services/checkout/session_service.rbi +2614 -0
- data/rbi/stripe/services/checkout_service.rbi +9 -0
- data/rbi/stripe/services/climate/order_service.rbi +142 -0
- data/rbi/stripe/services/climate/product_service.rbi +46 -0
- data/{lib/stripe/services/financial_connections/institution_service.rb → rbi/stripe/services/climate/supplier_service.rbi} +25 -36
- data/rbi/stripe/services/climate_service.rbi +11 -0
- data/rbi/stripe/services/confirmation_token_service.rbi +20 -0
- data/rbi/stripe/services/country_spec_service.rbi +44 -0
- data/rbi/stripe/services/coupon_service.rbi +194 -0
- data/{lib/stripe/services/quote_preview_invoice_service.rb → rbi/stripe/services/credit_note_line_item_service.rbi} +16 -20
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +167 -0
- data/rbi/stripe/services/credit_note_service.rbi +415 -0
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +92 -0
- data/rbi/stripe/services/customer_cash_balance_service.rbi +45 -0
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +44 -0
- data/rbi/stripe/services/customer_funding_instructions_service.rbi +59 -0
- data/rbi/stripe/services/customer_payment_method_service.rbi +57 -0
- data/rbi/stripe/services/customer_payment_source_service.rbi +232 -0
- data/rbi/stripe/services/customer_service.rbi +647 -0
- data/rbi/stripe/services/customer_session_service.rbi +116 -0
- data/rbi/stripe/services/customer_tax_id_service.rbi +70 -0
- data/rbi/stripe/services/dispute_service.rbi +424 -0
- data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +55 -0
- data/rbi/stripe/services/entitlements/feature_service.rbi +107 -0
- data/rbi/stripe/services/entitlements_service.rbi +10 -0
- data/rbi/stripe/services/ephemeral_key_service.rbi +53 -0
- data/rbi/stripe/services/event_service.rbi +83 -0
- data/rbi/stripe/services/exchange_rate_service.rbi +44 -0
- data/rbi/stripe/services/file_link_service.rbi +124 -0
- data/rbi/stripe/services/file_service.rbi +116 -0
- data/rbi/stripe/services/financial_connections/account_owner_service.rbi +42 -0
- data/rbi/stripe/services/financial_connections/account_service.rbi +133 -0
- data/rbi/stripe/services/financial_connections/session_service.rbi +88 -0
- data/rbi/stripe/services/financial_connections/transaction_service.rbi +92 -0
- data/rbi/stripe/services/financial_connections_service.rbi +11 -0
- data/rbi/stripe/services/forwarding/request_service.rbi +134 -0
- data/rbi/stripe/services/forwarding_service.rbi +9 -0
- data/rbi/stripe/services/identity/verification_report_service.rbi +87 -0
- data/rbi/stripe/services/identity/verification_session_service.rbi +323 -0
- data/rbi/stripe/services/identity_service.rbi +10 -0
- data/rbi/stripe/services/invoice_item_service.rbi +366 -0
- data/rbi/stripe/services/invoice_line_item_service.rbi +259 -0
- data/rbi/stripe/services/invoice_payment_service.rbi +71 -0
- data/rbi/stripe/services/invoice_rendering_template_service.rbi +82 -0
- data/rbi/stripe/services/invoice_service.rbi +2981 -0
- data/rbi/stripe/services/issuing/authorization_service.rbi +146 -0
- data/rbi/stripe/services/issuing/card_service.rbi +495 -0
- data/rbi/stripe/services/issuing/cardholder_service.rbi +587 -0
- data/rbi/stripe/services/issuing/dispute_service.rbi +707 -0
- data/rbi/stripe/services/issuing/personalization_design_service.rbi +243 -0
- data/rbi/stripe/services/issuing/physical_bundle_service.rbi +59 -0
- data/rbi/stripe/services/issuing/token_service.rbi +99 -0
- data/rbi/stripe/services/issuing/transaction_service.rbi +105 -0
- data/rbi/stripe/services/issuing_service.rbi +16 -0
- data/rbi/stripe/services/mandate_service.rbi +20 -0
- data/rbi/stripe/services/payment_intent_service.rbi +7659 -0
- data/{lib/stripe/services/payment_intent_amount_details_line_item_service.rb → rbi/stripe/services/payment_link_line_item_service.rbi} +16 -20
- data/rbi/stripe/services/payment_link_service.rbi +1352 -0
- data/rbi/stripe/services/payment_method_configuration_service.rbi +2487 -0
- data/rbi/stripe/services/payment_method_domain_service.rbi +112 -0
- data/rbi/stripe/services/payment_method_service.rbi +776 -0
- data/rbi/stripe/services/payout_service.rbi +205 -0
- data/rbi/stripe/services/plan_service.rbi +282 -0
- data/rbi/stripe/services/price_service.rbi +546 -0
- data/rbi/stripe/services/product_feature_service.rbi +67 -0
- data/rbi/stripe/services/product_service.rbi +477 -0
- data/rbi/stripe/services/promotion_code_service.rbi +214 -0
- data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +31 -0
- data/{lib/stripe/services/order_line_item_service.rb → rbi/stripe/services/quote_line_item_service.rbi} +16 -20
- data/rbi/stripe/services/quote_service.rbi +686 -0
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +85 -0
- data/rbi/stripe/services/radar/value_list_item_service.rbi +109 -0
- data/rbi/stripe/services/radar/value_list_service.rbi +141 -0
- data/rbi/stripe/services/radar_service.rbi +11 -0
- data/rbi/stripe/services/refund_service.rbi +185 -0
- data/rbi/stripe/services/reporting/report_run_service.rbi +135 -0
- data/rbi/stripe/services/reporting/report_type_service.rbi +35 -0
- data/rbi/stripe/services/reporting_service.rbi +10 -0
- data/rbi/stripe/services/review_service.rbi +84 -0
- data/rbi/stripe/services/setup_attempt_service.rbi +65 -0
- data/rbi/stripe/services/setup_intent_service.rbi +3391 -0
- data/rbi/stripe/services/shipping_rate_service.rbi +241 -0
- data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +46 -0
- data/rbi/stripe/services/sigma_service.rbi +9 -0
- data/rbi/stripe/services/source_service.rbi +663 -0
- data/{lib/stripe/services/quote_line_service.rb → rbi/stripe/services/source_transaction_service.rbi} +16 -20
- data/rbi/stripe/services/subscription_item_service.rbi +350 -0
- data/rbi/stripe/services/subscription_schedule_service.rbi +1290 -0
- data/rbi/stripe/services/subscription_service.rbi +1648 -0
- data/{lib/stripe/services/financial_connections/account_inferred_balance_service.rb → rbi/stripe/services/tax/calculation_line_item_service.rbi} +17 -21
- data/rbi/stripe/services/tax/calculation_service.rbi +234 -0
- data/rbi/stripe/services/tax/registration_service.rbi +1845 -0
- data/rbi/stripe/services/tax/settings_service.rbi +93 -0
- data/{lib/stripe/services/privacy/redaction_job_validation_error_service.rb → rbi/stripe/services/tax/transaction_line_item_service.rbi} +17 -21
- data/rbi/stripe/services/tax/transaction_service.rbi +146 -0
- data/rbi/stripe/services/tax_code_service.rbi +44 -0
- data/rbi/stripe/services/tax_id_service.rbi +110 -0
- data/rbi/stripe/services/tax_rate_service.rbi +185 -0
- data/rbi/stripe/services/tax_service.rbi +12 -0
- data/rbi/stripe/services/terminal/configuration_service.rbi +1118 -0
- data/rbi/stripe/services/terminal/connection_token_service.rbi +25 -0
- data/rbi/stripe/services/terminal/location_service.rbi +182 -0
- data/rbi/stripe/services/terminal/reader_service.rbi +455 -0
- data/rbi/stripe/services/terminal_service.rbi +12 -0
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +739 -0
- data/rbi/stripe/services/test_helpers/customer_service.rbi +33 -0
- data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +848 -0
- data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +76 -0
- data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +69 -0
- data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +711 -0
- data/rbi/stripe/services/test_helpers/issuing_service.rbi +14 -0
- data/rbi/stripe/services/test_helpers/refund_service.rbi +22 -0
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +93 -0
- data/rbi/stripe/services/test_helpers/terminal_service.rbi +11 -0
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +90 -0
- data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +64 -0
- data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +125 -0
- data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +125 -0
- data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +87 -0
- data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +87 -0
- data/rbi/stripe/services/test_helpers/treasury_service.rbi +15 -0
- data/rbi/stripe/services/test_helpers_service.rbi +15 -0
- data/rbi/stripe/services/token_service.rbi +1257 -0
- data/rbi/stripe/services/topup_service.rbi +176 -0
- data/rbi/stripe/services/transfer_reversal_service.rbi +101 -0
- data/rbi/stripe/services/transfer_service.rbi +152 -0
- data/rbi/stripe/services/treasury/credit_reversal_service.rbi +84 -0
- data/rbi/stripe/services/treasury/debit_reversal_service.rbi +88 -0
- data/rbi/stripe/services/treasury/financial_account_features_service.rbi +198 -0
- data/rbi/stripe/services/treasury/financial_account_service.rbi +562 -0
- data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +117 -0
- data/rbi/stripe/services/treasury/outbound_payment_service.rbi +304 -0
- data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +157 -0
- data/rbi/stripe/services/treasury/received_credit_service.rbi +72 -0
- data/rbi/stripe/services/treasury/received_debit_service.rbi +59 -0
- data/rbi/stripe/services/treasury/transaction_entry_service.rbi +111 -0
- data/rbi/stripe/services/treasury/transaction_service.rbi +122 -0
- data/rbi/stripe/services/treasury_service.rbi +18 -0
- data/rbi/stripe/services/v1_services.rbi +77 -0
- data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +39 -0
- data/rbi/stripe/services/v2/billing/meter_event_service.rbi +42 -0
- data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +18 -0
- data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +55 -0
- data/rbi/stripe/services/v2/billing_service.rbi +14 -0
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +192 -0
- data/rbi/stripe/services/v2/core/event_service.rbi +36 -0
- data/rbi/stripe/services/v2/core_service.rbi +12 -0
- data/rbi/stripe/services/v2_services.rbi +10 -0
- data/rbi/stripe/services/webhook_endpoint_service.rbi +129 -0
- data/stripe.gemspec +1 -4
- metadata +326 -158
- data/lib/stripe/events/v2_core_account_closed_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_created_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_link_completed_event.rb +0 -13
- data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_updated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -23
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -23
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -21
- data/lib/stripe/resources/account_notice.rb +0 -123
- data/lib/stripe/resources/balance_settings.rb +0 -105
- data/lib/stripe/resources/billing/meter_error_report.rb +0 -59
- data/lib/stripe/resources/capital/financing_offer.rb +0 -179
- data/lib/stripe/resources/capital/financing_summary.rb +0 -55
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -114
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
- data/lib/stripe/resources/financial_connections/institution.rb +0 -90
- data/lib/stripe/resources/fx_quote.rb +0 -184
- data/lib/stripe/resources/gift_cards/card.rb +0 -208
- data/lib/stripe/resources/gift_cards/transaction.rb +0 -272
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -602
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -82
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -86
- data/lib/stripe/resources/issuing/settlement.rb +0 -53
- data/lib/stripe/resources/margin.rb +0 -115
- data/lib/stripe/resources/order.rb +0 -2859
- data/lib/stripe/resources/payment_attempt_record.rb +0 -1078
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -65
- data/lib/stripe/resources/payment_record.rb +0 -1607
- data/lib/stripe/resources/privacy/redaction_job.rb +0 -275
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -25
- data/lib/stripe/resources/quote_line.rb +0 -274
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -663
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -339
- data/lib/stripe/resources/tax/association.rb +0 -89
- data/lib/stripe/resources/tax/form.rb +0 -211
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -31
- data/lib/stripe/resources/v2/core/account.rb +0 -1746
- data/lib/stripe/resources/v2/core/account_link.rb +0 -56
- data/lib/stripe/resources/v2/core/person.rb +0 -276
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -74
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -39
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -20
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -22
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -51
- data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -58
- data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -68
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -94
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -129
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -82
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -45
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -117
- data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -75
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -49
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -136
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -108
- data/lib/stripe/resources/v2/money_management/transaction.rb +0 -78
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -68
- data/lib/stripe/services/account_notice_service.rb +0 -101
- data/lib/stripe/services/balance_settings_service.rb +0 -96
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
- data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
- data/lib/stripe/services/capital_service.rb +0 -15
- data/lib/stripe/services/fx_quote_service.rb +0 -123
- data/lib/stripe/services/gift_cards/card_service.rb +0 -170
- data/lib/stripe/services/gift_cards/transaction_service.rb +0 -209
- data/lib/stripe/services/gift_cards_service.rb +0 -14
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
- data/lib/stripe/services/margin_service.rb +0 -119
- data/lib/stripe/services/order_service.rb +0 -2268
- data/lib/stripe/services/payment_attempt_record_service.rb +0 -49
- data/lib/stripe/services/payment_record_service.rb +0 -542
- data/lib/stripe/services/privacy/redaction_job_service.rb +0 -231
- data/lib/stripe/services/privacy_service.rb +0 -13
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -35
- data/lib/stripe/services/tax/association_service.rb +0 -31
- data/lib/stripe/services/tax/form_service.rb +0 -100
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
- data/lib/stripe/services/v2/core/account_link_service.rb +0 -76
- data/lib/stripe/services/v2/core/account_service.rb +0 -4138
- data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -1048
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -135
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -109
- data/lib/stripe/services/v2/core/vault_service.rb +0 -18
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -75
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -44
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -81
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -126
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -96
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -202
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -237
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -174
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -95
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -71
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -44
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -70
- data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -74
- data/lib/stripe/services/v2/money_management_service.rb +0 -31
- data/lib/stripe/services/v2/test_helper_service.rb +0 -15
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -50
- data/rbi/stripe.rbi +0 -191867
@@ -13,8 +13,7 @@ module Stripe
|
|
13
13
|
@persons = Stripe::AccountPersonService.new(@requestor)
|
14
14
|
end
|
15
15
|
|
16
|
-
class DeleteParams < Stripe::RequestParams
|
17
|
-
end
|
16
|
+
class DeleteParams < Stripe::RequestParams; end
|
18
17
|
|
19
18
|
class RetrieveParams < Stripe::RequestParams
|
20
19
|
# Specifies which fields in the response should be expanded.
|
@@ -228,15 +227,6 @@ module Stripe
|
|
228
227
|
end
|
229
228
|
end
|
230
229
|
|
231
|
-
class AutomaticIndirectTax < Stripe::RequestParams
|
232
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
233
|
-
attr_accessor :requested
|
234
|
-
|
235
|
-
def initialize(requested: nil)
|
236
|
-
@requested = requested
|
237
|
-
end
|
238
|
-
end
|
239
|
-
|
240
230
|
class BacsDebitPayments < Stripe::RequestParams
|
241
231
|
# 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.
|
242
232
|
attr_accessor :requested
|
@@ -363,15 +353,6 @@ module Stripe
|
|
363
353
|
end
|
364
354
|
end
|
365
355
|
|
366
|
-
class GopayPayments < Stripe::RequestParams
|
367
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
368
|
-
attr_accessor :requested
|
369
|
-
|
370
|
-
def initialize(requested: nil)
|
371
|
-
@requested = requested
|
372
|
-
end
|
373
|
-
end
|
374
|
-
|
375
356
|
class GrabpayPayments < Stripe::RequestParams
|
376
357
|
# 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.
|
377
358
|
attr_accessor :requested
|
@@ -381,24 +362,6 @@ module Stripe
|
|
381
362
|
end
|
382
363
|
end
|
383
364
|
|
384
|
-
class IdBankTransferPayments < Stripe::RequestParams
|
385
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
386
|
-
attr_accessor :requested
|
387
|
-
|
388
|
-
def initialize(requested: nil)
|
389
|
-
@requested = requested
|
390
|
-
end
|
391
|
-
end
|
392
|
-
|
393
|
-
class IdBankTransferPaymentsBca < Stripe::RequestParams
|
394
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
395
|
-
attr_accessor :requested
|
396
|
-
|
397
|
-
def initialize(requested: nil)
|
398
|
-
@requested = requested
|
399
|
-
end
|
400
|
-
end
|
401
|
-
|
402
365
|
class IdealPayments < Stripe::RequestParams
|
403
366
|
# 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.
|
404
367
|
attr_accessor :requested
|
@@ -489,15 +452,6 @@ module Stripe
|
|
489
452
|
end
|
490
453
|
end
|
491
454
|
|
492
|
-
class MbWayPayments < Stripe::RequestParams
|
493
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
494
|
-
attr_accessor :requested
|
495
|
-
|
496
|
-
def initialize(requested: nil)
|
497
|
-
@requested = requested
|
498
|
-
end
|
499
|
-
end
|
500
|
-
|
501
455
|
class MobilepayPayments < Stripe::RequestParams
|
502
456
|
# 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.
|
503
457
|
attr_accessor :requested
|
@@ -588,16 +542,7 @@ module Stripe
|
|
588
542
|
end
|
589
543
|
end
|
590
544
|
|
591
|
-
class
|
592
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
593
|
-
attr_accessor :requested
|
594
|
-
|
595
|
-
def initialize(requested: nil)
|
596
|
-
@requested = requested
|
597
|
-
end
|
598
|
-
end
|
599
|
-
|
600
|
-
class PaytoPayments < Stripe::RequestParams
|
545
|
+
class PixPayments < Stripe::RequestParams
|
601
546
|
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
602
547
|
attr_accessor :requested
|
603
548
|
|
@@ -615,24 +560,6 @@ module Stripe
|
|
615
560
|
end
|
616
561
|
end
|
617
562
|
|
618
|
-
class QrisPayments < Stripe::RequestParams
|
619
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
620
|
-
attr_accessor :requested
|
621
|
-
|
622
|
-
def initialize(requested: nil)
|
623
|
-
@requested = requested
|
624
|
-
end
|
625
|
-
end
|
626
|
-
|
627
|
-
class RechnungPayments < Stripe::RequestParams
|
628
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
629
|
-
attr_accessor :requested
|
630
|
-
|
631
|
-
def initialize(requested: nil)
|
632
|
-
@requested = requested
|
633
|
-
end
|
634
|
-
end
|
635
|
-
|
636
563
|
class RevolutPayPayments < Stripe::RequestParams
|
637
564
|
# 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.
|
638
565
|
attr_accessor :requested
|
@@ -678,15 +605,6 @@ module Stripe
|
|
678
605
|
end
|
679
606
|
end
|
680
607
|
|
681
|
-
class ShopeepayPayments < Stripe::RequestParams
|
682
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
683
|
-
attr_accessor :requested
|
684
|
-
|
685
|
-
def initialize(requested: nil)
|
686
|
-
@requested = requested
|
687
|
-
end
|
688
|
-
end
|
689
|
-
|
690
608
|
class SofortPayments < Stripe::RequestParams
|
691
609
|
# 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.
|
692
610
|
attr_accessor :requested
|
@@ -696,15 +614,6 @@ module Stripe
|
|
696
614
|
end
|
697
615
|
end
|
698
616
|
|
699
|
-
class StripeBalancePayments < Stripe::RequestParams
|
700
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
701
|
-
attr_accessor :requested
|
702
|
-
|
703
|
-
def initialize(requested: nil)
|
704
|
-
@requested = requested
|
705
|
-
end
|
706
|
-
end
|
707
|
-
|
708
617
|
class SwishPayments < Stripe::RequestParams
|
709
618
|
# 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.
|
710
619
|
attr_accessor :requested
|
@@ -750,33 +659,6 @@ module Stripe
|
|
750
659
|
end
|
751
660
|
end
|
752
661
|
|
753
|
-
class TreasuryEvolve < Stripe::RequestParams
|
754
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
755
|
-
attr_accessor :requested
|
756
|
-
|
757
|
-
def initialize(requested: nil)
|
758
|
-
@requested = requested
|
759
|
-
end
|
760
|
-
end
|
761
|
-
|
762
|
-
class TreasuryFifthThird < Stripe::RequestParams
|
763
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
764
|
-
attr_accessor :requested
|
765
|
-
|
766
|
-
def initialize(requested: nil)
|
767
|
-
@requested = requested
|
768
|
-
end
|
769
|
-
end
|
770
|
-
|
771
|
-
class TreasuryGoldmanSachs < Stripe::RequestParams
|
772
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
773
|
-
attr_accessor :requested
|
774
|
-
|
775
|
-
def initialize(requested: nil)
|
776
|
-
@requested = requested
|
777
|
-
end
|
778
|
-
end
|
779
|
-
|
780
662
|
class TwintPayments < Stripe::RequestParams
|
781
663
|
# 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.
|
782
664
|
attr_accessor :requested
|
@@ -824,8 +706,6 @@ module Stripe
|
|
824
706
|
attr_accessor :amazon_pay_payments
|
825
707
|
# The au_becs_debit_payments capability.
|
826
708
|
attr_accessor :au_becs_debit_payments
|
827
|
-
# The automatic_indirect_tax capability.
|
828
|
-
attr_accessor :automatic_indirect_tax
|
829
709
|
# The bacs_debit_payments capability.
|
830
710
|
attr_accessor :bacs_debit_payments
|
831
711
|
# The bancontact_payments capability.
|
@@ -854,14 +734,8 @@ module Stripe
|
|
854
734
|
attr_accessor :gb_bank_transfer_payments
|
855
735
|
# The giropay_payments capability.
|
856
736
|
attr_accessor :giropay_payments
|
857
|
-
# The gopay_payments capability.
|
858
|
-
attr_accessor :gopay_payments
|
859
737
|
# The grabpay_payments capability.
|
860
738
|
attr_accessor :grabpay_payments
|
861
|
-
# The id_bank_transfer_payments capability.
|
862
|
-
attr_accessor :id_bank_transfer_payments
|
863
|
-
# The id_bank_transfer_payments_bca capability.
|
864
|
-
attr_accessor :id_bank_transfer_payments_bca
|
865
739
|
# The ideal_payments capability.
|
866
740
|
attr_accessor :ideal_payments
|
867
741
|
# The india_international_payments capability.
|
@@ -882,8 +756,6 @@ module Stripe
|
|
882
756
|
attr_accessor :legacy_payments
|
883
757
|
# The link_payments capability.
|
884
758
|
attr_accessor :link_payments
|
885
|
-
# The mb_way_payments capability.
|
886
|
-
attr_accessor :mb_way_payments
|
887
759
|
# The mobilepay_payments capability.
|
888
760
|
attr_accessor :mobilepay_payments
|
889
761
|
# The multibanco_payments capability.
|
@@ -904,16 +776,10 @@ module Stripe
|
|
904
776
|
attr_accessor :payco_payments
|
905
777
|
# The paynow_payments capability.
|
906
778
|
attr_accessor :paynow_payments
|
907
|
-
# The
|
908
|
-
attr_accessor :
|
909
|
-
# The payto_payments capability.
|
910
|
-
attr_accessor :payto_payments
|
779
|
+
# The pix_payments capability.
|
780
|
+
attr_accessor :pix_payments
|
911
781
|
# The promptpay_payments capability.
|
912
782
|
attr_accessor :promptpay_payments
|
913
|
-
# The qris_payments capability.
|
914
|
-
attr_accessor :qris_payments
|
915
|
-
# The rechnung_payments capability.
|
916
|
-
attr_accessor :rechnung_payments
|
917
783
|
# The revolut_pay_payments capability.
|
918
784
|
attr_accessor :revolut_pay_payments
|
919
785
|
# The samsung_pay_payments capability.
|
@@ -924,12 +790,8 @@ module Stripe
|
|
924
790
|
attr_accessor :sepa_bank_transfer_payments
|
925
791
|
# The sepa_debit_payments capability.
|
926
792
|
attr_accessor :sepa_debit_payments
|
927
|
-
# The shopeepay_payments capability.
|
928
|
-
attr_accessor :shopeepay_payments
|
929
793
|
# The sofort_payments capability.
|
930
794
|
attr_accessor :sofort_payments
|
931
|
-
# The stripe_balance_payments capability.
|
932
|
-
attr_accessor :stripe_balance_payments
|
933
795
|
# The swish_payments capability.
|
934
796
|
attr_accessor :swish_payments
|
935
797
|
# The tax_reporting_us_1099_k capability.
|
@@ -940,12 +802,6 @@ module Stripe
|
|
940
802
|
attr_accessor :transfers
|
941
803
|
# The treasury capability.
|
942
804
|
attr_accessor :treasury
|
943
|
-
# The treasury_evolve capability.
|
944
|
-
attr_accessor :treasury_evolve
|
945
|
-
# The treasury_fifth_third capability.
|
946
|
-
attr_accessor :treasury_fifth_third
|
947
|
-
# The treasury_goldman_sachs capability.
|
948
|
-
attr_accessor :treasury_goldman_sachs
|
949
805
|
# The twint_payments capability.
|
950
806
|
attr_accessor :twint_payments
|
951
807
|
# The us_bank_account_ach_payments capability.
|
@@ -962,7 +818,6 @@ module Stripe
|
|
962
818
|
alma_payments: nil,
|
963
819
|
amazon_pay_payments: nil,
|
964
820
|
au_becs_debit_payments: nil,
|
965
|
-
automatic_indirect_tax: nil,
|
966
821
|
bacs_debit_payments: nil,
|
967
822
|
bancontact_payments: nil,
|
968
823
|
bank_transfer_payments: nil,
|
@@ -977,10 +832,7 @@ module Stripe
|
|
977
832
|
fpx_payments: nil,
|
978
833
|
gb_bank_transfer_payments: nil,
|
979
834
|
giropay_payments: nil,
|
980
|
-
gopay_payments: nil,
|
981
835
|
grabpay_payments: nil,
|
982
|
-
id_bank_transfer_payments: nil,
|
983
|
-
id_bank_transfer_payments_bca: nil,
|
984
836
|
ideal_payments: nil,
|
985
837
|
india_international_payments: nil,
|
986
838
|
jcb_payments: nil,
|
@@ -991,7 +843,6 @@ module Stripe
|
|
991
843
|
kr_card_payments: nil,
|
992
844
|
legacy_payments: nil,
|
993
845
|
link_payments: nil,
|
994
|
-
mb_way_payments: nil,
|
995
846
|
mobilepay_payments: nil,
|
996
847
|
multibanco_payments: nil,
|
997
848
|
mx_bank_transfer_payments: nil,
|
@@ -1002,27 +853,19 @@ module Stripe
|
|
1002
853
|
pay_by_bank_payments: nil,
|
1003
854
|
payco_payments: nil,
|
1004
855
|
paynow_payments: nil,
|
1005
|
-
|
1006
|
-
payto_payments: nil,
|
856
|
+
pix_payments: nil,
|
1007
857
|
promptpay_payments: nil,
|
1008
|
-
qris_payments: nil,
|
1009
|
-
rechnung_payments: nil,
|
1010
858
|
revolut_pay_payments: nil,
|
1011
859
|
samsung_pay_payments: nil,
|
1012
860
|
satispay_payments: nil,
|
1013
861
|
sepa_bank_transfer_payments: nil,
|
1014
862
|
sepa_debit_payments: nil,
|
1015
|
-
shopeepay_payments: nil,
|
1016
863
|
sofort_payments: nil,
|
1017
|
-
stripe_balance_payments: nil,
|
1018
864
|
swish_payments: nil,
|
1019
865
|
tax_reporting_us_1099_k: nil,
|
1020
866
|
tax_reporting_us_1099_misc: nil,
|
1021
867
|
transfers: nil,
|
1022
868
|
treasury: nil,
|
1023
|
-
treasury_evolve: nil,
|
1024
|
-
treasury_fifth_third: nil,
|
1025
|
-
treasury_goldman_sachs: nil,
|
1026
869
|
twint_payments: nil,
|
1027
870
|
us_bank_account_ach_payments: nil,
|
1028
871
|
us_bank_transfer_payments: nil,
|
@@ -1034,7 +877,6 @@ module Stripe
|
|
1034
877
|
@alma_payments = alma_payments
|
1035
878
|
@amazon_pay_payments = amazon_pay_payments
|
1036
879
|
@au_becs_debit_payments = au_becs_debit_payments
|
1037
|
-
@automatic_indirect_tax = automatic_indirect_tax
|
1038
880
|
@bacs_debit_payments = bacs_debit_payments
|
1039
881
|
@bancontact_payments = bancontact_payments
|
1040
882
|
@bank_transfer_payments = bank_transfer_payments
|
@@ -1049,10 +891,7 @@ module Stripe
|
|
1049
891
|
@fpx_payments = fpx_payments
|
1050
892
|
@gb_bank_transfer_payments = gb_bank_transfer_payments
|
1051
893
|
@giropay_payments = giropay_payments
|
1052
|
-
@gopay_payments = gopay_payments
|
1053
894
|
@grabpay_payments = grabpay_payments
|
1054
|
-
@id_bank_transfer_payments = id_bank_transfer_payments
|
1055
|
-
@id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
|
1056
895
|
@ideal_payments = ideal_payments
|
1057
896
|
@india_international_payments = india_international_payments
|
1058
897
|
@jcb_payments = jcb_payments
|
@@ -1063,7 +902,6 @@ module Stripe
|
|
1063
902
|
@kr_card_payments = kr_card_payments
|
1064
903
|
@legacy_payments = legacy_payments
|
1065
904
|
@link_payments = link_payments
|
1066
|
-
@mb_way_payments = mb_way_payments
|
1067
905
|
@mobilepay_payments = mobilepay_payments
|
1068
906
|
@multibanco_payments = multibanco_payments
|
1069
907
|
@mx_bank_transfer_payments = mx_bank_transfer_payments
|
@@ -1074,27 +912,19 @@ module Stripe
|
|
1074
912
|
@pay_by_bank_payments = pay_by_bank_payments
|
1075
913
|
@payco_payments = payco_payments
|
1076
914
|
@paynow_payments = paynow_payments
|
1077
|
-
@
|
1078
|
-
@payto_payments = payto_payments
|
915
|
+
@pix_payments = pix_payments
|
1079
916
|
@promptpay_payments = promptpay_payments
|
1080
|
-
@qris_payments = qris_payments
|
1081
|
-
@rechnung_payments = rechnung_payments
|
1082
917
|
@revolut_pay_payments = revolut_pay_payments
|
1083
918
|
@samsung_pay_payments = samsung_pay_payments
|
1084
919
|
@satispay_payments = satispay_payments
|
1085
920
|
@sepa_bank_transfer_payments = sepa_bank_transfer_payments
|
1086
921
|
@sepa_debit_payments = sepa_debit_payments
|
1087
|
-
@shopeepay_payments = shopeepay_payments
|
1088
922
|
@sofort_payments = sofort_payments
|
1089
|
-
@stripe_balance_payments = stripe_balance_payments
|
1090
923
|
@swish_payments = swish_payments
|
1091
924
|
@tax_reporting_us_1099_k = tax_reporting_us_1099_k
|
1092
925
|
@tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
|
1093
926
|
@transfers = transfers
|
1094
927
|
@treasury = treasury
|
1095
|
-
@treasury_evolve = treasury_evolve
|
1096
|
-
@treasury_fifth_third = treasury_fifth_third
|
1097
|
-
@treasury_goldman_sachs = treasury_goldman_sachs
|
1098
928
|
@twint_payments = twint_payments
|
1099
929
|
@us_bank_account_ach_payments = us_bank_account_ach_payments
|
1100
930
|
@us_bank_transfer_payments = us_bank_transfer_payments
|
@@ -1870,37 +1700,6 @@ module Stripe
|
|
1870
1700
|
end
|
1871
1701
|
end
|
1872
1702
|
|
1873
|
-
class RiskControls < Stripe::RequestParams
|
1874
|
-
class Charges < Stripe::RequestParams
|
1875
|
-
# To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
1876
|
-
# There can be a delay before the risk control is paused or unpaused.
|
1877
|
-
attr_accessor :pause_requested
|
1878
|
-
|
1879
|
-
def initialize(pause_requested: nil)
|
1880
|
-
@pause_requested = pause_requested
|
1881
|
-
end
|
1882
|
-
end
|
1883
|
-
|
1884
|
-
class Payouts < Stripe::RequestParams
|
1885
|
-
# To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
1886
|
-
# There can be a delay before the risk control is paused or unpaused.
|
1887
|
-
attr_accessor :pause_requested
|
1888
|
-
|
1889
|
-
def initialize(pause_requested: nil)
|
1890
|
-
@pause_requested = pause_requested
|
1891
|
-
end
|
1892
|
-
end
|
1893
|
-
# Represents the risk control status of charges. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
|
1894
|
-
attr_accessor :charges
|
1895
|
-
# Represents the risk control status of payouts. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
|
1896
|
-
attr_accessor :payouts
|
1897
|
-
|
1898
|
-
def initialize(charges: nil, payouts: nil)
|
1899
|
-
@charges = charges
|
1900
|
-
@payouts = payouts
|
1901
|
-
end
|
1902
|
-
end
|
1903
|
-
|
1904
1703
|
class Settings < Stripe::RequestParams
|
1905
1704
|
class BacsDebitPayments < Stripe::RequestParams
|
1906
1705
|
# 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.
|
@@ -1911,18 +1710,6 @@ module Stripe
|
|
1911
1710
|
end
|
1912
1711
|
end
|
1913
1712
|
|
1914
|
-
class BankBcaOnboarding < Stripe::RequestParams
|
1915
|
-
# Bank BCA business account holder name
|
1916
|
-
attr_accessor :account_holder_name
|
1917
|
-
# Bank BCA business account number
|
1918
|
-
attr_accessor :business_account_number
|
1919
|
-
|
1920
|
-
def initialize(account_holder_name: nil, business_account_number: nil)
|
1921
|
-
@account_holder_name = account_holder_name
|
1922
|
-
@business_account_number = business_account_number
|
1923
|
-
end
|
1924
|
-
end
|
1925
|
-
|
1926
1713
|
class Branding < Stripe::RequestParams
|
1927
1714
|
# (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.
|
1928
1715
|
attr_accessor :icon
|
@@ -1941,18 +1728,6 @@ module Stripe
|
|
1941
1728
|
end
|
1942
1729
|
end
|
1943
1730
|
|
1944
|
-
class Capital < Stripe::RequestParams
|
1945
|
-
# Per-currency mapping of user-selected destination accounts used to pay out loans.
|
1946
|
-
attr_accessor :payout_destination
|
1947
|
-
# Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
1948
|
-
attr_accessor :payout_destination_selector
|
1949
|
-
|
1950
|
-
def initialize(payout_destination: nil, payout_destination_selector: nil)
|
1951
|
-
@payout_destination = payout_destination
|
1952
|
-
@payout_destination_selector = payout_destination_selector
|
1953
|
-
end
|
1954
|
-
end
|
1955
|
-
|
1956
1731
|
class CardIssuing < Stripe::RequestParams
|
1957
1732
|
class TosAcceptance < Stripe::RequestParams
|
1958
1733
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
@@ -2073,15 +1848,6 @@ module Stripe
|
|
2073
1848
|
end
|
2074
1849
|
end
|
2075
1850
|
|
2076
|
-
class TaxForms < Stripe::RequestParams
|
2077
|
-
# Whether the account opted out of receiving their tax forms by postal delivery.
|
2078
|
-
attr_accessor :consented_to_paperless_delivery
|
2079
|
-
|
2080
|
-
def initialize(consented_to_paperless_delivery: nil)
|
2081
|
-
@consented_to_paperless_delivery = consented_to_paperless_delivery
|
2082
|
-
end
|
2083
|
-
end
|
2084
|
-
|
2085
1851
|
class Treasury < Stripe::RequestParams
|
2086
1852
|
class TosAcceptance < Stripe::RequestParams
|
2087
1853
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
@@ -2106,12 +1872,8 @@ module Stripe
|
|
2106
1872
|
end
|
2107
1873
|
# Settings specific to Bacs Direct Debit payments.
|
2108
1874
|
attr_accessor :bacs_debit_payments
|
2109
|
-
# Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
2110
|
-
attr_accessor :bank_bca_onboarding
|
2111
1875
|
# Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
2112
1876
|
attr_accessor :branding
|
2113
|
-
# Settings specific to the account's use of the Capital product.
|
2114
|
-
attr_accessor :capital
|
2115
1877
|
# Settings specific to the account's use of the Card Issuing product.
|
2116
1878
|
attr_accessor :card_issuing
|
2117
1879
|
# Settings specific to card charging on the account.
|
@@ -2122,34 +1884,26 @@ module Stripe
|
|
2122
1884
|
attr_accessor :payments
|
2123
1885
|
# Settings specific to the account's payouts.
|
2124
1886
|
attr_accessor :payouts
|
2125
|
-
# Settings specific to the account's tax forms.
|
2126
|
-
attr_accessor :tax_forms
|
2127
1887
|
# Settings specific to the account's Treasury FinancialAccounts.
|
2128
1888
|
attr_accessor :treasury
|
2129
1889
|
|
2130
1890
|
def initialize(
|
2131
1891
|
bacs_debit_payments: nil,
|
2132
|
-
bank_bca_onboarding: nil,
|
2133
1892
|
branding: nil,
|
2134
|
-
capital: nil,
|
2135
1893
|
card_issuing: nil,
|
2136
1894
|
card_payments: nil,
|
2137
1895
|
invoices: nil,
|
2138
1896
|
payments: nil,
|
2139
1897
|
payouts: nil,
|
2140
|
-
tax_forms: nil,
|
2141
1898
|
treasury: nil
|
2142
1899
|
)
|
2143
1900
|
@bacs_debit_payments = bacs_debit_payments
|
2144
|
-
@bank_bca_onboarding = bank_bca_onboarding
|
2145
1901
|
@branding = branding
|
2146
|
-
@capital = capital
|
2147
1902
|
@card_issuing = card_issuing
|
2148
1903
|
@card_payments = card_payments
|
2149
1904
|
@invoices = invoices
|
2150
1905
|
@payments = payments
|
2151
1906
|
@payouts = payouts
|
2152
|
-
@tax_forms = tax_forms
|
2153
1907
|
@treasury = treasury
|
2154
1908
|
end
|
2155
1909
|
end
|
@@ -2204,8 +1958,6 @@ module Stripe
|
|
2204
1958
|
attr_accessor :individual
|
2205
1959
|
# 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`.
|
2206
1960
|
attr_accessor :metadata
|
2207
|
-
# A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
|
2208
|
-
attr_accessor :risk_controls
|
2209
1961
|
# Options for customizing how the account functions within Stripe.
|
2210
1962
|
attr_accessor :settings
|
2211
1963
|
# 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.
|
@@ -2225,7 +1977,6 @@ module Stripe
|
|
2225
1977
|
groups: nil,
|
2226
1978
|
individual: nil,
|
2227
1979
|
metadata: nil,
|
2228
|
-
risk_controls: nil,
|
2229
1980
|
settings: nil,
|
2230
1981
|
tos_acceptance: nil
|
2231
1982
|
)
|
@@ -2242,7 +1993,6 @@ module Stripe
|
|
2242
1993
|
@groups = groups
|
2243
1994
|
@individual = individual
|
2244
1995
|
@metadata = metadata
|
2245
|
-
@risk_controls = risk_controls
|
2246
1996
|
@settings = settings
|
2247
1997
|
@tos_acceptance = tos_acceptance
|
2248
1998
|
end
|
@@ -2498,15 +2248,6 @@ module Stripe
|
|
2498
2248
|
end
|
2499
2249
|
end
|
2500
2250
|
|
2501
|
-
class AutomaticIndirectTax < Stripe::RequestParams
|
2502
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
2503
|
-
attr_accessor :requested
|
2504
|
-
|
2505
|
-
def initialize(requested: nil)
|
2506
|
-
@requested = requested
|
2507
|
-
end
|
2508
|
-
end
|
2509
|
-
|
2510
2251
|
class BacsDebitPayments < Stripe::RequestParams
|
2511
2252
|
# 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.
|
2512
2253
|
attr_accessor :requested
|
@@ -2633,15 +2374,6 @@ module Stripe
|
|
2633
2374
|
end
|
2634
2375
|
end
|
2635
2376
|
|
2636
|
-
class GopayPayments < Stripe::RequestParams
|
2637
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
2638
|
-
attr_accessor :requested
|
2639
|
-
|
2640
|
-
def initialize(requested: nil)
|
2641
|
-
@requested = requested
|
2642
|
-
end
|
2643
|
-
end
|
2644
|
-
|
2645
2377
|
class GrabpayPayments < Stripe::RequestParams
|
2646
2378
|
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
2647
2379
|
attr_accessor :requested
|
@@ -2651,24 +2383,6 @@ module Stripe
|
|
2651
2383
|
end
|
2652
2384
|
end
|
2653
2385
|
|
2654
|
-
class IdBankTransferPayments < Stripe::RequestParams
|
2655
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
2656
|
-
attr_accessor :requested
|
2657
|
-
|
2658
|
-
def initialize(requested: nil)
|
2659
|
-
@requested = requested
|
2660
|
-
end
|
2661
|
-
end
|
2662
|
-
|
2663
|
-
class IdBankTransferPaymentsBca < Stripe::RequestParams
|
2664
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
2665
|
-
attr_accessor :requested
|
2666
|
-
|
2667
|
-
def initialize(requested: nil)
|
2668
|
-
@requested = requested
|
2669
|
-
end
|
2670
|
-
end
|
2671
|
-
|
2672
2386
|
class IdealPayments < Stripe::RequestParams
|
2673
2387
|
# 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.
|
2674
2388
|
attr_accessor :requested
|
@@ -2759,15 +2473,6 @@ module Stripe
|
|
2759
2473
|
end
|
2760
2474
|
end
|
2761
2475
|
|
2762
|
-
class MbWayPayments < Stripe::RequestParams
|
2763
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
2764
|
-
attr_accessor :requested
|
2765
|
-
|
2766
|
-
def initialize(requested: nil)
|
2767
|
-
@requested = requested
|
2768
|
-
end
|
2769
|
-
end
|
2770
|
-
|
2771
2476
|
class MobilepayPayments < Stripe::RequestParams
|
2772
2477
|
# 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.
|
2773
2478
|
attr_accessor :requested
|
@@ -2858,16 +2563,7 @@ module Stripe
|
|
2858
2563
|
end
|
2859
2564
|
end
|
2860
2565
|
|
2861
|
-
class
|
2862
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
2863
|
-
attr_accessor :requested
|
2864
|
-
|
2865
|
-
def initialize(requested: nil)
|
2866
|
-
@requested = requested
|
2867
|
-
end
|
2868
|
-
end
|
2869
|
-
|
2870
|
-
class PaytoPayments < Stripe::RequestParams
|
2566
|
+
class PixPayments < Stripe::RequestParams
|
2871
2567
|
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
2872
2568
|
attr_accessor :requested
|
2873
2569
|
|
@@ -2885,24 +2581,6 @@ module Stripe
|
|
2885
2581
|
end
|
2886
2582
|
end
|
2887
2583
|
|
2888
|
-
class QrisPayments < Stripe::RequestParams
|
2889
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
2890
|
-
attr_accessor :requested
|
2891
|
-
|
2892
|
-
def initialize(requested: nil)
|
2893
|
-
@requested = requested
|
2894
|
-
end
|
2895
|
-
end
|
2896
|
-
|
2897
|
-
class RechnungPayments < Stripe::RequestParams
|
2898
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
2899
|
-
attr_accessor :requested
|
2900
|
-
|
2901
|
-
def initialize(requested: nil)
|
2902
|
-
@requested = requested
|
2903
|
-
end
|
2904
|
-
end
|
2905
|
-
|
2906
2584
|
class RevolutPayPayments < Stripe::RequestParams
|
2907
2585
|
# 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.
|
2908
2586
|
attr_accessor :requested
|
@@ -2948,15 +2626,6 @@ module Stripe
|
|
2948
2626
|
end
|
2949
2627
|
end
|
2950
2628
|
|
2951
|
-
class ShopeepayPayments < Stripe::RequestParams
|
2952
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
2953
|
-
attr_accessor :requested
|
2954
|
-
|
2955
|
-
def initialize(requested: nil)
|
2956
|
-
@requested = requested
|
2957
|
-
end
|
2958
|
-
end
|
2959
|
-
|
2960
2629
|
class SofortPayments < Stripe::RequestParams
|
2961
2630
|
# 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.
|
2962
2631
|
attr_accessor :requested
|
@@ -2966,15 +2635,6 @@ module Stripe
|
|
2966
2635
|
end
|
2967
2636
|
end
|
2968
2637
|
|
2969
|
-
class StripeBalancePayments < Stripe::RequestParams
|
2970
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
2971
|
-
attr_accessor :requested
|
2972
|
-
|
2973
|
-
def initialize(requested: nil)
|
2974
|
-
@requested = requested
|
2975
|
-
end
|
2976
|
-
end
|
2977
|
-
|
2978
2638
|
class SwishPayments < Stripe::RequestParams
|
2979
2639
|
# 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.
|
2980
2640
|
attr_accessor :requested
|
@@ -3020,33 +2680,6 @@ module Stripe
|
|
3020
2680
|
end
|
3021
2681
|
end
|
3022
2682
|
|
3023
|
-
class TreasuryEvolve < Stripe::RequestParams
|
3024
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
3025
|
-
attr_accessor :requested
|
3026
|
-
|
3027
|
-
def initialize(requested: nil)
|
3028
|
-
@requested = requested
|
3029
|
-
end
|
3030
|
-
end
|
3031
|
-
|
3032
|
-
class TreasuryFifthThird < Stripe::RequestParams
|
3033
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
3034
|
-
attr_accessor :requested
|
3035
|
-
|
3036
|
-
def initialize(requested: nil)
|
3037
|
-
@requested = requested
|
3038
|
-
end
|
3039
|
-
end
|
3040
|
-
|
3041
|
-
class TreasuryGoldmanSachs < Stripe::RequestParams
|
3042
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
3043
|
-
attr_accessor :requested
|
3044
|
-
|
3045
|
-
def initialize(requested: nil)
|
3046
|
-
@requested = requested
|
3047
|
-
end
|
3048
|
-
end
|
3049
|
-
|
3050
2683
|
class TwintPayments < Stripe::RequestParams
|
3051
2684
|
# 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.
|
3052
2685
|
attr_accessor :requested
|
@@ -3094,8 +2727,6 @@ module Stripe
|
|
3094
2727
|
attr_accessor :amazon_pay_payments
|
3095
2728
|
# The au_becs_debit_payments capability.
|
3096
2729
|
attr_accessor :au_becs_debit_payments
|
3097
|
-
# The automatic_indirect_tax capability.
|
3098
|
-
attr_accessor :automatic_indirect_tax
|
3099
2730
|
# The bacs_debit_payments capability.
|
3100
2731
|
attr_accessor :bacs_debit_payments
|
3101
2732
|
# The bancontact_payments capability.
|
@@ -3124,14 +2755,8 @@ module Stripe
|
|
3124
2755
|
attr_accessor :gb_bank_transfer_payments
|
3125
2756
|
# The giropay_payments capability.
|
3126
2757
|
attr_accessor :giropay_payments
|
3127
|
-
# The gopay_payments capability.
|
3128
|
-
attr_accessor :gopay_payments
|
3129
2758
|
# The grabpay_payments capability.
|
3130
2759
|
attr_accessor :grabpay_payments
|
3131
|
-
# The id_bank_transfer_payments capability.
|
3132
|
-
attr_accessor :id_bank_transfer_payments
|
3133
|
-
# The id_bank_transfer_payments_bca capability.
|
3134
|
-
attr_accessor :id_bank_transfer_payments_bca
|
3135
2760
|
# The ideal_payments capability.
|
3136
2761
|
attr_accessor :ideal_payments
|
3137
2762
|
# The india_international_payments capability.
|
@@ -3152,8 +2777,6 @@ module Stripe
|
|
3152
2777
|
attr_accessor :legacy_payments
|
3153
2778
|
# The link_payments capability.
|
3154
2779
|
attr_accessor :link_payments
|
3155
|
-
# The mb_way_payments capability.
|
3156
|
-
attr_accessor :mb_way_payments
|
3157
2780
|
# The mobilepay_payments capability.
|
3158
2781
|
attr_accessor :mobilepay_payments
|
3159
2782
|
# The multibanco_payments capability.
|
@@ -3174,16 +2797,10 @@ module Stripe
|
|
3174
2797
|
attr_accessor :payco_payments
|
3175
2798
|
# The paynow_payments capability.
|
3176
2799
|
attr_accessor :paynow_payments
|
3177
|
-
# The
|
3178
|
-
attr_accessor :
|
3179
|
-
# The payto_payments capability.
|
3180
|
-
attr_accessor :payto_payments
|
2800
|
+
# The pix_payments capability.
|
2801
|
+
attr_accessor :pix_payments
|
3181
2802
|
# The promptpay_payments capability.
|
3182
2803
|
attr_accessor :promptpay_payments
|
3183
|
-
# The qris_payments capability.
|
3184
|
-
attr_accessor :qris_payments
|
3185
|
-
# The rechnung_payments capability.
|
3186
|
-
attr_accessor :rechnung_payments
|
3187
2804
|
# The revolut_pay_payments capability.
|
3188
2805
|
attr_accessor :revolut_pay_payments
|
3189
2806
|
# The samsung_pay_payments capability.
|
@@ -3194,12 +2811,8 @@ module Stripe
|
|
3194
2811
|
attr_accessor :sepa_bank_transfer_payments
|
3195
2812
|
# The sepa_debit_payments capability.
|
3196
2813
|
attr_accessor :sepa_debit_payments
|
3197
|
-
# The shopeepay_payments capability.
|
3198
|
-
attr_accessor :shopeepay_payments
|
3199
2814
|
# The sofort_payments capability.
|
3200
2815
|
attr_accessor :sofort_payments
|
3201
|
-
# The stripe_balance_payments capability.
|
3202
|
-
attr_accessor :stripe_balance_payments
|
3203
2816
|
# The swish_payments capability.
|
3204
2817
|
attr_accessor :swish_payments
|
3205
2818
|
# The tax_reporting_us_1099_k capability.
|
@@ -3210,12 +2823,6 @@ module Stripe
|
|
3210
2823
|
attr_accessor :transfers
|
3211
2824
|
# The treasury capability.
|
3212
2825
|
attr_accessor :treasury
|
3213
|
-
# The treasury_evolve capability.
|
3214
|
-
attr_accessor :treasury_evolve
|
3215
|
-
# The treasury_fifth_third capability.
|
3216
|
-
attr_accessor :treasury_fifth_third
|
3217
|
-
# The treasury_goldman_sachs capability.
|
3218
|
-
attr_accessor :treasury_goldman_sachs
|
3219
2826
|
# The twint_payments capability.
|
3220
2827
|
attr_accessor :twint_payments
|
3221
2828
|
# The us_bank_account_ach_payments capability.
|
@@ -3232,7 +2839,6 @@ module Stripe
|
|
3232
2839
|
alma_payments: nil,
|
3233
2840
|
amazon_pay_payments: nil,
|
3234
2841
|
au_becs_debit_payments: nil,
|
3235
|
-
automatic_indirect_tax: nil,
|
3236
2842
|
bacs_debit_payments: nil,
|
3237
2843
|
bancontact_payments: nil,
|
3238
2844
|
bank_transfer_payments: nil,
|
@@ -3247,10 +2853,7 @@ module Stripe
|
|
3247
2853
|
fpx_payments: nil,
|
3248
2854
|
gb_bank_transfer_payments: nil,
|
3249
2855
|
giropay_payments: nil,
|
3250
|
-
gopay_payments: nil,
|
3251
2856
|
grabpay_payments: nil,
|
3252
|
-
id_bank_transfer_payments: nil,
|
3253
|
-
id_bank_transfer_payments_bca: nil,
|
3254
2857
|
ideal_payments: nil,
|
3255
2858
|
india_international_payments: nil,
|
3256
2859
|
jcb_payments: nil,
|
@@ -3261,7 +2864,6 @@ module Stripe
|
|
3261
2864
|
kr_card_payments: nil,
|
3262
2865
|
legacy_payments: nil,
|
3263
2866
|
link_payments: nil,
|
3264
|
-
mb_way_payments: nil,
|
3265
2867
|
mobilepay_payments: nil,
|
3266
2868
|
multibanco_payments: nil,
|
3267
2869
|
mx_bank_transfer_payments: nil,
|
@@ -3272,27 +2874,19 @@ module Stripe
|
|
3272
2874
|
pay_by_bank_payments: nil,
|
3273
2875
|
payco_payments: nil,
|
3274
2876
|
paynow_payments: nil,
|
3275
|
-
|
3276
|
-
payto_payments: nil,
|
2877
|
+
pix_payments: nil,
|
3277
2878
|
promptpay_payments: nil,
|
3278
|
-
qris_payments: nil,
|
3279
|
-
rechnung_payments: nil,
|
3280
2879
|
revolut_pay_payments: nil,
|
3281
2880
|
samsung_pay_payments: nil,
|
3282
2881
|
satispay_payments: nil,
|
3283
2882
|
sepa_bank_transfer_payments: nil,
|
3284
2883
|
sepa_debit_payments: nil,
|
3285
|
-
shopeepay_payments: nil,
|
3286
2884
|
sofort_payments: nil,
|
3287
|
-
stripe_balance_payments: nil,
|
3288
2885
|
swish_payments: nil,
|
3289
2886
|
tax_reporting_us_1099_k: nil,
|
3290
2887
|
tax_reporting_us_1099_misc: nil,
|
3291
2888
|
transfers: nil,
|
3292
2889
|
treasury: nil,
|
3293
|
-
treasury_evolve: nil,
|
3294
|
-
treasury_fifth_third: nil,
|
3295
|
-
treasury_goldman_sachs: nil,
|
3296
2890
|
twint_payments: nil,
|
3297
2891
|
us_bank_account_ach_payments: nil,
|
3298
2892
|
us_bank_transfer_payments: nil,
|
@@ -3304,7 +2898,6 @@ module Stripe
|
|
3304
2898
|
@alma_payments = alma_payments
|
3305
2899
|
@amazon_pay_payments = amazon_pay_payments
|
3306
2900
|
@au_becs_debit_payments = au_becs_debit_payments
|
3307
|
-
@automatic_indirect_tax = automatic_indirect_tax
|
3308
2901
|
@bacs_debit_payments = bacs_debit_payments
|
3309
2902
|
@bancontact_payments = bancontact_payments
|
3310
2903
|
@bank_transfer_payments = bank_transfer_payments
|
@@ -3319,10 +2912,7 @@ module Stripe
|
|
3319
2912
|
@fpx_payments = fpx_payments
|
3320
2913
|
@gb_bank_transfer_payments = gb_bank_transfer_payments
|
3321
2914
|
@giropay_payments = giropay_payments
|
3322
|
-
@gopay_payments = gopay_payments
|
3323
2915
|
@grabpay_payments = grabpay_payments
|
3324
|
-
@id_bank_transfer_payments = id_bank_transfer_payments
|
3325
|
-
@id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
|
3326
2916
|
@ideal_payments = ideal_payments
|
3327
2917
|
@india_international_payments = india_international_payments
|
3328
2918
|
@jcb_payments = jcb_payments
|
@@ -3333,7 +2923,6 @@ module Stripe
|
|
3333
2923
|
@kr_card_payments = kr_card_payments
|
3334
2924
|
@legacy_payments = legacy_payments
|
3335
2925
|
@link_payments = link_payments
|
3336
|
-
@mb_way_payments = mb_way_payments
|
3337
2926
|
@mobilepay_payments = mobilepay_payments
|
3338
2927
|
@multibanco_payments = multibanco_payments
|
3339
2928
|
@mx_bank_transfer_payments = mx_bank_transfer_payments
|
@@ -3344,27 +2933,19 @@ module Stripe
|
|
3344
2933
|
@pay_by_bank_payments = pay_by_bank_payments
|
3345
2934
|
@payco_payments = payco_payments
|
3346
2935
|
@paynow_payments = paynow_payments
|
3347
|
-
@
|
3348
|
-
@payto_payments = payto_payments
|
2936
|
+
@pix_payments = pix_payments
|
3349
2937
|
@promptpay_payments = promptpay_payments
|
3350
|
-
@qris_payments = qris_payments
|
3351
|
-
@rechnung_payments = rechnung_payments
|
3352
2938
|
@revolut_pay_payments = revolut_pay_payments
|
3353
2939
|
@samsung_pay_payments = samsung_pay_payments
|
3354
2940
|
@satispay_payments = satispay_payments
|
3355
2941
|
@sepa_bank_transfer_payments = sepa_bank_transfer_payments
|
3356
2942
|
@sepa_debit_payments = sepa_debit_payments
|
3357
|
-
@shopeepay_payments = shopeepay_payments
|
3358
2943
|
@sofort_payments = sofort_payments
|
3359
|
-
@stripe_balance_payments = stripe_balance_payments
|
3360
2944
|
@swish_payments = swish_payments
|
3361
2945
|
@tax_reporting_us_1099_k = tax_reporting_us_1099_k
|
3362
2946
|
@tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
|
3363
2947
|
@transfers = transfers
|
3364
2948
|
@treasury = treasury
|
3365
|
-
@treasury_evolve = treasury_evolve
|
3366
|
-
@treasury_fifth_third = treasury_fifth_third
|
3367
|
-
@treasury_goldman_sachs = treasury_goldman_sachs
|
3368
2949
|
@twint_payments = twint_payments
|
3369
2950
|
@us_bank_account_ach_payments = us_bank_account_ach_payments
|
3370
2951
|
@us_bank_transfer_payments = us_bank_transfer_payments
|
@@ -3715,30 +3296,6 @@ module Stripe
|
|
3715
3296
|
end
|
3716
3297
|
|
3717
3298
|
class Controller < Stripe::RequestParams
|
3718
|
-
class Application < Stripe::RequestParams
|
3719
|
-
# Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
|
3720
|
-
attr_accessor :loss_liable
|
3721
|
-
# Whether the controller owns onboarding for this account.
|
3722
|
-
attr_accessor :onboarding_owner
|
3723
|
-
# Whether the controller has pricing controls for this account.
|
3724
|
-
attr_accessor :pricing_controls
|
3725
|
-
|
3726
|
-
def initialize(loss_liable: nil, onboarding_owner: nil, pricing_controls: nil)
|
3727
|
-
@loss_liable = loss_liable
|
3728
|
-
@onboarding_owner = onboarding_owner
|
3729
|
-
@pricing_controls = pricing_controls
|
3730
|
-
end
|
3731
|
-
end
|
3732
|
-
|
3733
|
-
class Dashboard < Stripe::RequestParams
|
3734
|
-
# Whether this account should have access to the full Stripe Dashboard (`full`), to the Express Dashboard (`express`), or to no Stripe-hosted dashboard (`none`). Defaults to `full`.
|
3735
|
-
attr_accessor :type
|
3736
|
-
|
3737
|
-
def initialize(type: nil)
|
3738
|
-
@type = type
|
3739
|
-
end
|
3740
|
-
end
|
3741
|
-
|
3742
3299
|
class Fees < Stripe::RequestParams
|
3743
3300
|
# 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).
|
3744
3301
|
attr_accessor :payer
|
@@ -3765,10 +3322,6 @@ module Stripe
|
|
3765
3322
|
@type = type
|
3766
3323
|
end
|
3767
3324
|
end
|
3768
|
-
# A hash of configuration describing the Connect application that controls the account.
|
3769
|
-
attr_accessor :application
|
3770
|
-
# Properties of the account's dashboard.
|
3771
|
-
attr_accessor :dashboard
|
3772
3325
|
# A hash of configuration for who pays Stripe fees for product usage on this account.
|
3773
3326
|
attr_accessor :fees
|
3774
3327
|
# A hash of configuration for products that have negative balance liability, and whether Stripe or a Connect application is responsible for them.
|
@@ -3778,16 +3331,7 @@ module Stripe
|
|
3778
3331
|
# A hash of configuration for Stripe-hosted dashboards.
|
3779
3332
|
attr_accessor :stripe_dashboard
|
3780
3333
|
|
3781
|
-
def initialize(
|
3782
|
-
application: nil,
|
3783
|
-
dashboard: nil,
|
3784
|
-
fees: nil,
|
3785
|
-
losses: nil,
|
3786
|
-
requirement_collection: nil,
|
3787
|
-
stripe_dashboard: nil
|
3788
|
-
)
|
3789
|
-
@application = application
|
3790
|
-
@dashboard = dashboard
|
3334
|
+
def initialize(fees: nil, losses: nil, requirement_collection: nil, stripe_dashboard: nil)
|
3791
3335
|
@fees = fees
|
3792
3336
|
@losses = losses
|
3793
3337
|
@requirement_collection = requirement_collection
|
@@ -4221,37 +3765,6 @@ module Stripe
|
|
4221
3765
|
end
|
4222
3766
|
end
|
4223
3767
|
|
4224
|
-
class RiskControls < Stripe::RequestParams
|
4225
|
-
class Charges < Stripe::RequestParams
|
4226
|
-
# To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
4227
|
-
# There can be a delay before the risk control is paused or unpaused.
|
4228
|
-
attr_accessor :pause_requested
|
4229
|
-
|
4230
|
-
def initialize(pause_requested: nil)
|
4231
|
-
@pause_requested = pause_requested
|
4232
|
-
end
|
4233
|
-
end
|
4234
|
-
|
4235
|
-
class Payouts < Stripe::RequestParams
|
4236
|
-
# To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
4237
|
-
# There can be a delay before the risk control is paused or unpaused.
|
4238
|
-
attr_accessor :pause_requested
|
4239
|
-
|
4240
|
-
def initialize(pause_requested: nil)
|
4241
|
-
@pause_requested = pause_requested
|
4242
|
-
end
|
4243
|
-
end
|
4244
|
-
# Represents the risk control status of charges. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
|
4245
|
-
attr_accessor :charges
|
4246
|
-
# Represents the risk control status of payouts. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
|
4247
|
-
attr_accessor :payouts
|
4248
|
-
|
4249
|
-
def initialize(charges: nil, payouts: nil)
|
4250
|
-
@charges = charges
|
4251
|
-
@payouts = payouts
|
4252
|
-
end
|
4253
|
-
end
|
4254
|
-
|
4255
3768
|
class Settings < Stripe::RequestParams
|
4256
3769
|
class BacsDebitPayments < Stripe::RequestParams
|
4257
3770
|
# 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.
|
@@ -4262,18 +3775,6 @@ module Stripe
|
|
4262
3775
|
end
|
4263
3776
|
end
|
4264
3777
|
|
4265
|
-
class BankBcaOnboarding < Stripe::RequestParams
|
4266
|
-
# Bank BCA business account holder name
|
4267
|
-
attr_accessor :account_holder_name
|
4268
|
-
# Bank BCA business account number
|
4269
|
-
attr_accessor :business_account_number
|
4270
|
-
|
4271
|
-
def initialize(account_holder_name: nil, business_account_number: nil)
|
4272
|
-
@account_holder_name = account_holder_name
|
4273
|
-
@business_account_number = business_account_number
|
4274
|
-
end
|
4275
|
-
end
|
4276
|
-
|
4277
3778
|
class Branding < Stripe::RequestParams
|
4278
3779
|
# (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.
|
4279
3780
|
attr_accessor :icon
|
@@ -4292,18 +3793,6 @@ module Stripe
|
|
4292
3793
|
end
|
4293
3794
|
end
|
4294
3795
|
|
4295
|
-
class Capital < Stripe::RequestParams
|
4296
|
-
# Per-currency mapping of user-selected destination accounts used to pay out loans.
|
4297
|
-
attr_accessor :payout_destination
|
4298
|
-
# Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
4299
|
-
attr_accessor :payout_destination_selector
|
4300
|
-
|
4301
|
-
def initialize(payout_destination: nil, payout_destination_selector: nil)
|
4302
|
-
@payout_destination = payout_destination
|
4303
|
-
@payout_destination_selector = payout_destination_selector
|
4304
|
-
end
|
4305
|
-
end
|
4306
|
-
|
4307
3796
|
class CardIssuing < Stripe::RequestParams
|
4308
3797
|
class TosAcceptance < Stripe::RequestParams
|
4309
3798
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
@@ -4421,15 +3910,6 @@ module Stripe
|
|
4421
3910
|
end
|
4422
3911
|
end
|
4423
3912
|
|
4424
|
-
class TaxForms < Stripe::RequestParams
|
4425
|
-
# Whether the account opted out of receiving their tax forms by postal delivery.
|
4426
|
-
attr_accessor :consented_to_paperless_delivery
|
4427
|
-
|
4428
|
-
def initialize(consented_to_paperless_delivery: nil)
|
4429
|
-
@consented_to_paperless_delivery = consented_to_paperless_delivery
|
4430
|
-
end
|
4431
|
-
end
|
4432
|
-
|
4433
3913
|
class Treasury < Stripe::RequestParams
|
4434
3914
|
class TosAcceptance < Stripe::RequestParams
|
4435
3915
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
@@ -4454,12 +3934,8 @@ module Stripe
|
|
4454
3934
|
end
|
4455
3935
|
# Settings specific to Bacs Direct Debit.
|
4456
3936
|
attr_accessor :bacs_debit_payments
|
4457
|
-
# Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
4458
|
-
attr_accessor :bank_bca_onboarding
|
4459
3937
|
# Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
4460
3938
|
attr_accessor :branding
|
4461
|
-
# Settings specific to the account's use of the Capital product.
|
4462
|
-
attr_accessor :capital
|
4463
3939
|
# Settings specific to the account's use of the Card Issuing product.
|
4464
3940
|
attr_accessor :card_issuing
|
4465
3941
|
# Settings specific to card charging on the account.
|
@@ -4470,34 +3946,26 @@ module Stripe
|
|
4470
3946
|
attr_accessor :payments
|
4471
3947
|
# Settings specific to the account's payouts.
|
4472
3948
|
attr_accessor :payouts
|
4473
|
-
# Settings specific to the account's tax forms.
|
4474
|
-
attr_accessor :tax_forms
|
4475
3949
|
# Settings specific to the account's Treasury FinancialAccounts.
|
4476
3950
|
attr_accessor :treasury
|
4477
3951
|
|
4478
3952
|
def initialize(
|
4479
3953
|
bacs_debit_payments: nil,
|
4480
|
-
bank_bca_onboarding: nil,
|
4481
3954
|
branding: nil,
|
4482
|
-
capital: nil,
|
4483
3955
|
card_issuing: nil,
|
4484
3956
|
card_payments: nil,
|
4485
3957
|
invoices: nil,
|
4486
3958
|
payments: nil,
|
4487
3959
|
payouts: nil,
|
4488
|
-
tax_forms: nil,
|
4489
3960
|
treasury: nil
|
4490
3961
|
)
|
4491
3962
|
@bacs_debit_payments = bacs_debit_payments
|
4492
|
-
@bank_bca_onboarding = bank_bca_onboarding
|
4493
3963
|
@branding = branding
|
4494
|
-
@capital = capital
|
4495
3964
|
@card_issuing = card_issuing
|
4496
3965
|
@card_payments = card_payments
|
4497
3966
|
@invoices = invoices
|
4498
3967
|
@payments = payments
|
4499
3968
|
@payouts = payouts
|
4500
|
-
@tax_forms = tax_forms
|
4501
3969
|
@treasury = treasury
|
4502
3970
|
end
|
4503
3971
|
end
|
@@ -4556,8 +4024,6 @@ module Stripe
|
|
4556
4024
|
attr_accessor :individual
|
4557
4025
|
# 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`.
|
4558
4026
|
attr_accessor :metadata
|
4559
|
-
# A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
|
4560
|
-
attr_accessor :risk_controls
|
4561
4027
|
# Options for customizing how the account functions within Stripe.
|
4562
4028
|
attr_accessor :settings
|
4563
4029
|
# 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.
|
@@ -4581,7 +4047,6 @@ module Stripe
|
|
4581
4047
|
groups: nil,
|
4582
4048
|
individual: nil,
|
4583
4049
|
metadata: nil,
|
4584
|
-
risk_controls: nil,
|
4585
4050
|
settings: nil,
|
4586
4051
|
tos_acceptance: nil,
|
4587
4052
|
type: nil
|
@@ -4601,7 +4066,6 @@ module Stripe
|
|
4601
4066
|
@groups = groups
|
4602
4067
|
@individual = individual
|
4603
4068
|
@metadata = metadata
|
4604
|
-
@risk_controls = risk_controls
|
4605
4069
|
@settings = settings
|
4606
4070
|
@tos_acceptance = tos_acceptance
|
4607
4071
|
@type = type
|
@@ -4620,21 +4084,21 @@ module Stripe
|
|
4620
4084
|
end
|
4621
4085
|
end
|
4622
4086
|
|
4623
|
-
# With [Connect](https://stripe.com/docs/connect), you can create Stripe accounts for your users.
|
4087
|
+
# With [Connect](https://docs.stripe.com/docs/connect), you can create Stripe accounts for your users.
|
4624
4088
|
# To do this, you'll first need to [register your platform](https://dashboard.stripe.com/account/applications/settings).
|
4625
4089
|
#
|
4626
|
-
# If you've already collected information for your connected accounts, you [can prefill that information](https://stripe.com/docs/connect/best-practices#onboarding) when
|
4090
|
+
# If you've already collected information for your connected accounts, you [can prefill that information](https://docs.stripe.com/docs/connect/best-practices#onboarding) when
|
4627
4091
|
# creating the account. Connect Onboarding won't ask for the prefilled information during account onboarding.
|
4628
4092
|
# You can prefill any information on the account.
|
4629
4093
|
def create(params = {}, opts = {})
|
4630
4094
|
request(method: :post, path: "/v1/accounts", params: params, opts: opts, base_address: :api)
|
4631
4095
|
end
|
4632
4096
|
|
4633
|
-
# With [Connect](https://stripe.com/connect), you can delete accounts you manage.
|
4097
|
+
# With [Connect](https://docs.stripe.com/connect), you can delete accounts you manage.
|
4634
4098
|
#
|
4635
4099
|
# Test-mode accounts can be deleted at any time.
|
4636
4100
|
#
|
4637
|
-
# Live-mode accounts where Stripe is responsible for negative account balances cannot be deleted, which includes Standard accounts. Live-mode accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be deleted when all [balances](https://stripe.com/api/balance/balance_object) are zero.
|
4101
|
+
# Live-mode accounts where Stripe is responsible for negative account balances cannot be deleted, which includes Standard accounts. Live-mode accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be deleted when all [balances](https://docs.stripe.com/api/balance/balance_object) are zero.
|
4638
4102
|
#
|
4639
4103
|
# If you want to delete your own account, use the [account information tab in your account settings](https://dashboard.stripe.com/settings/account) instead.
|
4640
4104
|
def delete(account, params = {}, opts = {})
|
@@ -4647,12 +4111,12 @@ module Stripe
|
|
4647
4111
|
)
|
4648
4112
|
end
|
4649
4113
|
|
4650
|
-
# Returns a list of accounts connected to your platform via [Connect](https://stripe.com/docs/connect). If you're not a platform, the list is empty.
|
4114
|
+
# Returns a list of accounts connected to your platform via [Connect](https://docs.stripe.com/docs/connect). If you're not a platform, the list is empty.
|
4651
4115
|
def list(params = {}, opts = {})
|
4652
4116
|
request(method: :get, path: "/v1/accounts", params: params, opts: opts, base_address: :api)
|
4653
4117
|
end
|
4654
4118
|
|
4655
|
-
# With [Connect](https://stripe.com/connect), you can reject accounts that you have flagged as suspicious.
|
4119
|
+
# With [Connect](https://docs.stripe.com/connect), you can reject accounts that you have flagged as suspicious.
|
4656
4120
|
#
|
4657
4121
|
# Only accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be rejected. Test-mode accounts can be rejected at any time. Live-mode accounts can only be rejected after all balances are zero.
|
4658
4122
|
def reject(account, params = {}, opts = {})
|
@@ -4681,19 +4145,19 @@ module Stripe
|
|
4681
4145
|
request(method: :get, path: "/v1/account", params: params, opts: opts, base_address: :api)
|
4682
4146
|
end
|
4683
4147
|
|
4684
|
-
# Updates a [connected account](https://stripe.com/connect/accounts) by setting the values of the parameters passed. Any parameters not provided are
|
4148
|
+
# Updates a [connected account](https://docs.stripe.com/connect/accounts) by setting the values of the parameters passed. Any parameters not provided are
|
4685
4149
|
# left unchanged.
|
4686
4150
|
#
|
4687
|
-
# For accounts where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection)
|
4151
|
+
# For accounts where [controller.requirement_collection](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection)
|
4688
4152
|
# is application, which includes Custom accounts, you can update any information on the account.
|
4689
4153
|
#
|
4690
|
-
# For accounts where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection)
|
4154
|
+
# For accounts where [controller.requirement_collection](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection)
|
4691
4155
|
# is stripe, which includes Standard and Express accounts, you can update all information until you create
|
4692
|
-
# an [Account Link or <a href="/api/account_sessions">Account Session](https://stripe.com/api/account_links) to start Connect onboarding,
|
4156
|
+
# an [Account Link or <a href="/api/account_sessions">Account Session](https://docs.stripe.com/api/account_links) to start Connect onboarding,
|
4693
4157
|
# after which some properties can no longer be updated.
|
4694
4158
|
#
|
4695
4159
|
# To update your own account, use the [Dashboard](https://dashboard.stripe.com/settings/account). Refer to our
|
4696
|
-
# [Connect](https://stripe.com/docs/connect/updating-accounts) documentation to learn more about updating accounts.
|
4160
|
+
# [Connect](https://docs.stripe.com/docs/connect/updating-accounts) documentation to learn more about updating accounts.
|
4697
4161
|
def update(account, params = {}, opts = {})
|
4698
4162
|
request(
|
4699
4163
|
method: :post,
|