stripe 19.2.0.pre.beta.2 → 19.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stripe/api_requestor.rb +3 -36
- data/lib/stripe/api_version.rb +2 -1
- data/lib/stripe/errors.rb +0 -87
- data/lib/stripe/event_types.rb +0 -228
- data/lib/stripe/object_types.rb +0 -61
- data/lib/stripe/params/account_create_params.rb +17 -364
- data/lib/stripe/params/account_session_create_params.rb +1 -226
- data/lib/stripe/params/account_update_params.rb +16 -326
- data/lib/stripe/params/balance_settings_update_params.rb +42 -2
- data/lib/stripe/params/charge_capture_params.rb +0 -1646
- data/lib/stripe/params/charge_create_params.rb +4 -1
- data/lib/stripe/params/charge_update_params.rb +0 -1646
- data/lib/stripe/params/checkout/session_create_params.rb +31 -141
- data/lib/stripe/params/checkout/session_update_params.rb +1 -176
- data/lib/stripe/params/confirmation_token_create_params.rb +11 -79
- data/lib/stripe/params/coupon_create_params.rb +1 -17
- data/lib/stripe/params/customer_session_create_params.rb +1 -32
- data/lib/stripe/params/dispute_update_params.rb +1 -10
- data/lib/stripe/params/financial_connections/session_create_params.rb +2 -64
- data/lib/stripe/params/invoice_add_lines_params.rb +1 -48
- data/lib/stripe/params/invoice_attach_payment_params.rb +1 -43
- data/lib/stripe/params/invoice_create_params.rb +2 -70
- data/lib/stripe/params/invoice_create_preview_params.rb +13 -790
- data/lib/stripe/params/invoice_item_create_params.rb +1 -33
- data/lib/stripe/params/invoice_item_update_params.rb +1 -33
- data/lib/stripe/params/invoice_line_item_update_params.rb +1 -48
- data/lib/stripe/params/invoice_update_lines_params.rb +1 -48
- data/lib/stripe/params/invoice_update_params.rb +2 -70
- data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
- data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
- data/lib/stripe/params/payment_intent_capture_params.rb +3 -1645
- data/lib/stripe/params/payment_intent_confirm_params.rb +136 -3038
- data/lib/stripe/params/payment_intent_create_params.rb +167 -3043
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +2 -39
- data/lib/stripe/params/payment_intent_update_params.rb +121 -3034
- data/lib/stripe/params/payment_link_create_params.rb +30 -16
- data/lib/stripe/params/payment_link_update_params.rb +29 -0
- data/lib/stripe/params/payment_method_configuration_create_params.rb +24 -87
- data/lib/stripe/params/payment_method_configuration_list_params.rb +4 -0
- data/lib/stripe/params/payment_method_configuration_update_params.rb +24 -87
- data/lib/stripe/params/payment_method_create_params.rb +11 -75
- data/lib/stripe/params/payout_create_params.rb +1 -1
- data/lib/stripe/params/plan_create_params.rb +0 -15
- data/lib/stripe/params/price_create_params.rb +0 -15
- data/lib/stripe/params/price_update_params.rb +0 -19
- data/lib/stripe/params/product_create_params.rb +0 -16
- data/lib/stripe/params/product_update_params.rb +0 -16
- data/lib/stripe/params/quote_create_params.rb +3 -809
- data/lib/stripe/params/quote_list_params.rb +0 -4
- data/lib/stripe/params/quote_update_params.rb +4 -817
- data/lib/stripe/params/setup_intent_confirm_params.rb +21 -110
- data/lib/stripe/params/setup_intent_create_params.rb +21 -110
- data/lib/stripe/params/setup_intent_update_params.rb +21 -110
- data/lib/stripe/params/subscription_create_params.rb +11 -181
- data/lib/stripe/params/subscription_item_create_params.rb +3 -69
- data/lib/stripe/params/subscription_item_delete_params.rb +1 -7
- data/lib/stripe/params/subscription_item_update_params.rb +2 -52
- data/lib/stripe/params/subscription_schedule_create_params.rb +9 -167
- data/lib/stripe/params/subscription_schedule_update_params.rb +9 -167
- data/lib/stripe/params/subscription_update_params.rb +11 -161
- data/lib/stripe/params/tax/calculation_create_params.rb +0 -4
- data/lib/stripe/params/tax/registration_create_params.rb +0 -104
- data/lib/stripe/params/terminal/configuration_create_params.rb +52 -13
- data/lib/stripe/params/terminal/configuration_update_params.rb +52 -13
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +11 -79
- data/lib/stripe/params/test_helpers/test_clock_create_params.rb +4 -1
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +1 -25
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +1 -25
- data/lib/stripe/params/transfer_create_params.rb +0 -4
- data/lib/stripe/params/treasury/financial_account_create_params.rb +1 -8
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +1 -4
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +1 -4
- data/lib/stripe/params/treasury/financial_account_update_params.rb +1 -8
- data/lib/stripe/params/treasury/outbound_payment_create_params.rb +0 -4
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +0 -24
- data/lib/stripe/params/treasury/received_credit_create_params.rb +1 -25
- data/lib/stripe/params/treasury/received_debit_create_params.rb +1 -25
- data/lib/stripe/params/v2/core/account_create_params.rb +33 -288
- data/lib/stripe/params/v2/core/account_token_create_params.rb +28 -18
- data/lib/stripe/params/v2/core/account_update_params.rb +33 -281
- data/lib/stripe/params.rb +1342 -795
- data/lib/stripe/railtie.rb +8 -0
- data/lib/stripe/resources/account.rb +5 -259
- data/lib/stripe/resources/account_session.rb +0 -81
- data/lib/stripe/resources/balance.rb +0 -83
- data/lib/stripe/resources/balance_settings.rb +42 -2
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -4
- data/lib/stripe/resources/card.rb +0 -2
- data/lib/stripe/resources/charge.rb +36 -211
- data/lib/stripe/resources/checkout/session.rb +26 -82
- data/lib/stripe/resources/confirmation_token.rb +20 -125
- data/lib/stripe/resources/coupon.rb +1 -26
- data/lib/stripe/resources/credit_note_line_item.rb +0 -18
- data/lib/stripe/resources/customer_session.rb +0 -36
- data/lib/stripe/resources/discount.rb +2 -2
- data/lib/stripe/resources/dispute.rb +0 -22
- data/lib/stripe/resources/event.rb +1 -64
- data/lib/stripe/resources/financial_connections/account.rb +0 -57
- data/lib/stripe/resources/financial_connections/session.rb +1 -125
- data/lib/stripe/resources/invoice.rb +3 -117
- data/lib/stripe/resources/invoice_item.rb +34 -3
- data/lib/stripe/resources/invoice_line_item.rb +0 -40
- data/lib/stripe/resources/issuing/dispute.rb +1 -1
- data/lib/stripe/resources/issuing/personalization_design.rb +1 -1
- data/lib/stripe/resources/issuing/transaction.rb +0 -2
- data/lib/stripe/resources/line_item.rb +0 -42
- data/lib/stripe/resources/mandate.rb +13 -12
- data/lib/stripe/resources/payment_attempt_record.rb +41 -187
- data/lib/stripe/resources/payment_intent.rb +96 -1583
- data/lib/stripe/resources/payment_link.rb +40 -0
- data/lib/stripe/resources/payment_method.rb +21 -130
- data/lib/stripe/resources/payment_method_configuration.rb +20 -122
- data/lib/stripe/resources/payment_record.rb +41 -187
- data/lib/stripe/resources/price.rb +0 -20
- data/lib/stripe/resources/product.rb +0 -18
- data/lib/stripe/resources/quote.rb +2 -569
- data/lib/stripe/resources/radar/payment_evaluation.rb +1 -1
- data/lib/stripe/resources/refund.rb +13 -18
- data/lib/stripe/resources/reserve/hold.rb +0 -7
- data/lib/stripe/resources/reserve/release.rb +0 -12
- data/lib/stripe/resources/setup_attempt.rb +4 -26
- data/lib/stripe/resources/setup_intent.rb +27 -22
- data/lib/stripe/resources/source.rb +0 -38
- data/lib/stripe/resources/subscription.rb +10 -107
- data/lib/stripe/resources/subscription_item.rb +1 -41
- data/lib/stripe/resources/subscription_schedule.rb +5 -198
- data/lib/stripe/resources/tax/calculation_line_item.rb +0 -2
- data/lib/stripe/resources/tax/registration.rb +0 -128
- data/lib/stripe/resources/tax_code.rb +1 -15
- data/lib/stripe/resources/terminal/configuration.rb +64 -16
- data/lib/stripe/resources/terminal/reader.rb +116 -8
- data/lib/stripe/resources/transfer.rb +0 -2
- data/lib/stripe/resources/treasury/financial_account.rb +0 -2
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
- data/lib/stripe/resources/treasury/outbound_payment.rb +0 -2
- data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -30
- data/lib/stripe/resources/treasury/received_credit.rb +0 -30
- data/lib/stripe/resources/treasury/received_debit.rb +0 -32
- data/lib/stripe/resources/v2/commerce/product_catalog_import.rb +1 -1
- data/lib/stripe/resources/v2/core/account.rb +40 -607
- data/lib/stripe/resources/v2/core/account_token.rb +1 -1
- data/lib/stripe/resources/v2/core/event.rb +1 -0
- data/lib/stripe/resources.rb +500 -301
- data/lib/stripe/services/account_service.rb +0 -15
- data/lib/stripe/services/billing_service.rb +1 -2
- data/lib/stripe/services/credit_note_service.rb +0 -14
- data/lib/stripe/services/customer_service.rb +0 -15
- data/lib/stripe/services/financial_connections/account_service.rb +1 -3
- data/lib/stripe/services/financial_connections_service.rb +1 -3
- data/lib/stripe/services/invoice_service.rb +0 -41
- data/lib/stripe/services/issuing_service.rb +1 -5
- data/lib/stripe/services/mandate_service.rb +0 -5
- data/lib/stripe/services/payment_intent_service.rb +3 -38
- data/lib/stripe/services/promotion_code_service.rb +0 -29
- data/lib/stripe/services/quote_service.rb +1 -49
- data/lib/stripe/services/subscription_schedule_service.rb +0 -55
- data/lib/stripe/services/subscription_service.rb +2 -32
- data/lib/stripe/services/tax_service.rb +1 -3
- data/lib/stripe/services/terminal_service.rb +1 -2
- data/lib/stripe/services/test_helpers_service.rb +1 -2
- data/lib/stripe/services/v1_services.rb +1 -11
- data/lib/stripe/services/v2/billing_service.rb +1 -5
- data/lib/stripe/services/v2/core/account_service.rb +1 -1
- data/lib/stripe/services/v2/core/account_token_service.rb +5 -1
- data/lib/stripe/services/v2/core/event_service.rb +2 -1
- data/lib/stripe/services/v2/core_service.rb +1 -3
- data/lib/stripe/services/v2_services.rb +1 -8
- data/lib/stripe/services.rb +469 -268
- data/lib/stripe/stripe_client.rb +1 -8
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +25 -58
- data/rbi/stripe/stripe_client.rbi +0 -13
- data/rbi/stripe.rbi +53183 -118054
- metadata +5 -377
- data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_batch_failed_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_completed_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_created_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_ready_for_upload_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_timeout_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_upload_timeout_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_validating_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_validation_failed_event.rb +0 -44
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +0 -78
- data/lib/stripe/events/v2_data_reporting_query_run_created_event.rb +0 -44
- data/lib/stripe/events/v2_data_reporting_query_run_failed_event.rb +0 -44
- data/lib/stripe/events/v2_data_reporting_query_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_data_reporting_query_run_updated_event.rb +0 -44
- data/lib/stripe/events/v2_extend_workflow_run_failed_event.rb +0 -75
- data/lib/stripe/events/v2_extend_workflow_run_started_event.rb +0 -44
- data/lib/stripe/events/v2_extend_workflow_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_payout_method_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -63
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -44
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_confirmed_event.rb +0 -97
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_created_event.rb +0 -97
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_partially_confirmed_event.rb +0 -97
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_terminated_event.rb +0 -97
- data/lib/stripe/params/account_notice_list_params.rb +0 -25
- data/lib/stripe/params/account_notice_retrieve_params.rb +0 -13
- data/lib/stripe/params/account_notice_update_params.rb +0 -36
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +0 -65
- data/lib/stripe/params/capital/financing_offer_list_params.rb +0 -58
- data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +0 -15
- data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +0 -15
- data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +0 -15
- data/lib/stripe/params/capital/financing_transaction_list_params.rb +0 -45
- data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +0 -15
- data/lib/stripe/params/external_account_create_params.rb +0 -134
- data/lib/stripe/params/external_account_delete_params.rb +0 -6
- data/lib/stripe/params/external_account_list_params.rb +0 -25
- data/lib/stripe/params/external_account_retrieve_params.rb +0 -13
- data/lib/stripe/params/external_account_update_params.rb +0 -91
- data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +0 -24
- data/lib/stripe/params/financial_connections/authorization_retrieve_params.rb +0 -15
- data/lib/stripe/params/financial_connections/institution_list_params.rb +0 -24
- data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +0 -15
- data/lib/stripe/params/fx_quote_create_params.rb +0 -73
- data/lib/stripe/params/fx_quote_list_params.rb +0 -22
- data/lib/stripe/params/fx_quote_retrieve_params.rb +0 -13
- data/lib/stripe/params/invoice_detach_payment_params.rb +0 -16
- data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +0 -163
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +0 -50
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +0 -128
- data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +0 -24
- data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +0 -86
- data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +0 -33
- data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +0 -44
- data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +0 -15
- data/lib/stripe/params/mandate_list_params.rb +0 -39
- data/lib/stripe/params/margin_create_params.rb +0 -25
- data/lib/stripe/params/margin_list_params.rb +0 -25
- data/lib/stripe/params/margin_retrieve_params.rb +0 -13
- data/lib/stripe/params/margin_update_params.rb +0 -22
- data/lib/stripe/params/order_create_params.rb +0 -2083
- data/lib/stripe/params/order_list_params.rb +0 -25
- data/lib/stripe/params/order_retrieve_params.rb +0 -13
- data/lib/stripe/params/order_submit_params.rb +0 -16
- data/lib/stripe/params/order_update_params.rb +0 -2087
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +0 -297
- data/lib/stripe/params/payment_intent_trigger_action_params.rb +0 -27
- data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_create_params.rb +0 -67
- data/lib/stripe/params/privacy/redaction_job_list_params.rb +0 -27
- data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_run_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_update_params.rb +0 -18
- data/lib/stripe/params/privacy/redaction_job_validate_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +0 -24
- data/lib/stripe/params/product_catalog/trial_offer_create_params.rb +0 -63
- data/lib/stripe/params/quote_line_list_params.rb +0 -22
- data/lib/stripe/params/quote_list_lines_params.rb +0 -22
- data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +0 -22
- data/lib/stripe/params/quote_mark_draft_params.rb +0 -13
- data/lib/stripe/params/quote_mark_stale_params.rb +0 -16
- data/lib/stripe/params/quote_preview_invoice_list_params.rb +0 -22
- data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +0 -22
- data/lib/stripe/params/quote_reestimate_params.rb +0 -13
- data/lib/stripe/params/reserve/hold_list_params.rb +0 -53
- data/lib/stripe/params/reserve/hold_retrieve_params.rb +0 -15
- data/lib/stripe/params/reserve/plan_retrieve_params.rb +0 -15
- data/lib/stripe/params/reserve/release_list_params.rb +0 -41
- data/lib/stripe/params/reserve/release_retrieve_params.rb +0 -15
- data/lib/stripe/params/shared_payment/granted_token_create_params.rb +0 -47
- data/lib/stripe/params/shared_payment/granted_token_retrieve_params.rb +0 -15
- data/lib/stripe/params/shared_payment/granted_token_revoke_params.rb +0 -15
- data/lib/stripe/params/shared_payment/issued_token_create_params.rb +0 -67
- data/lib/stripe/params/shared_payment/issued_token_retrieve_params.rb +0 -15
- data/lib/stripe/params/shared_payment/issued_token_revoke_params.rb +0 -15
- data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -578
- data/lib/stripe/params/tax/form_list_params.rb +0 -51
- data/lib/stripe/params/tax/form_pdf_params.rb +0 -15
- data/lib/stripe/params/tax/form_retrieve_params.rb +0 -15
- data/lib/stripe/params/tax/location_create_params.rb +0 -54
- data/lib/stripe/params/tax/location_list_params.rb +0 -27
- data/lib/stripe/params/tax/location_retrieve_params.rb +0 -15
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +0 -49
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_revoke_params.rb +0 -17
- data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +0 -74
- data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +0 -80
- data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -253
- data/lib/stripe/params/v2/billing/cadence_list_params.rb +0 -43
- data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/billing/cadence_update_params.rb +0 -75
- data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +0 -257
- data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +0 -263
- data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/profile_create_params.rb +0 -37
- data/lib/stripe/params/v2/billing/profile_list_params.rb +0 -40
- data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/profile_update_params.rb +0 -35
- data/lib/stripe/params/v2/core/batch_job_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/core/batch_job_create_params.rb +0 -58
- data/lib/stripe/params/v2/core/batch_job_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -58
- data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +0 -19
- data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +0 -37
- data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +0 -22
- data/lib/stripe/params/v2/data/reporting/query_run_create_params.rb +0 -31
- data/lib/stripe/params/v2/data/reporting/query_run_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/extend/workflow_invoke_params.rb +0 -17
- data/lib/stripe/params/v2/extend/workflow_list_params.rb +0 -21
- data/lib/stripe/params/v2/extend/workflow_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/extend/workflow_run_list_params.rb +0 -23
- data/lib/stripe/params/v2/extend/workflow_run_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/iam/activity_log_list_params.rb +0 -23
- data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +0 -48
- data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -28
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -34
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +0 -23
- data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +0 -50
- data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +0 -44
- data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -102
- data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +0 -52
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -67
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +0 -92
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +0 -87
- data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -77
- data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +0 -48
- data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +0 -31
- data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +0 -44
- data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +0 -43
- data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/transaction_list_params.rb +0 -47
- data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/network/business_profile_me_params.rb +0 -10
- data/lib/stripe/params/v2/network/business_profile_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_confirm_params.rb +0 -10
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_create_params.rb +0 -17
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_list_params.rb +0 -20
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_terminate_params.rb +0 -10
- data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -23
- data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +0 -10
- data/lib/stripe/resources/account_notice.rb +0 -94
- data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -38
- data/lib/stripe/resources/capital/financing_offer.rb +0 -142
- data/lib/stripe/resources/capital/financing_summary.rb +0 -82
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -35
- data/lib/stripe/resources/financial_connections/authorization.rb +0 -82
- data/lib/stripe/resources/financial_connections/institution.rb +0 -127
- data/lib/stripe/resources/fx_quote.rb +0 -147
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -263
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -71
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -51
- data/lib/stripe/resources/issuing/settlement.rb +0 -61
- data/lib/stripe/resources/margin.rb +0 -64
- data/lib/stripe/resources/order.rb +0 -927
- data/lib/stripe/resources/privacy/redaction_job.rb +0 -189
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
- data/lib/stripe/resources/product_catalog/trial_offer.rb +0 -103
- data/lib/stripe/resources/quote_line.rb +0 -525
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -1181
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -734
- data/lib/stripe/resources/shared_payment/granted_token.rb +0 -1766
- data/lib/stripe/resources/shared_payment/issued_token.rb +0 -291
- data/lib/stripe/resources/tax/form.rb +0 -264
- data/lib/stripe/resources/tax/location.rb +0 -72
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
- data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -91
- data/lib/stripe/resources/v2/billing/cadence.rb +0 -710
- data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -327
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -316
- data/lib/stripe/resources/v2/billing/profile.rb +0 -47
- data/lib/stripe/resources/v2/core/batch_job.rb +0 -492
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -136
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -105
- data/lib/stripe/resources/v2/data/reporting/query_run.rb +0 -142
- data/lib/stripe/resources/v2/extend/workflow.rb +0 -80
- data/lib/stripe/resources/v2/extend/workflow_run.rb +0 -158
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -29
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -31
- data/lib/stripe/resources/v2/iam/activity_log.rb +0 -187
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -67
- data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -140
- data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -160
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -181
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -219
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -144
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -69
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -196
- data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -145
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -83
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -230
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -136
- data/lib/stripe/resources/v2/money_management/transaction.rb +0 -135
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -105
- data/lib/stripe/resources/v2/network/business_profile.rb +0 -84
- data/lib/stripe/resources/v2/orchestrated_commerce/agreement.rb +0 -93
- data/lib/stripe/services/account_notice_service.rb +0 -39
- data/lib/stripe/services/billing/analytics/meter_usage_service.rb +0 -21
- data/lib/stripe/services/billing/analytics_service.rb +0 -15
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -42
- data/lib/stripe/services/capital/financing_summary_service.rb +0 -19
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -31
- data/lib/stripe/services/capital_service.rb +0 -15
- data/lib/stripe/services/external_account_service.rb +0 -68
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -19
- data/lib/stripe/services/financial_connections/authorization_service.rb +0 -19
- data/lib/stripe/services/financial_connections/institution_service.rb +0 -30
- data/lib/stripe/services/fx_quote_service.rb +0 -27
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -74
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -30
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -30
- data/lib/stripe/services/margin_service.rb +0 -50
- data/lib/stripe/services/order_service.rb +0 -53
- data/lib/stripe/services/privacy/redaction_job_service.rb +0 -104
- data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -19
- data/lib/stripe/services/privacy_service.rb +0 -13
- data/lib/stripe/services/product_catalog/trial_offer_service.rb +0 -19
- data/lib/stripe/services/product_catalog_service.rb +0 -13
- data/lib/stripe/services/quote_line_service.rb +0 -17
- data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
- data/lib/stripe/services/reserve/hold_service.rb +0 -30
- data/lib/stripe/services/reserve/plan_service.rb +0 -19
- data/lib/stripe/services/reserve/release_service.rb +0 -30
- data/lib/stripe/services/reserve_service.rb +0 -15
- data/lib/stripe/services/shared_payment/granted_token_service.rb +0 -19
- data/lib/stripe/services/shared_payment/issued_token_service.rb +0 -41
- data/lib/stripe/services/shared_payment_service.rb +0 -14
- data/lib/stripe/services/tax/form_service.rb +0 -37
- data/lib/stripe/services/tax/location_service.rb +0 -45
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
- data/lib/stripe/services/test_helpers/shared_payment/granted_token_service.rb +0 -32
- data/lib/stripe/services/test_helpers/shared_payment_service.rb +0 -15
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -61
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/cadence_service.rb +0 -65
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -69
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/profile_service.rb +0 -54
- data/lib/stripe/services/v2/core/batch_job_service.rb +0 -43
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -85
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -101
- data/lib/stripe/services/v2/core/vault_service.rb +0 -18
- data/lib/stripe/services/v2/data/reporting/query_run_service.rb +0 -35
- data/lib/stripe/services/v2/data/reporting_service.rb +0 -17
- data/lib/stripe/services/v2/datum_service.rb +0 -15
- data/lib/stripe/services/v2/extend/workflow_run_service.rb +0 -32
- data/lib/stripe/services/v2/extend/workflow_service.rb +0 -45
- data/lib/stripe/services/v2/extend_service.rb +0 -16
- data/lib/stripe/services/v2/iam/activity_log_service.rb +0 -21
- data/lib/stripe/services/v2/iam_service.rb +0 -15
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -70
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -46
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -45
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -34
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -62
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -75
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -60
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -66
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -23
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -32
- data/lib/stripe/services/v2/money_management_service.rb +0 -31
- data/lib/stripe/services/v2/network/business_profile_service.rb +0 -32
- data/lib/stripe/services/v2/network_service.rb +0 -15
- data/lib/stripe/services/v2/orchestrated_commerce/agreement_service.rb +0 -65
- data/lib/stripe/services/v2/orchestrated_commerce_service.rb +0 -15
- data/lib/stripe/services/v2/test_helper_service.rb +0 -15
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
- data/lib/stripe/stripe_event_notification_handler.rb +0 -581
|
@@ -66,23 +66,11 @@ module Stripe
|
|
|
66
66
|
@shown_and_accepted = shown_and_accepted
|
|
67
67
|
end
|
|
68
68
|
end
|
|
69
|
-
|
|
70
|
-
class Storer < ::Stripe::RequestParams
|
|
71
|
-
# The boolean value indicating if the terms of service have been accepted.
|
|
72
|
-
attr_accessor :shown_and_accepted
|
|
73
|
-
|
|
74
|
-
def initialize(shown_and_accepted: nil)
|
|
75
|
-
@shown_and_accepted = shown_and_accepted
|
|
76
|
-
end
|
|
77
|
-
end
|
|
78
69
|
# Details on the Account's acceptance of the [Stripe Services Agreement]; IP, date, and User Agent are expanded by Stripe.
|
|
79
70
|
attr_accessor :account
|
|
80
|
-
# Details on the Account's acceptance of Treasury-specific terms of service; IP, date, and User Agent are expanded by Stripe.
|
|
81
|
-
attr_accessor :storer
|
|
82
71
|
|
|
83
|
-
def initialize(account: nil
|
|
72
|
+
def initialize(account: nil)
|
|
84
73
|
@account = account
|
|
85
|
-
@storer = storer
|
|
86
74
|
end
|
|
87
75
|
end
|
|
88
76
|
# This hash is used to attest that the directors information provided to Stripe is both current and correct; IP, date, and User Agent are expanded by Stripe.
|
|
@@ -268,25 +256,47 @@ module Stripe
|
|
|
268
256
|
end
|
|
269
257
|
|
|
270
258
|
class ProofOfRegistration < ::Stripe::RequestParams
|
|
259
|
+
class Signer < ::Stripe::RequestParams
|
|
260
|
+
# Person signing the document.
|
|
261
|
+
attr_accessor :person
|
|
262
|
+
|
|
263
|
+
def initialize(person: nil)
|
|
264
|
+
@person = person
|
|
265
|
+
end
|
|
266
|
+
end
|
|
271
267
|
# One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
|
|
272
268
|
attr_accessor :files
|
|
269
|
+
# Person that is signing the document.
|
|
270
|
+
attr_accessor :signer
|
|
273
271
|
# The format of the document. Currently supports `files` only.
|
|
274
272
|
attr_accessor :type
|
|
275
273
|
|
|
276
|
-
def initialize(files: nil, type: nil)
|
|
274
|
+
def initialize(files: nil, signer: nil, type: nil)
|
|
277
275
|
@files = files
|
|
276
|
+
@signer = signer
|
|
278
277
|
@type = type
|
|
279
278
|
end
|
|
280
279
|
end
|
|
281
280
|
|
|
282
281
|
class ProofOfUltimateBeneficialOwnership < ::Stripe::RequestParams
|
|
282
|
+
class Signer < ::Stripe::RequestParams
|
|
283
|
+
# Person signing the document.
|
|
284
|
+
attr_accessor :person
|
|
285
|
+
|
|
286
|
+
def initialize(person: nil)
|
|
287
|
+
@person = person
|
|
288
|
+
end
|
|
289
|
+
end
|
|
283
290
|
# One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
|
|
284
291
|
attr_accessor :files
|
|
292
|
+
# Person that is signing the document.
|
|
293
|
+
attr_accessor :signer
|
|
285
294
|
# The format of the document. Currently supports `files` only.
|
|
286
295
|
attr_accessor :type
|
|
287
296
|
|
|
288
|
-
def initialize(files: nil, type: nil)
|
|
297
|
+
def initialize(files: nil, signer: nil, type: nil)
|
|
289
298
|
@files = files
|
|
299
|
+
@signer = signer
|
|
290
300
|
@type = type
|
|
291
301
|
end
|
|
292
302
|
end
|
|
@@ -306,7 +316,7 @@ module Stripe
|
|
|
306
316
|
attr_accessor :primary_verification
|
|
307
317
|
# One or more documents that demonstrate proof of address.
|
|
308
318
|
attr_accessor :proof_of_address
|
|
309
|
-
# One or more documents
|
|
319
|
+
# One or more documents that demonstrate proof of ultimate beneficial ownership.
|
|
310
320
|
attr_accessor :proof_of_registration
|
|
311
321
|
# One or more documents that demonstrate proof of ultimate beneficial ownership.
|
|
312
322
|
attr_accessor :proof_of_ultimate_beneficial_ownership
|
|
@@ -922,7 +932,7 @@ module Stripe
|
|
|
922
932
|
attr_accessor :date_of_birth
|
|
923
933
|
# Documents that may be submitted to satisfy various informational requests.
|
|
924
934
|
attr_accessor :documents
|
|
925
|
-
# The individual's email address.
|
|
935
|
+
# The individual's email address. You can only set this field when the Account is configured as a `merchant` or `recipient`. Use `contact_email` as the primary contact email for this Account.
|
|
926
936
|
attr_accessor :email
|
|
927
937
|
# The individual's first name.
|
|
928
938
|
attr_accessor :given_name
|
|
@@ -1023,7 +1033,7 @@ module Stripe
|
|
|
1023
1033
|
}
|
|
1024
1034
|
end
|
|
1025
1035
|
end
|
|
1026
|
-
# The
|
|
1036
|
+
# The primary contact email address for the Account.
|
|
1027
1037
|
attr_accessor :contact_email
|
|
1028
1038
|
# The default contact phone for the Account.
|
|
1029
1039
|
attr_accessor :contact_phone
|
|
@@ -12,20 +12,12 @@ module Stripe
|
|
|
12
12
|
attr_accessor :exempt
|
|
13
13
|
# A recent IP address of the customer used for tax reporting and tax location inference.
|
|
14
14
|
attr_accessor :ip_address
|
|
15
|
-
# Data source used to identify the customer account's tax location. Defaults to `identity_address`. Used for automatic indirect tax calculation.
|
|
16
|
-
attr_accessor :location_source
|
|
17
15
|
# A per-request flag that indicates when Stripe should validate the customer tax location - defaults to `auto`.
|
|
18
16
|
attr_accessor :validate_location
|
|
19
17
|
|
|
20
|
-
def initialize(
|
|
21
|
-
exempt: nil,
|
|
22
|
-
ip_address: nil,
|
|
23
|
-
location_source: nil,
|
|
24
|
-
validate_location: nil
|
|
25
|
-
)
|
|
18
|
+
def initialize(exempt: nil, ip_address: nil, validate_location: nil)
|
|
26
19
|
@exempt = exempt
|
|
27
20
|
@ip_address = ip_address
|
|
28
|
-
@location_source = location_source
|
|
29
21
|
@validate_location = validate_location
|
|
30
22
|
end
|
|
31
23
|
end
|
|
@@ -80,7 +72,7 @@ module Stripe
|
|
|
80
72
|
@rendering = rendering
|
|
81
73
|
end
|
|
82
74
|
end
|
|
83
|
-
# ID of a PaymentMethod attached to
|
|
75
|
+
# The ID of a `PaymentMethod` attached to this Account's `customer` configuration, used as the default payment method for invoices and subscriptions.
|
|
84
76
|
attr_accessor :default_payment_method
|
|
85
77
|
# Default invoice settings for the customer account.
|
|
86
78
|
attr_accessor :invoice
|
|
@@ -877,23 +869,6 @@ module Stripe
|
|
|
877
869
|
end
|
|
878
870
|
end
|
|
879
871
|
|
|
880
|
-
class SmartDisputes < ::Stripe::RequestParams
|
|
881
|
-
class AutoRespond < ::Stripe::RequestParams
|
|
882
|
-
# The preference for automatic dispute responses.
|
|
883
|
-
attr_accessor :preference
|
|
884
|
-
|
|
885
|
-
def initialize(preference: nil)
|
|
886
|
-
@preference = preference
|
|
887
|
-
end
|
|
888
|
-
end
|
|
889
|
-
# Settings for Smart Disputes auto_respond.
|
|
890
|
-
attr_accessor :auto_respond
|
|
891
|
-
|
|
892
|
-
def initialize(auto_respond: nil)
|
|
893
|
-
@auto_respond = auto_respond
|
|
894
|
-
end
|
|
895
|
-
end
|
|
896
|
-
|
|
897
872
|
class StatementDescriptor < ::Stripe::RequestParams
|
|
898
873
|
# 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 Merchant Configuration settings documentation.
|
|
899
874
|
attr_accessor :descriptor
|
|
@@ -973,8 +948,6 @@ module Stripe
|
|
|
973
948
|
attr_accessor :mcc
|
|
974
949
|
# Settings for the default text that appears on statements for language variations.
|
|
975
950
|
attr_accessor :script_statement_descriptor
|
|
976
|
-
# Settings for Smart Disputes automatic response feature.
|
|
977
|
-
attr_accessor :smart_disputes
|
|
978
951
|
# Settings for the default [statement descriptor](/connect/statement-descriptors) text.
|
|
979
952
|
attr_accessor :statement_descriptor
|
|
980
953
|
# Publicly available contact information for sending support issues to.
|
|
@@ -989,7 +962,6 @@ module Stripe
|
|
|
989
962
|
konbini_payments: nil,
|
|
990
963
|
mcc: nil,
|
|
991
964
|
script_statement_descriptor: nil,
|
|
992
|
-
smart_disputes: nil,
|
|
993
965
|
statement_descriptor: nil,
|
|
994
966
|
support: nil
|
|
995
967
|
)
|
|
@@ -1001,7 +973,6 @@ module Stripe
|
|
|
1001
973
|
@konbini_payments = konbini_payments
|
|
1002
974
|
@mcc = mcc
|
|
1003
975
|
@script_statement_descriptor = script_statement_descriptor
|
|
1004
|
-
@smart_disputes = smart_disputes
|
|
1005
976
|
@statement_descriptor = statement_descriptor
|
|
1006
977
|
@support = support
|
|
1007
978
|
end
|
|
@@ -1009,44 +980,6 @@ module Stripe
|
|
|
1009
980
|
|
|
1010
981
|
class Recipient < ::Stripe::RequestParams
|
|
1011
982
|
class Capabilities < ::Stripe::RequestParams
|
|
1012
|
-
class BankAccounts < ::Stripe::RequestParams
|
|
1013
|
-
class Local < ::Stripe::RequestParams
|
|
1014
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1015
|
-
attr_accessor :requested
|
|
1016
|
-
|
|
1017
|
-
def initialize(requested: nil)
|
|
1018
|
-
@requested = requested
|
|
1019
|
-
end
|
|
1020
|
-
end
|
|
1021
|
-
|
|
1022
|
-
class Wire < ::Stripe::RequestParams
|
|
1023
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1024
|
-
attr_accessor :requested
|
|
1025
|
-
|
|
1026
|
-
def initialize(requested: nil)
|
|
1027
|
-
@requested = requested
|
|
1028
|
-
end
|
|
1029
|
-
end
|
|
1030
|
-
# Enables this Account to receive OutboundPayments to linked bank accounts over local networks.
|
|
1031
|
-
attr_accessor :local
|
|
1032
|
-
# Enables this Account to receive OutboundPayments to linked bank accounts over wire.
|
|
1033
|
-
attr_accessor :wire
|
|
1034
|
-
|
|
1035
|
-
def initialize(local: nil, wire: nil)
|
|
1036
|
-
@local = local
|
|
1037
|
-
@wire = wire
|
|
1038
|
-
end
|
|
1039
|
-
end
|
|
1040
|
-
|
|
1041
|
-
class Cards < ::Stripe::RequestParams
|
|
1042
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1043
|
-
attr_accessor :requested
|
|
1044
|
-
|
|
1045
|
-
def initialize(requested: nil)
|
|
1046
|
-
@requested = requested
|
|
1047
|
-
end
|
|
1048
|
-
end
|
|
1049
|
-
|
|
1050
983
|
class StripeBalance < ::Stripe::RequestParams
|
|
1051
984
|
class StripeTransfers < ::Stripe::RequestParams
|
|
1052
985
|
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
@@ -1063,16 +996,10 @@ module Stripe
|
|
|
1063
996
|
@stripe_transfers = stripe_transfers
|
|
1064
997
|
end
|
|
1065
998
|
end
|
|
1066
|
-
# Capabilities that enable OutboundPayments to a bank account linked to this Account.
|
|
1067
|
-
attr_accessor :bank_accounts
|
|
1068
|
-
# Capability that enable OutboundPayments to a debit card linked to this Account.
|
|
1069
|
-
attr_accessor :cards
|
|
1070
999
|
# Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
|
|
1071
1000
|
attr_accessor :stripe_balance
|
|
1072
1001
|
|
|
1073
|
-
def initialize(
|
|
1074
|
-
@bank_accounts = bank_accounts
|
|
1075
|
-
@cards = cards
|
|
1002
|
+
def initialize(stripe_balance: nil)
|
|
1076
1003
|
@stripe_balance = stripe_balance
|
|
1077
1004
|
end
|
|
1078
1005
|
end
|
|
@@ -1080,191 +1007,6 @@ module Stripe
|
|
|
1080
1007
|
attr_accessor :applied
|
|
1081
1008
|
# Capabilities to request on the Recipient Configuration.
|
|
1082
1009
|
attr_accessor :capabilities
|
|
1083
|
-
# The payout method id to be used as a default outbound destination. This will allow the PayoutMethod to be omitted on OutboundPayments made through API or sending payouts via dashboard. Can also be explicitly set to `null` to clear the existing default outbound destination. For further details about creating an Outbound Destination, see [Collect recipient's payment details](https://docs.stripe.com/global-payouts-private-preview/quickstart?dashboard-or-api=api#collect-bank-account-details).
|
|
1084
|
-
attr_accessor :default_outbound_destination
|
|
1085
|
-
|
|
1086
|
-
def initialize(applied: nil, capabilities: nil, default_outbound_destination: nil)
|
|
1087
|
-
@applied = applied
|
|
1088
|
-
@capabilities = capabilities
|
|
1089
|
-
@default_outbound_destination = default_outbound_destination
|
|
1090
|
-
end
|
|
1091
|
-
end
|
|
1092
|
-
|
|
1093
|
-
class Storer < ::Stripe::RequestParams
|
|
1094
|
-
class Capabilities < ::Stripe::RequestParams
|
|
1095
|
-
class FinancialAddresses < ::Stripe::RequestParams
|
|
1096
|
-
class BankAccounts < ::Stripe::RequestParams
|
|
1097
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1098
|
-
attr_accessor :requested
|
|
1099
|
-
|
|
1100
|
-
def initialize(requested: nil)
|
|
1101
|
-
@requested = requested
|
|
1102
|
-
end
|
|
1103
|
-
end
|
|
1104
|
-
# Can provision a bank-account-like financial address (VBAN) to credit/debit a FinancialAccount.
|
|
1105
|
-
attr_accessor :bank_accounts
|
|
1106
|
-
|
|
1107
|
-
def initialize(bank_accounts: nil)
|
|
1108
|
-
@bank_accounts = bank_accounts
|
|
1109
|
-
end
|
|
1110
|
-
end
|
|
1111
|
-
|
|
1112
|
-
class HoldsCurrencies < ::Stripe::RequestParams
|
|
1113
|
-
class Eur < ::Stripe::RequestParams
|
|
1114
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1115
|
-
attr_accessor :requested
|
|
1116
|
-
|
|
1117
|
-
def initialize(requested: nil)
|
|
1118
|
-
@requested = requested
|
|
1119
|
-
end
|
|
1120
|
-
end
|
|
1121
|
-
|
|
1122
|
-
class Gbp < ::Stripe::RequestParams
|
|
1123
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1124
|
-
attr_accessor :requested
|
|
1125
|
-
|
|
1126
|
-
def initialize(requested: nil)
|
|
1127
|
-
@requested = requested
|
|
1128
|
-
end
|
|
1129
|
-
end
|
|
1130
|
-
|
|
1131
|
-
class Usd < ::Stripe::RequestParams
|
|
1132
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1133
|
-
attr_accessor :requested
|
|
1134
|
-
|
|
1135
|
-
def initialize(requested: nil)
|
|
1136
|
-
@requested = requested
|
|
1137
|
-
end
|
|
1138
|
-
end
|
|
1139
|
-
# Can hold storage-type funds on Stripe in EUR.
|
|
1140
|
-
attr_accessor :eur
|
|
1141
|
-
# Can hold storage-type funds on Stripe in GBP.
|
|
1142
|
-
attr_accessor :gbp
|
|
1143
|
-
# Can hold storage-type funds on Stripe in USD.
|
|
1144
|
-
attr_accessor :usd
|
|
1145
|
-
|
|
1146
|
-
def initialize(eur: nil, gbp: nil, usd: nil)
|
|
1147
|
-
@eur = eur
|
|
1148
|
-
@gbp = gbp
|
|
1149
|
-
@usd = usd
|
|
1150
|
-
end
|
|
1151
|
-
end
|
|
1152
|
-
|
|
1153
|
-
class InboundTransfers < ::Stripe::RequestParams
|
|
1154
|
-
class BankAccounts < ::Stripe::RequestParams
|
|
1155
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1156
|
-
attr_accessor :requested
|
|
1157
|
-
|
|
1158
|
-
def initialize(requested: nil)
|
|
1159
|
-
@requested = requested
|
|
1160
|
-
end
|
|
1161
|
-
end
|
|
1162
|
-
# Can pull funds from an external bank account owned by yourself to a FinancialAccount.
|
|
1163
|
-
attr_accessor :bank_accounts
|
|
1164
|
-
|
|
1165
|
-
def initialize(bank_accounts: nil)
|
|
1166
|
-
@bank_accounts = bank_accounts
|
|
1167
|
-
end
|
|
1168
|
-
end
|
|
1169
|
-
|
|
1170
|
-
class OutboundPayments < ::Stripe::RequestParams
|
|
1171
|
-
class BankAccounts < ::Stripe::RequestParams
|
|
1172
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1173
|
-
attr_accessor :requested
|
|
1174
|
-
|
|
1175
|
-
def initialize(requested: nil)
|
|
1176
|
-
@requested = requested
|
|
1177
|
-
end
|
|
1178
|
-
end
|
|
1179
|
-
|
|
1180
|
-
class Cards < ::Stripe::RequestParams
|
|
1181
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1182
|
-
attr_accessor :requested
|
|
1183
|
-
|
|
1184
|
-
def initialize(requested: nil)
|
|
1185
|
-
@requested = requested
|
|
1186
|
-
end
|
|
1187
|
-
end
|
|
1188
|
-
|
|
1189
|
-
class FinancialAccounts < ::Stripe::RequestParams
|
|
1190
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1191
|
-
attr_accessor :requested
|
|
1192
|
-
|
|
1193
|
-
def initialize(requested: nil)
|
|
1194
|
-
@requested = requested
|
|
1195
|
-
end
|
|
1196
|
-
end
|
|
1197
|
-
# Can send funds from a FinancialAccount to a bank account owned by someone else.
|
|
1198
|
-
attr_accessor :bank_accounts
|
|
1199
|
-
# Can send funds from a FinancialAccount to a debit card owned by someone else.
|
|
1200
|
-
attr_accessor :cards
|
|
1201
|
-
# Can send funds from a FinancialAccount to another FinancialAccount owned by someone else.
|
|
1202
|
-
attr_accessor :financial_accounts
|
|
1203
|
-
|
|
1204
|
-
def initialize(bank_accounts: nil, cards: nil, financial_accounts: nil)
|
|
1205
|
-
@bank_accounts = bank_accounts
|
|
1206
|
-
@cards = cards
|
|
1207
|
-
@financial_accounts = financial_accounts
|
|
1208
|
-
end
|
|
1209
|
-
end
|
|
1210
|
-
|
|
1211
|
-
class OutboundTransfers < ::Stripe::RequestParams
|
|
1212
|
-
class BankAccounts < ::Stripe::RequestParams
|
|
1213
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1214
|
-
attr_accessor :requested
|
|
1215
|
-
|
|
1216
|
-
def initialize(requested: nil)
|
|
1217
|
-
@requested = requested
|
|
1218
|
-
end
|
|
1219
|
-
end
|
|
1220
|
-
|
|
1221
|
-
class FinancialAccounts < ::Stripe::RequestParams
|
|
1222
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1223
|
-
attr_accessor :requested
|
|
1224
|
-
|
|
1225
|
-
def initialize(requested: nil)
|
|
1226
|
-
@requested = requested
|
|
1227
|
-
end
|
|
1228
|
-
end
|
|
1229
|
-
# Can send funds from a FinancialAccount to a bank account owned by yourself.
|
|
1230
|
-
attr_accessor :bank_accounts
|
|
1231
|
-
# Can send funds from a FinancialAccount to another FinancialAccount owned by yourself.
|
|
1232
|
-
attr_accessor :financial_accounts
|
|
1233
|
-
|
|
1234
|
-
def initialize(bank_accounts: nil, financial_accounts: nil)
|
|
1235
|
-
@bank_accounts = bank_accounts
|
|
1236
|
-
@financial_accounts = financial_accounts
|
|
1237
|
-
end
|
|
1238
|
-
end
|
|
1239
|
-
# Can provision a financial address to credit/debit a FinancialAccount.
|
|
1240
|
-
attr_accessor :financial_addresses
|
|
1241
|
-
# Can hold storage-type funds on Stripe.
|
|
1242
|
-
attr_accessor :holds_currencies
|
|
1243
|
-
# Can pull funds from an external source, owned by yourself, to a FinancialAccount.
|
|
1244
|
-
attr_accessor :inbound_transfers
|
|
1245
|
-
# Can send funds from a FinancialAccount to a destination owned by someone else.
|
|
1246
|
-
attr_accessor :outbound_payments
|
|
1247
|
-
# Can send funds from a FinancialAccount to a destination owned by yourself.
|
|
1248
|
-
attr_accessor :outbound_transfers
|
|
1249
|
-
|
|
1250
|
-
def initialize(
|
|
1251
|
-
financial_addresses: nil,
|
|
1252
|
-
holds_currencies: nil,
|
|
1253
|
-
inbound_transfers: nil,
|
|
1254
|
-
outbound_payments: nil,
|
|
1255
|
-
outbound_transfers: nil
|
|
1256
|
-
)
|
|
1257
|
-
@financial_addresses = financial_addresses
|
|
1258
|
-
@holds_currencies = holds_currencies
|
|
1259
|
-
@inbound_transfers = inbound_transfers
|
|
1260
|
-
@outbound_payments = outbound_payments
|
|
1261
|
-
@outbound_transfers = outbound_transfers
|
|
1262
|
-
end
|
|
1263
|
-
end
|
|
1264
|
-
# Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
|
|
1265
|
-
attr_accessor :applied
|
|
1266
|
-
# Capabilities to request on the Storer Configuration.
|
|
1267
|
-
attr_accessor :capabilities
|
|
1268
1010
|
|
|
1269
1011
|
def initialize(applied: nil, capabilities: nil)
|
|
1270
1012
|
@applied = applied
|
|
@@ -1277,14 +1019,11 @@ module Stripe
|
|
|
1277
1019
|
attr_accessor :merchant
|
|
1278
1020
|
# The Recipient Configuration allows the Account to receive funds. Utilize this configuration if the Account will not be the Merchant of Record, like with Separate Charges & Transfers, or Destination Charges without on_behalf_of set.
|
|
1279
1021
|
attr_accessor :recipient
|
|
1280
|
-
# The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts.
|
|
1281
|
-
attr_accessor :storer
|
|
1282
1022
|
|
|
1283
|
-
def initialize(customer: nil, merchant: nil, recipient: nil
|
|
1023
|
+
def initialize(customer: nil, merchant: nil, recipient: nil)
|
|
1284
1024
|
@customer = customer
|
|
1285
1025
|
@merchant = merchant
|
|
1286
1026
|
@recipient = recipient
|
|
1287
|
-
@storer = storer
|
|
1288
1027
|
end
|
|
1289
1028
|
end
|
|
1290
1029
|
|
|
@@ -1323,21 +1062,12 @@ module Stripe
|
|
|
1323
1062
|
attr_accessor :profile
|
|
1324
1063
|
# Default responsibilities held by either Stripe or the platform.
|
|
1325
1064
|
attr_accessor :responsibilities
|
|
1326
|
-
# The Account's local timezone. A list of possible time zone values is maintained at the [IANA Time Zone Database](https://www.iana.org/time-zones).
|
|
1327
|
-
attr_accessor :timezone
|
|
1328
1065
|
|
|
1329
|
-
def initialize(
|
|
1330
|
-
currency: nil,
|
|
1331
|
-
locales: nil,
|
|
1332
|
-
profile: nil,
|
|
1333
|
-
responsibilities: nil,
|
|
1334
|
-
timezone: nil
|
|
1335
|
-
)
|
|
1066
|
+
def initialize(currency: nil, locales: nil, profile: nil, responsibilities: nil)
|
|
1336
1067
|
@currency = currency
|
|
1337
1068
|
@locales = locales
|
|
1338
1069
|
@profile = profile
|
|
1339
1070
|
@responsibilities = responsibilities
|
|
1340
|
-
@timezone = timezone
|
|
1341
1071
|
end
|
|
1342
1072
|
end
|
|
1343
1073
|
|
|
@@ -1652,25 +1382,47 @@ module Stripe
|
|
|
1652
1382
|
end
|
|
1653
1383
|
|
|
1654
1384
|
class ProofOfRegistration < ::Stripe::RequestParams
|
|
1385
|
+
class Signer < ::Stripe::RequestParams
|
|
1386
|
+
# Person signing the document.
|
|
1387
|
+
attr_accessor :person
|
|
1388
|
+
|
|
1389
|
+
def initialize(person: nil)
|
|
1390
|
+
@person = person
|
|
1391
|
+
end
|
|
1392
|
+
end
|
|
1655
1393
|
# One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
|
|
1656
1394
|
attr_accessor :files
|
|
1395
|
+
# Person that is signing the document.
|
|
1396
|
+
attr_accessor :signer
|
|
1657
1397
|
# The format of the document. Currently supports `files` only.
|
|
1658
1398
|
attr_accessor :type
|
|
1659
1399
|
|
|
1660
|
-
def initialize(files: nil, type: nil)
|
|
1400
|
+
def initialize(files: nil, signer: nil, type: nil)
|
|
1661
1401
|
@files = files
|
|
1402
|
+
@signer = signer
|
|
1662
1403
|
@type = type
|
|
1663
1404
|
end
|
|
1664
1405
|
end
|
|
1665
1406
|
|
|
1666
1407
|
class ProofOfUltimateBeneficialOwnership < ::Stripe::RequestParams
|
|
1408
|
+
class Signer < ::Stripe::RequestParams
|
|
1409
|
+
# Person signing the document.
|
|
1410
|
+
attr_accessor :person
|
|
1411
|
+
|
|
1412
|
+
def initialize(person: nil)
|
|
1413
|
+
@person = person
|
|
1414
|
+
end
|
|
1415
|
+
end
|
|
1667
1416
|
# One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
|
|
1668
1417
|
attr_accessor :files
|
|
1418
|
+
# Person that is signing the document.
|
|
1419
|
+
attr_accessor :signer
|
|
1669
1420
|
# The format of the document. Currently supports `files` only.
|
|
1670
1421
|
attr_accessor :type
|
|
1671
1422
|
|
|
1672
|
-
def initialize(files: nil, type: nil)
|
|
1423
|
+
def initialize(files: nil, signer: nil, type: nil)
|
|
1673
1424
|
@files = files
|
|
1425
|
+
@signer = signer
|
|
1674
1426
|
@type = type
|
|
1675
1427
|
end
|
|
1676
1428
|
end
|
|
@@ -1690,7 +1442,7 @@ module Stripe
|
|
|
1690
1442
|
attr_accessor :primary_verification
|
|
1691
1443
|
# One or more documents that demonstrate proof of address.
|
|
1692
1444
|
attr_accessor :proof_of_address
|
|
1693
|
-
# One or more documents
|
|
1445
|
+
# One or more documents that demonstrate proof of ultimate beneficial ownership.
|
|
1694
1446
|
attr_accessor :proof_of_registration
|
|
1695
1447
|
# One or more documents that demonstrate proof of ultimate beneficial ownership.
|
|
1696
1448
|
attr_accessor :proof_of_ultimate_beneficial_ownership
|
|
@@ -2306,7 +2058,7 @@ module Stripe
|
|
|
2306
2058
|
attr_accessor :date_of_birth
|
|
2307
2059
|
# Documents that may be submitted to satisfy various informational requests.
|
|
2308
2060
|
attr_accessor :documents
|
|
2309
|
-
# The individual's email address.
|
|
2061
|
+
# The individual's email address. You can only set this field when the Account is configured as a `merchant` or `recipient`. Use `contact_email` as the primary contact email for this Account.
|
|
2310
2062
|
attr_accessor :email
|
|
2311
2063
|
# The individual's first name.
|
|
2312
2064
|
attr_accessor :given_name
|
|
@@ -2381,7 +2133,7 @@ module Stripe
|
|
|
2381
2133
|
attr_accessor :business_details
|
|
2382
2134
|
# 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](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code.
|
|
2383
2135
|
attr_accessor :country
|
|
2384
|
-
# The entity type.
|
|
2136
|
+
# The entity type represented by the Account. Ensure this field is accurate before adding configurations that rely on identity information, as it determines which identity fields apply and how the Account is validated.
|
|
2385
2137
|
attr_accessor :entity_type
|
|
2386
2138
|
# Information about the individual represented by the Account. This property is `null` unless `entity_type` is set to `individual`.
|
|
2387
2139
|
attr_accessor :individual
|
|
@@ -2415,7 +2167,7 @@ module Stripe
|
|
|
2415
2167
|
attr_accessor :account_token
|
|
2416
2168
|
# An Account Configuration which allows the Account to take on a key persona across Stripe products.
|
|
2417
2169
|
attr_accessor :configuration
|
|
2418
|
-
# The
|
|
2170
|
+
# The primary contact email address for the Account.
|
|
2419
2171
|
attr_accessor :contact_email
|
|
2420
2172
|
# The default contact phone for the Account.
|
|
2421
2173
|
attr_accessor :contact_phone
|