stripe 13.3.0 → 13.4.0.pre.beta.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1410 -650
- data/OPENAPI_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/stripe/api_operations/request.rb +1 -0
- data/lib/stripe/api_requestor.rb +1 -0
- data/lib/stripe/object_types.rb +32 -0
- data/lib/stripe/request_params.rb +24 -0
- data/lib/stripe/request_signing_authenticator.rb +79 -0
- data/lib/stripe/resources/account.rb +5793 -0
- data/lib/stripe/resources/account_link.rb +64 -0
- data/lib/stripe/resources/account_notice.rb +154 -0
- data/lib/stripe/resources/account_session.rb +1002 -0
- data/lib/stripe/resources/apple_pay_domain.rb +73 -0
- data/lib/stripe/resources/application.rb +23 -0
- data/lib/stripe/resources/application_fee.rb +120 -0
- data/lib/stripe/resources/application_fee_refund.rb +24 -0
- data/lib/stripe/resources/apps/secret.rb +166 -0
- data/lib/stripe/resources/balance.rb +162 -0
- data/lib/stripe/resources/balance_transaction.rb +141 -0
- data/lib/stripe/resources/bank_account.rb +113 -2
- data/lib/stripe/resources/billing/alert.rb +166 -0
- data/lib/stripe/resources/billing/alert_triggered.rb +31 -0
- data/lib/stripe/resources/billing/credit_balance_summary.rb +89 -0
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +140 -0
- data/lib/stripe/resources/billing/credit_grant.rb +235 -0
- data/lib/stripe/resources/billing/meter.rb +203 -0
- data/lib/stripe/resources/billing/meter_error_report.rb +70 -0
- data/lib/stripe/resources/billing/meter_event.rb +45 -0
- data/lib/stripe/resources/billing/meter_event_adjustment.rb +51 -0
- data/lib/stripe/resources/billing/meter_event_summary.rb +21 -0
- data/lib/stripe/resources/billing_portal/configuration.rb +639 -0
- data/lib/stripe/resources/billing_portal/session.rb +313 -0
- data/lib/stripe/resources/capability.rb +111 -0
- data/lib/stripe/resources/capital/financing_offer.rb +221 -0
- data/lib/stripe/resources/capital/financing_summary.rb +77 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +147 -0
- data/lib/stripe/resources/card.rb +111 -0
- data/lib/stripe/resources/cash_balance.rb +22 -0
- data/lib/stripe/resources/charge.rb +3687 -0
- data/lib/stripe/resources/checkout/session.rb +4162 -0
- data/lib/stripe/resources/climate/order.rb +216 -0
- data/lib/stripe/resources/climate/product.rb +69 -0
- data/lib/stripe/resources/climate/supplier.rb +67 -0
- data/lib/stripe/resources/confirmation_token.rb +1855 -0
- data/lib/stripe/resources/connect_collection_transfer.rb +29 -0
- data/lib/stripe/resources/country_spec.rb +76 -0
- data/lib/stripe/resources/coupon.rb +237 -0
- data/lib/stripe/resources/credit_note.rb +798 -0
- data/lib/stripe/resources/credit_note_line_item.rb +89 -0
- data/lib/stripe/resources/customer.rb +995 -0
- data/lib/stripe/resources/customer_balance_transaction.rb +39 -0
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +136 -0
- data/lib/stripe/resources/customer_session.rb +183 -0
- data/lib/stripe/resources/discount.rb +41 -0
- data/lib/stripe/resources/dispute.rb +767 -0
- data/lib/stripe/resources/entitlements/active_entitlement.rb +54 -0
- data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +26 -0
- data/lib/stripe/resources/entitlements/feature.rb +107 -0
- data/lib/stripe/resources/ephemeral_key.rb +26 -0
- data/lib/stripe/resources/event.rb +157 -0
- data/lib/stripe/resources/exchange_rate.rb +38 -0
- data/lib/stripe/resources/file.rb +134 -0
- data/lib/stripe/resources/file_link.rb +134 -0
- data/lib/stripe/resources/financial_connections/account.rb +307 -0
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +30 -0
- data/lib/stripe/resources/financial_connections/account_owner.rb +24 -0
- data/lib/stripe/resources/financial_connections/account_ownership.rb +12 -0
- data/lib/stripe/resources/financial_connections/institution.rb +112 -0
- data/lib/stripe/resources/financial_connections/session.rb +187 -0
- data/lib/stripe/resources/financial_connections/transaction.rb +122 -0
- data/lib/stripe/resources/forwarding/request.rb +196 -0
- data/lib/stripe/resources/funding_instructions.rb +415 -0
- data/lib/stripe/resources/gift_cards/card.rb +245 -0
- data/lib/stripe/resources/gift_cards/transaction.rb +313 -0
- data/lib/stripe/resources/identity/verification_report.rb +335 -0
- data/lib/stripe/resources/identity/verification_session.rb +430 -0
- data/lib/stripe/resources/invoice.rb +9348 -0
- data/lib/stripe/resources/invoice_item.rb +536 -0
- data/lib/stripe/resources/invoice_line_item.rb +409 -0
- data/lib/stripe/resources/invoice_payment.rb +72 -0
- data/lib/stripe/resources/invoice_rendering_template.rb +79 -0
- data/lib/stripe/resources/issuing/authorization.rb +1316 -2
- data/lib/stripe/resources/issuing/card.rb +794 -0
- data/lib/stripe/resources/issuing/cardholder.rb +768 -0
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +693 -0
- data/lib/stripe/resources/issuing/dispute.rb +941 -0
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +98 -0
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +109 -0
- data/lib/stripe/resources/issuing/personalization_design.rb +333 -0
- data/lib/stripe/resources/issuing/physical_bundle.rb +76 -0
- data/lib/stripe/resources/issuing/settlement.rb +65 -0
- data/lib/stripe/resources/issuing/token.rb +221 -0
- data/lib/stripe/resources/issuing/transaction.rb +1098 -0
- data/lib/stripe/resources/line_item.rb +98 -0
- data/lib/stripe/resources/login_link.rb +9 -0
- data/lib/stripe/resources/mandate.rb +214 -0
- data/lib/stripe/resources/margin.rb +143 -0
- data/lib/stripe/resources/order.rb +3238 -0
- data/lib/stripe/resources/payment_attempt_record.rb +226 -0
- data/lib/stripe/resources/payment_intent.rb +14630 -0
- data/lib/stripe/resources/payment_link.rb +1761 -0
- data/lib/stripe/resources/payment_method.rb +1981 -0
- data/lib/stripe/resources/payment_method_configuration.rb +3137 -0
- data/lib/stripe/resources/payment_method_domain.rb +176 -0
- data/lib/stripe/resources/payment_record.rb +824 -0
- data/lib/stripe/resources/payout.rb +267 -0
- data/lib/stripe/resources/person.rb +353 -0
- data/lib/stripe/resources/plan.rb +386 -0
- data/lib/stripe/resources/price.rb +782 -0
- data/lib/stripe/resources/product.rb +636 -0
- data/lib/stripe/resources/product_feature.rb +16 -0
- data/lib/stripe/resources/promotion_code.rb +261 -0
- data/lib/stripe/resources/quote.rb +3404 -0
- data/lib/stripe/resources/quote_line.rb +340 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +833 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +463 -0
- data/lib/stripe/resources/radar/early_fraud_warning.rb +93 -0
- data/lib/stripe/resources/radar/value_list.rb +151 -0
- data/lib/stripe/resources/radar/value_list_item.rb +113 -0
- data/lib/stripe/resources/refund.rb +489 -0
- data/lib/stripe/resources/reporting/report_run.rb +182 -0
- data/lib/stripe/resources/reporting/report_type.rb +44 -0
- data/lib/stripe/resources/reserve_transaction.rb +26 -0
- data/lib/stripe/resources/reversal.rb +30 -0
- data/lib/stripe/resources/review.rb +135 -0
- data/lib/stripe/resources/setup_attempt.rb +474 -0
- data/lib/stripe/resources/setup_intent.rb +4371 -0
- data/lib/stripe/resources/shipping_rate.rb +303 -0
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +67 -0
- data/lib/stripe/resources/source.rb +1571 -0
- data/lib/stripe/resources/source_mandate_notification.rb +79 -0
- data/lib/stripe/resources/source_transaction.rb +114 -0
- data/lib/stripe/resources/subscription.rb +2395 -0
- data/lib/stripe/resources/subscription_item.rb +502 -0
- data/lib/stripe/resources/subscription_schedule.rb +2790 -0
- data/lib/stripe/resources/tax/association.rb +100 -0
- data/lib/stripe/resources/tax/calculation.rb +474 -0
- data/lib/stripe/resources/tax/calculation_line_item.rb +76 -0
- data/lib/stripe/resources/tax/form.rb +253 -0
- data/lib/stripe/resources/tax/registration.rb +2174 -0
- data/lib/stripe/resources/tax/settings.rb +146 -0
- data/lib/stripe/resources/tax/transaction.rb +332 -0
- data/lib/stripe/resources/tax/transaction_line_item.rb +43 -0
- data/lib/stripe/resources/tax_code.rb +41 -0
- data/lib/stripe/resources/tax_deducted_at_source.rb +26 -0
- data/lib/stripe/resources/tax_id.rb +147 -0
- data/lib/stripe/resources/tax_rate.rb +245 -0
- data/lib/stripe/resources/terminal/configuration.rb +1175 -0
- data/lib/stripe/resources/terminal/connection_token.rb +21 -0
- data/lib/stripe/resources/terminal/location.rb +208 -0
- data/lib/stripe/resources/terminal/reader.rb +911 -0
- data/lib/stripe/resources/terminal/reader_collected_data.rb +45 -0
- data/lib/stripe/resources/test_helpers/test_clock.rb +101 -0
- data/lib/stripe/resources/token.rb +1337 -0
- data/lib/stripe/resources/topup.rb +210 -0
- data/lib/stripe/resources/transfer.rb +188 -0
- data/lib/stripe/resources/treasury/credit_reversal.rb +113 -0
- data/lib/stripe/resources/treasury/debit_reversal.rb +126 -0
- data/lib/stripe/resources/treasury/financial_account.rb +766 -0
- data/lib/stripe/resources/treasury/financial_account_features.rb +237 -0
- data/lib/stripe/resources/treasury/inbound_transfer.rb +285 -0
- data/lib/stripe/resources/treasury/outbound_payment.rb +587 -0
- data/lib/stripe/resources/treasury/outbound_transfer.rb +428 -0
- data/lib/stripe/resources/treasury/received_credit.rb +335 -0
- data/lib/stripe/resources/treasury/received_debit.rb +298 -0
- data/lib/stripe/resources/treasury/transaction.rb +215 -0
- data/lib/stripe/resources/treasury/transaction_entry.rb +193 -0
- data/lib/stripe/resources/usage_record.rb +18 -0
- data/lib/stripe/resources/usage_record_summary.rb +28 -0
- data/lib/stripe/resources/v2/amount.rb +9 -0
- data/lib/stripe/resources/v2/billing/meter_event.rb +24 -0
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +28 -0
- data/lib/stripe/resources/v2/billing/meter_event_session.rb +19 -0
- data/lib/stripe/resources/v2/event.rb +35 -0
- data/lib/stripe/resources/v2/event_destination.rb +78 -0
- data/lib/stripe/resources/webhook_endpoint.rb +148 -0
- data/lib/stripe/resources.rb +31 -0
- data/lib/stripe/services/account_capability_service.rb +33 -0
- data/lib/stripe/services/account_external_account_service.rb +293 -0
- data/lib/stripe/services/account_link_service.rb +53 -0
- data/lib/stripe/services/account_login_link_service.rb +9 -0
- data/lib/stripe/services/account_notice_service.rb +110 -0
- data/lib/stripe/services/account_person_service.rb +1014 -0
- data/lib/stripe/services/account_service.rb +4862 -0
- data/lib/stripe/services/account_session_service.rb +740 -0
- data/lib/stripe/services/apple_pay_domain_service.rb +56 -0
- data/lib/stripe/services/application_fee_refund_service.rb +60 -0
- data/lib/stripe/services/application_fee_service.rb +65 -0
- data/lib/stripe/services/apps/secret_service.rb +132 -0
- data/lib/stripe/services/balance_service.rb +9 -0
- data/lib/stripe/services/balance_transaction_service.rb +80 -0
- data/lib/stripe/services/billing/alert_service.rb +125 -0
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +41 -0
- data/lib/stripe/services/billing/credit_balance_transaction_service.rb +45 -0
- data/lib/stripe/services/billing/credit_grant_service.rb +167 -0
- data/lib/stripe/services/billing/meter_event_adjustment_service.rb +29 -0
- data/lib/stripe/services/billing/meter_event_service.rb +25 -0
- data/lib/stripe/services/billing/meter_event_summary_service.rb +46 -0
- data/lib/stripe/services/billing/meter_service.rb +142 -0
- data/lib/stripe/services/billing_portal/configuration_service.rb +492 -0
- data/lib/stripe/services/billing_portal/session_service.rb +192 -0
- data/lib/stripe/services/capital/financing_offer_service.rb +121 -0
- data/lib/stripe/services/capital/financing_summary_service.rb +28 -0
- data/lib/stripe/services/capital/financing_transaction_service.rb +86 -0
- data/lib/stripe/services/capital_service.rb +15 -0
- data/lib/stripe/services/charge_service.rb +2010 -0
- data/lib/stripe/services/checkout/session_line_item_service.rb +21 -0
- data/lib/stripe/services/checkout/session_service.rb +2736 -0
- data/lib/stripe/services/climate/order_service.rb +113 -0
- data/lib/stripe/services/climate/product_service.rb +30 -0
- data/lib/stripe/services/climate/supplier_service.rb +30 -0
- data/lib/stripe/services/confirmation_token_service.rb +9 -0
- data/lib/stripe/services/country_spec_service.rb +30 -0
- data/lib/stripe/services/coupon_service.rb +174 -0
- data/lib/stripe/services/credit_note_line_item_service.rb +21 -0
- data/lib/stripe/services/credit_note_preview_lines_service.rb +184 -0
- data/lib/stripe/services/credit_note_service.rb +434 -0
- data/lib/stripe/services/customer_balance_transaction_service.rb +72 -0
- data/lib/stripe/services/customer_cash_balance_service.rb +30 -0
- data/lib/stripe/services/customer_cash_balance_transaction_service.rb +30 -0
- data/lib/stripe/services/customer_funding_instructions_service.rb +47 -0
- data/lib/stripe/services/customer_payment_method_service.rb +45 -0
- data/lib/stripe/services/customer_payment_source_service.rb +208 -0
- data/lib/stripe/services/customer_service.rb +684 -0
- data/lib/stripe/services/customer_session_service.rb +106 -0
- data/lib/stripe/services/customer_tax_id_service.rb +50 -0
- data/lib/stripe/services/dispute_service.rb +439 -0
- data/lib/stripe/services/entitlements/active_entitlement_service.rb +40 -0
- data/lib/stripe/services/entitlements/feature_service.rb +87 -0
- data/lib/stripe/services/ephemeral_key_service.rb +40 -0
- data/lib/stripe/services/event_service.rb +75 -0
- data/lib/stripe/services/exchange_rate_service.rb +30 -0
- data/lib/stripe/services/file_link_service.rb +108 -0
- data/lib/stripe/services/file_service.rb +102 -0
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +40 -0
- data/lib/stripe/services/financial_connections/account_owner_service.rb +31 -0
- data/lib/stripe/services/financial_connections/account_service.rb +108 -1
- data/lib/stripe/services/financial_connections/institution_service.rb +60 -0
- data/lib/stripe/services/financial_connections/session_service.rb +108 -0
- data/lib/stripe/services/financial_connections/transaction_service.rb +79 -0
- data/lib/stripe/services/financial_connections_service.rb +2 -1
- data/lib/stripe/services/forwarding/request_service.rb +120 -0
- data/lib/stripe/services/gift_cards/card_service.rb +183 -0
- data/lib/stripe/services/gift_cards/transaction_service.rb +225 -0
- data/lib/stripe/services/gift_cards_service.rb +14 -0
- data/lib/stripe/services/identity/verification_report_service.rb +75 -0
- data/lib/stripe/services/identity/verification_session_service.rb +261 -0
- data/lib/stripe/services/invoice_item_service.rb +454 -0
- data/lib/stripe/services/invoice_line_item_service.rb +277 -0
- data/lib/stripe/services/invoice_payment_service.rb +58 -0
- data/lib/stripe/services/invoice_rendering_template_service.rb +56 -0
- data/lib/stripe/services/invoice_service.rb +6375 -1
- data/lib/stripe/services/invoice_upcoming_lines_service.rb +2142 -0
- data/lib/stripe/services/issuing/authorization_service.rb +118 -0
- data/lib/stripe/services/issuing/card_service.rb +525 -0
- data/lib/stripe/services/issuing/cardholder_service.rb +599 -0
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +560 -0
- data/lib/stripe/services/issuing/dispute_service.rb +731 -0
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +70 -0
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +90 -0
- data/lib/stripe/services/issuing/personalization_design_service.rb +222 -0
- data/lib/stripe/services/issuing/physical_bundle_service.rb +45 -0
- data/lib/stripe/services/issuing/token_service.rb +83 -0
- data/lib/stripe/services/issuing/transaction_service.rb +93 -0
- data/lib/stripe/services/issuing_service.rb +5 -1
- data/lib/stripe/services/mandate_service.rb +9 -0
- data/lib/stripe/services/margin_service.rb +130 -0
- data/lib/stripe/services/order_line_item_service.rb +38 -0
- data/lib/stripe/services/order_service.rb +2518 -0
- data/lib/stripe/services/payment_attempt_record_service.rb +50 -0
- data/lib/stripe/services/payment_intent_service.rb +12203 -0
- data/lib/stripe/services/payment_link_line_item_service.rb +21 -0
- data/lib/stripe/services/payment_link_service.rb +1343 -0
- data/lib/stripe/services/payment_method_configuration_service.rb +2148 -0
- data/lib/stripe/services/payment_method_domain_service.rb +84 -0
- data/lib/stripe/services/payment_method_service.rb +977 -0
- data/lib/stripe/services/payment_record_service.rb +610 -0
- data/lib/stripe/services/payout_service.rb +182 -0
- data/lib/stripe/services/plan_service.rb +296 -0
- data/lib/stripe/services/price_service.rb +603 -0
- data/lib/stripe/services/product_feature_service.rb +46 -0
- data/lib/stripe/services/product_service.rb +533 -0
- data/lib/stripe/services/promotion_code_service.rb +203 -0
- data/lib/stripe/services/quote_computed_upfront_line_items_service.rb +21 -0
- data/lib/stripe/services/quote_line_item_service.rb +21 -0
- data/lib/stripe/services/quote_line_service.rb +38 -0
- data/lib/stripe/services/quote_preview_invoice_service.rb +38 -0
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +38 -0
- data/lib/stripe/services/quote_service.rb +2628 -1
- data/lib/stripe/services/radar/early_fraud_warning_service.rb +70 -0
- data/lib/stripe/services/radar/value_list_item_service.rb +90 -0
- data/lib/stripe/services/radar/value_list_service.rb +119 -0
- data/lib/stripe/services/refund_service.rb +158 -0
- data/lib/stripe/services/reporting/report_run_service.rb +122 -0
- data/lib/stripe/services/reporting/report_type_service.rb +18 -0
- data/lib/stripe/services/review_service.rb +63 -0
- data/lib/stripe/services/setup_attempt_service.rb +59 -0
- data/lib/stripe/services/setup_intent_service.rb +3923 -0
- data/lib/stripe/services/shipping_rate_service.rb +227 -0
- data/lib/stripe/services/sigma/scheduled_query_run_service.rb +30 -0
- data/lib/stripe/services/source_service.rb +693 -0
- data/lib/stripe/services/source_transaction_service.rb +21 -0
- data/lib/stripe/services/subscription_item_service.rb +439 -0
- data/lib/stripe/services/subscription_item_usage_record_service.rb +21 -0
- data/lib/stripe/services/subscription_item_usage_record_summary_service.rb +21 -0
- data/lib/stripe/services/subscription_schedule_service.rb +2343 -0
- data/lib/stripe/services/subscription_service.rb +1967 -0
- data/lib/stripe/services/tax/association_service.rb +32 -0
- data/lib/stripe/services/tax/calculation_line_item_service.rb +21 -0
- data/lib/stripe/services/tax/calculation_service.rb +235 -0
- data/lib/stripe/services/tax/form_service.rb +107 -0
- data/lib/stripe/services/tax/registration_service.rb +1398 -0
- data/lib/stripe/services/tax/settings_service.rb +82 -0
- data/lib/stripe/services/tax/transaction_line_item_service.rb +21 -0
- data/lib/stripe/services/tax/transaction_service.rb +128 -0
- data/lib/stripe/services/tax_code_service.rb +30 -0
- data/lib/stripe/services/tax_id_service.rb +90 -0
- data/lib/stripe/services/tax_rate_service.rb +182 -0
- data/lib/stripe/services/tax_service.rb +3 -1
- data/lib/stripe/services/terminal/configuration_service.rb +901 -0
- data/lib/stripe/services/terminal/connection_token_service.rb +13 -0
- data/lib/stripe/services/terminal/location_service.rb +165 -0
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +28 -0
- data/lib/stripe/services/terminal/reader_service.rb +496 -0
- data/lib/stripe/services/terminal_service.rb +2 -1
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +762 -0
- data/lib/stripe/services/test_helpers/customer_service.rb +21 -0
- data/lib/stripe/services/test_helpers/issuing/authorization_service.rb +844 -0
- data/lib/stripe/services/test_helpers/issuing/card_service.rb +45 -0
- data/lib/stripe/services/test_helpers/issuing/personalization_design_service.rb +43 -0
- data/lib/stripe/services/test_helpers/issuing/transaction_service.rb +723 -0
- data/lib/stripe/services/test_helpers/refund_service.rb +9 -0
- data/lib/stripe/services/test_helpers/terminal/reader_service.rb +48 -0
- data/lib/stripe/services/test_helpers/test_clock_service.rb +63 -0
- data/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +39 -0
- data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +93 -0
- data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +93 -0
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +95 -0
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +95 -0
- data/lib/stripe/services/token_service.rb +1301 -0
- data/lib/stripe/services/topup_service.rb +163 -0
- data/lib/stripe/services/transfer_reversal_service.rb +74 -0
- data/lib/stripe/services/transfer_service.rb +138 -0
- data/lib/stripe/services/treasury/credit_reversal_service.rb +67 -0
- data/lib/stripe/services/treasury/debit_reversal_service.rb +72 -0
- data/lib/stripe/services/treasury/financial_account_features_service.rb +179 -0
- data/lib/stripe/services/treasury/financial_account_service.rb +481 -0
- data/lib/stripe/services/treasury/inbound_transfer_service.rb +100 -0
- data/lib/stripe/services/treasury/outbound_payment_service.rb +296 -0
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +147 -0
- data/lib/stripe/services/treasury/received_credit_service.rb +58 -0
- data/lib/stripe/services/treasury/received_debit_service.rb +45 -0
- data/lib/stripe/services/treasury/transaction_entry_service.rb +101 -0
- data/lib/stripe/services/treasury/transaction_service.rb +109 -0
- data/lib/stripe/services/v1_services.rb +8 -1
- data/lib/stripe/services/v2/billing/meter_event_adjustment_service.rb +25 -0
- data/lib/stripe/services/v2/billing/meter_event_service.rb +28 -0
- data/lib/stripe/services/v2/billing/meter_event_session_service.rb +3 -0
- data/lib/stripe/services/v2/billing/meter_event_stream_service.rb +36 -0
- data/lib/stripe/services/v2/core/event_destination_service.rb +164 -0
- data/lib/stripe/services/v2/core/event_service.rb +20 -0
- data/lib/stripe/services/webhook_endpoint_service.rb +110 -0
- data/lib/stripe/services.rb +25 -0
- data/lib/stripe/stripe_client.rb +2 -2
- data/lib/stripe/stripe_configuration.rb +3 -1
- data/lib/stripe/stripe_object.rb +8 -3
- data/lib/stripe/util.rb +8 -2
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +46 -0
- data/rbi/stripe/resources/account.rbi +6072 -0
- data/rbi/stripe/resources/account_link.rbi +87 -0
- data/rbi/stripe/resources/account_notice.rbi +166 -0
- data/rbi/stripe/resources/account_session.rbi +1173 -0
- data/rbi/stripe/resources/apple_pay_domain.rbi +111 -0
- data/rbi/stripe/resources/application.rbi +23 -0
- data/rbi/stripe/resources/application_fee.rbi +151 -0
- data/rbi/stripe/resources/application_fee_refund.rbi +44 -0
- data/rbi/stripe/resources/apps/secret.rbi +229 -0
- data/rbi/stripe/resources/balance.rbi +220 -0
- data/rbi/stripe/resources/balance_transaction.rbi +182 -0
- data/rbi/stripe/resources/bank_account.rbi +156 -0
- data/rbi/stripe/resources/billing/alert.rbi +237 -0
- data/rbi/stripe/resources/billing/alert_triggered.rbi +33 -0
- data/rbi/stripe/resources/billing/credit_balance_summary.rbi +118 -0
- data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +181 -0
- data/rbi/stripe/resources/billing/credit_grant.rbi +312 -0
- data/rbi/stripe/resources/billing/meter.rbi +268 -0
- data/rbi/stripe/resources/billing/meter_error_report.rbi +82 -0
- data/rbi/stripe/resources/billing/meter_event.rbi +76 -0
- data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +75 -0
- data/rbi/stripe/resources/billing/meter_event_summary.rbi +39 -0
- data/rbi/stripe/resources/billing_portal/configuration.rbi +746 -0
- data/rbi/stripe/resources/billing_portal/session.rbi +396 -0
- data/rbi/stripe/resources/capability.rbi +152 -0
- data/rbi/stripe/resources/capital/financing_offer.rbi +228 -0
- data/rbi/stripe/resources/capital/financing_summary.rbi +89 -0
- data/rbi/stripe/resources/capital/financing_transaction.rbi +157 -0
- data/rbi/stripe/resources/card.rbi +159 -0
- data/rbi/stripe/resources/cash_balance.rbi +37 -0
- data/rbi/stripe/resources/charge.rbi +4216 -0
- data/rbi/stripe/resources/checkout/session.rbi +4627 -0
- data/rbi/stripe/resources/climate/order.rbi +298 -0
- data/rbi/stripe/resources/climate/product.rbi +98 -0
- data/rbi/stripe/resources/climate/supplier.rbi +95 -0
- data/rbi/stripe/resources/confirmation_token.rbi +2137 -0
- data/rbi/stripe/resources/connect_collection_transfer.rbi +31 -0
- data/rbi/stripe/resources/country_spec.rbi +108 -0
- data/rbi/stripe/resources/coupon.rbi +305 -0
- data/rbi/stripe/resources/credit_note.rbi +918 -0
- data/rbi/stripe/resources/credit_note_line_item.rbi +123 -0
- data/rbi/stripe/resources/customer.rbi +1188 -0
- data/rbi/stripe/resources/customer_balance_transaction.rbi +65 -0
- data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +178 -0
- data/rbi/stripe/resources/customer_session.rbi +227 -0
- data/rbi/stripe/resources/discount.rbi +65 -0
- data/rbi/stripe/resources/dispute.rbi +926 -0
- data/rbi/stripe/resources/entitlements/active_entitlement.rbi +76 -0
- data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +26 -0
- data/rbi/stripe/resources/entitlements/feature.rbi +146 -0
- data/rbi/stripe/resources/ephemeral_key.rbi +51 -0
- data/rbi/stripe/resources/event.rbi +221 -0
- data/rbi/stripe/resources/exchange_rate.rbi +81 -0
- data/rbi/stripe/resources/file.rbi +177 -0
- data/rbi/stripe/resources/file_link.rbi +174 -0
- data/rbi/stripe/resources/financial_connections/account.rbi +414 -0
- data/rbi/stripe/resources/financial_connections/account_inferred_balance.rbi +30 -0
- data/rbi/stripe/resources/financial_connections/account_owner.rbi +42 -0
- data/rbi/stripe/resources/financial_connections/account_ownership.rbi +26 -0
- data/rbi/stripe/resources/financial_connections/institution.rbi +115 -0
- data/rbi/stripe/resources/financial_connections/session.rbi +221 -0
- data/rbi/stripe/resources/financial_connections/transaction.rbi +153 -0
- data/rbi/stripe/resources/forwarding/request.rbi +257 -0
- data/rbi/stripe/resources/funding_instructions.rbi +544 -0
- data/rbi/stripe/resources/gift_cards/card.rbi +242 -0
- data/rbi/stripe/resources/gift_cards/transaction.rbi +298 -0
- data/rbi/stripe/resources/identity/verification_report.rbi +427 -0
- data/rbi/stripe/resources/identity/verification_session.rbi +601 -0
- data/rbi/stripe/resources/invoice.rbi +10584 -0
- data/rbi/stripe/resources/invoice_item.rbi +621 -0
- data/rbi/stripe/resources/invoice_line_item.rbi +486 -0
- data/rbi/stripe/resources/invoice_payment.rbi +86 -0
- data/rbi/stripe/resources/invoice_rendering_template.rbi +131 -0
- data/rbi/stripe/resources/issuing/authorization.rbi +1511 -0
- data/rbi/stripe/resources/issuing/card.rbi +891 -0
- data/rbi/stripe/resources/issuing/cardholder.rbi +870 -0
- data/rbi/stripe/resources/issuing/credit_underwriting_record.rbi +731 -0
- data/rbi/stripe/resources/issuing/dispute.rbi +1077 -0
- data/rbi/stripe/resources/issuing/dispute_settlement_detail.rbi +100 -0
- data/rbi/stripe/resources/issuing/fraud_liability_debit.rbi +108 -0
- data/rbi/stripe/resources/issuing/personalization_design.rbi +395 -0
- data/rbi/stripe/resources/issuing/physical_bundle.rbi +102 -0
- data/rbi/stripe/resources/issuing/settlement.rbi +78 -0
- data/rbi/stripe/resources/issuing/token.rbi +282 -0
- data/rbi/stripe/resources/issuing/transaction.rbi +1262 -0
- data/rbi/stripe/resources/line_item.rbi +131 -0
- data/rbi/stripe/resources/login_link.rbi +20 -0
- data/rbi/stripe/resources/mandate.rbi +266 -0
- data/rbi/stripe/resources/margin.rbi +151 -0
- data/rbi/stripe/resources/order.rbi +3505 -0
- data/rbi/stripe/resources/payment_attempt_record.rbi +260 -0
- data/rbi/stripe/resources/payment_intent.rbi +16064 -0
- data/rbi/stripe/resources/payment_link.rbi +1943 -0
- data/rbi/stripe/resources/payment_method.rbi +2287 -0
- data/rbi/stripe/resources/payment_method_configuration.rbi +3657 -0
- data/rbi/stripe/resources/payment_method_domain.rbi +246 -0
- data/rbi/stripe/resources/payment_record.rbi +856 -0
- data/rbi/stripe/resources/payout.rbi +357 -0
- data/rbi/stripe/resources/person.rbi +461 -0
- data/rbi/stripe/resources/plan.rbi +463 -0
- data/rbi/stripe/resources/price.rbi +884 -0
- data/rbi/stripe/resources/product.rbi +735 -0
- data/rbi/stripe/resources/product_feature.rbi +30 -0
- data/rbi/stripe/resources/promotion_code.rbi +316 -0
- data/rbi/stripe/resources/quote.rbi +3779 -0
- data/rbi/stripe/resources/quote_line.rbi +416 -0
- data/rbi/stripe/resources/quote_preview_invoice.rbi +1030 -0
- data/rbi/stripe/resources/quote_preview_subscription_schedule.rbi +575 -0
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +121 -0
- data/rbi/stripe/resources/radar/value_list.rbi +207 -0
- data/rbi/stripe/resources/radar/value_list_item.rbi +157 -0
- data/rbi/stripe/resources/refund.rbi +615 -0
- data/rbi/stripe/resources/reporting/report_run.rbi +232 -0
- data/rbi/stripe/resources/reporting/report_type.rbi +75 -0
- data/rbi/stripe/resources/reserve_transaction.rbi +27 -0
- data/rbi/stripe/resources/reversal.rbi +60 -0
- data/rbi/stripe/resources/review.rbi +191 -0
- data/rbi/stripe/resources/setup_attempt.rbi +587 -0
- data/rbi/stripe/resources/setup_intent.rbi +4726 -0
- data/rbi/stripe/resources/shipping_rate.rbi +367 -0
- data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +98 -0
- data/rbi/stripe/resources/source.rbi +1899 -0
- data/rbi/stripe/resources/source_mandate_notification.rbi +90 -0
- data/rbi/stripe/resources/source_transaction.rbi +156 -0
- data/rbi/stripe/resources/subscription.rbi +2739 -0
- data/rbi/stripe/resources/subscription_item.rbi +566 -0
- data/rbi/stripe/resources/subscription_schedule.rbi +3157 -0
- data/rbi/stripe/resources/tax/association.rbi +107 -0
- data/rbi/stripe/resources/tax/calculation.rbi +577 -0
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +108 -0
- data/rbi/stripe/resources/tax/form.rbi +262 -0
- data/rbi/stripe/resources/tax/registration.rbi +2354 -0
- data/rbi/stripe/resources/tax/settings.rbi +174 -0
- data/rbi/stripe/resources/tax/transaction.rbi +428 -0
- data/rbi/stripe/resources/tax/transaction_line_item.rbi +66 -0
- data/rbi/stripe/resources/tax_code.rbi +60 -0
- data/rbi/stripe/resources/tax_deducted_at_source.rbi +27 -0
- data/rbi/stripe/resources/tax_id.rbi +206 -0
- data/rbi/stripe/resources/tax_rate.rbi +295 -0
- data/rbi/stripe/resources/terminal/configuration.rbi +1302 -0
- data/rbi/stripe/resources/terminal/connection_token.rbi +42 -0
- data/rbi/stripe/resources/terminal/location.rbi +271 -0
- data/rbi/stripe/resources/terminal/reader.rbi +1110 -0
- data/rbi/stripe/resources/terminal/reader_collected_data.rbi +48 -0
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +159 -0
- data/rbi/stripe/resources/token.rbi +1405 -0
- data/rbi/stripe/resources/topup.rbi +269 -0
- data/rbi/stripe/resources/transfer.rbi +245 -0
- data/rbi/stripe/resources/treasury/credit_reversal.rbi +151 -0
- data/rbi/stripe/resources/treasury/debit_reversal.rbi +165 -0
- data/rbi/stripe/resources/treasury/financial_account.rbi +924 -0
- data/rbi/stripe/resources/treasury/financial_account_features.rbi +309 -0
- data/rbi/stripe/resources/treasury/inbound_transfer.rbi +361 -0
- data/rbi/stripe/resources/treasury/outbound_payment.rbi +702 -0
- data/rbi/stripe/resources/treasury/outbound_transfer.rbi +529 -0
- data/rbi/stripe/resources/treasury/received_credit.rbi +408 -0
- data/rbi/stripe/resources/treasury/received_debit.rbi +367 -0
- data/rbi/stripe/resources/treasury/transaction.rbi +261 -0
- data/rbi/stripe/resources/treasury/transaction_entry.rbi +234 -0
- data/rbi/stripe/resources/usage_record.rbi +37 -0
- data/rbi/stripe/resources/usage_record_summary.rbi +45 -0
- data/rbi/stripe/resources/v2/amount.rbi +14 -0
- data/rbi/stripe/resources/v2/billing/meter_event.rbi +43 -0
- data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +48 -0
- data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +36 -0
- data/rbi/stripe/resources/v2/event.rbi +55 -0
- data/rbi/stripe/resources/v2/event_destination.rbi +109 -0
- data/rbi/stripe/resources/webhook_endpoint.rbi +208 -0
- data/rbi/stripe/services/account_capability_service.rbi +55 -0
- data/rbi/stripe/services/account_external_account_service.rbi +358 -0
- data/rbi/stripe/services/account_link_service.rbi +67 -0
- data/rbi/stripe/services/account_login_link_service.rbi +23 -0
- data/rbi/stripe/services/account_notice_service.rbi +103 -0
- data/rbi/stripe/services/account_person_service.rbi +1077 -0
- data/rbi/stripe/services/account_service.rbi +4948 -0
- data/rbi/stripe/services/account_session_service.rbi +873 -0
- data/rbi/stripe/services/apple_pay_domain_service.rbi +86 -0
- data/rbi/stripe/services/application_fee_refund_service.rbi +101 -0
- data/rbi/stripe/services/application_fee_service.rbi +85 -0
- data/rbi/stripe/services/apps/secret_service.rbi +175 -0
- data/rbi/stripe/services/apps_service.rbi +9 -0
- data/rbi/stripe/services/balance_service.rbi +22 -0
- data/rbi/stripe/services/balance_transaction_service.rbi +103 -0
- data/rbi/stripe/services/billing/alert_service.rbi +172 -0
- data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +61 -0
- data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +66 -0
- data/rbi/stripe/services/billing/credit_grant_service.rbi +217 -0
- data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +45 -0
- data/rbi/stripe/services/billing/meter_event_service.rbi +47 -0
- data/rbi/stripe/services/billing/meter_event_summary_service.rbi +62 -0
- data/rbi/stripe/services/billing/meter_service.rbi +184 -0
- data/rbi/stripe/services/billing_portal/configuration_service.rbi +573 -0
- data/rbi/stripe/services/billing_portal/session_service.rbi +233 -0
- data/rbi/stripe/services/billing_portal_service.rbi +10 -0
- data/rbi/stripe/services/billing_service.rbi +15 -0
- data/rbi/stripe/services/capital/financing_offer_service.rbi +108 -0
- data/rbi/stripe/services/capital/financing_summary_service.rbi +23 -0
- data/rbi/stripe/services/capital/financing_transaction_service.rbi +77 -0
- data/rbi/stripe/services/capital_service.rbi +11 -0
- data/rbi/stripe/services/charge_service.rbi +2162 -0
- data/rbi/stripe/services/checkout/session_line_item_service.rbi +37 -0
- data/rbi/stripe/services/checkout/session_service.rbi +2975 -0
- data/rbi/stripe/services/checkout_service.rbi +9 -0
- data/rbi/stripe/services/climate/order_service.rbi +158 -0
- data/rbi/stripe/services/climate/product_service.rbi +51 -0
- data/rbi/stripe/services/climate/supplier_service.rbi +51 -0
- data/rbi/stripe/services/climate_service.rbi +11 -0
- data/rbi/stripe/services/confirmation_token_service.rbi +21 -0
- data/rbi/stripe/services/country_spec_service.rbi +49 -0
- data/rbi/stripe/services/coupon_service.rbi +220 -0
- data/rbi/stripe/services/credit_note_line_item_service.rbi +35 -0
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +200 -0
- data/rbi/stripe/services/credit_note_service.rbi +496 -0
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +105 -0
- data/rbi/stripe/services/customer_cash_balance_service.rbi +49 -0
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +49 -0
- data/rbi/stripe/services/customer_funding_instructions_service.rbi +67 -0
- data/rbi/stripe/services/customer_payment_method_service.rbi +64 -0
- data/rbi/stripe/services/customer_payment_source_service.rbi +265 -0
- data/rbi/stripe/services/customer_service.rbi +763 -0
- data/rbi/stripe/services/customer_session_service.rbi +126 -0
- data/rbi/stripe/services/customer_tax_id_service.rbi +80 -0
- data/rbi/stripe/services/dispute_service.rbi +500 -0
- data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +61 -0
- data/rbi/stripe/services/entitlements/feature_service.rbi +122 -0
- data/rbi/stripe/services/entitlements_service.rbi +10 -0
- data/rbi/stripe/services/ephemeral_key_service.rbi +59 -0
- data/rbi/stripe/services/event_service.rbi +94 -0
- data/rbi/stripe/services/exchange_rate_service.rbi +49 -0
- data/rbi/stripe/services/file_link_service.rbi +141 -0
- data/rbi/stripe/services/file_service.rbi +132 -0
- data/rbi/stripe/services/financial_connections/account_inferred_balance_service.rbi +37 -0
- data/rbi/stripe/services/financial_connections/account_owner_service.rbi +47 -0
- data/rbi/stripe/services/financial_connections/account_service.rbi +148 -0
- data/rbi/stripe/services/financial_connections/institution_service.rbi +51 -0
- data/rbi/stripe/services/financial_connections/session_service.rbi +128 -0
- data/rbi/stripe/services/financial_connections/transaction_service.rbi +103 -0
- data/rbi/stripe/services/financial_connections_service.rbi +12 -0
- data/rbi/stripe/services/forwarding/request_service.rbi +152 -0
- data/rbi/stripe/services/forwarding_service.rbi +9 -0
- data/rbi/stripe/services/gift_cards/card_service.rbi +162 -0
- data/rbi/stripe/services/gift_cards/transaction_service.rbi +198 -0
- data/rbi/stripe/services/gift_cards_service.rbi +10 -0
- data/rbi/stripe/services/identity/verification_report_service.rbi +98 -0
- data/rbi/stripe/services/identity/verification_session_service.rbi +360 -0
- data/rbi/stripe/services/identity_service.rbi +10 -0
- data/rbi/stripe/services/invoice_item_service.rbi +505 -0
- data/rbi/stripe/services/invoice_line_item_service.rbi +320 -0
- data/rbi/stripe/services/invoice_payment_service.rbi +49 -0
- data/rbi/stripe/services/invoice_rendering_template_service.rbi +91 -0
- data/rbi/stripe/services/invoice_service.rbi +7138 -0
- data/rbi/stripe/services/invoice_upcoming_lines_service.rbi +2397 -0
- data/rbi/stripe/services/issuing/authorization_service.rbi +160 -0
- data/rbi/stripe/services/issuing/card_service.rbi +568 -0
- data/rbi/stripe/services/issuing/cardholder_service.rbi +668 -0
- data/rbi/stripe/services/issuing/credit_underwriting_record_service.rbi +580 -0
- data/rbi/stripe/services/issuing/dispute_service.rbi +824 -0
- data/rbi/stripe/services/issuing/dispute_settlement_detail_service.rbi +61 -0
- data/rbi/stripe/services/issuing/fraud_liability_debit_service.rbi +83 -0
- data/rbi/stripe/services/issuing/personalization_design_service.rbi +271 -0
- data/rbi/stripe/services/issuing/physical_bundle_service.rbi +66 -0
- data/rbi/stripe/services/issuing/token_service.rbi +109 -0
- data/rbi/stripe/services/issuing/transaction_service.rbi +119 -0
- data/rbi/stripe/services/issuing_service.rbi +19 -0
- data/rbi/stripe/services/mandate_service.rbi +21 -0
- data/rbi/stripe/services/margin_service.rbi +119 -0
- data/rbi/stripe/services/order_line_item_service.rbi +35 -0
- data/rbi/stripe/services/order_service.rbi +2669 -0
- data/rbi/stripe/services/payment_attempt_record_service.rbi +39 -0
- data/rbi/stripe/services/payment_intent_service.rbi +13193 -0
- data/rbi/stripe/services/payment_link_line_item_service.rbi +35 -0
- data/rbi/stripe/services/payment_link_service.rbi +1447 -0
- data/rbi/stripe/services/payment_method_configuration_service.rbi +2465 -0
- data/rbi/stripe/services/payment_method_domain_service.rbi +123 -0
- data/rbi/stripe/services/payment_method_service.rbi +1032 -0
- data/rbi/stripe/services/payment_record_service.rbi +613 -0
- data/rbi/stripe/services/payout_service.rbi +228 -0
- data/rbi/stripe/services/plan_service.rbi +337 -0
- data/rbi/stripe/services/price_service.rbi +657 -0
- data/rbi/stripe/services/product_feature_service.rbi +76 -0
- data/rbi/stripe/services/product_service.rbi +596 -0
- data/rbi/stripe/services/promotion_code_service.rbi +244 -0
- data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +35 -0
- data/rbi/stripe/services/quote_line_item_service.rbi +35 -0
- data/rbi/stripe/services/quote_line_service.rbi +35 -0
- data/rbi/stripe/services/quote_preview_invoice_service.rbi +35 -0
- data/rbi/stripe/services/quote_preview_subscription_schedule_service.rbi +35 -0
- data/rbi/stripe/services/quote_service.rbi +2830 -0
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +95 -0
- data/rbi/stripe/services/radar/value_list_item_service.rbi +122 -0
- data/rbi/stripe/services/radar/value_list_service.rbi +160 -0
- data/rbi/stripe/services/radar_service.rbi +11 -0
- data/rbi/stripe/services/refund_service.rbi +208 -0
- data/rbi/stripe/services/reporting/report_run_service.rbi +152 -0
- data/rbi/stripe/services/reporting/report_type_service.rbi +37 -0
- data/rbi/stripe/services/reporting_service.rbi +10 -0
- data/rbi/stripe/services/review_service.rbi +93 -0
- data/rbi/stripe/services/setup_attempt_service.rbi +73 -0
- data/rbi/stripe/services/setup_intent_service.rbi +4204 -0
- data/rbi/stripe/services/shipping_rate_service.rbi +274 -0
- data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +51 -0
- data/rbi/stripe/services/sigma_service.rbi +9 -0
- data/rbi/stripe/services/source_service.rbi +766 -0
- data/rbi/stripe/services/source_transaction_service.rbi +35 -0
- data/rbi/stripe/services/subscription_item_service.rbi +496 -0
- data/rbi/stripe/services/subscription_item_usage_record_service.rbi +41 -0
- data/rbi/stripe/services/subscription_item_usage_record_summary_service.rbi +37 -0
- data/rbi/stripe/services/subscription_schedule_service.rbi +2613 -0
- data/rbi/stripe/services/subscription_service.rbi +2207 -0
- data/rbi/stripe/services/tax/association_service.rbi +27 -0
- data/rbi/stripe/services/tax/calculation_line_item_service.rbi +37 -0
- data/rbi/stripe/services/tax/calculation_service.rbi +267 -0
- data/rbi/stripe/services/tax/form_service.rbi +96 -0
- data/rbi/stripe/services/tax/registration_service.rbi +1495 -0
- data/rbi/stripe/services/tax/settings_service.rbi +106 -0
- data/rbi/stripe/services/tax/transaction_line_item_service.rbi +37 -0
- data/rbi/stripe/services/tax/transaction_service.rbi +164 -0
- data/rbi/stripe/services/tax_code_service.rbi +49 -0
- data/rbi/stripe/services/tax_id_service.rbi +128 -0
- data/rbi/stripe/services/tax_rate_service.rbi +215 -0
- data/rbi/stripe/services/tax_service.rbi +14 -0
- data/rbi/stripe/services/terminal/configuration_service.rbi +976 -0
- data/rbi/stripe/services/terminal/connection_token_service.rbi +27 -0
- data/rbi/stripe/services/terminal/location_service.rbi +211 -0
- data/rbi/stripe/services/terminal/reader_collected_data_service.rbi +23 -0
- data/rbi/stripe/services/terminal/reader_service.rbi +591 -0
- data/rbi/stripe/services/terminal_service.rbi +13 -0
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +892 -0
- data/rbi/stripe/services/test_helpers/customer_service.rbi +37 -0
- data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +974 -0
- data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +81 -0
- data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +73 -0
- data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +825 -0
- data/rbi/stripe/services/test_helpers/issuing_service.rbi +14 -0
- data/rbi/stripe/services/test_helpers/refund_service.rbi +23 -0
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +69 -0
- data/rbi/stripe/services/test_helpers/terminal_service.rbi +11 -0
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +100 -0
- data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +69 -0
- data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +137 -0
- data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +137 -0
- data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +130 -0
- data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +130 -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 +1357 -0
- data/rbi/stripe/services/topup_service.rbi +200 -0
- data/rbi/stripe/services/transfer_reversal_service.rbi +111 -0
- data/rbi/stripe/services/transfer_service.rbi +174 -0
- data/rbi/stripe/services/treasury/credit_reversal_service.rbi +95 -0
- data/rbi/stripe/services/treasury/debit_reversal_service.rbi +100 -0
- data/rbi/stripe/services/treasury/financial_account_features_service.rbi +226 -0
- data/rbi/stripe/services/treasury/financial_account_service.rbi +577 -0
- data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +133 -0
- data/rbi/stripe/services/treasury/outbound_payment_service.rbi +350 -0
- data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +189 -0
- data/rbi/stripe/services/treasury/received_credit_service.rbi +79 -0
- data/rbi/stripe/services/treasury/received_debit_service.rbi +66 -0
- data/rbi/stripe/services/treasury/transaction_entry_service.rbi +125 -0
- data/rbi/stripe/services/treasury/transaction_service.rbi +133 -0
- data/rbi/stripe/services/treasury_service.rbi +18 -0
- data/rbi/stripe/services/v1_services.rbi +83 -0
- data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +43 -0
- data/rbi/stripe/services/v2/billing/meter_event_service.rbi +46 -0
- data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +20 -0
- data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +60 -0
- data/rbi/stripe/services/v2/billing_service.rbi +14 -0
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +228 -0
- data/rbi/stripe/services/v2/core/event_service.rbi +42 -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 +149 -0
- metadata +435 -4
@@ -13,6 +13,4868 @@ module Stripe
|
|
13
13
|
@persons = Stripe::AccountPersonService.new(@requestor)
|
14
14
|
end
|
15
15
|
|
16
|
+
class DeleteParams < Stripe::RequestParams
|
17
|
+
end
|
18
|
+
|
19
|
+
class RetrieveParams < Stripe::RequestParams
|
20
|
+
# Specifies which fields in the response should be expanded.
|
21
|
+
attr_accessor :expand
|
22
|
+
|
23
|
+
def initialize(expand: nil)
|
24
|
+
@expand = expand
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
class UpdateParams < Stripe::RequestParams
|
29
|
+
class BankAccount < Stripe::RequestParams
|
30
|
+
# Attribute for param field object
|
31
|
+
attr_accessor :object
|
32
|
+
|
33
|
+
# The name of the person or business that owns the bank account.This field is required when attaching the bank account to a `Customer` object.
|
34
|
+
attr_accessor :account_holder_name
|
35
|
+
|
36
|
+
# The type of entity that holds the account. It can be `company` or `individual`. This field is required when attaching the bank account to a `Customer` object.
|
37
|
+
attr_accessor :account_holder_type
|
38
|
+
|
39
|
+
# The account number for the bank account, in string form. Must be a checking account.
|
40
|
+
attr_accessor :account_number
|
41
|
+
|
42
|
+
# The country in which the bank account is located.
|
43
|
+
attr_accessor :country
|
44
|
+
|
45
|
+
# The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
|
46
|
+
attr_accessor :currency
|
47
|
+
|
48
|
+
# The routing number, sort code, or other country-appropriateinstitution number for the bank account. For US bank accounts, this is required and should bethe ACH routing number, not the wire routing number. If you are providing an IBAN for`account_number`, this field is not required.
|
49
|
+
attr_accessor :routing_number
|
50
|
+
|
51
|
+
def initialize(
|
52
|
+
object: nil,
|
53
|
+
account_holder_name: nil,
|
54
|
+
account_holder_type: nil,
|
55
|
+
account_number: nil,
|
56
|
+
country: nil,
|
57
|
+
currency: nil,
|
58
|
+
routing_number: nil
|
59
|
+
)
|
60
|
+
@object = object
|
61
|
+
@account_holder_name = account_holder_name
|
62
|
+
@account_holder_type = account_holder_type
|
63
|
+
@account_number = account_number
|
64
|
+
@country = country
|
65
|
+
@currency = currency
|
66
|
+
@routing_number = routing_number
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
class BusinessProfile < Stripe::RequestParams
|
71
|
+
class AnnualRevenue < Stripe::RequestParams
|
72
|
+
# A non-negative integer representing the amount in the [smallest currency unit](/currencies#zero-decimal).
|
73
|
+
attr_accessor :amount
|
74
|
+
|
75
|
+
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
76
|
+
attr_accessor :currency
|
77
|
+
|
78
|
+
# The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.
|
79
|
+
attr_accessor :fiscal_year_end
|
80
|
+
|
81
|
+
def initialize(amount: nil, currency: nil, fiscal_year_end: nil)
|
82
|
+
@amount = amount
|
83
|
+
@currency = currency
|
84
|
+
@fiscal_year_end = fiscal_year_end
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
class MonthlyEstimatedRevenue < Stripe::RequestParams
|
89
|
+
# A non-negative integer representing how much to charge in the [smallest currency unit](/currencies#zero-decimal).
|
90
|
+
attr_accessor :amount
|
91
|
+
|
92
|
+
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
93
|
+
attr_accessor :currency
|
94
|
+
|
95
|
+
def initialize(amount: nil, currency: nil)
|
96
|
+
@amount = amount
|
97
|
+
@currency = currency
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
class SupportAddress < Stripe::RequestParams
|
102
|
+
# City, district, suburb, town, or village.
|
103
|
+
attr_accessor :city
|
104
|
+
|
105
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
106
|
+
attr_accessor :country
|
107
|
+
|
108
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
109
|
+
attr_accessor :line1
|
110
|
+
|
111
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
112
|
+
attr_accessor :line2
|
113
|
+
|
114
|
+
# ZIP or postal code.
|
115
|
+
attr_accessor :postal_code
|
116
|
+
|
117
|
+
# State, county, province, or region.
|
118
|
+
attr_accessor :state
|
119
|
+
|
120
|
+
def initialize(
|
121
|
+
city: nil,
|
122
|
+
country: nil,
|
123
|
+
line1: nil,
|
124
|
+
line2: nil,
|
125
|
+
postal_code: nil,
|
126
|
+
state: nil
|
127
|
+
)
|
128
|
+
@city = city
|
129
|
+
@country = country
|
130
|
+
@line1 = line1
|
131
|
+
@line2 = line2
|
132
|
+
@postal_code = postal_code
|
133
|
+
@state = state
|
134
|
+
end
|
135
|
+
end
|
136
|
+
# The applicant's gross annual revenue for its preceding fiscal year.
|
137
|
+
attr_accessor :annual_revenue
|
138
|
+
|
139
|
+
# An estimated upper bound of employees, contractors, vendors, etc. currently working for the business.
|
140
|
+
attr_accessor :estimated_worker_count
|
141
|
+
|
142
|
+
# [The merchant category code for the account](/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
|
143
|
+
attr_accessor :mcc
|
144
|
+
|
145
|
+
# An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.
|
146
|
+
attr_accessor :monthly_estimated_revenue
|
147
|
+
|
148
|
+
# The customer-facing business name.
|
149
|
+
attr_accessor :name
|
150
|
+
|
151
|
+
# Internal-only description of the product sold by, or service provided by, the business. Used by Stripe for risk and underwriting purposes.
|
152
|
+
attr_accessor :product_description
|
153
|
+
|
154
|
+
# A publicly available mailing address for sending support issues to.
|
155
|
+
attr_accessor :support_address
|
156
|
+
|
157
|
+
# A publicly available email address for sending support issues to.
|
158
|
+
attr_accessor :support_email
|
159
|
+
|
160
|
+
# A publicly available phone number to call with support issues.
|
161
|
+
attr_accessor :support_phone
|
162
|
+
|
163
|
+
# A publicly available website for handling support issues.
|
164
|
+
attr_accessor :support_url
|
165
|
+
|
166
|
+
# The business's publicly available website.
|
167
|
+
attr_accessor :url
|
168
|
+
|
169
|
+
def initialize(
|
170
|
+
annual_revenue: nil,
|
171
|
+
estimated_worker_count: nil,
|
172
|
+
mcc: nil,
|
173
|
+
monthly_estimated_revenue: nil,
|
174
|
+
name: nil,
|
175
|
+
product_description: nil,
|
176
|
+
support_address: nil,
|
177
|
+
support_email: nil,
|
178
|
+
support_phone: nil,
|
179
|
+
support_url: nil,
|
180
|
+
url: nil
|
181
|
+
)
|
182
|
+
@annual_revenue = annual_revenue
|
183
|
+
@estimated_worker_count = estimated_worker_count
|
184
|
+
@mcc = mcc
|
185
|
+
@monthly_estimated_revenue = monthly_estimated_revenue
|
186
|
+
@name = name
|
187
|
+
@product_description = product_description
|
188
|
+
@support_address = support_address
|
189
|
+
@support_email = support_email
|
190
|
+
@support_phone = support_phone
|
191
|
+
@support_url = support_url
|
192
|
+
@url = url
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
class Capabilities < Stripe::RequestParams
|
197
|
+
class AcssDebitPayments < Stripe::RequestParams
|
198
|
+
# 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.
|
199
|
+
attr_accessor :requested
|
200
|
+
|
201
|
+
def initialize(requested: nil)
|
202
|
+
@requested = requested
|
203
|
+
end
|
204
|
+
end
|
205
|
+
|
206
|
+
class AffirmPayments < Stripe::RequestParams
|
207
|
+
# 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.
|
208
|
+
attr_accessor :requested
|
209
|
+
|
210
|
+
def initialize(requested: nil)
|
211
|
+
@requested = requested
|
212
|
+
end
|
213
|
+
end
|
214
|
+
|
215
|
+
class AfterpayClearpayPayments < Stripe::RequestParams
|
216
|
+
# 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.
|
217
|
+
attr_accessor :requested
|
218
|
+
|
219
|
+
def initialize(requested: nil)
|
220
|
+
@requested = requested
|
221
|
+
end
|
222
|
+
end
|
223
|
+
|
224
|
+
class AlmaPayments < Stripe::RequestParams
|
225
|
+
# 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.
|
226
|
+
attr_accessor :requested
|
227
|
+
|
228
|
+
def initialize(requested: nil)
|
229
|
+
@requested = requested
|
230
|
+
end
|
231
|
+
end
|
232
|
+
|
233
|
+
class AmazonPayPayments < Stripe::RequestParams
|
234
|
+
# 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.
|
235
|
+
attr_accessor :requested
|
236
|
+
|
237
|
+
def initialize(requested: nil)
|
238
|
+
@requested = requested
|
239
|
+
end
|
240
|
+
end
|
241
|
+
|
242
|
+
class AuBecsDebitPayments < Stripe::RequestParams
|
243
|
+
# 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.
|
244
|
+
attr_accessor :requested
|
245
|
+
|
246
|
+
def initialize(requested: nil)
|
247
|
+
@requested = requested
|
248
|
+
end
|
249
|
+
end
|
250
|
+
|
251
|
+
class AutomaticIndirectTax < Stripe::RequestParams
|
252
|
+
# 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.
|
253
|
+
attr_accessor :requested
|
254
|
+
|
255
|
+
def initialize(requested: nil)
|
256
|
+
@requested = requested
|
257
|
+
end
|
258
|
+
end
|
259
|
+
|
260
|
+
class BacsDebitPayments < Stripe::RequestParams
|
261
|
+
# 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.
|
262
|
+
attr_accessor :requested
|
263
|
+
|
264
|
+
def initialize(requested: nil)
|
265
|
+
@requested = requested
|
266
|
+
end
|
267
|
+
end
|
268
|
+
|
269
|
+
class BancontactPayments < Stripe::RequestParams
|
270
|
+
# 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.
|
271
|
+
attr_accessor :requested
|
272
|
+
|
273
|
+
def initialize(requested: nil)
|
274
|
+
@requested = requested
|
275
|
+
end
|
276
|
+
end
|
277
|
+
|
278
|
+
class BankTransferPayments < Stripe::RequestParams
|
279
|
+
# 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.
|
280
|
+
attr_accessor :requested
|
281
|
+
|
282
|
+
def initialize(requested: nil)
|
283
|
+
@requested = requested
|
284
|
+
end
|
285
|
+
end
|
286
|
+
|
287
|
+
class BlikPayments < Stripe::RequestParams
|
288
|
+
# 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.
|
289
|
+
attr_accessor :requested
|
290
|
+
|
291
|
+
def initialize(requested: nil)
|
292
|
+
@requested = requested
|
293
|
+
end
|
294
|
+
end
|
295
|
+
|
296
|
+
class BoletoPayments < Stripe::RequestParams
|
297
|
+
# 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.
|
298
|
+
attr_accessor :requested
|
299
|
+
|
300
|
+
def initialize(requested: nil)
|
301
|
+
@requested = requested
|
302
|
+
end
|
303
|
+
end
|
304
|
+
|
305
|
+
class CardIssuing < Stripe::RequestParams
|
306
|
+
# 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.
|
307
|
+
attr_accessor :requested
|
308
|
+
|
309
|
+
def initialize(requested: nil)
|
310
|
+
@requested = requested
|
311
|
+
end
|
312
|
+
end
|
313
|
+
|
314
|
+
class CardPayments < Stripe::RequestParams
|
315
|
+
# 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.
|
316
|
+
attr_accessor :requested
|
317
|
+
|
318
|
+
def initialize(requested: nil)
|
319
|
+
@requested = requested
|
320
|
+
end
|
321
|
+
end
|
322
|
+
|
323
|
+
class CartesBancairesPayments < Stripe::RequestParams
|
324
|
+
# 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.
|
325
|
+
attr_accessor :requested
|
326
|
+
|
327
|
+
def initialize(requested: nil)
|
328
|
+
@requested = requested
|
329
|
+
end
|
330
|
+
end
|
331
|
+
|
332
|
+
class CashappPayments < Stripe::RequestParams
|
333
|
+
# 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.
|
334
|
+
attr_accessor :requested
|
335
|
+
|
336
|
+
def initialize(requested: nil)
|
337
|
+
@requested = requested
|
338
|
+
end
|
339
|
+
end
|
340
|
+
|
341
|
+
class EpsPayments < Stripe::RequestParams
|
342
|
+
# 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.
|
343
|
+
attr_accessor :requested
|
344
|
+
|
345
|
+
def initialize(requested: nil)
|
346
|
+
@requested = requested
|
347
|
+
end
|
348
|
+
end
|
349
|
+
|
350
|
+
class FpxPayments < Stripe::RequestParams
|
351
|
+
# 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.
|
352
|
+
attr_accessor :requested
|
353
|
+
|
354
|
+
def initialize(requested: nil)
|
355
|
+
@requested = requested
|
356
|
+
end
|
357
|
+
end
|
358
|
+
|
359
|
+
class GbBankTransferPayments < Stripe::RequestParams
|
360
|
+
# 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.
|
361
|
+
attr_accessor :requested
|
362
|
+
|
363
|
+
def initialize(requested: nil)
|
364
|
+
@requested = requested
|
365
|
+
end
|
366
|
+
end
|
367
|
+
|
368
|
+
class GiropayPayments < Stripe::RequestParams
|
369
|
+
# 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.
|
370
|
+
attr_accessor :requested
|
371
|
+
|
372
|
+
def initialize(requested: nil)
|
373
|
+
@requested = requested
|
374
|
+
end
|
375
|
+
end
|
376
|
+
|
377
|
+
class GopayPayments < Stripe::RequestParams
|
378
|
+
# 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.
|
379
|
+
attr_accessor :requested
|
380
|
+
|
381
|
+
def initialize(requested: nil)
|
382
|
+
@requested = requested
|
383
|
+
end
|
384
|
+
end
|
385
|
+
|
386
|
+
class GrabpayPayments < Stripe::RequestParams
|
387
|
+
# 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.
|
388
|
+
attr_accessor :requested
|
389
|
+
|
390
|
+
def initialize(requested: nil)
|
391
|
+
@requested = requested
|
392
|
+
end
|
393
|
+
end
|
394
|
+
|
395
|
+
class IdBankTransferPayments < Stripe::RequestParams
|
396
|
+
# 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.
|
397
|
+
attr_accessor :requested
|
398
|
+
|
399
|
+
def initialize(requested: nil)
|
400
|
+
@requested = requested
|
401
|
+
end
|
402
|
+
end
|
403
|
+
|
404
|
+
class IdBankTransferPaymentsBca < Stripe::RequestParams
|
405
|
+
# 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.
|
406
|
+
attr_accessor :requested
|
407
|
+
|
408
|
+
def initialize(requested: nil)
|
409
|
+
@requested = requested
|
410
|
+
end
|
411
|
+
end
|
412
|
+
|
413
|
+
class IdealPayments < Stripe::RequestParams
|
414
|
+
# 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.
|
415
|
+
attr_accessor :requested
|
416
|
+
|
417
|
+
def initialize(requested: nil)
|
418
|
+
@requested = requested
|
419
|
+
end
|
420
|
+
end
|
421
|
+
|
422
|
+
class IndiaInternationalPayments < Stripe::RequestParams
|
423
|
+
# 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.
|
424
|
+
attr_accessor :requested
|
425
|
+
|
426
|
+
def initialize(requested: nil)
|
427
|
+
@requested = requested
|
428
|
+
end
|
429
|
+
end
|
430
|
+
|
431
|
+
class JcbPayments < Stripe::RequestParams
|
432
|
+
# 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.
|
433
|
+
attr_accessor :requested
|
434
|
+
|
435
|
+
def initialize(requested: nil)
|
436
|
+
@requested = requested
|
437
|
+
end
|
438
|
+
end
|
439
|
+
|
440
|
+
class JpBankTransferPayments < Stripe::RequestParams
|
441
|
+
# 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.
|
442
|
+
attr_accessor :requested
|
443
|
+
|
444
|
+
def initialize(requested: nil)
|
445
|
+
@requested = requested
|
446
|
+
end
|
447
|
+
end
|
448
|
+
|
449
|
+
class KakaoPayPayments < Stripe::RequestParams
|
450
|
+
# 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.
|
451
|
+
attr_accessor :requested
|
452
|
+
|
453
|
+
def initialize(requested: nil)
|
454
|
+
@requested = requested
|
455
|
+
end
|
456
|
+
end
|
457
|
+
|
458
|
+
class KlarnaPayments < Stripe::RequestParams
|
459
|
+
# 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.
|
460
|
+
attr_accessor :requested
|
461
|
+
|
462
|
+
def initialize(requested: nil)
|
463
|
+
@requested = requested
|
464
|
+
end
|
465
|
+
end
|
466
|
+
|
467
|
+
class KonbiniPayments < Stripe::RequestParams
|
468
|
+
# 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.
|
469
|
+
attr_accessor :requested
|
470
|
+
|
471
|
+
def initialize(requested: nil)
|
472
|
+
@requested = requested
|
473
|
+
end
|
474
|
+
end
|
475
|
+
|
476
|
+
class KrCardPayments < Stripe::RequestParams
|
477
|
+
# 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.
|
478
|
+
attr_accessor :requested
|
479
|
+
|
480
|
+
def initialize(requested: nil)
|
481
|
+
@requested = requested
|
482
|
+
end
|
483
|
+
end
|
484
|
+
|
485
|
+
class LegacyPayments < Stripe::RequestParams
|
486
|
+
# 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.
|
487
|
+
attr_accessor :requested
|
488
|
+
|
489
|
+
def initialize(requested: nil)
|
490
|
+
@requested = requested
|
491
|
+
end
|
492
|
+
end
|
493
|
+
|
494
|
+
class LinkPayments < Stripe::RequestParams
|
495
|
+
# 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.
|
496
|
+
attr_accessor :requested
|
497
|
+
|
498
|
+
def initialize(requested: nil)
|
499
|
+
@requested = requested
|
500
|
+
end
|
501
|
+
end
|
502
|
+
|
503
|
+
class MbWayPayments < Stripe::RequestParams
|
504
|
+
# 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.
|
505
|
+
attr_accessor :requested
|
506
|
+
|
507
|
+
def initialize(requested: nil)
|
508
|
+
@requested = requested
|
509
|
+
end
|
510
|
+
end
|
511
|
+
|
512
|
+
class MobilepayPayments < Stripe::RequestParams
|
513
|
+
# 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.
|
514
|
+
attr_accessor :requested
|
515
|
+
|
516
|
+
def initialize(requested: nil)
|
517
|
+
@requested = requested
|
518
|
+
end
|
519
|
+
end
|
520
|
+
|
521
|
+
class MultibancoPayments < Stripe::RequestParams
|
522
|
+
# 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.
|
523
|
+
attr_accessor :requested
|
524
|
+
|
525
|
+
def initialize(requested: nil)
|
526
|
+
@requested = requested
|
527
|
+
end
|
528
|
+
end
|
529
|
+
|
530
|
+
class MxBankTransferPayments < Stripe::RequestParams
|
531
|
+
# 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.
|
532
|
+
attr_accessor :requested
|
533
|
+
|
534
|
+
def initialize(requested: nil)
|
535
|
+
@requested = requested
|
536
|
+
end
|
537
|
+
end
|
538
|
+
|
539
|
+
class NaverPayPayments < Stripe::RequestParams
|
540
|
+
# 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.
|
541
|
+
attr_accessor :requested
|
542
|
+
|
543
|
+
def initialize(requested: nil)
|
544
|
+
@requested = requested
|
545
|
+
end
|
546
|
+
end
|
547
|
+
|
548
|
+
class OxxoPayments < Stripe::RequestParams
|
549
|
+
# 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.
|
550
|
+
attr_accessor :requested
|
551
|
+
|
552
|
+
def initialize(requested: nil)
|
553
|
+
@requested = requested
|
554
|
+
end
|
555
|
+
end
|
556
|
+
|
557
|
+
class P24Payments < Stripe::RequestParams
|
558
|
+
# 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.
|
559
|
+
attr_accessor :requested
|
560
|
+
|
561
|
+
def initialize(requested: nil)
|
562
|
+
@requested = requested
|
563
|
+
end
|
564
|
+
end
|
565
|
+
|
566
|
+
class PaycoPayments < Stripe::RequestParams
|
567
|
+
# 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.
|
568
|
+
attr_accessor :requested
|
569
|
+
|
570
|
+
def initialize(requested: nil)
|
571
|
+
@requested = requested
|
572
|
+
end
|
573
|
+
end
|
574
|
+
|
575
|
+
class PaynowPayments < Stripe::RequestParams
|
576
|
+
# 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.
|
577
|
+
attr_accessor :requested
|
578
|
+
|
579
|
+
def initialize(requested: nil)
|
580
|
+
@requested = requested
|
581
|
+
end
|
582
|
+
end
|
583
|
+
|
584
|
+
class PaypalPayments < Stripe::RequestParams
|
585
|
+
# 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.
|
586
|
+
attr_accessor :requested
|
587
|
+
|
588
|
+
def initialize(requested: nil)
|
589
|
+
@requested = requested
|
590
|
+
end
|
591
|
+
end
|
592
|
+
|
593
|
+
class PaytoPayments < Stripe::RequestParams
|
594
|
+
# 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.
|
595
|
+
attr_accessor :requested
|
596
|
+
|
597
|
+
def initialize(requested: nil)
|
598
|
+
@requested = requested
|
599
|
+
end
|
600
|
+
end
|
601
|
+
|
602
|
+
class PromptpayPayments < Stripe::RequestParams
|
603
|
+
# 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.
|
604
|
+
attr_accessor :requested
|
605
|
+
|
606
|
+
def initialize(requested: nil)
|
607
|
+
@requested = requested
|
608
|
+
end
|
609
|
+
end
|
610
|
+
|
611
|
+
class QrisPayments < Stripe::RequestParams
|
612
|
+
# 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.
|
613
|
+
attr_accessor :requested
|
614
|
+
|
615
|
+
def initialize(requested: nil)
|
616
|
+
@requested = requested
|
617
|
+
end
|
618
|
+
end
|
619
|
+
|
620
|
+
class RechnungPayments < Stripe::RequestParams
|
621
|
+
# 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.
|
622
|
+
attr_accessor :requested
|
623
|
+
|
624
|
+
def initialize(requested: nil)
|
625
|
+
@requested = requested
|
626
|
+
end
|
627
|
+
end
|
628
|
+
|
629
|
+
class RevolutPayPayments < Stripe::RequestParams
|
630
|
+
# 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.
|
631
|
+
attr_accessor :requested
|
632
|
+
|
633
|
+
def initialize(requested: nil)
|
634
|
+
@requested = requested
|
635
|
+
end
|
636
|
+
end
|
637
|
+
|
638
|
+
class SamsungPayPayments < Stripe::RequestParams
|
639
|
+
# 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.
|
640
|
+
attr_accessor :requested
|
641
|
+
|
642
|
+
def initialize(requested: nil)
|
643
|
+
@requested = requested
|
644
|
+
end
|
645
|
+
end
|
646
|
+
|
647
|
+
class SepaBankTransferPayments < Stripe::RequestParams
|
648
|
+
# 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.
|
649
|
+
attr_accessor :requested
|
650
|
+
|
651
|
+
def initialize(requested: nil)
|
652
|
+
@requested = requested
|
653
|
+
end
|
654
|
+
end
|
655
|
+
|
656
|
+
class SepaDebitPayments < Stripe::RequestParams
|
657
|
+
# 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.
|
658
|
+
attr_accessor :requested
|
659
|
+
|
660
|
+
def initialize(requested: nil)
|
661
|
+
@requested = requested
|
662
|
+
end
|
663
|
+
end
|
664
|
+
|
665
|
+
class ShopeepayPayments < Stripe::RequestParams
|
666
|
+
# 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.
|
667
|
+
attr_accessor :requested
|
668
|
+
|
669
|
+
def initialize(requested: nil)
|
670
|
+
@requested = requested
|
671
|
+
end
|
672
|
+
end
|
673
|
+
|
674
|
+
class SofortPayments < Stripe::RequestParams
|
675
|
+
# 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.
|
676
|
+
attr_accessor :requested
|
677
|
+
|
678
|
+
def initialize(requested: nil)
|
679
|
+
@requested = requested
|
680
|
+
end
|
681
|
+
end
|
682
|
+
|
683
|
+
class SwishPayments < Stripe::RequestParams
|
684
|
+
# 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.
|
685
|
+
attr_accessor :requested
|
686
|
+
|
687
|
+
def initialize(requested: nil)
|
688
|
+
@requested = requested
|
689
|
+
end
|
690
|
+
end
|
691
|
+
|
692
|
+
class TaxReportingUs1099K < Stripe::RequestParams
|
693
|
+
# 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.
|
694
|
+
attr_accessor :requested
|
695
|
+
|
696
|
+
def initialize(requested: nil)
|
697
|
+
@requested = requested
|
698
|
+
end
|
699
|
+
end
|
700
|
+
|
701
|
+
class TaxReportingUs1099Misc < Stripe::RequestParams
|
702
|
+
# 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.
|
703
|
+
attr_accessor :requested
|
704
|
+
|
705
|
+
def initialize(requested: nil)
|
706
|
+
@requested = requested
|
707
|
+
end
|
708
|
+
end
|
709
|
+
|
710
|
+
class Transfers < Stripe::RequestParams
|
711
|
+
# 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.
|
712
|
+
attr_accessor :requested
|
713
|
+
|
714
|
+
def initialize(requested: nil)
|
715
|
+
@requested = requested
|
716
|
+
end
|
717
|
+
end
|
718
|
+
|
719
|
+
class Treasury < Stripe::RequestParams
|
720
|
+
# 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.
|
721
|
+
attr_accessor :requested
|
722
|
+
|
723
|
+
def initialize(requested: nil)
|
724
|
+
@requested = requested
|
725
|
+
end
|
726
|
+
end
|
727
|
+
|
728
|
+
class TreasuryEvolve < Stripe::RequestParams
|
729
|
+
# 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.
|
730
|
+
attr_accessor :requested
|
731
|
+
|
732
|
+
def initialize(requested: nil)
|
733
|
+
@requested = requested
|
734
|
+
end
|
735
|
+
end
|
736
|
+
|
737
|
+
class TreasuryFifthThird < Stripe::RequestParams
|
738
|
+
# 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.
|
739
|
+
attr_accessor :requested
|
740
|
+
|
741
|
+
def initialize(requested: nil)
|
742
|
+
@requested = requested
|
743
|
+
end
|
744
|
+
end
|
745
|
+
|
746
|
+
class TreasuryGoldmanSachs < Stripe::RequestParams
|
747
|
+
# 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.
|
748
|
+
attr_accessor :requested
|
749
|
+
|
750
|
+
def initialize(requested: nil)
|
751
|
+
@requested = requested
|
752
|
+
end
|
753
|
+
end
|
754
|
+
|
755
|
+
class TwintPayments < Stripe::RequestParams
|
756
|
+
# 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.
|
757
|
+
attr_accessor :requested
|
758
|
+
|
759
|
+
def initialize(requested: nil)
|
760
|
+
@requested = requested
|
761
|
+
end
|
762
|
+
end
|
763
|
+
|
764
|
+
class UsBankAccountAchPayments < Stripe::RequestParams
|
765
|
+
# 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.
|
766
|
+
attr_accessor :requested
|
767
|
+
|
768
|
+
def initialize(requested: nil)
|
769
|
+
@requested = requested
|
770
|
+
end
|
771
|
+
end
|
772
|
+
|
773
|
+
class UsBankTransferPayments < Stripe::RequestParams
|
774
|
+
# 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.
|
775
|
+
attr_accessor :requested
|
776
|
+
|
777
|
+
def initialize(requested: nil)
|
778
|
+
@requested = requested
|
779
|
+
end
|
780
|
+
end
|
781
|
+
|
782
|
+
class ZipPayments < Stripe::RequestParams
|
783
|
+
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
784
|
+
attr_accessor :requested
|
785
|
+
|
786
|
+
def initialize(requested: nil)
|
787
|
+
@requested = requested
|
788
|
+
end
|
789
|
+
end
|
790
|
+
# The acss_debit_payments capability.
|
791
|
+
attr_accessor :acss_debit_payments
|
792
|
+
|
793
|
+
# The affirm_payments capability.
|
794
|
+
attr_accessor :affirm_payments
|
795
|
+
|
796
|
+
# The afterpay_clearpay_payments capability.
|
797
|
+
attr_accessor :afterpay_clearpay_payments
|
798
|
+
|
799
|
+
# The alma_payments capability.
|
800
|
+
attr_accessor :alma_payments
|
801
|
+
|
802
|
+
# The amazon_pay_payments capability.
|
803
|
+
attr_accessor :amazon_pay_payments
|
804
|
+
|
805
|
+
# The au_becs_debit_payments capability.
|
806
|
+
attr_accessor :au_becs_debit_payments
|
807
|
+
|
808
|
+
# The automatic_indirect_tax capability.
|
809
|
+
attr_accessor :automatic_indirect_tax
|
810
|
+
|
811
|
+
# The bacs_debit_payments capability.
|
812
|
+
attr_accessor :bacs_debit_payments
|
813
|
+
|
814
|
+
# The bancontact_payments capability.
|
815
|
+
attr_accessor :bancontact_payments
|
816
|
+
|
817
|
+
# The bank_transfer_payments capability.
|
818
|
+
attr_accessor :bank_transfer_payments
|
819
|
+
|
820
|
+
# The blik_payments capability.
|
821
|
+
attr_accessor :blik_payments
|
822
|
+
|
823
|
+
# The boleto_payments capability.
|
824
|
+
attr_accessor :boleto_payments
|
825
|
+
|
826
|
+
# The card_issuing capability.
|
827
|
+
attr_accessor :card_issuing
|
828
|
+
|
829
|
+
# The card_payments capability.
|
830
|
+
attr_accessor :card_payments
|
831
|
+
|
832
|
+
# The cartes_bancaires_payments capability.
|
833
|
+
attr_accessor :cartes_bancaires_payments
|
834
|
+
|
835
|
+
# The cashapp_payments capability.
|
836
|
+
attr_accessor :cashapp_payments
|
837
|
+
|
838
|
+
# The eps_payments capability.
|
839
|
+
attr_accessor :eps_payments
|
840
|
+
|
841
|
+
# The fpx_payments capability.
|
842
|
+
attr_accessor :fpx_payments
|
843
|
+
|
844
|
+
# The gb_bank_transfer_payments capability.
|
845
|
+
attr_accessor :gb_bank_transfer_payments
|
846
|
+
|
847
|
+
# The giropay_payments capability.
|
848
|
+
attr_accessor :giropay_payments
|
849
|
+
|
850
|
+
# The gopay_payments capability.
|
851
|
+
attr_accessor :gopay_payments
|
852
|
+
|
853
|
+
# The grabpay_payments capability.
|
854
|
+
attr_accessor :grabpay_payments
|
855
|
+
|
856
|
+
# The id_bank_transfer_payments capability.
|
857
|
+
attr_accessor :id_bank_transfer_payments
|
858
|
+
|
859
|
+
# The id_bank_transfer_payments_bca capability.
|
860
|
+
attr_accessor :id_bank_transfer_payments_bca
|
861
|
+
|
862
|
+
# The ideal_payments capability.
|
863
|
+
attr_accessor :ideal_payments
|
864
|
+
|
865
|
+
# The india_international_payments capability.
|
866
|
+
attr_accessor :india_international_payments
|
867
|
+
|
868
|
+
# The jcb_payments capability.
|
869
|
+
attr_accessor :jcb_payments
|
870
|
+
|
871
|
+
# The jp_bank_transfer_payments capability.
|
872
|
+
attr_accessor :jp_bank_transfer_payments
|
873
|
+
|
874
|
+
# The kakao_pay_payments capability.
|
875
|
+
attr_accessor :kakao_pay_payments
|
876
|
+
|
877
|
+
# The klarna_payments capability.
|
878
|
+
attr_accessor :klarna_payments
|
879
|
+
|
880
|
+
# The konbini_payments capability.
|
881
|
+
attr_accessor :konbini_payments
|
882
|
+
|
883
|
+
# The kr_card_payments capability.
|
884
|
+
attr_accessor :kr_card_payments
|
885
|
+
|
886
|
+
# The legacy_payments capability.
|
887
|
+
attr_accessor :legacy_payments
|
888
|
+
|
889
|
+
# The link_payments capability.
|
890
|
+
attr_accessor :link_payments
|
891
|
+
|
892
|
+
# The mb_way_payments capability.
|
893
|
+
attr_accessor :mb_way_payments
|
894
|
+
|
895
|
+
# The mobilepay_payments capability.
|
896
|
+
attr_accessor :mobilepay_payments
|
897
|
+
|
898
|
+
# The multibanco_payments capability.
|
899
|
+
attr_accessor :multibanco_payments
|
900
|
+
|
901
|
+
# The mx_bank_transfer_payments capability.
|
902
|
+
attr_accessor :mx_bank_transfer_payments
|
903
|
+
|
904
|
+
# The naver_pay_payments capability.
|
905
|
+
attr_accessor :naver_pay_payments
|
906
|
+
|
907
|
+
# The oxxo_payments capability.
|
908
|
+
attr_accessor :oxxo_payments
|
909
|
+
|
910
|
+
# The p24_payments capability.
|
911
|
+
attr_accessor :p24_payments
|
912
|
+
|
913
|
+
# The payco_payments capability.
|
914
|
+
attr_accessor :payco_payments
|
915
|
+
|
916
|
+
# The paynow_payments capability.
|
917
|
+
attr_accessor :paynow_payments
|
918
|
+
|
919
|
+
# The paypal_payments capability.
|
920
|
+
attr_accessor :paypal_payments
|
921
|
+
|
922
|
+
# The payto_payments capability.
|
923
|
+
attr_accessor :payto_payments
|
924
|
+
|
925
|
+
# The promptpay_payments capability.
|
926
|
+
attr_accessor :promptpay_payments
|
927
|
+
|
928
|
+
# The qris_payments capability.
|
929
|
+
attr_accessor :qris_payments
|
930
|
+
|
931
|
+
# The rechnung_payments capability.
|
932
|
+
attr_accessor :rechnung_payments
|
933
|
+
|
934
|
+
# The revolut_pay_payments capability.
|
935
|
+
attr_accessor :revolut_pay_payments
|
936
|
+
|
937
|
+
# The samsung_pay_payments capability.
|
938
|
+
attr_accessor :samsung_pay_payments
|
939
|
+
|
940
|
+
# The sepa_bank_transfer_payments capability.
|
941
|
+
attr_accessor :sepa_bank_transfer_payments
|
942
|
+
|
943
|
+
# The sepa_debit_payments capability.
|
944
|
+
attr_accessor :sepa_debit_payments
|
945
|
+
|
946
|
+
# The shopeepay_payments capability.
|
947
|
+
attr_accessor :shopeepay_payments
|
948
|
+
|
949
|
+
# The sofort_payments capability.
|
950
|
+
attr_accessor :sofort_payments
|
951
|
+
|
952
|
+
# The swish_payments capability.
|
953
|
+
attr_accessor :swish_payments
|
954
|
+
|
955
|
+
# The tax_reporting_us_1099_k capability.
|
956
|
+
attr_accessor :tax_reporting_us_1099_k
|
957
|
+
|
958
|
+
# The tax_reporting_us_1099_misc capability.
|
959
|
+
attr_accessor :tax_reporting_us_1099_misc
|
960
|
+
|
961
|
+
# The transfers capability.
|
962
|
+
attr_accessor :transfers
|
963
|
+
|
964
|
+
# The treasury capability.
|
965
|
+
attr_accessor :treasury
|
966
|
+
|
967
|
+
# The treasury_evolve capability.
|
968
|
+
attr_accessor :treasury_evolve
|
969
|
+
|
970
|
+
# The treasury_fifth_third capability.
|
971
|
+
attr_accessor :treasury_fifth_third
|
972
|
+
|
973
|
+
# The treasury_goldman_sachs capability.
|
974
|
+
attr_accessor :treasury_goldman_sachs
|
975
|
+
|
976
|
+
# The twint_payments capability.
|
977
|
+
attr_accessor :twint_payments
|
978
|
+
|
979
|
+
# The us_bank_account_ach_payments capability.
|
980
|
+
attr_accessor :us_bank_account_ach_payments
|
981
|
+
|
982
|
+
# The us_bank_transfer_payments capability.
|
983
|
+
attr_accessor :us_bank_transfer_payments
|
984
|
+
|
985
|
+
# The zip_payments capability.
|
986
|
+
attr_accessor :zip_payments
|
987
|
+
|
988
|
+
def initialize(
|
989
|
+
acss_debit_payments: nil,
|
990
|
+
affirm_payments: nil,
|
991
|
+
afterpay_clearpay_payments: nil,
|
992
|
+
alma_payments: nil,
|
993
|
+
amazon_pay_payments: nil,
|
994
|
+
au_becs_debit_payments: nil,
|
995
|
+
automatic_indirect_tax: nil,
|
996
|
+
bacs_debit_payments: nil,
|
997
|
+
bancontact_payments: nil,
|
998
|
+
bank_transfer_payments: nil,
|
999
|
+
blik_payments: nil,
|
1000
|
+
boleto_payments: nil,
|
1001
|
+
card_issuing: nil,
|
1002
|
+
card_payments: nil,
|
1003
|
+
cartes_bancaires_payments: nil,
|
1004
|
+
cashapp_payments: nil,
|
1005
|
+
eps_payments: nil,
|
1006
|
+
fpx_payments: nil,
|
1007
|
+
gb_bank_transfer_payments: nil,
|
1008
|
+
giropay_payments: nil,
|
1009
|
+
gopay_payments: nil,
|
1010
|
+
grabpay_payments: nil,
|
1011
|
+
id_bank_transfer_payments: nil,
|
1012
|
+
id_bank_transfer_payments_bca: nil,
|
1013
|
+
ideal_payments: nil,
|
1014
|
+
india_international_payments: nil,
|
1015
|
+
jcb_payments: nil,
|
1016
|
+
jp_bank_transfer_payments: nil,
|
1017
|
+
kakao_pay_payments: nil,
|
1018
|
+
klarna_payments: nil,
|
1019
|
+
konbini_payments: nil,
|
1020
|
+
kr_card_payments: nil,
|
1021
|
+
legacy_payments: nil,
|
1022
|
+
link_payments: nil,
|
1023
|
+
mb_way_payments: nil,
|
1024
|
+
mobilepay_payments: nil,
|
1025
|
+
multibanco_payments: nil,
|
1026
|
+
mx_bank_transfer_payments: nil,
|
1027
|
+
naver_pay_payments: nil,
|
1028
|
+
oxxo_payments: nil,
|
1029
|
+
p24_payments: nil,
|
1030
|
+
payco_payments: nil,
|
1031
|
+
paynow_payments: nil,
|
1032
|
+
paypal_payments: nil,
|
1033
|
+
payto_payments: nil,
|
1034
|
+
promptpay_payments: nil,
|
1035
|
+
qris_payments: nil,
|
1036
|
+
rechnung_payments: nil,
|
1037
|
+
revolut_pay_payments: nil,
|
1038
|
+
samsung_pay_payments: nil,
|
1039
|
+
sepa_bank_transfer_payments: nil,
|
1040
|
+
sepa_debit_payments: nil,
|
1041
|
+
shopeepay_payments: nil,
|
1042
|
+
sofort_payments: nil,
|
1043
|
+
swish_payments: nil,
|
1044
|
+
tax_reporting_us_1099_k: nil,
|
1045
|
+
tax_reporting_us_1099_misc: nil,
|
1046
|
+
transfers: nil,
|
1047
|
+
treasury: nil,
|
1048
|
+
treasury_evolve: nil,
|
1049
|
+
treasury_fifth_third: nil,
|
1050
|
+
treasury_goldman_sachs: nil,
|
1051
|
+
twint_payments: nil,
|
1052
|
+
us_bank_account_ach_payments: nil,
|
1053
|
+
us_bank_transfer_payments: nil,
|
1054
|
+
zip_payments: nil
|
1055
|
+
)
|
1056
|
+
@acss_debit_payments = acss_debit_payments
|
1057
|
+
@affirm_payments = affirm_payments
|
1058
|
+
@afterpay_clearpay_payments = afterpay_clearpay_payments
|
1059
|
+
@alma_payments = alma_payments
|
1060
|
+
@amazon_pay_payments = amazon_pay_payments
|
1061
|
+
@au_becs_debit_payments = au_becs_debit_payments
|
1062
|
+
@automatic_indirect_tax = automatic_indirect_tax
|
1063
|
+
@bacs_debit_payments = bacs_debit_payments
|
1064
|
+
@bancontact_payments = bancontact_payments
|
1065
|
+
@bank_transfer_payments = bank_transfer_payments
|
1066
|
+
@blik_payments = blik_payments
|
1067
|
+
@boleto_payments = boleto_payments
|
1068
|
+
@card_issuing = card_issuing
|
1069
|
+
@card_payments = card_payments
|
1070
|
+
@cartes_bancaires_payments = cartes_bancaires_payments
|
1071
|
+
@cashapp_payments = cashapp_payments
|
1072
|
+
@eps_payments = eps_payments
|
1073
|
+
@fpx_payments = fpx_payments
|
1074
|
+
@gb_bank_transfer_payments = gb_bank_transfer_payments
|
1075
|
+
@giropay_payments = giropay_payments
|
1076
|
+
@gopay_payments = gopay_payments
|
1077
|
+
@grabpay_payments = grabpay_payments
|
1078
|
+
@id_bank_transfer_payments = id_bank_transfer_payments
|
1079
|
+
@id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
|
1080
|
+
@ideal_payments = ideal_payments
|
1081
|
+
@india_international_payments = india_international_payments
|
1082
|
+
@jcb_payments = jcb_payments
|
1083
|
+
@jp_bank_transfer_payments = jp_bank_transfer_payments
|
1084
|
+
@kakao_pay_payments = kakao_pay_payments
|
1085
|
+
@klarna_payments = klarna_payments
|
1086
|
+
@konbini_payments = konbini_payments
|
1087
|
+
@kr_card_payments = kr_card_payments
|
1088
|
+
@legacy_payments = legacy_payments
|
1089
|
+
@link_payments = link_payments
|
1090
|
+
@mb_way_payments = mb_way_payments
|
1091
|
+
@mobilepay_payments = mobilepay_payments
|
1092
|
+
@multibanco_payments = multibanco_payments
|
1093
|
+
@mx_bank_transfer_payments = mx_bank_transfer_payments
|
1094
|
+
@naver_pay_payments = naver_pay_payments
|
1095
|
+
@oxxo_payments = oxxo_payments
|
1096
|
+
@p24_payments = p24_payments
|
1097
|
+
@payco_payments = payco_payments
|
1098
|
+
@paynow_payments = paynow_payments
|
1099
|
+
@paypal_payments = paypal_payments
|
1100
|
+
@payto_payments = payto_payments
|
1101
|
+
@promptpay_payments = promptpay_payments
|
1102
|
+
@qris_payments = qris_payments
|
1103
|
+
@rechnung_payments = rechnung_payments
|
1104
|
+
@revolut_pay_payments = revolut_pay_payments
|
1105
|
+
@samsung_pay_payments = samsung_pay_payments
|
1106
|
+
@sepa_bank_transfer_payments = sepa_bank_transfer_payments
|
1107
|
+
@sepa_debit_payments = sepa_debit_payments
|
1108
|
+
@shopeepay_payments = shopeepay_payments
|
1109
|
+
@sofort_payments = sofort_payments
|
1110
|
+
@swish_payments = swish_payments
|
1111
|
+
@tax_reporting_us_1099_k = tax_reporting_us_1099_k
|
1112
|
+
@tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
|
1113
|
+
@transfers = transfers
|
1114
|
+
@treasury = treasury
|
1115
|
+
@treasury_evolve = treasury_evolve
|
1116
|
+
@treasury_fifth_third = treasury_fifth_third
|
1117
|
+
@treasury_goldman_sachs = treasury_goldman_sachs
|
1118
|
+
@twint_payments = twint_payments
|
1119
|
+
@us_bank_account_ach_payments = us_bank_account_ach_payments
|
1120
|
+
@us_bank_transfer_payments = us_bank_transfer_payments
|
1121
|
+
@zip_payments = zip_payments
|
1122
|
+
end
|
1123
|
+
end
|
1124
|
+
|
1125
|
+
class Card < Stripe::RequestParams
|
1126
|
+
# Attribute for param field object
|
1127
|
+
attr_accessor :object
|
1128
|
+
|
1129
|
+
# Attribute for param field address_city
|
1130
|
+
attr_accessor :address_city
|
1131
|
+
|
1132
|
+
# Attribute for param field address_country
|
1133
|
+
attr_accessor :address_country
|
1134
|
+
|
1135
|
+
# Attribute for param field address_line1
|
1136
|
+
attr_accessor :address_line1
|
1137
|
+
|
1138
|
+
# Attribute for param field address_line2
|
1139
|
+
attr_accessor :address_line2
|
1140
|
+
|
1141
|
+
# Attribute for param field address_state
|
1142
|
+
attr_accessor :address_state
|
1143
|
+
|
1144
|
+
# Attribute for param field address_zip
|
1145
|
+
attr_accessor :address_zip
|
1146
|
+
|
1147
|
+
# Attribute for param field currency
|
1148
|
+
attr_accessor :currency
|
1149
|
+
|
1150
|
+
# Attribute for param field cvc
|
1151
|
+
attr_accessor :cvc
|
1152
|
+
|
1153
|
+
# Attribute for param field exp_month
|
1154
|
+
attr_accessor :exp_month
|
1155
|
+
|
1156
|
+
# Attribute for param field exp_year
|
1157
|
+
attr_accessor :exp_year
|
1158
|
+
|
1159
|
+
# Attribute for param field name
|
1160
|
+
attr_accessor :name
|
1161
|
+
|
1162
|
+
# Attribute for param field number
|
1163
|
+
attr_accessor :number
|
1164
|
+
|
1165
|
+
# 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.
|
1166
|
+
attr_accessor :metadata
|
1167
|
+
|
1168
|
+
# Attribute for param field default_for_currency
|
1169
|
+
attr_accessor :default_for_currency
|
1170
|
+
|
1171
|
+
def initialize(
|
1172
|
+
object: nil,
|
1173
|
+
address_city: nil,
|
1174
|
+
address_country: nil,
|
1175
|
+
address_line1: nil,
|
1176
|
+
address_line2: nil,
|
1177
|
+
address_state: nil,
|
1178
|
+
address_zip: nil,
|
1179
|
+
currency: nil,
|
1180
|
+
cvc: nil,
|
1181
|
+
exp_month: nil,
|
1182
|
+
exp_year: nil,
|
1183
|
+
name: nil,
|
1184
|
+
number: nil,
|
1185
|
+
metadata: nil,
|
1186
|
+
default_for_currency: nil
|
1187
|
+
)
|
1188
|
+
@object = object
|
1189
|
+
@address_city = address_city
|
1190
|
+
@address_country = address_country
|
1191
|
+
@address_line1 = address_line1
|
1192
|
+
@address_line2 = address_line2
|
1193
|
+
@address_state = address_state
|
1194
|
+
@address_zip = address_zip
|
1195
|
+
@currency = currency
|
1196
|
+
@cvc = cvc
|
1197
|
+
@exp_month = exp_month
|
1198
|
+
@exp_year = exp_year
|
1199
|
+
@name = name
|
1200
|
+
@number = number
|
1201
|
+
@metadata = metadata
|
1202
|
+
@default_for_currency = default_for_currency
|
1203
|
+
end
|
1204
|
+
end
|
1205
|
+
|
1206
|
+
class CardToken < Stripe::RequestParams
|
1207
|
+
# Attribute for param field object
|
1208
|
+
attr_accessor :object
|
1209
|
+
|
1210
|
+
# Attribute for param field currency
|
1211
|
+
attr_accessor :currency
|
1212
|
+
|
1213
|
+
# Attribute for param field token
|
1214
|
+
attr_accessor :token
|
1215
|
+
|
1216
|
+
def initialize(object: nil, currency: nil, token: nil)
|
1217
|
+
@object = object
|
1218
|
+
@currency = currency
|
1219
|
+
@token = token
|
1220
|
+
end
|
1221
|
+
end
|
1222
|
+
|
1223
|
+
class Company < Stripe::RequestParams
|
1224
|
+
class Address < Stripe::RequestParams
|
1225
|
+
# City, district, suburb, town, or village.
|
1226
|
+
attr_accessor :city
|
1227
|
+
|
1228
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1229
|
+
attr_accessor :country
|
1230
|
+
|
1231
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
1232
|
+
attr_accessor :line1
|
1233
|
+
|
1234
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1235
|
+
attr_accessor :line2
|
1236
|
+
|
1237
|
+
# ZIP or postal code.
|
1238
|
+
attr_accessor :postal_code
|
1239
|
+
|
1240
|
+
# State, county, province, or region.
|
1241
|
+
attr_accessor :state
|
1242
|
+
|
1243
|
+
def initialize(
|
1244
|
+
city: nil,
|
1245
|
+
country: nil,
|
1246
|
+
line1: nil,
|
1247
|
+
line2: nil,
|
1248
|
+
postal_code: nil,
|
1249
|
+
state: nil
|
1250
|
+
)
|
1251
|
+
@city = city
|
1252
|
+
@country = country
|
1253
|
+
@line1 = line1
|
1254
|
+
@line2 = line2
|
1255
|
+
@postal_code = postal_code
|
1256
|
+
@state = state
|
1257
|
+
end
|
1258
|
+
end
|
1259
|
+
|
1260
|
+
class AddressKana < Stripe::RequestParams
|
1261
|
+
# City or ward.
|
1262
|
+
attr_accessor :city
|
1263
|
+
|
1264
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1265
|
+
attr_accessor :country
|
1266
|
+
|
1267
|
+
# Block or building number.
|
1268
|
+
attr_accessor :line1
|
1269
|
+
|
1270
|
+
# Building details.
|
1271
|
+
attr_accessor :line2
|
1272
|
+
|
1273
|
+
# Postal code.
|
1274
|
+
attr_accessor :postal_code
|
1275
|
+
|
1276
|
+
# Prefecture.
|
1277
|
+
attr_accessor :state
|
1278
|
+
|
1279
|
+
# Town or cho-me.
|
1280
|
+
attr_accessor :town
|
1281
|
+
|
1282
|
+
def initialize(
|
1283
|
+
city: nil,
|
1284
|
+
country: nil,
|
1285
|
+
line1: nil,
|
1286
|
+
line2: nil,
|
1287
|
+
postal_code: nil,
|
1288
|
+
state: nil,
|
1289
|
+
town: nil
|
1290
|
+
)
|
1291
|
+
@city = city
|
1292
|
+
@country = country
|
1293
|
+
@line1 = line1
|
1294
|
+
@line2 = line2
|
1295
|
+
@postal_code = postal_code
|
1296
|
+
@state = state
|
1297
|
+
@town = town
|
1298
|
+
end
|
1299
|
+
end
|
1300
|
+
|
1301
|
+
class AddressKanji < Stripe::RequestParams
|
1302
|
+
# City or ward.
|
1303
|
+
attr_accessor :city
|
1304
|
+
|
1305
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1306
|
+
attr_accessor :country
|
1307
|
+
|
1308
|
+
# Block or building number.
|
1309
|
+
attr_accessor :line1
|
1310
|
+
|
1311
|
+
# Building details.
|
1312
|
+
attr_accessor :line2
|
1313
|
+
|
1314
|
+
# Postal code.
|
1315
|
+
attr_accessor :postal_code
|
1316
|
+
|
1317
|
+
# Prefecture.
|
1318
|
+
attr_accessor :state
|
1319
|
+
|
1320
|
+
# Town or cho-me.
|
1321
|
+
attr_accessor :town
|
1322
|
+
|
1323
|
+
def initialize(
|
1324
|
+
city: nil,
|
1325
|
+
country: nil,
|
1326
|
+
line1: nil,
|
1327
|
+
line2: nil,
|
1328
|
+
postal_code: nil,
|
1329
|
+
state: nil,
|
1330
|
+
town: nil
|
1331
|
+
)
|
1332
|
+
@city = city
|
1333
|
+
@country = country
|
1334
|
+
@line1 = line1
|
1335
|
+
@line2 = line2
|
1336
|
+
@postal_code = postal_code
|
1337
|
+
@state = state
|
1338
|
+
@town = town
|
1339
|
+
end
|
1340
|
+
end
|
1341
|
+
|
1342
|
+
class OwnershipDeclaration < Stripe::RequestParams
|
1343
|
+
# The Unix timestamp marking when the beneficial owner attestation was made.
|
1344
|
+
attr_accessor :date
|
1345
|
+
|
1346
|
+
# The IP address from which the beneficial owner attestation was made.
|
1347
|
+
attr_accessor :ip
|
1348
|
+
|
1349
|
+
# The user agent of the browser from which the beneficial owner attestation was made.
|
1350
|
+
attr_accessor :user_agent
|
1351
|
+
|
1352
|
+
def initialize(date: nil, ip: nil, user_agent: nil)
|
1353
|
+
@date = date
|
1354
|
+
@ip = ip
|
1355
|
+
@user_agent = user_agent
|
1356
|
+
end
|
1357
|
+
end
|
1358
|
+
|
1359
|
+
class Verification < Stripe::RequestParams
|
1360
|
+
class Document < Stripe::RequestParams
|
1361
|
+
# The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
1362
|
+
attr_accessor :back
|
1363
|
+
|
1364
|
+
# The front of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
1365
|
+
attr_accessor :front
|
1366
|
+
|
1367
|
+
def initialize(back: nil, front: nil)
|
1368
|
+
@back = back
|
1369
|
+
@front = front
|
1370
|
+
end
|
1371
|
+
end
|
1372
|
+
# A document verifying the business.
|
1373
|
+
attr_accessor :document
|
1374
|
+
|
1375
|
+
def initialize(document: nil)
|
1376
|
+
@document = document
|
1377
|
+
end
|
1378
|
+
end
|
1379
|
+
# The company's primary address.
|
1380
|
+
attr_accessor :address
|
1381
|
+
|
1382
|
+
# The Kana variation of the company's primary address (Japan only).
|
1383
|
+
attr_accessor :address_kana
|
1384
|
+
|
1385
|
+
# The Kanji variation of the company's primary address (Japan only).
|
1386
|
+
attr_accessor :address_kanji
|
1387
|
+
|
1388
|
+
# Whether the company's directors have been provided. Set this Boolean to `true` after creating all the company's directors with [the Persons API](/api/persons) for accounts with a `relationship.director` requirement. This value is not automatically set to `true` after creating directors, so it needs to be updated to indicate all directors have been provided.
|
1389
|
+
attr_accessor :directors_provided
|
1390
|
+
|
1391
|
+
# Whether the company's executives have been provided. Set this Boolean to `true` after creating all the company's executives with [the Persons API](/api/persons) for accounts with a `relationship.executive` requirement.
|
1392
|
+
attr_accessor :executives_provided
|
1393
|
+
|
1394
|
+
# The export license ID number of the company, also referred as Import Export Code (India only).
|
1395
|
+
attr_accessor :export_license_id
|
1396
|
+
|
1397
|
+
# The purpose code to use for export transactions (India only).
|
1398
|
+
attr_accessor :export_purpose_code
|
1399
|
+
|
1400
|
+
# The company's legal name.
|
1401
|
+
attr_accessor :name
|
1402
|
+
|
1403
|
+
# The Kana variation of the company's legal name (Japan only).
|
1404
|
+
attr_accessor :name_kana
|
1405
|
+
|
1406
|
+
# The Kanji variation of the company's legal name (Japan only).
|
1407
|
+
attr_accessor :name_kanji
|
1408
|
+
|
1409
|
+
# Whether the company's owners have been provided. Set this Boolean to `true` after creating all the company's owners with [the Persons API](/api/persons) for accounts with a `relationship.owner` requirement.
|
1410
|
+
attr_accessor :owners_provided
|
1411
|
+
|
1412
|
+
# This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.
|
1413
|
+
attr_accessor :ownership_declaration
|
1414
|
+
|
1415
|
+
# The company's phone number (used for verification).
|
1416
|
+
attr_accessor :phone
|
1417
|
+
|
1418
|
+
# The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes. (Examples are the CIN for companies and LLP IN for partnerships in India, and the Company Registration Number in Hong Kong).
|
1419
|
+
attr_accessor :registration_number
|
1420
|
+
|
1421
|
+
# The category identifying the legal structure of the company or legal entity. See [Business structure](/connect/identity-verification#business-structure) for more details. Pass an empty string to unset this value.
|
1422
|
+
attr_accessor :structure
|
1423
|
+
|
1424
|
+
# The business ID number of the company, as appropriate for the company’s country. (Examples are an Employer ID Number in the U.S., a Business Number in Canada, or a Company Number in the UK.)
|
1425
|
+
attr_accessor :tax_id
|
1426
|
+
|
1427
|
+
# The jurisdiction in which the `tax_id` is registered (Germany-based companies only).
|
1428
|
+
attr_accessor :tax_id_registrar
|
1429
|
+
|
1430
|
+
# The VAT number of the company.
|
1431
|
+
attr_accessor :vat_id
|
1432
|
+
|
1433
|
+
# Information on the verification state of the company.
|
1434
|
+
attr_accessor :verification
|
1435
|
+
|
1436
|
+
def initialize(
|
1437
|
+
address: nil,
|
1438
|
+
address_kana: nil,
|
1439
|
+
address_kanji: nil,
|
1440
|
+
directors_provided: nil,
|
1441
|
+
executives_provided: nil,
|
1442
|
+
export_license_id: nil,
|
1443
|
+
export_purpose_code: nil,
|
1444
|
+
name: nil,
|
1445
|
+
name_kana: nil,
|
1446
|
+
name_kanji: nil,
|
1447
|
+
owners_provided: nil,
|
1448
|
+
ownership_declaration: nil,
|
1449
|
+
phone: nil,
|
1450
|
+
registration_number: nil,
|
1451
|
+
structure: nil,
|
1452
|
+
tax_id: nil,
|
1453
|
+
tax_id_registrar: nil,
|
1454
|
+
vat_id: nil,
|
1455
|
+
verification: nil
|
1456
|
+
)
|
1457
|
+
@address = address
|
1458
|
+
@address_kana = address_kana
|
1459
|
+
@address_kanji = address_kanji
|
1460
|
+
@directors_provided = directors_provided
|
1461
|
+
@executives_provided = executives_provided
|
1462
|
+
@export_license_id = export_license_id
|
1463
|
+
@export_purpose_code = export_purpose_code
|
1464
|
+
@name = name
|
1465
|
+
@name_kana = name_kana
|
1466
|
+
@name_kanji = name_kanji
|
1467
|
+
@owners_provided = owners_provided
|
1468
|
+
@ownership_declaration = ownership_declaration
|
1469
|
+
@phone = phone
|
1470
|
+
@registration_number = registration_number
|
1471
|
+
@structure = structure
|
1472
|
+
@tax_id = tax_id
|
1473
|
+
@tax_id_registrar = tax_id_registrar
|
1474
|
+
@vat_id = vat_id
|
1475
|
+
@verification = verification
|
1476
|
+
end
|
1477
|
+
end
|
1478
|
+
|
1479
|
+
class Documents < Stripe::RequestParams
|
1480
|
+
class BankAccountOwnershipVerification < Stripe::RequestParams
|
1481
|
+
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
1482
|
+
attr_accessor :files
|
1483
|
+
|
1484
|
+
def initialize(files: nil)
|
1485
|
+
@files = files
|
1486
|
+
end
|
1487
|
+
end
|
1488
|
+
|
1489
|
+
class CompanyLicense < Stripe::RequestParams
|
1490
|
+
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
1491
|
+
attr_accessor :files
|
1492
|
+
|
1493
|
+
def initialize(files: nil)
|
1494
|
+
@files = files
|
1495
|
+
end
|
1496
|
+
end
|
1497
|
+
|
1498
|
+
class CompanyMemorandumOfAssociation < Stripe::RequestParams
|
1499
|
+
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
1500
|
+
attr_accessor :files
|
1501
|
+
|
1502
|
+
def initialize(files: nil)
|
1503
|
+
@files = files
|
1504
|
+
end
|
1505
|
+
end
|
1506
|
+
|
1507
|
+
class CompanyMinisterialDecree < Stripe::RequestParams
|
1508
|
+
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
1509
|
+
attr_accessor :files
|
1510
|
+
|
1511
|
+
def initialize(files: nil)
|
1512
|
+
@files = files
|
1513
|
+
end
|
1514
|
+
end
|
1515
|
+
|
1516
|
+
class CompanyRegistrationVerification < Stripe::RequestParams
|
1517
|
+
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
1518
|
+
attr_accessor :files
|
1519
|
+
|
1520
|
+
def initialize(files: nil)
|
1521
|
+
@files = files
|
1522
|
+
end
|
1523
|
+
end
|
1524
|
+
|
1525
|
+
class CompanyTaxIdVerification < Stripe::RequestParams
|
1526
|
+
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
1527
|
+
attr_accessor :files
|
1528
|
+
|
1529
|
+
def initialize(files: nil)
|
1530
|
+
@files = files
|
1531
|
+
end
|
1532
|
+
end
|
1533
|
+
|
1534
|
+
class ProofOfRegistration < Stripe::RequestParams
|
1535
|
+
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
1536
|
+
attr_accessor :files
|
1537
|
+
|
1538
|
+
def initialize(files: nil)
|
1539
|
+
@files = files
|
1540
|
+
end
|
1541
|
+
end
|
1542
|
+
# One or more documents that support the [Bank account ownership verification](https://support.stripe.com/questions/bank-account-ownership-verification) requirement. Must be a document associated with the account’s primary active bank account that displays the last 4 digits of the account number, either a statement or a check.
|
1543
|
+
attr_accessor :bank_account_ownership_verification
|
1544
|
+
|
1545
|
+
# One or more documents that demonstrate proof of a company's license to operate.
|
1546
|
+
attr_accessor :company_license
|
1547
|
+
|
1548
|
+
# One or more documents showing the company's Memorandum of Association.
|
1549
|
+
attr_accessor :company_memorandum_of_association
|
1550
|
+
|
1551
|
+
# (Certain countries only) One or more documents showing the ministerial decree legalizing the company's establishment.
|
1552
|
+
attr_accessor :company_ministerial_decree
|
1553
|
+
|
1554
|
+
# One or more documents that demonstrate proof of a company's registration with the appropriate local authorities.
|
1555
|
+
attr_accessor :company_registration_verification
|
1556
|
+
|
1557
|
+
# One or more documents that demonstrate proof of a company's tax ID.
|
1558
|
+
attr_accessor :company_tax_id_verification
|
1559
|
+
|
1560
|
+
# One or more documents showing the company’s proof of registration with the national business registry.
|
1561
|
+
attr_accessor :proof_of_registration
|
1562
|
+
|
1563
|
+
def initialize(
|
1564
|
+
bank_account_ownership_verification: nil,
|
1565
|
+
company_license: nil,
|
1566
|
+
company_memorandum_of_association: nil,
|
1567
|
+
company_ministerial_decree: nil,
|
1568
|
+
company_registration_verification: nil,
|
1569
|
+
company_tax_id_verification: nil,
|
1570
|
+
proof_of_registration: nil
|
1571
|
+
)
|
1572
|
+
@bank_account_ownership_verification = bank_account_ownership_verification
|
1573
|
+
@company_license = company_license
|
1574
|
+
@company_memorandum_of_association = company_memorandum_of_association
|
1575
|
+
@company_ministerial_decree = company_ministerial_decree
|
1576
|
+
@company_registration_verification = company_registration_verification
|
1577
|
+
@company_tax_id_verification = company_tax_id_verification
|
1578
|
+
@proof_of_registration = proof_of_registration
|
1579
|
+
end
|
1580
|
+
end
|
1581
|
+
|
1582
|
+
class Groups < Stripe::RequestParams
|
1583
|
+
# The group the account is in to determine their payments pricing, and null if the account is on customized pricing. [See the Platform pricing tool documentation](https://stripe.com/docs/connect/platform-pricing-tools) for details.
|
1584
|
+
attr_accessor :payments_pricing
|
1585
|
+
|
1586
|
+
def initialize(payments_pricing: nil)
|
1587
|
+
@payments_pricing = payments_pricing
|
1588
|
+
end
|
1589
|
+
end
|
1590
|
+
|
1591
|
+
class Individual < Stripe::RequestParams
|
1592
|
+
class Address < Stripe::RequestParams
|
1593
|
+
# City, district, suburb, town, or village.
|
1594
|
+
attr_accessor :city
|
1595
|
+
|
1596
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1597
|
+
attr_accessor :country
|
1598
|
+
|
1599
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
1600
|
+
attr_accessor :line1
|
1601
|
+
|
1602
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1603
|
+
attr_accessor :line2
|
1604
|
+
|
1605
|
+
# ZIP or postal code.
|
1606
|
+
attr_accessor :postal_code
|
1607
|
+
|
1608
|
+
# State, county, province, or region.
|
1609
|
+
attr_accessor :state
|
1610
|
+
|
1611
|
+
def initialize(
|
1612
|
+
city: nil,
|
1613
|
+
country: nil,
|
1614
|
+
line1: nil,
|
1615
|
+
line2: nil,
|
1616
|
+
postal_code: nil,
|
1617
|
+
state: nil
|
1618
|
+
)
|
1619
|
+
@city = city
|
1620
|
+
@country = country
|
1621
|
+
@line1 = line1
|
1622
|
+
@line2 = line2
|
1623
|
+
@postal_code = postal_code
|
1624
|
+
@state = state
|
1625
|
+
end
|
1626
|
+
end
|
1627
|
+
|
1628
|
+
class AddressKana < Stripe::RequestParams
|
1629
|
+
# City or ward.
|
1630
|
+
attr_accessor :city
|
1631
|
+
|
1632
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1633
|
+
attr_accessor :country
|
1634
|
+
|
1635
|
+
# Block or building number.
|
1636
|
+
attr_accessor :line1
|
1637
|
+
|
1638
|
+
# Building details.
|
1639
|
+
attr_accessor :line2
|
1640
|
+
|
1641
|
+
# Postal code.
|
1642
|
+
attr_accessor :postal_code
|
1643
|
+
|
1644
|
+
# Prefecture.
|
1645
|
+
attr_accessor :state
|
1646
|
+
|
1647
|
+
# Town or cho-me.
|
1648
|
+
attr_accessor :town
|
1649
|
+
|
1650
|
+
def initialize(
|
1651
|
+
city: nil,
|
1652
|
+
country: nil,
|
1653
|
+
line1: nil,
|
1654
|
+
line2: nil,
|
1655
|
+
postal_code: nil,
|
1656
|
+
state: nil,
|
1657
|
+
town: nil
|
1658
|
+
)
|
1659
|
+
@city = city
|
1660
|
+
@country = country
|
1661
|
+
@line1 = line1
|
1662
|
+
@line2 = line2
|
1663
|
+
@postal_code = postal_code
|
1664
|
+
@state = state
|
1665
|
+
@town = town
|
1666
|
+
end
|
1667
|
+
end
|
1668
|
+
|
1669
|
+
class AddressKanji < Stripe::RequestParams
|
1670
|
+
# City or ward.
|
1671
|
+
attr_accessor :city
|
1672
|
+
|
1673
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1674
|
+
attr_accessor :country
|
1675
|
+
|
1676
|
+
# Block or building number.
|
1677
|
+
attr_accessor :line1
|
1678
|
+
|
1679
|
+
# Building details.
|
1680
|
+
attr_accessor :line2
|
1681
|
+
|
1682
|
+
# Postal code.
|
1683
|
+
attr_accessor :postal_code
|
1684
|
+
|
1685
|
+
# Prefecture.
|
1686
|
+
attr_accessor :state
|
1687
|
+
|
1688
|
+
# Town or cho-me.
|
1689
|
+
attr_accessor :town
|
1690
|
+
|
1691
|
+
def initialize(
|
1692
|
+
city: nil,
|
1693
|
+
country: nil,
|
1694
|
+
line1: nil,
|
1695
|
+
line2: nil,
|
1696
|
+
postal_code: nil,
|
1697
|
+
state: nil,
|
1698
|
+
town: nil
|
1699
|
+
)
|
1700
|
+
@city = city
|
1701
|
+
@country = country
|
1702
|
+
@line1 = line1
|
1703
|
+
@line2 = line2
|
1704
|
+
@postal_code = postal_code
|
1705
|
+
@state = state
|
1706
|
+
@town = town
|
1707
|
+
end
|
1708
|
+
end
|
1709
|
+
|
1710
|
+
class Dob < Stripe::RequestParams
|
1711
|
+
# The day of birth, between 1 and 31.
|
1712
|
+
attr_accessor :day
|
1713
|
+
|
1714
|
+
# The month of birth, between 1 and 12.
|
1715
|
+
attr_accessor :month
|
1716
|
+
|
1717
|
+
# The four-digit year of birth.
|
1718
|
+
attr_accessor :year
|
1719
|
+
|
1720
|
+
def initialize(day: nil, month: nil, year: nil)
|
1721
|
+
@day = day
|
1722
|
+
@month = month
|
1723
|
+
@year = year
|
1724
|
+
end
|
1725
|
+
end
|
1726
|
+
|
1727
|
+
class RegisteredAddress < Stripe::RequestParams
|
1728
|
+
# City, district, suburb, town, or village.
|
1729
|
+
attr_accessor :city
|
1730
|
+
|
1731
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1732
|
+
attr_accessor :country
|
1733
|
+
|
1734
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
1735
|
+
attr_accessor :line1
|
1736
|
+
|
1737
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1738
|
+
attr_accessor :line2
|
1739
|
+
|
1740
|
+
# ZIP or postal code.
|
1741
|
+
attr_accessor :postal_code
|
1742
|
+
|
1743
|
+
# State, county, province, or region.
|
1744
|
+
attr_accessor :state
|
1745
|
+
|
1746
|
+
def initialize(
|
1747
|
+
city: nil,
|
1748
|
+
country: nil,
|
1749
|
+
line1: nil,
|
1750
|
+
line2: nil,
|
1751
|
+
postal_code: nil,
|
1752
|
+
state: nil
|
1753
|
+
)
|
1754
|
+
@city = city
|
1755
|
+
@country = country
|
1756
|
+
@line1 = line1
|
1757
|
+
@line2 = line2
|
1758
|
+
@postal_code = postal_code
|
1759
|
+
@state = state
|
1760
|
+
end
|
1761
|
+
end
|
1762
|
+
|
1763
|
+
class Relationship < Stripe::RequestParams
|
1764
|
+
# Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.
|
1765
|
+
attr_accessor :director
|
1766
|
+
|
1767
|
+
# Whether the person has significant responsibility to control, manage, or direct the organization.
|
1768
|
+
attr_accessor :executive
|
1769
|
+
|
1770
|
+
# Whether the person is an owner of the account’s legal entity.
|
1771
|
+
attr_accessor :owner
|
1772
|
+
|
1773
|
+
# The percent owned by the person of the account's legal entity.
|
1774
|
+
attr_accessor :percent_ownership
|
1775
|
+
|
1776
|
+
# The person's title (e.g., CEO, Support Engineer).
|
1777
|
+
attr_accessor :title
|
1778
|
+
|
1779
|
+
def initialize(
|
1780
|
+
director: nil,
|
1781
|
+
executive: nil,
|
1782
|
+
owner: nil,
|
1783
|
+
percent_ownership: nil,
|
1784
|
+
title: nil
|
1785
|
+
)
|
1786
|
+
@director = director
|
1787
|
+
@executive = executive
|
1788
|
+
@owner = owner
|
1789
|
+
@percent_ownership = percent_ownership
|
1790
|
+
@title = title
|
1791
|
+
end
|
1792
|
+
end
|
1793
|
+
|
1794
|
+
class Verification < Stripe::RequestParams
|
1795
|
+
class AdditionalDocument < Stripe::RequestParams
|
1796
|
+
# The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
1797
|
+
attr_accessor :back
|
1798
|
+
|
1799
|
+
# The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
1800
|
+
attr_accessor :front
|
1801
|
+
|
1802
|
+
def initialize(back: nil, front: nil)
|
1803
|
+
@back = back
|
1804
|
+
@front = front
|
1805
|
+
end
|
1806
|
+
end
|
1807
|
+
|
1808
|
+
class Document < Stripe::RequestParams
|
1809
|
+
# The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
1810
|
+
attr_accessor :back
|
1811
|
+
|
1812
|
+
# The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
1813
|
+
attr_accessor :front
|
1814
|
+
|
1815
|
+
def initialize(back: nil, front: nil)
|
1816
|
+
@back = back
|
1817
|
+
@front = front
|
1818
|
+
end
|
1819
|
+
end
|
1820
|
+
# A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
|
1821
|
+
attr_accessor :additional_document
|
1822
|
+
|
1823
|
+
# An identifying document, either a passport or local ID card.
|
1824
|
+
attr_accessor :document
|
1825
|
+
|
1826
|
+
def initialize(additional_document: nil, document: nil)
|
1827
|
+
@additional_document = additional_document
|
1828
|
+
@document = document
|
1829
|
+
end
|
1830
|
+
end
|
1831
|
+
# The individual's primary address.
|
1832
|
+
attr_accessor :address
|
1833
|
+
|
1834
|
+
# The Kana variation of the individual's primary address (Japan only).
|
1835
|
+
attr_accessor :address_kana
|
1836
|
+
|
1837
|
+
# The Kanji variation of the individual's primary address (Japan only).
|
1838
|
+
attr_accessor :address_kanji
|
1839
|
+
|
1840
|
+
# The individual's date of birth.
|
1841
|
+
attr_accessor :dob
|
1842
|
+
|
1843
|
+
# The individual's email address.
|
1844
|
+
attr_accessor :email
|
1845
|
+
|
1846
|
+
# The individual's first name.
|
1847
|
+
attr_accessor :first_name
|
1848
|
+
|
1849
|
+
# The Kana variation of the individual's first name (Japan only).
|
1850
|
+
attr_accessor :first_name_kana
|
1851
|
+
|
1852
|
+
# The Kanji variation of the individual's first name (Japan only).
|
1853
|
+
attr_accessor :first_name_kanji
|
1854
|
+
|
1855
|
+
# A list of alternate names or aliases that the individual is known by.
|
1856
|
+
attr_accessor :full_name_aliases
|
1857
|
+
|
1858
|
+
# The individual's gender
|
1859
|
+
attr_accessor :gender
|
1860
|
+
|
1861
|
+
# The government-issued ID number of the individual, as appropriate for the representative's country. (Examples are a Social Security Number in the U.S., or a Social Insurance Number in Canada). Instead of the number itself, you can also provide a [PII token created with Stripe.js](/js/tokens/create_token?type=pii).
|
1862
|
+
attr_accessor :id_number
|
1863
|
+
|
1864
|
+
# The government-issued secondary ID number of the individual, as appropriate for the representative's country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token created with Stripe.js](/js/tokens/create_token?type=pii).
|
1865
|
+
attr_accessor :id_number_secondary
|
1866
|
+
|
1867
|
+
# The individual's last name.
|
1868
|
+
attr_accessor :last_name
|
1869
|
+
|
1870
|
+
# The Kana variation of the individual's last name (Japan only).
|
1871
|
+
attr_accessor :last_name_kana
|
1872
|
+
|
1873
|
+
# The Kanji variation of the individual's last name (Japan only).
|
1874
|
+
attr_accessor :last_name_kanji
|
1875
|
+
|
1876
|
+
# The individual's maiden name.
|
1877
|
+
attr_accessor :maiden_name
|
1878
|
+
|
1879
|
+
# 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`.
|
1880
|
+
attr_accessor :metadata
|
1881
|
+
|
1882
|
+
# The individual's phone number.
|
1883
|
+
attr_accessor :phone
|
1884
|
+
|
1885
|
+
# Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction.
|
1886
|
+
attr_accessor :political_exposure
|
1887
|
+
|
1888
|
+
# The individual's registered address.
|
1889
|
+
attr_accessor :registered_address
|
1890
|
+
|
1891
|
+
# Describes the person’s relationship to the account.
|
1892
|
+
attr_accessor :relationship
|
1893
|
+
|
1894
|
+
# The last four digits of the individual's Social Security Number (U.S. only).
|
1895
|
+
attr_accessor :ssn_last_4
|
1896
|
+
|
1897
|
+
# The individual's verification document information.
|
1898
|
+
attr_accessor :verification
|
1899
|
+
|
1900
|
+
def initialize(
|
1901
|
+
address: nil,
|
1902
|
+
address_kana: nil,
|
1903
|
+
address_kanji: nil,
|
1904
|
+
dob: nil,
|
1905
|
+
email: nil,
|
1906
|
+
first_name: nil,
|
1907
|
+
first_name_kana: nil,
|
1908
|
+
first_name_kanji: nil,
|
1909
|
+
full_name_aliases: nil,
|
1910
|
+
gender: nil,
|
1911
|
+
id_number: nil,
|
1912
|
+
id_number_secondary: nil,
|
1913
|
+
last_name: nil,
|
1914
|
+
last_name_kana: nil,
|
1915
|
+
last_name_kanji: nil,
|
1916
|
+
maiden_name: nil,
|
1917
|
+
metadata: nil,
|
1918
|
+
phone: nil,
|
1919
|
+
political_exposure: nil,
|
1920
|
+
registered_address: nil,
|
1921
|
+
relationship: nil,
|
1922
|
+
ssn_last_4: nil,
|
1923
|
+
verification: nil
|
1924
|
+
)
|
1925
|
+
@address = address
|
1926
|
+
@address_kana = address_kana
|
1927
|
+
@address_kanji = address_kanji
|
1928
|
+
@dob = dob
|
1929
|
+
@email = email
|
1930
|
+
@first_name = first_name
|
1931
|
+
@first_name_kana = first_name_kana
|
1932
|
+
@first_name_kanji = first_name_kanji
|
1933
|
+
@full_name_aliases = full_name_aliases
|
1934
|
+
@gender = gender
|
1935
|
+
@id_number = id_number
|
1936
|
+
@id_number_secondary = id_number_secondary
|
1937
|
+
@last_name = last_name
|
1938
|
+
@last_name_kana = last_name_kana
|
1939
|
+
@last_name_kanji = last_name_kanji
|
1940
|
+
@maiden_name = maiden_name
|
1941
|
+
@metadata = metadata
|
1942
|
+
@phone = phone
|
1943
|
+
@political_exposure = political_exposure
|
1944
|
+
@registered_address = registered_address
|
1945
|
+
@relationship = relationship
|
1946
|
+
@ssn_last_4 = ssn_last_4
|
1947
|
+
@verification = verification
|
1948
|
+
end
|
1949
|
+
end
|
1950
|
+
|
1951
|
+
class RiskControls < Stripe::RequestParams
|
1952
|
+
class Charges < Stripe::RequestParams
|
1953
|
+
# To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
1954
|
+
# There can be a delay before the risk control is paused or unpaused.
|
1955
|
+
attr_accessor :pause_requested
|
1956
|
+
|
1957
|
+
def initialize(pause_requested: nil)
|
1958
|
+
@pause_requested = pause_requested
|
1959
|
+
end
|
1960
|
+
end
|
1961
|
+
|
1962
|
+
class Payouts < Stripe::RequestParams
|
1963
|
+
# To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
1964
|
+
# There can be a delay before the risk control is paused or unpaused.
|
1965
|
+
attr_accessor :pause_requested
|
1966
|
+
|
1967
|
+
def initialize(pause_requested: nil)
|
1968
|
+
@pause_requested = pause_requested
|
1969
|
+
end
|
1970
|
+
end
|
1971
|
+
# 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).
|
1972
|
+
attr_accessor :charges
|
1973
|
+
|
1974
|
+
# 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).
|
1975
|
+
attr_accessor :payouts
|
1976
|
+
|
1977
|
+
def initialize(charges: nil, payouts: nil)
|
1978
|
+
@charges = charges
|
1979
|
+
@payouts = payouts
|
1980
|
+
end
|
1981
|
+
end
|
1982
|
+
|
1983
|
+
class Settings < Stripe::RequestParams
|
1984
|
+
class BacsDebitPayments < Stripe::RequestParams
|
1985
|
+
# 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.
|
1986
|
+
attr_accessor :display_name
|
1987
|
+
|
1988
|
+
def initialize(display_name: nil)
|
1989
|
+
@display_name = display_name
|
1990
|
+
end
|
1991
|
+
end
|
1992
|
+
|
1993
|
+
class BankBcaOnboarding < Stripe::RequestParams
|
1994
|
+
# Bank BCA business account holder name
|
1995
|
+
attr_accessor :account_holder_name
|
1996
|
+
|
1997
|
+
# Bank BCA business account number
|
1998
|
+
attr_accessor :business_account_number
|
1999
|
+
|
2000
|
+
def initialize(account_holder_name: nil, business_account_number: nil)
|
2001
|
+
@account_holder_name = account_holder_name
|
2002
|
+
@business_account_number = business_account_number
|
2003
|
+
end
|
2004
|
+
end
|
2005
|
+
|
2006
|
+
class Branding < Stripe::RequestParams
|
2007
|
+
# (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.
|
2008
|
+
attr_accessor :icon
|
2009
|
+
|
2010
|
+
# (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) A logo for the account that will be used in Checkout instead of the icon and without the account's name next to it if provided. Must be at least 128px x 128px.
|
2011
|
+
attr_accessor :logo
|
2012
|
+
|
2013
|
+
# A CSS hex color value representing the primary branding color for this account.
|
2014
|
+
attr_accessor :primary_color
|
2015
|
+
|
2016
|
+
# A CSS hex color value representing the secondary branding color for this account.
|
2017
|
+
attr_accessor :secondary_color
|
2018
|
+
|
2019
|
+
def initialize(icon: nil, logo: nil, primary_color: nil, secondary_color: nil)
|
2020
|
+
@icon = icon
|
2021
|
+
@logo = logo
|
2022
|
+
@primary_color = primary_color
|
2023
|
+
@secondary_color = secondary_color
|
2024
|
+
end
|
2025
|
+
end
|
2026
|
+
|
2027
|
+
class Capital < Stripe::RequestParams
|
2028
|
+
# Per-currency mapping of user-selected destination accounts used to pay out loans.
|
2029
|
+
attr_accessor :payout_destination
|
2030
|
+
|
2031
|
+
# Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
2032
|
+
attr_accessor :payout_destination_selector
|
2033
|
+
|
2034
|
+
def initialize(payout_destination: nil, payout_destination_selector: nil)
|
2035
|
+
@payout_destination = payout_destination
|
2036
|
+
@payout_destination_selector = payout_destination_selector
|
2037
|
+
end
|
2038
|
+
end
|
2039
|
+
|
2040
|
+
class CardIssuing < Stripe::RequestParams
|
2041
|
+
class TosAcceptance < Stripe::RequestParams
|
2042
|
+
# The Unix timestamp marking when the account representative accepted the service agreement.
|
2043
|
+
attr_accessor :date
|
2044
|
+
|
2045
|
+
# The IP address from which the account representative accepted the service agreement.
|
2046
|
+
attr_accessor :ip
|
2047
|
+
|
2048
|
+
# The user agent of the browser from which the account representative accepted the service agreement.
|
2049
|
+
attr_accessor :user_agent
|
2050
|
+
|
2051
|
+
def initialize(date: nil, ip: nil, user_agent: nil)
|
2052
|
+
@date = date
|
2053
|
+
@ip = ip
|
2054
|
+
@user_agent = user_agent
|
2055
|
+
end
|
2056
|
+
end
|
2057
|
+
# Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](/issuing/connect/tos_acceptance).
|
2058
|
+
attr_accessor :tos_acceptance
|
2059
|
+
|
2060
|
+
def initialize(tos_acceptance: nil)
|
2061
|
+
@tos_acceptance = tos_acceptance
|
2062
|
+
end
|
2063
|
+
end
|
2064
|
+
|
2065
|
+
class CardPayments < Stripe::RequestParams
|
2066
|
+
class DeclineOn < Stripe::RequestParams
|
2067
|
+
# Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification.
|
2068
|
+
attr_accessor :avs_failure
|
2069
|
+
|
2070
|
+
# Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification.
|
2071
|
+
attr_accessor :cvc_failure
|
2072
|
+
|
2073
|
+
def initialize(avs_failure: nil, cvc_failure: nil)
|
2074
|
+
@avs_failure = avs_failure
|
2075
|
+
@cvc_failure = cvc_failure
|
2076
|
+
end
|
2077
|
+
end
|
2078
|
+
# Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge.
|
2079
|
+
attr_accessor :decline_on
|
2080
|
+
|
2081
|
+
# The default text that appears on credit card statements when a charge is made. This field prefixes any dynamic `statement_descriptor` specified on the charge. `statement_descriptor_prefix` is useful for maximizing descriptor space for the dynamic portion.
|
2082
|
+
attr_accessor :statement_descriptor_prefix
|
2083
|
+
|
2084
|
+
# The Kana variation of the default text that appears on credit card statements when a charge is made (Japan only). This field prefixes any dynamic `statement_descriptor_suffix_kana` specified on the charge. `statement_descriptor_prefix_kana` is useful for maximizing descriptor space for the dynamic portion.
|
2085
|
+
attr_accessor :statement_descriptor_prefix_kana
|
2086
|
+
|
2087
|
+
# The Kanji variation of the default text that appears on credit card statements when a charge is made (Japan only). This field prefixes any dynamic `statement_descriptor_suffix_kanji` specified on the charge. `statement_descriptor_prefix_kanji` is useful for maximizing descriptor space for the dynamic portion.
|
2088
|
+
attr_accessor :statement_descriptor_prefix_kanji
|
2089
|
+
|
2090
|
+
def initialize(
|
2091
|
+
decline_on: nil,
|
2092
|
+
statement_descriptor_prefix: nil,
|
2093
|
+
statement_descriptor_prefix_kana: nil,
|
2094
|
+
statement_descriptor_prefix_kanji: nil
|
2095
|
+
)
|
2096
|
+
@decline_on = decline_on
|
2097
|
+
@statement_descriptor_prefix = statement_descriptor_prefix
|
2098
|
+
@statement_descriptor_prefix_kana = statement_descriptor_prefix_kana
|
2099
|
+
@statement_descriptor_prefix_kanji = statement_descriptor_prefix_kanji
|
2100
|
+
end
|
2101
|
+
end
|
2102
|
+
|
2103
|
+
class Invoices < Stripe::RequestParams
|
2104
|
+
# The list of default Account Tax IDs to automatically include on invoices. Account Tax IDs get added when an invoice is finalized.
|
2105
|
+
attr_accessor :default_account_tax_ids
|
2106
|
+
|
2107
|
+
def initialize(default_account_tax_ids: nil)
|
2108
|
+
@default_account_tax_ids = default_account_tax_ids
|
2109
|
+
end
|
2110
|
+
end
|
2111
|
+
|
2112
|
+
class Payments < Stripe::RequestParams
|
2113
|
+
# The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a `statement_descriptor_prefix`, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the `statement_descriptor` text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the [account settings documentation](https://docs.stripe.com/get-started/account/statement-descriptors).
|
2114
|
+
attr_accessor :statement_descriptor
|
2115
|
+
|
2116
|
+
# The Kana variation of `statement_descriptor` used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).
|
2117
|
+
attr_accessor :statement_descriptor_kana
|
2118
|
+
|
2119
|
+
# The Kanji variation of `statement_descriptor` used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).
|
2120
|
+
attr_accessor :statement_descriptor_kanji
|
2121
|
+
|
2122
|
+
def initialize(
|
2123
|
+
statement_descriptor: nil,
|
2124
|
+
statement_descriptor_kana: nil,
|
2125
|
+
statement_descriptor_kanji: nil
|
2126
|
+
)
|
2127
|
+
@statement_descriptor = statement_descriptor
|
2128
|
+
@statement_descriptor_kana = statement_descriptor_kana
|
2129
|
+
@statement_descriptor_kanji = statement_descriptor_kanji
|
2130
|
+
end
|
2131
|
+
end
|
2132
|
+
|
2133
|
+
class Payouts < Stripe::RequestParams
|
2134
|
+
class Schedule < Stripe::RequestParams
|
2135
|
+
# The number of days charge funds are held before being paid out. May also be set to `minimum`, representing the lowest available value for the account country. Default is `minimum`. The `delay_days` parameter remains at the last configured value if `interval` is `manual`. [Learn more about controlling payout delay days](/connect/manage-payout-schedule).
|
2136
|
+
attr_accessor :delay_days
|
2137
|
+
|
2138
|
+
# How frequently available funds are paid out. One of: `daily`, `manual`, `weekly`, or `monthly`. Default is `daily`.
|
2139
|
+
attr_accessor :interval
|
2140
|
+
|
2141
|
+
# The day of the month when available funds are paid out, specified as a number between 1--31. Payouts nominally scheduled between the 29th and 31st of the month are instead sent on the last day of a shorter month. Required and applicable only if `interval` is `monthly`.
|
2142
|
+
attr_accessor :monthly_anchor
|
2143
|
+
|
2144
|
+
# The day of the week when available funds are paid out, specified as `monday`, `tuesday`, etc. (required and applicable only if `interval` is `weekly`.)
|
2145
|
+
attr_accessor :weekly_anchor
|
2146
|
+
|
2147
|
+
def initialize(delay_days: nil, interval: nil, monthly_anchor: nil, weekly_anchor: nil)
|
2148
|
+
@delay_days = delay_days
|
2149
|
+
@interval = interval
|
2150
|
+
@monthly_anchor = monthly_anchor
|
2151
|
+
@weekly_anchor = weekly_anchor
|
2152
|
+
end
|
2153
|
+
end
|
2154
|
+
# A Boolean indicating whether Stripe should try to reclaim negative balances from an attached bank account. For details, see [Understanding Connect Account Balances](/connect/account-balances).
|
2155
|
+
attr_accessor :debit_negative_balances
|
2156
|
+
|
2157
|
+
# Details on when funds from charges are available, and when they are paid out to an external account. For details, see our [Setting Bank and Debit Card Payouts](/connect/bank-transfers#payout-information) documentation.
|
2158
|
+
attr_accessor :schedule
|
2159
|
+
|
2160
|
+
# The text that appears on the bank account statement for payouts. If not set, this defaults to the platform's bank descriptor as set in the Dashboard.
|
2161
|
+
attr_accessor :statement_descriptor
|
2162
|
+
|
2163
|
+
def initialize(debit_negative_balances: nil, schedule: nil, statement_descriptor: nil)
|
2164
|
+
@debit_negative_balances = debit_negative_balances
|
2165
|
+
@schedule = schedule
|
2166
|
+
@statement_descriptor = statement_descriptor
|
2167
|
+
end
|
2168
|
+
end
|
2169
|
+
|
2170
|
+
class TaxForms < Stripe::RequestParams
|
2171
|
+
# Whether the account opted out of receiving their tax forms by postal delivery.
|
2172
|
+
attr_accessor :consented_to_paperless_delivery
|
2173
|
+
|
2174
|
+
def initialize(consented_to_paperless_delivery: nil)
|
2175
|
+
@consented_to_paperless_delivery = consented_to_paperless_delivery
|
2176
|
+
end
|
2177
|
+
end
|
2178
|
+
|
2179
|
+
class Treasury < Stripe::RequestParams
|
2180
|
+
class TosAcceptance < Stripe::RequestParams
|
2181
|
+
# The Unix timestamp marking when the account representative accepted the service agreement.
|
2182
|
+
attr_accessor :date
|
2183
|
+
|
2184
|
+
# The IP address from which the account representative accepted the service agreement.
|
2185
|
+
attr_accessor :ip
|
2186
|
+
|
2187
|
+
# The user agent of the browser from which the account representative accepted the service agreement.
|
2188
|
+
attr_accessor :user_agent
|
2189
|
+
|
2190
|
+
def initialize(date: nil, ip: nil, user_agent: nil)
|
2191
|
+
@date = date
|
2192
|
+
@ip = ip
|
2193
|
+
@user_agent = user_agent
|
2194
|
+
end
|
2195
|
+
end
|
2196
|
+
# Details on the account's acceptance of the Stripe Treasury Services Agreement.
|
2197
|
+
attr_accessor :tos_acceptance
|
2198
|
+
|
2199
|
+
def initialize(tos_acceptance: nil)
|
2200
|
+
@tos_acceptance = tos_acceptance
|
2201
|
+
end
|
2202
|
+
end
|
2203
|
+
# Settings specific to Bacs Direct Debit payments.
|
2204
|
+
attr_accessor :bacs_debit_payments
|
2205
|
+
|
2206
|
+
# Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
2207
|
+
attr_accessor :bank_bca_onboarding
|
2208
|
+
|
2209
|
+
# Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
2210
|
+
attr_accessor :branding
|
2211
|
+
|
2212
|
+
# Settings specific to the account's use of the Capital product.
|
2213
|
+
attr_accessor :capital
|
2214
|
+
|
2215
|
+
# Settings specific to the account's use of the Card Issuing product.
|
2216
|
+
attr_accessor :card_issuing
|
2217
|
+
|
2218
|
+
# Settings specific to card charging on the account.
|
2219
|
+
attr_accessor :card_payments
|
2220
|
+
|
2221
|
+
# Settings specific to the account's use of Invoices.
|
2222
|
+
attr_accessor :invoices
|
2223
|
+
|
2224
|
+
# Settings that apply across payment methods for charging on the account.
|
2225
|
+
attr_accessor :payments
|
2226
|
+
|
2227
|
+
# Settings specific to the account's payouts.
|
2228
|
+
attr_accessor :payouts
|
2229
|
+
|
2230
|
+
# Settings specific to the account's tax forms.
|
2231
|
+
attr_accessor :tax_forms
|
2232
|
+
|
2233
|
+
# Settings specific to the account's Treasury FinancialAccounts.
|
2234
|
+
attr_accessor :treasury
|
2235
|
+
|
2236
|
+
def initialize(
|
2237
|
+
bacs_debit_payments: nil,
|
2238
|
+
bank_bca_onboarding: nil,
|
2239
|
+
branding: nil,
|
2240
|
+
capital: nil,
|
2241
|
+
card_issuing: nil,
|
2242
|
+
card_payments: nil,
|
2243
|
+
invoices: nil,
|
2244
|
+
payments: nil,
|
2245
|
+
payouts: nil,
|
2246
|
+
tax_forms: nil,
|
2247
|
+
treasury: nil
|
2248
|
+
)
|
2249
|
+
@bacs_debit_payments = bacs_debit_payments
|
2250
|
+
@bank_bca_onboarding = bank_bca_onboarding
|
2251
|
+
@branding = branding
|
2252
|
+
@capital = capital
|
2253
|
+
@card_issuing = card_issuing
|
2254
|
+
@card_payments = card_payments
|
2255
|
+
@invoices = invoices
|
2256
|
+
@payments = payments
|
2257
|
+
@payouts = payouts
|
2258
|
+
@tax_forms = tax_forms
|
2259
|
+
@treasury = treasury
|
2260
|
+
end
|
2261
|
+
end
|
2262
|
+
|
2263
|
+
class TosAcceptance < Stripe::RequestParams
|
2264
|
+
# The Unix timestamp marking when the account representative accepted their service agreement.
|
2265
|
+
attr_accessor :date
|
2266
|
+
|
2267
|
+
# The IP address from which the account representative accepted their service agreement.
|
2268
|
+
attr_accessor :ip
|
2269
|
+
|
2270
|
+
# The user's service agreement type.
|
2271
|
+
attr_accessor :service_agreement
|
2272
|
+
|
2273
|
+
# The user agent of the browser from which the account representative accepted their service agreement.
|
2274
|
+
attr_accessor :user_agent
|
2275
|
+
|
2276
|
+
def initialize(date: nil, ip: nil, service_agreement: nil, user_agent: nil)
|
2277
|
+
@date = date
|
2278
|
+
@ip = ip
|
2279
|
+
@service_agreement = service_agreement
|
2280
|
+
@user_agent = user_agent
|
2281
|
+
end
|
2282
|
+
end
|
2283
|
+
# An [account token](https://stripe.com/docs/api#create_account_token), used to securely provide details to the account.
|
2284
|
+
attr_accessor :account_token
|
2285
|
+
|
2286
|
+
# Business information about the account.
|
2287
|
+
attr_accessor :business_profile
|
2288
|
+
|
2289
|
+
# The business type. Once you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), 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.
|
2290
|
+
attr_accessor :business_type
|
2291
|
+
|
2292
|
+
# Each key of the dictionary represents a capability, and each capability
|
2293
|
+
# maps to its settings (for example, whether it has been requested or not). Each
|
2294
|
+
# capability is inactive until you have provided its specific
|
2295
|
+
# requirements and Stripe has verified them. An account might have some
|
2296
|
+
# of its requested capabilities be active and some be inactive.
|
2297
|
+
#
|
2298
|
+
# Required when [account.controller.stripe_dashboard.type](/api/accounts/create#create_account-controller-dashboard-type)
|
2299
|
+
# is `none`, which includes Custom accounts.
|
2300
|
+
attr_accessor :capabilities
|
2301
|
+
|
2302
|
+
# Information about the company or business. This field is available for any `business_type`. Once you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), 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.
|
2303
|
+
attr_accessor :company
|
2304
|
+
|
2305
|
+
# Three-letter ISO currency code representing the default currency for the account. This must be a currency that [Stripe supports in the account's country](https://docs.stripe.com/payouts).
|
2306
|
+
attr_accessor :default_currency
|
2307
|
+
|
2308
|
+
# Documents that may be submitted to satisfy various informational requests.
|
2309
|
+
attr_accessor :documents
|
2310
|
+
|
2311
|
+
# The email address of the account holder. This is only to make the account easier to identify to you. If [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts, Stripe doesn't email the account without your consent.
|
2312
|
+
attr_accessor :email
|
2313
|
+
|
2314
|
+
# Specifies which fields in the response should be expanded.
|
2315
|
+
attr_accessor :expand
|
2316
|
+
|
2317
|
+
# A card or bank account to attach to the account for receiving [payouts](/connect/bank-debit-card-payouts) (you won’t be able to use it for top-ups). You can provide either a token, like the ones returned by [Stripe.js](/js), or a dictionary, as documented in the `external_account` parameter for [bank account](/api#account_create_bank_account) creation. <br><br>By default, providing an external account sets it as the new default external account for its currency, and deletes the old default if one exists. To add additional external accounts without replacing the existing default for the currency, use the [bank account](/api#account_create_bank_account) or [card creation](/api#account_create_card) APIs. After you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), 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.
|
2318
|
+
attr_accessor :external_account
|
2319
|
+
|
2320
|
+
# A hash of account group type to tokens. These are account groups this account should be added to.
|
2321
|
+
attr_accessor :groups
|
2322
|
+
|
2323
|
+
# Information about the person represented by the account. This field is null unless `business_type` is set to `individual`. Once you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), 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.
|
2324
|
+
attr_accessor :individual
|
2325
|
+
|
2326
|
+
# 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`.
|
2327
|
+
attr_accessor :metadata
|
2328
|
+
|
2329
|
+
# A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
|
2330
|
+
attr_accessor :risk_controls
|
2331
|
+
|
2332
|
+
# Options for customizing how the account functions within Stripe.
|
2333
|
+
attr_accessor :settings
|
2334
|
+
|
2335
|
+
# 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.
|
2336
|
+
attr_accessor :tos_acceptance
|
2337
|
+
|
2338
|
+
def initialize(
|
2339
|
+
account_token: nil,
|
2340
|
+
business_profile: nil,
|
2341
|
+
business_type: nil,
|
2342
|
+
capabilities: nil,
|
2343
|
+
company: nil,
|
2344
|
+
default_currency: nil,
|
2345
|
+
documents: nil,
|
2346
|
+
email: nil,
|
2347
|
+
expand: nil,
|
2348
|
+
external_account: nil,
|
2349
|
+
groups: nil,
|
2350
|
+
individual: nil,
|
2351
|
+
metadata: nil,
|
2352
|
+
risk_controls: nil,
|
2353
|
+
settings: nil,
|
2354
|
+
tos_acceptance: nil
|
2355
|
+
)
|
2356
|
+
@account_token = account_token
|
2357
|
+
@business_profile = business_profile
|
2358
|
+
@business_type = business_type
|
2359
|
+
@capabilities = capabilities
|
2360
|
+
@company = company
|
2361
|
+
@default_currency = default_currency
|
2362
|
+
@documents = documents
|
2363
|
+
@email = email
|
2364
|
+
@expand = expand
|
2365
|
+
@external_account = external_account
|
2366
|
+
@groups = groups
|
2367
|
+
@individual = individual
|
2368
|
+
@metadata = metadata
|
2369
|
+
@risk_controls = risk_controls
|
2370
|
+
@settings = settings
|
2371
|
+
@tos_acceptance = tos_acceptance
|
2372
|
+
end
|
2373
|
+
end
|
2374
|
+
|
2375
|
+
class RetrieveCurrentParams < Stripe::RequestParams
|
2376
|
+
# Specifies which fields in the response should be expanded.
|
2377
|
+
attr_accessor :expand
|
2378
|
+
|
2379
|
+
def initialize(expand: nil)
|
2380
|
+
@expand = expand
|
2381
|
+
end
|
2382
|
+
end
|
2383
|
+
|
2384
|
+
class ListParams < Stripe::RequestParams
|
2385
|
+
class Created < Stripe::RequestParams
|
2386
|
+
# Minimum value to filter by (exclusive)
|
2387
|
+
attr_accessor :gt
|
2388
|
+
|
2389
|
+
# Minimum value to filter by (inclusive)
|
2390
|
+
attr_accessor :gte
|
2391
|
+
|
2392
|
+
# Maximum value to filter by (exclusive)
|
2393
|
+
attr_accessor :lt
|
2394
|
+
|
2395
|
+
# Maximum value to filter by (inclusive)
|
2396
|
+
attr_accessor :lte
|
2397
|
+
|
2398
|
+
def initialize(gt: nil, gte: nil, lt: nil, lte: nil)
|
2399
|
+
@gt = gt
|
2400
|
+
@gte = gte
|
2401
|
+
@lt = lt
|
2402
|
+
@lte = lte
|
2403
|
+
end
|
2404
|
+
end
|
2405
|
+
# Only return connected accounts that were created during the given date interval.
|
2406
|
+
attr_accessor :created
|
2407
|
+
|
2408
|
+
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
2409
|
+
attr_accessor :ending_before
|
2410
|
+
|
2411
|
+
# Specifies which fields in the response should be expanded.
|
2412
|
+
attr_accessor :expand
|
2413
|
+
|
2414
|
+
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
2415
|
+
attr_accessor :limit
|
2416
|
+
|
2417
|
+
# A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
|
2418
|
+
attr_accessor :starting_after
|
2419
|
+
|
2420
|
+
def initialize(created: nil, ending_before: nil, expand: nil, limit: nil, starting_after: nil)
|
2421
|
+
@created = created
|
2422
|
+
@ending_before = ending_before
|
2423
|
+
@expand = expand
|
2424
|
+
@limit = limit
|
2425
|
+
@starting_after = starting_after
|
2426
|
+
end
|
2427
|
+
end
|
2428
|
+
|
2429
|
+
class CreateParams < Stripe::RequestParams
|
2430
|
+
class BankAccount < Stripe::RequestParams
|
2431
|
+
# Attribute for param field object
|
2432
|
+
attr_accessor :object
|
2433
|
+
|
2434
|
+
# The name of the person or business that owns the bank account.This field is required when attaching the bank account to a `Customer` object.
|
2435
|
+
attr_accessor :account_holder_name
|
2436
|
+
|
2437
|
+
# The type of entity that holds the account. It can be `company` or `individual`. This field is required when attaching the bank account to a `Customer` object.
|
2438
|
+
attr_accessor :account_holder_type
|
2439
|
+
|
2440
|
+
# The account number for the bank account, in string form. Must be a checking account.
|
2441
|
+
attr_accessor :account_number
|
2442
|
+
|
2443
|
+
# The country in which the bank account is located.
|
2444
|
+
attr_accessor :country
|
2445
|
+
|
2446
|
+
# The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
|
2447
|
+
attr_accessor :currency
|
2448
|
+
|
2449
|
+
# The routing number, sort code, or other country-appropriateinstitution number for the bank account. For US bank accounts, this is required and should bethe ACH routing number, not the wire routing number. If you are providing an IBAN for`account_number`, this field is not required.
|
2450
|
+
attr_accessor :routing_number
|
2451
|
+
|
2452
|
+
def initialize(
|
2453
|
+
object: nil,
|
2454
|
+
account_holder_name: nil,
|
2455
|
+
account_holder_type: nil,
|
2456
|
+
account_number: nil,
|
2457
|
+
country: nil,
|
2458
|
+
currency: nil,
|
2459
|
+
routing_number: nil
|
2460
|
+
)
|
2461
|
+
@object = object
|
2462
|
+
@account_holder_name = account_holder_name
|
2463
|
+
@account_holder_type = account_holder_type
|
2464
|
+
@account_number = account_number
|
2465
|
+
@country = country
|
2466
|
+
@currency = currency
|
2467
|
+
@routing_number = routing_number
|
2468
|
+
end
|
2469
|
+
end
|
2470
|
+
|
2471
|
+
class BusinessProfile < Stripe::RequestParams
|
2472
|
+
class AnnualRevenue < Stripe::RequestParams
|
2473
|
+
# A non-negative integer representing the amount in the [smallest currency unit](/currencies#zero-decimal).
|
2474
|
+
attr_accessor :amount
|
2475
|
+
|
2476
|
+
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
2477
|
+
attr_accessor :currency
|
2478
|
+
|
2479
|
+
# The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.
|
2480
|
+
attr_accessor :fiscal_year_end
|
2481
|
+
|
2482
|
+
def initialize(amount: nil, currency: nil, fiscal_year_end: nil)
|
2483
|
+
@amount = amount
|
2484
|
+
@currency = currency
|
2485
|
+
@fiscal_year_end = fiscal_year_end
|
2486
|
+
end
|
2487
|
+
end
|
2488
|
+
|
2489
|
+
class MonthlyEstimatedRevenue < Stripe::RequestParams
|
2490
|
+
# A non-negative integer representing how much to charge in the [smallest currency unit](/currencies#zero-decimal).
|
2491
|
+
attr_accessor :amount
|
2492
|
+
|
2493
|
+
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
2494
|
+
attr_accessor :currency
|
2495
|
+
|
2496
|
+
def initialize(amount: nil, currency: nil)
|
2497
|
+
@amount = amount
|
2498
|
+
@currency = currency
|
2499
|
+
end
|
2500
|
+
end
|
2501
|
+
|
2502
|
+
class SupportAddress < Stripe::RequestParams
|
2503
|
+
# City, district, suburb, town, or village.
|
2504
|
+
attr_accessor :city
|
2505
|
+
|
2506
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
2507
|
+
attr_accessor :country
|
2508
|
+
|
2509
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
2510
|
+
attr_accessor :line1
|
2511
|
+
|
2512
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
2513
|
+
attr_accessor :line2
|
2514
|
+
|
2515
|
+
# ZIP or postal code.
|
2516
|
+
attr_accessor :postal_code
|
2517
|
+
|
2518
|
+
# State, county, province, or region.
|
2519
|
+
attr_accessor :state
|
2520
|
+
|
2521
|
+
def initialize(
|
2522
|
+
city: nil,
|
2523
|
+
country: nil,
|
2524
|
+
line1: nil,
|
2525
|
+
line2: nil,
|
2526
|
+
postal_code: nil,
|
2527
|
+
state: nil
|
2528
|
+
)
|
2529
|
+
@city = city
|
2530
|
+
@country = country
|
2531
|
+
@line1 = line1
|
2532
|
+
@line2 = line2
|
2533
|
+
@postal_code = postal_code
|
2534
|
+
@state = state
|
2535
|
+
end
|
2536
|
+
end
|
2537
|
+
# The applicant's gross annual revenue for its preceding fiscal year.
|
2538
|
+
attr_accessor :annual_revenue
|
2539
|
+
|
2540
|
+
# An estimated upper bound of employees, contractors, vendors, etc. currently working for the business.
|
2541
|
+
attr_accessor :estimated_worker_count
|
2542
|
+
|
2543
|
+
# [The merchant category code for the account](/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
|
2544
|
+
attr_accessor :mcc
|
2545
|
+
|
2546
|
+
# An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.
|
2547
|
+
attr_accessor :monthly_estimated_revenue
|
2548
|
+
|
2549
|
+
# The customer-facing business name.
|
2550
|
+
attr_accessor :name
|
2551
|
+
|
2552
|
+
# Internal-only description of the product sold by, or service provided by, the business. Used by Stripe for risk and underwriting purposes.
|
2553
|
+
attr_accessor :product_description
|
2554
|
+
|
2555
|
+
# A publicly available mailing address for sending support issues to.
|
2556
|
+
attr_accessor :support_address
|
2557
|
+
|
2558
|
+
# A publicly available email address for sending support issues to.
|
2559
|
+
attr_accessor :support_email
|
2560
|
+
|
2561
|
+
# A publicly available phone number to call with support issues.
|
2562
|
+
attr_accessor :support_phone
|
2563
|
+
|
2564
|
+
# A publicly available website for handling support issues.
|
2565
|
+
attr_accessor :support_url
|
2566
|
+
|
2567
|
+
# The business's publicly available website.
|
2568
|
+
attr_accessor :url
|
2569
|
+
|
2570
|
+
def initialize(
|
2571
|
+
annual_revenue: nil,
|
2572
|
+
estimated_worker_count: nil,
|
2573
|
+
mcc: nil,
|
2574
|
+
monthly_estimated_revenue: nil,
|
2575
|
+
name: nil,
|
2576
|
+
product_description: nil,
|
2577
|
+
support_address: nil,
|
2578
|
+
support_email: nil,
|
2579
|
+
support_phone: nil,
|
2580
|
+
support_url: nil,
|
2581
|
+
url: nil
|
2582
|
+
)
|
2583
|
+
@annual_revenue = annual_revenue
|
2584
|
+
@estimated_worker_count = estimated_worker_count
|
2585
|
+
@mcc = mcc
|
2586
|
+
@monthly_estimated_revenue = monthly_estimated_revenue
|
2587
|
+
@name = name
|
2588
|
+
@product_description = product_description
|
2589
|
+
@support_address = support_address
|
2590
|
+
@support_email = support_email
|
2591
|
+
@support_phone = support_phone
|
2592
|
+
@support_url = support_url
|
2593
|
+
@url = url
|
2594
|
+
end
|
2595
|
+
end
|
2596
|
+
|
2597
|
+
class Capabilities < Stripe::RequestParams
|
2598
|
+
class AcssDebitPayments < Stripe::RequestParams
|
2599
|
+
# 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.
|
2600
|
+
attr_accessor :requested
|
2601
|
+
|
2602
|
+
def initialize(requested: nil)
|
2603
|
+
@requested = requested
|
2604
|
+
end
|
2605
|
+
end
|
2606
|
+
|
2607
|
+
class AffirmPayments < Stripe::RequestParams
|
2608
|
+
# 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.
|
2609
|
+
attr_accessor :requested
|
2610
|
+
|
2611
|
+
def initialize(requested: nil)
|
2612
|
+
@requested = requested
|
2613
|
+
end
|
2614
|
+
end
|
2615
|
+
|
2616
|
+
class AfterpayClearpayPayments < Stripe::RequestParams
|
2617
|
+
# 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.
|
2618
|
+
attr_accessor :requested
|
2619
|
+
|
2620
|
+
def initialize(requested: nil)
|
2621
|
+
@requested = requested
|
2622
|
+
end
|
2623
|
+
end
|
2624
|
+
|
2625
|
+
class AlmaPayments < Stripe::RequestParams
|
2626
|
+
# 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.
|
2627
|
+
attr_accessor :requested
|
2628
|
+
|
2629
|
+
def initialize(requested: nil)
|
2630
|
+
@requested = requested
|
2631
|
+
end
|
2632
|
+
end
|
2633
|
+
|
2634
|
+
class AmazonPayPayments < Stripe::RequestParams
|
2635
|
+
# 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.
|
2636
|
+
attr_accessor :requested
|
2637
|
+
|
2638
|
+
def initialize(requested: nil)
|
2639
|
+
@requested = requested
|
2640
|
+
end
|
2641
|
+
end
|
2642
|
+
|
2643
|
+
class AuBecsDebitPayments < Stripe::RequestParams
|
2644
|
+
# 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.
|
2645
|
+
attr_accessor :requested
|
2646
|
+
|
2647
|
+
def initialize(requested: nil)
|
2648
|
+
@requested = requested
|
2649
|
+
end
|
2650
|
+
end
|
2651
|
+
|
2652
|
+
class AutomaticIndirectTax < Stripe::RequestParams
|
2653
|
+
# 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.
|
2654
|
+
attr_accessor :requested
|
2655
|
+
|
2656
|
+
def initialize(requested: nil)
|
2657
|
+
@requested = requested
|
2658
|
+
end
|
2659
|
+
end
|
2660
|
+
|
2661
|
+
class BacsDebitPayments < Stripe::RequestParams
|
2662
|
+
# 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.
|
2663
|
+
attr_accessor :requested
|
2664
|
+
|
2665
|
+
def initialize(requested: nil)
|
2666
|
+
@requested = requested
|
2667
|
+
end
|
2668
|
+
end
|
2669
|
+
|
2670
|
+
class BancontactPayments < Stripe::RequestParams
|
2671
|
+
# 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.
|
2672
|
+
attr_accessor :requested
|
2673
|
+
|
2674
|
+
def initialize(requested: nil)
|
2675
|
+
@requested = requested
|
2676
|
+
end
|
2677
|
+
end
|
2678
|
+
|
2679
|
+
class BankTransferPayments < Stripe::RequestParams
|
2680
|
+
# 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.
|
2681
|
+
attr_accessor :requested
|
2682
|
+
|
2683
|
+
def initialize(requested: nil)
|
2684
|
+
@requested = requested
|
2685
|
+
end
|
2686
|
+
end
|
2687
|
+
|
2688
|
+
class BlikPayments < Stripe::RequestParams
|
2689
|
+
# 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.
|
2690
|
+
attr_accessor :requested
|
2691
|
+
|
2692
|
+
def initialize(requested: nil)
|
2693
|
+
@requested = requested
|
2694
|
+
end
|
2695
|
+
end
|
2696
|
+
|
2697
|
+
class BoletoPayments < Stripe::RequestParams
|
2698
|
+
# 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.
|
2699
|
+
attr_accessor :requested
|
2700
|
+
|
2701
|
+
def initialize(requested: nil)
|
2702
|
+
@requested = requested
|
2703
|
+
end
|
2704
|
+
end
|
2705
|
+
|
2706
|
+
class CardIssuing < Stripe::RequestParams
|
2707
|
+
# 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.
|
2708
|
+
attr_accessor :requested
|
2709
|
+
|
2710
|
+
def initialize(requested: nil)
|
2711
|
+
@requested = requested
|
2712
|
+
end
|
2713
|
+
end
|
2714
|
+
|
2715
|
+
class CardPayments < Stripe::RequestParams
|
2716
|
+
# 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.
|
2717
|
+
attr_accessor :requested
|
2718
|
+
|
2719
|
+
def initialize(requested: nil)
|
2720
|
+
@requested = requested
|
2721
|
+
end
|
2722
|
+
end
|
2723
|
+
|
2724
|
+
class CartesBancairesPayments < Stripe::RequestParams
|
2725
|
+
# 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.
|
2726
|
+
attr_accessor :requested
|
2727
|
+
|
2728
|
+
def initialize(requested: nil)
|
2729
|
+
@requested = requested
|
2730
|
+
end
|
2731
|
+
end
|
2732
|
+
|
2733
|
+
class CashappPayments < Stripe::RequestParams
|
2734
|
+
# 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.
|
2735
|
+
attr_accessor :requested
|
2736
|
+
|
2737
|
+
def initialize(requested: nil)
|
2738
|
+
@requested = requested
|
2739
|
+
end
|
2740
|
+
end
|
2741
|
+
|
2742
|
+
class EpsPayments < Stripe::RequestParams
|
2743
|
+
# 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.
|
2744
|
+
attr_accessor :requested
|
2745
|
+
|
2746
|
+
def initialize(requested: nil)
|
2747
|
+
@requested = requested
|
2748
|
+
end
|
2749
|
+
end
|
2750
|
+
|
2751
|
+
class FpxPayments < Stripe::RequestParams
|
2752
|
+
# 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.
|
2753
|
+
attr_accessor :requested
|
2754
|
+
|
2755
|
+
def initialize(requested: nil)
|
2756
|
+
@requested = requested
|
2757
|
+
end
|
2758
|
+
end
|
2759
|
+
|
2760
|
+
class GbBankTransferPayments < Stripe::RequestParams
|
2761
|
+
# 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.
|
2762
|
+
attr_accessor :requested
|
2763
|
+
|
2764
|
+
def initialize(requested: nil)
|
2765
|
+
@requested = requested
|
2766
|
+
end
|
2767
|
+
end
|
2768
|
+
|
2769
|
+
class GiropayPayments < Stripe::RequestParams
|
2770
|
+
# 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.
|
2771
|
+
attr_accessor :requested
|
2772
|
+
|
2773
|
+
def initialize(requested: nil)
|
2774
|
+
@requested = requested
|
2775
|
+
end
|
2776
|
+
end
|
2777
|
+
|
2778
|
+
class GopayPayments < Stripe::RequestParams
|
2779
|
+
# 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.
|
2780
|
+
attr_accessor :requested
|
2781
|
+
|
2782
|
+
def initialize(requested: nil)
|
2783
|
+
@requested = requested
|
2784
|
+
end
|
2785
|
+
end
|
2786
|
+
|
2787
|
+
class GrabpayPayments < Stripe::RequestParams
|
2788
|
+
# 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.
|
2789
|
+
attr_accessor :requested
|
2790
|
+
|
2791
|
+
def initialize(requested: nil)
|
2792
|
+
@requested = requested
|
2793
|
+
end
|
2794
|
+
end
|
2795
|
+
|
2796
|
+
class IdBankTransferPayments < Stripe::RequestParams
|
2797
|
+
# 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.
|
2798
|
+
attr_accessor :requested
|
2799
|
+
|
2800
|
+
def initialize(requested: nil)
|
2801
|
+
@requested = requested
|
2802
|
+
end
|
2803
|
+
end
|
2804
|
+
|
2805
|
+
class IdBankTransferPaymentsBca < Stripe::RequestParams
|
2806
|
+
# 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.
|
2807
|
+
attr_accessor :requested
|
2808
|
+
|
2809
|
+
def initialize(requested: nil)
|
2810
|
+
@requested = requested
|
2811
|
+
end
|
2812
|
+
end
|
2813
|
+
|
2814
|
+
class IdealPayments < Stripe::RequestParams
|
2815
|
+
# 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.
|
2816
|
+
attr_accessor :requested
|
2817
|
+
|
2818
|
+
def initialize(requested: nil)
|
2819
|
+
@requested = requested
|
2820
|
+
end
|
2821
|
+
end
|
2822
|
+
|
2823
|
+
class IndiaInternationalPayments < Stripe::RequestParams
|
2824
|
+
# 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.
|
2825
|
+
attr_accessor :requested
|
2826
|
+
|
2827
|
+
def initialize(requested: nil)
|
2828
|
+
@requested = requested
|
2829
|
+
end
|
2830
|
+
end
|
2831
|
+
|
2832
|
+
class JcbPayments < Stripe::RequestParams
|
2833
|
+
# 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.
|
2834
|
+
attr_accessor :requested
|
2835
|
+
|
2836
|
+
def initialize(requested: nil)
|
2837
|
+
@requested = requested
|
2838
|
+
end
|
2839
|
+
end
|
2840
|
+
|
2841
|
+
class JpBankTransferPayments < Stripe::RequestParams
|
2842
|
+
# 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.
|
2843
|
+
attr_accessor :requested
|
2844
|
+
|
2845
|
+
def initialize(requested: nil)
|
2846
|
+
@requested = requested
|
2847
|
+
end
|
2848
|
+
end
|
2849
|
+
|
2850
|
+
class KakaoPayPayments < Stripe::RequestParams
|
2851
|
+
# 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.
|
2852
|
+
attr_accessor :requested
|
2853
|
+
|
2854
|
+
def initialize(requested: nil)
|
2855
|
+
@requested = requested
|
2856
|
+
end
|
2857
|
+
end
|
2858
|
+
|
2859
|
+
class KlarnaPayments < Stripe::RequestParams
|
2860
|
+
# 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.
|
2861
|
+
attr_accessor :requested
|
2862
|
+
|
2863
|
+
def initialize(requested: nil)
|
2864
|
+
@requested = requested
|
2865
|
+
end
|
2866
|
+
end
|
2867
|
+
|
2868
|
+
class KonbiniPayments < Stripe::RequestParams
|
2869
|
+
# 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.
|
2870
|
+
attr_accessor :requested
|
2871
|
+
|
2872
|
+
def initialize(requested: nil)
|
2873
|
+
@requested = requested
|
2874
|
+
end
|
2875
|
+
end
|
2876
|
+
|
2877
|
+
class KrCardPayments < Stripe::RequestParams
|
2878
|
+
# 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.
|
2879
|
+
attr_accessor :requested
|
2880
|
+
|
2881
|
+
def initialize(requested: nil)
|
2882
|
+
@requested = requested
|
2883
|
+
end
|
2884
|
+
end
|
2885
|
+
|
2886
|
+
class LegacyPayments < Stripe::RequestParams
|
2887
|
+
# 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.
|
2888
|
+
attr_accessor :requested
|
2889
|
+
|
2890
|
+
def initialize(requested: nil)
|
2891
|
+
@requested = requested
|
2892
|
+
end
|
2893
|
+
end
|
2894
|
+
|
2895
|
+
class LinkPayments < Stripe::RequestParams
|
2896
|
+
# 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.
|
2897
|
+
attr_accessor :requested
|
2898
|
+
|
2899
|
+
def initialize(requested: nil)
|
2900
|
+
@requested = requested
|
2901
|
+
end
|
2902
|
+
end
|
2903
|
+
|
2904
|
+
class MbWayPayments < Stripe::RequestParams
|
2905
|
+
# 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.
|
2906
|
+
attr_accessor :requested
|
2907
|
+
|
2908
|
+
def initialize(requested: nil)
|
2909
|
+
@requested = requested
|
2910
|
+
end
|
2911
|
+
end
|
2912
|
+
|
2913
|
+
class MobilepayPayments < Stripe::RequestParams
|
2914
|
+
# 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.
|
2915
|
+
attr_accessor :requested
|
2916
|
+
|
2917
|
+
def initialize(requested: nil)
|
2918
|
+
@requested = requested
|
2919
|
+
end
|
2920
|
+
end
|
2921
|
+
|
2922
|
+
class MultibancoPayments < Stripe::RequestParams
|
2923
|
+
# 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.
|
2924
|
+
attr_accessor :requested
|
2925
|
+
|
2926
|
+
def initialize(requested: nil)
|
2927
|
+
@requested = requested
|
2928
|
+
end
|
2929
|
+
end
|
2930
|
+
|
2931
|
+
class MxBankTransferPayments < Stripe::RequestParams
|
2932
|
+
# 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.
|
2933
|
+
attr_accessor :requested
|
2934
|
+
|
2935
|
+
def initialize(requested: nil)
|
2936
|
+
@requested = requested
|
2937
|
+
end
|
2938
|
+
end
|
2939
|
+
|
2940
|
+
class NaverPayPayments < Stripe::RequestParams
|
2941
|
+
# 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.
|
2942
|
+
attr_accessor :requested
|
2943
|
+
|
2944
|
+
def initialize(requested: nil)
|
2945
|
+
@requested = requested
|
2946
|
+
end
|
2947
|
+
end
|
2948
|
+
|
2949
|
+
class OxxoPayments < Stripe::RequestParams
|
2950
|
+
# 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.
|
2951
|
+
attr_accessor :requested
|
2952
|
+
|
2953
|
+
def initialize(requested: nil)
|
2954
|
+
@requested = requested
|
2955
|
+
end
|
2956
|
+
end
|
2957
|
+
|
2958
|
+
class P24Payments < Stripe::RequestParams
|
2959
|
+
# 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.
|
2960
|
+
attr_accessor :requested
|
2961
|
+
|
2962
|
+
def initialize(requested: nil)
|
2963
|
+
@requested = requested
|
2964
|
+
end
|
2965
|
+
end
|
2966
|
+
|
2967
|
+
class PaycoPayments < Stripe::RequestParams
|
2968
|
+
# 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.
|
2969
|
+
attr_accessor :requested
|
2970
|
+
|
2971
|
+
def initialize(requested: nil)
|
2972
|
+
@requested = requested
|
2973
|
+
end
|
2974
|
+
end
|
2975
|
+
|
2976
|
+
class PaynowPayments < Stripe::RequestParams
|
2977
|
+
# 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.
|
2978
|
+
attr_accessor :requested
|
2979
|
+
|
2980
|
+
def initialize(requested: nil)
|
2981
|
+
@requested = requested
|
2982
|
+
end
|
2983
|
+
end
|
2984
|
+
|
2985
|
+
class PaypalPayments < Stripe::RequestParams
|
2986
|
+
# 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.
|
2987
|
+
attr_accessor :requested
|
2988
|
+
|
2989
|
+
def initialize(requested: nil)
|
2990
|
+
@requested = requested
|
2991
|
+
end
|
2992
|
+
end
|
2993
|
+
|
2994
|
+
class PaytoPayments < Stripe::RequestParams
|
2995
|
+
# 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.
|
2996
|
+
attr_accessor :requested
|
2997
|
+
|
2998
|
+
def initialize(requested: nil)
|
2999
|
+
@requested = requested
|
3000
|
+
end
|
3001
|
+
end
|
3002
|
+
|
3003
|
+
class PromptpayPayments < Stripe::RequestParams
|
3004
|
+
# 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.
|
3005
|
+
attr_accessor :requested
|
3006
|
+
|
3007
|
+
def initialize(requested: nil)
|
3008
|
+
@requested = requested
|
3009
|
+
end
|
3010
|
+
end
|
3011
|
+
|
3012
|
+
class QrisPayments < Stripe::RequestParams
|
3013
|
+
# 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.
|
3014
|
+
attr_accessor :requested
|
3015
|
+
|
3016
|
+
def initialize(requested: nil)
|
3017
|
+
@requested = requested
|
3018
|
+
end
|
3019
|
+
end
|
3020
|
+
|
3021
|
+
class RechnungPayments < Stripe::RequestParams
|
3022
|
+
# 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.
|
3023
|
+
attr_accessor :requested
|
3024
|
+
|
3025
|
+
def initialize(requested: nil)
|
3026
|
+
@requested = requested
|
3027
|
+
end
|
3028
|
+
end
|
3029
|
+
|
3030
|
+
class RevolutPayPayments < Stripe::RequestParams
|
3031
|
+
# 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.
|
3032
|
+
attr_accessor :requested
|
3033
|
+
|
3034
|
+
def initialize(requested: nil)
|
3035
|
+
@requested = requested
|
3036
|
+
end
|
3037
|
+
end
|
3038
|
+
|
3039
|
+
class SamsungPayPayments < Stripe::RequestParams
|
3040
|
+
# 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.
|
3041
|
+
attr_accessor :requested
|
3042
|
+
|
3043
|
+
def initialize(requested: nil)
|
3044
|
+
@requested = requested
|
3045
|
+
end
|
3046
|
+
end
|
3047
|
+
|
3048
|
+
class SepaBankTransferPayments < Stripe::RequestParams
|
3049
|
+
# 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.
|
3050
|
+
attr_accessor :requested
|
3051
|
+
|
3052
|
+
def initialize(requested: nil)
|
3053
|
+
@requested = requested
|
3054
|
+
end
|
3055
|
+
end
|
3056
|
+
|
3057
|
+
class SepaDebitPayments < Stripe::RequestParams
|
3058
|
+
# 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.
|
3059
|
+
attr_accessor :requested
|
3060
|
+
|
3061
|
+
def initialize(requested: nil)
|
3062
|
+
@requested = requested
|
3063
|
+
end
|
3064
|
+
end
|
3065
|
+
|
3066
|
+
class ShopeepayPayments < Stripe::RequestParams
|
3067
|
+
# 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.
|
3068
|
+
attr_accessor :requested
|
3069
|
+
|
3070
|
+
def initialize(requested: nil)
|
3071
|
+
@requested = requested
|
3072
|
+
end
|
3073
|
+
end
|
3074
|
+
|
3075
|
+
class SofortPayments < Stripe::RequestParams
|
3076
|
+
# 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.
|
3077
|
+
attr_accessor :requested
|
3078
|
+
|
3079
|
+
def initialize(requested: nil)
|
3080
|
+
@requested = requested
|
3081
|
+
end
|
3082
|
+
end
|
3083
|
+
|
3084
|
+
class SwishPayments < Stripe::RequestParams
|
3085
|
+
# 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.
|
3086
|
+
attr_accessor :requested
|
3087
|
+
|
3088
|
+
def initialize(requested: nil)
|
3089
|
+
@requested = requested
|
3090
|
+
end
|
3091
|
+
end
|
3092
|
+
|
3093
|
+
class TaxReportingUs1099K < Stripe::RequestParams
|
3094
|
+
# 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.
|
3095
|
+
attr_accessor :requested
|
3096
|
+
|
3097
|
+
def initialize(requested: nil)
|
3098
|
+
@requested = requested
|
3099
|
+
end
|
3100
|
+
end
|
3101
|
+
|
3102
|
+
class TaxReportingUs1099Misc < Stripe::RequestParams
|
3103
|
+
# 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.
|
3104
|
+
attr_accessor :requested
|
3105
|
+
|
3106
|
+
def initialize(requested: nil)
|
3107
|
+
@requested = requested
|
3108
|
+
end
|
3109
|
+
end
|
3110
|
+
|
3111
|
+
class Transfers < Stripe::RequestParams
|
3112
|
+
# 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.
|
3113
|
+
attr_accessor :requested
|
3114
|
+
|
3115
|
+
def initialize(requested: nil)
|
3116
|
+
@requested = requested
|
3117
|
+
end
|
3118
|
+
end
|
3119
|
+
|
3120
|
+
class Treasury < Stripe::RequestParams
|
3121
|
+
# 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.
|
3122
|
+
attr_accessor :requested
|
3123
|
+
|
3124
|
+
def initialize(requested: nil)
|
3125
|
+
@requested = requested
|
3126
|
+
end
|
3127
|
+
end
|
3128
|
+
|
3129
|
+
class TreasuryEvolve < Stripe::RequestParams
|
3130
|
+
# 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.
|
3131
|
+
attr_accessor :requested
|
3132
|
+
|
3133
|
+
def initialize(requested: nil)
|
3134
|
+
@requested = requested
|
3135
|
+
end
|
3136
|
+
end
|
3137
|
+
|
3138
|
+
class TreasuryFifthThird < Stripe::RequestParams
|
3139
|
+
# 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.
|
3140
|
+
attr_accessor :requested
|
3141
|
+
|
3142
|
+
def initialize(requested: nil)
|
3143
|
+
@requested = requested
|
3144
|
+
end
|
3145
|
+
end
|
3146
|
+
|
3147
|
+
class TreasuryGoldmanSachs < Stripe::RequestParams
|
3148
|
+
# 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.
|
3149
|
+
attr_accessor :requested
|
3150
|
+
|
3151
|
+
def initialize(requested: nil)
|
3152
|
+
@requested = requested
|
3153
|
+
end
|
3154
|
+
end
|
3155
|
+
|
3156
|
+
class TwintPayments < Stripe::RequestParams
|
3157
|
+
# 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.
|
3158
|
+
attr_accessor :requested
|
3159
|
+
|
3160
|
+
def initialize(requested: nil)
|
3161
|
+
@requested = requested
|
3162
|
+
end
|
3163
|
+
end
|
3164
|
+
|
3165
|
+
class UsBankAccountAchPayments < Stripe::RequestParams
|
3166
|
+
# 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.
|
3167
|
+
attr_accessor :requested
|
3168
|
+
|
3169
|
+
def initialize(requested: nil)
|
3170
|
+
@requested = requested
|
3171
|
+
end
|
3172
|
+
end
|
3173
|
+
|
3174
|
+
class UsBankTransferPayments < Stripe::RequestParams
|
3175
|
+
# 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.
|
3176
|
+
attr_accessor :requested
|
3177
|
+
|
3178
|
+
def initialize(requested: nil)
|
3179
|
+
@requested = requested
|
3180
|
+
end
|
3181
|
+
end
|
3182
|
+
|
3183
|
+
class ZipPayments < Stripe::RequestParams
|
3184
|
+
# 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.
|
3185
|
+
attr_accessor :requested
|
3186
|
+
|
3187
|
+
def initialize(requested: nil)
|
3188
|
+
@requested = requested
|
3189
|
+
end
|
3190
|
+
end
|
3191
|
+
# The acss_debit_payments capability.
|
3192
|
+
attr_accessor :acss_debit_payments
|
3193
|
+
|
3194
|
+
# The affirm_payments capability.
|
3195
|
+
attr_accessor :affirm_payments
|
3196
|
+
|
3197
|
+
# The afterpay_clearpay_payments capability.
|
3198
|
+
attr_accessor :afterpay_clearpay_payments
|
3199
|
+
|
3200
|
+
# The alma_payments capability.
|
3201
|
+
attr_accessor :alma_payments
|
3202
|
+
|
3203
|
+
# The amazon_pay_payments capability.
|
3204
|
+
attr_accessor :amazon_pay_payments
|
3205
|
+
|
3206
|
+
# The au_becs_debit_payments capability.
|
3207
|
+
attr_accessor :au_becs_debit_payments
|
3208
|
+
|
3209
|
+
# The automatic_indirect_tax capability.
|
3210
|
+
attr_accessor :automatic_indirect_tax
|
3211
|
+
|
3212
|
+
# The bacs_debit_payments capability.
|
3213
|
+
attr_accessor :bacs_debit_payments
|
3214
|
+
|
3215
|
+
# The bancontact_payments capability.
|
3216
|
+
attr_accessor :bancontact_payments
|
3217
|
+
|
3218
|
+
# The bank_transfer_payments capability.
|
3219
|
+
attr_accessor :bank_transfer_payments
|
3220
|
+
|
3221
|
+
# The blik_payments capability.
|
3222
|
+
attr_accessor :blik_payments
|
3223
|
+
|
3224
|
+
# The boleto_payments capability.
|
3225
|
+
attr_accessor :boleto_payments
|
3226
|
+
|
3227
|
+
# The card_issuing capability.
|
3228
|
+
attr_accessor :card_issuing
|
3229
|
+
|
3230
|
+
# The card_payments capability.
|
3231
|
+
attr_accessor :card_payments
|
3232
|
+
|
3233
|
+
# The cartes_bancaires_payments capability.
|
3234
|
+
attr_accessor :cartes_bancaires_payments
|
3235
|
+
|
3236
|
+
# The cashapp_payments capability.
|
3237
|
+
attr_accessor :cashapp_payments
|
3238
|
+
|
3239
|
+
# The eps_payments capability.
|
3240
|
+
attr_accessor :eps_payments
|
3241
|
+
|
3242
|
+
# The fpx_payments capability.
|
3243
|
+
attr_accessor :fpx_payments
|
3244
|
+
|
3245
|
+
# The gb_bank_transfer_payments capability.
|
3246
|
+
attr_accessor :gb_bank_transfer_payments
|
3247
|
+
|
3248
|
+
# The giropay_payments capability.
|
3249
|
+
attr_accessor :giropay_payments
|
3250
|
+
|
3251
|
+
# The gopay_payments capability.
|
3252
|
+
attr_accessor :gopay_payments
|
3253
|
+
|
3254
|
+
# The grabpay_payments capability.
|
3255
|
+
attr_accessor :grabpay_payments
|
3256
|
+
|
3257
|
+
# The id_bank_transfer_payments capability.
|
3258
|
+
attr_accessor :id_bank_transfer_payments
|
3259
|
+
|
3260
|
+
# The id_bank_transfer_payments_bca capability.
|
3261
|
+
attr_accessor :id_bank_transfer_payments_bca
|
3262
|
+
|
3263
|
+
# The ideal_payments capability.
|
3264
|
+
attr_accessor :ideal_payments
|
3265
|
+
|
3266
|
+
# The india_international_payments capability.
|
3267
|
+
attr_accessor :india_international_payments
|
3268
|
+
|
3269
|
+
# The jcb_payments capability.
|
3270
|
+
attr_accessor :jcb_payments
|
3271
|
+
|
3272
|
+
# The jp_bank_transfer_payments capability.
|
3273
|
+
attr_accessor :jp_bank_transfer_payments
|
3274
|
+
|
3275
|
+
# The kakao_pay_payments capability.
|
3276
|
+
attr_accessor :kakao_pay_payments
|
3277
|
+
|
3278
|
+
# The klarna_payments capability.
|
3279
|
+
attr_accessor :klarna_payments
|
3280
|
+
|
3281
|
+
# The konbini_payments capability.
|
3282
|
+
attr_accessor :konbini_payments
|
3283
|
+
|
3284
|
+
# The kr_card_payments capability.
|
3285
|
+
attr_accessor :kr_card_payments
|
3286
|
+
|
3287
|
+
# The legacy_payments capability.
|
3288
|
+
attr_accessor :legacy_payments
|
3289
|
+
|
3290
|
+
# The link_payments capability.
|
3291
|
+
attr_accessor :link_payments
|
3292
|
+
|
3293
|
+
# The mb_way_payments capability.
|
3294
|
+
attr_accessor :mb_way_payments
|
3295
|
+
|
3296
|
+
# The mobilepay_payments capability.
|
3297
|
+
attr_accessor :mobilepay_payments
|
3298
|
+
|
3299
|
+
# The multibanco_payments capability.
|
3300
|
+
attr_accessor :multibanco_payments
|
3301
|
+
|
3302
|
+
# The mx_bank_transfer_payments capability.
|
3303
|
+
attr_accessor :mx_bank_transfer_payments
|
3304
|
+
|
3305
|
+
# The naver_pay_payments capability.
|
3306
|
+
attr_accessor :naver_pay_payments
|
3307
|
+
|
3308
|
+
# The oxxo_payments capability.
|
3309
|
+
attr_accessor :oxxo_payments
|
3310
|
+
|
3311
|
+
# The p24_payments capability.
|
3312
|
+
attr_accessor :p24_payments
|
3313
|
+
|
3314
|
+
# The payco_payments capability.
|
3315
|
+
attr_accessor :payco_payments
|
3316
|
+
|
3317
|
+
# The paynow_payments capability.
|
3318
|
+
attr_accessor :paynow_payments
|
3319
|
+
|
3320
|
+
# The paypal_payments capability.
|
3321
|
+
attr_accessor :paypal_payments
|
3322
|
+
|
3323
|
+
# The payto_payments capability.
|
3324
|
+
attr_accessor :payto_payments
|
3325
|
+
|
3326
|
+
# The promptpay_payments capability.
|
3327
|
+
attr_accessor :promptpay_payments
|
3328
|
+
|
3329
|
+
# The qris_payments capability.
|
3330
|
+
attr_accessor :qris_payments
|
3331
|
+
|
3332
|
+
# The rechnung_payments capability.
|
3333
|
+
attr_accessor :rechnung_payments
|
3334
|
+
|
3335
|
+
# The revolut_pay_payments capability.
|
3336
|
+
attr_accessor :revolut_pay_payments
|
3337
|
+
|
3338
|
+
# The samsung_pay_payments capability.
|
3339
|
+
attr_accessor :samsung_pay_payments
|
3340
|
+
|
3341
|
+
# The sepa_bank_transfer_payments capability.
|
3342
|
+
attr_accessor :sepa_bank_transfer_payments
|
3343
|
+
|
3344
|
+
# The sepa_debit_payments capability.
|
3345
|
+
attr_accessor :sepa_debit_payments
|
3346
|
+
|
3347
|
+
# The shopeepay_payments capability.
|
3348
|
+
attr_accessor :shopeepay_payments
|
3349
|
+
|
3350
|
+
# The sofort_payments capability.
|
3351
|
+
attr_accessor :sofort_payments
|
3352
|
+
|
3353
|
+
# The swish_payments capability.
|
3354
|
+
attr_accessor :swish_payments
|
3355
|
+
|
3356
|
+
# The tax_reporting_us_1099_k capability.
|
3357
|
+
attr_accessor :tax_reporting_us_1099_k
|
3358
|
+
|
3359
|
+
# The tax_reporting_us_1099_misc capability.
|
3360
|
+
attr_accessor :tax_reporting_us_1099_misc
|
3361
|
+
|
3362
|
+
# The transfers capability.
|
3363
|
+
attr_accessor :transfers
|
3364
|
+
|
3365
|
+
# The treasury capability.
|
3366
|
+
attr_accessor :treasury
|
3367
|
+
|
3368
|
+
# The treasury_evolve capability.
|
3369
|
+
attr_accessor :treasury_evolve
|
3370
|
+
|
3371
|
+
# The treasury_fifth_third capability.
|
3372
|
+
attr_accessor :treasury_fifth_third
|
3373
|
+
|
3374
|
+
# The treasury_goldman_sachs capability.
|
3375
|
+
attr_accessor :treasury_goldman_sachs
|
3376
|
+
|
3377
|
+
# The twint_payments capability.
|
3378
|
+
attr_accessor :twint_payments
|
3379
|
+
|
3380
|
+
# The us_bank_account_ach_payments capability.
|
3381
|
+
attr_accessor :us_bank_account_ach_payments
|
3382
|
+
|
3383
|
+
# The us_bank_transfer_payments capability.
|
3384
|
+
attr_accessor :us_bank_transfer_payments
|
3385
|
+
|
3386
|
+
# The zip_payments capability.
|
3387
|
+
attr_accessor :zip_payments
|
3388
|
+
|
3389
|
+
def initialize(
|
3390
|
+
acss_debit_payments: nil,
|
3391
|
+
affirm_payments: nil,
|
3392
|
+
afterpay_clearpay_payments: nil,
|
3393
|
+
alma_payments: nil,
|
3394
|
+
amazon_pay_payments: nil,
|
3395
|
+
au_becs_debit_payments: nil,
|
3396
|
+
automatic_indirect_tax: nil,
|
3397
|
+
bacs_debit_payments: nil,
|
3398
|
+
bancontact_payments: nil,
|
3399
|
+
bank_transfer_payments: nil,
|
3400
|
+
blik_payments: nil,
|
3401
|
+
boleto_payments: nil,
|
3402
|
+
card_issuing: nil,
|
3403
|
+
card_payments: nil,
|
3404
|
+
cartes_bancaires_payments: nil,
|
3405
|
+
cashapp_payments: nil,
|
3406
|
+
eps_payments: nil,
|
3407
|
+
fpx_payments: nil,
|
3408
|
+
gb_bank_transfer_payments: nil,
|
3409
|
+
giropay_payments: nil,
|
3410
|
+
gopay_payments: nil,
|
3411
|
+
grabpay_payments: nil,
|
3412
|
+
id_bank_transfer_payments: nil,
|
3413
|
+
id_bank_transfer_payments_bca: nil,
|
3414
|
+
ideal_payments: nil,
|
3415
|
+
india_international_payments: nil,
|
3416
|
+
jcb_payments: nil,
|
3417
|
+
jp_bank_transfer_payments: nil,
|
3418
|
+
kakao_pay_payments: nil,
|
3419
|
+
klarna_payments: nil,
|
3420
|
+
konbini_payments: nil,
|
3421
|
+
kr_card_payments: nil,
|
3422
|
+
legacy_payments: nil,
|
3423
|
+
link_payments: nil,
|
3424
|
+
mb_way_payments: nil,
|
3425
|
+
mobilepay_payments: nil,
|
3426
|
+
multibanco_payments: nil,
|
3427
|
+
mx_bank_transfer_payments: nil,
|
3428
|
+
naver_pay_payments: nil,
|
3429
|
+
oxxo_payments: nil,
|
3430
|
+
p24_payments: nil,
|
3431
|
+
payco_payments: nil,
|
3432
|
+
paynow_payments: nil,
|
3433
|
+
paypal_payments: nil,
|
3434
|
+
payto_payments: nil,
|
3435
|
+
promptpay_payments: nil,
|
3436
|
+
qris_payments: nil,
|
3437
|
+
rechnung_payments: nil,
|
3438
|
+
revolut_pay_payments: nil,
|
3439
|
+
samsung_pay_payments: nil,
|
3440
|
+
sepa_bank_transfer_payments: nil,
|
3441
|
+
sepa_debit_payments: nil,
|
3442
|
+
shopeepay_payments: nil,
|
3443
|
+
sofort_payments: nil,
|
3444
|
+
swish_payments: nil,
|
3445
|
+
tax_reporting_us_1099_k: nil,
|
3446
|
+
tax_reporting_us_1099_misc: nil,
|
3447
|
+
transfers: nil,
|
3448
|
+
treasury: nil,
|
3449
|
+
treasury_evolve: nil,
|
3450
|
+
treasury_fifth_third: nil,
|
3451
|
+
treasury_goldman_sachs: nil,
|
3452
|
+
twint_payments: nil,
|
3453
|
+
us_bank_account_ach_payments: nil,
|
3454
|
+
us_bank_transfer_payments: nil,
|
3455
|
+
zip_payments: nil
|
3456
|
+
)
|
3457
|
+
@acss_debit_payments = acss_debit_payments
|
3458
|
+
@affirm_payments = affirm_payments
|
3459
|
+
@afterpay_clearpay_payments = afterpay_clearpay_payments
|
3460
|
+
@alma_payments = alma_payments
|
3461
|
+
@amazon_pay_payments = amazon_pay_payments
|
3462
|
+
@au_becs_debit_payments = au_becs_debit_payments
|
3463
|
+
@automatic_indirect_tax = automatic_indirect_tax
|
3464
|
+
@bacs_debit_payments = bacs_debit_payments
|
3465
|
+
@bancontact_payments = bancontact_payments
|
3466
|
+
@bank_transfer_payments = bank_transfer_payments
|
3467
|
+
@blik_payments = blik_payments
|
3468
|
+
@boleto_payments = boleto_payments
|
3469
|
+
@card_issuing = card_issuing
|
3470
|
+
@card_payments = card_payments
|
3471
|
+
@cartes_bancaires_payments = cartes_bancaires_payments
|
3472
|
+
@cashapp_payments = cashapp_payments
|
3473
|
+
@eps_payments = eps_payments
|
3474
|
+
@fpx_payments = fpx_payments
|
3475
|
+
@gb_bank_transfer_payments = gb_bank_transfer_payments
|
3476
|
+
@giropay_payments = giropay_payments
|
3477
|
+
@gopay_payments = gopay_payments
|
3478
|
+
@grabpay_payments = grabpay_payments
|
3479
|
+
@id_bank_transfer_payments = id_bank_transfer_payments
|
3480
|
+
@id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
|
3481
|
+
@ideal_payments = ideal_payments
|
3482
|
+
@india_international_payments = india_international_payments
|
3483
|
+
@jcb_payments = jcb_payments
|
3484
|
+
@jp_bank_transfer_payments = jp_bank_transfer_payments
|
3485
|
+
@kakao_pay_payments = kakao_pay_payments
|
3486
|
+
@klarna_payments = klarna_payments
|
3487
|
+
@konbini_payments = konbini_payments
|
3488
|
+
@kr_card_payments = kr_card_payments
|
3489
|
+
@legacy_payments = legacy_payments
|
3490
|
+
@link_payments = link_payments
|
3491
|
+
@mb_way_payments = mb_way_payments
|
3492
|
+
@mobilepay_payments = mobilepay_payments
|
3493
|
+
@multibanco_payments = multibanco_payments
|
3494
|
+
@mx_bank_transfer_payments = mx_bank_transfer_payments
|
3495
|
+
@naver_pay_payments = naver_pay_payments
|
3496
|
+
@oxxo_payments = oxxo_payments
|
3497
|
+
@p24_payments = p24_payments
|
3498
|
+
@payco_payments = payco_payments
|
3499
|
+
@paynow_payments = paynow_payments
|
3500
|
+
@paypal_payments = paypal_payments
|
3501
|
+
@payto_payments = payto_payments
|
3502
|
+
@promptpay_payments = promptpay_payments
|
3503
|
+
@qris_payments = qris_payments
|
3504
|
+
@rechnung_payments = rechnung_payments
|
3505
|
+
@revolut_pay_payments = revolut_pay_payments
|
3506
|
+
@samsung_pay_payments = samsung_pay_payments
|
3507
|
+
@sepa_bank_transfer_payments = sepa_bank_transfer_payments
|
3508
|
+
@sepa_debit_payments = sepa_debit_payments
|
3509
|
+
@shopeepay_payments = shopeepay_payments
|
3510
|
+
@sofort_payments = sofort_payments
|
3511
|
+
@swish_payments = swish_payments
|
3512
|
+
@tax_reporting_us_1099_k = tax_reporting_us_1099_k
|
3513
|
+
@tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
|
3514
|
+
@transfers = transfers
|
3515
|
+
@treasury = treasury
|
3516
|
+
@treasury_evolve = treasury_evolve
|
3517
|
+
@treasury_fifth_third = treasury_fifth_third
|
3518
|
+
@treasury_goldman_sachs = treasury_goldman_sachs
|
3519
|
+
@twint_payments = twint_payments
|
3520
|
+
@us_bank_account_ach_payments = us_bank_account_ach_payments
|
3521
|
+
@us_bank_transfer_payments = us_bank_transfer_payments
|
3522
|
+
@zip_payments = zip_payments
|
3523
|
+
end
|
3524
|
+
end
|
3525
|
+
|
3526
|
+
class Card < Stripe::RequestParams
|
3527
|
+
# Attribute for param field object
|
3528
|
+
attr_accessor :object
|
3529
|
+
|
3530
|
+
# Attribute for param field address_city
|
3531
|
+
attr_accessor :address_city
|
3532
|
+
|
3533
|
+
# Attribute for param field address_country
|
3534
|
+
attr_accessor :address_country
|
3535
|
+
|
3536
|
+
# Attribute for param field address_line1
|
3537
|
+
attr_accessor :address_line1
|
3538
|
+
|
3539
|
+
# Attribute for param field address_line2
|
3540
|
+
attr_accessor :address_line2
|
3541
|
+
|
3542
|
+
# Attribute for param field address_state
|
3543
|
+
attr_accessor :address_state
|
3544
|
+
|
3545
|
+
# Attribute for param field address_zip
|
3546
|
+
attr_accessor :address_zip
|
3547
|
+
|
3548
|
+
# Attribute for param field currency
|
3549
|
+
attr_accessor :currency
|
3550
|
+
|
3551
|
+
# Attribute for param field cvc
|
3552
|
+
attr_accessor :cvc
|
3553
|
+
|
3554
|
+
# Attribute for param field exp_month
|
3555
|
+
attr_accessor :exp_month
|
3556
|
+
|
3557
|
+
# Attribute for param field exp_year
|
3558
|
+
attr_accessor :exp_year
|
3559
|
+
|
3560
|
+
# Attribute for param field name
|
3561
|
+
attr_accessor :name
|
3562
|
+
|
3563
|
+
# Attribute for param field number
|
3564
|
+
attr_accessor :number
|
3565
|
+
|
3566
|
+
# 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.
|
3567
|
+
attr_accessor :metadata
|
3568
|
+
|
3569
|
+
# Attribute for param field default_for_currency
|
3570
|
+
attr_accessor :default_for_currency
|
3571
|
+
|
3572
|
+
def initialize(
|
3573
|
+
object: nil,
|
3574
|
+
address_city: nil,
|
3575
|
+
address_country: nil,
|
3576
|
+
address_line1: nil,
|
3577
|
+
address_line2: nil,
|
3578
|
+
address_state: nil,
|
3579
|
+
address_zip: nil,
|
3580
|
+
currency: nil,
|
3581
|
+
cvc: nil,
|
3582
|
+
exp_month: nil,
|
3583
|
+
exp_year: nil,
|
3584
|
+
name: nil,
|
3585
|
+
number: nil,
|
3586
|
+
metadata: nil,
|
3587
|
+
default_for_currency: nil
|
3588
|
+
)
|
3589
|
+
@object = object
|
3590
|
+
@address_city = address_city
|
3591
|
+
@address_country = address_country
|
3592
|
+
@address_line1 = address_line1
|
3593
|
+
@address_line2 = address_line2
|
3594
|
+
@address_state = address_state
|
3595
|
+
@address_zip = address_zip
|
3596
|
+
@currency = currency
|
3597
|
+
@cvc = cvc
|
3598
|
+
@exp_month = exp_month
|
3599
|
+
@exp_year = exp_year
|
3600
|
+
@name = name
|
3601
|
+
@number = number
|
3602
|
+
@metadata = metadata
|
3603
|
+
@default_for_currency = default_for_currency
|
3604
|
+
end
|
3605
|
+
end
|
3606
|
+
|
3607
|
+
class CardToken < Stripe::RequestParams
|
3608
|
+
# Attribute for param field object
|
3609
|
+
attr_accessor :object
|
3610
|
+
|
3611
|
+
# Attribute for param field currency
|
3612
|
+
attr_accessor :currency
|
3613
|
+
|
3614
|
+
# Attribute for param field token
|
3615
|
+
attr_accessor :token
|
3616
|
+
|
3617
|
+
def initialize(object: nil, currency: nil, token: nil)
|
3618
|
+
@object = object
|
3619
|
+
@currency = currency
|
3620
|
+
@token = token
|
3621
|
+
end
|
3622
|
+
end
|
3623
|
+
|
3624
|
+
class Company < Stripe::RequestParams
|
3625
|
+
class Address < Stripe::RequestParams
|
3626
|
+
# City, district, suburb, town, or village.
|
3627
|
+
attr_accessor :city
|
3628
|
+
|
3629
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
3630
|
+
attr_accessor :country
|
3631
|
+
|
3632
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
3633
|
+
attr_accessor :line1
|
3634
|
+
|
3635
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
3636
|
+
attr_accessor :line2
|
3637
|
+
|
3638
|
+
# ZIP or postal code.
|
3639
|
+
attr_accessor :postal_code
|
3640
|
+
|
3641
|
+
# State, county, province, or region.
|
3642
|
+
attr_accessor :state
|
3643
|
+
|
3644
|
+
def initialize(
|
3645
|
+
city: nil,
|
3646
|
+
country: nil,
|
3647
|
+
line1: nil,
|
3648
|
+
line2: nil,
|
3649
|
+
postal_code: nil,
|
3650
|
+
state: nil
|
3651
|
+
)
|
3652
|
+
@city = city
|
3653
|
+
@country = country
|
3654
|
+
@line1 = line1
|
3655
|
+
@line2 = line2
|
3656
|
+
@postal_code = postal_code
|
3657
|
+
@state = state
|
3658
|
+
end
|
3659
|
+
end
|
3660
|
+
|
3661
|
+
class AddressKana < Stripe::RequestParams
|
3662
|
+
# City or ward.
|
3663
|
+
attr_accessor :city
|
3664
|
+
|
3665
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
3666
|
+
attr_accessor :country
|
3667
|
+
|
3668
|
+
# Block or building number.
|
3669
|
+
attr_accessor :line1
|
3670
|
+
|
3671
|
+
# Building details.
|
3672
|
+
attr_accessor :line2
|
3673
|
+
|
3674
|
+
# Postal code.
|
3675
|
+
attr_accessor :postal_code
|
3676
|
+
|
3677
|
+
# Prefecture.
|
3678
|
+
attr_accessor :state
|
3679
|
+
|
3680
|
+
# Town or cho-me.
|
3681
|
+
attr_accessor :town
|
3682
|
+
|
3683
|
+
def initialize(
|
3684
|
+
city: nil,
|
3685
|
+
country: nil,
|
3686
|
+
line1: nil,
|
3687
|
+
line2: nil,
|
3688
|
+
postal_code: nil,
|
3689
|
+
state: nil,
|
3690
|
+
town: nil
|
3691
|
+
)
|
3692
|
+
@city = city
|
3693
|
+
@country = country
|
3694
|
+
@line1 = line1
|
3695
|
+
@line2 = line2
|
3696
|
+
@postal_code = postal_code
|
3697
|
+
@state = state
|
3698
|
+
@town = town
|
3699
|
+
end
|
3700
|
+
end
|
3701
|
+
|
3702
|
+
class AddressKanji < Stripe::RequestParams
|
3703
|
+
# City or ward.
|
3704
|
+
attr_accessor :city
|
3705
|
+
|
3706
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
3707
|
+
attr_accessor :country
|
3708
|
+
|
3709
|
+
# Block or building number.
|
3710
|
+
attr_accessor :line1
|
3711
|
+
|
3712
|
+
# Building details.
|
3713
|
+
attr_accessor :line2
|
3714
|
+
|
3715
|
+
# Postal code.
|
3716
|
+
attr_accessor :postal_code
|
3717
|
+
|
3718
|
+
# Prefecture.
|
3719
|
+
attr_accessor :state
|
3720
|
+
|
3721
|
+
# Town or cho-me.
|
3722
|
+
attr_accessor :town
|
3723
|
+
|
3724
|
+
def initialize(
|
3725
|
+
city: nil,
|
3726
|
+
country: nil,
|
3727
|
+
line1: nil,
|
3728
|
+
line2: nil,
|
3729
|
+
postal_code: nil,
|
3730
|
+
state: nil,
|
3731
|
+
town: nil
|
3732
|
+
)
|
3733
|
+
@city = city
|
3734
|
+
@country = country
|
3735
|
+
@line1 = line1
|
3736
|
+
@line2 = line2
|
3737
|
+
@postal_code = postal_code
|
3738
|
+
@state = state
|
3739
|
+
@town = town
|
3740
|
+
end
|
3741
|
+
end
|
3742
|
+
|
3743
|
+
class OwnershipDeclaration < Stripe::RequestParams
|
3744
|
+
# The Unix timestamp marking when the beneficial owner attestation was made.
|
3745
|
+
attr_accessor :date
|
3746
|
+
|
3747
|
+
# The IP address from which the beneficial owner attestation was made.
|
3748
|
+
attr_accessor :ip
|
3749
|
+
|
3750
|
+
# The user agent of the browser from which the beneficial owner attestation was made.
|
3751
|
+
attr_accessor :user_agent
|
3752
|
+
|
3753
|
+
def initialize(date: nil, ip: nil, user_agent: nil)
|
3754
|
+
@date = date
|
3755
|
+
@ip = ip
|
3756
|
+
@user_agent = user_agent
|
3757
|
+
end
|
3758
|
+
end
|
3759
|
+
|
3760
|
+
class Verification < Stripe::RequestParams
|
3761
|
+
class Document < Stripe::RequestParams
|
3762
|
+
# The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
3763
|
+
attr_accessor :back
|
3764
|
+
|
3765
|
+
# The front of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
3766
|
+
attr_accessor :front
|
3767
|
+
|
3768
|
+
def initialize(back: nil, front: nil)
|
3769
|
+
@back = back
|
3770
|
+
@front = front
|
3771
|
+
end
|
3772
|
+
end
|
3773
|
+
# A document verifying the business.
|
3774
|
+
attr_accessor :document
|
3775
|
+
|
3776
|
+
def initialize(document: nil)
|
3777
|
+
@document = document
|
3778
|
+
end
|
3779
|
+
end
|
3780
|
+
# The company's primary address.
|
3781
|
+
attr_accessor :address
|
3782
|
+
|
3783
|
+
# The Kana variation of the company's primary address (Japan only).
|
3784
|
+
attr_accessor :address_kana
|
3785
|
+
|
3786
|
+
# The Kanji variation of the company's primary address (Japan only).
|
3787
|
+
attr_accessor :address_kanji
|
3788
|
+
|
3789
|
+
# Whether the company's directors have been provided. Set this Boolean to `true` after creating all the company's directors with [the Persons API](/api/persons) for accounts with a `relationship.director` requirement. This value is not automatically set to `true` after creating directors, so it needs to be updated to indicate all directors have been provided.
|
3790
|
+
attr_accessor :directors_provided
|
3791
|
+
|
3792
|
+
# Whether the company's executives have been provided. Set this Boolean to `true` after creating all the company's executives with [the Persons API](/api/persons) for accounts with a `relationship.executive` requirement.
|
3793
|
+
attr_accessor :executives_provided
|
3794
|
+
|
3795
|
+
# The export license ID number of the company, also referred as Import Export Code (India only).
|
3796
|
+
attr_accessor :export_license_id
|
3797
|
+
|
3798
|
+
# The purpose code to use for export transactions (India only).
|
3799
|
+
attr_accessor :export_purpose_code
|
3800
|
+
|
3801
|
+
# The company's legal name.
|
3802
|
+
attr_accessor :name
|
3803
|
+
|
3804
|
+
# The Kana variation of the company's legal name (Japan only).
|
3805
|
+
attr_accessor :name_kana
|
3806
|
+
|
3807
|
+
# The Kanji variation of the company's legal name (Japan only).
|
3808
|
+
attr_accessor :name_kanji
|
3809
|
+
|
3810
|
+
# Whether the company's owners have been provided. Set this Boolean to `true` after creating all the company's owners with [the Persons API](/api/persons) for accounts with a `relationship.owner` requirement.
|
3811
|
+
attr_accessor :owners_provided
|
3812
|
+
|
3813
|
+
# This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.
|
3814
|
+
attr_accessor :ownership_declaration
|
3815
|
+
|
3816
|
+
# The company's phone number (used for verification).
|
3817
|
+
attr_accessor :phone
|
3818
|
+
|
3819
|
+
# The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes. (Examples are the CIN for companies and LLP IN for partnerships in India, and the Company Registration Number in Hong Kong).
|
3820
|
+
attr_accessor :registration_number
|
3821
|
+
|
3822
|
+
# The category identifying the legal structure of the company or legal entity. See [Business structure](/connect/identity-verification#business-structure) for more details. Pass an empty string to unset this value.
|
3823
|
+
attr_accessor :structure
|
3824
|
+
|
3825
|
+
# The business ID number of the company, as appropriate for the company’s country. (Examples are an Employer ID Number in the U.S., a Business Number in Canada, or a Company Number in the UK.)
|
3826
|
+
attr_accessor :tax_id
|
3827
|
+
|
3828
|
+
# The jurisdiction in which the `tax_id` is registered (Germany-based companies only).
|
3829
|
+
attr_accessor :tax_id_registrar
|
3830
|
+
|
3831
|
+
# The VAT number of the company.
|
3832
|
+
attr_accessor :vat_id
|
3833
|
+
|
3834
|
+
# Information on the verification state of the company.
|
3835
|
+
attr_accessor :verification
|
3836
|
+
|
3837
|
+
def initialize(
|
3838
|
+
address: nil,
|
3839
|
+
address_kana: nil,
|
3840
|
+
address_kanji: nil,
|
3841
|
+
directors_provided: nil,
|
3842
|
+
executives_provided: nil,
|
3843
|
+
export_license_id: nil,
|
3844
|
+
export_purpose_code: nil,
|
3845
|
+
name: nil,
|
3846
|
+
name_kana: nil,
|
3847
|
+
name_kanji: nil,
|
3848
|
+
owners_provided: nil,
|
3849
|
+
ownership_declaration: nil,
|
3850
|
+
phone: nil,
|
3851
|
+
registration_number: nil,
|
3852
|
+
structure: nil,
|
3853
|
+
tax_id: nil,
|
3854
|
+
tax_id_registrar: nil,
|
3855
|
+
vat_id: nil,
|
3856
|
+
verification: nil
|
3857
|
+
)
|
3858
|
+
@address = address
|
3859
|
+
@address_kana = address_kana
|
3860
|
+
@address_kanji = address_kanji
|
3861
|
+
@directors_provided = directors_provided
|
3862
|
+
@executives_provided = executives_provided
|
3863
|
+
@export_license_id = export_license_id
|
3864
|
+
@export_purpose_code = export_purpose_code
|
3865
|
+
@name = name
|
3866
|
+
@name_kana = name_kana
|
3867
|
+
@name_kanji = name_kanji
|
3868
|
+
@owners_provided = owners_provided
|
3869
|
+
@ownership_declaration = ownership_declaration
|
3870
|
+
@phone = phone
|
3871
|
+
@registration_number = registration_number
|
3872
|
+
@structure = structure
|
3873
|
+
@tax_id = tax_id
|
3874
|
+
@tax_id_registrar = tax_id_registrar
|
3875
|
+
@vat_id = vat_id
|
3876
|
+
@verification = verification
|
3877
|
+
end
|
3878
|
+
end
|
3879
|
+
|
3880
|
+
class Controller < Stripe::RequestParams
|
3881
|
+
class Application < Stripe::RequestParams
|
3882
|
+
# Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
|
3883
|
+
attr_accessor :loss_liable
|
3884
|
+
|
3885
|
+
# Whether the controller owns onboarding for this account.
|
3886
|
+
attr_accessor :onboarding_owner
|
3887
|
+
|
3888
|
+
# Whether the controller has pricing controls for this account.
|
3889
|
+
attr_accessor :pricing_controls
|
3890
|
+
|
3891
|
+
def initialize(loss_liable: nil, onboarding_owner: nil, pricing_controls: nil)
|
3892
|
+
@loss_liable = loss_liable
|
3893
|
+
@onboarding_owner = onboarding_owner
|
3894
|
+
@pricing_controls = pricing_controls
|
3895
|
+
end
|
3896
|
+
end
|
3897
|
+
|
3898
|
+
class Dashboard < Stripe::RequestParams
|
3899
|
+
# 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`.
|
3900
|
+
attr_accessor :type
|
3901
|
+
|
3902
|
+
def initialize(type: nil)
|
3903
|
+
@type = type
|
3904
|
+
end
|
3905
|
+
end
|
3906
|
+
|
3907
|
+
class Fees < Stripe::RequestParams
|
3908
|
+
# 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).
|
3909
|
+
attr_accessor :payer
|
3910
|
+
|
3911
|
+
def initialize(payer: nil)
|
3912
|
+
@payer = payer
|
3913
|
+
end
|
3914
|
+
end
|
3915
|
+
|
3916
|
+
class Losses < Stripe::RequestParams
|
3917
|
+
# A value indicating who is liable when this account can't pay back negative balances resulting from payments. Defaults to `stripe`.
|
3918
|
+
attr_accessor :payments
|
3919
|
+
|
3920
|
+
def initialize(payments: nil)
|
3921
|
+
@payments = payments
|
3922
|
+
end
|
3923
|
+
end
|
3924
|
+
|
3925
|
+
class StripeDashboard < Stripe::RequestParams
|
3926
|
+
# 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`.
|
3927
|
+
attr_accessor :type
|
3928
|
+
|
3929
|
+
def initialize(type: nil)
|
3930
|
+
@type = type
|
3931
|
+
end
|
3932
|
+
end
|
3933
|
+
# A hash of configuration describing the Connect application that controls the account.
|
3934
|
+
attr_accessor :application
|
3935
|
+
|
3936
|
+
# Properties of the account's dashboard.
|
3937
|
+
attr_accessor :dashboard
|
3938
|
+
|
3939
|
+
# A hash of configuration for who pays Stripe fees for product usage on this account.
|
3940
|
+
attr_accessor :fees
|
3941
|
+
|
3942
|
+
# A hash of configuration for products that have negative balance liability, and whether Stripe or a Connect application is responsible for them.
|
3943
|
+
attr_accessor :losses
|
3944
|
+
|
3945
|
+
# A value indicating responsibility for collecting updated information when requirements on the account are due or change. Defaults to `stripe`.
|
3946
|
+
attr_accessor :requirement_collection
|
3947
|
+
|
3948
|
+
# A hash of configuration for Stripe-hosted dashboards.
|
3949
|
+
attr_accessor :stripe_dashboard
|
3950
|
+
|
3951
|
+
def initialize(
|
3952
|
+
application: nil,
|
3953
|
+
dashboard: nil,
|
3954
|
+
fees: nil,
|
3955
|
+
losses: nil,
|
3956
|
+
requirement_collection: nil,
|
3957
|
+
stripe_dashboard: nil
|
3958
|
+
)
|
3959
|
+
@application = application
|
3960
|
+
@dashboard = dashboard
|
3961
|
+
@fees = fees
|
3962
|
+
@losses = losses
|
3963
|
+
@requirement_collection = requirement_collection
|
3964
|
+
@stripe_dashboard = stripe_dashboard
|
3965
|
+
end
|
3966
|
+
end
|
3967
|
+
|
3968
|
+
class Documents < Stripe::RequestParams
|
3969
|
+
class BankAccountOwnershipVerification < Stripe::RequestParams
|
3970
|
+
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
3971
|
+
attr_accessor :files
|
3972
|
+
|
3973
|
+
def initialize(files: nil)
|
3974
|
+
@files = files
|
3975
|
+
end
|
3976
|
+
end
|
3977
|
+
|
3978
|
+
class CompanyLicense < Stripe::RequestParams
|
3979
|
+
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
3980
|
+
attr_accessor :files
|
3981
|
+
|
3982
|
+
def initialize(files: nil)
|
3983
|
+
@files = files
|
3984
|
+
end
|
3985
|
+
end
|
3986
|
+
|
3987
|
+
class CompanyMemorandumOfAssociation < Stripe::RequestParams
|
3988
|
+
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
3989
|
+
attr_accessor :files
|
3990
|
+
|
3991
|
+
def initialize(files: nil)
|
3992
|
+
@files = files
|
3993
|
+
end
|
3994
|
+
end
|
3995
|
+
|
3996
|
+
class CompanyMinisterialDecree < Stripe::RequestParams
|
3997
|
+
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
3998
|
+
attr_accessor :files
|
3999
|
+
|
4000
|
+
def initialize(files: nil)
|
4001
|
+
@files = files
|
4002
|
+
end
|
4003
|
+
end
|
4004
|
+
|
4005
|
+
class CompanyRegistrationVerification < Stripe::RequestParams
|
4006
|
+
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
4007
|
+
attr_accessor :files
|
4008
|
+
|
4009
|
+
def initialize(files: nil)
|
4010
|
+
@files = files
|
4011
|
+
end
|
4012
|
+
end
|
4013
|
+
|
4014
|
+
class CompanyTaxIdVerification < Stripe::RequestParams
|
4015
|
+
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
4016
|
+
attr_accessor :files
|
4017
|
+
|
4018
|
+
def initialize(files: nil)
|
4019
|
+
@files = files
|
4020
|
+
end
|
4021
|
+
end
|
4022
|
+
|
4023
|
+
class ProofOfRegistration < Stripe::RequestParams
|
4024
|
+
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
4025
|
+
attr_accessor :files
|
4026
|
+
|
4027
|
+
def initialize(files: nil)
|
4028
|
+
@files = files
|
4029
|
+
end
|
4030
|
+
end
|
4031
|
+
# One or more documents that support the [Bank account ownership verification](https://support.stripe.com/questions/bank-account-ownership-verification) requirement. Must be a document associated with the account’s primary active bank account that displays the last 4 digits of the account number, either a statement or a check.
|
4032
|
+
attr_accessor :bank_account_ownership_verification
|
4033
|
+
|
4034
|
+
# One or more documents that demonstrate proof of a company's license to operate.
|
4035
|
+
attr_accessor :company_license
|
4036
|
+
|
4037
|
+
# One or more documents showing the company's Memorandum of Association.
|
4038
|
+
attr_accessor :company_memorandum_of_association
|
4039
|
+
|
4040
|
+
# (Certain countries only) One or more documents showing the ministerial decree legalizing the company's establishment.
|
4041
|
+
attr_accessor :company_ministerial_decree
|
4042
|
+
|
4043
|
+
# One or more documents that demonstrate proof of a company's registration with the appropriate local authorities.
|
4044
|
+
attr_accessor :company_registration_verification
|
4045
|
+
|
4046
|
+
# One or more documents that demonstrate proof of a company's tax ID.
|
4047
|
+
attr_accessor :company_tax_id_verification
|
4048
|
+
|
4049
|
+
# One or more documents showing the company’s proof of registration with the national business registry.
|
4050
|
+
attr_accessor :proof_of_registration
|
4051
|
+
|
4052
|
+
def initialize(
|
4053
|
+
bank_account_ownership_verification: nil,
|
4054
|
+
company_license: nil,
|
4055
|
+
company_memorandum_of_association: nil,
|
4056
|
+
company_ministerial_decree: nil,
|
4057
|
+
company_registration_verification: nil,
|
4058
|
+
company_tax_id_verification: nil,
|
4059
|
+
proof_of_registration: nil
|
4060
|
+
)
|
4061
|
+
@bank_account_ownership_verification = bank_account_ownership_verification
|
4062
|
+
@company_license = company_license
|
4063
|
+
@company_memorandum_of_association = company_memorandum_of_association
|
4064
|
+
@company_ministerial_decree = company_ministerial_decree
|
4065
|
+
@company_registration_verification = company_registration_verification
|
4066
|
+
@company_tax_id_verification = company_tax_id_verification
|
4067
|
+
@proof_of_registration = proof_of_registration
|
4068
|
+
end
|
4069
|
+
end
|
4070
|
+
|
4071
|
+
class Groups < Stripe::RequestParams
|
4072
|
+
# The group the account is in to determine their payments pricing, and null if the account is on customized pricing. [See the Platform pricing tool documentation](https://stripe.com/docs/connect/platform-pricing-tools) for details.
|
4073
|
+
attr_accessor :payments_pricing
|
4074
|
+
|
4075
|
+
def initialize(payments_pricing: nil)
|
4076
|
+
@payments_pricing = payments_pricing
|
4077
|
+
end
|
4078
|
+
end
|
4079
|
+
|
4080
|
+
class Individual < Stripe::RequestParams
|
4081
|
+
class Address < Stripe::RequestParams
|
4082
|
+
# City, district, suburb, town, or village.
|
4083
|
+
attr_accessor :city
|
4084
|
+
|
4085
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
4086
|
+
attr_accessor :country
|
4087
|
+
|
4088
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
4089
|
+
attr_accessor :line1
|
4090
|
+
|
4091
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
4092
|
+
attr_accessor :line2
|
4093
|
+
|
4094
|
+
# ZIP or postal code.
|
4095
|
+
attr_accessor :postal_code
|
4096
|
+
|
4097
|
+
# State, county, province, or region.
|
4098
|
+
attr_accessor :state
|
4099
|
+
|
4100
|
+
def initialize(
|
4101
|
+
city: nil,
|
4102
|
+
country: nil,
|
4103
|
+
line1: nil,
|
4104
|
+
line2: nil,
|
4105
|
+
postal_code: nil,
|
4106
|
+
state: nil
|
4107
|
+
)
|
4108
|
+
@city = city
|
4109
|
+
@country = country
|
4110
|
+
@line1 = line1
|
4111
|
+
@line2 = line2
|
4112
|
+
@postal_code = postal_code
|
4113
|
+
@state = state
|
4114
|
+
end
|
4115
|
+
end
|
4116
|
+
|
4117
|
+
class AddressKana < Stripe::RequestParams
|
4118
|
+
# City or ward.
|
4119
|
+
attr_accessor :city
|
4120
|
+
|
4121
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
4122
|
+
attr_accessor :country
|
4123
|
+
|
4124
|
+
# Block or building number.
|
4125
|
+
attr_accessor :line1
|
4126
|
+
|
4127
|
+
# Building details.
|
4128
|
+
attr_accessor :line2
|
4129
|
+
|
4130
|
+
# Postal code.
|
4131
|
+
attr_accessor :postal_code
|
4132
|
+
|
4133
|
+
# Prefecture.
|
4134
|
+
attr_accessor :state
|
4135
|
+
|
4136
|
+
# Town or cho-me.
|
4137
|
+
attr_accessor :town
|
4138
|
+
|
4139
|
+
def initialize(
|
4140
|
+
city: nil,
|
4141
|
+
country: nil,
|
4142
|
+
line1: nil,
|
4143
|
+
line2: nil,
|
4144
|
+
postal_code: nil,
|
4145
|
+
state: nil,
|
4146
|
+
town: nil
|
4147
|
+
)
|
4148
|
+
@city = city
|
4149
|
+
@country = country
|
4150
|
+
@line1 = line1
|
4151
|
+
@line2 = line2
|
4152
|
+
@postal_code = postal_code
|
4153
|
+
@state = state
|
4154
|
+
@town = town
|
4155
|
+
end
|
4156
|
+
end
|
4157
|
+
|
4158
|
+
class AddressKanji < Stripe::RequestParams
|
4159
|
+
# City or ward.
|
4160
|
+
attr_accessor :city
|
4161
|
+
|
4162
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
4163
|
+
attr_accessor :country
|
4164
|
+
|
4165
|
+
# Block or building number.
|
4166
|
+
attr_accessor :line1
|
4167
|
+
|
4168
|
+
# Building details.
|
4169
|
+
attr_accessor :line2
|
4170
|
+
|
4171
|
+
# Postal code.
|
4172
|
+
attr_accessor :postal_code
|
4173
|
+
|
4174
|
+
# Prefecture.
|
4175
|
+
attr_accessor :state
|
4176
|
+
|
4177
|
+
# Town or cho-me.
|
4178
|
+
attr_accessor :town
|
4179
|
+
|
4180
|
+
def initialize(
|
4181
|
+
city: nil,
|
4182
|
+
country: nil,
|
4183
|
+
line1: nil,
|
4184
|
+
line2: nil,
|
4185
|
+
postal_code: nil,
|
4186
|
+
state: nil,
|
4187
|
+
town: nil
|
4188
|
+
)
|
4189
|
+
@city = city
|
4190
|
+
@country = country
|
4191
|
+
@line1 = line1
|
4192
|
+
@line2 = line2
|
4193
|
+
@postal_code = postal_code
|
4194
|
+
@state = state
|
4195
|
+
@town = town
|
4196
|
+
end
|
4197
|
+
end
|
4198
|
+
|
4199
|
+
class Dob < Stripe::RequestParams
|
4200
|
+
# The day of birth, between 1 and 31.
|
4201
|
+
attr_accessor :day
|
4202
|
+
|
4203
|
+
# The month of birth, between 1 and 12.
|
4204
|
+
attr_accessor :month
|
4205
|
+
|
4206
|
+
# The four-digit year of birth.
|
4207
|
+
attr_accessor :year
|
4208
|
+
|
4209
|
+
def initialize(day: nil, month: nil, year: nil)
|
4210
|
+
@day = day
|
4211
|
+
@month = month
|
4212
|
+
@year = year
|
4213
|
+
end
|
4214
|
+
end
|
4215
|
+
|
4216
|
+
class RegisteredAddress < Stripe::RequestParams
|
4217
|
+
# City, district, suburb, town, or village.
|
4218
|
+
attr_accessor :city
|
4219
|
+
|
4220
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
4221
|
+
attr_accessor :country
|
4222
|
+
|
4223
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
4224
|
+
attr_accessor :line1
|
4225
|
+
|
4226
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
4227
|
+
attr_accessor :line2
|
4228
|
+
|
4229
|
+
# ZIP or postal code.
|
4230
|
+
attr_accessor :postal_code
|
4231
|
+
|
4232
|
+
# State, county, province, or region.
|
4233
|
+
attr_accessor :state
|
4234
|
+
|
4235
|
+
def initialize(
|
4236
|
+
city: nil,
|
4237
|
+
country: nil,
|
4238
|
+
line1: nil,
|
4239
|
+
line2: nil,
|
4240
|
+
postal_code: nil,
|
4241
|
+
state: nil
|
4242
|
+
)
|
4243
|
+
@city = city
|
4244
|
+
@country = country
|
4245
|
+
@line1 = line1
|
4246
|
+
@line2 = line2
|
4247
|
+
@postal_code = postal_code
|
4248
|
+
@state = state
|
4249
|
+
end
|
4250
|
+
end
|
4251
|
+
|
4252
|
+
class Relationship < Stripe::RequestParams
|
4253
|
+
# Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.
|
4254
|
+
attr_accessor :director
|
4255
|
+
|
4256
|
+
# Whether the person has significant responsibility to control, manage, or direct the organization.
|
4257
|
+
attr_accessor :executive
|
4258
|
+
|
4259
|
+
# Whether the person is an owner of the account’s legal entity.
|
4260
|
+
attr_accessor :owner
|
4261
|
+
|
4262
|
+
# The percent owned by the person of the account's legal entity.
|
4263
|
+
attr_accessor :percent_ownership
|
4264
|
+
|
4265
|
+
# The person's title (e.g., CEO, Support Engineer).
|
4266
|
+
attr_accessor :title
|
4267
|
+
|
4268
|
+
def initialize(
|
4269
|
+
director: nil,
|
4270
|
+
executive: nil,
|
4271
|
+
owner: nil,
|
4272
|
+
percent_ownership: nil,
|
4273
|
+
title: nil
|
4274
|
+
)
|
4275
|
+
@director = director
|
4276
|
+
@executive = executive
|
4277
|
+
@owner = owner
|
4278
|
+
@percent_ownership = percent_ownership
|
4279
|
+
@title = title
|
4280
|
+
end
|
4281
|
+
end
|
4282
|
+
|
4283
|
+
class Verification < Stripe::RequestParams
|
4284
|
+
class AdditionalDocument < Stripe::RequestParams
|
4285
|
+
# The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
4286
|
+
attr_accessor :back
|
4287
|
+
|
4288
|
+
# The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
4289
|
+
attr_accessor :front
|
4290
|
+
|
4291
|
+
def initialize(back: nil, front: nil)
|
4292
|
+
@back = back
|
4293
|
+
@front = front
|
4294
|
+
end
|
4295
|
+
end
|
4296
|
+
|
4297
|
+
class Document < Stripe::RequestParams
|
4298
|
+
# The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
4299
|
+
attr_accessor :back
|
4300
|
+
|
4301
|
+
# The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
4302
|
+
attr_accessor :front
|
4303
|
+
|
4304
|
+
def initialize(back: nil, front: nil)
|
4305
|
+
@back = back
|
4306
|
+
@front = front
|
4307
|
+
end
|
4308
|
+
end
|
4309
|
+
# A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
|
4310
|
+
attr_accessor :additional_document
|
4311
|
+
|
4312
|
+
# An identifying document, either a passport or local ID card.
|
4313
|
+
attr_accessor :document
|
4314
|
+
|
4315
|
+
def initialize(additional_document: nil, document: nil)
|
4316
|
+
@additional_document = additional_document
|
4317
|
+
@document = document
|
4318
|
+
end
|
4319
|
+
end
|
4320
|
+
# The individual's primary address.
|
4321
|
+
attr_accessor :address
|
4322
|
+
|
4323
|
+
# The Kana variation of the individual's primary address (Japan only).
|
4324
|
+
attr_accessor :address_kana
|
4325
|
+
|
4326
|
+
# The Kanji variation of the individual's primary address (Japan only).
|
4327
|
+
attr_accessor :address_kanji
|
4328
|
+
|
4329
|
+
# The individual's date of birth.
|
4330
|
+
attr_accessor :dob
|
4331
|
+
|
4332
|
+
# The individual's email address.
|
4333
|
+
attr_accessor :email
|
4334
|
+
|
4335
|
+
# The individual's first name.
|
4336
|
+
attr_accessor :first_name
|
4337
|
+
|
4338
|
+
# The Kana variation of the individual's first name (Japan only).
|
4339
|
+
attr_accessor :first_name_kana
|
4340
|
+
|
4341
|
+
# The Kanji variation of the individual's first name (Japan only).
|
4342
|
+
attr_accessor :first_name_kanji
|
4343
|
+
|
4344
|
+
# A list of alternate names or aliases that the individual is known by.
|
4345
|
+
attr_accessor :full_name_aliases
|
4346
|
+
|
4347
|
+
# The individual's gender
|
4348
|
+
attr_accessor :gender
|
4349
|
+
|
4350
|
+
# The government-issued ID number of the individual, as appropriate for the representative's country. (Examples are a Social Security Number in the U.S., or a Social Insurance Number in Canada). Instead of the number itself, you can also provide a [PII token created with Stripe.js](/js/tokens/create_token?type=pii).
|
4351
|
+
attr_accessor :id_number
|
4352
|
+
|
4353
|
+
# The government-issued secondary ID number of the individual, as appropriate for the representative's country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token created with Stripe.js](/js/tokens/create_token?type=pii).
|
4354
|
+
attr_accessor :id_number_secondary
|
4355
|
+
|
4356
|
+
# The individual's last name.
|
4357
|
+
attr_accessor :last_name
|
4358
|
+
|
4359
|
+
# The Kana variation of the individual's last name (Japan only).
|
4360
|
+
attr_accessor :last_name_kana
|
4361
|
+
|
4362
|
+
# The Kanji variation of the individual's last name (Japan only).
|
4363
|
+
attr_accessor :last_name_kanji
|
4364
|
+
|
4365
|
+
# The individual's maiden name.
|
4366
|
+
attr_accessor :maiden_name
|
4367
|
+
|
4368
|
+
# 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`.
|
4369
|
+
attr_accessor :metadata
|
4370
|
+
|
4371
|
+
# The individual's phone number.
|
4372
|
+
attr_accessor :phone
|
4373
|
+
|
4374
|
+
# Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction.
|
4375
|
+
attr_accessor :political_exposure
|
4376
|
+
|
4377
|
+
# The individual's registered address.
|
4378
|
+
attr_accessor :registered_address
|
4379
|
+
|
4380
|
+
# Describes the person’s relationship to the account.
|
4381
|
+
attr_accessor :relationship
|
4382
|
+
|
4383
|
+
# The last four digits of the individual's Social Security Number (U.S. only).
|
4384
|
+
attr_accessor :ssn_last_4
|
4385
|
+
|
4386
|
+
# The individual's verification document information.
|
4387
|
+
attr_accessor :verification
|
4388
|
+
|
4389
|
+
def initialize(
|
4390
|
+
address: nil,
|
4391
|
+
address_kana: nil,
|
4392
|
+
address_kanji: nil,
|
4393
|
+
dob: nil,
|
4394
|
+
email: nil,
|
4395
|
+
first_name: nil,
|
4396
|
+
first_name_kana: nil,
|
4397
|
+
first_name_kanji: nil,
|
4398
|
+
full_name_aliases: nil,
|
4399
|
+
gender: nil,
|
4400
|
+
id_number: nil,
|
4401
|
+
id_number_secondary: nil,
|
4402
|
+
last_name: nil,
|
4403
|
+
last_name_kana: nil,
|
4404
|
+
last_name_kanji: nil,
|
4405
|
+
maiden_name: nil,
|
4406
|
+
metadata: nil,
|
4407
|
+
phone: nil,
|
4408
|
+
political_exposure: nil,
|
4409
|
+
registered_address: nil,
|
4410
|
+
relationship: nil,
|
4411
|
+
ssn_last_4: nil,
|
4412
|
+
verification: nil
|
4413
|
+
)
|
4414
|
+
@address = address
|
4415
|
+
@address_kana = address_kana
|
4416
|
+
@address_kanji = address_kanji
|
4417
|
+
@dob = dob
|
4418
|
+
@email = email
|
4419
|
+
@first_name = first_name
|
4420
|
+
@first_name_kana = first_name_kana
|
4421
|
+
@first_name_kanji = first_name_kanji
|
4422
|
+
@full_name_aliases = full_name_aliases
|
4423
|
+
@gender = gender
|
4424
|
+
@id_number = id_number
|
4425
|
+
@id_number_secondary = id_number_secondary
|
4426
|
+
@last_name = last_name
|
4427
|
+
@last_name_kana = last_name_kana
|
4428
|
+
@last_name_kanji = last_name_kanji
|
4429
|
+
@maiden_name = maiden_name
|
4430
|
+
@metadata = metadata
|
4431
|
+
@phone = phone
|
4432
|
+
@political_exposure = political_exposure
|
4433
|
+
@registered_address = registered_address
|
4434
|
+
@relationship = relationship
|
4435
|
+
@ssn_last_4 = ssn_last_4
|
4436
|
+
@verification = verification
|
4437
|
+
end
|
4438
|
+
end
|
4439
|
+
|
4440
|
+
class RiskControls < Stripe::RequestParams
|
4441
|
+
class Charges < Stripe::RequestParams
|
4442
|
+
# To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
4443
|
+
# There can be a delay before the risk control is paused or unpaused.
|
4444
|
+
attr_accessor :pause_requested
|
4445
|
+
|
4446
|
+
def initialize(pause_requested: nil)
|
4447
|
+
@pause_requested = pause_requested
|
4448
|
+
end
|
4449
|
+
end
|
4450
|
+
|
4451
|
+
class Payouts < Stripe::RequestParams
|
4452
|
+
# To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
4453
|
+
# There can be a delay before the risk control is paused or unpaused.
|
4454
|
+
attr_accessor :pause_requested
|
4455
|
+
|
4456
|
+
def initialize(pause_requested: nil)
|
4457
|
+
@pause_requested = pause_requested
|
4458
|
+
end
|
4459
|
+
end
|
4460
|
+
# 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).
|
4461
|
+
attr_accessor :charges
|
4462
|
+
|
4463
|
+
# 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).
|
4464
|
+
attr_accessor :payouts
|
4465
|
+
|
4466
|
+
def initialize(charges: nil, payouts: nil)
|
4467
|
+
@charges = charges
|
4468
|
+
@payouts = payouts
|
4469
|
+
end
|
4470
|
+
end
|
4471
|
+
|
4472
|
+
class Settings < Stripe::RequestParams
|
4473
|
+
class BacsDebitPayments < Stripe::RequestParams
|
4474
|
+
# 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.
|
4475
|
+
attr_accessor :display_name
|
4476
|
+
|
4477
|
+
def initialize(display_name: nil)
|
4478
|
+
@display_name = display_name
|
4479
|
+
end
|
4480
|
+
end
|
4481
|
+
|
4482
|
+
class BankBcaOnboarding < Stripe::RequestParams
|
4483
|
+
# Bank BCA business account holder name
|
4484
|
+
attr_accessor :account_holder_name
|
4485
|
+
|
4486
|
+
# Bank BCA business account number
|
4487
|
+
attr_accessor :business_account_number
|
4488
|
+
|
4489
|
+
def initialize(account_holder_name: nil, business_account_number: nil)
|
4490
|
+
@account_holder_name = account_holder_name
|
4491
|
+
@business_account_number = business_account_number
|
4492
|
+
end
|
4493
|
+
end
|
4494
|
+
|
4495
|
+
class Branding < Stripe::RequestParams
|
4496
|
+
# (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.
|
4497
|
+
attr_accessor :icon
|
4498
|
+
|
4499
|
+
# (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) A logo for the account that will be used in Checkout instead of the icon and without the account's name next to it if provided. Must be at least 128px x 128px.
|
4500
|
+
attr_accessor :logo
|
4501
|
+
|
4502
|
+
# A CSS hex color value representing the primary branding color for this account.
|
4503
|
+
attr_accessor :primary_color
|
4504
|
+
|
4505
|
+
# A CSS hex color value representing the secondary branding color for this account.
|
4506
|
+
attr_accessor :secondary_color
|
4507
|
+
|
4508
|
+
def initialize(icon: nil, logo: nil, primary_color: nil, secondary_color: nil)
|
4509
|
+
@icon = icon
|
4510
|
+
@logo = logo
|
4511
|
+
@primary_color = primary_color
|
4512
|
+
@secondary_color = secondary_color
|
4513
|
+
end
|
4514
|
+
end
|
4515
|
+
|
4516
|
+
class Capital < Stripe::RequestParams
|
4517
|
+
# Per-currency mapping of user-selected destination accounts used to pay out loans.
|
4518
|
+
attr_accessor :payout_destination
|
4519
|
+
|
4520
|
+
# Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
4521
|
+
attr_accessor :payout_destination_selector
|
4522
|
+
|
4523
|
+
def initialize(payout_destination: nil, payout_destination_selector: nil)
|
4524
|
+
@payout_destination = payout_destination
|
4525
|
+
@payout_destination_selector = payout_destination_selector
|
4526
|
+
end
|
4527
|
+
end
|
4528
|
+
|
4529
|
+
class CardIssuing < Stripe::RequestParams
|
4530
|
+
class TosAcceptance < Stripe::RequestParams
|
4531
|
+
# The Unix timestamp marking when the account representative accepted the service agreement.
|
4532
|
+
attr_accessor :date
|
4533
|
+
|
4534
|
+
# The IP address from which the account representative accepted the service agreement.
|
4535
|
+
attr_accessor :ip
|
4536
|
+
|
4537
|
+
# The user agent of the browser from which the account representative accepted the service agreement.
|
4538
|
+
attr_accessor :user_agent
|
4539
|
+
|
4540
|
+
def initialize(date: nil, ip: nil, user_agent: nil)
|
4541
|
+
@date = date
|
4542
|
+
@ip = ip
|
4543
|
+
@user_agent = user_agent
|
4544
|
+
end
|
4545
|
+
end
|
4546
|
+
# Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](/issuing/connect/tos_acceptance).
|
4547
|
+
attr_accessor :tos_acceptance
|
4548
|
+
|
4549
|
+
def initialize(tos_acceptance: nil)
|
4550
|
+
@tos_acceptance = tos_acceptance
|
4551
|
+
end
|
4552
|
+
end
|
4553
|
+
|
4554
|
+
class CardPayments < Stripe::RequestParams
|
4555
|
+
class DeclineOn < Stripe::RequestParams
|
4556
|
+
# Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification.
|
4557
|
+
attr_accessor :avs_failure
|
4558
|
+
|
4559
|
+
# Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification.
|
4560
|
+
attr_accessor :cvc_failure
|
4561
|
+
|
4562
|
+
def initialize(avs_failure: nil, cvc_failure: nil)
|
4563
|
+
@avs_failure = avs_failure
|
4564
|
+
@cvc_failure = cvc_failure
|
4565
|
+
end
|
4566
|
+
end
|
4567
|
+
# Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge.
|
4568
|
+
attr_accessor :decline_on
|
4569
|
+
|
4570
|
+
# The default text that appears on credit card statements when a charge is made. This field prefixes any dynamic `statement_descriptor` specified on the charge. `statement_descriptor_prefix` is useful for maximizing descriptor space for the dynamic portion.
|
4571
|
+
attr_accessor :statement_descriptor_prefix
|
4572
|
+
|
4573
|
+
# The Kana variation of the default text that appears on credit card statements when a charge is made (Japan only). This field prefixes any dynamic `statement_descriptor_suffix_kana` specified on the charge. `statement_descriptor_prefix_kana` is useful for maximizing descriptor space for the dynamic portion.
|
4574
|
+
attr_accessor :statement_descriptor_prefix_kana
|
4575
|
+
|
4576
|
+
# The Kanji variation of the default text that appears on credit card statements when a charge is made (Japan only). This field prefixes any dynamic `statement_descriptor_suffix_kanji` specified on the charge. `statement_descriptor_prefix_kanji` is useful for maximizing descriptor space for the dynamic portion.
|
4577
|
+
attr_accessor :statement_descriptor_prefix_kanji
|
4578
|
+
|
4579
|
+
def initialize(
|
4580
|
+
decline_on: nil,
|
4581
|
+
statement_descriptor_prefix: nil,
|
4582
|
+
statement_descriptor_prefix_kana: nil,
|
4583
|
+
statement_descriptor_prefix_kanji: nil
|
4584
|
+
)
|
4585
|
+
@decline_on = decline_on
|
4586
|
+
@statement_descriptor_prefix = statement_descriptor_prefix
|
4587
|
+
@statement_descriptor_prefix_kana = statement_descriptor_prefix_kana
|
4588
|
+
@statement_descriptor_prefix_kanji = statement_descriptor_prefix_kanji
|
4589
|
+
end
|
4590
|
+
end
|
4591
|
+
|
4592
|
+
class Payments < Stripe::RequestParams
|
4593
|
+
# The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a `statement_descriptor_prefix`, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the `statement_descriptor` text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the [account settings documentation](https://docs.stripe.com/get-started/account/statement-descriptors).
|
4594
|
+
attr_accessor :statement_descriptor
|
4595
|
+
|
4596
|
+
# The Kana variation of `statement_descriptor` used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).
|
4597
|
+
attr_accessor :statement_descriptor_kana
|
4598
|
+
|
4599
|
+
# The Kanji variation of `statement_descriptor` used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).
|
4600
|
+
attr_accessor :statement_descriptor_kanji
|
4601
|
+
|
4602
|
+
def initialize(
|
4603
|
+
statement_descriptor: nil,
|
4604
|
+
statement_descriptor_kana: nil,
|
4605
|
+
statement_descriptor_kanji: nil
|
4606
|
+
)
|
4607
|
+
@statement_descriptor = statement_descriptor
|
4608
|
+
@statement_descriptor_kana = statement_descriptor_kana
|
4609
|
+
@statement_descriptor_kanji = statement_descriptor_kanji
|
4610
|
+
end
|
4611
|
+
end
|
4612
|
+
|
4613
|
+
class Payouts < Stripe::RequestParams
|
4614
|
+
class Schedule < Stripe::RequestParams
|
4615
|
+
# The number of days charge funds are held before being paid out. May also be set to `minimum`, representing the lowest available value for the account country. Default is `minimum`. The `delay_days` parameter remains at the last configured value if `interval` is `manual`. [Learn more about controlling payout delay days](/connect/manage-payout-schedule).
|
4616
|
+
attr_accessor :delay_days
|
4617
|
+
|
4618
|
+
# How frequently available funds are paid out. One of: `daily`, `manual`, `weekly`, or `monthly`. Default is `daily`.
|
4619
|
+
attr_accessor :interval
|
4620
|
+
|
4621
|
+
# The day of the month when available funds are paid out, specified as a number between 1--31. Payouts nominally scheduled between the 29th and 31st of the month are instead sent on the last day of a shorter month. Required and applicable only if `interval` is `monthly`.
|
4622
|
+
attr_accessor :monthly_anchor
|
4623
|
+
|
4624
|
+
# The day of the week when available funds are paid out, specified as `monday`, `tuesday`, etc. (required and applicable only if `interval` is `weekly`.)
|
4625
|
+
attr_accessor :weekly_anchor
|
4626
|
+
|
4627
|
+
def initialize(delay_days: nil, interval: nil, monthly_anchor: nil, weekly_anchor: nil)
|
4628
|
+
@delay_days = delay_days
|
4629
|
+
@interval = interval
|
4630
|
+
@monthly_anchor = monthly_anchor
|
4631
|
+
@weekly_anchor = weekly_anchor
|
4632
|
+
end
|
4633
|
+
end
|
4634
|
+
# A Boolean indicating whether Stripe should try to reclaim negative balances from an attached bank account. For details, see [Understanding Connect Account Balances](/connect/account-balances).
|
4635
|
+
attr_accessor :debit_negative_balances
|
4636
|
+
|
4637
|
+
# Details on when funds from charges are available, and when they are paid out to an external account. For details, see our [Setting Bank and Debit Card Payouts](/connect/bank-transfers#payout-information) documentation.
|
4638
|
+
attr_accessor :schedule
|
4639
|
+
|
4640
|
+
# The text that appears on the bank account statement for payouts. If not set, this defaults to the platform's bank descriptor as set in the Dashboard.
|
4641
|
+
attr_accessor :statement_descriptor
|
4642
|
+
|
4643
|
+
def initialize(debit_negative_balances: nil, schedule: nil, statement_descriptor: nil)
|
4644
|
+
@debit_negative_balances = debit_negative_balances
|
4645
|
+
@schedule = schedule
|
4646
|
+
@statement_descriptor = statement_descriptor
|
4647
|
+
end
|
4648
|
+
end
|
4649
|
+
|
4650
|
+
class TaxForms < Stripe::RequestParams
|
4651
|
+
# Whether the account opted out of receiving their tax forms by postal delivery.
|
4652
|
+
attr_accessor :consented_to_paperless_delivery
|
4653
|
+
|
4654
|
+
def initialize(consented_to_paperless_delivery: nil)
|
4655
|
+
@consented_to_paperless_delivery = consented_to_paperless_delivery
|
4656
|
+
end
|
4657
|
+
end
|
4658
|
+
|
4659
|
+
class Treasury < Stripe::RequestParams
|
4660
|
+
class TosAcceptance < Stripe::RequestParams
|
4661
|
+
# The Unix timestamp marking when the account representative accepted the service agreement.
|
4662
|
+
attr_accessor :date
|
4663
|
+
|
4664
|
+
# The IP address from which the account representative accepted the service agreement.
|
4665
|
+
attr_accessor :ip
|
4666
|
+
|
4667
|
+
# The user agent of the browser from which the account representative accepted the service agreement.
|
4668
|
+
attr_accessor :user_agent
|
4669
|
+
|
4670
|
+
def initialize(date: nil, ip: nil, user_agent: nil)
|
4671
|
+
@date = date
|
4672
|
+
@ip = ip
|
4673
|
+
@user_agent = user_agent
|
4674
|
+
end
|
4675
|
+
end
|
4676
|
+
# Details on the account's acceptance of the Stripe Treasury Services Agreement.
|
4677
|
+
attr_accessor :tos_acceptance
|
4678
|
+
|
4679
|
+
def initialize(tos_acceptance: nil)
|
4680
|
+
@tos_acceptance = tos_acceptance
|
4681
|
+
end
|
4682
|
+
end
|
4683
|
+
# Settings specific to Bacs Direct Debit.
|
4684
|
+
attr_accessor :bacs_debit_payments
|
4685
|
+
|
4686
|
+
# Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
4687
|
+
attr_accessor :bank_bca_onboarding
|
4688
|
+
|
4689
|
+
# Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
4690
|
+
attr_accessor :branding
|
4691
|
+
|
4692
|
+
# Settings specific to the account's use of the Capital product.
|
4693
|
+
attr_accessor :capital
|
4694
|
+
|
4695
|
+
# Settings specific to the account's use of the Card Issuing product.
|
4696
|
+
attr_accessor :card_issuing
|
4697
|
+
|
4698
|
+
# Settings specific to card charging on the account.
|
4699
|
+
attr_accessor :card_payments
|
4700
|
+
|
4701
|
+
# Settings that apply across payment methods for charging on the account.
|
4702
|
+
attr_accessor :payments
|
4703
|
+
|
4704
|
+
# Settings specific to the account's payouts.
|
4705
|
+
attr_accessor :payouts
|
4706
|
+
|
4707
|
+
# Settings specific to the account's tax forms.
|
4708
|
+
attr_accessor :tax_forms
|
4709
|
+
|
4710
|
+
# Settings specific to the account's Treasury FinancialAccounts.
|
4711
|
+
attr_accessor :treasury
|
4712
|
+
|
4713
|
+
def initialize(
|
4714
|
+
bacs_debit_payments: nil,
|
4715
|
+
bank_bca_onboarding: nil,
|
4716
|
+
branding: nil,
|
4717
|
+
capital: nil,
|
4718
|
+
card_issuing: nil,
|
4719
|
+
card_payments: nil,
|
4720
|
+
payments: nil,
|
4721
|
+
payouts: nil,
|
4722
|
+
tax_forms: nil,
|
4723
|
+
treasury: nil
|
4724
|
+
)
|
4725
|
+
@bacs_debit_payments = bacs_debit_payments
|
4726
|
+
@bank_bca_onboarding = bank_bca_onboarding
|
4727
|
+
@branding = branding
|
4728
|
+
@capital = capital
|
4729
|
+
@card_issuing = card_issuing
|
4730
|
+
@card_payments = card_payments
|
4731
|
+
@payments = payments
|
4732
|
+
@payouts = payouts
|
4733
|
+
@tax_forms = tax_forms
|
4734
|
+
@treasury = treasury
|
4735
|
+
end
|
4736
|
+
end
|
4737
|
+
|
4738
|
+
class TosAcceptance < Stripe::RequestParams
|
4739
|
+
# The Unix timestamp marking when the account representative accepted their service agreement.
|
4740
|
+
attr_accessor :date
|
4741
|
+
|
4742
|
+
# The IP address from which the account representative accepted their service agreement.
|
4743
|
+
attr_accessor :ip
|
4744
|
+
|
4745
|
+
# The user's service agreement type.
|
4746
|
+
attr_accessor :service_agreement
|
4747
|
+
|
4748
|
+
# The user agent of the browser from which the account representative accepted their service agreement.
|
4749
|
+
attr_accessor :user_agent
|
4750
|
+
|
4751
|
+
def initialize(date: nil, ip: nil, service_agreement: nil, user_agent: nil)
|
4752
|
+
@date = date
|
4753
|
+
@ip = ip
|
4754
|
+
@service_agreement = service_agreement
|
4755
|
+
@user_agent = user_agent
|
4756
|
+
end
|
4757
|
+
end
|
4758
|
+
# An [account token](https://stripe.com/docs/api#create_account_token), used to securely provide details to the account.
|
4759
|
+
attr_accessor :account_token
|
4760
|
+
|
4761
|
+
# Business information about the account.
|
4762
|
+
attr_accessor :business_profile
|
4763
|
+
|
4764
|
+
# The business type. Once you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), 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.
|
4765
|
+
attr_accessor :business_type
|
4766
|
+
|
4767
|
+
# Each key of the dictionary represents a capability, and each capability
|
4768
|
+
# maps to its settings (for example, whether it has been requested or not). Each
|
4769
|
+
# capability is inactive until you have provided its specific
|
4770
|
+
# requirements and Stripe has verified them. An account might have some
|
4771
|
+
# of its requested capabilities be active and some be inactive.
|
4772
|
+
#
|
4773
|
+
# Required when [account.controller.stripe_dashboard.type](/api/accounts/create#create_account-controller-dashboard-type)
|
4774
|
+
# is `none`, which includes Custom accounts.
|
4775
|
+
attr_accessor :capabilities
|
4776
|
+
|
4777
|
+
# Information about the company or business. This field is available for any `business_type`. Once you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), 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.
|
4778
|
+
attr_accessor :company
|
4779
|
+
|
4780
|
+
# A hash of configuration describing the account controller's attributes.
|
4781
|
+
attr_accessor :controller
|
4782
|
+
|
4783
|
+
# The country in which the account holder resides, or in which the business is legally established. This should be an ISO 3166-1 alpha-2 country code. For example, if you are in the United States and the business for which you're creating an account is legally represented in Canada, you would use `CA` as the country for the account being created. Available countries include [Stripe's global markets](https://stripe.com/global) as well as countries where [cross-border payouts](https://stripe.com/docs/connect/cross-border-payouts) are supported.
|
4784
|
+
attr_accessor :country
|
4785
|
+
|
4786
|
+
# Three-letter ISO currency code representing the default currency for the account. This must be a currency that [Stripe supports in the account's country](https://docs.stripe.com/payouts).
|
4787
|
+
attr_accessor :default_currency
|
4788
|
+
|
4789
|
+
# Documents that may be submitted to satisfy various informational requests.
|
4790
|
+
attr_accessor :documents
|
4791
|
+
|
4792
|
+
# The email address of the account holder. This is only to make the account easier to identify to you. If [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts, Stripe doesn't email the account without your consent.
|
4793
|
+
attr_accessor :email
|
4794
|
+
|
4795
|
+
# Specifies which fields in the response should be expanded.
|
4796
|
+
attr_accessor :expand
|
4797
|
+
|
4798
|
+
# A card or bank account to attach to the account for receiving [payouts](/connect/bank-debit-card-payouts) (you won’t be able to use it for top-ups). You can provide either a token, like the ones returned by [Stripe.js](/js), or a dictionary, as documented in the `external_account` parameter for [bank account](/api#account_create_bank_account) creation. <br><br>By default, providing an external account sets it as the new default external account for its currency, and deletes the old default if one exists. To add additional external accounts without replacing the existing default for the currency, use the [bank account](/api#account_create_bank_account) or [card creation](/api#account_create_card) APIs. After you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), 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.
|
4799
|
+
attr_accessor :external_account
|
4800
|
+
|
4801
|
+
# A hash of account group type to tokens. These are account groups this account should be added to.
|
4802
|
+
attr_accessor :groups
|
4803
|
+
|
4804
|
+
# Information about the person represented by the account. This field is null unless `business_type` is set to `individual`. Once you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), 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.
|
4805
|
+
attr_accessor :individual
|
4806
|
+
|
4807
|
+
# 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`.
|
4808
|
+
attr_accessor :metadata
|
4809
|
+
|
4810
|
+
# A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
|
4811
|
+
attr_accessor :risk_controls
|
4812
|
+
|
4813
|
+
# Options for customizing how the account functions within Stripe.
|
4814
|
+
attr_accessor :settings
|
4815
|
+
|
4816
|
+
# 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.
|
4817
|
+
attr_accessor :tos_acceptance
|
4818
|
+
|
4819
|
+
# The type of Stripe account to create. May be one of `custom`, `express` or `standard`.
|
4820
|
+
attr_accessor :type
|
4821
|
+
|
4822
|
+
def initialize(
|
4823
|
+
account_token: nil,
|
4824
|
+
business_profile: nil,
|
4825
|
+
business_type: nil,
|
4826
|
+
capabilities: nil,
|
4827
|
+
company: nil,
|
4828
|
+
controller: nil,
|
4829
|
+
country: nil,
|
4830
|
+
default_currency: nil,
|
4831
|
+
documents: nil,
|
4832
|
+
email: nil,
|
4833
|
+
expand: nil,
|
4834
|
+
external_account: nil,
|
4835
|
+
groups: nil,
|
4836
|
+
individual: nil,
|
4837
|
+
metadata: nil,
|
4838
|
+
risk_controls: nil,
|
4839
|
+
settings: nil,
|
4840
|
+
tos_acceptance: nil,
|
4841
|
+
type: nil
|
4842
|
+
)
|
4843
|
+
@account_token = account_token
|
4844
|
+
@business_profile = business_profile
|
4845
|
+
@business_type = business_type
|
4846
|
+
@capabilities = capabilities
|
4847
|
+
@company = company
|
4848
|
+
@controller = controller
|
4849
|
+
@country = country
|
4850
|
+
@default_currency = default_currency
|
4851
|
+
@documents = documents
|
4852
|
+
@email = email
|
4853
|
+
@expand = expand
|
4854
|
+
@external_account = external_account
|
4855
|
+
@groups = groups
|
4856
|
+
@individual = individual
|
4857
|
+
@metadata = metadata
|
4858
|
+
@risk_controls = risk_controls
|
4859
|
+
@settings = settings
|
4860
|
+
@tos_acceptance = tos_acceptance
|
4861
|
+
@type = type
|
4862
|
+
end
|
4863
|
+
end
|
4864
|
+
|
4865
|
+
class RejectParams < Stripe::RequestParams
|
4866
|
+
# Specifies which fields in the response should be expanded.
|
4867
|
+
attr_accessor :expand
|
4868
|
+
|
4869
|
+
# The reason for rejecting the account. Can be `fraud`, `terms_of_service`, or `other`.
|
4870
|
+
attr_accessor :reason
|
4871
|
+
|
4872
|
+
def initialize(expand: nil, reason: nil)
|
4873
|
+
@expand = expand
|
4874
|
+
@reason = reason
|
4875
|
+
end
|
4876
|
+
end
|
4877
|
+
|
16
4878
|
# With [Connect](https://stripe.com/docs/connect), you can create Stripe accounts for your users.
|
17
4879
|
# To do this, you'll first need to [register your platform](https://dashboard.stripe.com/account/applications/settings).
|
18
4880
|
#
|