stripe 20.2.0.pre.beta.1 → 21.1.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_operations/request.rb +18 -7
- data/lib/stripe/api_operations/save.rb +4 -4
- data/lib/stripe/api_requestor.rb +55 -38
- data/lib/stripe/api_resource.rb +1 -2
- data/lib/stripe/api_version.rb +2 -2
- data/lib/stripe/connection_manager.rb +3 -0
- data/lib/stripe/errors.rb +0 -6
- data/lib/stripe/event_types.rb +20 -193
- data/lib/stripe/events/unknown_event_notification.rb +0 -1
- data/lib/stripe/events/v2_core_account_closed_event.rb +2 -2
- data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +2 -2
- data/lib/stripe/events/{v2_data_reporting_query_run_failed_event.rb → v2_core_claimable_sandbox_claimed_event.rb} +7 -7
- data/lib/stripe/events/{v2_money_management_outbound_transfer_created_event.rb → v2_core_claimable_sandbox_created_event.rb} +7 -7
- data/lib/stripe/events/{v2_core_approval_request_rejected_event.rb → v2_core_claimable_sandbox_expired_event.rb} +7 -7
- data/lib/stripe/events/{v2_core_batch_job_validation_failed_event.rb → v2_core_claimable_sandbox_expiring_event.rb} +7 -7
- data/lib/stripe/events/{v2_core_approval_request_approved_event.rb → v2_core_claimable_sandbox_updated_event.rb} +7 -7
- data/lib/stripe/object_types.rb +1 -53
- data/lib/stripe/params/account_create_params.rb +1 -299
- data/lib/stripe/params/account_session_create_params.rb +0 -191
- data/lib/stripe/params/account_update_params.rb +0 -261
- data/lib/stripe/params/balance_settings_update_params.rb +1 -9
- 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 +11 -88
- data/lib/stripe/params/checkout/session_update_params.rb +1 -161
- data/lib/stripe/params/confirmation_token_create_params.rb +0 -92
- data/lib/stripe/params/coupon_create_params.rb +2 -18
- data/lib/stripe/params/customer_session_create_params.rb +1 -32
- data/lib/stripe/params/financial_connections/session_create_params.rb +2 -39
- data/lib/stripe/params/invoice_add_lines_params.rb +1 -33
- data/lib/stripe/params/invoice_attach_payment_params.rb +1 -43
- data/lib/stripe/params/invoice_create_params.rb +2 -64
- data/lib/stripe/params/invoice_create_preview_params.rb +9 -772
- data/lib/stripe/params/invoice_item_create_params.rb +2 -34
- data/lib/stripe/params/invoice_item_update_params.rb +1 -33
- data/lib/stripe/params/invoice_line_item_update_params.rb +1 -33
- data/lib/stripe/params/invoice_update_lines_params.rb +1 -33
- data/lib/stripe/params/invoice_update_params.rb +2 -64
- data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
- data/lib/stripe/params/issuing/cardholder_update_params.rb +0 -4
- data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
- data/lib/stripe/params/payment_intent_capture_params.rb +1 -981
- data/lib/stripe/params/payment_intent_confirm_params.rb +147 -2438
- data/lib/stripe/params/payment_intent_create_params.rb +148 -2439
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +0 -37
- data/lib/stripe/params/payment_intent_update_params.rb +149 -2471
- data/lib/stripe/params/payment_link_update_params.rb +4 -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 -88
- data/lib/stripe/params/price_update_params.rb +0 -19
- data/lib/stripe/params/product_create_params.rb +4 -1
- data/lib/stripe/params/product_update_params.rb +4 -1
- data/lib/stripe/params/quote_create_params.rb +4 -810
- data/lib/stripe/params/quote_list_params.rb +0 -4
- data/lib/stripe/params/quote_update_params.rb +5 -818
- data/lib/stripe/params/reporting/report_run_create_params.rb +4 -0
- data/lib/stripe/params/setup_intent_confirm_params.rb +3 -122
- data/lib/stripe/params/setup_intent_create_params.rb +3 -122
- data/lib/stripe/params/setup_intent_update_params.rb +3 -122
- data/lib/stripe/params/subscription_create_params.rb +6 -133
- data/lib/stripe/params/subscription_item_create_params.rb +3 -50
- data/lib/stripe/params/subscription_item_update_params.rb +2 -33
- data/lib/stripe/params/subscription_schedule_create_params.rb +5 -167
- data/lib/stripe/params/subscription_schedule_update_params.rb +5 -167
- data/lib/stripe/params/subscription_update_params.rb +5 -116
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +0 -92
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.rb +23 -1
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_return_inbound_transfer_params.rb +34 -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/inbound_transfer_fail_params.rb +23 -1
- data/lib/stripe/params/treasury/inbound_transfer_return_inbound_transfer_params.rb +34 -1
- data/lib/stripe/params/treasury/outbound_payment_create_params.rb +0 -19
- 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 +143 -396
- data/lib/stripe/params/v2/core/account_link_create_params.rb +19 -1
- data/lib/stripe/params/v2/core/account_token_create_params.rb +1 -29
- data/lib/stripe/params/v2/core/account_update_params.rb +142 -380
- data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +63 -0
- data/lib/stripe/params/v2/core/claimable_sandbox_renew_onboarding_link_params.rb +32 -0
- data/lib/stripe/params/v2/{billing/cadence_retrieve_params.rb → core/claimable_sandbox_retrieve_params.rb} +3 -3
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -21
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +1 -1
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +2 -2
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -21
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +1 -40
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +1 -22
- data/lib/stripe/params.rb +7 -364
- data/lib/stripe/request_options.rb +37 -2
- data/lib/stripe/resources/account.rb +1 -176
- data/lib/stripe/resources/account_session.rb +0 -81
- data/lib/stripe/resources/apps/install.rb +2 -2
- data/lib/stripe/resources/balance.rb +0 -83
- data/lib/stripe/resources/balance_settings.rb +0 -4
- data/lib/stripe/resources/balance_transaction.rb +1 -1
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -4
- data/lib/stripe/resources/card.rb +1 -18
- data/lib/stripe/resources/charge.rb +275 -232
- data/lib/stripe/resources/checkout/session.rb +7 -91
- data/lib/stripe/resources/confirmation_token.rb +2 -133
- data/lib/stripe/resources/coupon.rb +7 -29
- 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 +1 -19
- data/lib/stripe/resources/event.rb +3 -66
- 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 +0 -92
- data/lib/stripe/resources/invoice.rb +1 -106
- 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 +1 -17
- 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 +0 -18
- 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 +5 -178
- data/lib/stripe/resources/payment_intent.rb +17 -1022
- data/lib/stripe/resources/payment_method.rb +2 -153
- data/lib/stripe/resources/payment_method_configuration.rb +0 -170
- data/lib/stripe/resources/payment_record.rb +5 -178
- data/lib/stripe/resources/price.rb +0 -20
- data/lib/stripe/resources/product.rb +2 -0
- data/lib/stripe/resources/quote.rb +2 -569
- data/lib/stripe/resources/radar/payment_evaluation.rb +1 -1
- data/lib/stripe/resources/radar/value_list_item.rb +1 -15
- data/lib/stripe/resources/refund.rb +38 -18
- data/lib/stripe/resources/reporting/report_run.rb +2 -0
- data/lib/stripe/resources/reserve/hold.rb +1 -8
- data/lib/stripe/resources/reserve/plan.rb +0 -7
- data/lib/stripe/resources/reserve/release.rb +0 -12
- data/lib/stripe/resources/setup_attempt.rb +2 -37
- data/lib/stripe/resources/setup_intent.rb +2 -39
- data/lib/stripe/resources/source.rb +0 -54
- data/lib/stripe/resources/subscription.rb +0 -73
- data/lib/stripe/resources/subscription_item.rb +1 -22
- data/lib/stripe/resources/subscription_schedule.rb +3 -198
- data/lib/stripe/resources/terminal/reader.rb +0 -8
- data/lib/stripe/resources/token.rb +1 -15
- 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/inbound_transfer.rb +35 -7
- data/lib/stripe/resources/treasury/outbound_payment.rb +37 -11
- data/lib/stripe/resources/treasury/outbound_transfer.rb +30 -32
- data/lib/stripe/resources/treasury/received_credit.rb +1 -31
- data/lib/stripe/resources/treasury/received_debit.rb +1 -33
- data/lib/stripe/resources/v2/core/account.rb +293 -850
- data/lib/stripe/resources/v2/core/account_link.rb +18 -1
- data/lib/stripe/resources/v2/core/account_person_token.rb +2 -0
- data/lib/stripe/resources/v2/core/account_token.rb +3 -1
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +269 -0
- data/lib/stripe/resources/v2/core/event.rb +1 -1
- data/lib/stripe/resources/v2/core/event_base.rb +19 -0
- data/lib/stripe/resources/v2/core/event_notification.rb +32 -1
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +1 -91
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +1 -26
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -4
- data/lib/stripe/resources/v2/money_management/financial_account.rb +1 -50
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -2
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +1 -63
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +1 -31
- data/lib/stripe/resources/v2/money_management/payout_method.rb +1 -50
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -2
- data/lib/stripe/resources/v2/money_management/recipient_verification.rb +0 -2
- data/lib/stripe/resources.rb +19 -341
- data/lib/stripe/services/account_service.rb +0 -15
- data/lib/stripe/services/apps/install_service.rb +2 -2
- data/lib/stripe/services/billing_service.rb +1 -2
- data/lib/stripe/services/checkout/session_service.rb +2 -0
- data/lib/stripe/services/coupon_service.rb +0 -14
- data/lib/stripe/services/customer_service.rb +0 -15
- data/lib/stripe/services/event_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/promotion_code_service.rb +0 -29
- data/lib/stripe/services/quote_service.rb +1 -49
- data/lib/stripe/services/radar_service.rb +1 -2
- data/lib/stripe/services/subscription_schedule_service.rb +0 -11
- data/lib/stripe/services/subscription_service.rb +0 -45
- data/lib/stripe/services/tax_service.rb +1 -2
- data/lib/stripe/services/terminal_service.rb +1 -2
- data/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +3 -3
- data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +4 -4
- data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +4 -4
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +1 -1
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +1 -1
- 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_link_service.rb +1 -1
- data/lib/stripe/services/v2/core/account_token_service.rb +2 -2
- data/lib/stripe/services/v2/core/accounts/person_token_service.rb +2 -1
- data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +49 -0
- data/lib/stripe/services/v2/core_service.rb +2 -3
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -27
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -15
- data/lib/stripe/services/v2/money_management/test_helpers/financial_address_service.rb +0 -13
- data/lib/stripe/services/v2/money_management_service.rb +1 -5
- data/lib/stripe/services/v2_services.rb +1 -7
- data/lib/stripe/services.rb +2 -181
- data/lib/stripe/stripe_client.rb +7 -4
- data/lib/stripe/stripe_configuration.rb +10 -5
- data/lib/stripe/stripe_event_notification_handler.rb +16 -206
- data/lib/stripe/stripe_object.rb +82 -10
- data/lib/stripe/stripe_service.rb +13 -9
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe/webhook.rb +68 -3
- data/lib/stripe.rb +0 -53
- data/rbi/stripe/resources/v2/core/event_base.rbi +11 -0
- data/rbi/stripe/resources/v2/core/event_notification.rbi +0 -2
- data/rbi/stripe.rbi +63009 -123066
- metadata +16 -332
- 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_approval_request_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_created_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_expired_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_failed_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_succeeded_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_health_event_generation_failure_resolved_event.rb +0 -78
- data/lib/stripe/events/v2_data_query_run_created_event.rb +0 -44
- data/lib/stripe/events/v2_data_query_run_failed_event.rb +0 -44
- data/lib/stripe/events/v2_data_query_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_data_query_run_updated_event.rb +0 -44
- data/lib/stripe/events/v2_data_report_run_created_event.rb +0 -44
- data/lib/stripe/events/v2_data_report_run_failed_event.rb +0 -44
- data/lib/stripe/events/v2_data_report_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_data_report_run_updated_event.rb +0 -44
- data/lib/stripe/events/v2_data_reporting_query_run_created_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_outbound_transfer_canceled_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_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_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/events/v2_signals_account_evaluation_complete_event.rb +0 -44
- data/lib/stripe/events/v2_signals_account_signal_fraudulent_merchant_ready_event.rb +0 -44
- data/lib/stripe/events/v2_signals_account_signal_fraudulent_website_ready_event.rb +0 -44
- 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/payment_plan_create_params.rb +0 -128
- data/lib/stripe/params/payment_plan_list_params.rb +0 -25
- data/lib/stripe/params/payment_plan_retrieve_params.rb +0 -13
- data/lib/stripe/params/payment_plan_update_params.rb +0 -105
- 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/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/radar/billing_evaluation_create_params.rb +0 -231
- 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_list_params.rb +0 -37
- 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 -71
- 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/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_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/approval_request_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/core/approval_request_list_params.rb +0 -47
- data/lib/stripe/params/v2/core/approval_request_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/core/approval_request_update_params.rb +0 -17
- 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/data/query_run_create_params.rb +0 -50
- data/lib/stripe/params/v2/data/query_run_retrieve_params.rb +0 -23
- data/lib/stripe/params/v2/data/report_list_params.rb +0 -23
- data/lib/stripe/params/v2/data/report_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/data/report_run_create_params.rb +0 -48
- data/lib/stripe/params/v2/data/report_run_retrieve_params.rb +0 -23
- 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/data/schema_list_params.rb +0 -26
- data/lib/stripe/params/v2/data/schema_retrieve_params.rb +0 -10
- 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/financial_account_close_params.rb +0 -30
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -35
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -113
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
- 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 -112
- 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_disable_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/test_helpers/financial_address_generate_microdeposits_params.rb +0 -12
- 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/signals/account_activity_create_params.rb +0 -200
- data/lib/stripe/params/v2/signals/account_activity_delete_params.rb +0 -10
- data/lib/stripe/params/v2/signals/account_activity_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/signals/account_evaluation_create_params.rb +0 -192
- data/lib/stripe/params/v2/signals/account_evaluation_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/signals/account_signal_list_params.rb +0 -35
- data/lib/stripe/params/v2/signals/account_signal_retrieve_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 -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/institution.rb +0 -127
- data/lib/stripe/resources/fx_quote.rb +0 -149
- 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/payment_plan.rb +0 -213
- 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/quote_line.rb +0 -525
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -1241
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -968
- data/lib/stripe/resources/radar/billing_evaluation.rb +0 -281
- data/lib/stripe/resources/shared_payment/granted_token.rb +0 -681
- data/lib/stripe/resources/shared_payment/issued_token.rb +0 -310
- data/lib/stripe/resources/tax/form.rb +0 -264
- 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/approval_request.rb +0 -395
- data/lib/stripe/resources/v2/core/batch_job.rb +0 -536
- data/lib/stripe/resources/v2/data/query_run.rb +0 -255
- data/lib/stripe/resources/v2/data/report.rb +0 -104
- data/lib/stripe/resources/v2/data/report_run.rb +0 -246
- data/lib/stripe/resources/v2/data/reporting/query_run.rb +0 -142
- data/lib/stripe/resources/v2/data/schema.rb +0 -121
- 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/iam/activity_log.rb +0 -368
- data/lib/stripe/resources/v2/money_management/financial_address_generated_microdeposits.rb +0 -33
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -255
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -260
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -137
- 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/resources/v2/signals/account_activity.rb +0 -252
- data/lib/stripe/resources/v2/signals/account_evaluation.rb +0 -249
- data/lib/stripe/resources/v2/signals/account_signal.rb +0 -184
- 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/payment_plan_service.rb +0 -50
- 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/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/radar/billing_evaluation_service.rb +0 -19
- data/lib/stripe/services/reserve/hold_service.rb +0 -30
- data/lib/stripe/services/reserve/plan_service.rb +0 -30
- 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/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/approval_request_service.rb +0 -58
- data/lib/stripe/services/v2/core/batch_job_service.rb +0 -43
- data/lib/stripe/services/v2/data/query_run_service.rb +0 -34
- data/lib/stripe/services/v2/data/report_run_service.rb +0 -36
- data/lib/stripe/services/v2/data/report_service.rb +0 -34
- 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/schema_service.rb +0 -32
- data/lib/stripe/services/v2/data_service.rb +0 -19
- 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/outbound_payment_quote_service.rb +0 -35
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -61
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
- 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/signals/account_activity_service.rb +0 -43
- data/lib/stripe/services/v2/signals/account_evaluation_service.rb +0 -32
- data/lib/stripe/services/v2/signals/account_signal_service.rb +0 -32
- data/lib/stripe/services/v2/signals_service.rb +0 -17
|
@@ -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
|
|
@@ -292,6 +284,15 @@ module Stripe
|
|
|
292
284
|
end
|
|
293
285
|
end
|
|
294
286
|
|
|
287
|
+
class BilliePayments < ::Stripe::RequestParams
|
|
288
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
289
|
+
attr_accessor :requested
|
|
290
|
+
|
|
291
|
+
def initialize(requested: nil)
|
|
292
|
+
@requested = requested
|
|
293
|
+
end
|
|
294
|
+
end
|
|
295
|
+
|
|
295
296
|
class BlikPayments < ::Stripe::RequestParams
|
|
296
297
|
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
297
298
|
attr_accessor :requested
|
|
@@ -454,6 +455,15 @@ module Stripe
|
|
|
454
455
|
end
|
|
455
456
|
end
|
|
456
457
|
|
|
458
|
+
class MbWayPayments < ::Stripe::RequestParams
|
|
459
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
460
|
+
attr_accessor :requested
|
|
461
|
+
|
|
462
|
+
def initialize(requested: nil)
|
|
463
|
+
@requested = requested
|
|
464
|
+
end
|
|
465
|
+
end
|
|
466
|
+
|
|
457
467
|
class MobilepayPayments < ::Stripe::RequestParams
|
|
458
468
|
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
459
469
|
attr_accessor :requested
|
|
@@ -490,6 +500,15 @@ module Stripe
|
|
|
490
500
|
end
|
|
491
501
|
end
|
|
492
502
|
|
|
503
|
+
class NzBankAccountBecsDebitPayments < ::Stripe::RequestParams
|
|
504
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
505
|
+
attr_accessor :requested
|
|
506
|
+
|
|
507
|
+
def initialize(requested: nil)
|
|
508
|
+
@requested = requested
|
|
509
|
+
end
|
|
510
|
+
end
|
|
511
|
+
|
|
493
512
|
class OxxoPayments < ::Stripe::RequestParams
|
|
494
513
|
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
495
514
|
attr_accessor :requested
|
|
@@ -535,6 +554,24 @@ module Stripe
|
|
|
535
554
|
end
|
|
536
555
|
end
|
|
537
556
|
|
|
557
|
+
class PaypayPayments < ::Stripe::RequestParams
|
|
558
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
559
|
+
attr_accessor :requested
|
|
560
|
+
|
|
561
|
+
def initialize(requested: nil)
|
|
562
|
+
@requested = requested
|
|
563
|
+
end
|
|
564
|
+
end
|
|
565
|
+
|
|
566
|
+
class PixPayments < ::Stripe::RequestParams
|
|
567
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
568
|
+
attr_accessor :requested
|
|
569
|
+
|
|
570
|
+
def initialize(requested: nil)
|
|
571
|
+
@requested = requested
|
|
572
|
+
end
|
|
573
|
+
end
|
|
574
|
+
|
|
538
575
|
class PromptpayPayments < ::Stripe::RequestParams
|
|
539
576
|
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
540
577
|
attr_accessor :requested
|
|
@@ -660,6 +697,8 @@ module Stripe
|
|
|
660
697
|
attr_accessor :bacs_debit_payments
|
|
661
698
|
# Allow the merchant to process Bancontact payments.
|
|
662
699
|
attr_accessor :bancontact_payments
|
|
700
|
+
# Allow the merchant to process Billie payments.
|
|
701
|
+
attr_accessor :billie_payments
|
|
663
702
|
# Allow the merchant to process BLIK payments.
|
|
664
703
|
attr_accessor :blik_payments
|
|
665
704
|
# Allow the merchant to process recurring BLIK payments.
|
|
@@ -696,6 +735,8 @@ module Stripe
|
|
|
696
735
|
attr_accessor :kr_card_payments
|
|
697
736
|
# Allow the merchant to process Link payments.
|
|
698
737
|
attr_accessor :link_payments
|
|
738
|
+
# Allow the merchant to process MB WAY payments.
|
|
739
|
+
attr_accessor :mb_way_payments
|
|
699
740
|
# Allow the merchant to process MobilePay payments.
|
|
700
741
|
attr_accessor :mobilepay_payments
|
|
701
742
|
# Allow the merchant to process Multibanco payments.
|
|
@@ -704,6 +745,8 @@ module Stripe
|
|
|
704
745
|
attr_accessor :mx_bank_transfer_payments
|
|
705
746
|
# Allow the merchant to process Naver Pay payments.
|
|
706
747
|
attr_accessor :naver_pay_payments
|
|
748
|
+
# Allow the merchant to process New Zealand BECS Direct Debit payments.
|
|
749
|
+
attr_accessor :nz_bank_account_becs_debit_payments
|
|
707
750
|
# Allow the merchant to process OXXO payments.
|
|
708
751
|
attr_accessor :oxxo_payments
|
|
709
752
|
# Allow the merchant to process Przelewy24 (P24) payments.
|
|
@@ -714,6 +757,10 @@ module Stripe
|
|
|
714
757
|
attr_accessor :payco_payments
|
|
715
758
|
# Allow the merchant to process PayNow payments.
|
|
716
759
|
attr_accessor :paynow_payments
|
|
760
|
+
# Allow the merchant to process PayPay payments.
|
|
761
|
+
attr_accessor :paypay_payments
|
|
762
|
+
# Allow the merchant to process Pix payments.
|
|
763
|
+
attr_accessor :pix_payments
|
|
717
764
|
# Allow the merchant to process PromptPay payments.
|
|
718
765
|
attr_accessor :promptpay_payments
|
|
719
766
|
# Allow the merchant to process Revolut Pay payments.
|
|
@@ -749,6 +796,7 @@ module Stripe
|
|
|
749
796
|
au_becs_debit_payments: nil,
|
|
750
797
|
bacs_debit_payments: nil,
|
|
751
798
|
bancontact_payments: nil,
|
|
799
|
+
billie_payments: nil,
|
|
752
800
|
blik_payments: nil,
|
|
753
801
|
blik_recurring_payments: nil,
|
|
754
802
|
boleto_payments: nil,
|
|
@@ -767,15 +815,19 @@ module Stripe
|
|
|
767
815
|
konbini_payments: nil,
|
|
768
816
|
kr_card_payments: nil,
|
|
769
817
|
link_payments: nil,
|
|
818
|
+
mb_way_payments: nil,
|
|
770
819
|
mobilepay_payments: nil,
|
|
771
820
|
multibanco_payments: nil,
|
|
772
821
|
mx_bank_transfer_payments: nil,
|
|
773
822
|
naver_pay_payments: nil,
|
|
823
|
+
nz_bank_account_becs_debit_payments: nil,
|
|
774
824
|
oxxo_payments: nil,
|
|
775
825
|
p24_payments: nil,
|
|
776
826
|
pay_by_bank_payments: nil,
|
|
777
827
|
payco_payments: nil,
|
|
778
828
|
paynow_payments: nil,
|
|
829
|
+
paypay_payments: nil,
|
|
830
|
+
pix_payments: nil,
|
|
779
831
|
promptpay_payments: nil,
|
|
780
832
|
revolut_pay_payments: nil,
|
|
781
833
|
samsung_pay_payments: nil,
|
|
@@ -798,6 +850,7 @@ module Stripe
|
|
|
798
850
|
@au_becs_debit_payments = au_becs_debit_payments
|
|
799
851
|
@bacs_debit_payments = bacs_debit_payments
|
|
800
852
|
@bancontact_payments = bancontact_payments
|
|
853
|
+
@billie_payments = billie_payments
|
|
801
854
|
@blik_payments = blik_payments
|
|
802
855
|
@blik_recurring_payments = blik_recurring_payments
|
|
803
856
|
@boleto_payments = boleto_payments
|
|
@@ -816,15 +869,19 @@ module Stripe
|
|
|
816
869
|
@konbini_payments = konbini_payments
|
|
817
870
|
@kr_card_payments = kr_card_payments
|
|
818
871
|
@link_payments = link_payments
|
|
872
|
+
@mb_way_payments = mb_way_payments
|
|
819
873
|
@mobilepay_payments = mobilepay_payments
|
|
820
874
|
@multibanco_payments = multibanco_payments
|
|
821
875
|
@mx_bank_transfer_payments = mx_bank_transfer_payments
|
|
822
876
|
@naver_pay_payments = naver_pay_payments
|
|
877
|
+
@nz_bank_account_becs_debit_payments = nz_bank_account_becs_debit_payments
|
|
823
878
|
@oxxo_payments = oxxo_payments
|
|
824
879
|
@p24_payments = p24_payments
|
|
825
880
|
@pay_by_bank_payments = pay_by_bank_payments
|
|
826
881
|
@payco_payments = payco_payments
|
|
827
882
|
@paynow_payments = paynow_payments
|
|
883
|
+
@paypay_payments = paypay_payments
|
|
884
|
+
@pix_payments = pix_payments
|
|
828
885
|
@promptpay_payments = promptpay_payments
|
|
829
886
|
@revolut_pay_payments = revolut_pay_payments
|
|
830
887
|
@samsung_pay_payments = samsung_pay_payments
|
|
@@ -886,14 +943,79 @@ module Stripe
|
|
|
886
943
|
@phone = phone
|
|
887
944
|
end
|
|
888
945
|
end
|
|
946
|
+
# Information provided to support the onboarding process for Konbini payments.
|
|
947
|
+
attr_accessor :additional_material
|
|
889
948
|
# Support for Konbini payments.
|
|
890
949
|
attr_accessor :support
|
|
891
950
|
|
|
892
|
-
def initialize(support: nil)
|
|
951
|
+
def initialize(additional_material: nil, support: nil)
|
|
952
|
+
@additional_material = additional_material
|
|
893
953
|
@support = support
|
|
894
954
|
end
|
|
895
955
|
end
|
|
896
956
|
|
|
957
|
+
class PaypayPayments < ::Stripe::RequestParams
|
|
958
|
+
class Site < ::Stripe::RequestParams
|
|
959
|
+
class Accessible < ::Stripe::RequestParams; end
|
|
960
|
+
|
|
961
|
+
class InDevelopment < ::Stripe::RequestParams
|
|
962
|
+
# The password needed to access the business's website.
|
|
963
|
+
attr_accessor :password
|
|
964
|
+
# The username needed to access the business's website.
|
|
965
|
+
attr_accessor :username
|
|
966
|
+
|
|
967
|
+
def initialize(password: nil, username: nil)
|
|
968
|
+
@password = password
|
|
969
|
+
@username = username
|
|
970
|
+
end
|
|
971
|
+
end
|
|
972
|
+
|
|
973
|
+
class Restricted < ::Stripe::RequestParams
|
|
974
|
+
# The file explaining the payment flow for the business.
|
|
975
|
+
attr_accessor :payment_flow_file
|
|
976
|
+
|
|
977
|
+
def initialize(payment_flow_file: nil)
|
|
978
|
+
@payment_flow_file = payment_flow_file
|
|
979
|
+
end
|
|
980
|
+
end
|
|
981
|
+
# Additional information about the business's website when it's accessible.
|
|
982
|
+
attr_accessor :accessible
|
|
983
|
+
# Additional information about the business's website when it's in development.
|
|
984
|
+
attr_accessor :in_development
|
|
985
|
+
# Additional information about the business's website when it has restricted access.
|
|
986
|
+
attr_accessor :restricted
|
|
987
|
+
# The status of the business's website.
|
|
988
|
+
attr_accessor :type
|
|
989
|
+
|
|
990
|
+
def initialize(accessible: nil, in_development: nil, restricted: nil, type: nil)
|
|
991
|
+
@accessible = accessible
|
|
992
|
+
@in_development = in_development
|
|
993
|
+
@restricted = restricted
|
|
994
|
+
@type = type
|
|
995
|
+
end
|
|
996
|
+
end
|
|
997
|
+
# Additional files supporting PayPay payments configuration.
|
|
998
|
+
attr_accessor :additional_files
|
|
999
|
+
# The type of goods sold by the merchant for PayPay payments.
|
|
1000
|
+
attr_accessor :goods_type
|
|
1001
|
+
# The business's website for PayPay payments.
|
|
1002
|
+
attr_accessor :site
|
|
1003
|
+
# URL to the Specified Commercial Transactions Act page for PayPay payments.
|
|
1004
|
+
attr_accessor :specified_commercial_transactions_act_url
|
|
1005
|
+
|
|
1006
|
+
def initialize(
|
|
1007
|
+
additional_files: nil,
|
|
1008
|
+
goods_type: nil,
|
|
1009
|
+
site: nil,
|
|
1010
|
+
specified_commercial_transactions_act_url: nil
|
|
1011
|
+
)
|
|
1012
|
+
@additional_files = additional_files
|
|
1013
|
+
@goods_type = goods_type
|
|
1014
|
+
@site = site
|
|
1015
|
+
@specified_commercial_transactions_act_url = specified_commercial_transactions_act_url
|
|
1016
|
+
end
|
|
1017
|
+
end
|
|
1018
|
+
|
|
897
1019
|
class ScriptStatementDescriptor < ::Stripe::RequestParams
|
|
898
1020
|
class Kana < ::Stripe::RequestParams
|
|
899
1021
|
# 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.
|
|
@@ -938,23 +1060,6 @@ module Stripe
|
|
|
938
1060
|
end
|
|
939
1061
|
end
|
|
940
1062
|
|
|
941
|
-
class SmartDisputes < ::Stripe::RequestParams
|
|
942
|
-
class AutoRespond < ::Stripe::RequestParams
|
|
943
|
-
# The preference for automatic dispute responses.
|
|
944
|
-
attr_accessor :preference
|
|
945
|
-
|
|
946
|
-
def initialize(preference: nil)
|
|
947
|
-
@preference = preference
|
|
948
|
-
end
|
|
949
|
-
end
|
|
950
|
-
# Settings for Smart Disputes auto_respond.
|
|
951
|
-
attr_accessor :auto_respond
|
|
952
|
-
|
|
953
|
-
def initialize(auto_respond: nil)
|
|
954
|
-
@auto_respond = auto_respond
|
|
955
|
-
end
|
|
956
|
-
end
|
|
957
|
-
|
|
958
1063
|
class StatementDescriptor < ::Stripe::RequestParams
|
|
959
1064
|
# 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.
|
|
960
1065
|
attr_accessor :descriptor
|
|
@@ -1032,12 +1137,12 @@ module Stripe
|
|
|
1032
1137
|
attr_accessor :konbini_payments
|
|
1033
1138
|
# The Merchant Category Code (MCC) for the merchant. MCCs classify businesses based on the goods or services they provide.
|
|
1034
1139
|
attr_accessor :mcc
|
|
1140
|
+
# Settings for PayPay payments.
|
|
1141
|
+
attr_accessor :paypay_payments
|
|
1035
1142
|
# Settings for the default text that appears on statements for language variations.
|
|
1036
1143
|
attr_accessor :script_statement_descriptor
|
|
1037
1144
|
# Settings for SEPA Direct Debit payments.
|
|
1038
1145
|
attr_accessor :sepa_debit_payments
|
|
1039
|
-
# Settings for Smart Disputes automatic response feature.
|
|
1040
|
-
attr_accessor :smart_disputes
|
|
1041
1146
|
# Settings for the default statement descriptor text.
|
|
1042
1147
|
attr_accessor :statement_descriptor
|
|
1043
1148
|
# Publicly available contact information for sending support issues to.
|
|
@@ -1051,9 +1156,9 @@ module Stripe
|
|
|
1051
1156
|
card_payments: nil,
|
|
1052
1157
|
konbini_payments: nil,
|
|
1053
1158
|
mcc: nil,
|
|
1159
|
+
paypay_payments: nil,
|
|
1054
1160
|
script_statement_descriptor: nil,
|
|
1055
1161
|
sepa_debit_payments: nil,
|
|
1056
|
-
smart_disputes: nil,
|
|
1057
1162
|
statement_descriptor: nil,
|
|
1058
1163
|
support: nil
|
|
1059
1164
|
)
|
|
@@ -1064,317 +1169,14 @@ module Stripe
|
|
|
1064
1169
|
@card_payments = card_payments
|
|
1065
1170
|
@konbini_payments = konbini_payments
|
|
1066
1171
|
@mcc = mcc
|
|
1172
|
+
@paypay_payments = paypay_payments
|
|
1067
1173
|
@script_statement_descriptor = script_statement_descriptor
|
|
1068
1174
|
@sepa_debit_payments = sepa_debit_payments
|
|
1069
|
-
@smart_disputes = smart_disputes
|
|
1070
1175
|
@statement_descriptor = statement_descriptor
|
|
1071
1176
|
@support = support
|
|
1072
1177
|
end
|
|
1073
1178
|
end
|
|
1074
1179
|
|
|
1075
|
-
class MoneyManager < ::Stripe::RequestParams
|
|
1076
|
-
class Capabilities < ::Stripe::RequestParams
|
|
1077
|
-
class BusinessStorage < ::Stripe::RequestParams
|
|
1078
|
-
class Inbound < ::Stripe::RequestParams
|
|
1079
|
-
class Aud < ::Stripe::RequestParams
|
|
1080
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1081
|
-
attr_accessor :requested
|
|
1082
|
-
|
|
1083
|
-
def initialize(requested: nil)
|
|
1084
|
-
@requested = requested
|
|
1085
|
-
end
|
|
1086
|
-
end
|
|
1087
|
-
|
|
1088
|
-
class Cad < ::Stripe::RequestParams
|
|
1089
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1090
|
-
attr_accessor :requested
|
|
1091
|
-
|
|
1092
|
-
def initialize(requested: nil)
|
|
1093
|
-
@requested = requested
|
|
1094
|
-
end
|
|
1095
|
-
end
|
|
1096
|
-
|
|
1097
|
-
class Eur < ::Stripe::RequestParams
|
|
1098
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1099
|
-
attr_accessor :requested
|
|
1100
|
-
|
|
1101
|
-
def initialize(requested: nil)
|
|
1102
|
-
@requested = requested
|
|
1103
|
-
end
|
|
1104
|
-
end
|
|
1105
|
-
|
|
1106
|
-
class Gbp < ::Stripe::RequestParams
|
|
1107
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1108
|
-
attr_accessor :requested
|
|
1109
|
-
|
|
1110
|
-
def initialize(requested: nil)
|
|
1111
|
-
@requested = requested
|
|
1112
|
-
end
|
|
1113
|
-
end
|
|
1114
|
-
|
|
1115
|
-
class Usd < ::Stripe::RequestParams
|
|
1116
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1117
|
-
attr_accessor :requested
|
|
1118
|
-
|
|
1119
|
-
def initialize(requested: nil)
|
|
1120
|
-
@requested = requested
|
|
1121
|
-
end
|
|
1122
|
-
end
|
|
1123
|
-
# Can receive business storage-type funds on Stripe in AUD.
|
|
1124
|
-
attr_accessor :aud
|
|
1125
|
-
# Can receive business storage-type funds on Stripe in CAD.
|
|
1126
|
-
attr_accessor :cad
|
|
1127
|
-
# Can receive business storage-type funds on Stripe in EUR.
|
|
1128
|
-
attr_accessor :eur
|
|
1129
|
-
# Can receive business storage-type funds on Stripe in GBP.
|
|
1130
|
-
attr_accessor :gbp
|
|
1131
|
-
# Can receive business storage-type funds on Stripe in USD.
|
|
1132
|
-
attr_accessor :usd
|
|
1133
|
-
|
|
1134
|
-
def initialize(aud: nil, cad: nil, eur: nil, gbp: nil, usd: nil)
|
|
1135
|
-
@aud = aud
|
|
1136
|
-
@cad = cad
|
|
1137
|
-
@eur = eur
|
|
1138
|
-
@gbp = gbp
|
|
1139
|
-
@usd = usd
|
|
1140
|
-
end
|
|
1141
|
-
end
|
|
1142
|
-
|
|
1143
|
-
class Outbound < ::Stripe::RequestParams
|
|
1144
|
-
class Aud < ::Stripe::RequestParams
|
|
1145
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1146
|
-
attr_accessor :requested
|
|
1147
|
-
|
|
1148
|
-
def initialize(requested: nil)
|
|
1149
|
-
@requested = requested
|
|
1150
|
-
end
|
|
1151
|
-
end
|
|
1152
|
-
|
|
1153
|
-
class Cad < ::Stripe::RequestParams
|
|
1154
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1155
|
-
attr_accessor :requested
|
|
1156
|
-
|
|
1157
|
-
def initialize(requested: nil)
|
|
1158
|
-
@requested = requested
|
|
1159
|
-
end
|
|
1160
|
-
end
|
|
1161
|
-
|
|
1162
|
-
class Eur < ::Stripe::RequestParams
|
|
1163
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1164
|
-
attr_accessor :requested
|
|
1165
|
-
|
|
1166
|
-
def initialize(requested: nil)
|
|
1167
|
-
@requested = requested
|
|
1168
|
-
end
|
|
1169
|
-
end
|
|
1170
|
-
|
|
1171
|
-
class Gbp < ::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 Usd < ::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
|
-
# Can send business storage-type funds on Stripe in AUD.
|
|
1189
|
-
attr_accessor :aud
|
|
1190
|
-
# Can send business storage-type funds on Stripe in CAD.
|
|
1191
|
-
attr_accessor :cad
|
|
1192
|
-
# Can send business storage-type funds on Stripe in EUR.
|
|
1193
|
-
attr_accessor :eur
|
|
1194
|
-
# Can send business storage-type funds on Stripe in GBP.
|
|
1195
|
-
attr_accessor :gbp
|
|
1196
|
-
# Can send business storage-type funds on Stripe in USD.
|
|
1197
|
-
attr_accessor :usd
|
|
1198
|
-
|
|
1199
|
-
def initialize(aud: nil, cad: nil, eur: nil, gbp: nil, usd: nil)
|
|
1200
|
-
@aud = aud
|
|
1201
|
-
@cad = cad
|
|
1202
|
-
@eur = eur
|
|
1203
|
-
@gbp = gbp
|
|
1204
|
-
@usd = usd
|
|
1205
|
-
end
|
|
1206
|
-
end
|
|
1207
|
-
# Can receive business storage-type funds on Stripe.
|
|
1208
|
-
attr_accessor :inbound
|
|
1209
|
-
# Can send business storage-type funds on Stripe.
|
|
1210
|
-
attr_accessor :outbound
|
|
1211
|
-
|
|
1212
|
-
def initialize(inbound: nil, outbound: nil)
|
|
1213
|
-
@inbound = inbound
|
|
1214
|
-
@outbound = outbound
|
|
1215
|
-
end
|
|
1216
|
-
end
|
|
1217
|
-
|
|
1218
|
-
class InboundTransfers < ::Stripe::RequestParams
|
|
1219
|
-
class BankAccounts < ::Stripe::RequestParams
|
|
1220
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1221
|
-
attr_accessor :requested
|
|
1222
|
-
|
|
1223
|
-
def initialize(requested: nil)
|
|
1224
|
-
@requested = requested
|
|
1225
|
-
end
|
|
1226
|
-
end
|
|
1227
|
-
# Can pull funds from an external bank account owned by yourself to a FinancialAccount.
|
|
1228
|
-
attr_accessor :bank_accounts
|
|
1229
|
-
|
|
1230
|
-
def initialize(bank_accounts: nil)
|
|
1231
|
-
@bank_accounts = bank_accounts
|
|
1232
|
-
end
|
|
1233
|
-
end
|
|
1234
|
-
|
|
1235
|
-
class OutboundPayments < ::Stripe::RequestParams
|
|
1236
|
-
class BankAccounts < ::Stripe::RequestParams
|
|
1237
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1238
|
-
attr_accessor :requested
|
|
1239
|
-
|
|
1240
|
-
def initialize(requested: nil)
|
|
1241
|
-
@requested = requested
|
|
1242
|
-
end
|
|
1243
|
-
end
|
|
1244
|
-
|
|
1245
|
-
class Cards < ::Stripe::RequestParams
|
|
1246
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1247
|
-
attr_accessor :requested
|
|
1248
|
-
|
|
1249
|
-
def initialize(requested: nil)
|
|
1250
|
-
@requested = requested
|
|
1251
|
-
end
|
|
1252
|
-
end
|
|
1253
|
-
|
|
1254
|
-
class FinancialAccounts < ::Stripe::RequestParams
|
|
1255
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1256
|
-
attr_accessor :requested
|
|
1257
|
-
|
|
1258
|
-
def initialize(requested: nil)
|
|
1259
|
-
@requested = requested
|
|
1260
|
-
end
|
|
1261
|
-
end
|
|
1262
|
-
# Can send funds from a FinancialAccount to a bank account owned by someone else.
|
|
1263
|
-
attr_accessor :bank_accounts
|
|
1264
|
-
# Can send funds from a FinancialAccount to a debit card owned by someone else.
|
|
1265
|
-
attr_accessor :cards
|
|
1266
|
-
# Can send funds from a FinancialAccount to another FinancialAccount owned by someone else.
|
|
1267
|
-
attr_accessor :financial_accounts
|
|
1268
|
-
|
|
1269
|
-
def initialize(bank_accounts: nil, cards: nil, financial_accounts: nil)
|
|
1270
|
-
@bank_accounts = bank_accounts
|
|
1271
|
-
@cards = cards
|
|
1272
|
-
@financial_accounts = financial_accounts
|
|
1273
|
-
end
|
|
1274
|
-
end
|
|
1275
|
-
|
|
1276
|
-
class OutboundTransfers < ::Stripe::RequestParams
|
|
1277
|
-
class BankAccounts < ::Stripe::RequestParams
|
|
1278
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1279
|
-
attr_accessor :requested
|
|
1280
|
-
|
|
1281
|
-
def initialize(requested: nil)
|
|
1282
|
-
@requested = requested
|
|
1283
|
-
end
|
|
1284
|
-
end
|
|
1285
|
-
|
|
1286
|
-
class FinancialAccounts < ::Stripe::RequestParams
|
|
1287
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1288
|
-
attr_accessor :requested
|
|
1289
|
-
|
|
1290
|
-
def initialize(requested: nil)
|
|
1291
|
-
@requested = requested
|
|
1292
|
-
end
|
|
1293
|
-
end
|
|
1294
|
-
# Can send funds from a FinancialAccount to a bank account owned by yourself.
|
|
1295
|
-
attr_accessor :bank_accounts
|
|
1296
|
-
# Can send funds from a FinancialAccount to another FinancialAccount owned by yourself.
|
|
1297
|
-
attr_accessor :financial_accounts
|
|
1298
|
-
|
|
1299
|
-
def initialize(bank_accounts: nil, financial_accounts: nil)
|
|
1300
|
-
@bank_accounts = bank_accounts
|
|
1301
|
-
@financial_accounts = financial_accounts
|
|
1302
|
-
end
|
|
1303
|
-
end
|
|
1304
|
-
|
|
1305
|
-
class ReceivedCredits < ::Stripe::RequestParams
|
|
1306
|
-
class BankAccounts < ::Stripe::RequestParams
|
|
1307
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1308
|
-
attr_accessor :requested
|
|
1309
|
-
|
|
1310
|
-
def initialize(requested: nil)
|
|
1311
|
-
@requested = requested
|
|
1312
|
-
end
|
|
1313
|
-
end
|
|
1314
|
-
# Can receive funds on a bank-account-like financial address (VBAN) to credit a FinancialAccount.
|
|
1315
|
-
attr_accessor :bank_accounts
|
|
1316
|
-
|
|
1317
|
-
def initialize(bank_accounts: nil)
|
|
1318
|
-
@bank_accounts = bank_accounts
|
|
1319
|
-
end
|
|
1320
|
-
end
|
|
1321
|
-
|
|
1322
|
-
class ReceivedDebits < ::Stripe::RequestParams
|
|
1323
|
-
class BankAccounts < ::Stripe::RequestParams
|
|
1324
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1325
|
-
attr_accessor :requested
|
|
1326
|
-
|
|
1327
|
-
def initialize(requested: nil)
|
|
1328
|
-
@requested = requested
|
|
1329
|
-
end
|
|
1330
|
-
end
|
|
1331
|
-
# Can receive debits to a FinancialAccount from a bank account.
|
|
1332
|
-
attr_accessor :bank_accounts
|
|
1333
|
-
|
|
1334
|
-
def initialize(bank_accounts: nil)
|
|
1335
|
-
@bank_accounts = bank_accounts
|
|
1336
|
-
end
|
|
1337
|
-
end
|
|
1338
|
-
# Can send or receive business storage-type funds on Stripe.
|
|
1339
|
-
attr_accessor :business_storage
|
|
1340
|
-
# Can pull funds from an external source, owned by yourself, to a FinancialAccount.
|
|
1341
|
-
attr_accessor :inbound_transfers
|
|
1342
|
-
# Can send funds from a FinancialAccount to a destination owned by someone else.
|
|
1343
|
-
attr_accessor :outbound_payments
|
|
1344
|
-
# Can send funds from a FinancialAccount to a destination owned by yourself.
|
|
1345
|
-
attr_accessor :outbound_transfers
|
|
1346
|
-
# Can receive funds on a financial address to credit a FinancialAccount.
|
|
1347
|
-
attr_accessor :received_credits
|
|
1348
|
-
# Can receive debits to a FinancialAccount.
|
|
1349
|
-
attr_accessor :received_debits
|
|
1350
|
-
|
|
1351
|
-
def initialize(
|
|
1352
|
-
business_storage: nil,
|
|
1353
|
-
inbound_transfers: nil,
|
|
1354
|
-
outbound_payments: nil,
|
|
1355
|
-
outbound_transfers: nil,
|
|
1356
|
-
received_credits: nil,
|
|
1357
|
-
received_debits: nil
|
|
1358
|
-
)
|
|
1359
|
-
@business_storage = business_storage
|
|
1360
|
-
@inbound_transfers = inbound_transfers
|
|
1361
|
-
@outbound_payments = outbound_payments
|
|
1362
|
-
@outbound_transfers = outbound_transfers
|
|
1363
|
-
@received_credits = received_credits
|
|
1364
|
-
@received_debits = received_debits
|
|
1365
|
-
end
|
|
1366
|
-
end
|
|
1367
|
-
# Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
|
|
1368
|
-
attr_accessor :applied
|
|
1369
|
-
# Capabilities to request on the Money Manager Configuration.
|
|
1370
|
-
attr_accessor :capabilities
|
|
1371
|
-
|
|
1372
|
-
def initialize(applied: nil, capabilities: nil)
|
|
1373
|
-
@applied = applied
|
|
1374
|
-
@capabilities = capabilities
|
|
1375
|
-
end
|
|
1376
|
-
end
|
|
1377
|
-
|
|
1378
1180
|
class Recipient < ::Stripe::RequestParams
|
|
1379
1181
|
class Capabilities < ::Stripe::RequestParams
|
|
1380
1182
|
class BankAccounts < ::Stripe::RequestParams
|
|
@@ -1483,15 +1285,6 @@ module Stripe
|
|
|
1483
1285
|
end
|
|
1484
1286
|
end
|
|
1485
1287
|
|
|
1486
|
-
class CryptoWallets < ::Stripe::RequestParams
|
|
1487
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1488
|
-
attr_accessor :requested
|
|
1489
|
-
|
|
1490
|
-
def initialize(requested: nil)
|
|
1491
|
-
@requested = requested
|
|
1492
|
-
end
|
|
1493
|
-
end
|
|
1494
|
-
|
|
1495
1288
|
class StripeBalance < ::Stripe::RequestParams
|
|
1496
1289
|
class StripeTransfers < ::Stripe::RequestParams
|
|
1497
1290
|
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
@@ -1512,20 +1305,12 @@ module Stripe
|
|
|
1512
1305
|
attr_accessor :bank_accounts
|
|
1513
1306
|
# Capability that enable OutboundPayments to a debit card linked to this Account.
|
|
1514
1307
|
attr_accessor :cards
|
|
1515
|
-
# Capabilities that enable OutboundPayments to a crypto wallet linked to this Account.
|
|
1516
|
-
attr_accessor :crypto_wallets
|
|
1517
1308
|
# Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
|
|
1518
1309
|
attr_accessor :stripe_balance
|
|
1519
1310
|
|
|
1520
|
-
def initialize(
|
|
1521
|
-
bank_accounts: nil,
|
|
1522
|
-
cards: nil,
|
|
1523
|
-
crypto_wallets: nil,
|
|
1524
|
-
stripe_balance: nil
|
|
1525
|
-
)
|
|
1311
|
+
def initialize(bank_accounts: nil, cards: nil, stripe_balance: nil)
|
|
1526
1312
|
@bank_accounts = bank_accounts
|
|
1527
1313
|
@cards = cards
|
|
1528
|
-
@crypto_wallets = crypto_wallets
|
|
1529
1314
|
@stripe_balance = stripe_balance
|
|
1530
1315
|
end
|
|
1531
1316
|
end
|
|
@@ -1543,15 +1328,12 @@ module Stripe
|
|
|
1543
1328
|
attr_accessor :customer
|
|
1544
1329
|
# Enables the Account to act as a connected account and collect payments facilitated by a Connect platform. You must onboard your platform to Connect before you can add this configuration to your connected accounts. Utilize this configuration when the Account will be the Merchant of Record, like with Direct charges or Destination Charges with on_behalf_of set.
|
|
1545
1330
|
attr_accessor :merchant
|
|
1546
|
-
# The Money Manager Configuration allows the Account to store and move funds using FinancialAccounts.
|
|
1547
|
-
attr_accessor :money_manager
|
|
1548
1331
|
# 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.
|
|
1549
1332
|
attr_accessor :recipient
|
|
1550
1333
|
|
|
1551
|
-
def initialize(customer: nil, merchant: nil,
|
|
1334
|
+
def initialize(customer: nil, merchant: nil, recipient: nil)
|
|
1552
1335
|
@customer = customer
|
|
1553
1336
|
@merchant = merchant
|
|
1554
|
-
@money_manager = money_manager
|
|
1555
1337
|
@recipient = recipient
|
|
1556
1338
|
end
|
|
1557
1339
|
end
|
|
@@ -1573,9 +1355,9 @@ module Stripe
|
|
|
1573
1355
|
end
|
|
1574
1356
|
|
|
1575
1357
|
class Responsibilities < ::Stripe::RequestParams
|
|
1576
|
-
#
|
|
1358
|
+
# Controls who pays Stripe fees for direct charges and other pricing-control-eligible Stripe products. For new integrations, setting `losses_collector=application` requires `fees_collector=application`; legacy Custom and Express accounts can also use `application_custom` or `application_express`. For destination charges and separate charges and transfers, Stripe bills the platform regardless of this setting. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior), including application fees and pricing considerations. Set this value when adding an applicable configuration to the account. You can't change it after it's set.
|
|
1577
1359
|
attr_accessor :fees_collector
|
|
1578
|
-
#
|
|
1360
|
+
# Controls who is responsible for payment-related negative balances on this account. The platform remains liable for negative balances on its own account. To use Stripe negative balance liability, your integration must meet [Managed Risk requirements](https://docs.stripe.com/connect/risk-management/managed-risk). Set this value when adding an applicable configuration to the account. You can't change it after it's set.
|
|
1579
1361
|
attr_accessor :losses_collector
|
|
1580
1362
|
|
|
1581
1363
|
def initialize(fees_collector: nil, losses_collector: nil)
|
|
@@ -1593,23 +1375,19 @@ module Stripe
|
|
|
1593
1375
|
attr_accessor :profile
|
|
1594
1376
|
# Default responsibilities held by either Stripe or the platform.
|
|
1595
1377
|
attr_accessor :responsibilities
|
|
1596
|
-
# 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).
|
|
1597
|
-
attr_accessor :timezone
|
|
1598
1378
|
|
|
1599
1379
|
def initialize(
|
|
1600
1380
|
currency: nil,
|
|
1601
1381
|
locales: nil,
|
|
1602
1382
|
payout_methods: nil,
|
|
1603
1383
|
profile: nil,
|
|
1604
|
-
responsibilities: nil
|
|
1605
|
-
timezone: nil
|
|
1384
|
+
responsibilities: nil
|
|
1606
1385
|
)
|
|
1607
1386
|
@currency = currency
|
|
1608
1387
|
@locales = locales
|
|
1609
1388
|
@payout_methods = payout_methods
|
|
1610
1389
|
@profile = profile
|
|
1611
1390
|
@responsibilities = responsibilities
|
|
1612
|
-
@timezone = timezone
|
|
1613
1391
|
end
|
|
1614
1392
|
end
|
|
1615
1393
|
|
|
@@ -1962,18 +1740,6 @@ module Stripe
|
|
|
1962
1740
|
end
|
|
1963
1741
|
end
|
|
1964
1742
|
|
|
1965
|
-
class ProofOfBusinessPresence < ::Stripe::RequestParams
|
|
1966
|
-
# One or more document IDs returned by a [file upload](https://docs.stripe.com/api/files/create) with a purpose value of `account_requirement`.
|
|
1967
|
-
attr_accessor :files
|
|
1968
|
-
# The format of the document. Currently supports `files` only.
|
|
1969
|
-
attr_accessor :type
|
|
1970
|
-
|
|
1971
|
-
def initialize(files: nil, type: nil)
|
|
1972
|
-
@files = files
|
|
1973
|
-
@type = type
|
|
1974
|
-
end
|
|
1975
|
-
end
|
|
1976
|
-
|
|
1977
1743
|
class ProofOfRegistration < ::Stripe::RequestParams
|
|
1978
1744
|
class Signer < ::Stripe::RequestParams
|
|
1979
1745
|
# Person signing the document.
|
|
@@ -2035,8 +1801,6 @@ module Stripe
|
|
|
2035
1801
|
attr_accessor :primary_verification
|
|
2036
1802
|
# One or more documents that demonstrate proof of address.
|
|
2037
1803
|
attr_accessor :proof_of_address
|
|
2038
|
-
# One or more documents that demonstrate proof of business presence.
|
|
2039
|
-
attr_accessor :proof_of_business_presence
|
|
2040
1804
|
# One or more documents that demonstrate proof of ultimate beneficial ownership.
|
|
2041
1805
|
attr_accessor :proof_of_registration
|
|
2042
1806
|
# One or more documents that demonstrate proof of ultimate beneficial ownership.
|
|
@@ -2051,7 +1815,6 @@ module Stripe
|
|
|
2051
1815
|
company_tax_id_verification: nil,
|
|
2052
1816
|
primary_verification: nil,
|
|
2053
1817
|
proof_of_address: nil,
|
|
2054
|
-
proof_of_business_presence: nil,
|
|
2055
1818
|
proof_of_registration: nil,
|
|
2056
1819
|
proof_of_ultimate_beneficial_ownership: nil
|
|
2057
1820
|
)
|
|
@@ -2063,7 +1826,6 @@ module Stripe
|
|
|
2063
1826
|
@company_tax_id_verification = company_tax_id_verification
|
|
2064
1827
|
@primary_verification = primary_verification
|
|
2065
1828
|
@proof_of_address = proof_of_address
|
|
2066
|
-
@proof_of_business_presence = proof_of_business_presence
|
|
2067
1829
|
@proof_of_registration = proof_of_registration
|
|
2068
1830
|
@proof_of_ultimate_beneficial_ownership = proof_of_ultimate_beneficial_ownership
|
|
2069
1831
|
end
|
|
@@ -2772,7 +2534,7 @@ module Stripe
|
|
|
2772
2534
|
attr_accessor :contact_email
|
|
2773
2535
|
# The default contact phone for the Account.
|
|
2774
2536
|
attr_accessor :contact_phone
|
|
2775
|
-
#
|
|
2537
|
+
# Specifies the account's Stripe-hosted Dashboard access. Available values depend on the configurations enabled for the account. Learn more about [configuring Dashboard access](https://docs.stripe.com/connect/accounts-v2/connected-account-configuration#set-dashboard-access).
|
|
2776
2538
|
attr_accessor :dashboard
|
|
2777
2539
|
# Default values to be used on Account Configurations.
|
|
2778
2540
|
attr_accessor :defaults
|