stripe 19.2.0 → 19.3.0.pre.beta.1
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 +36 -3
- data/lib/stripe/api_version.rb +1 -2
- data/lib/stripe/errors.rb +87 -0
- data/lib/stripe/event_types.rb +228 -0
- data/lib/stripe/events/unknown_event_notification.rb +1 -0
- data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_batch_failed_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_completed_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_created_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_ready_for_upload_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_timeout_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_upload_timeout_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_validating_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_validation_failed_event.rb +44 -0
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +78 -0
- data/lib/stripe/events/v2_data_reporting_query_run_created_event.rb +44 -0
- data/lib/stripe/events/v2_data_reporting_query_run_failed_event.rb +44 -0
- data/lib/stripe/events/v2_data_reporting_query_run_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_data_reporting_query_run_updated_event.rb +44 -0
- data/lib/stripe/events/v2_extend_workflow_run_failed_event.rb +75 -0
- data/lib/stripe/events/v2_extend_workflow_run_started_event.rb +44 -0
- data/lib/stripe/events/v2_extend_workflow_run_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_payout_method_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +63 -0
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +44 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_confirmed_event.rb +97 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_created_event.rb +97 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_partially_confirmed_event.rb +97 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_terminated_event.rb +97 -0
- data/lib/stripe/object_types.rb +61 -0
- data/lib/stripe/params/account_create_params.rb +374 -1
- data/lib/stripe/params/account_notice_list_params.rb +25 -0
- data/lib/stripe/params/account_notice_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_notice_update_params.rb +36 -0
- data/lib/stripe/params/account_session_create_params.rb +226 -1
- data/lib/stripe/params/account_update_params.rb +336 -0
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +65 -0
- data/lib/stripe/params/capital/financing_offer_list_params.rb +58 -0
- data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +15 -0
- data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +15 -0
- data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +15 -0
- data/lib/stripe/params/capital/financing_transaction_list_params.rb +45 -0
- data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +15 -0
- data/lib/stripe/params/charge_capture_params.rb +1646 -0
- data/lib/stripe/params/charge_update_params.rb +1646 -0
- data/lib/stripe/params/checkout/session_create_params.rb +126 -3
- data/lib/stripe/params/checkout/session_update_params.rb +176 -1
- data/lib/stripe/params/confirmation_token_create_params.rb +78 -0
- data/lib/stripe/params/coupon_create_params.rb +17 -1
- data/lib/stripe/params/customer_session_create_params.rb +32 -1
- data/lib/stripe/params/dispute_update_params.rb +10 -1
- data/lib/stripe/params/external_account_create_params.rb +134 -0
- data/lib/stripe/params/external_account_delete_params.rb +6 -0
- data/lib/stripe/params/external_account_list_params.rb +25 -0
- data/lib/stripe/params/external_account_retrieve_params.rb +13 -0
- data/lib/stripe/params/external_account_update_params.rb +91 -0
- data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +24 -0
- data/lib/stripe/params/financial_connections/authorization_retrieve_params.rb +15 -0
- data/lib/stripe/params/financial_connections/institution_list_params.rb +24 -0
- data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +15 -0
- data/lib/stripe/params/financial_connections/session_create_params.rb +64 -2
- data/lib/stripe/params/fx_quote_create_params.rb +73 -0
- data/lib/stripe/params/fx_quote_list_params.rb +22 -0
- data/lib/stripe/params/fx_quote_retrieve_params.rb +13 -0
- data/lib/stripe/params/invoice_add_lines_params.rb +48 -1
- data/lib/stripe/params/invoice_attach_payment_params.rb +43 -1
- data/lib/stripe/params/invoice_create_params.rb +70 -2
- data/lib/stripe/params/invoice_create_preview_params.rb +790 -9
- data/lib/stripe/params/invoice_detach_payment_params.rb +16 -0
- data/lib/stripe/params/invoice_item_create_params.rb +33 -1
- data/lib/stripe/params/invoice_item_update_params.rb +33 -1
- data/lib/stripe/params/invoice_line_item_update_params.rb +48 -1
- data/lib/stripe/params/invoice_update_lines_params.rb +48 -1
- data/lib/stripe/params/invoice_update_params.rb +70 -2
- data/lib/stripe/params/issuing/cardholder_create_params.rb +2 -1
- data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +163 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +50 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +128 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +24 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +86 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +33 -0
- data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +44 -0
- data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/transaction_list_params.rb +4 -0
- data/lib/stripe/params/mandate_list_params.rb +39 -0
- data/lib/stripe/params/margin_create_params.rb +25 -0
- data/lib/stripe/params/margin_list_params.rb +25 -0
- data/lib/stripe/params/margin_retrieve_params.rb +13 -0
- data/lib/stripe/params/margin_update_params.rb +22 -0
- data/lib/stripe/params/order_create_params.rb +2083 -0
- data/lib/stripe/params/order_list_params.rb +25 -0
- data/lib/stripe/params/order_retrieve_params.rb +13 -0
- data/lib/stripe/params/order_submit_params.rb +16 -0
- data/lib/stripe/params/order_update_params.rb +2087 -0
- data/lib/stripe/params/payment_intent_capture_params.rb +1643 -1
- data/lib/stripe/params/payment_intent_confirm_params.rb +3022 -87
- data/lib/stripe/params/payment_intent_create_params.rb +3034 -99
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +297 -0
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +37 -0
- data/lib/stripe/params/payment_intent_trigger_action_params.rb +27 -0
- data/lib/stripe/params/payment_intent_update_params.rb +3023 -57
- data/lib/stripe/params/payment_link_create_params.rb +15 -0
- data/lib/stripe/params/payment_method_configuration_create_params.rb +105 -0
- data/lib/stripe/params/payment_method_configuration_update_params.rb +105 -0
- data/lib/stripe/params/payment_method_create_params.rb +74 -0
- data/lib/stripe/params/plan_create_params.rb +15 -0
- data/lib/stripe/params/price_create_params.rb +15 -0
- data/lib/stripe/params/price_update_params.rb +19 -0
- data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_create_params.rb +67 -0
- data/lib/stripe/params/privacy/redaction_job_list_params.rb +27 -0
- data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_run_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_update_params.rb +18 -0
- data/lib/stripe/params/privacy/redaction_job_validate_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +24 -0
- data/lib/stripe/params/product_catalog/trial_offer_create_params.rb +63 -0
- data/lib/stripe/params/product_create_params.rb +16 -0
- data/lib/stripe/params/product_update_params.rb +16 -0
- data/lib/stripe/params/quote_create_params.rb +809 -3
- data/lib/stripe/params/quote_line_list_params.rb +22 -0
- data/lib/stripe/params/quote_list_lines_params.rb +22 -0
- data/lib/stripe/params/quote_list_params.rb +4 -0
- data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +22 -0
- data/lib/stripe/params/quote_mark_draft_params.rb +13 -0
- data/lib/stripe/params/quote_mark_stale_params.rb +16 -0
- data/lib/stripe/params/quote_preview_invoice_list_params.rb +22 -0
- data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +22 -0
- data/lib/stripe/params/quote_reestimate_params.rb +13 -0
- data/lib/stripe/params/quote_update_params.rb +817 -4
- data/lib/stripe/params/reserve/hold_list_params.rb +53 -0
- data/lib/stripe/params/reserve/hold_retrieve_params.rb +15 -0
- data/lib/stripe/params/reserve/plan_retrieve_params.rb +15 -0
- data/lib/stripe/params/reserve/release_list_params.rb +41 -0
- data/lib/stripe/params/reserve/release_retrieve_params.rb +15 -0
- data/lib/stripe/params/setup_intent_confirm_params.rb +108 -3
- data/lib/stripe/params/setup_intent_create_params.rb +108 -3
- data/lib/stripe/params/setup_intent_update_params.rb +108 -3
- data/lib/stripe/params/shared_payment/granted_token_create_params.rb +47 -0
- data/lib/stripe/params/shared_payment/granted_token_retrieve_params.rb +15 -0
- data/lib/stripe/params/shared_payment/granted_token_revoke_params.rb +15 -0
- data/lib/stripe/params/shared_payment/issued_token_create_params.rb +67 -0
- data/lib/stripe/params/shared_payment/issued_token_retrieve_params.rb +15 -0
- data/lib/stripe/params/shared_payment/issued_token_revoke_params.rb +15 -0
- data/lib/stripe/params/subscription_create_params.rb +170 -6
- data/lib/stripe/params/subscription_item_create_params.rb +62 -2
- data/lib/stripe/params/subscription_item_update_params.rb +45 -1
- data/lib/stripe/params/subscription_pause_params.rb +50 -0
- data/lib/stripe/params/subscription_resume_params.rb +4 -0
- data/lib/stripe/params/subscription_schedule_amend_params.rb +578 -0
- data/lib/stripe/params/subscription_schedule_create_params.rb +167 -5
- data/lib/stripe/params/subscription_schedule_update_params.rb +167 -5
- data/lib/stripe/params/subscription_update_params.rb +153 -5
- data/lib/stripe/params/tax/calculation_create_params.rb +4 -0
- data/lib/stripe/params/tax/form_list_params.rb +51 -0
- data/lib/stripe/params/tax/form_pdf_params.rb +15 -0
- data/lib/stripe/params/tax/form_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax/location_create_params.rb +54 -0
- data/lib/stripe/params/tax/location_list_params.rb +27 -0
- data/lib/stripe/params/tax/location_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax/registration_create_params.rb +104 -0
- data/lib/stripe/params/terminal/configuration_create_params.rb +13 -0
- data/lib/stripe/params/terminal/configuration_update_params.rb +13 -0
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +15 -0
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +78 -0
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +49 -0
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_revoke_params.rb +17 -0
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +25 -1
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +25 -1
- data/lib/stripe/params/transfer_create_params.rb +4 -0
- data/lib/stripe/params/treasury/financial_account_create_params.rb +8 -1
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +4 -1
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +4 -1
- data/lib/stripe/params/treasury/financial_account_update_params.rb +8 -1
- data/lib/stripe/params/treasury/outbound_payment_create_params.rb +4 -0
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +24 -0
- data/lib/stripe/params/treasury/received_credit_create_params.rb +25 -1
- data/lib/stripe/params/treasury/received_debit_create_params.rb +25 -1
- data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +74 -0
- data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +80 -0
- data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +253 -0
- data/lib/stripe/params/v2/billing/cadence_list_params.rb +43 -0
- data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/billing/cadence_update_params.rb +75 -0
- data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +257 -0
- data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +263 -0
- data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/profile_create_params.rb +37 -0
- data/lib/stripe/params/v2/billing/profile_list_params.rb +40 -0
- data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/profile_update_params.rb +35 -0
- data/lib/stripe/params/v2/core/account_create_params.rb +282 -5
- data/lib/stripe/params/v2/core/account_token_create_params.rb +13 -1
- data/lib/stripe/params/v2/core/account_update_params.rb +274 -4
- data/lib/stripe/params/v2/core/batch_job_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/core/batch_job_create_params.rb +58 -0
- data/lib/stripe/params/v2/core/batch_job_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +58 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +19 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +37 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +22 -0
- data/lib/stripe/params/v2/data/reporting/query_run_create_params.rb +31 -0
- data/lib/stripe/params/v2/data/reporting/query_run_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/extend/workflow_invoke_params.rb +17 -0
- data/lib/stripe/params/v2/extend/workflow_list_params.rb +21 -0
- data/lib/stripe/params/v2/extend/workflow_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/extend/workflow_run_list_params.rb +23 -0
- data/lib/stripe/params/v2/extend/workflow_run_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/iam/activity_log_list_params.rb +23 -0
- data/lib/stripe/params/v2/iam/activity_log_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +48 -0
- data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +28 -0
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +34 -0
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +23 -0
- data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +50 -0
- data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +44 -0
- data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +102 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +52 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +67 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +92 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +88 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +77 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +48 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +31 -0
- data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +44 -0
- data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +43 -0
- data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/transaction_list_params.rb +47 -0
- data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/network/business_profile_me_params.rb +10 -0
- data/lib/stripe/params/v2/network/business_profile_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_confirm_params.rb +10 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_create_params.rb +17 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_list_params.rb +20 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_terminate_params.rb +10 -0
- data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +23 -0
- data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +10 -0
- data/lib/stripe/params.rb +426 -0
- data/lib/stripe/resources/account.rb +259 -1
- data/lib/stripe/resources/account_notice.rb +94 -0
- data/lib/stripe/resources/account_session.rb +81 -0
- data/lib/stripe/resources/balance.rb +83 -0
- data/lib/stripe/resources/billing/alert_triggered.rb +4 -0
- data/lib/stripe/resources/billing/analytics/meter_usage.rb +33 -0
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +38 -0
- data/lib/stripe/resources/capital/financing_offer.rb +142 -0
- data/lib/stripe/resources/capital/financing_summary.rb +82 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +99 -0
- data/lib/stripe/resources/card.rb +2 -0
- data/lib/stripe/resources/charge.rb +211 -1
- data/lib/stripe/resources/checkout/session.rb +75 -3
- data/lib/stripe/resources/confirmation_token.rb +131 -0
- data/lib/stripe/resources/coupon.rb +26 -1
- data/lib/stripe/resources/credit_note_line_item.rb +18 -0
- data/lib/stripe/resources/customer_session.rb +36 -0
- data/lib/stripe/resources/dispute.rb +22 -0
- data/lib/stripe/resources/event.rb +64 -1
- data/lib/stripe/resources/financial_connections/account.rb +57 -0
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +35 -0
- data/lib/stripe/resources/financial_connections/authorization.rb +82 -0
- data/lib/stripe/resources/financial_connections/institution.rb +127 -0
- data/lib/stripe/resources/financial_connections/session.rb +125 -1
- data/lib/stripe/resources/fx_quote.rb +147 -0
- data/lib/stripe/resources/invoice.rb +117 -1
- data/lib/stripe/resources/invoice_item.rb +2 -0
- data/lib/stripe/resources/invoice_line_item.rb +40 -0
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +263 -0
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +71 -0
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +51 -0
- data/lib/stripe/resources/issuing/settlement.rb +61 -0
- data/lib/stripe/resources/issuing/transaction.rb +2 -0
- data/lib/stripe/resources/line_item.rb +42 -0
- data/lib/stripe/resources/mandate.rb +12 -0
- data/lib/stripe/resources/margin.rb +64 -0
- data/lib/stripe/resources/order.rb +927 -0
- data/lib/stripe/resources/payment_attempt_record.rb +177 -1
- data/lib/stripe/resources/payment_intent.rb +1561 -8
- data/lib/stripe/resources/payment_method.rb +135 -0
- data/lib/stripe/resources/payment_method_configuration.rb +170 -0
- data/lib/stripe/resources/payment_record.rb +177 -1
- data/lib/stripe/resources/price.rb +20 -0
- data/lib/stripe/resources/privacy/redaction_job.rb +189 -0
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +49 -0
- data/lib/stripe/resources/product.rb +18 -0
- data/lib/stripe/resources/product_catalog/trial_offer.rb +106 -0
- data/lib/stripe/resources/quote.rb +569 -2
- data/lib/stripe/resources/quote_line.rb +525 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +1183 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +736 -0
- data/lib/stripe/resources/refund.rb +18 -0
- data/lib/stripe/resources/reserve/hold.rb +7 -0
- data/lib/stripe/resources/reserve/release.rb +12 -0
- data/lib/stripe/resources/setup_attempt.rb +35 -0
- data/lib/stripe/resources/setup_intent.rb +22 -1
- data/lib/stripe/resources/shared_payment/granted_token.rb +1792 -0
- data/lib/stripe/resources/shared_payment/issued_token.rb +291 -0
- data/lib/stripe/resources/source.rb +38 -0
- data/lib/stripe/resources/subscription.rb +167 -0
- data/lib/stripe/resources/subscription_item.rb +41 -1
- data/lib/stripe/resources/subscription_schedule.rb +198 -3
- data/lib/stripe/resources/tax/calculation_line_item.rb +2 -0
- data/lib/stripe/resources/tax/form.rb +264 -0
- data/lib/stripe/resources/tax/location.rb +72 -0
- data/lib/stripe/resources/tax/registration.rb +128 -0
- data/lib/stripe/resources/tax_code.rb +15 -1
- data/lib/stripe/resources/terminal/configuration.rb +16 -0
- data/lib/stripe/resources/terminal/reader.rb +8 -0
- data/lib/stripe/resources/terminal/reader_collected_data.rb +47 -0
- data/lib/stripe/resources/transfer.rb +2 -0
- data/lib/stripe/resources/treasury/financial_account.rb +2 -0
- data/lib/stripe/resources/treasury/financial_account_features.rb +2 -0
- data/lib/stripe/resources/treasury/outbound_payment.rb +2 -0
- data/lib/stripe/resources/treasury/outbound_transfer.rb +30 -0
- data/lib/stripe/resources/treasury/received_credit.rb +30 -0
- data/lib/stripe/resources/treasury/received_debit.rb +32 -0
- data/lib/stripe/resources/v2/billing/bill_setting.rb +102 -0
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +91 -0
- data/lib/stripe/resources/v2/billing/cadence.rb +710 -0
- data/lib/stripe/resources/v2/billing/collection_setting.rb +327 -0
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +316 -0
- data/lib/stripe/resources/v2/billing/profile.rb +47 -0
- data/lib/stripe/resources/v2/core/account.rb +597 -3
- data/lib/stripe/resources/v2/core/batch_job.rb +488 -0
- data/lib/stripe/resources/v2/core/event_notification.rb +1 -0
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +136 -0
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +105 -0
- data/lib/stripe/resources/v2/data/reporting/query_run.rb +142 -0
- data/lib/stripe/resources/v2/extend/workflow.rb +80 -0
- data/lib/stripe/resources/v2/extend/workflow_run.rb +158 -0
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +29 -0
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +31 -0
- data/lib/stripe/resources/v2/iam/activity_log.rb +187 -0
- data/lib/stripe/resources/v2/money_management/adjustment.rb +67 -0
- data/lib/stripe/resources/v2/money_management/financial_account.rb +140 -0
- data/lib/stripe/resources/v2/money_management/financial_address.rb +160 -0
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +181 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +219 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +144 -0
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +69 -0
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +196 -0
- data/lib/stripe/resources/v2/money_management/payout_method.rb +145 -0
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +83 -0
- data/lib/stripe/resources/v2/money_management/received_credit.rb +230 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +136 -0
- data/lib/stripe/resources/v2/money_management/transaction.rb +135 -0
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +105 -0
- data/lib/stripe/resources/v2/network/business_profile.rb +84 -0
- data/lib/stripe/resources/v2/orchestrated_commerce/agreement.rb +93 -0
- data/lib/stripe/resources.rb +417 -0
- data/lib/stripe/services/account_notice_service.rb +39 -0
- data/lib/stripe/services/account_service.rb +15 -0
- data/lib/stripe/services/billing/analytics/meter_usage_service.rb +21 -0
- data/lib/stripe/services/billing/analytics_service.rb +15 -0
- data/lib/stripe/services/billing_service.rb +2 -1
- data/lib/stripe/services/capital/financing_offer_service.rb +42 -0
- data/lib/stripe/services/capital/financing_summary_service.rb +19 -0
- data/lib/stripe/services/capital/financing_transaction_service.rb +31 -0
- data/lib/stripe/services/capital_service.rb +15 -0
- data/lib/stripe/services/coupon_service.rb +14 -0
- data/lib/stripe/services/customer_service.rb +15 -0
- data/lib/stripe/services/external_account_service.rb +68 -0
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +19 -0
- data/lib/stripe/services/financial_connections/account_service.rb +3 -1
- data/lib/stripe/services/financial_connections/authorization_service.rb +19 -0
- data/lib/stripe/services/financial_connections/institution_service.rb +30 -0
- data/lib/stripe/services/financial_connections_service.rb +3 -1
- data/lib/stripe/services/fx_quote_service.rb +27 -0
- data/lib/stripe/services/invoice_service.rb +11 -0
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +74 -0
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +30 -0
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +30 -0
- data/lib/stripe/services/issuing_service.rb +5 -1
- data/lib/stripe/services/mandate_service.rb +5 -0
- data/lib/stripe/services/margin_service.rb +50 -0
- data/lib/stripe/services/order_service.rb +53 -0
- data/lib/stripe/services/payment_intent_service.rb +37 -0
- data/lib/stripe/services/privacy/redaction_job_service.rb +104 -0
- data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +19 -0
- data/lib/stripe/services/privacy_service.rb +13 -0
- data/lib/stripe/services/product_catalog/trial_offer_service.rb +19 -0
- data/lib/stripe/services/product_catalog_service.rb +13 -0
- data/lib/stripe/services/promotion_code_service.rb +29 -0
- data/lib/stripe/services/quote_line_service.rb +17 -0
- data/lib/stripe/services/quote_preview_invoice_service.rb +17 -0
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +17 -0
- data/lib/stripe/services/quote_service.rb +49 -1
- data/lib/stripe/services/reserve/hold_service.rb +30 -0
- data/lib/stripe/services/reserve/plan_service.rb +19 -0
- data/lib/stripe/services/reserve/release_service.rb +30 -0
- data/lib/stripe/services/reserve_service.rb +15 -0
- data/lib/stripe/services/shared_payment/granted_token_service.rb +19 -0
- data/lib/stripe/services/shared_payment/issued_token_service.rb +41 -0
- data/lib/stripe/services/shared_payment_service.rb +14 -0
- data/lib/stripe/services/subscription_schedule_service.rb +11 -0
- data/lib/stripe/services/subscription_service.rb +56 -0
- data/lib/stripe/services/tax/form_service.rb +37 -0
- data/lib/stripe/services/tax/location_service.rb +45 -0
- data/lib/stripe/services/tax_service.rb +3 -1
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +19 -0
- data/lib/stripe/services/terminal_service.rb +2 -1
- data/lib/stripe/services/test_helpers/shared_payment/granted_token_service.rb +32 -0
- data/lib/stripe/services/test_helpers/shared_payment_service.rb +15 -0
- data/lib/stripe/services/test_helpers_service.rb +2 -1
- data/lib/stripe/services/v1_services.rb +11 -1
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +61 -0
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/cadence_service.rb +65 -0
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +69 -0
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/profile_service.rb +54 -0
- data/lib/stripe/services/v2/billing_service.rb +5 -1
- data/lib/stripe/services/v2/core/batch_job_service.rb +43 -0
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +85 -0
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +101 -0
- data/lib/stripe/services/v2/core/vault_service.rb +18 -0
- data/lib/stripe/services/v2/core_service.rb +3 -1
- data/lib/stripe/services/v2/data/reporting/query_run_service.rb +35 -0
- data/lib/stripe/services/v2/data/reporting_service.rb +17 -0
- data/lib/stripe/services/v2/data_service.rb +15 -0
- data/lib/stripe/services/v2/extend/workflow_run_service.rb +32 -0
- data/lib/stripe/services/v2/extend/workflow_service.rb +45 -0
- data/lib/stripe/services/v2/extend_service.rb +16 -0
- data/lib/stripe/services/v2/iam/activity_log_service.rb +32 -0
- data/lib/stripe/services/v2/iam_service.rb +15 -0
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +70 -0
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +46 -0
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +45 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +34 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +62 -0
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +75 -0
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +60 -0
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +66 -0
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +23 -0
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/transaction_service.rb +32 -0
- data/lib/stripe/services/v2/money_management_service.rb +31 -0
- data/lib/stripe/services/v2/network/business_profile_service.rb +32 -0
- data/lib/stripe/services/v2/network_service.rb +15 -0
- data/lib/stripe/services/v2/orchestrated_commerce/agreement_service.rb +65 -0
- data/lib/stripe/services/v2/orchestrated_commerce_service.rb +15 -0
- data/lib/stripe/services/v2/test_helper_service.rb +15 -0
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +36 -0
- data/lib/stripe/services/v2_services.rb +8 -1
- data/lib/stripe/services.rb +209 -0
- data/lib/stripe/stripe_client.rb +8 -1
- data/lib/stripe/stripe_configuration.rb +3 -1
- data/lib/stripe/stripe_event_notification_handler.rb +582 -0
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/util.rb +7 -1
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +54 -0
- data/rbi/stripe/resources/v2/core/event_notification.rbi +3 -0
- data/rbi/stripe/stripe_client.rbi +13 -0
- data/rbi/stripe.rbi +124159 -57389
- metadata +378 -3
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
module Reserve
|
|
6
|
+
class HoldListParams < ::Stripe::RequestParams
|
|
7
|
+
# Only return ReserveHolds associated with the currency specified by this currency code. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
8
|
+
attr_accessor :currency
|
|
9
|
+
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
|
10
|
+
attr_accessor :ending_before
|
|
11
|
+
# Specifies which fields in the response should be expanded.
|
|
12
|
+
attr_accessor :expand
|
|
13
|
+
# Only return ReserveHolds that are releasable.
|
|
14
|
+
attr_accessor :is_releasable
|
|
15
|
+
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
|
16
|
+
attr_accessor :limit
|
|
17
|
+
# Attribute for param field reason
|
|
18
|
+
attr_accessor :reason
|
|
19
|
+
# Only return ReserveHolds associated with the ReservePlan specified by this ReservePlan ID.
|
|
20
|
+
attr_accessor :reserve_plan
|
|
21
|
+
# Only return ReserveHolds associated with the ReserveRelease specified by this ReserveRelease ID.
|
|
22
|
+
attr_accessor :reserve_release
|
|
23
|
+
# Only return ReserveHolds associated with the Charge specified by this source charge ID.
|
|
24
|
+
attr_accessor :source_charge
|
|
25
|
+
# A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
|
|
26
|
+
attr_accessor :starting_after
|
|
27
|
+
|
|
28
|
+
def initialize(
|
|
29
|
+
currency: nil,
|
|
30
|
+
ending_before: nil,
|
|
31
|
+
expand: nil,
|
|
32
|
+
is_releasable: nil,
|
|
33
|
+
limit: nil,
|
|
34
|
+
reason: nil,
|
|
35
|
+
reserve_plan: nil,
|
|
36
|
+
reserve_release: nil,
|
|
37
|
+
source_charge: nil,
|
|
38
|
+
starting_after: nil
|
|
39
|
+
)
|
|
40
|
+
@currency = currency
|
|
41
|
+
@ending_before = ending_before
|
|
42
|
+
@expand = expand
|
|
43
|
+
@is_releasable = is_releasable
|
|
44
|
+
@limit = limit
|
|
45
|
+
@reason = reason
|
|
46
|
+
@reserve_plan = reserve_plan
|
|
47
|
+
@reserve_release = reserve_release
|
|
48
|
+
@source_charge = source_charge
|
|
49
|
+
@starting_after = starting_after
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
module Reserve
|
|
6
|
+
class HoldRetrieveParams < ::Stripe::RequestParams
|
|
7
|
+
# Specifies which fields in the response should be expanded.
|
|
8
|
+
attr_accessor :expand
|
|
9
|
+
|
|
10
|
+
def initialize(expand: nil)
|
|
11
|
+
@expand = expand
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
module Reserve
|
|
6
|
+
class PlanRetrieveParams < ::Stripe::RequestParams
|
|
7
|
+
# Specifies which fields in the response should be expanded.
|
|
8
|
+
attr_accessor :expand
|
|
9
|
+
|
|
10
|
+
def initialize(expand: nil)
|
|
11
|
+
@expand = expand
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
module Reserve
|
|
6
|
+
class ReleaseListParams < ::Stripe::RequestParams
|
|
7
|
+
# Only return ReserveReleases associated with the currency specified by this currency code. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
8
|
+
attr_accessor :currency
|
|
9
|
+
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
|
10
|
+
attr_accessor :ending_before
|
|
11
|
+
# Specifies which fields in the response should be expanded.
|
|
12
|
+
attr_accessor :expand
|
|
13
|
+
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
|
14
|
+
attr_accessor :limit
|
|
15
|
+
# Only return ReserveReleases associated with the ReserveHold specified by this ReserveHold ID.
|
|
16
|
+
attr_accessor :reserve_hold
|
|
17
|
+
# Only return ReserveReleases associated with the ReservePlan specified by this ReservePlan ID.
|
|
18
|
+
attr_accessor :reserve_plan
|
|
19
|
+
# A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
|
|
20
|
+
attr_accessor :starting_after
|
|
21
|
+
|
|
22
|
+
def initialize(
|
|
23
|
+
currency: nil,
|
|
24
|
+
ending_before: nil,
|
|
25
|
+
expand: nil,
|
|
26
|
+
limit: nil,
|
|
27
|
+
reserve_hold: nil,
|
|
28
|
+
reserve_plan: nil,
|
|
29
|
+
starting_after: nil
|
|
30
|
+
)
|
|
31
|
+
@currency = currency
|
|
32
|
+
@ending_before = ending_before
|
|
33
|
+
@expand = expand
|
|
34
|
+
@limit = limit
|
|
35
|
+
@reserve_hold = reserve_hold
|
|
36
|
+
@reserve_plan = reserve_plan
|
|
37
|
+
@starting_after = starting_after
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
module Reserve
|
|
6
|
+
class ReleaseRetrieveParams < ::Stripe::RequestParams
|
|
7
|
+
# Specifies which fields in the response should be expanded.
|
|
8
|
+
attr_accessor :expand
|
|
9
|
+
|
|
10
|
+
def initialize(expand: nil)
|
|
11
|
+
@expand = expand
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -180,8 +180,18 @@ module Stripe
|
|
|
180
180
|
end
|
|
181
181
|
|
|
182
182
|
class Giropay < ::Stripe::RequestParams; end
|
|
183
|
+
class Gopay < ::Stripe::RequestParams; end
|
|
183
184
|
class Grabpay < ::Stripe::RequestParams; end
|
|
184
185
|
|
|
186
|
+
class IdBankTransfer < ::Stripe::RequestParams
|
|
187
|
+
# Bank where the account is held.
|
|
188
|
+
attr_accessor :bank
|
|
189
|
+
|
|
190
|
+
def initialize(bank: nil)
|
|
191
|
+
@bank = bank
|
|
192
|
+
end
|
|
193
|
+
end
|
|
194
|
+
|
|
185
195
|
class Ideal < ::Stripe::RequestParams
|
|
186
196
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
187
197
|
attr_accessor :bank
|
|
@@ -279,6 +289,7 @@ module Stripe
|
|
|
279
289
|
class Payco < ::Stripe::RequestParams; end
|
|
280
290
|
class Paynow < ::Stripe::RequestParams; end
|
|
281
291
|
class Paypal < ::Stripe::RequestParams; end
|
|
292
|
+
class Paypay < ::Stripe::RequestParams; end
|
|
282
293
|
|
|
283
294
|
class Payto < ::Stripe::RequestParams
|
|
284
295
|
# The account number for the bank account.
|
|
@@ -297,6 +308,7 @@ module Stripe
|
|
|
297
308
|
|
|
298
309
|
class Pix < ::Stripe::RequestParams; end
|
|
299
310
|
class Promptpay < ::Stripe::RequestParams; end
|
|
311
|
+
class Qris < ::Stripe::RequestParams; end
|
|
300
312
|
|
|
301
313
|
class RadarOptions < ::Stripe::RequestParams
|
|
302
314
|
# A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
@@ -307,6 +319,29 @@ module Stripe
|
|
|
307
319
|
end
|
|
308
320
|
end
|
|
309
321
|
|
|
322
|
+
class Rechnung < ::Stripe::RequestParams
|
|
323
|
+
class Dob < ::Stripe::RequestParams
|
|
324
|
+
# The day of birth, between 1 and 31.
|
|
325
|
+
attr_accessor :day
|
|
326
|
+
# The month of birth, between 1 and 12.
|
|
327
|
+
attr_accessor :month
|
|
328
|
+
# The four-digit year of birth.
|
|
329
|
+
attr_accessor :year
|
|
330
|
+
|
|
331
|
+
def initialize(day: nil, month: nil, year: nil)
|
|
332
|
+
@day = day
|
|
333
|
+
@month = month
|
|
334
|
+
@year = year
|
|
335
|
+
end
|
|
336
|
+
end
|
|
337
|
+
# Customer's date of birth
|
|
338
|
+
attr_accessor :dob
|
|
339
|
+
|
|
340
|
+
def initialize(dob: nil)
|
|
341
|
+
@dob = dob
|
|
342
|
+
end
|
|
343
|
+
end
|
|
344
|
+
|
|
310
345
|
class RevolutPay < ::Stripe::RequestParams; end
|
|
311
346
|
class SamsungPay < ::Stripe::RequestParams; end
|
|
312
347
|
class Satispay < ::Stripe::RequestParams; end
|
|
@@ -321,6 +356,8 @@ module Stripe
|
|
|
321
356
|
end
|
|
322
357
|
end
|
|
323
358
|
|
|
359
|
+
class Shopeepay < ::Stripe::RequestParams; end
|
|
360
|
+
|
|
324
361
|
class Sofort < ::Stripe::RequestParams
|
|
325
362
|
# Two-letter ISO code representing the country the bank account is located in.
|
|
326
363
|
attr_accessor :country
|
|
@@ -330,6 +367,15 @@ module Stripe
|
|
|
330
367
|
end
|
|
331
368
|
end
|
|
332
369
|
|
|
370
|
+
class StripeBalance < ::Stripe::RequestParams
|
|
371
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
|
372
|
+
attr_accessor :account
|
|
373
|
+
|
|
374
|
+
def initialize(account: nil)
|
|
375
|
+
@account = account
|
|
376
|
+
end
|
|
377
|
+
end
|
|
378
|
+
|
|
333
379
|
class Sunbit < ::Stripe::RequestParams; end
|
|
334
380
|
class Swish < ::Stripe::RequestParams; end
|
|
335
381
|
class Twint < ::Stripe::RequestParams; end
|
|
@@ -431,8 +477,12 @@ module Stripe
|
|
|
431
477
|
attr_accessor :fpx
|
|
432
478
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
|
433
479
|
attr_accessor :giropay
|
|
480
|
+
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
481
|
+
attr_accessor :gopay
|
|
434
482
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
435
483
|
attr_accessor :grabpay
|
|
484
|
+
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
485
|
+
attr_accessor :id_bank_transfer
|
|
436
486
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
437
487
|
attr_accessor :ideal
|
|
438
488
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
|
@@ -471,14 +521,20 @@ module Stripe
|
|
|
471
521
|
attr_accessor :paynow
|
|
472
522
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
|
473
523
|
attr_accessor :paypal
|
|
524
|
+
# If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
|
525
|
+
attr_accessor :paypay
|
|
474
526
|
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
475
527
|
attr_accessor :payto
|
|
476
528
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
477
529
|
attr_accessor :pix
|
|
478
530
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
|
479
531
|
attr_accessor :promptpay
|
|
532
|
+
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
533
|
+
attr_accessor :qris
|
|
480
534
|
# Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
|
|
481
535
|
attr_accessor :radar_options
|
|
536
|
+
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
537
|
+
attr_accessor :rechnung
|
|
482
538
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
483
539
|
attr_accessor :revolut_pay
|
|
484
540
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
|
@@ -489,8 +545,14 @@ module Stripe
|
|
|
489
545
|
attr_accessor :scalapay
|
|
490
546
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
|
491
547
|
attr_accessor :sepa_debit
|
|
548
|
+
# ID of the SharedPaymentGrantedToken used to confirm this PaymentIntent.
|
|
549
|
+
attr_accessor :shared_payment_granted_token
|
|
550
|
+
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
551
|
+
attr_accessor :shopeepay
|
|
492
552
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
493
553
|
attr_accessor :sofort
|
|
554
|
+
# This hash contains details about the Stripe balance payment method.
|
|
555
|
+
attr_accessor :stripe_balance
|
|
494
556
|
# If this is a Sunbit PaymentMethod, this hash contains details about the Sunbit payment method.
|
|
495
557
|
attr_accessor :sunbit
|
|
496
558
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
@@ -530,7 +592,9 @@ module Stripe
|
|
|
530
592
|
eps: nil,
|
|
531
593
|
fpx: nil,
|
|
532
594
|
giropay: nil,
|
|
595
|
+
gopay: nil,
|
|
533
596
|
grabpay: nil,
|
|
597
|
+
id_bank_transfer: nil,
|
|
534
598
|
ideal: nil,
|
|
535
599
|
interac_present: nil,
|
|
536
600
|
kakao_pay: nil,
|
|
@@ -550,16 +614,22 @@ module Stripe
|
|
|
550
614
|
payco: nil,
|
|
551
615
|
paynow: nil,
|
|
552
616
|
paypal: nil,
|
|
617
|
+
paypay: nil,
|
|
553
618
|
payto: nil,
|
|
554
619
|
pix: nil,
|
|
555
620
|
promptpay: nil,
|
|
621
|
+
qris: nil,
|
|
556
622
|
radar_options: nil,
|
|
623
|
+
rechnung: nil,
|
|
557
624
|
revolut_pay: nil,
|
|
558
625
|
samsung_pay: nil,
|
|
559
626
|
satispay: nil,
|
|
560
627
|
scalapay: nil,
|
|
561
628
|
sepa_debit: nil,
|
|
629
|
+
shared_payment_granted_token: nil,
|
|
630
|
+
shopeepay: nil,
|
|
562
631
|
sofort: nil,
|
|
632
|
+
stripe_balance: nil,
|
|
563
633
|
sunbit: nil,
|
|
564
634
|
swish: nil,
|
|
565
635
|
twint: nil,
|
|
@@ -590,7 +660,9 @@ module Stripe
|
|
|
590
660
|
@eps = eps
|
|
591
661
|
@fpx = fpx
|
|
592
662
|
@giropay = giropay
|
|
663
|
+
@gopay = gopay
|
|
593
664
|
@grabpay = grabpay
|
|
665
|
+
@id_bank_transfer = id_bank_transfer
|
|
594
666
|
@ideal = ideal
|
|
595
667
|
@interac_present = interac_present
|
|
596
668
|
@kakao_pay = kakao_pay
|
|
@@ -610,16 +682,22 @@ module Stripe
|
|
|
610
682
|
@payco = payco
|
|
611
683
|
@paynow = paynow
|
|
612
684
|
@paypal = paypal
|
|
685
|
+
@paypay = paypay
|
|
613
686
|
@payto = payto
|
|
614
687
|
@pix = pix
|
|
615
688
|
@promptpay = promptpay
|
|
689
|
+
@qris = qris
|
|
616
690
|
@radar_options = radar_options
|
|
691
|
+
@rechnung = rechnung
|
|
617
692
|
@revolut_pay = revolut_pay
|
|
618
693
|
@samsung_pay = samsung_pay
|
|
619
694
|
@satispay = satispay
|
|
620
695
|
@scalapay = scalapay
|
|
621
696
|
@sepa_debit = sepa_debit
|
|
697
|
+
@shared_payment_granted_token = shared_payment_granted_token
|
|
698
|
+
@shopeepay = shopeepay
|
|
622
699
|
@sofort = sofort
|
|
700
|
+
@stripe_balance = stripe_balance
|
|
623
701
|
@sunbit = sunbit
|
|
624
702
|
@swish = swish
|
|
625
703
|
@twint = twint
|
|
@@ -939,9 +1017,15 @@ module Stripe
|
|
|
939
1017
|
class Paypal < ::Stripe::RequestParams
|
|
940
1018
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
941
1019
|
attr_accessor :billing_agreement_id
|
|
1020
|
+
# Attribute for param field currency
|
|
1021
|
+
attr_accessor :currency
|
|
1022
|
+
# The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
|
1023
|
+
attr_accessor :subsellers
|
|
942
1024
|
|
|
943
|
-
def initialize(billing_agreement_id: nil)
|
|
1025
|
+
def initialize(billing_agreement_id: nil, currency: nil, subsellers: nil)
|
|
944
1026
|
@billing_agreement_id = billing_agreement_id
|
|
1027
|
+
@currency = currency
|
|
1028
|
+
@subsellers = subsellers
|
|
945
1029
|
end
|
|
946
1030
|
end
|
|
947
1031
|
|
|
@@ -1086,13 +1170,27 @@ module Stripe
|
|
|
1086
1170
|
class Filters < ::Stripe::RequestParams
|
|
1087
1171
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
1088
1172
|
attr_accessor :account_subcategories
|
|
1173
|
+
# ID of the institution to use to filter for selectable accounts.
|
|
1174
|
+
attr_accessor :institution
|
|
1089
1175
|
|
|
1090
|
-
def initialize(account_subcategories: nil)
|
|
1176
|
+
def initialize(account_subcategories: nil, institution: nil)
|
|
1091
1177
|
@account_subcategories = account_subcategories
|
|
1178
|
+
@institution = institution
|
|
1179
|
+
end
|
|
1180
|
+
end
|
|
1181
|
+
|
|
1182
|
+
class ManualEntry < ::Stripe::RequestParams
|
|
1183
|
+
# Settings for configuring manual entry of account details.
|
|
1184
|
+
attr_accessor :mode
|
|
1185
|
+
|
|
1186
|
+
def initialize(mode: nil)
|
|
1187
|
+
@mode = mode
|
|
1092
1188
|
end
|
|
1093
1189
|
end
|
|
1094
1190
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
|
1095
1191
|
attr_accessor :filters
|
|
1192
|
+
# Customize manual entry behavior
|
|
1193
|
+
attr_accessor :manual_entry
|
|
1096
1194
|
# The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
|
1097
1195
|
attr_accessor :permissions
|
|
1098
1196
|
# List of data features that you would like to retrieve upon account creation.
|
|
@@ -1100,8 +1198,15 @@ module Stripe
|
|
|
1100
1198
|
# For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
|
|
1101
1199
|
attr_accessor :return_url
|
|
1102
1200
|
|
|
1103
|
-
def initialize(
|
|
1201
|
+
def initialize(
|
|
1202
|
+
filters: nil,
|
|
1203
|
+
manual_entry: nil,
|
|
1204
|
+
permissions: nil,
|
|
1205
|
+
prefetch: nil,
|
|
1206
|
+
return_url: nil
|
|
1207
|
+
)
|
|
1104
1208
|
@filters = filters
|
|
1209
|
+
@manual_entry = manual_entry
|
|
1105
1210
|
@permissions = permissions
|
|
1106
1211
|
@prefetch = prefetch
|
|
1107
1212
|
@return_url = return_url
|
|
@@ -194,8 +194,18 @@ module Stripe
|
|
|
194
194
|
end
|
|
195
195
|
|
|
196
196
|
class Giropay < ::Stripe::RequestParams; end
|
|
197
|
+
class Gopay < ::Stripe::RequestParams; end
|
|
197
198
|
class Grabpay < ::Stripe::RequestParams; end
|
|
198
199
|
|
|
200
|
+
class IdBankTransfer < ::Stripe::RequestParams
|
|
201
|
+
# Bank where the account is held.
|
|
202
|
+
attr_accessor :bank
|
|
203
|
+
|
|
204
|
+
def initialize(bank: nil)
|
|
205
|
+
@bank = bank
|
|
206
|
+
end
|
|
207
|
+
end
|
|
208
|
+
|
|
199
209
|
class Ideal < ::Stripe::RequestParams
|
|
200
210
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
201
211
|
attr_accessor :bank
|
|
@@ -293,6 +303,7 @@ module Stripe
|
|
|
293
303
|
class Payco < ::Stripe::RequestParams; end
|
|
294
304
|
class Paynow < ::Stripe::RequestParams; end
|
|
295
305
|
class Paypal < ::Stripe::RequestParams; end
|
|
306
|
+
class Paypay < ::Stripe::RequestParams; end
|
|
296
307
|
|
|
297
308
|
class Payto < ::Stripe::RequestParams
|
|
298
309
|
# The account number for the bank account.
|
|
@@ -311,6 +322,7 @@ module Stripe
|
|
|
311
322
|
|
|
312
323
|
class Pix < ::Stripe::RequestParams; end
|
|
313
324
|
class Promptpay < ::Stripe::RequestParams; end
|
|
325
|
+
class Qris < ::Stripe::RequestParams; end
|
|
314
326
|
|
|
315
327
|
class RadarOptions < ::Stripe::RequestParams
|
|
316
328
|
# A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
@@ -321,6 +333,29 @@ module Stripe
|
|
|
321
333
|
end
|
|
322
334
|
end
|
|
323
335
|
|
|
336
|
+
class Rechnung < ::Stripe::RequestParams
|
|
337
|
+
class Dob < ::Stripe::RequestParams
|
|
338
|
+
# The day of birth, between 1 and 31.
|
|
339
|
+
attr_accessor :day
|
|
340
|
+
# The month of birth, between 1 and 12.
|
|
341
|
+
attr_accessor :month
|
|
342
|
+
# The four-digit year of birth.
|
|
343
|
+
attr_accessor :year
|
|
344
|
+
|
|
345
|
+
def initialize(day: nil, month: nil, year: nil)
|
|
346
|
+
@day = day
|
|
347
|
+
@month = month
|
|
348
|
+
@year = year
|
|
349
|
+
end
|
|
350
|
+
end
|
|
351
|
+
# Customer's date of birth
|
|
352
|
+
attr_accessor :dob
|
|
353
|
+
|
|
354
|
+
def initialize(dob: nil)
|
|
355
|
+
@dob = dob
|
|
356
|
+
end
|
|
357
|
+
end
|
|
358
|
+
|
|
324
359
|
class RevolutPay < ::Stripe::RequestParams; end
|
|
325
360
|
class SamsungPay < ::Stripe::RequestParams; end
|
|
326
361
|
class Satispay < ::Stripe::RequestParams; end
|
|
@@ -335,6 +370,8 @@ module Stripe
|
|
|
335
370
|
end
|
|
336
371
|
end
|
|
337
372
|
|
|
373
|
+
class Shopeepay < ::Stripe::RequestParams; end
|
|
374
|
+
|
|
338
375
|
class Sofort < ::Stripe::RequestParams
|
|
339
376
|
# Two-letter ISO code representing the country the bank account is located in.
|
|
340
377
|
attr_accessor :country
|
|
@@ -344,6 +381,15 @@ module Stripe
|
|
|
344
381
|
end
|
|
345
382
|
end
|
|
346
383
|
|
|
384
|
+
class StripeBalance < ::Stripe::RequestParams
|
|
385
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
|
386
|
+
attr_accessor :account
|
|
387
|
+
|
|
388
|
+
def initialize(account: nil)
|
|
389
|
+
@account = account
|
|
390
|
+
end
|
|
391
|
+
end
|
|
392
|
+
|
|
347
393
|
class Sunbit < ::Stripe::RequestParams; end
|
|
348
394
|
class Swish < ::Stripe::RequestParams; end
|
|
349
395
|
class Twint < ::Stripe::RequestParams; end
|
|
@@ -445,8 +491,12 @@ module Stripe
|
|
|
445
491
|
attr_accessor :fpx
|
|
446
492
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
|
447
493
|
attr_accessor :giropay
|
|
494
|
+
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
495
|
+
attr_accessor :gopay
|
|
448
496
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
449
497
|
attr_accessor :grabpay
|
|
498
|
+
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
499
|
+
attr_accessor :id_bank_transfer
|
|
450
500
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
451
501
|
attr_accessor :ideal
|
|
452
502
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
|
@@ -485,14 +535,20 @@ module Stripe
|
|
|
485
535
|
attr_accessor :paynow
|
|
486
536
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
|
487
537
|
attr_accessor :paypal
|
|
538
|
+
# If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
|
539
|
+
attr_accessor :paypay
|
|
488
540
|
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
489
541
|
attr_accessor :payto
|
|
490
542
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
491
543
|
attr_accessor :pix
|
|
492
544
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
|
493
545
|
attr_accessor :promptpay
|
|
546
|
+
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
547
|
+
attr_accessor :qris
|
|
494
548
|
# Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
|
|
495
549
|
attr_accessor :radar_options
|
|
550
|
+
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
551
|
+
attr_accessor :rechnung
|
|
496
552
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
497
553
|
attr_accessor :revolut_pay
|
|
498
554
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
|
@@ -503,8 +559,14 @@ module Stripe
|
|
|
503
559
|
attr_accessor :scalapay
|
|
504
560
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
|
505
561
|
attr_accessor :sepa_debit
|
|
562
|
+
# ID of the SharedPaymentGrantedToken used to confirm this PaymentIntent.
|
|
563
|
+
attr_accessor :shared_payment_granted_token
|
|
564
|
+
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
565
|
+
attr_accessor :shopeepay
|
|
506
566
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
507
567
|
attr_accessor :sofort
|
|
568
|
+
# This hash contains details about the Stripe balance payment method.
|
|
569
|
+
attr_accessor :stripe_balance
|
|
508
570
|
# If this is a Sunbit PaymentMethod, this hash contains details about the Sunbit payment method.
|
|
509
571
|
attr_accessor :sunbit
|
|
510
572
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
@@ -544,7 +606,9 @@ module Stripe
|
|
|
544
606
|
eps: nil,
|
|
545
607
|
fpx: nil,
|
|
546
608
|
giropay: nil,
|
|
609
|
+
gopay: nil,
|
|
547
610
|
grabpay: nil,
|
|
611
|
+
id_bank_transfer: nil,
|
|
548
612
|
ideal: nil,
|
|
549
613
|
interac_present: nil,
|
|
550
614
|
kakao_pay: nil,
|
|
@@ -564,16 +628,22 @@ module Stripe
|
|
|
564
628
|
payco: nil,
|
|
565
629
|
paynow: nil,
|
|
566
630
|
paypal: nil,
|
|
631
|
+
paypay: nil,
|
|
567
632
|
payto: nil,
|
|
568
633
|
pix: nil,
|
|
569
634
|
promptpay: nil,
|
|
635
|
+
qris: nil,
|
|
570
636
|
radar_options: nil,
|
|
637
|
+
rechnung: nil,
|
|
571
638
|
revolut_pay: nil,
|
|
572
639
|
samsung_pay: nil,
|
|
573
640
|
satispay: nil,
|
|
574
641
|
scalapay: nil,
|
|
575
642
|
sepa_debit: nil,
|
|
643
|
+
shared_payment_granted_token: nil,
|
|
644
|
+
shopeepay: nil,
|
|
576
645
|
sofort: nil,
|
|
646
|
+
stripe_balance: nil,
|
|
577
647
|
sunbit: nil,
|
|
578
648
|
swish: nil,
|
|
579
649
|
twint: nil,
|
|
@@ -604,7 +674,9 @@ module Stripe
|
|
|
604
674
|
@eps = eps
|
|
605
675
|
@fpx = fpx
|
|
606
676
|
@giropay = giropay
|
|
677
|
+
@gopay = gopay
|
|
607
678
|
@grabpay = grabpay
|
|
679
|
+
@id_bank_transfer = id_bank_transfer
|
|
608
680
|
@ideal = ideal
|
|
609
681
|
@interac_present = interac_present
|
|
610
682
|
@kakao_pay = kakao_pay
|
|
@@ -624,16 +696,22 @@ module Stripe
|
|
|
624
696
|
@payco = payco
|
|
625
697
|
@paynow = paynow
|
|
626
698
|
@paypal = paypal
|
|
699
|
+
@paypay = paypay
|
|
627
700
|
@payto = payto
|
|
628
701
|
@pix = pix
|
|
629
702
|
@promptpay = promptpay
|
|
703
|
+
@qris = qris
|
|
630
704
|
@radar_options = radar_options
|
|
705
|
+
@rechnung = rechnung
|
|
631
706
|
@revolut_pay = revolut_pay
|
|
632
707
|
@samsung_pay = samsung_pay
|
|
633
708
|
@satispay = satispay
|
|
634
709
|
@scalapay = scalapay
|
|
635
710
|
@sepa_debit = sepa_debit
|
|
711
|
+
@shared_payment_granted_token = shared_payment_granted_token
|
|
712
|
+
@shopeepay = shopeepay
|
|
636
713
|
@sofort = sofort
|
|
714
|
+
@stripe_balance = stripe_balance
|
|
637
715
|
@sunbit = sunbit
|
|
638
716
|
@swish = swish
|
|
639
717
|
@twint = twint
|
|
@@ -953,9 +1031,15 @@ module Stripe
|
|
|
953
1031
|
class Paypal < ::Stripe::RequestParams
|
|
954
1032
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
955
1033
|
attr_accessor :billing_agreement_id
|
|
1034
|
+
# Attribute for param field currency
|
|
1035
|
+
attr_accessor :currency
|
|
1036
|
+
# The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
|
1037
|
+
attr_accessor :subsellers
|
|
956
1038
|
|
|
957
|
-
def initialize(billing_agreement_id: nil)
|
|
1039
|
+
def initialize(billing_agreement_id: nil, currency: nil, subsellers: nil)
|
|
958
1040
|
@billing_agreement_id = billing_agreement_id
|
|
1041
|
+
@currency = currency
|
|
1042
|
+
@subsellers = subsellers
|
|
959
1043
|
end
|
|
960
1044
|
end
|
|
961
1045
|
|
|
@@ -1100,13 +1184,27 @@ module Stripe
|
|
|
1100
1184
|
class Filters < ::Stripe::RequestParams
|
|
1101
1185
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
1102
1186
|
attr_accessor :account_subcategories
|
|
1187
|
+
# ID of the institution to use to filter for selectable accounts.
|
|
1188
|
+
attr_accessor :institution
|
|
1103
1189
|
|
|
1104
|
-
def initialize(account_subcategories: nil)
|
|
1190
|
+
def initialize(account_subcategories: nil, institution: nil)
|
|
1105
1191
|
@account_subcategories = account_subcategories
|
|
1192
|
+
@institution = institution
|
|
1193
|
+
end
|
|
1194
|
+
end
|
|
1195
|
+
|
|
1196
|
+
class ManualEntry < ::Stripe::RequestParams
|
|
1197
|
+
# Settings for configuring manual entry of account details.
|
|
1198
|
+
attr_accessor :mode
|
|
1199
|
+
|
|
1200
|
+
def initialize(mode: nil)
|
|
1201
|
+
@mode = mode
|
|
1106
1202
|
end
|
|
1107
1203
|
end
|
|
1108
1204
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
|
1109
1205
|
attr_accessor :filters
|
|
1206
|
+
# Customize manual entry behavior
|
|
1207
|
+
attr_accessor :manual_entry
|
|
1110
1208
|
# The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
|
1111
1209
|
attr_accessor :permissions
|
|
1112
1210
|
# List of data features that you would like to retrieve upon account creation.
|
|
@@ -1114,8 +1212,15 @@ module Stripe
|
|
|
1114
1212
|
# For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
|
|
1115
1213
|
attr_accessor :return_url
|
|
1116
1214
|
|
|
1117
|
-
def initialize(
|
|
1215
|
+
def initialize(
|
|
1216
|
+
filters: nil,
|
|
1217
|
+
manual_entry: nil,
|
|
1218
|
+
permissions: nil,
|
|
1219
|
+
prefetch: nil,
|
|
1220
|
+
return_url: nil
|
|
1221
|
+
)
|
|
1118
1222
|
@filters = filters
|
|
1223
|
+
@manual_entry = manual_entry
|
|
1119
1224
|
@permissions = permissions
|
|
1120
1225
|
@prefetch = prefetch
|
|
1121
1226
|
@return_url = return_url
|