stripe 13.4.0.pre.beta.1 → 13.4.0.pre.beta.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +24 -1
- data/CONTRIBUTING.md +25 -0
- data/Makefile +2 -0
- data/OPENAPI_VERSION +1 -1
- data/README.md +11 -6
- data/Rakefile +0 -5
- data/VERSION +1 -1
- data/justfile +43 -0
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/resources/account.rb +117 -747
- data/lib/stripe/resources/account_link.rb +0 -10
- data/lib/stripe/resources/account_notice.rb +0 -22
- data/lib/stripe/resources/account_session.rb +93 -128
- data/lib/stripe/resources/apple_pay_domain.rb +0 -10
- data/lib/stripe/resources/application.rb +0 -3
- data/lib/stripe/resources/application_fee.rb +0 -24
- data/lib/stripe/resources/application_fee_refund.rb +0 -7
- data/lib/stripe/resources/apps/secret.rb +0 -25
- data/lib/stripe/resources/balance.rb +0 -31
- data/lib/stripe/resources/balance_transaction.rb +0 -29
- data/lib/stripe/resources/bank_account.rb +0 -29
- data/lib/stripe/resources/billing/alert.rb +0 -22
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -5
- data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -12
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -24
- data/lib/stripe/resources/billing/credit_grant.rb +0 -32
- data/lib/stripe/resources/billing/meter.rb +0 -25
- data/lib/stripe/resources/billing/meter_error_report.rb +0 -11
- data/lib/stripe/resources/billing/meter_event.rb +0 -10
- data/lib/stripe/resources/billing/meter_event_adjustment.rb +0 -8
- data/lib/stripe/resources/billing/meter_event_summary.rb +0 -6
- data/lib/stripe/resources/billing_portal/configuration.rb +2 -79
- data/lib/stripe/resources/billing_portal/session.rb +0 -42
- data/lib/stripe/resources/capability.rb +2 -29
- data/lib/stripe/resources/capital/financing_offer.rb +0 -33
- data/lib/stripe/resources/capital/financing_summary.rb +0 -13
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -24
- data/lib/stripe/resources/card.rb +2 -34
- data/lib/stripe/resources/cash_balance.rb +0 -5
- data/lib/stripe/resources/charge.rb +8 -665
- data/lib/stripe/resources/checkout/session.rb +21 -513
- data/lib/stripe/resources/climate/order.rb +0 -40
- data/lib/stripe/resources/climate/product.rb +0 -13
- data/lib/stripe/resources/climate/supplier.rb +0 -13
- data/lib/stripe/resources/confirmation_token.rb +12 -337
- data/lib/stripe/resources/connect_collection_transfer.rb +0 -5
- data/lib/stripe/resources/country_spec.rb +0 -13
- data/lib/stripe/resources/coupon.rb +0 -39
- data/lib/stripe/resources/credit_note.rb +0 -138
- data/lib/stripe/resources/credit_note_line_item.rb +0 -24
- data/lib/stripe/resources/customer.rb +1 -156
- data/lib/stripe/resources/customer_balance_transaction.rb +0 -12
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -27
- data/lib/stripe/resources/customer_session.rb +0 -24
- data/lib/stripe/resources/discount.rb +0 -12
- data/lib/stripe/resources/dispute.rb +4 -152
- data/lib/stripe/resources/entitlements/active_entitlement.rb +0 -8
- data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +0 -3
- data/lib/stripe/resources/entitlements/feature.rb +0 -17
- data/lib/stripe/resources/ephemeral_key.rb +0 -5
- data/lib/stripe/resources/event.rb +0 -27
- data/lib/stripe/resources/exchange_rate.rb +0 -5
- data/lib/stripe/resources/file.rb +0 -23
- data/lib/stripe/resources/file_link.rb +0 -22
- data/lib/stripe/resources/financial_connections/account.rb +0 -47
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -3
- data/lib/stripe/resources/financial_connections/account_owner.rb +0 -7
- data/lib/stripe/resources/financial_connections/account_ownership.rb +0 -3
- data/lib/stripe/resources/financial_connections/institution.rb +0 -13
- data/lib/stripe/resources/financial_connections/session.rb +0 -28
- data/lib/stripe/resources/financial_connections/transaction.rb +1 -22
- data/lib/stripe/resources/forwarding/request.rb +0 -31
- data/lib/stripe/resources/funding_instructions.rb +0 -107
- data/lib/stripe/resources/gift_cards/card.rb +0 -28
- data/lib/stripe/resources/gift_cards/transaction.rb +0 -32
- data/lib/stripe/resources/identity/verification_report.rb +0 -69
- data/lib/stripe/resources/identity/verification_session.rb +0 -69
- data/lib/stripe/resources/invoice.rb +6 -1276
- data/lib/stripe/resources/invoice_item.rb +0 -91
- data/lib/stripe/resources/invoice_line_item.rb +0 -76
- data/lib/stripe/resources/invoice_payment.rb +0 -16
- data/lib/stripe/resources/invoice_rendering_template.rb +0 -12
- data/lib/stripe/resources/issuing/authorization.rb +0 -199
- data/lib/stripe/resources/issuing/card.rb +0 -128
- data/lib/stripe/resources/issuing/cardholder.rb +0 -110
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -82
- data/lib/stripe/resources/issuing/dispute.rb +0 -151
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -14
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -14
- data/lib/stripe/resources/issuing/personalization_design.rb +0 -48
- data/lib/stripe/resources/issuing/physical_bundle.rb +0 -13
- data/lib/stripe/resources/issuing/settlement.rb +0 -16
- data/lib/stripe/resources/issuing/token.rb +0 -46
- data/lib/stripe/resources/issuing/transaction.rb +0 -171
- data/lib/stripe/resources/line_item.rb +0 -23
- data/lib/stripe/resources/login_link.rb +0 -2
- data/lib/stripe/resources/mandate.rb +0 -45
- data/lib/stripe/resources/margin.rb +0 -19
- data/lib/stripe/resources/order.rb +3 -391
- data/lib/stripe/resources/payment_attempt_record.rb +0 -42
- data/lib/stripe/resources/payment_intent.rb +48 -1768
- data/lib/stripe/resources/payment_link.rb +15 -213
- data/lib/stripe/resources/payment_method.rb +19 -345
- data/lib/stripe/resources/payment_method_configuration.rb +58 -292
- data/lib/stripe/resources/payment_method_domain.rb +0 -23
- data/lib/stripe/resources/payment_record.rb +0 -109
- data/lib/stripe/resources/payout.rb +0 -49
- data/lib/stripe/resources/person.rb +2 -92
- data/lib/stripe/resources/plan.rb +0 -69
- data/lib/stripe/resources/price.rb +0 -133
- data/lib/stripe/resources/product.rb +0 -100
- data/lib/stripe/resources/product_feature.rb +0 -4
- data/lib/stripe/resources/promotion_code.rb +0 -40
- data/lib/stripe/resources/quote.rb +0 -458
- data/lib/stripe/resources/quote_line.rb +0 -66
- data/lib/stripe/resources/quote_preview_invoice.rb +3 -184
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -101
- data/lib/stripe/resources/radar/early_fraud_warning.rb +0 -16
- data/lib/stripe/resources/radar/value_list.rb +0 -26
- data/lib/stripe/resources/radar/value_list_item.rb +0 -18
- data/lib/stripe/resources/refund.rb +0 -92
- data/lib/stripe/resources/reporting/report_run.rb +0 -32
- data/lib/stripe/resources/reporting/report_type.rb +0 -8
- data/lib/stripe/resources/reserve_transaction.rb +0 -4
- data/lib/stripe/resources/reversal.rb +0 -9
- data/lib/stripe/resources/review.rb +0 -27
- data/lib/stripe/resources/setup_attempt.rb +2 -103
- data/lib/stripe/resources/setup_intent.rb +23 -539
- data/lib/stripe/resources/shipping_rate.rb +0 -44
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +0 -13
- data/lib/stripe/resources/source.rb +6 -338
- data/lib/stripe/resources/source_mandate_notification.rb +0 -13
- data/lib/stripe/resources/source_transaction.rb +0 -29
- data/lib/stripe/resources/subscription.rb +0 -338
- data/lib/stripe/resources/subscription_item.rb +0 -69
- data/lib/stripe/resources/subscription_schedule.rb +0 -388
- data/lib/stripe/resources/tax/association.rb +0 -11
- data/lib/stripe/resources/tax/calculation.rb +2 -89
- data/lib/stripe/resources/tax/calculation_line_item.rb +0 -20
- data/lib/stripe/resources/tax/form.rb +2 -35
- data/lib/stripe/resources/tax/registration.rb +421 -213
- data/lib/stripe/resources/tax/settings.rb +0 -20
- data/lib/stripe/resources/tax/transaction.rb +1 -66
- data/lib/stripe/resources/tax/transaction_line_item.rb +0 -12
- data/lib/stripe/resources/tax_code.rb +0 -6
- data/lib/stripe/resources/tax_deducted_at_source.rb +0 -4
- data/lib/stripe/resources/tax_id.rb +2 -28
- data/lib/stripe/resources/tax_rate.rb +0 -45
- data/lib/stripe/resources/terminal/configuration.rb +46 -161
- data/lib/stripe/resources/terminal/connection_token.rb +0 -3
- data/lib/stripe/resources/terminal/location.rb +0 -33
- data/lib/stripe/resources/terminal/reader.rb +0 -129
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -5
- data/lib/stripe/resources/test_helpers/test_clock.rb +0 -15
- data/lib/stripe/resources/token.rb +23 -192
- data/lib/stripe/resources/topup.rb +0 -36
- data/lib/stripe/resources/transfer.rb +0 -35
- data/lib/stripe/resources/treasury/credit_reversal.rb +0 -21
- data/lib/stripe/resources/treasury/debit_reversal.rb +0 -23
- data/lib/stripe/resources/treasury/financial_account.rb +77 -71
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -46
- data/lib/stripe/resources/treasury/inbound_transfer.rb +0 -50
- data/lib/stripe/resources/treasury/outbound_payment.rb +0 -92
- data/lib/stripe/resources/treasury/outbound_transfer.rb +25 -66
- data/lib/stripe/resources/treasury/received_credit.rb +6 -58
- data/lib/stripe/resources/treasury/received_debit.rb +0 -54
- data/lib/stripe/resources/treasury/transaction.rb +0 -39
- data/lib/stripe/resources/treasury/transaction_entry.rb +0 -36
- data/lib/stripe/resources/usage_record.rb +0 -5
- data/lib/stripe/resources/usage_record_summary.rb +0 -7
- data/lib/stripe/resources/v2/billing/meter_event.rb +0 -6
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +0 -7
- data/lib/stripe/resources/v2/billing/meter_event_session.rb +0 -5
- data/lib/stripe/resources/v2/event.rb +0 -8
- data/lib/stripe/resources/v2/event_destination.rb +0 -19
- data/lib/stripe/resources/webhook_endpoint.rb +0 -26
- data/lib/stripe/services/account_capability_service.rb +0 -1
- data/lib/stripe/services/account_external_account_service.rb +0 -43
- data/lib/stripe/services/account_link_service.rb +0 -7
- data/lib/stripe/services/account_notice_service.rb +0 -9
- data/lib/stripe/services/account_person_service.rb +0 -139
- data/lib/stripe/services/account_service.rb +100 -521
- data/lib/stripe/services/account_session_service.rb +22 -80
- data/lib/stripe/services/apple_pay_domain_service.rb +0 -5
- data/lib/stripe/services/application_fee_refund_service.rb +0 -6
- data/lib/stripe/services/application_fee_service.rb +0 -8
- data/lib/stripe/services/apps/secret_service.rb +0 -16
- data/lib/stripe/services/balance_transaction_service.rb +0 -11
- data/lib/stripe/services/billing/alert_service.rb +0 -12
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +0 -4
- data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -5
- data/lib/stripe/services/billing/credit_grant_service.rb +0 -16
- data/lib/stripe/services/billing/meter_event_adjustment_service.rb +0 -3
- data/lib/stripe/services/billing/meter_event_service.rb +0 -4
- data/lib/stripe/services/billing/meter_event_summary_service.rb +0 -7
- data/lib/stripe/services/billing/meter_service.rb +0 -12
- data/lib/stripe/services/billing_portal/configuration_service.rb +2 -50
- data/lib/stripe/services/billing_portal/session_service.rb +0 -19
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -9
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -7
- data/lib/stripe/services/charge_service.rb +0 -274
- data/lib/stripe/services/checkout/session_line_item_service.rb +0 -3
- data/lib/stripe/services/checkout/session_service.rb +9 -273
- data/lib/stripe/services/climate/order_service.rb +0 -11
- data/lib/stripe/services/climate/product_service.rb +0 -3
- data/lib/stripe/services/climate/supplier_service.rb +0 -3
- data/lib/stripe/services/country_spec_service.rb +0 -3
- data/lib/stripe/services/coupon_service.rb +0 -22
- data/lib/stripe/services/credit_note_line_item_service.rb +0 -3
- data/lib/stripe/services/credit_note_preview_lines_service.rb +0 -28
- data/lib/stripe/services/credit_note_service.rb +0 -61
- data/lib/stripe/services/customer_balance_transaction_service.rb +0 -9
- data/lib/stripe/services/customer_cash_balance_service.rb +0 -1
- data/lib/stripe/services/customer_cash_balance_transaction_service.rb +0 -3
- data/lib/stripe/services/customer_funding_instructions_service.rb +0 -5
- data/lib/stripe/services/customer_payment_method_service.rb +0 -5
- data/lib/stripe/services/customer_payment_source_service.rb +0 -29
- data/lib/stripe/services/customer_service.rb +1 -92
- data/lib/stripe/services/customer_session_service.rb +0 -10
- data/lib/stripe/services/customer_tax_id_service.rb +1 -6
- data/lib/stripe/services/dispute_service.rb +2 -67
- data/lib/stripe/services/entitlements/active_entitlement_service.rb +0 -4
- data/lib/stripe/services/entitlements/feature_service.rb +0 -11
- data/lib/stripe/services/ephemeral_key_service.rb +0 -4
- data/lib/stripe/services/event_service.rb +0 -10
- data/lib/stripe/services/exchange_rate_service.rb +0 -3
- data/lib/stripe/services/file_link_service.rb +0 -14
- data/lib/stripe/services/file_service.rb +0 -13
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -3
- data/lib/stripe/services/financial_connections/account_owner_service.rb +0 -4
- data/lib/stripe/services/financial_connections/account_service.rb +0 -9
- data/lib/stripe/services/financial_connections/institution_service.rb +0 -3
- data/lib/stripe/services/financial_connections/session_service.rb +0 -11
- data/lib/stripe/services/financial_connections/transaction_service.rb +1 -10
- data/lib/stripe/services/forwarding/request_service.rb +0 -14
- data/lib/stripe/services/gift_cards/card_service.rb +0 -13
- data/lib/stripe/services/gift_cards/transaction_service.rb +0 -16
- data/lib/stripe/services/identity/verification_report_service.rb +0 -10
- data/lib/stripe/services/identity/verification_session_service.rb +0 -30
- data/lib/stripe/services/invoice_item_service.rb +0 -66
- data/lib/stripe/services/invoice_line_item_service.rb +0 -40
- data/lib/stripe/services/invoice_payment_service.rb +0 -3
- data/lib/stripe/services/invoice_rendering_template_service.rb +0 -5
- data/lib/stripe/services/invoice_service.rb +2 -810
- data/lib/stripe/services/invoice_upcoming_lines_service.rb +1 -279
- data/lib/stripe/services/issuing/authorization_service.rb +0 -14
- data/lib/stripe/services/issuing/card_service.rb +0 -70
- data/lib/stripe/services/issuing/cardholder_service.rb +0 -73
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -56
- data/lib/stripe/services/issuing/dispute_service.rb +0 -98
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -4
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -7
- data/lib/stripe/services/issuing/personalization_design_service.rb +0 -29
- data/lib/stripe/services/issuing/physical_bundle_service.rb +0 -5
- data/lib/stripe/services/issuing/token_service.rb +0 -10
- data/lib/stripe/services/issuing/transaction_service.rb +0 -12
- data/lib/stripe/services/margin_service.rb +0 -11
- data/lib/stripe/services/order_line_item_service.rb +0 -3
- data/lib/stripe/services/order_service.rb +2 -266
- data/lib/stripe/services/payment_attempt_record_service.rb +0 -1
- data/lib/stripe/services/payment_intent_service.rb +42 -1309
- data/lib/stripe/services/payment_link_line_item_service.rb +0 -3
- data/lib/stripe/services/payment_link_service.rb +15 -135
- data/lib/stripe/services/payment_method_configuration_service.rb +42 -102
- data/lib/stripe/services/payment_method_domain_service.rb +0 -8
- data/lib/stripe/services/payment_method_service.rb +14 -113
- data/lib/stripe/services/payment_record_service.rb +0 -68
- data/lib/stripe/services/payout_service.rb +0 -23
- data/lib/stripe/services/plan_service.rb +0 -43
- data/lib/stripe/services/price_service.rb +0 -87
- data/lib/stripe/services/product_feature_service.rb +0 -4
- data/lib/stripe/services/product_service.rb +0 -74
- data/lib/stripe/services/promotion_code_service.rb +0 -25
- data/lib/stripe/services/quote_computed_upfront_line_items_service.rb +0 -3
- data/lib/stripe/services/quote_line_item_service.rb +0 -3
- data/lib/stripe/services/quote_line_service.rb +0 -3
- data/lib/stripe/services/quote_preview_invoice_service.rb +0 -3
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -3
- data/lib/stripe/services/quote_service.rb +0 -309
- data/lib/stripe/services/radar/early_fraud_warning_service.rb +0 -9
- data/lib/stripe/services/radar/value_list_item_service.rb +0 -11
- data/lib/stripe/services/radar/value_list_service.rb +0 -16
- data/lib/stripe/services/refund_service.rb +0 -21
- data/lib/stripe/services/reporting/report_run_service.rb +0 -16
- data/lib/stripe/services/review_service.rb +0 -7
- data/lib/stripe/services/setup_attempt_service.rb +0 -8
- data/lib/stripe/services/setup_intent_service.rb +21 -447
- data/lib/stripe/services/shipping_rate_service.rb +0 -27
- data/lib/stripe/services/sigma/scheduled_query_run_service.rb +0 -3
- data/lib/stripe/services/source_service.rb +0 -92
- data/lib/stripe/services/source_transaction_service.rb +0 -3
- data/lib/stripe/services/subscription_item_service.rb +0 -56
- data/lib/stripe/services/subscription_item_usage_record_service.rb +0 -3
- data/lib/stripe/services/subscription_item_usage_record_summary_service.rb +0 -3
- data/lib/stripe/services/subscription_schedule_service.rb +0 -290
- data/lib/stripe/services/subscription_service.rb +0 -245
- data/lib/stripe/services/tax/association_service.rb +0 -1
- data/lib/stripe/services/tax/calculation_line_item_service.rb +0 -3
- data/lib/stripe/services/tax/calculation_service.rb +1 -31
- data/lib/stripe/services/tax/form_service.rb +0 -7
- data/lib/stripe/services/tax/registration_service.rb +274 -108
- data/lib/stripe/services/tax/settings_service.rb +0 -8
- data/lib/stripe/services/tax/transaction_line_item_service.rb +0 -3
- data/lib/stripe/services/tax/transaction_service.rb +0 -17
- data/lib/stripe/services/tax_code_service.rb +0 -3
- data/lib/stripe/services/tax_id_service.rb +1 -12
- data/lib/stripe/services/tax_rate_service.rb +0 -27
- data/lib/stripe/services/terminal/configuration_service.rb +36 -106
- data/lib/stripe/services/terminal/connection_token_service.rb +0 -1
- data/lib/stripe/services/terminal/location_service.rb +0 -21
- data/lib/stripe/services/terminal/reader_service.rb +0 -53
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +7 -89
- data/lib/stripe/services/test_helpers/customer_service.rb +0 -3
- data/lib/stripe/services/test_helpers/issuing/authorization_service.rb +0 -99
- data/lib/stripe/services/test_helpers/issuing/personalization_design_service.rb +0 -2
- data/lib/stripe/services/test_helpers/issuing/transaction_service.rb +0 -91
- data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -4
- data/lib/stripe/services/test_helpers/test_clock_service.rb +0 -6
- data/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +0 -1
- data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +0 -6
- data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +0 -6
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +0 -11
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +0 -11
- data/lib/stripe/services/token_service.rb +23 -184
- data/lib/stripe/services/topup_service.rb +0 -21
- data/lib/stripe/services/transfer_reversal_service.rb +0 -8
- data/lib/stripe/services/transfer_service.rb +0 -19
- data/lib/stripe/services/treasury/credit_reversal_service.rb +0 -8
- data/lib/stripe/services/treasury/debit_reversal_service.rb +0 -9
- data/lib/stripe/services/treasury/financial_account_features_service.rb +0 -10
- data/lib/stripe/services/treasury/financial_account_service.rb +64 -36
- data/lib/stripe/services/treasury/inbound_transfer_service.rb +0 -12
- data/lib/stripe/services/treasury/outbound_payment_service.rb +0 -38
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +16 -15
- data/lib/stripe/services/treasury/received_credit_service.rb +0 -6
- data/lib/stripe/services/treasury/received_debit_service.rb +0 -5
- data/lib/stripe/services/treasury/transaction_entry_service.rb +0 -14
- data/lib/stripe/services/treasury/transaction_service.rb +0 -14
- data/lib/stripe/services/v2/billing/meter_event_adjustment_service.rb +0 -2
- data/lib/stripe/services/v2/billing/meter_event_service.rb +0 -3
- data/lib/stripe/services/v2/billing/meter_event_stream_service.rb +0 -3
- data/lib/stripe/services/v2/core/event_destination_service.rb +0 -18
- data/lib/stripe/services/v2/core/event_service.rb +0 -2
- data/lib/stripe/services/webhook_endpoint_service.rb +0 -14
- data/lib/stripe/stripe_client.rb +7 -2
- data/lib/stripe/stripe_configuration.rb +21 -1
- data/lib/stripe/stripe_object.rb +3 -3
- data/lib/stripe/thin_event.rb +22 -2
- data/lib/stripe/util.rb +1 -1
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +22 -0
- data/rbi/stripe/resources/account.rbi +120 -1007
- data/rbi/stripe/resources/account_link.rbi +0 -13
- data/rbi/stripe/resources/account_notice.rbi +0 -27
- data/rbi/stripe/resources/account_session.rbi +121 -172
- data/rbi/stripe/resources/apple_pay_domain.rbi +0 -14
- data/rbi/stripe/resources/application.rbi +0 -3
- data/rbi/stripe/resources/application_fee.rbi +0 -28
- data/rbi/stripe/resources/application_fee_refund.rbi +0 -7
- data/rbi/stripe/resources/apps/secret.rbi +0 -34
- data/rbi/stripe/resources/balance.rbi +0 -33
- data/rbi/stripe/resources/balance_transaction.rbi +0 -33
- data/rbi/stripe/resources/bank_account.rbi +0 -29
- data/rbi/stripe/resources/billing/alert.rbi +0 -31
- data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -5
- data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -16
- data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -27
- data/rbi/stripe/resources/billing/credit_grant.rbi +0 -43
- data/rbi/stripe/resources/billing/meter.rbi +0 -35
- data/rbi/stripe/resources/billing/meter_error_report.rbi +0 -11
- data/rbi/stripe/resources/billing/meter_event.rbi +0 -12
- data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -11
- data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -6
- data/rbi/stripe/resources/billing_portal/configuration.rbi +2 -108
- data/rbi/stripe/resources/billing_portal/session.rbi +0 -55
- data/rbi/stripe/resources/capability.rbi +2 -29
- data/rbi/stripe/resources/capital/financing_offer.rbi +0 -38
- data/rbi/stripe/resources/capital/financing_summary.rbi +0 -15
- data/rbi/stripe/resources/capital/financing_transaction.rbi +0 -27
- data/rbi/stripe/resources/card.rbi +3 -34
- data/rbi/stripe/resources/cash_balance.rbi +0 -5
- data/rbi/stripe/resources/charge.rbi +10 -738
- data/rbi/stripe/resources/checkout/session.rbi +26 -638
- data/rbi/stripe/resources/climate/order.rbi +0 -48
- data/rbi/stripe/resources/climate/product.rbi +0 -16
- data/rbi/stripe/resources/climate/supplier.rbi +0 -16
- data/rbi/stripe/resources/confirmation_token.rbi +15 -365
- data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -5
- data/rbi/stripe/resources/country_spec.rbi +0 -16
- data/rbi/stripe/resources/coupon.rbi +0 -48
- data/rbi/stripe/resources/credit_note.rbi +0 -159
- data/rbi/stripe/resources/credit_note_line_item.rbi +0 -24
- data/rbi/stripe/resources/customer.rbi +1 -188
- data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -12
- data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -27
- data/rbi/stripe/resources/customer_session.rbi +0 -31
- data/rbi/stripe/resources/discount.rbi +0 -12
- data/rbi/stripe/resources/dispute.rbi +4 -166
- data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -11
- data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -3
- data/rbi/stripe/resources/entitlements/feature.rbi +0 -22
- data/rbi/stripe/resources/ephemeral_key.rbi +0 -7
- data/rbi/stripe/resources/event.rbi +0 -31
- data/rbi/stripe/resources/exchange_rate.rbi +0 -8
- data/rbi/stripe/resources/file.rbi +0 -29
- data/rbi/stripe/resources/file_link.rbi +0 -28
- data/rbi/stripe/resources/financial_connections/account.rbi +0 -56
- data/rbi/stripe/resources/financial_connections/account_inferred_balance.rbi +0 -3
- data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -7
- data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -3
- data/rbi/stripe/resources/financial_connections/institution.rbi +0 -16
- data/rbi/stripe/resources/financial_connections/session.rbi +0 -35
- data/rbi/stripe/resources/financial_connections/transaction.rbi +1 -27
- data/rbi/stripe/resources/forwarding/request.rbi +0 -38
- data/rbi/stripe/resources/funding_instructions.rbi +0 -107
- data/rbi/stripe/resources/gift_cards/card.rbi +0 -36
- data/rbi/stripe/resources/gift_cards/transaction.rbi +0 -41
- data/rbi/stripe/resources/identity/verification_report.rbi +0 -73
- data/rbi/stripe/resources/identity/verification_session.rbi +0 -83
- data/rbi/stripe/resources/invoice.rbi +7 -1663
- data/rbi/stripe/resources/invoice_item.rbi +0 -107
- data/rbi/stripe/resources/invoice_line_item.rbi +0 -86
- data/rbi/stripe/resources/invoice_payment.rbi +0 -16
- data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -17
- data/rbi/stripe/resources/issuing/authorization.rbi +0 -245
- data/rbi/stripe/resources/issuing/card.rbi +0 -153
- data/rbi/stripe/resources/issuing/cardholder.rbi +0 -138
- data/rbi/stripe/resources/issuing/credit_underwriting_record.rbi +0 -109
- data/rbi/stripe/resources/issuing/dispute.rbi +0 -177
- data/rbi/stripe/resources/issuing/dispute_settlement_detail.rbi +0 -17
- data/rbi/stripe/resources/issuing/fraud_liability_debit.rbi +0 -18
- data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -62
- data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -16
- data/rbi/stripe/resources/issuing/settlement.rbi +0 -16
- data/rbi/stripe/resources/issuing/token.rbi +0 -51
- data/rbi/stripe/resources/issuing/transaction.rbi +0 -205
- data/rbi/stripe/resources/line_item.rbi +0 -23
- data/rbi/stripe/resources/login_link.rbi +0 -2
- data/rbi/stripe/resources/mandate.rbi +0 -47
- data/rbi/stripe/resources/margin.rbi +0 -24
- data/rbi/stripe/resources/order.rbi +3 -492
- data/rbi/stripe/resources/payment_attempt_record.rbi +0 -45
- data/rbi/stripe/resources/payment_intent.rbi +61 -2230
- data/rbi/stripe/resources/payment_link.rbi +14 -291
- data/rbi/stripe/resources/payment_method.rbi +23 -384
- data/rbi/stripe/resources/payment_method_configuration.rbi +75 -495
- data/rbi/stripe/resources/payment_method_domain.rbi +0 -29
- data/rbi/stripe/resources/payment_record.rbi +0 -134
- data/rbi/stripe/resources/payout.rbi +0 -58
- data/rbi/stripe/resources/person.rbi +2 -92
- data/rbi/stripe/resources/plan.rbi +0 -78
- data/rbi/stripe/resources/price.rbi +0 -153
- data/rbi/stripe/resources/product.rbi +0 -120
- data/rbi/stripe/resources/product_feature.rbi +0 -4
- data/rbi/stripe/resources/promotion_code.rbi +0 -50
- data/rbi/stripe/resources/quote.rbi +0 -593
- data/rbi/stripe/resources/quote_line.rbi +0 -66
- data/rbi/stripe/resources/quote_preview_invoice.rbi +4 -184
- data/rbi/stripe/resources/quote_preview_subscription_schedule.rbi +0 -101
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -20
- data/rbi/stripe/resources/radar/value_list.rbi +0 -32
- data/rbi/stripe/resources/radar/value_list_item.rbi +0 -23
- data/rbi/stripe/resources/refund.rbi +0 -100
- data/rbi/stripe/resources/reporting/report_run.rbi +0 -38
- data/rbi/stripe/resources/reporting/report_type.rbi +0 -11
- data/rbi/stripe/resources/reserve_transaction.rbi +0 -4
- data/rbi/stripe/resources/reversal.rbi +0 -9
- data/rbi/stripe/resources/review.rbi +0 -32
- data/rbi/stripe/resources/setup_attempt.rbi +3 -106
- data/rbi/stripe/resources/setup_intent.rbi +27 -691
- data/rbi/stripe/resources/shipping_rate.rbi +0 -57
- data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -16
- data/rbi/stripe/resources/source.rbi +9 -365
- data/rbi/stripe/resources/source_mandate_notification.rbi +0 -13
- data/rbi/stripe/resources/source_transaction.rbi +0 -29
- data/rbi/stripe/resources/subscription.rbi +0 -431
- data/rbi/stripe/resources/subscription_item.rbi +0 -88
- data/rbi/stripe/resources/subscription_schedule.rbi +0 -504
- data/rbi/stripe/resources/tax/association.rbi +0 -13
- data/rbi/stripe/resources/tax/calculation.rbi +2 -100
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -20
- data/rbi/stripe/resources/tax/form.rbi +2 -40
- data/rbi/stripe/resources/tax/registration.rbi +401 -317
- data/rbi/stripe/resources/tax/settings.rbi +0 -26
- data/rbi/stripe/resources/tax/transaction.rbi +1 -73
- data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -12
- data/rbi/stripe/resources/tax_code.rbi +0 -9
- data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -4
- data/rbi/stripe/resources/tax_id.rbi +2 -34
- data/rbi/stripe/resources/tax_rate.rbi +0 -51
- data/rbi/stripe/resources/terminal/configuration.rbi +54 -213
- data/rbi/stripe/resources/terminal/connection_token.rbi +0 -5
- data/rbi/stripe/resources/terminal/location.rbi +0 -40
- data/rbi/stripe/resources/terminal/reader.rbi +0 -158
- data/rbi/stripe/resources/terminal/reader_collected_data.rbi +0 -7
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -20
- data/rbi/stripe/resources/token.rbi +22 -235
- data/rbi/stripe/resources/topup.rbi +0 -44
- data/rbi/stripe/resources/transfer.rbi +0 -41
- data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -25
- data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -27
- data/rbi/stripe/resources/treasury/financial_account.rbi +70 -124
- data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -46
- data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -59
- data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -113
- data/rbi/stripe/resources/treasury/outbound_transfer.rbi +28 -84
- data/rbi/stripe/resources/treasury/received_credit.rbi +7 -67
- data/rbi/stripe/resources/treasury/received_debit.rbi +0 -62
- data/rbi/stripe/resources/treasury/transaction.rbi +0 -45
- data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -41
- data/rbi/stripe/resources/usage_record.rbi +0 -5
- data/rbi/stripe/resources/usage_record_summary.rbi +0 -7
- data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -6
- data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -7
- data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -5
- data/rbi/stripe/resources/v2/event.rbi +0 -8
- data/rbi/stripe/resources/v2/event_destination.rbi +0 -19
- data/rbi/stripe/resources/webhook_endpoint.rbi +0 -31
- data/rbi/stripe/services/account_capability_service.rbi +0 -4
- data/rbi/stripe/services/account_external_account_service.rbi +0 -52
- data/rbi/stripe/services/account_link_service.rbi +0 -9
- data/rbi/stripe/services/account_login_link_service.rbi +0 -1
- data/rbi/stripe/services/account_notice_service.rbi +0 -13
- data/rbi/stripe/services/account_person_service.rbi +0 -174
- data/rbi/stripe/services/account_service.rbi +98 -779
- data/rbi/stripe/services/account_session_service.rbi +29 -122
- data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -8
- data/rbi/stripe/services/application_fee_refund_service.rbi +0 -10
- data/rbi/stripe/services/application_fee_service.rbi +0 -11
- data/rbi/stripe/services/apps/secret_service.rbi +0 -24
- data/rbi/stripe/services/balance_service.rbi +0 -1
- data/rbi/stripe/services/balance_transaction_service.rbi +0 -14
- data/rbi/stripe/services/billing/alert_service.rbi +0 -20
- data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -7
- data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -7
- data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -26
- data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -5
- data/rbi/stripe/services/billing/meter_event_service.rbi +0 -5
- data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -8
- data/rbi/stripe/services/billing/meter_service.rbi +0 -21
- data/rbi/stripe/services/billing_portal/configuration_service.rbi +2 -78
- data/rbi/stripe/services/billing_portal/session_service.rbi +0 -31
- data/rbi/stripe/services/capital/financing_offer_service.rbi +0 -13
- data/rbi/stripe/services/capital/financing_summary_service.rbi +0 -1
- data/rbi/stripe/services/capital/financing_transaction_service.rbi +0 -9
- data/rbi/stripe/services/charge_service.rbi +0 -346
- data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -4
- data/rbi/stripe/services/checkout/session_service.rbi +12 -396
- data/rbi/stripe/services/climate/order_service.rbi +0 -18
- data/rbi/stripe/services/climate/product_service.rbi +0 -5
- data/rbi/stripe/services/climate/supplier_service.rbi +0 -5
- data/rbi/stripe/services/confirmation_token_service.rbi +0 -1
- data/rbi/stripe/services/country_spec_service.rbi +0 -5
- data/rbi/stripe/services/coupon_service.rbi +0 -30
- data/rbi/stripe/services/credit_note_line_item_service.rbi +0 -4
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -33
- data/rbi/stripe/services/credit_note_service.rbi +0 -76
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -13
- data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -4
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -5
- data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -8
- data/rbi/stripe/services/customer_payment_method_service.rbi +0 -7
- data/rbi/stripe/services/customer_payment_source_service.rbi +0 -37
- data/rbi/stripe/services/customer_service.rbi +1 -117
- data/rbi/stripe/services/customer_session_service.rbi +0 -16
- data/rbi/stripe/services/customer_tax_id_service.rbi +1 -9
- data/rbi/stripe/services/dispute_service.rbi +2 -80
- data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -6
- data/rbi/stripe/services/entitlements/feature_service.rbi +0 -15
- data/rbi/stripe/services/ephemeral_key_service.rbi +0 -6
- data/rbi/stripe/services/event_service.rbi +0 -13
- data/rbi/stripe/services/exchange_rate_service.rbi +0 -5
- data/rbi/stripe/services/file_link_service.rbi +0 -19
- data/rbi/stripe/services/file_service.rbi +0 -18
- data/rbi/stripe/services/financial_connections/account_inferred_balance_service.rbi +0 -4
- data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -5
- data/rbi/stripe/services/financial_connections/account_service.rbi +0 -16
- data/rbi/stripe/services/financial_connections/institution_service.rbi +0 -5
- data/rbi/stripe/services/financial_connections/session_service.rbi +0 -17
- data/rbi/stripe/services/financial_connections/transaction_service.rbi +1 -14
- data/rbi/stripe/services/forwarding/request_service.rbi +0 -20
- data/rbi/stripe/services/gift_cards/card_service.rbi +0 -20
- data/rbi/stripe/services/gift_cards/transaction_service.rbi +0 -24
- data/rbi/stripe/services/identity/verification_report_service.rbi +0 -13
- data/rbi/stripe/services/identity/verification_session_service.rbi +0 -43
- data/rbi/stripe/services/invoice_item_service.rbi +0 -81
- data/rbi/stripe/services/invoice_line_item_service.rbi +0 -50
- data/rbi/stripe/services/invoice_payment_service.rbi +0 -5
- data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -9
- data/rbi/stripe/services/invoice_service.rbi +2 -1100
- data/rbi/stripe/services/invoice_upcoming_lines_service.rbi +1 -375
- data/rbi/stripe/services/issuing/authorization_service.rbi +0 -20
- data/rbi/stripe/services/issuing/card_service.rbi +0 -89
- data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -100
- data/rbi/stripe/services/issuing/credit_underwriting_record_service.rbi +0 -82
- data/rbi/stripe/services/issuing/dispute_service.rbi +0 -123
- data/rbi/stripe/services/issuing/dispute_settlement_detail_service.rbi +0 -6
- data/rbi/stripe/services/issuing/fraud_liability_debit_service.rbi +0 -10
- data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -38
- data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -7
- data/rbi/stripe/services/issuing/token_service.rbi +0 -14
- data/rbi/stripe/services/issuing/transaction_service.rbi +0 -16
- data/rbi/stripe/services/mandate_service.rbi +0 -1
- data/rbi/stripe/services/margin_service.rbi +0 -15
- data/rbi/stripe/services/order_line_item_service.rbi +0 -4
- data/rbi/stripe/services/order_service.rbi +2 -365
- data/rbi/stripe/services/payment_attempt_record_service.rbi +0 -3
- data/rbi/stripe/services/payment_intent_service.rbi +54 -1770
- data/rbi/stripe/services/payment_link_line_item_service.rbi +0 -4
- data/rbi/stripe/services/payment_link_service.rbi +14 -211
- data/rbi/stripe/services/payment_method_configuration_service.rbi +46 -296
- data/rbi/stripe/services/payment_method_domain_service.rbi +0 -13
- data/rbi/stripe/services/payment_method_service.rbi +16 -151
- data/rbi/stripe/services/payment_record_service.rbi +0 -92
- data/rbi/stripe/services/payout_service.rbi +0 -31
- data/rbi/stripe/services/plan_service.rbi +0 -51
- data/rbi/stripe/services/price_service.rbi +0 -106
- data/rbi/stripe/services/product_feature_service.rbi +0 -7
- data/rbi/stripe/services/product_service.rbi +0 -93
- data/rbi/stripe/services/promotion_code_service.rbi +0 -34
- data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -4
- data/rbi/stripe/services/quote_line_item_service.rbi +0 -4
- data/rbi/stripe/services/quote_line_service.rbi +0 -4
- data/rbi/stripe/services/quote_preview_invoice_service.rbi +0 -4
- data/rbi/stripe/services/quote_preview_subscription_schedule_service.rbi +0 -4
- data/rbi/stripe/services/quote_service.rbi +0 -440
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -12
- data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -15
- data/rbi/stripe/services/radar/value_list_service.rbi +0 -21
- data/rbi/stripe/services/refund_service.rbi +0 -27
- data/rbi/stripe/services/reporting/report_run_service.rbi +0 -21
- data/rbi/stripe/services/reporting/report_type_service.rbi +0 -2
- data/rbi/stripe/services/review_service.rbi +0 -11
- data/rbi/stripe/services/setup_attempt_service.rbi +0 -10
- data/rbi/stripe/services/setup_intent_service.rbi +24 -598
- data/rbi/stripe/services/shipping_rate_service.rbi +0 -39
- data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -5
- data/rbi/stripe/services/source_service.rbi +0 -119
- data/rbi/stripe/services/source_transaction_service.rbi +0 -4
- data/rbi/stripe/services/subscription_item_service.rbi +0 -74
- data/rbi/stripe/services/subscription_item_usage_record_service.rbi +0 -4
- data/rbi/stripe/services/subscription_item_usage_record_summary_service.rbi +0 -4
- data/rbi/stripe/services/subscription_schedule_service.rbi +0 -405
- data/rbi/stripe/services/subscription_service.rbi +0 -337
- data/rbi/stripe/services/tax/association_service.rbi +0 -2
- data/rbi/stripe/services/tax/calculation_line_item_service.rbi +0 -4
- data/rbi/stripe/services/tax/calculation_service.rbi +1 -40
- data/rbi/stripe/services/tax/form_service.rbi +0 -11
- data/rbi/stripe/services/tax/registration_service.rbi +233 -211
- data/rbi/stripe/services/tax/settings_service.rbi +0 -13
- data/rbi/stripe/services/tax/transaction_line_item_service.rbi +0 -4
- data/rbi/stripe/services/tax/transaction_service.rbi +0 -22
- data/rbi/stripe/services/tax_code_service.rbi +0 -5
- data/rbi/stripe/services/tax_id_service.rbi +1 -17
- data/rbi/stripe/services/tax_rate_service.rbi +0 -32
- data/rbi/stripe/services/terminal/configuration_service.rbi +40 -156
- data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -2
- data/rbi/stripe/services/terminal/location_service.rbi +0 -27
- data/rbi/stripe/services/terminal/reader_collected_data_service.rbi +0 -1
- data/rbi/stripe/services/terminal/reader_service.rbi +0 -78
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +10 -115
- data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -4
- data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -138
- data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -5
- data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -6
- data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -120
- data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -1
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -7
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -10
- data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -5
- data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -14
- data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -14
- data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -16
- data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -16
- data/rbi/stripe/services/token_service.rbi +24 -226
- data/rbi/stripe/services/topup_service.rbi +0 -28
- data/rbi/stripe/services/transfer_reversal_service.rbi +0 -12
- data/rbi/stripe/services/transfer_service.rbi +0 -24
- data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -11
- data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -12
- data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -25
- data/rbi/stripe/services/treasury/financial_account_service.rbi +62 -73
- data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -16
- data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -50
- data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +17 -24
- data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -9
- data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -7
- data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -18
- data/rbi/stripe/services/treasury/transaction_service.rbi +0 -19
- data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -4
- data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -4
- data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -5
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -25
- data/rbi/stripe/services/v2/core/event_service.rbi +0 -3
- data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -18
- metadata +4 -2
@@ -29,22 +29,16 @@ module Stripe
|
|
29
29
|
class BankAccount < Stripe::RequestParams
|
30
30
|
# Attribute for param field object
|
31
31
|
attr_accessor :object
|
32
|
-
|
33
32
|
# 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
33
|
attr_accessor :account_holder_name
|
35
|
-
|
36
34
|
# 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
35
|
attr_accessor :account_holder_type
|
38
|
-
|
39
36
|
# The account number for the bank account, in string form. Must be a checking account.
|
40
37
|
attr_accessor :account_number
|
41
|
-
|
42
38
|
# The country in which the bank account is located.
|
43
39
|
attr_accessor :country
|
44
|
-
|
45
40
|
# The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
|
46
41
|
attr_accessor :currency
|
47
|
-
|
48
42
|
# 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
43
|
attr_accessor :routing_number
|
50
44
|
|
@@ -71,10 +65,8 @@ module Stripe
|
|
71
65
|
class AnnualRevenue < Stripe::RequestParams
|
72
66
|
# A non-negative integer representing the amount in the [smallest currency unit](/currencies#zero-decimal).
|
73
67
|
attr_accessor :amount
|
74
|
-
|
75
68
|
# 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
69
|
attr_accessor :currency
|
77
|
-
|
78
70
|
# 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
71
|
attr_accessor :fiscal_year_end
|
80
72
|
|
@@ -88,7 +80,6 @@ module Stripe
|
|
88
80
|
class MonthlyEstimatedRevenue < Stripe::RequestParams
|
89
81
|
# A non-negative integer representing how much to charge in the [smallest currency unit](/currencies#zero-decimal).
|
90
82
|
attr_accessor :amount
|
91
|
-
|
92
83
|
# 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
84
|
attr_accessor :currency
|
94
85
|
|
@@ -101,19 +92,14 @@ module Stripe
|
|
101
92
|
class SupportAddress < Stripe::RequestParams
|
102
93
|
# City, district, suburb, town, or village.
|
103
94
|
attr_accessor :city
|
104
|
-
|
105
95
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
106
96
|
attr_accessor :country
|
107
|
-
|
108
97
|
# Address line 1 (e.g., street, PO Box, or company name).
|
109
98
|
attr_accessor :line1
|
110
|
-
|
111
99
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
112
100
|
attr_accessor :line2
|
113
|
-
|
114
101
|
# ZIP or postal code.
|
115
102
|
attr_accessor :postal_code
|
116
|
-
|
117
103
|
# State, county, province, or region.
|
118
104
|
attr_accessor :state
|
119
105
|
|
@@ -135,34 +121,24 @@ module Stripe
|
|
135
121
|
end
|
136
122
|
# The applicant's gross annual revenue for its preceding fiscal year.
|
137
123
|
attr_accessor :annual_revenue
|
138
|
-
|
139
124
|
# An estimated upper bound of employees, contractors, vendors, etc. currently working for the business.
|
140
125
|
attr_accessor :estimated_worker_count
|
141
|
-
|
142
126
|
# [The merchant category code for the account](/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
|
143
127
|
attr_accessor :mcc
|
144
|
-
|
145
128
|
# An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.
|
146
129
|
attr_accessor :monthly_estimated_revenue
|
147
|
-
|
148
130
|
# The customer-facing business name.
|
149
131
|
attr_accessor :name
|
150
|
-
|
151
132
|
# Internal-only description of the product sold by, or service provided by, the business. Used by Stripe for risk and underwriting purposes.
|
152
133
|
attr_accessor :product_description
|
153
|
-
|
154
134
|
# A publicly available mailing address for sending support issues to.
|
155
135
|
attr_accessor :support_address
|
156
|
-
|
157
136
|
# A publicly available email address for sending support issues to.
|
158
137
|
attr_accessor :support_email
|
159
|
-
|
160
138
|
# A publicly available phone number to call with support issues.
|
161
139
|
attr_accessor :support_phone
|
162
|
-
|
163
140
|
# A publicly available website for handling support issues.
|
164
141
|
attr_accessor :support_url
|
165
|
-
|
166
142
|
# The business's publicly available website.
|
167
143
|
attr_accessor :url
|
168
144
|
|
@@ -563,6 +539,15 @@ module Stripe
|
|
563
539
|
end
|
564
540
|
end
|
565
541
|
|
542
|
+
class PayByBankPayments < Stripe::RequestParams
|
543
|
+
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
544
|
+
attr_accessor :requested
|
545
|
+
|
546
|
+
def initialize(requested: nil)
|
547
|
+
@requested = requested
|
548
|
+
end
|
549
|
+
end
|
550
|
+
|
566
551
|
class PaycoPayments < Stripe::RequestParams
|
567
552
|
# Passing true requests the capability for the account, if it 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
553
|
attr_accessor :requested
|
@@ -789,199 +774,136 @@ module Stripe
|
|
789
774
|
end
|
790
775
|
# The acss_debit_payments capability.
|
791
776
|
attr_accessor :acss_debit_payments
|
792
|
-
|
793
777
|
# The affirm_payments capability.
|
794
778
|
attr_accessor :affirm_payments
|
795
|
-
|
796
779
|
# The afterpay_clearpay_payments capability.
|
797
780
|
attr_accessor :afterpay_clearpay_payments
|
798
|
-
|
799
781
|
# The alma_payments capability.
|
800
782
|
attr_accessor :alma_payments
|
801
|
-
|
802
783
|
# The amazon_pay_payments capability.
|
803
784
|
attr_accessor :amazon_pay_payments
|
804
|
-
|
805
785
|
# The au_becs_debit_payments capability.
|
806
786
|
attr_accessor :au_becs_debit_payments
|
807
|
-
|
808
787
|
# The automatic_indirect_tax capability.
|
809
788
|
attr_accessor :automatic_indirect_tax
|
810
|
-
|
811
789
|
# The bacs_debit_payments capability.
|
812
790
|
attr_accessor :bacs_debit_payments
|
813
|
-
|
814
791
|
# The bancontact_payments capability.
|
815
792
|
attr_accessor :bancontact_payments
|
816
|
-
|
817
793
|
# The bank_transfer_payments capability.
|
818
794
|
attr_accessor :bank_transfer_payments
|
819
|
-
|
820
795
|
# The blik_payments capability.
|
821
796
|
attr_accessor :blik_payments
|
822
|
-
|
823
797
|
# The boleto_payments capability.
|
824
798
|
attr_accessor :boleto_payments
|
825
|
-
|
826
799
|
# The card_issuing capability.
|
827
800
|
attr_accessor :card_issuing
|
828
|
-
|
829
801
|
# The card_payments capability.
|
830
802
|
attr_accessor :card_payments
|
831
|
-
|
832
803
|
# The cartes_bancaires_payments capability.
|
833
804
|
attr_accessor :cartes_bancaires_payments
|
834
|
-
|
835
805
|
# The cashapp_payments capability.
|
836
806
|
attr_accessor :cashapp_payments
|
837
|
-
|
838
807
|
# The eps_payments capability.
|
839
808
|
attr_accessor :eps_payments
|
840
|
-
|
841
809
|
# The fpx_payments capability.
|
842
810
|
attr_accessor :fpx_payments
|
843
|
-
|
844
811
|
# The gb_bank_transfer_payments capability.
|
845
812
|
attr_accessor :gb_bank_transfer_payments
|
846
|
-
|
847
813
|
# The giropay_payments capability.
|
848
814
|
attr_accessor :giropay_payments
|
849
|
-
|
850
815
|
# The gopay_payments capability.
|
851
816
|
attr_accessor :gopay_payments
|
852
|
-
|
853
817
|
# The grabpay_payments capability.
|
854
818
|
attr_accessor :grabpay_payments
|
855
|
-
|
856
819
|
# The id_bank_transfer_payments capability.
|
857
820
|
attr_accessor :id_bank_transfer_payments
|
858
|
-
|
859
821
|
# The id_bank_transfer_payments_bca capability.
|
860
822
|
attr_accessor :id_bank_transfer_payments_bca
|
861
|
-
|
862
823
|
# The ideal_payments capability.
|
863
824
|
attr_accessor :ideal_payments
|
864
|
-
|
865
825
|
# The india_international_payments capability.
|
866
826
|
attr_accessor :india_international_payments
|
867
|
-
|
868
827
|
# The jcb_payments capability.
|
869
828
|
attr_accessor :jcb_payments
|
870
|
-
|
871
829
|
# The jp_bank_transfer_payments capability.
|
872
830
|
attr_accessor :jp_bank_transfer_payments
|
873
|
-
|
874
831
|
# The kakao_pay_payments capability.
|
875
832
|
attr_accessor :kakao_pay_payments
|
876
|
-
|
877
833
|
# The klarna_payments capability.
|
878
834
|
attr_accessor :klarna_payments
|
879
|
-
|
880
835
|
# The konbini_payments capability.
|
881
836
|
attr_accessor :konbini_payments
|
882
|
-
|
883
837
|
# The kr_card_payments capability.
|
884
838
|
attr_accessor :kr_card_payments
|
885
|
-
|
886
839
|
# The legacy_payments capability.
|
887
840
|
attr_accessor :legacy_payments
|
888
|
-
|
889
841
|
# The link_payments capability.
|
890
842
|
attr_accessor :link_payments
|
891
|
-
|
892
843
|
# The mb_way_payments capability.
|
893
844
|
attr_accessor :mb_way_payments
|
894
|
-
|
895
845
|
# The mobilepay_payments capability.
|
896
846
|
attr_accessor :mobilepay_payments
|
897
|
-
|
898
847
|
# The multibanco_payments capability.
|
899
848
|
attr_accessor :multibanco_payments
|
900
|
-
|
901
849
|
# The mx_bank_transfer_payments capability.
|
902
850
|
attr_accessor :mx_bank_transfer_payments
|
903
|
-
|
904
851
|
# The naver_pay_payments capability.
|
905
852
|
attr_accessor :naver_pay_payments
|
906
|
-
|
907
853
|
# The oxxo_payments capability.
|
908
854
|
attr_accessor :oxxo_payments
|
909
|
-
|
910
855
|
# The p24_payments capability.
|
911
856
|
attr_accessor :p24_payments
|
912
|
-
|
857
|
+
# The pay_by_bank_payments capability.
|
858
|
+
attr_accessor :pay_by_bank_payments
|
913
859
|
# The payco_payments capability.
|
914
860
|
attr_accessor :payco_payments
|
915
|
-
|
916
861
|
# The paynow_payments capability.
|
917
862
|
attr_accessor :paynow_payments
|
918
|
-
|
919
863
|
# The paypal_payments capability.
|
920
864
|
attr_accessor :paypal_payments
|
921
|
-
|
922
865
|
# The payto_payments capability.
|
923
866
|
attr_accessor :payto_payments
|
924
|
-
|
925
867
|
# The promptpay_payments capability.
|
926
868
|
attr_accessor :promptpay_payments
|
927
|
-
|
928
869
|
# The qris_payments capability.
|
929
870
|
attr_accessor :qris_payments
|
930
|
-
|
931
871
|
# The rechnung_payments capability.
|
932
872
|
attr_accessor :rechnung_payments
|
933
|
-
|
934
873
|
# The revolut_pay_payments capability.
|
935
874
|
attr_accessor :revolut_pay_payments
|
936
|
-
|
937
875
|
# The samsung_pay_payments capability.
|
938
876
|
attr_accessor :samsung_pay_payments
|
939
|
-
|
940
877
|
# The sepa_bank_transfer_payments capability.
|
941
878
|
attr_accessor :sepa_bank_transfer_payments
|
942
|
-
|
943
879
|
# The sepa_debit_payments capability.
|
944
880
|
attr_accessor :sepa_debit_payments
|
945
|
-
|
946
881
|
# The shopeepay_payments capability.
|
947
882
|
attr_accessor :shopeepay_payments
|
948
|
-
|
949
883
|
# The sofort_payments capability.
|
950
884
|
attr_accessor :sofort_payments
|
951
|
-
|
952
885
|
# The swish_payments capability.
|
953
886
|
attr_accessor :swish_payments
|
954
|
-
|
955
887
|
# The tax_reporting_us_1099_k capability.
|
956
888
|
attr_accessor :tax_reporting_us_1099_k
|
957
|
-
|
958
889
|
# The tax_reporting_us_1099_misc capability.
|
959
890
|
attr_accessor :tax_reporting_us_1099_misc
|
960
|
-
|
961
891
|
# The transfers capability.
|
962
892
|
attr_accessor :transfers
|
963
|
-
|
964
893
|
# The treasury capability.
|
965
894
|
attr_accessor :treasury
|
966
|
-
|
967
895
|
# The treasury_evolve capability.
|
968
896
|
attr_accessor :treasury_evolve
|
969
|
-
|
970
897
|
# The treasury_fifth_third capability.
|
971
898
|
attr_accessor :treasury_fifth_third
|
972
|
-
|
973
899
|
# The treasury_goldman_sachs capability.
|
974
900
|
attr_accessor :treasury_goldman_sachs
|
975
|
-
|
976
901
|
# The twint_payments capability.
|
977
902
|
attr_accessor :twint_payments
|
978
|
-
|
979
903
|
# The us_bank_account_ach_payments capability.
|
980
904
|
attr_accessor :us_bank_account_ach_payments
|
981
|
-
|
982
905
|
# The us_bank_transfer_payments capability.
|
983
906
|
attr_accessor :us_bank_transfer_payments
|
984
|
-
|
985
907
|
# The zip_payments capability.
|
986
908
|
attr_accessor :zip_payments
|
987
909
|
|
@@ -1027,6 +949,7 @@ module Stripe
|
|
1027
949
|
naver_pay_payments: nil,
|
1028
950
|
oxxo_payments: nil,
|
1029
951
|
p24_payments: nil,
|
952
|
+
pay_by_bank_payments: nil,
|
1030
953
|
payco_payments: nil,
|
1031
954
|
paynow_payments: nil,
|
1032
955
|
paypal_payments: nil,
|
@@ -1094,6 +1017,7 @@ module Stripe
|
|
1094
1017
|
@naver_pay_payments = naver_pay_payments
|
1095
1018
|
@oxxo_payments = oxxo_payments
|
1096
1019
|
@p24_payments = p24_payments
|
1020
|
+
@pay_by_bank_payments = pay_by_bank_payments
|
1097
1021
|
@payco_payments = payco_payments
|
1098
1022
|
@paynow_payments = paynow_payments
|
1099
1023
|
@paypal_payments = paypal_payments
|
@@ -1125,46 +1049,32 @@ module Stripe
|
|
1125
1049
|
class Card < Stripe::RequestParams
|
1126
1050
|
# Attribute for param field object
|
1127
1051
|
attr_accessor :object
|
1128
|
-
|
1129
1052
|
# Attribute for param field address_city
|
1130
1053
|
attr_accessor :address_city
|
1131
|
-
|
1132
1054
|
# Attribute for param field address_country
|
1133
1055
|
attr_accessor :address_country
|
1134
|
-
|
1135
1056
|
# Attribute for param field address_line1
|
1136
1057
|
attr_accessor :address_line1
|
1137
|
-
|
1138
1058
|
# Attribute for param field address_line2
|
1139
1059
|
attr_accessor :address_line2
|
1140
|
-
|
1141
1060
|
# Attribute for param field address_state
|
1142
1061
|
attr_accessor :address_state
|
1143
|
-
|
1144
1062
|
# Attribute for param field address_zip
|
1145
1063
|
attr_accessor :address_zip
|
1146
|
-
|
1147
1064
|
# Attribute for param field currency
|
1148
1065
|
attr_accessor :currency
|
1149
|
-
|
1150
1066
|
# Attribute for param field cvc
|
1151
1067
|
attr_accessor :cvc
|
1152
|
-
|
1153
1068
|
# Attribute for param field exp_month
|
1154
1069
|
attr_accessor :exp_month
|
1155
|
-
|
1156
1070
|
# Attribute for param field exp_year
|
1157
1071
|
attr_accessor :exp_year
|
1158
|
-
|
1159
1072
|
# Attribute for param field name
|
1160
1073
|
attr_accessor :name
|
1161
|
-
|
1162
1074
|
# Attribute for param field number
|
1163
1075
|
attr_accessor :number
|
1164
|
-
|
1165
1076
|
# 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
1077
|
attr_accessor :metadata
|
1167
|
-
|
1168
1078
|
# Attribute for param field default_for_currency
|
1169
1079
|
attr_accessor :default_for_currency
|
1170
1080
|
|
@@ -1206,10 +1116,8 @@ module Stripe
|
|
1206
1116
|
class CardToken < Stripe::RequestParams
|
1207
1117
|
# Attribute for param field object
|
1208
1118
|
attr_accessor :object
|
1209
|
-
|
1210
1119
|
# Attribute for param field currency
|
1211
1120
|
attr_accessor :currency
|
1212
|
-
|
1213
1121
|
# Attribute for param field token
|
1214
1122
|
attr_accessor :token
|
1215
1123
|
|
@@ -1224,19 +1132,14 @@ module Stripe
|
|
1224
1132
|
class Address < Stripe::RequestParams
|
1225
1133
|
# City, district, suburb, town, or village.
|
1226
1134
|
attr_accessor :city
|
1227
|
-
|
1228
1135
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1229
1136
|
attr_accessor :country
|
1230
|
-
|
1231
1137
|
# Address line 1 (e.g., street, PO Box, or company name).
|
1232
1138
|
attr_accessor :line1
|
1233
|
-
|
1234
1139
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1235
1140
|
attr_accessor :line2
|
1236
|
-
|
1237
1141
|
# ZIP or postal code.
|
1238
1142
|
attr_accessor :postal_code
|
1239
|
-
|
1240
1143
|
# State, county, province, or region.
|
1241
1144
|
attr_accessor :state
|
1242
1145
|
|
@@ -1260,22 +1163,16 @@ module Stripe
|
|
1260
1163
|
class AddressKana < Stripe::RequestParams
|
1261
1164
|
# City or ward.
|
1262
1165
|
attr_accessor :city
|
1263
|
-
|
1264
1166
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1265
1167
|
attr_accessor :country
|
1266
|
-
|
1267
1168
|
# Block or building number.
|
1268
1169
|
attr_accessor :line1
|
1269
|
-
|
1270
1170
|
# Building details.
|
1271
1171
|
attr_accessor :line2
|
1272
|
-
|
1273
1172
|
# Postal code.
|
1274
1173
|
attr_accessor :postal_code
|
1275
|
-
|
1276
1174
|
# Prefecture.
|
1277
1175
|
attr_accessor :state
|
1278
|
-
|
1279
1176
|
# Town or cho-me.
|
1280
1177
|
attr_accessor :town
|
1281
1178
|
|
@@ -1301,22 +1198,16 @@ module Stripe
|
|
1301
1198
|
class AddressKanji < Stripe::RequestParams
|
1302
1199
|
# City or ward.
|
1303
1200
|
attr_accessor :city
|
1304
|
-
|
1305
1201
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1306
1202
|
attr_accessor :country
|
1307
|
-
|
1308
1203
|
# Block or building number.
|
1309
1204
|
attr_accessor :line1
|
1310
|
-
|
1311
1205
|
# Building details.
|
1312
1206
|
attr_accessor :line2
|
1313
|
-
|
1314
1207
|
# Postal code.
|
1315
1208
|
attr_accessor :postal_code
|
1316
|
-
|
1317
1209
|
# Prefecture.
|
1318
1210
|
attr_accessor :state
|
1319
|
-
|
1320
1211
|
# Town or cho-me.
|
1321
1212
|
attr_accessor :town
|
1322
1213
|
|
@@ -1339,13 +1230,26 @@ module Stripe
|
|
1339
1230
|
end
|
1340
1231
|
end
|
1341
1232
|
|
1233
|
+
class DirectorshipDeclaration < Stripe::RequestParams
|
1234
|
+
# The Unix timestamp marking when the directorship declaration attestation was made.
|
1235
|
+
attr_accessor :date
|
1236
|
+
# The IP address from which the directorship declaration attestation was made.
|
1237
|
+
attr_accessor :ip
|
1238
|
+
# The user agent of the browser from which the directorship declaration attestation was made.
|
1239
|
+
attr_accessor :user_agent
|
1240
|
+
|
1241
|
+
def initialize(date: nil, ip: nil, user_agent: nil)
|
1242
|
+
@date = date
|
1243
|
+
@ip = ip
|
1244
|
+
@user_agent = user_agent
|
1245
|
+
end
|
1246
|
+
end
|
1247
|
+
|
1342
1248
|
class OwnershipDeclaration < Stripe::RequestParams
|
1343
1249
|
# The Unix timestamp marking when the beneficial owner attestation was made.
|
1344
1250
|
attr_accessor :date
|
1345
|
-
|
1346
1251
|
# The IP address from which the beneficial owner attestation was made.
|
1347
1252
|
attr_accessor :ip
|
1348
|
-
|
1349
1253
|
# The user agent of the browser from which the beneficial owner attestation was made.
|
1350
1254
|
attr_accessor :user_agent
|
1351
1255
|
|
@@ -1360,7 +1264,6 @@ module Stripe
|
|
1360
1264
|
class Document < Stripe::RequestParams
|
1361
1265
|
# 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
1266
|
attr_accessor :back
|
1363
|
-
|
1364
1267
|
# 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
1268
|
attr_accessor :front
|
1366
1269
|
|
@@ -1378,58 +1281,44 @@ module Stripe
|
|
1378
1281
|
end
|
1379
1282
|
# The company's primary address.
|
1380
1283
|
attr_accessor :address
|
1381
|
-
|
1382
1284
|
# The Kana variation of the company's primary address (Japan only).
|
1383
1285
|
attr_accessor :address_kana
|
1384
|
-
|
1385
1286
|
# The Kanji variation of the company's primary address (Japan only).
|
1386
1287
|
attr_accessor :address_kanji
|
1387
|
-
|
1388
1288
|
# 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
1289
|
attr_accessor :directors_provided
|
1390
|
-
|
1290
|
+
# This hash is used to attest that the directors information provided to Stripe is both current and correct.
|
1291
|
+
attr_accessor :directorship_declaration
|
1391
1292
|
# 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
1293
|
attr_accessor :executives_provided
|
1393
|
-
|
1394
1294
|
# The export license ID number of the company, also referred as Import Export Code (India only).
|
1395
1295
|
attr_accessor :export_license_id
|
1396
|
-
|
1397
1296
|
# The purpose code to use for export transactions (India only).
|
1398
1297
|
attr_accessor :export_purpose_code
|
1399
|
-
|
1400
1298
|
# The company's legal name.
|
1401
1299
|
attr_accessor :name
|
1402
|
-
|
1403
1300
|
# The Kana variation of the company's legal name (Japan only).
|
1404
1301
|
attr_accessor :name_kana
|
1405
|
-
|
1406
1302
|
# The Kanji variation of the company's legal name (Japan only).
|
1407
1303
|
attr_accessor :name_kanji
|
1408
|
-
|
1409
1304
|
# 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
1305
|
attr_accessor :owners_provided
|
1411
|
-
|
1412
1306
|
# This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.
|
1413
1307
|
attr_accessor :ownership_declaration
|
1414
|
-
|
1308
|
+
# Attribute for param field ownership_exemption_reason
|
1309
|
+
attr_accessor :ownership_exemption_reason
|
1415
1310
|
# The company's phone number (used for verification).
|
1416
1311
|
attr_accessor :phone
|
1417
|
-
|
1418
1312
|
# 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
1313
|
attr_accessor :registration_number
|
1420
|
-
|
1421
1314
|
# 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
1315
|
attr_accessor :structure
|
1423
|
-
|
1424
1316
|
# 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
1317
|
attr_accessor :tax_id
|
1426
|
-
|
1427
1318
|
# The jurisdiction in which the `tax_id` is registered (Germany-based companies only).
|
1428
1319
|
attr_accessor :tax_id_registrar
|
1429
|
-
|
1430
1320
|
# The VAT number of the company.
|
1431
1321
|
attr_accessor :vat_id
|
1432
|
-
|
1433
1322
|
# Information on the verification state of the company.
|
1434
1323
|
attr_accessor :verification
|
1435
1324
|
|
@@ -1438,6 +1327,7 @@ module Stripe
|
|
1438
1327
|
address_kana: nil,
|
1439
1328
|
address_kanji: nil,
|
1440
1329
|
directors_provided: nil,
|
1330
|
+
directorship_declaration: nil,
|
1441
1331
|
executives_provided: nil,
|
1442
1332
|
export_license_id: nil,
|
1443
1333
|
export_purpose_code: nil,
|
@@ -1446,6 +1336,7 @@ module Stripe
|
|
1446
1336
|
name_kanji: nil,
|
1447
1337
|
owners_provided: nil,
|
1448
1338
|
ownership_declaration: nil,
|
1339
|
+
ownership_exemption_reason: nil,
|
1449
1340
|
phone: nil,
|
1450
1341
|
registration_number: nil,
|
1451
1342
|
structure: nil,
|
@@ -1458,6 +1349,7 @@ module Stripe
|
|
1458
1349
|
@address_kana = address_kana
|
1459
1350
|
@address_kanji = address_kanji
|
1460
1351
|
@directors_provided = directors_provided
|
1352
|
+
@directorship_declaration = directorship_declaration
|
1461
1353
|
@executives_provided = executives_provided
|
1462
1354
|
@export_license_id = export_license_id
|
1463
1355
|
@export_purpose_code = export_purpose_code
|
@@ -1466,6 +1358,7 @@ module Stripe
|
|
1466
1358
|
@name_kanji = name_kanji
|
1467
1359
|
@owners_provided = owners_provided
|
1468
1360
|
@ownership_declaration = ownership_declaration
|
1361
|
+
@ownership_exemption_reason = ownership_exemption_reason
|
1469
1362
|
@phone = phone
|
1470
1363
|
@registration_number = registration_number
|
1471
1364
|
@structure = structure
|
@@ -1539,26 +1432,31 @@ module Stripe
|
|
1539
1432
|
@files = files
|
1540
1433
|
end
|
1541
1434
|
end
|
1435
|
+
|
1436
|
+
class ProofOfUltimateBeneficialOwnership < Stripe::RequestParams
|
1437
|
+
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
1438
|
+
attr_accessor :files
|
1439
|
+
|
1440
|
+
def initialize(files: nil)
|
1441
|
+
@files = files
|
1442
|
+
end
|
1443
|
+
end
|
1542
1444
|
# 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
1445
|
attr_accessor :bank_account_ownership_verification
|
1544
|
-
|
1545
1446
|
# One or more documents that demonstrate proof of a company's license to operate.
|
1546
1447
|
attr_accessor :company_license
|
1547
|
-
|
1548
1448
|
# One or more documents showing the company's Memorandum of Association.
|
1549
1449
|
attr_accessor :company_memorandum_of_association
|
1550
|
-
|
1551
1450
|
# (Certain countries only) One or more documents showing the ministerial decree legalizing the company's establishment.
|
1552
1451
|
attr_accessor :company_ministerial_decree
|
1553
|
-
|
1554
1452
|
# One or more documents that demonstrate proof of a company's registration with the appropriate local authorities.
|
1555
1453
|
attr_accessor :company_registration_verification
|
1556
|
-
|
1557
1454
|
# One or more documents that demonstrate proof of a company's tax ID.
|
1558
1455
|
attr_accessor :company_tax_id_verification
|
1559
|
-
|
1560
1456
|
# One or more documents showing the company’s proof of registration with the national business registry.
|
1561
1457
|
attr_accessor :proof_of_registration
|
1458
|
+
# One or more documents that demonstrate proof of ultimate beneficial ownership.
|
1459
|
+
attr_accessor :proof_of_ultimate_beneficial_ownership
|
1562
1460
|
|
1563
1461
|
def initialize(
|
1564
1462
|
bank_account_ownership_verification: nil,
|
@@ -1567,7 +1465,8 @@ module Stripe
|
|
1567
1465
|
company_ministerial_decree: nil,
|
1568
1466
|
company_registration_verification: nil,
|
1569
1467
|
company_tax_id_verification: nil,
|
1570
|
-
proof_of_registration: nil
|
1468
|
+
proof_of_registration: nil,
|
1469
|
+
proof_of_ultimate_beneficial_ownership: nil
|
1571
1470
|
)
|
1572
1471
|
@bank_account_ownership_verification = bank_account_ownership_verification
|
1573
1472
|
@company_license = company_license
|
@@ -1576,6 +1475,7 @@ module Stripe
|
|
1576
1475
|
@company_registration_verification = company_registration_verification
|
1577
1476
|
@company_tax_id_verification = company_tax_id_verification
|
1578
1477
|
@proof_of_registration = proof_of_registration
|
1478
|
+
@proof_of_ultimate_beneficial_ownership = proof_of_ultimate_beneficial_ownership
|
1579
1479
|
end
|
1580
1480
|
end
|
1581
1481
|
|
@@ -1592,19 +1492,14 @@ module Stripe
|
|
1592
1492
|
class Address < Stripe::RequestParams
|
1593
1493
|
# City, district, suburb, town, or village.
|
1594
1494
|
attr_accessor :city
|
1595
|
-
|
1596
1495
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1597
1496
|
attr_accessor :country
|
1598
|
-
|
1599
1497
|
# Address line 1 (e.g., street, PO Box, or company name).
|
1600
1498
|
attr_accessor :line1
|
1601
|
-
|
1602
1499
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1603
1500
|
attr_accessor :line2
|
1604
|
-
|
1605
1501
|
# ZIP or postal code.
|
1606
1502
|
attr_accessor :postal_code
|
1607
|
-
|
1608
1503
|
# State, county, province, or region.
|
1609
1504
|
attr_accessor :state
|
1610
1505
|
|
@@ -1628,22 +1523,16 @@ module Stripe
|
|
1628
1523
|
class AddressKana < Stripe::RequestParams
|
1629
1524
|
# City or ward.
|
1630
1525
|
attr_accessor :city
|
1631
|
-
|
1632
1526
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1633
1527
|
attr_accessor :country
|
1634
|
-
|
1635
1528
|
# Block or building number.
|
1636
1529
|
attr_accessor :line1
|
1637
|
-
|
1638
1530
|
# Building details.
|
1639
1531
|
attr_accessor :line2
|
1640
|
-
|
1641
1532
|
# Postal code.
|
1642
1533
|
attr_accessor :postal_code
|
1643
|
-
|
1644
1534
|
# Prefecture.
|
1645
1535
|
attr_accessor :state
|
1646
|
-
|
1647
1536
|
# Town or cho-me.
|
1648
1537
|
attr_accessor :town
|
1649
1538
|
|
@@ -1669,22 +1558,16 @@ module Stripe
|
|
1669
1558
|
class AddressKanji < Stripe::RequestParams
|
1670
1559
|
# City or ward.
|
1671
1560
|
attr_accessor :city
|
1672
|
-
|
1673
1561
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1674
1562
|
attr_accessor :country
|
1675
|
-
|
1676
1563
|
# Block or building number.
|
1677
1564
|
attr_accessor :line1
|
1678
|
-
|
1679
1565
|
# Building details.
|
1680
1566
|
attr_accessor :line2
|
1681
|
-
|
1682
1567
|
# Postal code.
|
1683
1568
|
attr_accessor :postal_code
|
1684
|
-
|
1685
1569
|
# Prefecture.
|
1686
1570
|
attr_accessor :state
|
1687
|
-
|
1688
1571
|
# Town or cho-me.
|
1689
1572
|
attr_accessor :town
|
1690
1573
|
|
@@ -1710,10 +1593,8 @@ module Stripe
|
|
1710
1593
|
class Dob < Stripe::RequestParams
|
1711
1594
|
# The day of birth, between 1 and 31.
|
1712
1595
|
attr_accessor :day
|
1713
|
-
|
1714
1596
|
# The month of birth, between 1 and 12.
|
1715
1597
|
attr_accessor :month
|
1716
|
-
|
1717
1598
|
# The four-digit year of birth.
|
1718
1599
|
attr_accessor :year
|
1719
1600
|
|
@@ -1727,19 +1608,14 @@ module Stripe
|
|
1727
1608
|
class RegisteredAddress < Stripe::RequestParams
|
1728
1609
|
# City, district, suburb, town, or village.
|
1729
1610
|
attr_accessor :city
|
1730
|
-
|
1731
1611
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1732
1612
|
attr_accessor :country
|
1733
|
-
|
1734
1613
|
# Address line 1 (e.g., street, PO Box, or company name).
|
1735
1614
|
attr_accessor :line1
|
1736
|
-
|
1737
1615
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1738
1616
|
attr_accessor :line2
|
1739
|
-
|
1740
1617
|
# ZIP or postal code.
|
1741
1618
|
attr_accessor :postal_code
|
1742
|
-
|
1743
1619
|
# State, county, province, or region.
|
1744
1620
|
attr_accessor :state
|
1745
1621
|
|
@@ -1763,16 +1639,12 @@ module Stripe
|
|
1763
1639
|
class Relationship < Stripe::RequestParams
|
1764
1640
|
# 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
1641
|
attr_accessor :director
|
1766
|
-
|
1767
1642
|
# Whether the person has significant responsibility to control, manage, or direct the organization.
|
1768
1643
|
attr_accessor :executive
|
1769
|
-
|
1770
1644
|
# Whether the person is an owner of the account’s legal entity.
|
1771
1645
|
attr_accessor :owner
|
1772
|
-
|
1773
1646
|
# The percent owned by the person of the account's legal entity.
|
1774
1647
|
attr_accessor :percent_ownership
|
1775
|
-
|
1776
1648
|
# The person's title (e.g., CEO, Support Engineer).
|
1777
1649
|
attr_accessor :title
|
1778
1650
|
|
@@ -1795,7 +1667,6 @@ module Stripe
|
|
1795
1667
|
class AdditionalDocument < Stripe::RequestParams
|
1796
1668
|
# 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
1669
|
attr_accessor :back
|
1798
|
-
|
1799
1670
|
# 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
1671
|
attr_accessor :front
|
1801
1672
|
|
@@ -1808,7 +1679,6 @@ module Stripe
|
|
1808
1679
|
class Document < Stripe::RequestParams
|
1809
1680
|
# 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
1681
|
attr_accessor :back
|
1811
|
-
|
1812
1682
|
# 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
1683
|
attr_accessor :front
|
1814
1684
|
|
@@ -1819,7 +1689,6 @@ module Stripe
|
|
1819
1689
|
end
|
1820
1690
|
# A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
|
1821
1691
|
attr_accessor :additional_document
|
1822
|
-
|
1823
1692
|
# An identifying document, either a passport or local ID card.
|
1824
1693
|
attr_accessor :document
|
1825
1694
|
|
@@ -1830,70 +1699,48 @@ module Stripe
|
|
1830
1699
|
end
|
1831
1700
|
# The individual's primary address.
|
1832
1701
|
attr_accessor :address
|
1833
|
-
|
1834
1702
|
# The Kana variation of the individual's primary address (Japan only).
|
1835
1703
|
attr_accessor :address_kana
|
1836
|
-
|
1837
1704
|
# The Kanji variation of the individual's primary address (Japan only).
|
1838
1705
|
attr_accessor :address_kanji
|
1839
|
-
|
1840
1706
|
# The individual's date of birth.
|
1841
1707
|
attr_accessor :dob
|
1842
|
-
|
1843
1708
|
# The individual's email address.
|
1844
1709
|
attr_accessor :email
|
1845
|
-
|
1846
1710
|
# The individual's first name.
|
1847
1711
|
attr_accessor :first_name
|
1848
|
-
|
1849
1712
|
# The Kana variation of the individual's first name (Japan only).
|
1850
1713
|
attr_accessor :first_name_kana
|
1851
|
-
|
1852
1714
|
# The Kanji variation of the individual's first name (Japan only).
|
1853
1715
|
attr_accessor :first_name_kanji
|
1854
|
-
|
1855
1716
|
# A list of alternate names or aliases that the individual is known by.
|
1856
1717
|
attr_accessor :full_name_aliases
|
1857
|
-
|
1858
1718
|
# The individual's gender
|
1859
1719
|
attr_accessor :gender
|
1860
|
-
|
1861
1720
|
# 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
1721
|
attr_accessor :id_number
|
1863
|
-
|
1864
1722
|
# 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
1723
|
attr_accessor :id_number_secondary
|
1866
|
-
|
1867
1724
|
# The individual's last name.
|
1868
1725
|
attr_accessor :last_name
|
1869
|
-
|
1870
1726
|
# The Kana variation of the individual's last name (Japan only).
|
1871
1727
|
attr_accessor :last_name_kana
|
1872
|
-
|
1873
1728
|
# The Kanji variation of the individual's last name (Japan only).
|
1874
1729
|
attr_accessor :last_name_kanji
|
1875
|
-
|
1876
1730
|
# The individual's maiden name.
|
1877
1731
|
attr_accessor :maiden_name
|
1878
|
-
|
1879
1732
|
# 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
1733
|
attr_accessor :metadata
|
1881
|
-
|
1882
1734
|
# The individual's phone number.
|
1883
1735
|
attr_accessor :phone
|
1884
|
-
|
1885
1736
|
# 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
1737
|
attr_accessor :political_exposure
|
1887
|
-
|
1888
1738
|
# The individual's registered address.
|
1889
1739
|
attr_accessor :registered_address
|
1890
|
-
|
1891
1740
|
# Describes the person’s relationship to the account.
|
1892
1741
|
attr_accessor :relationship
|
1893
|
-
|
1894
1742
|
# The last four digits of the individual's Social Security Number (U.S. only).
|
1895
1743
|
attr_accessor :ssn_last_4
|
1896
|
-
|
1897
1744
|
# The individual's verification document information.
|
1898
1745
|
attr_accessor :verification
|
1899
1746
|
|
@@ -1970,7 +1817,6 @@ module Stripe
|
|
1970
1817
|
end
|
1971
1818
|
# 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
1819
|
attr_accessor :charges
|
1973
|
-
|
1974
1820
|
# 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
1821
|
attr_accessor :payouts
|
1976
1822
|
|
@@ -1993,7 +1839,6 @@ module Stripe
|
|
1993
1839
|
class BankBcaOnboarding < Stripe::RequestParams
|
1994
1840
|
# Bank BCA business account holder name
|
1995
1841
|
attr_accessor :account_holder_name
|
1996
|
-
|
1997
1842
|
# Bank BCA business account number
|
1998
1843
|
attr_accessor :business_account_number
|
1999
1844
|
|
@@ -2006,13 +1851,10 @@ module Stripe
|
|
2006
1851
|
class Branding < Stripe::RequestParams
|
2007
1852
|
# (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
1853
|
attr_accessor :icon
|
2009
|
-
|
2010
1854
|
# (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
1855
|
attr_accessor :logo
|
2012
|
-
|
2013
1856
|
# A CSS hex color value representing the primary branding color for this account.
|
2014
1857
|
attr_accessor :primary_color
|
2015
|
-
|
2016
1858
|
# A CSS hex color value representing the secondary branding color for this account.
|
2017
1859
|
attr_accessor :secondary_color
|
2018
1860
|
|
@@ -2027,7 +1869,6 @@ module Stripe
|
|
2027
1869
|
class Capital < Stripe::RequestParams
|
2028
1870
|
# Per-currency mapping of user-selected destination accounts used to pay out loans.
|
2029
1871
|
attr_accessor :payout_destination
|
2030
|
-
|
2031
1872
|
# Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
2032
1873
|
attr_accessor :payout_destination_selector
|
2033
1874
|
|
@@ -2041,10 +1882,8 @@ module Stripe
|
|
2041
1882
|
class TosAcceptance < Stripe::RequestParams
|
2042
1883
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
2043
1884
|
attr_accessor :date
|
2044
|
-
|
2045
1885
|
# The IP address from which the account representative accepted the service agreement.
|
2046
1886
|
attr_accessor :ip
|
2047
|
-
|
2048
1887
|
# The user agent of the browser from which the account representative accepted the service agreement.
|
2049
1888
|
attr_accessor :user_agent
|
2050
1889
|
|
@@ -2066,7 +1905,6 @@ module Stripe
|
|
2066
1905
|
class DeclineOn < Stripe::RequestParams
|
2067
1906
|
# 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
1907
|
attr_accessor :avs_failure
|
2069
|
-
|
2070
1908
|
# Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification.
|
2071
1909
|
attr_accessor :cvc_failure
|
2072
1910
|
|
@@ -2077,13 +1915,10 @@ module Stripe
|
|
2077
1915
|
end
|
2078
1916
|
# Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge.
|
2079
1917
|
attr_accessor :decline_on
|
2080
|
-
|
2081
1918
|
# 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
1919
|
attr_accessor :statement_descriptor_prefix
|
2083
|
-
|
2084
1920
|
# 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
1921
|
attr_accessor :statement_descriptor_prefix_kana
|
2086
|
-
|
2087
1922
|
# 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
1923
|
attr_accessor :statement_descriptor_prefix_kanji
|
2089
1924
|
|
@@ -2112,10 +1947,8 @@ module Stripe
|
|
2112
1947
|
class Payments < Stripe::RequestParams
|
2113
1948
|
# 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
1949
|
attr_accessor :statement_descriptor
|
2115
|
-
|
2116
1950
|
# 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
1951
|
attr_accessor :statement_descriptor_kana
|
2118
|
-
|
2119
1952
|
# 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
1953
|
attr_accessor :statement_descriptor_kanji
|
2121
1954
|
|
@@ -2134,13 +1967,10 @@ module Stripe
|
|
2134
1967
|
class Schedule < Stripe::RequestParams
|
2135
1968
|
# 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
1969
|
attr_accessor :delay_days
|
2137
|
-
|
2138
1970
|
# How frequently available funds are paid out. One of: `daily`, `manual`, `weekly`, or `monthly`. Default is `daily`.
|
2139
1971
|
attr_accessor :interval
|
2140
|
-
|
2141
1972
|
# 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
1973
|
attr_accessor :monthly_anchor
|
2143
|
-
|
2144
1974
|
# 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
1975
|
attr_accessor :weekly_anchor
|
2146
1976
|
|
@@ -2153,10 +1983,8 @@ module Stripe
|
|
2153
1983
|
end
|
2154
1984
|
# 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
1985
|
attr_accessor :debit_negative_balances
|
2156
|
-
|
2157
1986
|
# 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
1987
|
attr_accessor :schedule
|
2159
|
-
|
2160
1988
|
# 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
1989
|
attr_accessor :statement_descriptor
|
2162
1990
|
|
@@ -2180,10 +2008,8 @@ module Stripe
|
|
2180
2008
|
class TosAcceptance < Stripe::RequestParams
|
2181
2009
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
2182
2010
|
attr_accessor :date
|
2183
|
-
|
2184
2011
|
# The IP address from which the account representative accepted the service agreement.
|
2185
2012
|
attr_accessor :ip
|
2186
|
-
|
2187
2013
|
# The user agent of the browser from which the account representative accepted the service agreement.
|
2188
2014
|
attr_accessor :user_agent
|
2189
2015
|
|
@@ -2202,34 +2028,24 @@ module Stripe
|
|
2202
2028
|
end
|
2203
2029
|
# Settings specific to Bacs Direct Debit payments.
|
2204
2030
|
attr_accessor :bacs_debit_payments
|
2205
|
-
|
2206
2031
|
# Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
2207
2032
|
attr_accessor :bank_bca_onboarding
|
2208
|
-
|
2209
2033
|
# Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
2210
2034
|
attr_accessor :branding
|
2211
|
-
|
2212
2035
|
# Settings specific to the account's use of the Capital product.
|
2213
2036
|
attr_accessor :capital
|
2214
|
-
|
2215
2037
|
# Settings specific to the account's use of the Card Issuing product.
|
2216
2038
|
attr_accessor :card_issuing
|
2217
|
-
|
2218
2039
|
# Settings specific to card charging on the account.
|
2219
2040
|
attr_accessor :card_payments
|
2220
|
-
|
2221
2041
|
# Settings specific to the account's use of Invoices.
|
2222
2042
|
attr_accessor :invoices
|
2223
|
-
|
2224
2043
|
# Settings that apply across payment methods for charging on the account.
|
2225
2044
|
attr_accessor :payments
|
2226
|
-
|
2227
2045
|
# Settings specific to the account's payouts.
|
2228
2046
|
attr_accessor :payouts
|
2229
|
-
|
2230
2047
|
# Settings specific to the account's tax forms.
|
2231
2048
|
attr_accessor :tax_forms
|
2232
|
-
|
2233
2049
|
# Settings specific to the account's Treasury FinancialAccounts.
|
2234
2050
|
attr_accessor :treasury
|
2235
2051
|
|
@@ -2263,13 +2079,10 @@ module Stripe
|
|
2263
2079
|
class TosAcceptance < Stripe::RequestParams
|
2264
2080
|
# The Unix timestamp marking when the account representative accepted their service agreement.
|
2265
2081
|
attr_accessor :date
|
2266
|
-
|
2267
2082
|
# The IP address from which the account representative accepted their service agreement.
|
2268
2083
|
attr_accessor :ip
|
2269
|
-
|
2270
2084
|
# The user's service agreement type.
|
2271
2085
|
attr_accessor :service_agreement
|
2272
|
-
|
2273
2086
|
# The user agent of the browser from which the account representative accepted their service agreement.
|
2274
2087
|
attr_accessor :user_agent
|
2275
2088
|
|
@@ -2282,13 +2095,10 @@ module Stripe
|
|
2282
2095
|
end
|
2283
2096
|
# An [account token](https://stripe.com/docs/api#create_account_token), used to securely provide details to the account.
|
2284
2097
|
attr_accessor :account_token
|
2285
|
-
|
2286
2098
|
# Business information about the account.
|
2287
2099
|
attr_accessor :business_profile
|
2288
|
-
|
2289
2100
|
# 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
2101
|
attr_accessor :business_type
|
2291
|
-
|
2292
2102
|
# Each key of the dictionary represents a capability, and each capability
|
2293
2103
|
# maps to its settings (for example, whether it has been requested or not). Each
|
2294
2104
|
# capability is inactive until you have provided its specific
|
@@ -2298,40 +2108,28 @@ module Stripe
|
|
2298
2108
|
# Required when [account.controller.stripe_dashboard.type](/api/accounts/create#create_account-controller-dashboard-type)
|
2299
2109
|
# is `none`, which includes Custom accounts.
|
2300
2110
|
attr_accessor :capabilities
|
2301
|
-
|
2302
2111
|
# 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
2112
|
attr_accessor :company
|
2304
|
-
|
2305
2113
|
# 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
2114
|
attr_accessor :default_currency
|
2307
|
-
|
2308
2115
|
# Documents that may be submitted to satisfy various informational requests.
|
2309
2116
|
attr_accessor :documents
|
2310
|
-
|
2311
2117
|
# 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
2118
|
attr_accessor :email
|
2313
|
-
|
2314
2119
|
# Specifies which fields in the response should be expanded.
|
2315
2120
|
attr_accessor :expand
|
2316
|
-
|
2317
2121
|
# 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
2122
|
attr_accessor :external_account
|
2319
|
-
|
2320
2123
|
# A hash of account group type to tokens. These are account groups this account should be added to.
|
2321
2124
|
attr_accessor :groups
|
2322
|
-
|
2323
2125
|
# 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
2126
|
attr_accessor :individual
|
2325
|
-
|
2326
2127
|
# 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
2128
|
attr_accessor :metadata
|
2328
|
-
|
2329
2129
|
# 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
2130
|
attr_accessor :risk_controls
|
2331
|
-
|
2332
2131
|
# Options for customizing how the account functions within Stripe.
|
2333
2132
|
attr_accessor :settings
|
2334
|
-
|
2335
2133
|
# 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
2134
|
attr_accessor :tos_acceptance
|
2337
2135
|
|
@@ -2385,13 +2183,10 @@ module Stripe
|
|
2385
2183
|
class Created < Stripe::RequestParams
|
2386
2184
|
# Minimum value to filter by (exclusive)
|
2387
2185
|
attr_accessor :gt
|
2388
|
-
|
2389
2186
|
# Minimum value to filter by (inclusive)
|
2390
2187
|
attr_accessor :gte
|
2391
|
-
|
2392
2188
|
# Maximum value to filter by (exclusive)
|
2393
2189
|
attr_accessor :lt
|
2394
|
-
|
2395
2190
|
# Maximum value to filter by (inclusive)
|
2396
2191
|
attr_accessor :lte
|
2397
2192
|
|
@@ -2404,16 +2199,12 @@ module Stripe
|
|
2404
2199
|
end
|
2405
2200
|
# Only return connected accounts that were created during the given date interval.
|
2406
2201
|
attr_accessor :created
|
2407
|
-
|
2408
2202
|
# 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
2203
|
attr_accessor :ending_before
|
2410
|
-
|
2411
2204
|
# Specifies which fields in the response should be expanded.
|
2412
2205
|
attr_accessor :expand
|
2413
|
-
|
2414
2206
|
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
2415
2207
|
attr_accessor :limit
|
2416
|
-
|
2417
2208
|
# 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
2209
|
attr_accessor :starting_after
|
2419
2210
|
|
@@ -2430,22 +2221,16 @@ module Stripe
|
|
2430
2221
|
class BankAccount < Stripe::RequestParams
|
2431
2222
|
# Attribute for param field object
|
2432
2223
|
attr_accessor :object
|
2433
|
-
|
2434
2224
|
# 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
2225
|
attr_accessor :account_holder_name
|
2436
|
-
|
2437
2226
|
# 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
2227
|
attr_accessor :account_holder_type
|
2439
|
-
|
2440
2228
|
# The account number for the bank account, in string form. Must be a checking account.
|
2441
2229
|
attr_accessor :account_number
|
2442
|
-
|
2443
2230
|
# The country in which the bank account is located.
|
2444
2231
|
attr_accessor :country
|
2445
|
-
|
2446
2232
|
# The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
|
2447
2233
|
attr_accessor :currency
|
2448
|
-
|
2449
2234
|
# 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
2235
|
attr_accessor :routing_number
|
2451
2236
|
|
@@ -2472,10 +2257,8 @@ module Stripe
|
|
2472
2257
|
class AnnualRevenue < Stripe::RequestParams
|
2473
2258
|
# A non-negative integer representing the amount in the [smallest currency unit](/currencies#zero-decimal).
|
2474
2259
|
attr_accessor :amount
|
2475
|
-
|
2476
2260
|
# 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
2261
|
attr_accessor :currency
|
2478
|
-
|
2479
2262
|
# 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
2263
|
attr_accessor :fiscal_year_end
|
2481
2264
|
|
@@ -2489,7 +2272,6 @@ module Stripe
|
|
2489
2272
|
class MonthlyEstimatedRevenue < Stripe::RequestParams
|
2490
2273
|
# A non-negative integer representing how much to charge in the [smallest currency unit](/currencies#zero-decimal).
|
2491
2274
|
attr_accessor :amount
|
2492
|
-
|
2493
2275
|
# 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
2276
|
attr_accessor :currency
|
2495
2277
|
|
@@ -2502,19 +2284,14 @@ module Stripe
|
|
2502
2284
|
class SupportAddress < Stripe::RequestParams
|
2503
2285
|
# City, district, suburb, town, or village.
|
2504
2286
|
attr_accessor :city
|
2505
|
-
|
2506
2287
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
2507
2288
|
attr_accessor :country
|
2508
|
-
|
2509
2289
|
# Address line 1 (e.g., street, PO Box, or company name).
|
2510
2290
|
attr_accessor :line1
|
2511
|
-
|
2512
2291
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
2513
2292
|
attr_accessor :line2
|
2514
|
-
|
2515
2293
|
# ZIP or postal code.
|
2516
2294
|
attr_accessor :postal_code
|
2517
|
-
|
2518
2295
|
# State, county, province, or region.
|
2519
2296
|
attr_accessor :state
|
2520
2297
|
|
@@ -2536,34 +2313,24 @@ module Stripe
|
|
2536
2313
|
end
|
2537
2314
|
# The applicant's gross annual revenue for its preceding fiscal year.
|
2538
2315
|
attr_accessor :annual_revenue
|
2539
|
-
|
2540
2316
|
# An estimated upper bound of employees, contractors, vendors, etc. currently working for the business.
|
2541
2317
|
attr_accessor :estimated_worker_count
|
2542
|
-
|
2543
2318
|
# [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
2319
|
attr_accessor :mcc
|
2545
|
-
|
2546
2320
|
# An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.
|
2547
2321
|
attr_accessor :monthly_estimated_revenue
|
2548
|
-
|
2549
2322
|
# The customer-facing business name.
|
2550
2323
|
attr_accessor :name
|
2551
|
-
|
2552
2324
|
# Internal-only description of the product sold by, or service provided by, the business. Used by Stripe for risk and underwriting purposes.
|
2553
2325
|
attr_accessor :product_description
|
2554
|
-
|
2555
2326
|
# A publicly available mailing address for sending support issues to.
|
2556
2327
|
attr_accessor :support_address
|
2557
|
-
|
2558
2328
|
# A publicly available email address for sending support issues to.
|
2559
2329
|
attr_accessor :support_email
|
2560
|
-
|
2561
2330
|
# A publicly available phone number to call with support issues.
|
2562
2331
|
attr_accessor :support_phone
|
2563
|
-
|
2564
2332
|
# A publicly available website for handling support issues.
|
2565
2333
|
attr_accessor :support_url
|
2566
|
-
|
2567
2334
|
# The business's publicly available website.
|
2568
2335
|
attr_accessor :url
|
2569
2336
|
|
@@ -2964,6 +2731,15 @@ module Stripe
|
|
2964
2731
|
end
|
2965
2732
|
end
|
2966
2733
|
|
2734
|
+
class PayByBankPayments < Stripe::RequestParams
|
2735
|
+
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
2736
|
+
attr_accessor :requested
|
2737
|
+
|
2738
|
+
def initialize(requested: nil)
|
2739
|
+
@requested = requested
|
2740
|
+
end
|
2741
|
+
end
|
2742
|
+
|
2967
2743
|
class PaycoPayments < Stripe::RequestParams
|
2968
2744
|
# Passing true requests the capability for the account, if it 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
2745
|
attr_accessor :requested
|
@@ -3190,199 +2966,136 @@ module Stripe
|
|
3190
2966
|
end
|
3191
2967
|
# The acss_debit_payments capability.
|
3192
2968
|
attr_accessor :acss_debit_payments
|
3193
|
-
|
3194
2969
|
# The affirm_payments capability.
|
3195
2970
|
attr_accessor :affirm_payments
|
3196
|
-
|
3197
2971
|
# The afterpay_clearpay_payments capability.
|
3198
2972
|
attr_accessor :afterpay_clearpay_payments
|
3199
|
-
|
3200
2973
|
# The alma_payments capability.
|
3201
2974
|
attr_accessor :alma_payments
|
3202
|
-
|
3203
2975
|
# The amazon_pay_payments capability.
|
3204
2976
|
attr_accessor :amazon_pay_payments
|
3205
|
-
|
3206
2977
|
# The au_becs_debit_payments capability.
|
3207
2978
|
attr_accessor :au_becs_debit_payments
|
3208
|
-
|
3209
2979
|
# The automatic_indirect_tax capability.
|
3210
2980
|
attr_accessor :automatic_indirect_tax
|
3211
|
-
|
3212
2981
|
# The bacs_debit_payments capability.
|
3213
2982
|
attr_accessor :bacs_debit_payments
|
3214
|
-
|
3215
2983
|
# The bancontact_payments capability.
|
3216
2984
|
attr_accessor :bancontact_payments
|
3217
|
-
|
3218
2985
|
# The bank_transfer_payments capability.
|
3219
2986
|
attr_accessor :bank_transfer_payments
|
3220
|
-
|
3221
2987
|
# The blik_payments capability.
|
3222
2988
|
attr_accessor :blik_payments
|
3223
|
-
|
3224
2989
|
# The boleto_payments capability.
|
3225
2990
|
attr_accessor :boleto_payments
|
3226
|
-
|
3227
2991
|
# The card_issuing capability.
|
3228
2992
|
attr_accessor :card_issuing
|
3229
|
-
|
3230
2993
|
# The card_payments capability.
|
3231
2994
|
attr_accessor :card_payments
|
3232
|
-
|
3233
2995
|
# The cartes_bancaires_payments capability.
|
3234
2996
|
attr_accessor :cartes_bancaires_payments
|
3235
|
-
|
3236
2997
|
# The cashapp_payments capability.
|
3237
2998
|
attr_accessor :cashapp_payments
|
3238
|
-
|
3239
2999
|
# The eps_payments capability.
|
3240
3000
|
attr_accessor :eps_payments
|
3241
|
-
|
3242
3001
|
# The fpx_payments capability.
|
3243
3002
|
attr_accessor :fpx_payments
|
3244
|
-
|
3245
3003
|
# The gb_bank_transfer_payments capability.
|
3246
3004
|
attr_accessor :gb_bank_transfer_payments
|
3247
|
-
|
3248
3005
|
# The giropay_payments capability.
|
3249
3006
|
attr_accessor :giropay_payments
|
3250
|
-
|
3251
3007
|
# The gopay_payments capability.
|
3252
3008
|
attr_accessor :gopay_payments
|
3253
|
-
|
3254
3009
|
# The grabpay_payments capability.
|
3255
3010
|
attr_accessor :grabpay_payments
|
3256
|
-
|
3257
3011
|
# The id_bank_transfer_payments capability.
|
3258
3012
|
attr_accessor :id_bank_transfer_payments
|
3259
|
-
|
3260
3013
|
# The id_bank_transfer_payments_bca capability.
|
3261
3014
|
attr_accessor :id_bank_transfer_payments_bca
|
3262
|
-
|
3263
3015
|
# The ideal_payments capability.
|
3264
3016
|
attr_accessor :ideal_payments
|
3265
|
-
|
3266
3017
|
# The india_international_payments capability.
|
3267
3018
|
attr_accessor :india_international_payments
|
3268
|
-
|
3269
3019
|
# The jcb_payments capability.
|
3270
3020
|
attr_accessor :jcb_payments
|
3271
|
-
|
3272
3021
|
# The jp_bank_transfer_payments capability.
|
3273
3022
|
attr_accessor :jp_bank_transfer_payments
|
3274
|
-
|
3275
3023
|
# The kakao_pay_payments capability.
|
3276
3024
|
attr_accessor :kakao_pay_payments
|
3277
|
-
|
3278
3025
|
# The klarna_payments capability.
|
3279
3026
|
attr_accessor :klarna_payments
|
3280
|
-
|
3281
3027
|
# The konbini_payments capability.
|
3282
3028
|
attr_accessor :konbini_payments
|
3283
|
-
|
3284
3029
|
# The kr_card_payments capability.
|
3285
3030
|
attr_accessor :kr_card_payments
|
3286
|
-
|
3287
3031
|
# The legacy_payments capability.
|
3288
3032
|
attr_accessor :legacy_payments
|
3289
|
-
|
3290
3033
|
# The link_payments capability.
|
3291
3034
|
attr_accessor :link_payments
|
3292
|
-
|
3293
3035
|
# The mb_way_payments capability.
|
3294
3036
|
attr_accessor :mb_way_payments
|
3295
|
-
|
3296
3037
|
# The mobilepay_payments capability.
|
3297
3038
|
attr_accessor :mobilepay_payments
|
3298
|
-
|
3299
3039
|
# The multibanco_payments capability.
|
3300
3040
|
attr_accessor :multibanco_payments
|
3301
|
-
|
3302
3041
|
# The mx_bank_transfer_payments capability.
|
3303
3042
|
attr_accessor :mx_bank_transfer_payments
|
3304
|
-
|
3305
3043
|
# The naver_pay_payments capability.
|
3306
3044
|
attr_accessor :naver_pay_payments
|
3307
|
-
|
3308
3045
|
# The oxxo_payments capability.
|
3309
3046
|
attr_accessor :oxxo_payments
|
3310
|
-
|
3311
3047
|
# The p24_payments capability.
|
3312
3048
|
attr_accessor :p24_payments
|
3313
|
-
|
3049
|
+
# The pay_by_bank_payments capability.
|
3050
|
+
attr_accessor :pay_by_bank_payments
|
3314
3051
|
# The payco_payments capability.
|
3315
3052
|
attr_accessor :payco_payments
|
3316
|
-
|
3317
3053
|
# The paynow_payments capability.
|
3318
3054
|
attr_accessor :paynow_payments
|
3319
|
-
|
3320
3055
|
# The paypal_payments capability.
|
3321
3056
|
attr_accessor :paypal_payments
|
3322
|
-
|
3323
3057
|
# The payto_payments capability.
|
3324
3058
|
attr_accessor :payto_payments
|
3325
|
-
|
3326
3059
|
# The promptpay_payments capability.
|
3327
3060
|
attr_accessor :promptpay_payments
|
3328
|
-
|
3329
3061
|
# The qris_payments capability.
|
3330
3062
|
attr_accessor :qris_payments
|
3331
|
-
|
3332
3063
|
# The rechnung_payments capability.
|
3333
3064
|
attr_accessor :rechnung_payments
|
3334
|
-
|
3335
3065
|
# The revolut_pay_payments capability.
|
3336
3066
|
attr_accessor :revolut_pay_payments
|
3337
|
-
|
3338
3067
|
# The samsung_pay_payments capability.
|
3339
3068
|
attr_accessor :samsung_pay_payments
|
3340
|
-
|
3341
3069
|
# The sepa_bank_transfer_payments capability.
|
3342
3070
|
attr_accessor :sepa_bank_transfer_payments
|
3343
|
-
|
3344
3071
|
# The sepa_debit_payments capability.
|
3345
3072
|
attr_accessor :sepa_debit_payments
|
3346
|
-
|
3347
3073
|
# The shopeepay_payments capability.
|
3348
3074
|
attr_accessor :shopeepay_payments
|
3349
|
-
|
3350
3075
|
# The sofort_payments capability.
|
3351
3076
|
attr_accessor :sofort_payments
|
3352
|
-
|
3353
3077
|
# The swish_payments capability.
|
3354
3078
|
attr_accessor :swish_payments
|
3355
|
-
|
3356
3079
|
# The tax_reporting_us_1099_k capability.
|
3357
3080
|
attr_accessor :tax_reporting_us_1099_k
|
3358
|
-
|
3359
3081
|
# The tax_reporting_us_1099_misc capability.
|
3360
3082
|
attr_accessor :tax_reporting_us_1099_misc
|
3361
|
-
|
3362
3083
|
# The transfers capability.
|
3363
3084
|
attr_accessor :transfers
|
3364
|
-
|
3365
3085
|
# The treasury capability.
|
3366
3086
|
attr_accessor :treasury
|
3367
|
-
|
3368
3087
|
# The treasury_evolve capability.
|
3369
3088
|
attr_accessor :treasury_evolve
|
3370
|
-
|
3371
3089
|
# The treasury_fifth_third capability.
|
3372
3090
|
attr_accessor :treasury_fifth_third
|
3373
|
-
|
3374
3091
|
# The treasury_goldman_sachs capability.
|
3375
3092
|
attr_accessor :treasury_goldman_sachs
|
3376
|
-
|
3377
3093
|
# The twint_payments capability.
|
3378
3094
|
attr_accessor :twint_payments
|
3379
|
-
|
3380
3095
|
# The us_bank_account_ach_payments capability.
|
3381
3096
|
attr_accessor :us_bank_account_ach_payments
|
3382
|
-
|
3383
3097
|
# The us_bank_transfer_payments capability.
|
3384
3098
|
attr_accessor :us_bank_transfer_payments
|
3385
|
-
|
3386
3099
|
# The zip_payments capability.
|
3387
3100
|
attr_accessor :zip_payments
|
3388
3101
|
|
@@ -3428,6 +3141,7 @@ module Stripe
|
|
3428
3141
|
naver_pay_payments: nil,
|
3429
3142
|
oxxo_payments: nil,
|
3430
3143
|
p24_payments: nil,
|
3144
|
+
pay_by_bank_payments: nil,
|
3431
3145
|
payco_payments: nil,
|
3432
3146
|
paynow_payments: nil,
|
3433
3147
|
paypal_payments: nil,
|
@@ -3495,6 +3209,7 @@ module Stripe
|
|
3495
3209
|
@naver_pay_payments = naver_pay_payments
|
3496
3210
|
@oxxo_payments = oxxo_payments
|
3497
3211
|
@p24_payments = p24_payments
|
3212
|
+
@pay_by_bank_payments = pay_by_bank_payments
|
3498
3213
|
@payco_payments = payco_payments
|
3499
3214
|
@paynow_payments = paynow_payments
|
3500
3215
|
@paypal_payments = paypal_payments
|
@@ -3526,46 +3241,32 @@ module Stripe
|
|
3526
3241
|
class Card < Stripe::RequestParams
|
3527
3242
|
# Attribute for param field object
|
3528
3243
|
attr_accessor :object
|
3529
|
-
|
3530
3244
|
# Attribute for param field address_city
|
3531
3245
|
attr_accessor :address_city
|
3532
|
-
|
3533
3246
|
# Attribute for param field address_country
|
3534
3247
|
attr_accessor :address_country
|
3535
|
-
|
3536
3248
|
# Attribute for param field address_line1
|
3537
3249
|
attr_accessor :address_line1
|
3538
|
-
|
3539
3250
|
# Attribute for param field address_line2
|
3540
3251
|
attr_accessor :address_line2
|
3541
|
-
|
3542
3252
|
# Attribute for param field address_state
|
3543
3253
|
attr_accessor :address_state
|
3544
|
-
|
3545
3254
|
# Attribute for param field address_zip
|
3546
3255
|
attr_accessor :address_zip
|
3547
|
-
|
3548
3256
|
# Attribute for param field currency
|
3549
3257
|
attr_accessor :currency
|
3550
|
-
|
3551
3258
|
# Attribute for param field cvc
|
3552
3259
|
attr_accessor :cvc
|
3553
|
-
|
3554
3260
|
# Attribute for param field exp_month
|
3555
3261
|
attr_accessor :exp_month
|
3556
|
-
|
3557
3262
|
# Attribute for param field exp_year
|
3558
3263
|
attr_accessor :exp_year
|
3559
|
-
|
3560
3264
|
# Attribute for param field name
|
3561
3265
|
attr_accessor :name
|
3562
|
-
|
3563
3266
|
# Attribute for param field number
|
3564
3267
|
attr_accessor :number
|
3565
|
-
|
3566
3268
|
# 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
3269
|
attr_accessor :metadata
|
3568
|
-
|
3569
3270
|
# Attribute for param field default_for_currency
|
3570
3271
|
attr_accessor :default_for_currency
|
3571
3272
|
|
@@ -3607,10 +3308,8 @@ module Stripe
|
|
3607
3308
|
class CardToken < Stripe::RequestParams
|
3608
3309
|
# Attribute for param field object
|
3609
3310
|
attr_accessor :object
|
3610
|
-
|
3611
3311
|
# Attribute for param field currency
|
3612
3312
|
attr_accessor :currency
|
3613
|
-
|
3614
3313
|
# Attribute for param field token
|
3615
3314
|
attr_accessor :token
|
3616
3315
|
|
@@ -3625,19 +3324,14 @@ module Stripe
|
|
3625
3324
|
class Address < Stripe::RequestParams
|
3626
3325
|
# City, district, suburb, town, or village.
|
3627
3326
|
attr_accessor :city
|
3628
|
-
|
3629
3327
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
3630
3328
|
attr_accessor :country
|
3631
|
-
|
3632
3329
|
# Address line 1 (e.g., street, PO Box, or company name).
|
3633
3330
|
attr_accessor :line1
|
3634
|
-
|
3635
3331
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
3636
3332
|
attr_accessor :line2
|
3637
|
-
|
3638
3333
|
# ZIP or postal code.
|
3639
3334
|
attr_accessor :postal_code
|
3640
|
-
|
3641
3335
|
# State, county, province, or region.
|
3642
3336
|
attr_accessor :state
|
3643
3337
|
|
@@ -3661,22 +3355,16 @@ module Stripe
|
|
3661
3355
|
class AddressKana < Stripe::RequestParams
|
3662
3356
|
# City or ward.
|
3663
3357
|
attr_accessor :city
|
3664
|
-
|
3665
3358
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
3666
3359
|
attr_accessor :country
|
3667
|
-
|
3668
3360
|
# Block or building number.
|
3669
3361
|
attr_accessor :line1
|
3670
|
-
|
3671
3362
|
# Building details.
|
3672
3363
|
attr_accessor :line2
|
3673
|
-
|
3674
3364
|
# Postal code.
|
3675
3365
|
attr_accessor :postal_code
|
3676
|
-
|
3677
3366
|
# Prefecture.
|
3678
3367
|
attr_accessor :state
|
3679
|
-
|
3680
3368
|
# Town or cho-me.
|
3681
3369
|
attr_accessor :town
|
3682
3370
|
|
@@ -3702,22 +3390,16 @@ module Stripe
|
|
3702
3390
|
class AddressKanji < Stripe::RequestParams
|
3703
3391
|
# City or ward.
|
3704
3392
|
attr_accessor :city
|
3705
|
-
|
3706
3393
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
3707
3394
|
attr_accessor :country
|
3708
|
-
|
3709
3395
|
# Block or building number.
|
3710
3396
|
attr_accessor :line1
|
3711
|
-
|
3712
3397
|
# Building details.
|
3713
3398
|
attr_accessor :line2
|
3714
|
-
|
3715
3399
|
# Postal code.
|
3716
3400
|
attr_accessor :postal_code
|
3717
|
-
|
3718
3401
|
# Prefecture.
|
3719
3402
|
attr_accessor :state
|
3720
|
-
|
3721
3403
|
# Town or cho-me.
|
3722
3404
|
attr_accessor :town
|
3723
3405
|
|
@@ -3740,13 +3422,26 @@ module Stripe
|
|
3740
3422
|
end
|
3741
3423
|
end
|
3742
3424
|
|
3425
|
+
class DirectorshipDeclaration < Stripe::RequestParams
|
3426
|
+
# The Unix timestamp marking when the directorship declaration attestation was made.
|
3427
|
+
attr_accessor :date
|
3428
|
+
# The IP address from which the directorship declaration attestation was made.
|
3429
|
+
attr_accessor :ip
|
3430
|
+
# The user agent of the browser from which the directorship declaration attestation was made.
|
3431
|
+
attr_accessor :user_agent
|
3432
|
+
|
3433
|
+
def initialize(date: nil, ip: nil, user_agent: nil)
|
3434
|
+
@date = date
|
3435
|
+
@ip = ip
|
3436
|
+
@user_agent = user_agent
|
3437
|
+
end
|
3438
|
+
end
|
3439
|
+
|
3743
3440
|
class OwnershipDeclaration < Stripe::RequestParams
|
3744
3441
|
# The Unix timestamp marking when the beneficial owner attestation was made.
|
3745
3442
|
attr_accessor :date
|
3746
|
-
|
3747
3443
|
# The IP address from which the beneficial owner attestation was made.
|
3748
3444
|
attr_accessor :ip
|
3749
|
-
|
3750
3445
|
# The user agent of the browser from which the beneficial owner attestation was made.
|
3751
3446
|
attr_accessor :user_agent
|
3752
3447
|
|
@@ -3761,7 +3456,6 @@ module Stripe
|
|
3761
3456
|
class Document < Stripe::RequestParams
|
3762
3457
|
# 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
3458
|
attr_accessor :back
|
3764
|
-
|
3765
3459
|
# 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
3460
|
attr_accessor :front
|
3767
3461
|
|
@@ -3779,58 +3473,44 @@ module Stripe
|
|
3779
3473
|
end
|
3780
3474
|
# The company's primary address.
|
3781
3475
|
attr_accessor :address
|
3782
|
-
|
3783
3476
|
# The Kana variation of the company's primary address (Japan only).
|
3784
3477
|
attr_accessor :address_kana
|
3785
|
-
|
3786
3478
|
# The Kanji variation of the company's primary address (Japan only).
|
3787
3479
|
attr_accessor :address_kanji
|
3788
|
-
|
3789
3480
|
# 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
3481
|
attr_accessor :directors_provided
|
3791
|
-
|
3482
|
+
# This hash is used to attest that the directors information provided to Stripe is both current and correct.
|
3483
|
+
attr_accessor :directorship_declaration
|
3792
3484
|
# 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
3485
|
attr_accessor :executives_provided
|
3794
|
-
|
3795
3486
|
# The export license ID number of the company, also referred as Import Export Code (India only).
|
3796
3487
|
attr_accessor :export_license_id
|
3797
|
-
|
3798
3488
|
# The purpose code to use for export transactions (India only).
|
3799
3489
|
attr_accessor :export_purpose_code
|
3800
|
-
|
3801
3490
|
# The company's legal name.
|
3802
3491
|
attr_accessor :name
|
3803
|
-
|
3804
3492
|
# The Kana variation of the company's legal name (Japan only).
|
3805
3493
|
attr_accessor :name_kana
|
3806
|
-
|
3807
3494
|
# The Kanji variation of the company's legal name (Japan only).
|
3808
3495
|
attr_accessor :name_kanji
|
3809
|
-
|
3810
3496
|
# 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
3497
|
attr_accessor :owners_provided
|
3812
|
-
|
3813
3498
|
# This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.
|
3814
3499
|
attr_accessor :ownership_declaration
|
3815
|
-
|
3500
|
+
# Attribute for param field ownership_exemption_reason
|
3501
|
+
attr_accessor :ownership_exemption_reason
|
3816
3502
|
# The company's phone number (used for verification).
|
3817
3503
|
attr_accessor :phone
|
3818
|
-
|
3819
3504
|
# 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
3505
|
attr_accessor :registration_number
|
3821
|
-
|
3822
3506
|
# 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
3507
|
attr_accessor :structure
|
3824
|
-
|
3825
3508
|
# 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
3509
|
attr_accessor :tax_id
|
3827
|
-
|
3828
3510
|
# The jurisdiction in which the `tax_id` is registered (Germany-based companies only).
|
3829
3511
|
attr_accessor :tax_id_registrar
|
3830
|
-
|
3831
3512
|
# The VAT number of the company.
|
3832
3513
|
attr_accessor :vat_id
|
3833
|
-
|
3834
3514
|
# Information on the verification state of the company.
|
3835
3515
|
attr_accessor :verification
|
3836
3516
|
|
@@ -3839,6 +3519,7 @@ module Stripe
|
|
3839
3519
|
address_kana: nil,
|
3840
3520
|
address_kanji: nil,
|
3841
3521
|
directors_provided: nil,
|
3522
|
+
directorship_declaration: nil,
|
3842
3523
|
executives_provided: nil,
|
3843
3524
|
export_license_id: nil,
|
3844
3525
|
export_purpose_code: nil,
|
@@ -3847,6 +3528,7 @@ module Stripe
|
|
3847
3528
|
name_kanji: nil,
|
3848
3529
|
owners_provided: nil,
|
3849
3530
|
ownership_declaration: nil,
|
3531
|
+
ownership_exemption_reason: nil,
|
3850
3532
|
phone: nil,
|
3851
3533
|
registration_number: nil,
|
3852
3534
|
structure: nil,
|
@@ -3859,6 +3541,7 @@ module Stripe
|
|
3859
3541
|
@address_kana = address_kana
|
3860
3542
|
@address_kanji = address_kanji
|
3861
3543
|
@directors_provided = directors_provided
|
3544
|
+
@directorship_declaration = directorship_declaration
|
3862
3545
|
@executives_provided = executives_provided
|
3863
3546
|
@export_license_id = export_license_id
|
3864
3547
|
@export_purpose_code = export_purpose_code
|
@@ -3867,6 +3550,7 @@ module Stripe
|
|
3867
3550
|
@name_kanji = name_kanji
|
3868
3551
|
@owners_provided = owners_provided
|
3869
3552
|
@ownership_declaration = ownership_declaration
|
3553
|
+
@ownership_exemption_reason = ownership_exemption_reason
|
3870
3554
|
@phone = phone
|
3871
3555
|
@registration_number = registration_number
|
3872
3556
|
@structure = structure
|
@@ -3881,10 +3565,8 @@ module Stripe
|
|
3881
3565
|
class Application < Stripe::RequestParams
|
3882
3566
|
# 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
3567
|
attr_accessor :loss_liable
|
3884
|
-
|
3885
3568
|
# Whether the controller owns onboarding for this account.
|
3886
3569
|
attr_accessor :onboarding_owner
|
3887
|
-
|
3888
3570
|
# Whether the controller has pricing controls for this account.
|
3889
3571
|
attr_accessor :pricing_controls
|
3890
3572
|
|
@@ -3932,19 +3614,14 @@ module Stripe
|
|
3932
3614
|
end
|
3933
3615
|
# A hash of configuration describing the Connect application that controls the account.
|
3934
3616
|
attr_accessor :application
|
3935
|
-
|
3936
3617
|
# Properties of the account's dashboard.
|
3937
3618
|
attr_accessor :dashboard
|
3938
|
-
|
3939
3619
|
# A hash of configuration for who pays Stripe fees for product usage on this account.
|
3940
3620
|
attr_accessor :fees
|
3941
|
-
|
3942
3621
|
# A hash of configuration for products that have negative balance liability, and whether Stripe or a Connect application is responsible for them.
|
3943
3622
|
attr_accessor :losses
|
3944
|
-
|
3945
3623
|
# A value indicating responsibility for collecting updated information when requirements on the account are due or change. Defaults to `stripe`.
|
3946
3624
|
attr_accessor :requirement_collection
|
3947
|
-
|
3948
3625
|
# A hash of configuration for Stripe-hosted dashboards.
|
3949
3626
|
attr_accessor :stripe_dashboard
|
3950
3627
|
|
@@ -4028,26 +3705,31 @@ module Stripe
|
|
4028
3705
|
@files = files
|
4029
3706
|
end
|
4030
3707
|
end
|
3708
|
+
|
3709
|
+
class ProofOfUltimateBeneficialOwnership < Stripe::RequestParams
|
3710
|
+
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
3711
|
+
attr_accessor :files
|
3712
|
+
|
3713
|
+
def initialize(files: nil)
|
3714
|
+
@files = files
|
3715
|
+
end
|
3716
|
+
end
|
4031
3717
|
# 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
3718
|
attr_accessor :bank_account_ownership_verification
|
4033
|
-
|
4034
3719
|
# One or more documents that demonstrate proof of a company's license to operate.
|
4035
3720
|
attr_accessor :company_license
|
4036
|
-
|
4037
3721
|
# One or more documents showing the company's Memorandum of Association.
|
4038
3722
|
attr_accessor :company_memorandum_of_association
|
4039
|
-
|
4040
3723
|
# (Certain countries only) One or more documents showing the ministerial decree legalizing the company's establishment.
|
4041
3724
|
attr_accessor :company_ministerial_decree
|
4042
|
-
|
4043
3725
|
# One or more documents that demonstrate proof of a company's registration with the appropriate local authorities.
|
4044
3726
|
attr_accessor :company_registration_verification
|
4045
|
-
|
4046
3727
|
# One or more documents that demonstrate proof of a company's tax ID.
|
4047
3728
|
attr_accessor :company_tax_id_verification
|
4048
|
-
|
4049
3729
|
# One or more documents showing the company’s proof of registration with the national business registry.
|
4050
3730
|
attr_accessor :proof_of_registration
|
3731
|
+
# One or more documents that demonstrate proof of ultimate beneficial ownership.
|
3732
|
+
attr_accessor :proof_of_ultimate_beneficial_ownership
|
4051
3733
|
|
4052
3734
|
def initialize(
|
4053
3735
|
bank_account_ownership_verification: nil,
|
@@ -4056,7 +3738,8 @@ module Stripe
|
|
4056
3738
|
company_ministerial_decree: nil,
|
4057
3739
|
company_registration_verification: nil,
|
4058
3740
|
company_tax_id_verification: nil,
|
4059
|
-
proof_of_registration: nil
|
3741
|
+
proof_of_registration: nil,
|
3742
|
+
proof_of_ultimate_beneficial_ownership: nil
|
4060
3743
|
)
|
4061
3744
|
@bank_account_ownership_verification = bank_account_ownership_verification
|
4062
3745
|
@company_license = company_license
|
@@ -4065,6 +3748,7 @@ module Stripe
|
|
4065
3748
|
@company_registration_verification = company_registration_verification
|
4066
3749
|
@company_tax_id_verification = company_tax_id_verification
|
4067
3750
|
@proof_of_registration = proof_of_registration
|
3751
|
+
@proof_of_ultimate_beneficial_ownership = proof_of_ultimate_beneficial_ownership
|
4068
3752
|
end
|
4069
3753
|
end
|
4070
3754
|
|
@@ -4081,19 +3765,14 @@ module Stripe
|
|
4081
3765
|
class Address < Stripe::RequestParams
|
4082
3766
|
# City, district, suburb, town, or village.
|
4083
3767
|
attr_accessor :city
|
4084
|
-
|
4085
3768
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
4086
3769
|
attr_accessor :country
|
4087
|
-
|
4088
3770
|
# Address line 1 (e.g., street, PO Box, or company name).
|
4089
3771
|
attr_accessor :line1
|
4090
|
-
|
4091
3772
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
4092
3773
|
attr_accessor :line2
|
4093
|
-
|
4094
3774
|
# ZIP or postal code.
|
4095
3775
|
attr_accessor :postal_code
|
4096
|
-
|
4097
3776
|
# State, county, province, or region.
|
4098
3777
|
attr_accessor :state
|
4099
3778
|
|
@@ -4117,22 +3796,16 @@ module Stripe
|
|
4117
3796
|
class AddressKana < Stripe::RequestParams
|
4118
3797
|
# City or ward.
|
4119
3798
|
attr_accessor :city
|
4120
|
-
|
4121
3799
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
4122
3800
|
attr_accessor :country
|
4123
|
-
|
4124
3801
|
# Block or building number.
|
4125
3802
|
attr_accessor :line1
|
4126
|
-
|
4127
3803
|
# Building details.
|
4128
3804
|
attr_accessor :line2
|
4129
|
-
|
4130
3805
|
# Postal code.
|
4131
3806
|
attr_accessor :postal_code
|
4132
|
-
|
4133
3807
|
# Prefecture.
|
4134
3808
|
attr_accessor :state
|
4135
|
-
|
4136
3809
|
# Town or cho-me.
|
4137
3810
|
attr_accessor :town
|
4138
3811
|
|
@@ -4158,22 +3831,16 @@ module Stripe
|
|
4158
3831
|
class AddressKanji < Stripe::RequestParams
|
4159
3832
|
# City or ward.
|
4160
3833
|
attr_accessor :city
|
4161
|
-
|
4162
3834
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
4163
3835
|
attr_accessor :country
|
4164
|
-
|
4165
3836
|
# Block or building number.
|
4166
3837
|
attr_accessor :line1
|
4167
|
-
|
4168
3838
|
# Building details.
|
4169
3839
|
attr_accessor :line2
|
4170
|
-
|
4171
3840
|
# Postal code.
|
4172
3841
|
attr_accessor :postal_code
|
4173
|
-
|
4174
3842
|
# Prefecture.
|
4175
3843
|
attr_accessor :state
|
4176
|
-
|
4177
3844
|
# Town or cho-me.
|
4178
3845
|
attr_accessor :town
|
4179
3846
|
|
@@ -4199,10 +3866,8 @@ module Stripe
|
|
4199
3866
|
class Dob < Stripe::RequestParams
|
4200
3867
|
# The day of birth, between 1 and 31.
|
4201
3868
|
attr_accessor :day
|
4202
|
-
|
4203
3869
|
# The month of birth, between 1 and 12.
|
4204
3870
|
attr_accessor :month
|
4205
|
-
|
4206
3871
|
# The four-digit year of birth.
|
4207
3872
|
attr_accessor :year
|
4208
3873
|
|
@@ -4216,19 +3881,14 @@ module Stripe
|
|
4216
3881
|
class RegisteredAddress < Stripe::RequestParams
|
4217
3882
|
# City, district, suburb, town, or village.
|
4218
3883
|
attr_accessor :city
|
4219
|
-
|
4220
3884
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
4221
3885
|
attr_accessor :country
|
4222
|
-
|
4223
3886
|
# Address line 1 (e.g., street, PO Box, or company name).
|
4224
3887
|
attr_accessor :line1
|
4225
|
-
|
4226
3888
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
4227
3889
|
attr_accessor :line2
|
4228
|
-
|
4229
3890
|
# ZIP or postal code.
|
4230
3891
|
attr_accessor :postal_code
|
4231
|
-
|
4232
3892
|
# State, county, province, or region.
|
4233
3893
|
attr_accessor :state
|
4234
3894
|
|
@@ -4252,16 +3912,12 @@ module Stripe
|
|
4252
3912
|
class Relationship < Stripe::RequestParams
|
4253
3913
|
# 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
3914
|
attr_accessor :director
|
4255
|
-
|
4256
3915
|
# Whether the person has significant responsibility to control, manage, or direct the organization.
|
4257
3916
|
attr_accessor :executive
|
4258
|
-
|
4259
3917
|
# Whether the person is an owner of the account’s legal entity.
|
4260
3918
|
attr_accessor :owner
|
4261
|
-
|
4262
3919
|
# The percent owned by the person of the account's legal entity.
|
4263
3920
|
attr_accessor :percent_ownership
|
4264
|
-
|
4265
3921
|
# The person's title (e.g., CEO, Support Engineer).
|
4266
3922
|
attr_accessor :title
|
4267
3923
|
|
@@ -4284,7 +3940,6 @@ module Stripe
|
|
4284
3940
|
class AdditionalDocument < Stripe::RequestParams
|
4285
3941
|
# 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
3942
|
attr_accessor :back
|
4287
|
-
|
4288
3943
|
# 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
3944
|
attr_accessor :front
|
4290
3945
|
|
@@ -4297,7 +3952,6 @@ module Stripe
|
|
4297
3952
|
class Document < Stripe::RequestParams
|
4298
3953
|
# 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
3954
|
attr_accessor :back
|
4300
|
-
|
4301
3955
|
# 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
3956
|
attr_accessor :front
|
4303
3957
|
|
@@ -4308,7 +3962,6 @@ module Stripe
|
|
4308
3962
|
end
|
4309
3963
|
# A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
|
4310
3964
|
attr_accessor :additional_document
|
4311
|
-
|
4312
3965
|
# An identifying document, either a passport or local ID card.
|
4313
3966
|
attr_accessor :document
|
4314
3967
|
|
@@ -4319,70 +3972,48 @@ module Stripe
|
|
4319
3972
|
end
|
4320
3973
|
# The individual's primary address.
|
4321
3974
|
attr_accessor :address
|
4322
|
-
|
4323
3975
|
# The Kana variation of the individual's primary address (Japan only).
|
4324
3976
|
attr_accessor :address_kana
|
4325
|
-
|
4326
3977
|
# The Kanji variation of the individual's primary address (Japan only).
|
4327
3978
|
attr_accessor :address_kanji
|
4328
|
-
|
4329
3979
|
# The individual's date of birth.
|
4330
3980
|
attr_accessor :dob
|
4331
|
-
|
4332
3981
|
# The individual's email address.
|
4333
3982
|
attr_accessor :email
|
4334
|
-
|
4335
3983
|
# The individual's first name.
|
4336
3984
|
attr_accessor :first_name
|
4337
|
-
|
4338
3985
|
# The Kana variation of the individual's first name (Japan only).
|
4339
3986
|
attr_accessor :first_name_kana
|
4340
|
-
|
4341
3987
|
# The Kanji variation of the individual's first name (Japan only).
|
4342
3988
|
attr_accessor :first_name_kanji
|
4343
|
-
|
4344
3989
|
# A list of alternate names or aliases that the individual is known by.
|
4345
3990
|
attr_accessor :full_name_aliases
|
4346
|
-
|
4347
3991
|
# The individual's gender
|
4348
3992
|
attr_accessor :gender
|
4349
|
-
|
4350
3993
|
# 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
3994
|
attr_accessor :id_number
|
4352
|
-
|
4353
3995
|
# 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
3996
|
attr_accessor :id_number_secondary
|
4355
|
-
|
4356
3997
|
# The individual's last name.
|
4357
3998
|
attr_accessor :last_name
|
4358
|
-
|
4359
3999
|
# The Kana variation of the individual's last name (Japan only).
|
4360
4000
|
attr_accessor :last_name_kana
|
4361
|
-
|
4362
4001
|
# The Kanji variation of the individual's last name (Japan only).
|
4363
4002
|
attr_accessor :last_name_kanji
|
4364
|
-
|
4365
4003
|
# The individual's maiden name.
|
4366
4004
|
attr_accessor :maiden_name
|
4367
|
-
|
4368
4005
|
# 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
4006
|
attr_accessor :metadata
|
4370
|
-
|
4371
4007
|
# The individual's phone number.
|
4372
4008
|
attr_accessor :phone
|
4373
|
-
|
4374
4009
|
# 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
4010
|
attr_accessor :political_exposure
|
4376
|
-
|
4377
4011
|
# The individual's registered address.
|
4378
4012
|
attr_accessor :registered_address
|
4379
|
-
|
4380
4013
|
# Describes the person’s relationship to the account.
|
4381
4014
|
attr_accessor :relationship
|
4382
|
-
|
4383
4015
|
# The last four digits of the individual's Social Security Number (U.S. only).
|
4384
4016
|
attr_accessor :ssn_last_4
|
4385
|
-
|
4386
4017
|
# The individual's verification document information.
|
4387
4018
|
attr_accessor :verification
|
4388
4019
|
|
@@ -4459,7 +4090,6 @@ module Stripe
|
|
4459
4090
|
end
|
4460
4091
|
# 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
4092
|
attr_accessor :charges
|
4462
|
-
|
4463
4093
|
# 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
4094
|
attr_accessor :payouts
|
4465
4095
|
|
@@ -4482,7 +4112,6 @@ module Stripe
|
|
4482
4112
|
class BankBcaOnboarding < Stripe::RequestParams
|
4483
4113
|
# Bank BCA business account holder name
|
4484
4114
|
attr_accessor :account_holder_name
|
4485
|
-
|
4486
4115
|
# Bank BCA business account number
|
4487
4116
|
attr_accessor :business_account_number
|
4488
4117
|
|
@@ -4495,13 +4124,10 @@ module Stripe
|
|
4495
4124
|
class Branding < Stripe::RequestParams
|
4496
4125
|
# (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
4126
|
attr_accessor :icon
|
4498
|
-
|
4499
4127
|
# (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
4128
|
attr_accessor :logo
|
4501
|
-
|
4502
4129
|
# A CSS hex color value representing the primary branding color for this account.
|
4503
4130
|
attr_accessor :primary_color
|
4504
|
-
|
4505
4131
|
# A CSS hex color value representing the secondary branding color for this account.
|
4506
4132
|
attr_accessor :secondary_color
|
4507
4133
|
|
@@ -4516,7 +4142,6 @@ module Stripe
|
|
4516
4142
|
class Capital < Stripe::RequestParams
|
4517
4143
|
# Per-currency mapping of user-selected destination accounts used to pay out loans.
|
4518
4144
|
attr_accessor :payout_destination
|
4519
|
-
|
4520
4145
|
# Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
4521
4146
|
attr_accessor :payout_destination_selector
|
4522
4147
|
|
@@ -4530,10 +4155,8 @@ module Stripe
|
|
4530
4155
|
class TosAcceptance < Stripe::RequestParams
|
4531
4156
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
4532
4157
|
attr_accessor :date
|
4533
|
-
|
4534
4158
|
# The IP address from which the account representative accepted the service agreement.
|
4535
4159
|
attr_accessor :ip
|
4536
|
-
|
4537
4160
|
# The user agent of the browser from which the account representative accepted the service agreement.
|
4538
4161
|
attr_accessor :user_agent
|
4539
4162
|
|
@@ -4555,7 +4178,6 @@ module Stripe
|
|
4555
4178
|
class DeclineOn < Stripe::RequestParams
|
4556
4179
|
# 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
4180
|
attr_accessor :avs_failure
|
4558
|
-
|
4559
4181
|
# Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification.
|
4560
4182
|
attr_accessor :cvc_failure
|
4561
4183
|
|
@@ -4566,13 +4188,10 @@ module Stripe
|
|
4566
4188
|
end
|
4567
4189
|
# Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge.
|
4568
4190
|
attr_accessor :decline_on
|
4569
|
-
|
4570
4191
|
# 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
4192
|
attr_accessor :statement_descriptor_prefix
|
4572
|
-
|
4573
4193
|
# 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
4194
|
attr_accessor :statement_descriptor_prefix_kana
|
4575
|
-
|
4576
4195
|
# 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
4196
|
attr_accessor :statement_descriptor_prefix_kanji
|
4578
4197
|
|
@@ -4592,10 +4211,8 @@ module Stripe
|
|
4592
4211
|
class Payments < Stripe::RequestParams
|
4593
4212
|
# 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
4213
|
attr_accessor :statement_descriptor
|
4595
|
-
|
4596
4214
|
# 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
4215
|
attr_accessor :statement_descriptor_kana
|
4598
|
-
|
4599
4216
|
# 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
4217
|
attr_accessor :statement_descriptor_kanji
|
4601
4218
|
|
@@ -4614,13 +4231,10 @@ module Stripe
|
|
4614
4231
|
class Schedule < Stripe::RequestParams
|
4615
4232
|
# 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
4233
|
attr_accessor :delay_days
|
4617
|
-
|
4618
4234
|
# How frequently available funds are paid out. One of: `daily`, `manual`, `weekly`, or `monthly`. Default is `daily`.
|
4619
4235
|
attr_accessor :interval
|
4620
|
-
|
4621
4236
|
# 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
4237
|
attr_accessor :monthly_anchor
|
4623
|
-
|
4624
4238
|
# 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
4239
|
attr_accessor :weekly_anchor
|
4626
4240
|
|
@@ -4633,10 +4247,8 @@ module Stripe
|
|
4633
4247
|
end
|
4634
4248
|
# 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
4249
|
attr_accessor :debit_negative_balances
|
4636
|
-
|
4637
4250
|
# 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
4251
|
attr_accessor :schedule
|
4639
|
-
|
4640
4252
|
# 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
4253
|
attr_accessor :statement_descriptor
|
4642
4254
|
|
@@ -4660,10 +4272,8 @@ module Stripe
|
|
4660
4272
|
class TosAcceptance < Stripe::RequestParams
|
4661
4273
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
4662
4274
|
attr_accessor :date
|
4663
|
-
|
4664
4275
|
# The IP address from which the account representative accepted the service agreement.
|
4665
4276
|
attr_accessor :ip
|
4666
|
-
|
4667
4277
|
# The user agent of the browser from which the account representative accepted the service agreement.
|
4668
4278
|
attr_accessor :user_agent
|
4669
4279
|
|
@@ -4682,31 +4292,22 @@ module Stripe
|
|
4682
4292
|
end
|
4683
4293
|
# Settings specific to Bacs Direct Debit.
|
4684
4294
|
attr_accessor :bacs_debit_payments
|
4685
|
-
|
4686
4295
|
# Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
4687
4296
|
attr_accessor :bank_bca_onboarding
|
4688
|
-
|
4689
4297
|
# Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
4690
4298
|
attr_accessor :branding
|
4691
|
-
|
4692
4299
|
# Settings specific to the account's use of the Capital product.
|
4693
4300
|
attr_accessor :capital
|
4694
|
-
|
4695
4301
|
# Settings specific to the account's use of the Card Issuing product.
|
4696
4302
|
attr_accessor :card_issuing
|
4697
|
-
|
4698
4303
|
# Settings specific to card charging on the account.
|
4699
4304
|
attr_accessor :card_payments
|
4700
|
-
|
4701
4305
|
# Settings that apply across payment methods for charging on the account.
|
4702
4306
|
attr_accessor :payments
|
4703
|
-
|
4704
4307
|
# Settings specific to the account's payouts.
|
4705
4308
|
attr_accessor :payouts
|
4706
|
-
|
4707
4309
|
# Settings specific to the account's tax forms.
|
4708
4310
|
attr_accessor :tax_forms
|
4709
|
-
|
4710
4311
|
# Settings specific to the account's Treasury FinancialAccounts.
|
4711
4312
|
attr_accessor :treasury
|
4712
4313
|
|
@@ -4738,13 +4339,10 @@ module Stripe
|
|
4738
4339
|
class TosAcceptance < Stripe::RequestParams
|
4739
4340
|
# The Unix timestamp marking when the account representative accepted their service agreement.
|
4740
4341
|
attr_accessor :date
|
4741
|
-
|
4742
4342
|
# The IP address from which the account representative accepted their service agreement.
|
4743
4343
|
attr_accessor :ip
|
4744
|
-
|
4745
4344
|
# The user's service agreement type.
|
4746
4345
|
attr_accessor :service_agreement
|
4747
|
-
|
4748
4346
|
# The user agent of the browser from which the account representative accepted their service agreement.
|
4749
4347
|
attr_accessor :user_agent
|
4750
4348
|
|
@@ -4757,13 +4355,10 @@ module Stripe
|
|
4757
4355
|
end
|
4758
4356
|
# An [account token](https://stripe.com/docs/api#create_account_token), used to securely provide details to the account.
|
4759
4357
|
attr_accessor :account_token
|
4760
|
-
|
4761
4358
|
# Business information about the account.
|
4762
4359
|
attr_accessor :business_profile
|
4763
|
-
|
4764
4360
|
# 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
4361
|
attr_accessor :business_type
|
4766
|
-
|
4767
4362
|
# Each key of the dictionary represents a capability, and each capability
|
4768
4363
|
# maps to its settings (for example, whether it has been requested or not). Each
|
4769
4364
|
# capability is inactive until you have provided its specific
|
@@ -4773,49 +4368,34 @@ module Stripe
|
|
4773
4368
|
# Required when [account.controller.stripe_dashboard.type](/api/accounts/create#create_account-controller-dashboard-type)
|
4774
4369
|
# is `none`, which includes Custom accounts.
|
4775
4370
|
attr_accessor :capabilities
|
4776
|
-
|
4777
4371
|
# 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
4372
|
attr_accessor :company
|
4779
|
-
|
4780
4373
|
# A hash of configuration describing the account controller's attributes.
|
4781
4374
|
attr_accessor :controller
|
4782
|
-
|
4783
4375
|
# 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
4376
|
attr_accessor :country
|
4785
|
-
|
4786
4377
|
# 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
4378
|
attr_accessor :default_currency
|
4788
|
-
|
4789
4379
|
# Documents that may be submitted to satisfy various informational requests.
|
4790
4380
|
attr_accessor :documents
|
4791
|
-
|
4792
4381
|
# 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
4382
|
attr_accessor :email
|
4794
|
-
|
4795
4383
|
# Specifies which fields in the response should be expanded.
|
4796
4384
|
attr_accessor :expand
|
4797
|
-
|
4798
4385
|
# 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
4386
|
attr_accessor :external_account
|
4800
|
-
|
4801
4387
|
# A hash of account group type to tokens. These are account groups this account should be added to.
|
4802
4388
|
attr_accessor :groups
|
4803
|
-
|
4804
4389
|
# 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
4390
|
attr_accessor :individual
|
4806
|
-
|
4807
4391
|
# 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
4392
|
attr_accessor :metadata
|
4809
|
-
|
4810
4393
|
# 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
4394
|
attr_accessor :risk_controls
|
4812
|
-
|
4813
4395
|
# Options for customizing how the account functions within Stripe.
|
4814
4396
|
attr_accessor :settings
|
4815
|
-
|
4816
4397
|
# 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
4398
|
attr_accessor :tos_acceptance
|
4818
|
-
|
4819
4399
|
# The type of Stripe account to create. May be one of `custom`, `express` or `standard`.
|
4820
4400
|
attr_accessor :type
|
4821
4401
|
|
@@ -4865,7 +4445,6 @@ module Stripe
|
|
4865
4445
|
class RejectParams < Stripe::RequestParams
|
4866
4446
|
# Specifies which fields in the response should be expanded.
|
4867
4447
|
attr_accessor :expand
|
4868
|
-
|
4869
4448
|
# The reason for rejecting the account. Can be `fraud`, `terms_of_service`, or `other`.
|
4870
4449
|
attr_accessor :reason
|
4871
4450
|
|