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
|
@@ -343,6 +343,17 @@ module Stripe
|
|
|
343
343
|
|
|
344
344
|
class PriceData < ::Stripe::RequestParams
|
|
345
345
|
class ProductData < ::Stripe::RequestParams
|
|
346
|
+
class TaxDetails < ::Stripe::RequestParams
|
|
347
|
+
# A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
|
|
348
|
+
attr_accessor :performance_location
|
|
349
|
+
# A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
350
|
+
attr_accessor :tax_code
|
|
351
|
+
|
|
352
|
+
def initialize(performance_location: nil, tax_code: nil)
|
|
353
|
+
@performance_location = performance_location
|
|
354
|
+
@tax_code = tax_code
|
|
355
|
+
end
|
|
356
|
+
end
|
|
346
357
|
# The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.
|
|
347
358
|
attr_accessor :description
|
|
348
359
|
# A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
|
|
@@ -353,6 +364,8 @@ module Stripe
|
|
|
353
364
|
attr_accessor :name
|
|
354
365
|
# A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
355
366
|
attr_accessor :tax_code
|
|
367
|
+
# Tax details for this product, including the [tax code](/tax/tax-codes) and an optional performance location.
|
|
368
|
+
attr_accessor :tax_details
|
|
356
369
|
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
|
|
357
370
|
attr_accessor :unit_label
|
|
358
371
|
|
|
@@ -362,6 +375,7 @@ module Stripe
|
|
|
362
375
|
metadata: nil,
|
|
363
376
|
name: nil,
|
|
364
377
|
tax_code: nil,
|
|
378
|
+
tax_details: nil,
|
|
365
379
|
unit_label: nil
|
|
366
380
|
)
|
|
367
381
|
@description = description
|
|
@@ -369,6 +383,7 @@ module Stripe
|
|
|
369
383
|
@metadata = metadata
|
|
370
384
|
@name = name
|
|
371
385
|
@tax_code = tax_code
|
|
386
|
+
@tax_details = tax_details
|
|
372
387
|
@unit_label = unit_label
|
|
373
388
|
end
|
|
374
389
|
end
|
|
@@ -428,6 +428,23 @@ module Stripe
|
|
|
428
428
|
end
|
|
429
429
|
end
|
|
430
430
|
|
|
431
|
+
class Gopay < ::Stripe::RequestParams
|
|
432
|
+
class DisplayPreference < ::Stripe::RequestParams
|
|
433
|
+
# The account's preference for whether or not to display this payment method.
|
|
434
|
+
attr_accessor :preference
|
|
435
|
+
|
|
436
|
+
def initialize(preference: nil)
|
|
437
|
+
@preference = preference
|
|
438
|
+
end
|
|
439
|
+
end
|
|
440
|
+
# Whether or not the payment method should be displayed.
|
|
441
|
+
attr_accessor :display_preference
|
|
442
|
+
|
|
443
|
+
def initialize(display_preference: nil)
|
|
444
|
+
@display_preference = display_preference
|
|
445
|
+
end
|
|
446
|
+
end
|
|
447
|
+
|
|
431
448
|
class Grabpay < ::Stripe::RequestParams
|
|
432
449
|
class DisplayPreference < ::Stripe::RequestParams
|
|
433
450
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -445,6 +462,23 @@ module Stripe
|
|
|
445
462
|
end
|
|
446
463
|
end
|
|
447
464
|
|
|
465
|
+
class IdBankTransfer < ::Stripe::RequestParams
|
|
466
|
+
class DisplayPreference < ::Stripe::RequestParams
|
|
467
|
+
# The account's preference for whether or not to display this payment method.
|
|
468
|
+
attr_accessor :preference
|
|
469
|
+
|
|
470
|
+
def initialize(preference: nil)
|
|
471
|
+
@preference = preference
|
|
472
|
+
end
|
|
473
|
+
end
|
|
474
|
+
# Whether or not the payment method should be displayed.
|
|
475
|
+
attr_accessor :display_preference
|
|
476
|
+
|
|
477
|
+
def initialize(display_preference: nil)
|
|
478
|
+
@display_preference = display_preference
|
|
479
|
+
end
|
|
480
|
+
end
|
|
481
|
+
|
|
448
482
|
class Ideal < ::Stripe::RequestParams
|
|
449
483
|
class DisplayPreference < ::Stripe::RequestParams
|
|
450
484
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -751,6 +785,23 @@ module Stripe
|
|
|
751
785
|
end
|
|
752
786
|
end
|
|
753
787
|
|
|
788
|
+
class Paypay < ::Stripe::RequestParams
|
|
789
|
+
class DisplayPreference < ::Stripe::RequestParams
|
|
790
|
+
# The account's preference for whether or not to display this payment method.
|
|
791
|
+
attr_accessor :preference
|
|
792
|
+
|
|
793
|
+
def initialize(preference: nil)
|
|
794
|
+
@preference = preference
|
|
795
|
+
end
|
|
796
|
+
end
|
|
797
|
+
# Whether or not the payment method should be displayed.
|
|
798
|
+
attr_accessor :display_preference
|
|
799
|
+
|
|
800
|
+
def initialize(display_preference: nil)
|
|
801
|
+
@display_preference = display_preference
|
|
802
|
+
end
|
|
803
|
+
end
|
|
804
|
+
|
|
754
805
|
class Payto < ::Stripe::RequestParams
|
|
755
806
|
class DisplayPreference < ::Stripe::RequestParams
|
|
756
807
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -802,6 +853,23 @@ module Stripe
|
|
|
802
853
|
end
|
|
803
854
|
end
|
|
804
855
|
|
|
856
|
+
class Qris < ::Stripe::RequestParams
|
|
857
|
+
class DisplayPreference < ::Stripe::RequestParams
|
|
858
|
+
# The account's preference for whether or not to display this payment method.
|
|
859
|
+
attr_accessor :preference
|
|
860
|
+
|
|
861
|
+
def initialize(preference: nil)
|
|
862
|
+
@preference = preference
|
|
863
|
+
end
|
|
864
|
+
end
|
|
865
|
+
# Whether or not the payment method should be displayed.
|
|
866
|
+
attr_accessor :display_preference
|
|
867
|
+
|
|
868
|
+
def initialize(display_preference: nil)
|
|
869
|
+
@display_preference = display_preference
|
|
870
|
+
end
|
|
871
|
+
end
|
|
872
|
+
|
|
805
873
|
class RevolutPay < ::Stripe::RequestParams
|
|
806
874
|
class DisplayPreference < ::Stripe::RequestParams
|
|
807
875
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -887,6 +955,23 @@ module Stripe
|
|
|
887
955
|
end
|
|
888
956
|
end
|
|
889
957
|
|
|
958
|
+
class Shopeepay < ::Stripe::RequestParams
|
|
959
|
+
class DisplayPreference < ::Stripe::RequestParams
|
|
960
|
+
# The account's preference for whether or not to display this payment method.
|
|
961
|
+
attr_accessor :preference
|
|
962
|
+
|
|
963
|
+
def initialize(preference: nil)
|
|
964
|
+
@preference = preference
|
|
965
|
+
end
|
|
966
|
+
end
|
|
967
|
+
# Whether or not the payment method should be displayed.
|
|
968
|
+
attr_accessor :display_preference
|
|
969
|
+
|
|
970
|
+
def initialize(display_preference: nil)
|
|
971
|
+
@display_preference = display_preference
|
|
972
|
+
end
|
|
973
|
+
end
|
|
974
|
+
|
|
890
975
|
class Sofort < ::Stripe::RequestParams
|
|
891
976
|
class DisplayPreference < ::Stripe::RequestParams
|
|
892
977
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -1074,8 +1159,12 @@ module Stripe
|
|
|
1074
1159
|
attr_accessor :giropay
|
|
1075
1160
|
# Google Pay allows customers to make payments in your app or website using any credit or debit card saved to their Google Account, including those from Google Play, YouTube, Chrome, or an Android device. Use the Google Pay API to request any credit or debit card stored in your customer's Google account. Check this [page](https://docs.stripe.com/google-pay) for more details.
|
|
1076
1161
|
attr_accessor :google_pay
|
|
1162
|
+
# GoPay is a [single use](https://docs.stripe.com/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Gojek app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Gojek app to confirm payment.
|
|
1163
|
+
attr_accessor :gopay
|
|
1077
1164
|
# GrabPay is a payment method developed by [Grab](https://www.grab.com/sg/consumer/finance/pay/). GrabPay is a digital wallet - customers maintain a balance in their wallets that they pay out with. Check this [page](https://docs.stripe.com/payments/grabpay) for more details.
|
|
1078
1165
|
attr_accessor :grabpay
|
|
1166
|
+
# Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.
|
|
1167
|
+
attr_accessor :id_bank_transfer
|
|
1079
1168
|
# iDEAL is a Netherlands-based payment method that allows customers to complete transactions online using their bank credentials. All major Dutch banks are members of Currence, the scheme that operates iDEAL, making it the most popular online payment method in the Netherlands with a share of online transactions close to 55%. Check this [page](https://docs.stripe.com/payments/ideal) for more details.
|
|
1080
1169
|
attr_accessor :ideal
|
|
1081
1170
|
# JCB is a credit card company based in Japan. JCB is currently available in Japan to businesses approved by JCB, and available to all businesses in Australia, Canada, Hong Kong, Japan, New Zealand, Singapore, Switzerland, United Kingdom, United States, and all countries in the European Economic Area except Iceland. Check this [page](https://support.stripe.com/questions/accepting-japan-credit-bureau-%28jcb%29-payments) for more details.
|
|
@@ -1116,12 +1205,16 @@ module Stripe
|
|
|
1116
1205
|
attr_accessor :paynow
|
|
1117
1206
|
# PayPal, a digital wallet popular with customers in Europe, allows your customers worldwide to pay using their PayPal account. Check this [page](https://docs.stripe.com/payments/paypal) for more details.
|
|
1118
1207
|
attr_accessor :paypal
|
|
1208
|
+
# Customers can pay with PayPay online or using the PayPay app.
|
|
1209
|
+
attr_accessor :paypay
|
|
1119
1210
|
# PayTo is a [real-time](https://docs.stripe.com/payments/real-time) payment method that enables customers in Australia to pay by providing their bank account details. Customers must accept a mandate authorizing you to debit their account. Check this [page](https://docs.stripe.com/payments/payto) for more details.
|
|
1120
1211
|
attr_accessor :payto
|
|
1121
1212
|
# Pix is a payment method popular in Brazil. When paying with Pix, customers authenticate and approve payments by scanning a QR code in their preferred banking app. Check this [page](https://docs.stripe.com/payments/pix) for more details.
|
|
1122
1213
|
attr_accessor :pix
|
|
1123
1214
|
# PromptPay is a Thailand-based payment method that allows customers to make a payment using their preferred app from participating banks. Check this [page](https://docs.stripe.com/payments/promptpay) for more details.
|
|
1124
1215
|
attr_accessor :promptpay
|
|
1216
|
+
# QRIS is a [real-time](https://docs.stripe.com/payments/real-time) payment method popular in Indonesia. When paying with QRIS, customers authenticate and approve payments by scanning a QR code in their preferred digital wallet app.
|
|
1217
|
+
attr_accessor :qris
|
|
1125
1218
|
# Revolut Pay, developed by Revolut, a global finance app, is a digital wallet payment method. Revolut Pay uses the customer’s stored balance or cards to fund the payment, and offers the option for non-Revolut customers to save their details after their first purchase.
|
|
1126
1219
|
attr_accessor :revolut_pay
|
|
1127
1220
|
# Samsung Pay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.
|
|
@@ -1132,6 +1225,8 @@ module Stripe
|
|
|
1132
1225
|
attr_accessor :scalapay
|
|
1133
1226
|
# The [Single Euro Payments Area (SEPA)](https://en.wikipedia.org/wiki/Single_Euro_Payments_Area) is an initiative of the European Union to simplify payments within and across member countries. SEPA established and enforced banking standards to allow for the direct debiting of every EUR-denominated bank account within the SEPA region, check this [page](https://docs.stripe.com/payments/sepa-debit) for more details.
|
|
1134
1227
|
attr_accessor :sepa_debit
|
|
1228
|
+
# ShopeePay is a [single use](https://docs.stripe.com/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Shopee app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Shopee app to confirm payment.
|
|
1229
|
+
attr_accessor :shopeepay
|
|
1135
1230
|
# Stripe users in Europe and the United States can use the [Payment Intents API](https://stripe.com/docs/payments/payment-intents)—a single integration path for creating payments using any supported method—to accept [Sofort](https://www.sofort.com/) payments from customers. Check this [page](https://docs.stripe.com/payments/sofort) for more details.
|
|
1136
1231
|
attr_accessor :sofort
|
|
1137
1232
|
# Sunbit is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method where customers choose to pay in 3, 6, or 12 installments. Customers are redirected from your website or app, authorize the payment with Sunbit, then return to your website or app. You get [immediate notification](https://docs.stripe.com/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
|
|
@@ -1176,7 +1271,9 @@ module Stripe
|
|
|
1176
1271
|
fr_meal_voucher_conecs: nil,
|
|
1177
1272
|
giropay: nil,
|
|
1178
1273
|
google_pay: nil,
|
|
1274
|
+
gopay: nil,
|
|
1179
1275
|
grabpay: nil,
|
|
1276
|
+
id_bank_transfer: nil,
|
|
1180
1277
|
ideal: nil,
|
|
1181
1278
|
jcb: nil,
|
|
1182
1279
|
kakao_pay: nil,
|
|
@@ -1197,14 +1294,17 @@ module Stripe
|
|
|
1197
1294
|
payco: nil,
|
|
1198
1295
|
paynow: nil,
|
|
1199
1296
|
paypal: nil,
|
|
1297
|
+
paypay: nil,
|
|
1200
1298
|
payto: nil,
|
|
1201
1299
|
pix: nil,
|
|
1202
1300
|
promptpay: nil,
|
|
1301
|
+
qris: nil,
|
|
1203
1302
|
revolut_pay: nil,
|
|
1204
1303
|
samsung_pay: nil,
|
|
1205
1304
|
satispay: nil,
|
|
1206
1305
|
scalapay: nil,
|
|
1207
1306
|
sepa_debit: nil,
|
|
1307
|
+
shopeepay: nil,
|
|
1208
1308
|
sofort: nil,
|
|
1209
1309
|
sunbit: nil,
|
|
1210
1310
|
swish: nil,
|
|
@@ -1240,7 +1340,9 @@ module Stripe
|
|
|
1240
1340
|
@fr_meal_voucher_conecs = fr_meal_voucher_conecs
|
|
1241
1341
|
@giropay = giropay
|
|
1242
1342
|
@google_pay = google_pay
|
|
1343
|
+
@gopay = gopay
|
|
1243
1344
|
@grabpay = grabpay
|
|
1345
|
+
@id_bank_transfer = id_bank_transfer
|
|
1244
1346
|
@ideal = ideal
|
|
1245
1347
|
@jcb = jcb
|
|
1246
1348
|
@kakao_pay = kakao_pay
|
|
@@ -1261,14 +1363,17 @@ module Stripe
|
|
|
1261
1363
|
@payco = payco
|
|
1262
1364
|
@paynow = paynow
|
|
1263
1365
|
@paypal = paypal
|
|
1366
|
+
@paypay = paypay
|
|
1264
1367
|
@payto = payto
|
|
1265
1368
|
@pix = pix
|
|
1266
1369
|
@promptpay = promptpay
|
|
1370
|
+
@qris = qris
|
|
1267
1371
|
@revolut_pay = revolut_pay
|
|
1268
1372
|
@samsung_pay = samsung_pay
|
|
1269
1373
|
@satispay = satispay
|
|
1270
1374
|
@scalapay = scalapay
|
|
1271
1375
|
@sepa_debit = sepa_debit
|
|
1376
|
+
@shopeepay = shopeepay
|
|
1272
1377
|
@sofort = sofort
|
|
1273
1378
|
@sunbit = sunbit
|
|
1274
1379
|
@swish = swish
|
|
@@ -428,6 +428,23 @@ module Stripe
|
|
|
428
428
|
end
|
|
429
429
|
end
|
|
430
430
|
|
|
431
|
+
class Gopay < ::Stripe::RequestParams
|
|
432
|
+
class DisplayPreference < ::Stripe::RequestParams
|
|
433
|
+
# The account's preference for whether or not to display this payment method.
|
|
434
|
+
attr_accessor :preference
|
|
435
|
+
|
|
436
|
+
def initialize(preference: nil)
|
|
437
|
+
@preference = preference
|
|
438
|
+
end
|
|
439
|
+
end
|
|
440
|
+
# Whether or not the payment method should be displayed.
|
|
441
|
+
attr_accessor :display_preference
|
|
442
|
+
|
|
443
|
+
def initialize(display_preference: nil)
|
|
444
|
+
@display_preference = display_preference
|
|
445
|
+
end
|
|
446
|
+
end
|
|
447
|
+
|
|
431
448
|
class Grabpay < ::Stripe::RequestParams
|
|
432
449
|
class DisplayPreference < ::Stripe::RequestParams
|
|
433
450
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -445,6 +462,23 @@ module Stripe
|
|
|
445
462
|
end
|
|
446
463
|
end
|
|
447
464
|
|
|
465
|
+
class IdBankTransfer < ::Stripe::RequestParams
|
|
466
|
+
class DisplayPreference < ::Stripe::RequestParams
|
|
467
|
+
# The account's preference for whether or not to display this payment method.
|
|
468
|
+
attr_accessor :preference
|
|
469
|
+
|
|
470
|
+
def initialize(preference: nil)
|
|
471
|
+
@preference = preference
|
|
472
|
+
end
|
|
473
|
+
end
|
|
474
|
+
# Whether or not the payment method should be displayed.
|
|
475
|
+
attr_accessor :display_preference
|
|
476
|
+
|
|
477
|
+
def initialize(display_preference: nil)
|
|
478
|
+
@display_preference = display_preference
|
|
479
|
+
end
|
|
480
|
+
end
|
|
481
|
+
|
|
448
482
|
class Ideal < ::Stripe::RequestParams
|
|
449
483
|
class DisplayPreference < ::Stripe::RequestParams
|
|
450
484
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -751,6 +785,23 @@ module Stripe
|
|
|
751
785
|
end
|
|
752
786
|
end
|
|
753
787
|
|
|
788
|
+
class Paypay < ::Stripe::RequestParams
|
|
789
|
+
class DisplayPreference < ::Stripe::RequestParams
|
|
790
|
+
# The account's preference for whether or not to display this payment method.
|
|
791
|
+
attr_accessor :preference
|
|
792
|
+
|
|
793
|
+
def initialize(preference: nil)
|
|
794
|
+
@preference = preference
|
|
795
|
+
end
|
|
796
|
+
end
|
|
797
|
+
# Whether or not the payment method should be displayed.
|
|
798
|
+
attr_accessor :display_preference
|
|
799
|
+
|
|
800
|
+
def initialize(display_preference: nil)
|
|
801
|
+
@display_preference = display_preference
|
|
802
|
+
end
|
|
803
|
+
end
|
|
804
|
+
|
|
754
805
|
class Payto < ::Stripe::RequestParams
|
|
755
806
|
class DisplayPreference < ::Stripe::RequestParams
|
|
756
807
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -802,6 +853,23 @@ module Stripe
|
|
|
802
853
|
end
|
|
803
854
|
end
|
|
804
855
|
|
|
856
|
+
class Qris < ::Stripe::RequestParams
|
|
857
|
+
class DisplayPreference < ::Stripe::RequestParams
|
|
858
|
+
# The account's preference for whether or not to display this payment method.
|
|
859
|
+
attr_accessor :preference
|
|
860
|
+
|
|
861
|
+
def initialize(preference: nil)
|
|
862
|
+
@preference = preference
|
|
863
|
+
end
|
|
864
|
+
end
|
|
865
|
+
# Whether or not the payment method should be displayed.
|
|
866
|
+
attr_accessor :display_preference
|
|
867
|
+
|
|
868
|
+
def initialize(display_preference: nil)
|
|
869
|
+
@display_preference = display_preference
|
|
870
|
+
end
|
|
871
|
+
end
|
|
872
|
+
|
|
805
873
|
class RevolutPay < ::Stripe::RequestParams
|
|
806
874
|
class DisplayPreference < ::Stripe::RequestParams
|
|
807
875
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -887,6 +955,23 @@ module Stripe
|
|
|
887
955
|
end
|
|
888
956
|
end
|
|
889
957
|
|
|
958
|
+
class Shopeepay < ::Stripe::RequestParams
|
|
959
|
+
class DisplayPreference < ::Stripe::RequestParams
|
|
960
|
+
# The account's preference for whether or not to display this payment method.
|
|
961
|
+
attr_accessor :preference
|
|
962
|
+
|
|
963
|
+
def initialize(preference: nil)
|
|
964
|
+
@preference = preference
|
|
965
|
+
end
|
|
966
|
+
end
|
|
967
|
+
# Whether or not the payment method should be displayed.
|
|
968
|
+
attr_accessor :display_preference
|
|
969
|
+
|
|
970
|
+
def initialize(display_preference: nil)
|
|
971
|
+
@display_preference = display_preference
|
|
972
|
+
end
|
|
973
|
+
end
|
|
974
|
+
|
|
890
975
|
class Sofort < ::Stripe::RequestParams
|
|
891
976
|
class DisplayPreference < ::Stripe::RequestParams
|
|
892
977
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -1076,8 +1161,12 @@ module Stripe
|
|
|
1076
1161
|
attr_accessor :giropay
|
|
1077
1162
|
# Google Pay allows customers to make payments in your app or website using any credit or debit card saved to their Google Account, including those from Google Play, YouTube, Chrome, or an Android device. Use the Google Pay API to request any credit or debit card stored in your customer's Google account. Check this [page](https://docs.stripe.com/google-pay) for more details.
|
|
1078
1163
|
attr_accessor :google_pay
|
|
1164
|
+
# GoPay is a [single use](https://docs.stripe.com/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Gojek app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Gojek app to confirm payment.
|
|
1165
|
+
attr_accessor :gopay
|
|
1079
1166
|
# GrabPay is a payment method developed by [Grab](https://www.grab.com/sg/consumer/finance/pay/). GrabPay is a digital wallet - customers maintain a balance in their wallets that they pay out with. Check this [page](https://docs.stripe.com/payments/grabpay) for more details.
|
|
1080
1167
|
attr_accessor :grabpay
|
|
1168
|
+
# Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.
|
|
1169
|
+
attr_accessor :id_bank_transfer
|
|
1081
1170
|
# iDEAL is a Netherlands-based payment method that allows customers to complete transactions online using their bank credentials. All major Dutch banks are members of Currence, the scheme that operates iDEAL, making it the most popular online payment method in the Netherlands with a share of online transactions close to 55%. Check this [page](https://docs.stripe.com/payments/ideal) for more details.
|
|
1082
1171
|
attr_accessor :ideal
|
|
1083
1172
|
# JCB is a credit card company based in Japan. JCB is currently available in Japan to businesses approved by JCB, and available to all businesses in Australia, Canada, Hong Kong, Japan, New Zealand, Singapore, Switzerland, United Kingdom, United States, and all countries in the European Economic Area except Iceland. Check this [page](https://support.stripe.com/questions/accepting-japan-credit-bureau-%28jcb%29-payments) for more details.
|
|
@@ -1116,12 +1205,16 @@ module Stripe
|
|
|
1116
1205
|
attr_accessor :paynow
|
|
1117
1206
|
# PayPal, a digital wallet popular with customers in Europe, allows your customers worldwide to pay using their PayPal account. Check this [page](https://docs.stripe.com/payments/paypal) for more details.
|
|
1118
1207
|
attr_accessor :paypal
|
|
1208
|
+
# Customers can pay with PayPay online or using the PayPay app.
|
|
1209
|
+
attr_accessor :paypay
|
|
1119
1210
|
# PayTo is a [real-time](https://docs.stripe.com/payments/real-time) payment method that enables customers in Australia to pay by providing their bank account details. Customers must accept a mandate authorizing you to debit their account. Check this [page](https://docs.stripe.com/payments/payto) for more details.
|
|
1120
1211
|
attr_accessor :payto
|
|
1121
1212
|
# Pix is a payment method popular in Brazil. When paying with Pix, customers authenticate and approve payments by scanning a QR code in their preferred banking app. Check this [page](https://docs.stripe.com/payments/pix) for more details.
|
|
1122
1213
|
attr_accessor :pix
|
|
1123
1214
|
# PromptPay is a Thailand-based payment method that allows customers to make a payment using their preferred app from participating banks. Check this [page](https://docs.stripe.com/payments/promptpay) for more details.
|
|
1124
1215
|
attr_accessor :promptpay
|
|
1216
|
+
# QRIS is a [real-time](https://docs.stripe.com/payments/real-time) payment method popular in Indonesia. When paying with QRIS, customers authenticate and approve payments by scanning a QR code in their preferred digital wallet app.
|
|
1217
|
+
attr_accessor :qris
|
|
1125
1218
|
# Revolut Pay, developed by Revolut, a global finance app, is a digital wallet payment method. Revolut Pay uses the customer’s stored balance or cards to fund the payment, and offers the option for non-Revolut customers to save their details after their first purchase.
|
|
1126
1219
|
attr_accessor :revolut_pay
|
|
1127
1220
|
# Samsung Pay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.
|
|
@@ -1132,6 +1225,8 @@ module Stripe
|
|
|
1132
1225
|
attr_accessor :scalapay
|
|
1133
1226
|
# The [Single Euro Payments Area (SEPA)](https://en.wikipedia.org/wiki/Single_Euro_Payments_Area) is an initiative of the European Union to simplify payments within and across member countries. SEPA established and enforced banking standards to allow for the direct debiting of every EUR-denominated bank account within the SEPA region, check this [page](https://docs.stripe.com/payments/sepa-debit) for more details.
|
|
1134
1227
|
attr_accessor :sepa_debit
|
|
1228
|
+
# ShopeePay is a [single use](https://docs.stripe.com/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Shopee app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Shopee app to confirm payment.
|
|
1229
|
+
attr_accessor :shopeepay
|
|
1135
1230
|
# Stripe users in Europe and the United States can use the [Payment Intents API](https://stripe.com/docs/payments/payment-intents)—a single integration path for creating payments using any supported method—to accept [Sofort](https://www.sofort.com/) payments from customers. Check this [page](https://docs.stripe.com/payments/sofort) for more details.
|
|
1136
1231
|
attr_accessor :sofort
|
|
1137
1232
|
# Sunbit is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method where customers choose to pay in 3, 6, or 12 installments. Customers are redirected from your website or app, authorize the payment with Sunbit, then return to your website or app. You get [immediate notification](https://docs.stripe.com/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
|
|
@@ -1177,7 +1272,9 @@ module Stripe
|
|
|
1177
1272
|
fr_meal_voucher_conecs: nil,
|
|
1178
1273
|
giropay: nil,
|
|
1179
1274
|
google_pay: nil,
|
|
1275
|
+
gopay: nil,
|
|
1180
1276
|
grabpay: nil,
|
|
1277
|
+
id_bank_transfer: nil,
|
|
1181
1278
|
ideal: nil,
|
|
1182
1279
|
jcb: nil,
|
|
1183
1280
|
kakao_pay: nil,
|
|
@@ -1197,14 +1294,17 @@ module Stripe
|
|
|
1197
1294
|
payco: nil,
|
|
1198
1295
|
paynow: nil,
|
|
1199
1296
|
paypal: nil,
|
|
1297
|
+
paypay: nil,
|
|
1200
1298
|
payto: nil,
|
|
1201
1299
|
pix: nil,
|
|
1202
1300
|
promptpay: nil,
|
|
1301
|
+
qris: nil,
|
|
1203
1302
|
revolut_pay: nil,
|
|
1204
1303
|
samsung_pay: nil,
|
|
1205
1304
|
satispay: nil,
|
|
1206
1305
|
scalapay: nil,
|
|
1207
1306
|
sepa_debit: nil,
|
|
1307
|
+
shopeepay: nil,
|
|
1208
1308
|
sofort: nil,
|
|
1209
1309
|
sunbit: nil,
|
|
1210
1310
|
swish: nil,
|
|
@@ -1241,7 +1341,9 @@ module Stripe
|
|
|
1241
1341
|
@fr_meal_voucher_conecs = fr_meal_voucher_conecs
|
|
1242
1342
|
@giropay = giropay
|
|
1243
1343
|
@google_pay = google_pay
|
|
1344
|
+
@gopay = gopay
|
|
1244
1345
|
@grabpay = grabpay
|
|
1346
|
+
@id_bank_transfer = id_bank_transfer
|
|
1245
1347
|
@ideal = ideal
|
|
1246
1348
|
@jcb = jcb
|
|
1247
1349
|
@kakao_pay = kakao_pay
|
|
@@ -1261,14 +1363,17 @@ module Stripe
|
|
|
1261
1363
|
@payco = payco
|
|
1262
1364
|
@paynow = paynow
|
|
1263
1365
|
@paypal = paypal
|
|
1366
|
+
@paypay = paypay
|
|
1264
1367
|
@payto = payto
|
|
1265
1368
|
@pix = pix
|
|
1266
1369
|
@promptpay = promptpay
|
|
1370
|
+
@qris = qris
|
|
1267
1371
|
@revolut_pay = revolut_pay
|
|
1268
1372
|
@samsung_pay = samsung_pay
|
|
1269
1373
|
@satispay = satispay
|
|
1270
1374
|
@scalapay = scalapay
|
|
1271
1375
|
@sepa_debit = sepa_debit
|
|
1376
|
+
@shopeepay = shopeepay
|
|
1272
1377
|
@sofort = sofort
|
|
1273
1378
|
@sunbit = sunbit
|
|
1274
1379
|
@swish = swish
|
|
@@ -189,8 +189,18 @@ module Stripe
|
|
|
189
189
|
end
|
|
190
190
|
|
|
191
191
|
class Giropay < ::Stripe::RequestParams; end
|
|
192
|
+
class Gopay < ::Stripe::RequestParams; end
|
|
192
193
|
class Grabpay < ::Stripe::RequestParams; end
|
|
193
194
|
|
|
195
|
+
class IdBankTransfer < ::Stripe::RequestParams
|
|
196
|
+
# Bank where the account is held.
|
|
197
|
+
attr_accessor :bank
|
|
198
|
+
|
|
199
|
+
def initialize(bank: nil)
|
|
200
|
+
@bank = bank
|
|
201
|
+
end
|
|
202
|
+
end
|
|
203
|
+
|
|
194
204
|
class Ideal < ::Stripe::RequestParams
|
|
195
205
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
196
206
|
attr_accessor :bank
|
|
@@ -288,6 +298,7 @@ module Stripe
|
|
|
288
298
|
class Payco < ::Stripe::RequestParams; end
|
|
289
299
|
class Paynow < ::Stripe::RequestParams; end
|
|
290
300
|
class Paypal < ::Stripe::RequestParams; end
|
|
301
|
+
class Paypay < ::Stripe::RequestParams; end
|
|
291
302
|
|
|
292
303
|
class Payto < ::Stripe::RequestParams
|
|
293
304
|
# The account number for the bank account.
|
|
@@ -306,6 +317,7 @@ module Stripe
|
|
|
306
317
|
|
|
307
318
|
class Pix < ::Stripe::RequestParams; end
|
|
308
319
|
class Promptpay < ::Stripe::RequestParams; end
|
|
320
|
+
class Qris < ::Stripe::RequestParams; end
|
|
309
321
|
|
|
310
322
|
class RadarOptions < ::Stripe::RequestParams
|
|
311
323
|
# 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.
|
|
@@ -316,6 +328,29 @@ module Stripe
|
|
|
316
328
|
end
|
|
317
329
|
end
|
|
318
330
|
|
|
331
|
+
class Rechnung < ::Stripe::RequestParams
|
|
332
|
+
class Dob < ::Stripe::RequestParams
|
|
333
|
+
# The day of birth, between 1 and 31.
|
|
334
|
+
attr_accessor :day
|
|
335
|
+
# The month of birth, between 1 and 12.
|
|
336
|
+
attr_accessor :month
|
|
337
|
+
# The four-digit year of birth.
|
|
338
|
+
attr_accessor :year
|
|
339
|
+
|
|
340
|
+
def initialize(day: nil, month: nil, year: nil)
|
|
341
|
+
@day = day
|
|
342
|
+
@month = month
|
|
343
|
+
@year = year
|
|
344
|
+
end
|
|
345
|
+
end
|
|
346
|
+
# Customer's date of birth
|
|
347
|
+
attr_accessor :dob
|
|
348
|
+
|
|
349
|
+
def initialize(dob: nil)
|
|
350
|
+
@dob = dob
|
|
351
|
+
end
|
|
352
|
+
end
|
|
353
|
+
|
|
319
354
|
class RevolutPay < ::Stripe::RequestParams; end
|
|
320
355
|
class SamsungPay < ::Stripe::RequestParams; end
|
|
321
356
|
class Satispay < ::Stripe::RequestParams; end
|
|
@@ -330,6 +365,8 @@ module Stripe
|
|
|
330
365
|
end
|
|
331
366
|
end
|
|
332
367
|
|
|
368
|
+
class Shopeepay < ::Stripe::RequestParams; end
|
|
369
|
+
|
|
333
370
|
class Sofort < ::Stripe::RequestParams
|
|
334
371
|
# Two-letter ISO code representing the country the bank account is located in.
|
|
335
372
|
attr_accessor :country
|
|
@@ -339,6 +376,15 @@ module Stripe
|
|
|
339
376
|
end
|
|
340
377
|
end
|
|
341
378
|
|
|
379
|
+
class StripeBalance < ::Stripe::RequestParams
|
|
380
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
|
381
|
+
attr_accessor :account
|
|
382
|
+
|
|
383
|
+
def initialize(account: nil)
|
|
384
|
+
@account = account
|
|
385
|
+
end
|
|
386
|
+
end
|
|
387
|
+
|
|
342
388
|
class Sunbit < ::Stripe::RequestParams; end
|
|
343
389
|
class Swish < ::Stripe::RequestParams; end
|
|
344
390
|
class Twint < ::Stripe::RequestParams; end
|
|
@@ -448,8 +494,12 @@ module Stripe
|
|
|
448
494
|
attr_accessor :fpx
|
|
449
495
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
|
450
496
|
attr_accessor :giropay
|
|
497
|
+
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
498
|
+
attr_accessor :gopay
|
|
451
499
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
452
500
|
attr_accessor :grabpay
|
|
501
|
+
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
502
|
+
attr_accessor :id_bank_transfer
|
|
453
503
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
454
504
|
attr_accessor :ideal
|
|
455
505
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
|
@@ -490,14 +540,20 @@ module Stripe
|
|
|
490
540
|
attr_accessor :paynow
|
|
491
541
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
|
492
542
|
attr_accessor :paypal
|
|
543
|
+
# If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
|
544
|
+
attr_accessor :paypay
|
|
493
545
|
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
494
546
|
attr_accessor :payto
|
|
495
547
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
496
548
|
attr_accessor :pix
|
|
497
549
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
|
498
550
|
attr_accessor :promptpay
|
|
551
|
+
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
552
|
+
attr_accessor :qris
|
|
499
553
|
# Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
|
|
500
554
|
attr_accessor :radar_options
|
|
555
|
+
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
556
|
+
attr_accessor :rechnung
|
|
501
557
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
502
558
|
attr_accessor :revolut_pay
|
|
503
559
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
|
@@ -508,8 +564,12 @@ module Stripe
|
|
|
508
564
|
attr_accessor :scalapay
|
|
509
565
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
|
510
566
|
attr_accessor :sepa_debit
|
|
567
|
+
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
568
|
+
attr_accessor :shopeepay
|
|
511
569
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
512
570
|
attr_accessor :sofort
|
|
571
|
+
# This hash contains details about the Stripe balance payment method.
|
|
572
|
+
attr_accessor :stripe_balance
|
|
513
573
|
# If this is a Sunbit PaymentMethod, this hash contains details about the Sunbit payment method.
|
|
514
574
|
attr_accessor :sunbit
|
|
515
575
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
@@ -553,7 +613,9 @@ module Stripe
|
|
|
553
613
|
expand: nil,
|
|
554
614
|
fpx: nil,
|
|
555
615
|
giropay: nil,
|
|
616
|
+
gopay: nil,
|
|
556
617
|
grabpay: nil,
|
|
618
|
+
id_bank_transfer: nil,
|
|
557
619
|
ideal: nil,
|
|
558
620
|
interac_present: nil,
|
|
559
621
|
kakao_pay: nil,
|
|
@@ -574,16 +636,21 @@ module Stripe
|
|
|
574
636
|
payment_method: nil,
|
|
575
637
|
paynow: nil,
|
|
576
638
|
paypal: nil,
|
|
639
|
+
paypay: nil,
|
|
577
640
|
payto: nil,
|
|
578
641
|
pix: nil,
|
|
579
642
|
promptpay: nil,
|
|
643
|
+
qris: nil,
|
|
580
644
|
radar_options: nil,
|
|
645
|
+
rechnung: nil,
|
|
581
646
|
revolut_pay: nil,
|
|
582
647
|
samsung_pay: nil,
|
|
583
648
|
satispay: nil,
|
|
584
649
|
scalapay: nil,
|
|
585
650
|
sepa_debit: nil,
|
|
651
|
+
shopeepay: nil,
|
|
586
652
|
sofort: nil,
|
|
653
|
+
stripe_balance: nil,
|
|
587
654
|
sunbit: nil,
|
|
588
655
|
swish: nil,
|
|
589
656
|
twint: nil,
|
|
@@ -618,7 +685,9 @@ module Stripe
|
|
|
618
685
|
@expand = expand
|
|
619
686
|
@fpx = fpx
|
|
620
687
|
@giropay = giropay
|
|
688
|
+
@gopay = gopay
|
|
621
689
|
@grabpay = grabpay
|
|
690
|
+
@id_bank_transfer = id_bank_transfer
|
|
622
691
|
@ideal = ideal
|
|
623
692
|
@interac_present = interac_present
|
|
624
693
|
@kakao_pay = kakao_pay
|
|
@@ -639,16 +708,21 @@ module Stripe
|
|
|
639
708
|
@payment_method = payment_method
|
|
640
709
|
@paynow = paynow
|
|
641
710
|
@paypal = paypal
|
|
711
|
+
@paypay = paypay
|
|
642
712
|
@payto = payto
|
|
643
713
|
@pix = pix
|
|
644
714
|
@promptpay = promptpay
|
|
715
|
+
@qris = qris
|
|
645
716
|
@radar_options = radar_options
|
|
717
|
+
@rechnung = rechnung
|
|
646
718
|
@revolut_pay = revolut_pay
|
|
647
719
|
@samsung_pay = samsung_pay
|
|
648
720
|
@satispay = satispay
|
|
649
721
|
@scalapay = scalapay
|
|
650
722
|
@sepa_debit = sepa_debit
|
|
723
|
+
@shopeepay = shopeepay
|
|
651
724
|
@sofort = sofort
|
|
725
|
+
@stripe_balance = stripe_balance
|
|
652
726
|
@sunbit = sunbit
|
|
653
727
|
@swish = swish
|
|
654
728
|
@twint = twint
|