stripe 19.4.0.pre.beta.1 → 19.4.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 +2 -63
- data/lib/stripe/api_version.rb +2 -1
- data/lib/stripe/error_object.rb +43 -19
- data/lib/stripe/errors.rb +0 -87
- data/lib/stripe/event_types.rb +0 -236
- data/lib/stripe/events/unknown_event_notification.rb +0 -1
- data/lib/stripe/object_types.rb +0 -60
- data/lib/stripe/params/account_create_params.rb +73 -398
- data/lib/stripe/params/account_person_create_params.rb +6 -0
- data/lib/stripe/params/account_person_update_params.rb +6 -0
- data/lib/stripe/params/account_reject_params.rb +4 -1
- data/lib/stripe/params/account_session_create_params.rb +21 -230
- data/lib/stripe/params/{quote_mark_draft_params.rb → account_unreject_params.rb} +1 -1
- data/lib/stripe/params/account_update_params.rb +81 -332
- data/lib/stripe/params/billing/alert_create_params.rb +1 -1
- data/lib/stripe/params/billing_portal/configuration_create_params.rb +1 -1
- data/lib/stripe/params/billing_portal/configuration_update_params.rb +1 -1
- data/lib/stripe/params/charge_capture_params.rb +0 -1646
- data/lib/stripe/params/charge_update_params.rb +0 -1646
- data/lib/stripe/params/checkout/session_create_params.rb +24 -133
- data/lib/stripe/params/checkout/session_update_params.rb +1 -176
- data/lib/stripe/params/confirmation_token_create_params.rb +0 -78
- data/lib/stripe/params/coupon_create_params.rb +1 -17
- data/lib/stripe/params/customer_create_params.rb +1 -1
- data/lib/stripe/params/customer_session_create_params.rb +1 -32
- data/lib/stripe/params/customer_tax_id_create_params.rb +1 -1
- data/lib/stripe/params/dispute_update_params.rb +1 -10
- data/lib/stripe/params/financial_connections/session_create_params.rb +9 -38
- 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 +16 -844
- 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/authorization_capture_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_create_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_finalize_amount_params.rb +1 -1
- data/lib/stripe/params/issuing/card_create_params.rb +4 -0
- data/lib/stripe/params/issuing/card_update_params.rb +4 -0
- data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
- data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +1 -1
- data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +1 -1
- data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
- data/lib/stripe/params/payment_intent_capture_params.rb +1 -1643
- data/lib/stripe/params/payment_intent_confirm_params.rb +137 -3047
- data/lib/stripe/params/payment_intent_create_params.rb +152 -3062
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +0 -37
- data/lib/stripe/params/payment_intent_update_params.rb +105 -3049
- data/lib/stripe/params/payment_link_create_params.rb +0 -15
- data/lib/stripe/params/payment_link_update_params.rb +58 -0
- data/lib/stripe/params/payment_method_configuration_create_params.rb +0 -105
- data/lib/stripe/params/payment_method_configuration_update_params.rb +0 -105
- data/lib/stripe/params/payment_method_create_params.rb +0 -74
- data/lib/stripe/params/{account_notice_list_params.rb → payment_record_list_params.rb} +15 -5
- 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/promotion_code_create_params.rb +1 -1
- data/lib/stripe/params/promotion_code_update_params.rb +1 -1
- data/lib/stripe/params/quote_create_params.rb +31 -810
- data/lib/stripe/params/quote_list_params.rb +0 -4
- data/lib/stripe/params/quote_update_params.rb +32 -818
- data/lib/stripe/params/setup_intent_confirm_params.rb +7 -108
- data/lib/stripe/params/setup_intent_create_params.rb +7 -108
- data/lib/stripe/params/setup_intent_update_params.rb +7 -108
- data/lib/stripe/params/subscription_create_params.rb +6 -170
- data/lib/stripe/params/subscription_item_create_params.rb +2 -62
- data/lib/stripe/params/subscription_item_update_params.rb +1 -45
- data/lib/stripe/params/subscription_resume_params.rb +0 -4
- data/lib/stripe/params/subscription_schedule_create_params.rb +65 -171
- data/lib/stripe/params/subscription_schedule_list_params.rb +1 -1
- data/lib/stripe/params/subscription_schedule_update_params.rb +66 -172
- data/lib/stripe/params/subscription_update_params.rb +6 -154
- data/lib/stripe/params/tax/calculation_create_params.rb +2 -6
- data/lib/stripe/params/tax/registration_create_params.rb +12 -90
- data/lib/stripe/params/tax_id_create_params.rb +1 -1
- data/lib/stripe/params/terminal/configuration_create_params.rb +0 -13
- data/lib/stripe/params/terminal/configuration_update_params.rb +0 -13
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +0 -78
- data/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +1 -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/token_create_params.rb +78 -0
- 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/billing/meter_event_create_params.rb +2 -2
- data/lib/stripe/params/v2/billing/meter_event_stream_create_params.rb +2 -2
- data/lib/stripe/params/v2/core/account_create_params.rb +48 -403
- data/lib/stripe/params/v2/core/account_token_create_params.rb +44 -13
- data/lib/stripe/params/v2/core/account_update_params.rb +48 -396
- data/lib/stripe/params.rb +4 -426
- data/lib/stripe/resources/account.rb +87 -265
- data/lib/stripe/resources/account_session.rb +8 -81
- data/lib/stripe/resources/balance.rb +0 -83
- data/lib/stripe/resources/balance_transaction.rb +1 -1
- data/lib/stripe/resources/bank_account.rb +2 -2
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -4
- data/lib/stripe/resources/billing_portal/configuration.rb +1 -1
- data/lib/stripe/resources/capability.rb +2 -2
- data/lib/stripe/resources/card.rb +1 -18
- data/lib/stripe/resources/charge.rb +4 -230
- data/lib/stripe/resources/checkout/session.rb +20 -92
- data/lib/stripe/resources/confirmation_token.rb +1 -132
- data/lib/stripe/resources/coupon.rb +1 -26
- data/lib/stripe/resources/credit_note_line_item.rb +0 -18
- data/lib/stripe/resources/customer.rb +0 -16
- data/lib/stripe/resources/customer_session.rb +0 -36
- data/lib/stripe/resources/dispute.rb +4 -24
- data/lib/stripe/resources/event.rb +1 -64
- data/lib/stripe/resources/financial_connections/account.rb +1 -45
- data/lib/stripe/resources/financial_connections/authorization.rb +1 -24
- data/lib/stripe/resources/financial_connections/session.rb +25 -91
- data/lib/stripe/resources/invoice.rb +2 -118
- data/lib/stripe/resources/invoice_item.rb +0 -2
- data/lib/stripe/resources/invoice_line_item.rb +0 -40
- data/lib/stripe/resources/issuing/authorization.rb +0 -16
- data/lib/stripe/resources/issuing/card.rb +2 -16
- data/lib/stripe/resources/issuing/cardholder.rb +0 -16
- data/lib/stripe/resources/issuing/dispute.rb +1 -16
- data/lib/stripe/resources/issuing/transaction.rb +1 -19
- data/lib/stripe/resources/line_item.rb +0 -42
- data/lib/stripe/resources/mandate.rb +0 -12
- data/lib/stripe/resources/payment_attempt_record.rb +3 -179
- data/lib/stripe/resources/payment_intent.rb +23 -1574
- data/lib/stripe/resources/payment_method.rb +3 -154
- data/lib/stripe/resources/payment_method_configuration.rb +0 -170
- data/lib/stripe/resources/payment_record.rb +10 -179
- data/lib/stripe/resources/person.rb +2 -2
- data/lib/stripe/resources/price.rb +0 -20
- data/lib/stripe/resources/product.rb +0 -18
- data/lib/stripe/resources/quote.rb +23 -569
- data/lib/stripe/resources/radar/value_list_item.rb +1 -15
- data/lib/stripe/resources/refund.rb +6 -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 +0 -35
- data/lib/stripe/resources/setup_intent.rb +3 -38
- data/lib/stripe/resources/source.rb +0 -54
- data/lib/stripe/resources/subscription.rb +0 -167
- data/lib/stripe/resources/subscription_item.rb +1 -41
- data/lib/stripe/resources/subscription_schedule.rb +49 -200
- data/lib/stripe/resources/tax/calculation.rb +1 -1
- data/lib/stripe/resources/tax/calculation_line_item.rb +0 -2
- data/lib/stripe/resources/tax/registration.rb +10 -106
- data/lib/stripe/resources/tax/transaction.rb +1 -1
- data/lib/stripe/resources/tax_code.rb +1 -15
- data/lib/stripe/resources/tax_id.rb +1 -1
- data/lib/stripe/resources/terminal/configuration.rb +0 -16
- data/lib/stripe/resources/terminal/reader.rb +0 -8
- data/lib/stripe/resources/token.rb +1 -15
- data/lib/stripe/resources/topup.rb +31 -1
- 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/billing/meter_event.rb +2 -2
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +1 -1
- data/lib/stripe/resources/v2/core/account.rb +100 -949
- data/lib/stripe/resources/v2/core/event_notification.rb +0 -1
- data/lib/stripe/resources.rb +0 -425
- data/lib/stripe/services/account_person_service.rb +1 -1
- data/lib/stripe/services/account_service.rb +14 -14
- data/lib/stripe/services/billing_service.rb +1 -2
- data/lib/stripe/services/coupon_service.rb +0 -14
- data/lib/stripe/services/customer_service.rb +0 -15
- data/lib/stripe/services/dispute_service.rb +1 -1
- 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 -11
- 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 +0 -37
- data/lib/stripe/services/payment_method_service.rb +1 -1
- data/lib/stripe/services/payment_record_service.rb +11 -0
- 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 -11
- data/lib/stripe/services/subscription_service.rb +0 -56
- 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_service.rb +1 -3
- data/lib/stripe/services/v2_services.rb +1 -8
- data/lib/stripe/services.rb +0 -209
- 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/telemetry_id.rb +65 -0
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +2 -54
- data/rbi/stripe/resources/v2/core/event_notification.rbi +0 -3
- data/rbi/stripe/stripe_client.rbi +0 -13
- data/rbi/stripe.rbi +46727 -112851
- metadata +7 -380
- data/lib/stripe/events/v2_core_account_including_configuration_money_manager_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_money_manager_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_under_review_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_under_review_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_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_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_pause_params.rb +0 -50
- 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 -53
- 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/iam/activity_log_retrieve_params.rb +0 -10
- 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 -88
- 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 -144
- data/lib/stripe/resources/capital/financing_summary.rb +0 -84
- 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/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 -106
- data/lib/stripe/resources/quote_line.rb +0 -525
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -1183
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -736
- data/lib/stripe/resources/shared_payment/granted_token.rb +0 -1801
- 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 -486
- 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 -234
- 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 -211
- 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 -232
- 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 -102
- 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/data_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 -32
- 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 -594
|
@@ -105,8 +105,6 @@ module Stripe
|
|
|
105
105
|
attr_reader :name
|
|
106
106
|
# Internal-only description of the product sold or service provided by the business. It's used by Stripe for risk and underwriting purposes.
|
|
107
107
|
attr_reader :product_description
|
|
108
|
-
# A link to the business's publicly available terms related to the Specified Commercial Transaction Act. Only used for accounts in Japan.
|
|
109
|
-
attr_reader :specified_commercial_transactions_act_url
|
|
110
108
|
# A publicly available mailing address for sending support issues to.
|
|
111
109
|
attr_reader :support_address
|
|
112
110
|
# A publicly available email address for sending support issues to.
|
|
@@ -146,8 +144,6 @@ module Stripe
|
|
|
146
144
|
attr_reader :app_distribution
|
|
147
145
|
# The status of the BECS Direct Debit (AU) payments capability of the account, or whether the account can directly process BECS Direct Debit (AU) charges.
|
|
148
146
|
attr_reader :au_becs_debit_payments
|
|
149
|
-
# The status of the automatic_indirect_tax capability of the account.
|
|
150
|
-
attr_reader :automatic_indirect_tax
|
|
151
147
|
# The status of the Bacs Direct Debits payments capability of the account, or whether the account can directly process Bacs Direct Debits charges.
|
|
152
148
|
attr_reader :bacs_debit_payments
|
|
153
149
|
# The status of the Bancontact payments capability of the account, or whether the account can directly process Bancontact charges.
|
|
@@ -180,14 +176,8 @@ module Stripe
|
|
|
180
176
|
attr_reader :gb_bank_transfer_payments
|
|
181
177
|
# The status of the giropay payments capability of the account, or whether the account can directly process giropay charges.
|
|
182
178
|
attr_reader :giropay_payments
|
|
183
|
-
# The status of the Gopay capability of the account, or whether the account can directly process Gopay payments.
|
|
184
|
-
attr_reader :gopay_payments
|
|
185
179
|
# The status of the GrabPay payments capability of the account, or whether the account can directly process GrabPay charges.
|
|
186
180
|
attr_reader :grabpay_payments
|
|
187
|
-
# The status of the Indonesia Bank Transfer payments capability of the account, or whether the account can directly process Indonesia Bank Transfer charges.
|
|
188
|
-
attr_reader :id_bank_transfer_payments
|
|
189
|
-
# The status of Bank BCA onboarding of the account.
|
|
190
|
-
attr_reader :id_bank_transfer_payments_bca
|
|
191
181
|
# The status of the iDEAL payments capability of the account, or whether the account can directly process iDEAL charges.
|
|
192
182
|
attr_reader :ideal_payments
|
|
193
183
|
# The status of the india_international_payments capability of the account, or whether the account can process international charges (non INR) in India.
|
|
@@ -230,20 +220,12 @@ module Stripe
|
|
|
230
220
|
attr_reader :payco_payments
|
|
231
221
|
# The status of the paynow payments capability of the account, or whether the account can directly process paynow charges.
|
|
232
222
|
attr_reader :paynow_payments
|
|
233
|
-
# The status of the PayPal payments capability of the account, or whether the account can directly process PayPal charges.
|
|
234
|
-
attr_reader :paypal_payments
|
|
235
|
-
# The status of the Paypay capability of the account, or whether the account can directly process Paypay payments.
|
|
236
|
-
attr_reader :paypay_payments
|
|
237
223
|
# The status of the PayTo capability of the account, or whether the account can directly process PayTo charges.
|
|
238
224
|
attr_reader :payto_payments
|
|
239
225
|
# The status of the pix payments capability of the account, or whether the account can directly process pix charges.
|
|
240
226
|
attr_reader :pix_payments
|
|
241
227
|
# The status of the promptpay payments capability of the account, or whether the account can directly process promptpay charges.
|
|
242
228
|
attr_reader :promptpay_payments
|
|
243
|
-
# The status of the Qris capability of the account, or whether the account can directly process Qris payments.
|
|
244
|
-
attr_reader :qris_payments
|
|
245
|
-
# The status of the Rechnung capability of the account, or whether the account can directly process Rechnung payments.
|
|
246
|
-
attr_reader :rechnung_payments
|
|
247
229
|
# The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
|
|
248
230
|
attr_reader :revolut_pay_payments
|
|
249
231
|
# The status of the SamsungPay capability of the account, or whether the account can directly process SamsungPay payments.
|
|
@@ -256,12 +238,8 @@ module Stripe
|
|
|
256
238
|
attr_reader :sepa_bank_transfer_payments
|
|
257
239
|
# The status of the SEPA Direct Debits payments capability of the account, or whether the account can directly process SEPA Direct Debits charges.
|
|
258
240
|
attr_reader :sepa_debit_payments
|
|
259
|
-
# The status of the ShopeePay capability of the account, or whether the account can directly process ShopeePay payments.
|
|
260
|
-
attr_reader :shopeepay_payments
|
|
261
241
|
# The status of the Sofort payments capability of the account, or whether the account can directly process Sofort charges.
|
|
262
242
|
attr_reader :sofort_payments
|
|
263
|
-
# The status of the stripe_balance payments capability of the account, or whether the account can directly process stripe_balance charges.
|
|
264
|
-
attr_reader :stripe_balance_payments
|
|
265
243
|
# The status of the Sunbit capability of the account, or whether the account can directly process Sunbit payments.
|
|
266
244
|
attr_reader :sunbit_payments
|
|
267
245
|
# The status of the Swish capability of the account, or whether the account can directly process Swish payments.
|
|
@@ -274,12 +252,6 @@ module Stripe
|
|
|
274
252
|
attr_reader :transfers
|
|
275
253
|
# The status of the banking capability, or whether the account can have bank accounts.
|
|
276
254
|
attr_reader :treasury
|
|
277
|
-
# The status of the treasury_evolve capability of the account.
|
|
278
|
-
attr_reader :treasury_evolve
|
|
279
|
-
# The status of the treasury_fifth_third capability of the account.
|
|
280
|
-
attr_reader :treasury_fifth_third
|
|
281
|
-
# The status of the treasury_goldman_sachs capability of the account.
|
|
282
|
-
attr_reader :treasury_goldman_sachs
|
|
283
255
|
# The status of the TWINT capability of the account, or whether the account can directly process TWINT charges.
|
|
284
256
|
attr_reader :twint_payments
|
|
285
257
|
# The status of the upi payments capability of the account, or whether the account can directly process upi charges.
|
|
@@ -374,6 +346,29 @@ module Stripe
|
|
|
374
346
|
end
|
|
375
347
|
end
|
|
376
348
|
|
|
349
|
+
class AdministrativeAddress < ::Stripe::StripeObject
|
|
350
|
+
# City, district, suburb, town, or village.
|
|
351
|
+
attr_reader :city
|
|
352
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
353
|
+
attr_reader :country
|
|
354
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
355
|
+
attr_reader :line1
|
|
356
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
357
|
+
attr_reader :line2
|
|
358
|
+
# ZIP or postal code.
|
|
359
|
+
attr_reader :postal_code
|
|
360
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
361
|
+
attr_reader :state
|
|
362
|
+
|
|
363
|
+
def self.inner_class_types
|
|
364
|
+
@inner_class_types = {}
|
|
365
|
+
end
|
|
366
|
+
|
|
367
|
+
def self.field_remappings
|
|
368
|
+
@field_remappings = {}
|
|
369
|
+
end
|
|
370
|
+
end
|
|
371
|
+
|
|
377
372
|
class DirectorshipDeclaration < ::Stripe::StripeObject
|
|
378
373
|
# The Unix timestamp marking when the directorship declaration attestation was made.
|
|
379
374
|
attr_reader :date
|
|
@@ -408,6 +403,29 @@ module Stripe
|
|
|
408
403
|
end
|
|
409
404
|
end
|
|
410
405
|
|
|
406
|
+
class PrincipalPlaceOfBusiness < ::Stripe::StripeObject
|
|
407
|
+
# City, district, suburb, town, or village.
|
|
408
|
+
attr_reader :city
|
|
409
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
410
|
+
attr_reader :country
|
|
411
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
412
|
+
attr_reader :line1
|
|
413
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
414
|
+
attr_reader :line2
|
|
415
|
+
# ZIP or postal code.
|
|
416
|
+
attr_reader :postal_code
|
|
417
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
418
|
+
attr_reader :state
|
|
419
|
+
|
|
420
|
+
def self.inner_class_types
|
|
421
|
+
@inner_class_types = {}
|
|
422
|
+
end
|
|
423
|
+
|
|
424
|
+
def self.field_remappings
|
|
425
|
+
@field_remappings = {}
|
|
426
|
+
end
|
|
427
|
+
end
|
|
428
|
+
|
|
411
429
|
class RegistrationDate < ::Stripe::StripeObject
|
|
412
430
|
# The day of registration, between 1 and 31.
|
|
413
431
|
attr_reader :day
|
|
@@ -478,6 +496,8 @@ module Stripe
|
|
|
478
496
|
attr_reader :address_kana
|
|
479
497
|
# The Kanji variation of the company's primary address (Japan only).
|
|
480
498
|
attr_reader :address_kanji
|
|
499
|
+
# Attribute for field administrative_address
|
|
500
|
+
attr_reader :administrative_address
|
|
481
501
|
# Whether the company's directors have been provided. This Boolean will be `true` if you've manually indicated that all directors are provided via [the `directors_provided` parameter](https://docs.stripe.com/api/accounts/update#update_account-company-directors_provided).
|
|
482
502
|
attr_reader :directors_provided
|
|
483
503
|
# This hash is used to attest that the director information provided to Stripe is both current and correct.
|
|
@@ -502,6 +522,8 @@ module Stripe
|
|
|
502
522
|
attr_reader :ownership_exemption_reason
|
|
503
523
|
# The company's phone number (used for verification).
|
|
504
524
|
attr_reader :phone
|
|
525
|
+
# Attribute for field principal_place_of_business
|
|
526
|
+
attr_reader :principal_place_of_business
|
|
505
527
|
# Attribute for field registration_date
|
|
506
528
|
attr_reader :registration_date
|
|
507
529
|
# This hash is used to attest that the representative is authorized to act as the representative of their legal entity.
|
|
@@ -522,8 +544,10 @@ module Stripe
|
|
|
522
544
|
address: Address,
|
|
523
545
|
address_kana: AddressKana,
|
|
524
546
|
address_kanji: AddressKanji,
|
|
547
|
+
administrative_address: AdministrativeAddress,
|
|
525
548
|
directorship_declaration: DirectorshipDeclaration,
|
|
526
549
|
ownership_declaration: OwnershipDeclaration,
|
|
550
|
+
principal_place_of_business: PrincipalPlaceOfBusiness,
|
|
527
551
|
registration_date: RegistrationDate,
|
|
528
552
|
representative_declaration: RepresentativeDeclaration,
|
|
529
553
|
verification: Verification,
|
|
@@ -536,36 +560,6 @@ module Stripe
|
|
|
536
560
|
end
|
|
537
561
|
|
|
538
562
|
class Controller < ::Stripe::StripeObject
|
|
539
|
-
class Application < ::Stripe::StripeObject
|
|
540
|
-
# `true` if the Connect application is responsible for negative balances and should manage credit and fraud risk on the account.
|
|
541
|
-
attr_reader :loss_liable
|
|
542
|
-
# `true` if the Connect application is responsible for onboarding the account.
|
|
543
|
-
attr_reader :onboarding_owner
|
|
544
|
-
# `true` if the Connect application is responsible for paying Stripe fees on pricing-control eligible products.
|
|
545
|
-
attr_reader :pricing_controls
|
|
546
|
-
|
|
547
|
-
def self.inner_class_types
|
|
548
|
-
@inner_class_types = {}
|
|
549
|
-
end
|
|
550
|
-
|
|
551
|
-
def self.field_remappings
|
|
552
|
-
@field_remappings = {}
|
|
553
|
-
end
|
|
554
|
-
end
|
|
555
|
-
|
|
556
|
-
class Dashboard < ::Stripe::StripeObject
|
|
557
|
-
# Whether this account has access to the full Stripe dashboard (`full`), to the Express dashboard (`express`), or to no dashboard (`none`).
|
|
558
|
-
attr_reader :type
|
|
559
|
-
|
|
560
|
-
def self.inner_class_types
|
|
561
|
-
@inner_class_types = {}
|
|
562
|
-
end
|
|
563
|
-
|
|
564
|
-
def self.field_remappings
|
|
565
|
-
@field_remappings = {}
|
|
566
|
-
end
|
|
567
|
-
end
|
|
568
|
-
|
|
569
563
|
class Fees < ::Stripe::StripeObject
|
|
570
564
|
# A value indicating the responsible payer of a bundle of Stripe fees for pricing-control eligible products on this account. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
|
|
571
565
|
attr_reader :payer
|
|
@@ -604,10 +598,6 @@ module Stripe
|
|
|
604
598
|
@field_remappings = {}
|
|
605
599
|
end
|
|
606
600
|
end
|
|
607
|
-
# Attribute for field application
|
|
608
|
-
attr_reader :application
|
|
609
|
-
# Attribute for field dashboard
|
|
610
|
-
attr_reader :dashboard
|
|
611
601
|
# Attribute for field fees
|
|
612
602
|
attr_reader :fees
|
|
613
603
|
# `true` if the Connect application retrieving the resource controls the account and can therefore exercise [platform controls](https://docs.stripe.com/connect/platform-controls-for-standard-accounts). Otherwise, this field is null.
|
|
@@ -622,13 +612,7 @@ module Stripe
|
|
|
622
612
|
attr_reader :type
|
|
623
613
|
|
|
624
614
|
def self.inner_class_types
|
|
625
|
-
@inner_class_types = {
|
|
626
|
-
application: Application,
|
|
627
|
-
dashboard: Dashboard,
|
|
628
|
-
fees: Fees,
|
|
629
|
-
losses: Losses,
|
|
630
|
-
stripe_dashboard: StripeDashboard,
|
|
631
|
-
}
|
|
615
|
+
@inner_class_types = { fees: Fees, losses: Losses, stripe_dashboard: StripeDashboard }
|
|
632
616
|
end
|
|
633
617
|
|
|
634
618
|
def self.field_remappings
|
|
@@ -676,7 +660,7 @@ module Stripe
|
|
|
676
660
|
attr_reader :currently_due
|
|
677
661
|
# This is typed as an enum for consistency with `requirements.disabled_reason`.
|
|
678
662
|
attr_reader :disabled_reason
|
|
679
|
-
#
|
|
663
|
+
# Fields that are `currently_due` and need to be collected again because validation or verification failed.
|
|
680
664
|
attr_reader :errors
|
|
681
665
|
# Fields you must collect when all thresholds are reached. As they become required, they appear in `currently_due` as well.
|
|
682
666
|
attr_reader :eventually_due
|
|
@@ -743,11 +727,11 @@ module Stripe
|
|
|
743
727
|
attr_reader :alternatives
|
|
744
728
|
# Date by which the fields in `currently_due` must be collected to keep the account enabled. These fields may disable the account sooner if the next threshold is reached before they are collected.
|
|
745
729
|
attr_reader :current_deadline
|
|
746
|
-
# Fields that need to be resolved to keep the account enabled. If not resolved by `current_deadline`, these fields will appear in `past_due` as well, and the account
|
|
730
|
+
# Fields that need to be resolved to keep the account enabled. If not resolved by `current_deadline`, these fields will appear in `past_due` as well, and the account will be disabled.
|
|
747
731
|
attr_reader :currently_due
|
|
748
732
|
# If the account is disabled, this enum describes why. [Learn more about handling verification issues](https://docs.stripe.com/connect/handling-api-verification).
|
|
749
733
|
attr_reader :disabled_reason
|
|
750
|
-
#
|
|
734
|
+
# Fields that are `currently_due` and need to be collected again because validation or verification failed.
|
|
751
735
|
attr_reader :errors
|
|
752
736
|
# Fields you must collect when all thresholds are reached. As they become required, they appear in `currently_due` as well, and `current_deadline` becomes set.
|
|
753
737
|
attr_reader :eventually_due
|
|
@@ -765,48 +749,6 @@ module Stripe
|
|
|
765
749
|
end
|
|
766
750
|
end
|
|
767
751
|
|
|
768
|
-
class RiskControls < ::Stripe::StripeObject
|
|
769
|
-
class Charges < ::Stripe::StripeObject
|
|
770
|
-
# Whether a pause of the risk control has been requested.
|
|
771
|
-
attr_reader :pause_requested
|
|
772
|
-
|
|
773
|
-
def self.inner_class_types
|
|
774
|
-
@inner_class_types = {}
|
|
775
|
-
end
|
|
776
|
-
|
|
777
|
-
def self.field_remappings
|
|
778
|
-
@field_remappings = {}
|
|
779
|
-
end
|
|
780
|
-
end
|
|
781
|
-
|
|
782
|
-
class Payouts < ::Stripe::StripeObject
|
|
783
|
-
# Whether a pause of the risk control has been requested.
|
|
784
|
-
attr_reader :pause_requested
|
|
785
|
-
|
|
786
|
-
def self.inner_class_types
|
|
787
|
-
@inner_class_types = {}
|
|
788
|
-
end
|
|
789
|
-
|
|
790
|
-
def self.field_remappings
|
|
791
|
-
@field_remappings = {}
|
|
792
|
-
end
|
|
793
|
-
end
|
|
794
|
-
# Attribute for field charges
|
|
795
|
-
attr_reader :charges
|
|
796
|
-
# Attribute for field payouts
|
|
797
|
-
attr_reader :payouts
|
|
798
|
-
# Represents the rejected reason of the account. Empty if account is not rejected, or rejected by Stripe. Please see [this page for more details](https://docs.stripe.com/connect/)
|
|
799
|
-
attr_reader :rejected_reason
|
|
800
|
-
|
|
801
|
-
def self.inner_class_types
|
|
802
|
-
@inner_class_types = { charges: Charges, payouts: Payouts }
|
|
803
|
-
end
|
|
804
|
-
|
|
805
|
-
def self.field_remappings
|
|
806
|
-
@field_remappings = {}
|
|
807
|
-
end
|
|
808
|
-
end
|
|
809
|
-
|
|
810
752
|
class Settings < ::Stripe::StripeObject
|
|
811
753
|
class BacsDebitPayments < ::Stripe::StripeObject
|
|
812
754
|
# The Bacs Direct Debit display name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. The fee appears 5 business days after requesting Bacs. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free.
|
|
@@ -823,21 +765,6 @@ module Stripe
|
|
|
823
765
|
end
|
|
824
766
|
end
|
|
825
767
|
|
|
826
|
-
class BankBcaOnboarding < ::Stripe::StripeObject
|
|
827
|
-
# Bank BCA business account holder name.
|
|
828
|
-
attr_reader :account_holder_name
|
|
829
|
-
# Bank BCA business account number.
|
|
830
|
-
attr_reader :business_account_number
|
|
831
|
-
|
|
832
|
-
def self.inner_class_types
|
|
833
|
-
@inner_class_types = {}
|
|
834
|
-
end
|
|
835
|
-
|
|
836
|
-
def self.field_remappings
|
|
837
|
-
@field_remappings = {}
|
|
838
|
-
end
|
|
839
|
-
end
|
|
840
|
-
|
|
841
768
|
class Branding < ::Stripe::StripeObject
|
|
842
769
|
# (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.
|
|
843
770
|
attr_reader :icon
|
|
@@ -950,8 +877,6 @@ module Stripe
|
|
|
950
877
|
end
|
|
951
878
|
|
|
952
879
|
class Payments < ::Stripe::StripeObject
|
|
953
|
-
# When enabled, the customer of this Account will receive an email receipt when their payment is successful. If this parameter is not set, the default value is `false`.
|
|
954
|
-
attr_reader :email_customers_on_successful_payment
|
|
955
880
|
# 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.
|
|
956
881
|
attr_reader :statement_descriptor
|
|
957
882
|
# 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).
|
|
@@ -1011,82 +936,6 @@ module Stripe
|
|
|
1011
936
|
end
|
|
1012
937
|
end
|
|
1013
938
|
|
|
1014
|
-
class PaypayPayments < ::Stripe::StripeObject
|
|
1015
|
-
class Site < ::Stripe::StripeObject
|
|
1016
|
-
class Accessible < ::Stripe::StripeObject
|
|
1017
|
-
def self.inner_class_types
|
|
1018
|
-
@inner_class_types = {}
|
|
1019
|
-
end
|
|
1020
|
-
|
|
1021
|
-
def self.field_remappings
|
|
1022
|
-
@field_remappings = {}
|
|
1023
|
-
end
|
|
1024
|
-
end
|
|
1025
|
-
|
|
1026
|
-
class InDevelopment < ::Stripe::StripeObject
|
|
1027
|
-
# Field to indicate that the website password has been provided.
|
|
1028
|
-
attr_reader :password_provided
|
|
1029
|
-
# The username needed to access your business's website.
|
|
1030
|
-
attr_reader :username
|
|
1031
|
-
|
|
1032
|
-
def self.inner_class_types
|
|
1033
|
-
@inner_class_types = {}
|
|
1034
|
-
end
|
|
1035
|
-
|
|
1036
|
-
def self.field_remappings
|
|
1037
|
-
@field_remappings = {}
|
|
1038
|
-
end
|
|
1039
|
-
end
|
|
1040
|
-
|
|
1041
|
-
class Restricted < ::Stripe::StripeObject
|
|
1042
|
-
# File explaining the payment flow for your business.
|
|
1043
|
-
attr_reader :payment_flow_file
|
|
1044
|
-
|
|
1045
|
-
def self.inner_class_types
|
|
1046
|
-
@inner_class_types = {}
|
|
1047
|
-
end
|
|
1048
|
-
|
|
1049
|
-
def self.field_remappings
|
|
1050
|
-
@field_remappings = {}
|
|
1051
|
-
end
|
|
1052
|
-
end
|
|
1053
|
-
# Attribute for field accessible
|
|
1054
|
-
attr_reader :accessible
|
|
1055
|
-
# Attribute for field in_development
|
|
1056
|
-
attr_reader :in_development
|
|
1057
|
-
# Attribute for field restricted
|
|
1058
|
-
attr_reader :restricted
|
|
1059
|
-
# The status of your business's website.
|
|
1060
|
-
attr_reader :type
|
|
1061
|
-
|
|
1062
|
-
def self.inner_class_types
|
|
1063
|
-
@inner_class_types = {
|
|
1064
|
-
accessible: Accessible,
|
|
1065
|
-
in_development: InDevelopment,
|
|
1066
|
-
restricted: Restricted,
|
|
1067
|
-
}
|
|
1068
|
-
end
|
|
1069
|
-
|
|
1070
|
-
def self.field_remappings
|
|
1071
|
-
@field_remappings = {}
|
|
1072
|
-
end
|
|
1073
|
-
end
|
|
1074
|
-
# Additional files that are required to support the onboarding process of your business.
|
|
1075
|
-
attr_reader :additional_files
|
|
1076
|
-
# The type of goods your business sells. Use `digital_content` if you sell digital content. Use `other` for all other types of goods or services.
|
|
1077
|
-
attr_reader :goods_type
|
|
1078
|
-
# Attribute for field site
|
|
1079
|
-
attr_reader :site
|
|
1080
|
-
|
|
1081
|
-
def self.inner_class_types
|
|
1082
|
-
@inner_class_types = { site: Site }
|
|
1083
|
-
end
|
|
1084
|
-
|
|
1085
|
-
def self.field_remappings
|
|
1086
|
-
@field_remappings = {}
|
|
1087
|
-
end
|
|
1088
|
-
end
|
|
1089
|
-
|
|
1090
939
|
class SepaDebitPayments < ::Stripe::StripeObject
|
|
1091
940
|
# SEPA creditor identifier that identifies the company making the payment.
|
|
1092
941
|
attr_reader :creditor_id
|
|
@@ -1100,46 +949,6 @@ module Stripe
|
|
|
1100
949
|
end
|
|
1101
950
|
end
|
|
1102
951
|
|
|
1103
|
-
class SmartDisputes < ::Stripe::StripeObject
|
|
1104
|
-
class AutoRespond < ::Stripe::StripeObject
|
|
1105
|
-
# The preference setting for auto-respond. Can be 'on', 'off', or 'inherit'.
|
|
1106
|
-
attr_reader :preference
|
|
1107
|
-
# The effective value for auto-respond. Can be 'on' or 'off'.
|
|
1108
|
-
attr_reader :value
|
|
1109
|
-
|
|
1110
|
-
def self.inner_class_types
|
|
1111
|
-
@inner_class_types = {}
|
|
1112
|
-
end
|
|
1113
|
-
|
|
1114
|
-
def self.field_remappings
|
|
1115
|
-
@field_remappings = {}
|
|
1116
|
-
end
|
|
1117
|
-
end
|
|
1118
|
-
# Attribute for field auto_respond
|
|
1119
|
-
attr_reader :auto_respond
|
|
1120
|
-
|
|
1121
|
-
def self.inner_class_types
|
|
1122
|
-
@inner_class_types = { auto_respond: AutoRespond }
|
|
1123
|
-
end
|
|
1124
|
-
|
|
1125
|
-
def self.field_remappings
|
|
1126
|
-
@field_remappings = {}
|
|
1127
|
-
end
|
|
1128
|
-
end
|
|
1129
|
-
|
|
1130
|
-
class TaxForms < ::Stripe::StripeObject
|
|
1131
|
-
# Whether the account opted out of receiving their tax forms by postal delivery.
|
|
1132
|
-
attr_reader :consented_to_paperless_delivery
|
|
1133
|
-
|
|
1134
|
-
def self.inner_class_types
|
|
1135
|
-
@inner_class_types = {}
|
|
1136
|
-
end
|
|
1137
|
-
|
|
1138
|
-
def self.field_remappings
|
|
1139
|
-
@field_remappings = {}
|
|
1140
|
-
end
|
|
1141
|
-
end
|
|
1142
|
-
|
|
1143
952
|
class Treasury < ::Stripe::StripeObject
|
|
1144
953
|
class TosAcceptance < ::Stripe::StripeObject
|
|
1145
954
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
|
@@ -1170,8 +979,6 @@ module Stripe
|
|
|
1170
979
|
end
|
|
1171
980
|
# Attribute for field bacs_debit_payments
|
|
1172
981
|
attr_reader :bacs_debit_payments
|
|
1173
|
-
# Attribute for field bank_bca_onboarding
|
|
1174
|
-
attr_reader :bank_bca_onboarding
|
|
1175
982
|
# Attribute for field branding
|
|
1176
983
|
attr_reader :branding
|
|
1177
984
|
# Attribute for field card_issuing
|
|
@@ -1186,21 +993,14 @@ module Stripe
|
|
|
1186
993
|
attr_reader :payments
|
|
1187
994
|
# Attribute for field payouts
|
|
1188
995
|
attr_reader :payouts
|
|
1189
|
-
# Attribute for field paypay_payments
|
|
1190
|
-
attr_reader :paypay_payments
|
|
1191
996
|
# Attribute for field sepa_debit_payments
|
|
1192
997
|
attr_reader :sepa_debit_payments
|
|
1193
|
-
# Attribute for field smart_disputes
|
|
1194
|
-
attr_reader :smart_disputes
|
|
1195
|
-
# Attribute for field tax_forms
|
|
1196
|
-
attr_reader :tax_forms
|
|
1197
998
|
# Attribute for field treasury
|
|
1198
999
|
attr_reader :treasury
|
|
1199
1000
|
|
|
1200
1001
|
def self.inner_class_types
|
|
1201
1002
|
@inner_class_types = {
|
|
1202
1003
|
bacs_debit_payments: BacsDebitPayments,
|
|
1203
|
-
bank_bca_onboarding: BankBcaOnboarding,
|
|
1204
1004
|
branding: Branding,
|
|
1205
1005
|
card_issuing: CardIssuing,
|
|
1206
1006
|
card_payments: CardPayments,
|
|
@@ -1208,10 +1008,7 @@ module Stripe
|
|
|
1208
1008
|
invoices: Invoices,
|
|
1209
1009
|
payments: Payments,
|
|
1210
1010
|
payouts: Payouts,
|
|
1211
|
-
paypay_payments: PaypayPayments,
|
|
1212
1011
|
sepa_debit_payments: SepaDebitPayments,
|
|
1213
|
-
smart_disputes: SmartDisputes,
|
|
1214
|
-
tax_forms: TaxForms,
|
|
1215
1012
|
treasury: Treasury,
|
|
1216
1013
|
}
|
|
1217
1014
|
end
|
|
@@ -1285,8 +1082,6 @@ module Stripe
|
|
|
1285
1082
|
attr_reader :payouts_enabled
|
|
1286
1083
|
# Attribute for field requirements
|
|
1287
1084
|
attr_reader :requirements
|
|
1288
|
-
# Attribute for field risk_controls
|
|
1289
|
-
attr_reader :risk_controls
|
|
1290
1085
|
# Options for customizing how the account functions within Stripe.
|
|
1291
1086
|
attr_reader :settings
|
|
1292
1087
|
# Attribute for field tos_acceptance
|
|
@@ -1297,7 +1092,7 @@ module Stripe
|
|
|
1297
1092
|
# With [Connect](https://docs.stripe.com/docs/connect), you can create Stripe accounts for your users.
|
|
1298
1093
|
# To do this, you'll first need to [register your platform](https://dashboard.stripe.com/account/applications/settings).
|
|
1299
1094
|
#
|
|
1300
|
-
# If you've already collected information for your connected accounts, you [can prefill that information](https://docs.stripe.com/
|
|
1095
|
+
# If you've already collected information for your connected accounts, you [can prefill that information](https://docs.stripe.com/connect/marketplace/tasks/create#prefill-account-information) when
|
|
1301
1096
|
# creating the account. Connect Onboarding won't ask for the prefilled information during account onboarding.
|
|
1302
1097
|
# You can prefill any information on the account.
|
|
1303
1098
|
def self.create(params = {}, opts = {})
|
|
@@ -1363,7 +1158,7 @@ module Stripe
|
|
|
1363
1158
|
|
|
1364
1159
|
# With [Connect](https://docs.stripe.com/connect), you can reject accounts that you have flagged as suspicious.
|
|
1365
1160
|
#
|
|
1366
|
-
# Only accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be rejected.
|
|
1161
|
+
# Only accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be rejected.
|
|
1367
1162
|
def reject(params = {}, opts = {})
|
|
1368
1163
|
request_stripe_object(
|
|
1369
1164
|
method: :post,
|
|
@@ -1375,7 +1170,7 @@ module Stripe
|
|
|
1375
1170
|
|
|
1376
1171
|
# With [Connect](https://docs.stripe.com/connect), you can reject accounts that you have flagged as suspicious.
|
|
1377
1172
|
#
|
|
1378
|
-
# Only accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be rejected.
|
|
1173
|
+
# Only accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be rejected.
|
|
1379
1174
|
def self.reject(account, params = {}, opts = {})
|
|
1380
1175
|
request_stripe_object(
|
|
1381
1176
|
method: :post,
|
|
@@ -1385,6 +1180,34 @@ module Stripe
|
|
|
1385
1180
|
)
|
|
1386
1181
|
end
|
|
1387
1182
|
|
|
1183
|
+
# With Connect, you can unreject accounts that you have previously rejected.
|
|
1184
|
+
#
|
|
1185
|
+
# Only accounts that were rejected by your platform can be unrejected. This API cannot be used to unreject accounts that were rejected by Stripe.
|
|
1186
|
+
#
|
|
1187
|
+
# Unreject will only enable charges and/or payouts if there are no other restrictions other than those placed by a previous rejection. If you have separately paused charges and/or payouts outside of rejection, those pauses will remain in place after unrejection.
|
|
1188
|
+
def unreject(params = {}, opts = {})
|
|
1189
|
+
request_stripe_object(
|
|
1190
|
+
method: :post,
|
|
1191
|
+
path: format("/v1/accounts/%<account>s/unreject", { account: CGI.escape(self["id"]) }),
|
|
1192
|
+
params: params,
|
|
1193
|
+
opts: opts
|
|
1194
|
+
)
|
|
1195
|
+
end
|
|
1196
|
+
|
|
1197
|
+
# With Connect, you can unreject accounts that you have previously rejected.
|
|
1198
|
+
#
|
|
1199
|
+
# Only accounts that were rejected by your platform can be unrejected. This API cannot be used to unreject accounts that were rejected by Stripe.
|
|
1200
|
+
#
|
|
1201
|
+
# Unreject will only enable charges and/or payouts if there are no other restrictions other than those placed by a previous rejection. If you have separately paused charges and/or payouts outside of rejection, those pauses will remain in place after unrejection.
|
|
1202
|
+
def self.unreject(account, params = {}, opts = {})
|
|
1203
|
+
request_stripe_object(
|
|
1204
|
+
method: :post,
|
|
1205
|
+
path: format("/v1/accounts/%<account>s/unreject", { account: CGI.escape(account) }),
|
|
1206
|
+
params: params,
|
|
1207
|
+
opts: opts
|
|
1208
|
+
)
|
|
1209
|
+
end
|
|
1210
|
+
|
|
1388
1211
|
# Updates a [connected account](https://docs.stripe.com/connect/accounts) by setting the values of the parameters passed. Any parameters not provided are
|
|
1389
1212
|
# left unchanged.
|
|
1390
1213
|
#
|
|
@@ -1540,7 +1363,6 @@ module Stripe
|
|
|
1540
1363
|
future_requirements: FutureRequirements,
|
|
1541
1364
|
groups: Groups,
|
|
1542
1365
|
requirements: Requirements,
|
|
1543
|
-
risk_controls: RiskControls,
|
|
1544
1366
|
settings: Settings,
|
|
1545
1367
|
tos_acceptance: TosAcceptance,
|
|
1546
1368
|
}
|