stripe 17.0.0 → 17.1.0.pre.alpha.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 +34 -0
- data/lib/stripe/api_version.rb +1 -2
- data/lib/stripe/errors.rb +63 -0
- data/lib/stripe/event_types.rb +1037 -0
- data/lib/stripe/events/v1_account_updated_event.rb +44 -0
- data/lib/stripe/events/v1_application_fee_created_event.rb +44 -0
- data/lib/stripe/events/v1_application_fee_refunded_event.rb +44 -0
- data/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb +5 -5
- data/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb +5 -5
- data/lib/stripe/events/v1_billing_portal_configuration_created_event.rb +44 -0
- data/lib/stripe/events/v1_billing_portal_configuration_updated_event.rb +44 -0
- data/lib/stripe/events/v1_capability_updated_event.rb +44 -0
- data/lib/stripe/events/v1_charge_captured_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_closed_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_created_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_funds_reinstated_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_funds_withdrawn_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_updated_event.rb +44 -0
- data/lib/stripe/events/v1_charge_expired_event.rb +44 -0
- data/lib/stripe/events/v1_charge_failed_event.rb +44 -0
- data/lib/stripe/events/v1_charge_pending_event.rb +44 -0
- data/lib/stripe/events/v1_charge_refund_updated_event.rb +44 -0
- data/lib/stripe/events/v1_charge_refunded_event.rb +44 -0
- data/lib/stripe/events/v1_charge_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_charge_updated_event.rb +44 -0
- data/lib/stripe/events/v1_checkout_session_async_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v1_checkout_session_async_payment_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_checkout_session_completed_event.rb +44 -0
- data/lib/stripe/events/v1_checkout_session_expired_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_created_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_delayed_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_delivered_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_product_substituted_event.rb +44 -0
- data/lib/stripe/events/v1_climate_product_created_event.rb +44 -0
- data/lib/stripe/events/v1_climate_product_pricing_updated_event.rb +44 -0
- data/lib/stripe/events/v1_coupon_created_event.rb +44 -0
- data/lib/stripe/events/v1_coupon_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_coupon_updated_event.rb +44 -0
- data/lib/stripe/events/v1_credit_note_created_event.rb +44 -0
- data/lib/stripe/events/v1_credit_note_updated_event.rb +44 -0
- data/lib/stripe/events/v1_credit_note_voided_event.rb +44 -0
- data/lib/stripe/events/v1_customer_created_event.rb +44 -0
- data/lib/stripe/events/v1_customer_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_created_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_paused_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_pending_update_applied_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_pending_update_expired_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_resumed_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_trial_will_end_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_updated_event.rb +44 -0
- data/lib/stripe/events/v1_customer_tax_id_created_event.rb +44 -0
- data/lib/stripe/events/v1_customer_tax_id_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_customer_tax_id_updated_event.rb +44 -0
- data/lib/stripe/events/v1_customer_updated_event.rb +44 -0
- data/lib/stripe/events/v1_file_created_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_created_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_deactivated_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_disconnected_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_reactivated_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_refreshed_balance_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_refreshed_ownership_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_refreshed_transactions_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_created_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_processing_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_redacted_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_requires_input_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_verified_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_created_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_finalization_failed_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_finalized_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_marked_uncollectible_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_overdue_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_overpaid_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_paid_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_payment_action_required_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_payment_paid_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_payment_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_sent_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_upcoming_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_updated_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_voided_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_will_be_due_event.rb +44 -0
- data/lib/stripe/events/v1_invoiceitem_created_event.rb +44 -0
- data/lib/stripe/events/v1_invoiceitem_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_authorization_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_authorization_request_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_authorization_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_card_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_card_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_cardholder_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_cardholder_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_closed_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_funds_reinstated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_funds_rescinded_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_submitted_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_personalization_design_activated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_personalization_design_deactivated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_personalization_design_rejected_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_personalization_design_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_token_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_token_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_transaction_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_transaction_purchase_details_receipt_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_transaction_updated_event.rb +44 -0
- data/lib/stripe/events/v1_mandate_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_amount_capturable_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_created_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_partially_funded_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_processing_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_requires_action_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_payment_link_created_event.rb +44 -0
- data/lib/stripe/events/v1_payment_link_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payment_method_attached_event.rb +44 -0
- data/lib/stripe/events/v1_payment_method_automatically_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payment_method_detached_event.rb +44 -0
- data/lib/stripe/events/v1_payment_method_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payout_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_payout_created_event.rb +44 -0
- data/lib/stripe/events/v1_payout_failed_event.rb +44 -0
- data/lib/stripe/events/v1_payout_paid_event.rb +44 -0
- data/lib/stripe/events/v1_payout_reconciliation_completed_event.rb +44 -0
- data/lib/stripe/events/v1_payout_updated_event.rb +44 -0
- data/lib/stripe/events/v1_person_created_event.rb +44 -0
- data/lib/stripe/events/v1_person_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_person_updated_event.rb +44 -0
- data/lib/stripe/events/v1_plan_created_event.rb +44 -0
- data/lib/stripe/events/v1_plan_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_plan_updated_event.rb +44 -0
- data/lib/stripe/events/v1_price_created_event.rb +44 -0
- data/lib/stripe/events/v1_price_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_price_updated_event.rb +44 -0
- data/lib/stripe/events/v1_product_created_event.rb +44 -0
- data/lib/stripe/events/v1_product_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_product_updated_event.rb +44 -0
- data/lib/stripe/events/v1_promotion_code_created_event.rb +44 -0
- data/lib/stripe/events/v1_promotion_code_updated_event.rb +44 -0
- data/lib/stripe/events/v1_quote_accepted_event.rb +44 -0
- data/lib/stripe/events/v1_quote_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_quote_created_event.rb +44 -0
- data/lib/stripe/events/v1_quote_finalized_event.rb +44 -0
- data/lib/stripe/events/v1_radar_early_fraud_warning_created_event.rb +44 -0
- data/lib/stripe/events/v1_radar_early_fraud_warning_updated_event.rb +44 -0
- data/lib/stripe/events/v1_refund_created_event.rb +44 -0
- data/lib/stripe/events/v1_refund_failed_event.rb +44 -0
- data/lib/stripe/events/v1_refund_updated_event.rb +44 -0
- data/lib/stripe/events/v1_review_closed_event.rb +44 -0
- data/lib/stripe/events/v1_review_opened_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_created_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_requires_action_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_setup_failed_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_sigma_scheduled_query_run_created_event.rb +44 -0
- data/lib/stripe/events/v1_source_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_source_chargeable_event.rb +44 -0
- data/lib/stripe/events/v1_source_failed_event.rb +44 -0
- data/lib/stripe/events/v1_source_refund_attributes_required_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_aborted_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_completed_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_created_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_expiring_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_released_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_updated_event.rb +44 -0
- data/lib/stripe/events/v1_tax_rate_created_event.rb +44 -0
- data/lib/stripe/events/v1_tax_rate_updated_event.rb +44 -0
- data/lib/stripe/events/v1_terminal_reader_action_failed_event.rb +44 -0
- data/lib/stripe/events/v1_terminal_reader_action_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_terminal_reader_action_updated_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_advancing_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_created_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_internal_failure_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_ready_event.rb +44 -0
- data/lib/stripe/events/v1_topup_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_topup_created_event.rb +44 -0
- data/lib/stripe/events/v1_topup_failed_event.rb +44 -0
- data/lib/stripe/events/v1_topup_reversed_event.rb +44 -0
- data/lib/stripe/events/v1_topup_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_transfer_created_event.rb +44 -0
- data/lib/stripe/events/v1_transfer_reversed_event.rb +44 -0
- data/lib/stripe/events/v1_transfer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_cadence_billed_event.rb +61 -0
- data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_cadence_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_license_fee_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_metered_item_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +61 -0
- data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_rate_card_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +67 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_closed_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_created_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_configuration_card_creator_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_card_creator_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +44 -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_account_including_defaults_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_link_returned_event.rb +42 -0
- data/lib/stripe/events/v2_core_account_person_created_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_person_deleted_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_person_updated_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_claimed_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_created_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_sandbox_details_owner_account_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +66 -0
- data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +66 -0
- data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +80 -0
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +80 -0
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +66 -0
- data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +62 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +62 -0
- data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +62 -0
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +62 -0
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +62 -0
- data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +58 -0
- data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +58 -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_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_recipient_verification_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_recipient_verification_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +46 -0
- data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +44 -0
- data/lib/stripe/object_types.rb +80 -0
- data/lib/stripe/params/account_capability_list_params.rb +1 -1
- data/lib/stripe/params/account_capability_retrieve_params.rb +1 -1
- data/lib/stripe/params/account_capability_update_params.rb +1 -1
- data/lib/stripe/params/account_create_params.rb +417 -118
- data/lib/stripe/params/account_delete_params.rb +1 -1
- data/lib/stripe/params/account_external_account_create_params.rb +4 -4
- data/lib/stripe/params/account_external_account_delete_params.rb +1 -1
- data/lib/stripe/params/account_external_account_list_params.rb +1 -1
- data/lib/stripe/params/account_external_account_retrieve_params.rb +1 -1
- data/lib/stripe/params/account_external_account_update_params.rb +3 -3
- data/lib/stripe/params/account_link_create_params.rb +2 -2
- data/lib/stripe/params/account_list_params.rb +2 -2
- data/lib/stripe/params/account_login_link_create_params.rb +1 -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_person_create_params.rb +19 -19
- data/lib/stripe/params/account_person_delete_params.rb +1 -1
- data/lib/stripe/params/account_person_list_params.rb +2 -2
- data/lib/stripe/params/account_person_retrieve_params.rb +1 -1
- data/lib/stripe/params/account_person_update_params.rb +19 -19
- data/lib/stripe/params/account_persons_params.rb +2 -2
- data/lib/stripe/params/account_reject_params.rb +1 -1
- data/lib/stripe/params/account_retrieve_current_params.rb +1 -1
- data/lib/stripe/params/account_retrieve_params.rb +1 -1
- data/lib/stripe/params/account_session_create_params.rb +266 -41
- data/lib/stripe/params/account_update_params.rb +375 -113
- data/lib/stripe/params/apple_pay_domain_create_params.rb +1 -1
- data/lib/stripe/params/apple_pay_domain_delete_params.rb +1 -1
- data/lib/stripe/params/apple_pay_domain_list_params.rb +1 -1
- data/lib/stripe/params/apple_pay_domain_retrieve_params.rb +1 -1
- data/lib/stripe/params/application_fee_list_params.rb +2 -2
- data/lib/stripe/params/application_fee_refund_create_params.rb +1 -1
- data/lib/stripe/params/application_fee_refund_list_params.rb +1 -1
- data/lib/stripe/params/application_fee_refund_retrieve_params.rb +1 -1
- data/lib/stripe/params/application_fee_refund_update_params.rb +1 -1
- data/lib/stripe/params/application_fee_retrieve_params.rb +1 -1
- data/lib/stripe/params/apps/secret_create_params.rb +2 -2
- data/lib/stripe/params/apps/secret_delete_where_params.rb +2 -2
- data/lib/stripe/params/apps/secret_find_params.rb +2 -2
- data/lib/stripe/params/apps/secret_list_params.rb +2 -2
- data/lib/stripe/params/balance_retrieve_params.rb +1 -1
- data/lib/stripe/params/balance_settings_retrieve_params.rb +1 -1
- data/lib/stripe/params/balance_settings_update_params.rb +5 -5
- data/lib/stripe/params/balance_transaction_list_params.rb +2 -2
- data/lib/stripe/params/balance_transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/billing/alert_activate_params.rb +1 -1
- data/lib/stripe/params/billing/alert_archive_params.rb +1 -1
- data/lib/stripe/params/billing/alert_create_params.rb +124 -4
- data/lib/stripe/params/billing/alert_deactivate_params.rb +1 -1
- data/lib/stripe/params/billing/alert_list_params.rb +5 -1
- data/lib/stripe/params/billing/alert_retrieve_params.rb +1 -1
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +65 -0
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +21 -6
- data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +5 -1
- data/lib/stripe/params/billing/credit_balance_transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/billing/credit_grant_create_params.rb +39 -8
- data/lib/stripe/params/billing/credit_grant_expire_params.rb +1 -1
- data/lib/stripe/params/billing/credit_grant_list_params.rb +5 -1
- data/lib/stripe/params/billing/credit_grant_retrieve_params.rb +1 -1
- data/lib/stripe/params/billing/credit_grant_update_params.rb +1 -1
- data/lib/stripe/params/billing/credit_grant_void_grant_params.rb +1 -1
- data/lib/stripe/params/billing/meter_create_params.rb +4 -4
- data/lib/stripe/params/billing/meter_deactivate_params.rb +1 -1
- data/lib/stripe/params/billing/meter_event_adjustment_create_params.rb +2 -2
- data/lib/stripe/params/billing/meter_event_create_params.rb +1 -1
- data/lib/stripe/params/billing/meter_event_summary_list_params.rb +1 -1
- data/lib/stripe/params/billing/meter_list_params.rb +1 -1
- data/lib/stripe/params/billing/meter_reactivate_params.rb +1 -1
- data/lib/stripe/params/billing/meter_retrieve_params.rb +1 -1
- data/lib/stripe/params/billing/meter_update_params.rb +1 -1
- data/lib/stripe/params/billing_portal/configuration_create_params.rb +14 -14
- data/lib/stripe/params/billing_portal/configuration_list_params.rb +1 -1
- data/lib/stripe/params/billing_portal/configuration_retrieve_params.rb +1 -1
- data/lib/stripe/params/billing_portal/configuration_update_params.rb +14 -14
- data/lib/stripe/params/billing_portal/session_create_params.rb +16 -12
- 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 +711 -2
- data/lib/stripe/params/charge_create_params.rb +6 -6
- data/lib/stripe/params/charge_list_params.rb +2 -2
- data/lib/stripe/params/charge_retrieve_params.rb +1 -1
- data/lib/stripe/params/charge_search_params.rb +1 -1
- data/lib/stripe/params/charge_update_params.rb +713 -4
- data/lib/stripe/params/checkout/session_create_params.rb +394 -125
- data/lib/stripe/params/checkout/session_expire_params.rb +1 -1
- data/lib/stripe/params/checkout/session_line_item_list_params.rb +1 -1
- data/lib/stripe/params/checkout/session_list_line_items_params.rb +1 -1
- data/lib/stripe/params/checkout/session_list_params.rb +7 -3
- data/lib/stripe/params/checkout/session_retrieve_params.rb +1 -1
- data/lib/stripe/params/checkout/session_update_params.rb +299 -12
- data/lib/stripe/params/climate/order_cancel_params.rb +1 -1
- data/lib/stripe/params/climate/order_create_params.rb +2 -2
- data/lib/stripe/params/climate/order_list_params.rb +1 -1
- data/lib/stripe/params/climate/order_retrieve_params.rb +1 -1
- data/lib/stripe/params/climate/order_update_params.rb +2 -2
- data/lib/stripe/params/climate/product_list_params.rb +1 -1
- data/lib/stripe/params/climate/product_retrieve_params.rb +1 -1
- data/lib/stripe/params/climate/supplier_list_params.rb +1 -1
- data/lib/stripe/params/climate/supplier_retrieve_params.rb +1 -1
- data/lib/stripe/params/confirmation_token_create_params.rb +158 -61
- data/lib/stripe/params/confirmation_token_retrieve_params.rb +1 -1
- data/lib/stripe/params/country_spec_list_params.rb +1 -1
- data/lib/stripe/params/country_spec_retrieve_params.rb +1 -1
- data/lib/stripe/params/coupon_create_params.rb +20 -4
- data/lib/stripe/params/coupon_delete_params.rb +1 -1
- data/lib/stripe/params/coupon_list_params.rb +2 -2
- data/lib/stripe/params/coupon_retrieve_params.rb +1 -1
- data/lib/stripe/params/coupon_update_params.rb +2 -2
- data/lib/stripe/params/credit_note_create_params.rb +23 -6
- data/lib/stripe/params/credit_note_line_item_list_params.rb +1 -1
- data/lib/stripe/params/credit_note_list_params.rb +6 -2
- data/lib/stripe/params/credit_note_list_preview_line_items_params.rb +23 -6
- data/lib/stripe/params/credit_note_preview_lines_list_params.rb +23 -6
- data/lib/stripe/params/credit_note_preview_params.rb +23 -6
- data/lib/stripe/params/credit_note_retrieve_params.rb +1 -1
- data/lib/stripe/params/credit_note_update_params.rb +1 -1
- data/lib/stripe/params/credit_note_void_credit_note_params.rb +1 -1
- data/lib/stripe/params/customer_balance_transaction_create_params.rb +1 -1
- data/lib/stripe/params/customer_balance_transaction_list_params.rb +1 -1
- data/lib/stripe/params/customer_balance_transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/customer_balance_transaction_update_params.rb +1 -1
- data/lib/stripe/params/customer_cash_balance_retrieve_params.rb +1 -1
- data/lib/stripe/params/customer_cash_balance_transaction_list_params.rb +1 -1
- data/lib/stripe/params/customer_cash_balance_transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/customer_cash_balance_update_params.rb +2 -2
- data/lib/stripe/params/customer_create_funding_instructions_params.rb +3 -3
- data/lib/stripe/params/customer_create_params.rb +11 -11
- data/lib/stripe/params/customer_delete_discount_params.rb +1 -1
- data/lib/stripe/params/customer_delete_params.rb +1 -1
- data/lib/stripe/params/customer_fund_cash_balance_params.rb +1 -1
- data/lib/stripe/params/customer_funding_instructions_create_params.rb +3 -3
- data/lib/stripe/params/customer_list_params.rb +2 -2
- data/lib/stripe/params/customer_list_payment_methods_params.rb +1 -1
- data/lib/stripe/params/customer_payment_method_list_params.rb +1 -1
- data/lib/stripe/params/customer_payment_method_retrieve_params.rb +1 -1
- data/lib/stripe/params/customer_payment_source_create_params.rb +1 -1
- data/lib/stripe/params/customer_payment_source_delete_params.rb +1 -1
- data/lib/stripe/params/customer_payment_source_list_params.rb +1 -1
- data/lib/stripe/params/customer_payment_source_retrieve_params.rb +1 -1
- data/lib/stripe/params/customer_payment_source_update_params.rb +3 -3
- data/lib/stripe/params/customer_payment_source_verify_params.rb +1 -1
- data/lib/stripe/params/customer_retrieve_params.rb +1 -1
- data/lib/stripe/params/customer_retrieve_payment_method_params.rb +1 -1
- data/lib/stripe/params/customer_search_params.rb +1 -1
- data/lib/stripe/params/customer_session_create_params.rb +10 -7
- data/lib/stripe/params/customer_tax_id_create_params.rb +1 -1
- data/lib/stripe/params/customer_tax_id_delete_params.rb +1 -1
- data/lib/stripe/params/customer_tax_id_list_params.rb +1 -1
- data/lib/stripe/params/customer_tax_id_retrieve_params.rb +1 -1
- data/lib/stripe/params/customer_update_params.rb +10 -10
- data/lib/stripe/params/dispute_close_params.rb +1 -1
- data/lib/stripe/params/dispute_list_params.rb +2 -2
- data/lib/stripe/params/dispute_retrieve_params.rb +1 -1
- data/lib/stripe/params/dispute_update_params.rb +19 -10
- data/lib/stripe/params/entitlements/active_entitlement_list_params.rb +1 -1
- data/lib/stripe/params/entitlements/active_entitlement_retrieve_params.rb +1 -1
- data/lib/stripe/params/entitlements/feature_create_params.rb +1 -1
- data/lib/stripe/params/entitlements/feature_list_params.rb +1 -1
- data/lib/stripe/params/entitlements/feature_retrieve_params.rb +1 -1
- data/lib/stripe/params/entitlements/feature_update_params.rb +1 -1
- data/lib/stripe/params/ephemeral_key_create_params.rb +1 -1
- data/lib/stripe/params/ephemeral_key_delete_params.rb +1 -1
- data/lib/stripe/params/event_list_params.rb +2 -2
- data/lib/stripe/params/event_retrieve_params.rb +1 -1
- data/lib/stripe/params/exchange_rate_list_params.rb +1 -1
- data/lib/stripe/params/exchange_rate_retrieve_params.rb +1 -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/file_create_params.rb +2 -2
- data/lib/stripe/params/file_link_create_params.rb +1 -1
- data/lib/stripe/params/file_link_list_params.rb +2 -2
- data/lib/stripe/params/file_link_retrieve_params.rb +1 -1
- data/lib/stripe/params/file_link_update_params.rb +1 -1
- data/lib/stripe/params/file_list_params.rb +2 -2
- data/lib/stripe/params/file_retrieve_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_disconnect_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +24 -0
- data/lib/stripe/params/financial_connections/account_list_owners_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_list_params.rb +6 -3
- data/lib/stripe/params/financial_connections/account_owner_list_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_refresh_account_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_refresh_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_retrieve_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_subscribe_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_unsubscribe_params.rb +1 -1
- 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 +37 -5
- data/lib/stripe/params/financial_connections/session_retrieve_params.rb +1 -1
- data/lib/stripe/params/financial_connections/transaction_list_params.rb +3 -3
- data/lib/stripe/params/financial_connections/transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/forwarding/request_create_params.rb +3 -3
- data/lib/stripe/params/forwarding/request_list_params.rb +2 -2
- data/lib/stripe/params/forwarding/request_retrieve_params.rb +1 -1
- 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/identity/verification_report_list_params.rb +2 -2
- data/lib/stripe/params/identity/verification_report_retrieve_params.rb +1 -1
- data/lib/stripe/params/identity/verification_session_cancel_params.rb +1 -1
- data/lib/stripe/params/identity/verification_session_create_params.rb +9 -5
- data/lib/stripe/params/identity/verification_session_list_params.rb +6 -2
- data/lib/stripe/params/identity/verification_session_redact_params.rb +1 -1
- data/lib/stripe/params/identity/verification_session_retrieve_params.rb +1 -1
- data/lib/stripe/params/identity/verification_session_update_params.rb +4 -4
- data/lib/stripe/params/invoice_add_lines_params.rb +42 -10
- data/lib/stripe/params/invoice_attach_payment_params.rb +47 -2
- data/lib/stripe/params/invoice_create_params.rb +147 -37
- data/lib/stripe/params/invoice_create_preview_params.rb +872 -55
- data/lib/stripe/params/invoice_delete_params.rb +1 -1
- data/lib/stripe/params/invoice_finalize_invoice_params.rb +1 -1
- data/lib/stripe/params/invoice_item_create_params.rb +42 -6
- data/lib/stripe/params/invoice_item_delete_params.rb +1 -1
- data/lib/stripe/params/invoice_item_list_params.rb +6 -2
- data/lib/stripe/params/invoice_item_retrieve_params.rb +1 -1
- data/lib/stripe/params/invoice_item_update_params.rb +38 -6
- data/lib/stripe/params/invoice_line_item_list_params.rb +1 -1
- data/lib/stripe/params/invoice_line_item_update_params.rb +41 -9
- data/lib/stripe/params/invoice_list_params.rb +11 -3
- data/lib/stripe/params/invoice_mark_uncollectible_params.rb +1 -1
- data/lib/stripe/params/invoice_pay_params.rb +1 -1
- data/lib/stripe/params/invoice_payment_list_params.rb +6 -3
- data/lib/stripe/params/invoice_payment_retrieve_params.rb +1 -1
- data/lib/stripe/params/invoice_remove_lines_params.rb +2 -2
- data/lib/stripe/params/invoice_rendering_template_archive_params.rb +1 -1
- data/lib/stripe/params/invoice_rendering_template_list_params.rb +1 -1
- data/lib/stripe/params/invoice_rendering_template_retrieve_params.rb +1 -1
- data/lib/stripe/params/invoice_rendering_template_unarchive_params.rb +1 -1
- data/lib/stripe/params/invoice_retrieve_params.rb +1 -1
- data/lib/stripe/params/invoice_search_params.rb +1 -1
- data/lib/stripe/params/invoice_send_invoice_params.rb +1 -1
- data/lib/stripe/params/invoice_update_lines_params.rb +42 -10
- data/lib/stripe/params/invoice_update_params.rb +142 -36
- data/lib/stripe/params/invoice_void_invoice_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_approve_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_capture_params.rb +13 -13
- data/lib/stripe/params/issuing/authorization_create_params.rb +17 -17
- data/lib/stripe/params/issuing/authorization_decline_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_expire_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_finalize_amount_params.rb +8 -8
- data/lib/stripe/params/issuing/authorization_increment_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_list_params.rb +2 -2
- data/lib/stripe/params/issuing/authorization_respond_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_reverse_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_update_params.rb +1 -1
- data/lib/stripe/params/issuing/card_create_params.rb +8 -8
- data/lib/stripe/params/issuing/card_deliver_card_params.rb +1 -1
- data/lib/stripe/params/issuing/card_fail_card_params.rb +1 -1
- data/lib/stripe/params/issuing/card_list_params.rb +2 -2
- data/lib/stripe/params/issuing/card_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/card_return_card_params.rb +1 -1
- data/lib/stripe/params/issuing/card_ship_card_params.rb +1 -1
- data/lib/stripe/params/issuing/card_submit_card_params.rb +1 -1
- data/lib/stripe/params/issuing/card_update_params.rb +8 -8
- data/lib/stripe/params/issuing/cardholder_create_params.rb +14 -13
- data/lib/stripe/params/issuing/cardholder_list_params.rb +2 -2
- data/lib/stripe/params/issuing/cardholder_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/cardholder_update_params.rb +12 -12
- 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_create_params.rb +11 -11
- data/lib/stripe/params/issuing/dispute_list_params.rb +2 -2
- data/lib/stripe/params/issuing/dispute_retrieve_params.rb +1 -1
- 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/dispute_submit_params.rb +1 -1
- data/lib/stripe/params/issuing/dispute_update_params.rb +10 -10
- 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/personalization_design_activate_params.rb +1 -1
- data/lib/stripe/params/issuing/personalization_design_create_params.rb +3 -3
- data/lib/stripe/params/issuing/personalization_design_deactivate_params.rb +1 -1
- data/lib/stripe/params/issuing/personalization_design_list_params.rb +2 -2
- data/lib/stripe/params/issuing/personalization_design_reject_params.rb +2 -2
- data/lib/stripe/params/issuing/personalization_design_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/personalization_design_update_params.rb +3 -3
- data/lib/stripe/params/issuing/physical_bundle_list_params.rb +1 -1
- data/lib/stripe/params/issuing/physical_bundle_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/token_list_params.rb +2 -2
- data/lib/stripe/params/issuing/token_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/token_update_params.rb +1 -1
- data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +14 -14
- data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +14 -14
- data/lib/stripe/params/issuing/transaction_list_params.rb +6 -2
- data/lib/stripe/params/issuing/transaction_refund_params.rb +1 -1
- data/lib/stripe/params/issuing/transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/transaction_update_params.rb +1 -1
- data/lib/stripe/params/mandate_list_params.rb +39 -0
- data/lib/stripe/params/mandate_retrieve_params.rb +1 -1
- 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_cancel_params.rb +13 -0
- data/lib/stripe/params/order_create_params.rb +1124 -0
- data/lib/stripe/params/order_line_item_list_params.rb +22 -0
- data/lib/stripe/params/order_list_line_items_params.rb +22 -0
- data/lib/stripe/params/order_list_params.rb +25 -0
- data/lib/stripe/params/order_reopen_params.rb +13 -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 +1128 -0
- data/lib/stripe/params/payment_attempt_record_list_params.rb +19 -0
- data/lib/stripe/params/payment_attempt_record_retrieve_params.rb +13 -0
- data/lib/stripe/params/payment_intent_amount_details_line_item_list_params.rb +22 -0
- data/lib/stripe/params/payment_intent_apply_customer_balance_params.rb +1 -1
- data/lib/stripe/params/payment_intent_cancel_params.rb +1 -1
- data/lib/stripe/params/payment_intent_capture_params.rb +897 -2
- data/lib/stripe/params/payment_intent_confirm_params.rb +1542 -155
- data/lib/stripe/params/payment_intent_create_params.rb +1552 -157
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +73 -0
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +225 -2
- data/lib/stripe/params/payment_intent_list_params.rb +6 -2
- data/lib/stripe/params/payment_intent_retrieve_params.rb +1 -1
- data/lib/stripe/params/payment_intent_search_params.rb +1 -1
- data/lib/stripe/params/payment_intent_trigger_action_params.rb +27 -0
- data/lib/stripe/params/payment_intent_update_params.rb +1559 -133
- data/lib/stripe/params/payment_intent_verify_microdeposits_params.rb +1 -1
- data/lib/stripe/params/payment_link_create_params.rb +44 -44
- data/lib/stripe/params/payment_link_line_item_list_params.rb +1 -1
- data/lib/stripe/params/payment_link_list_line_items_params.rb +1 -1
- data/lib/stripe/params/payment_link_list_params.rb +1 -1
- data/lib/stripe/params/payment_link_retrieve_params.rb +1 -1
- data/lib/stripe/params/payment_link_update_params.rb +35 -35
- data/lib/stripe/params/payment_method_attach_params.rb +5 -2
- data/lib/stripe/params/payment_method_check_balance_params.rb +13 -0
- data/lib/stripe/params/payment_method_configuration_create_params.rb +233 -107
- data/lib/stripe/params/payment_method_configuration_list_params.rb +1 -1
- data/lib/stripe/params/payment_method_configuration_retrieve_params.rb +1 -1
- data/lib/stripe/params/payment_method_configuration_update_params.rb +233 -107
- data/lib/stripe/params/payment_method_create_params.rb +153 -56
- data/lib/stripe/params/payment_method_detach_params.rb +1 -1
- data/lib/stripe/params/payment_method_domain_create_params.rb +1 -1
- data/lib/stripe/params/payment_method_domain_list_params.rb +1 -1
- data/lib/stripe/params/payment_method_domain_retrieve_params.rb +1 -1
- data/lib/stripe/params/payment_method_domain_update_params.rb +1 -1
- data/lib/stripe/params/payment_method_domain_validate_params.rb +1 -1
- data/lib/stripe/params/payment_method_list_params.rb +1 -1
- data/lib/stripe/params/payment_method_retrieve_params.rb +1 -1
- data/lib/stripe/params/payment_method_update_params.rb +25 -6
- data/lib/stripe/params/payment_record_report_payment_attempt_canceled_params.rb +19 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb +19 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb +19 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb +93 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +186 -0
- data/lib/stripe/params/payment_record_report_payment_params.rb +252 -0
- data/lib/stripe/params/payment_record_retrieve_params.rb +13 -0
- data/lib/stripe/params/payout_cancel_params.rb +1 -1
- data/lib/stripe/params/payout_create_params.rb +1 -1
- data/lib/stripe/params/payout_list_params.rb +3 -3
- data/lib/stripe/params/payout_retrieve_params.rb +1 -1
- data/lib/stripe/params/payout_reverse_params.rb +1 -1
- data/lib/stripe/params/payout_update_params.rb +1 -1
- data/lib/stripe/params/plan_create_params.rb +4 -4
- data/lib/stripe/params/plan_delete_params.rb +1 -1
- data/lib/stripe/params/plan_list_params.rb +2 -2
- data/lib/stripe/params/plan_retrieve_params.rb +1 -1
- data/lib/stripe/params/plan_update_params.rb +1 -1
- data/lib/stripe/params/price_create_params.rb +9 -9
- data/lib/stripe/params/price_list_params.rb +3 -3
- data/lib/stripe/params/price_retrieve_params.rb +1 -1
- data/lib/stripe/params/price_search_params.rb +1 -1
- data/lib/stripe/params/price_update_params.rb +23 -4
- 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_create_params.rb +9 -9
- data/lib/stripe/params/product_delete_params.rb +1 -1
- data/lib/stripe/params/product_feature_create_params.rb +1 -1
- data/lib/stripe/params/product_feature_delete_params.rb +1 -1
- data/lib/stripe/params/product_feature_list_params.rb +1 -1
- data/lib/stripe/params/product_feature_retrieve_params.rb +1 -1
- data/lib/stripe/params/product_list_params.rb +2 -2
- data/lib/stripe/params/product_retrieve_params.rb +1 -1
- data/lib/stripe/params/product_search_params.rb +1 -1
- data/lib/stripe/params/product_update_params.rb +3 -3
- data/lib/stripe/params/promotion_code_create_params.rb +8 -4
- data/lib/stripe/params/promotion_code_list_params.rb +6 -2
- data/lib/stripe/params/promotion_code_retrieve_params.rb +1 -1
- data/lib/stripe/params/promotion_code_update_params.rb +3 -3
- data/lib/stripe/params/quote_accept_params.rb +1 -1
- data/lib/stripe/params/quote_cancel_params.rb +1 -1
- data/lib/stripe/params/quote_computed_upfront_line_items_list_params.rb +1 -1
- data/lib/stripe/params/quote_create_params.rb +820 -18
- data/lib/stripe/params/quote_finalize_quote_params.rb +1 -1
- data/lib/stripe/params/quote_line_item_list_params.rb +1 -1
- data/lib/stripe/params/quote_line_list_params.rb +22 -0
- data/lib/stripe/params/quote_list_computed_upfront_line_items_params.rb +1 -1
- data/lib/stripe/params/quote_list_line_items_params.rb +1 -1
- data/lib/stripe/params/quote_list_lines_params.rb +22 -0
- data/lib/stripe/params/quote_list_params.rb +9 -1
- 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_pdf_params.rb +1 -1
- 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_retrieve_params.rb +1 -1
- data/lib/stripe/params/quote_update_params.rb +825 -16
- data/lib/stripe/params/radar/early_fraud_warning_list_params.rb +2 -2
- data/lib/stripe/params/radar/early_fraud_warning_retrieve_params.rb +1 -1
- data/lib/stripe/params/radar/value_list_create_params.rb +1 -1
- data/lib/stripe/params/radar/value_list_delete_params.rb +1 -1
- data/lib/stripe/params/radar/value_list_item_create_params.rb +1 -1
- data/lib/stripe/params/radar/value_list_item_delete_params.rb +1 -1
- data/lib/stripe/params/radar/value_list_item_list_params.rb +2 -2
- data/lib/stripe/params/radar/value_list_item_retrieve_params.rb +1 -1
- data/lib/stripe/params/radar/value_list_list_params.rb +2 -2
- data/lib/stripe/params/radar/value_list_retrieve_params.rb +1 -1
- data/lib/stripe/params/radar/value_list_update_params.rb +1 -1
- data/lib/stripe/params/refund_cancel_params.rb +1 -1
- data/lib/stripe/params/refund_create_params.rb +1 -1
- data/lib/stripe/params/refund_expire_params.rb +1 -1
- data/lib/stripe/params/refund_list_params.rb +2 -2
- data/lib/stripe/params/refund_retrieve_params.rb +1 -1
- data/lib/stripe/params/refund_update_params.rb +1 -1
- data/lib/stripe/params/reporting/report_run_create_params.rb +2 -2
- data/lib/stripe/params/reporting/report_run_list_params.rb +2 -2
- data/lib/stripe/params/reporting/report_run_retrieve_params.rb +1 -1
- data/lib/stripe/params/reporting/report_type_list_params.rb +1 -1
- data/lib/stripe/params/reporting/report_type_retrieve_params.rb +1 -1
- data/lib/stripe/params/review_approve_params.rb +1 -1
- data/lib/stripe/params/review_list_params.rb +2 -2
- data/lib/stripe/params/review_retrieve_params.rb +1 -1
- data/lib/stripe/params/setup_attempt_list_params.rb +2 -2
- data/lib/stripe/params/setup_intent_cancel_params.rb +1 -1
- data/lib/stripe/params/setup_intent_confirm_params.rb +339 -88
- data/lib/stripe/params/setup_intent_create_params.rb +347 -90
- data/lib/stripe/params/setup_intent_list_params.rb +6 -2
- data/lib/stripe/params/setup_intent_retrieve_params.rb +1 -1
- data/lib/stripe/params/setup_intent_update_params.rb +341 -84
- data/lib/stripe/params/setup_intent_verify_microdeposits_params.rb +1 -1
- data/lib/stripe/params/shipping_rate_create_params.rb +6 -6
- data/lib/stripe/params/shipping_rate_list_params.rb +2 -2
- data/lib/stripe/params/shipping_rate_retrieve_params.rb +1 -1
- data/lib/stripe/params/shipping_rate_update_params.rb +3 -3
- data/lib/stripe/params/sigma/scheduled_query_run_list_params.rb +1 -1
- data/lib/stripe/params/sigma/scheduled_query_run_retrieve_params.rb +1 -1
- data/lib/stripe/params/source_create_params.rb +13 -13
- data/lib/stripe/params/source_detach_params.rb +1 -1
- data/lib/stripe/params/source_retrieve_params.rb +1 -1
- data/lib/stripe/params/source_transaction_list_params.rb +1 -1
- data/lib/stripe/params/source_update_params.rb +11 -11
- data/lib/stripe/params/source_verify_params.rb +1 -1
- data/lib/stripe/params/subscription_attach_cadence_params.rb +16 -0
- data/lib/stripe/params/subscription_cancel_params.rb +2 -2
- data/lib/stripe/params/subscription_create_params.rb +299 -45
- data/lib/stripe/params/subscription_delete_discount_params.rb +1 -1
- data/lib/stripe/params/subscription_item_create_params.rb +51 -7
- data/lib/stripe/params/subscription_item_delete_params.rb +1 -1
- data/lib/stripe/params/subscription_item_list_params.rb +1 -1
- data/lib/stripe/params/subscription_item_retrieve_params.rb +1 -1
- data/lib/stripe/params/subscription_item_update_params.rb +34 -6
- data/lib/stripe/params/subscription_list_params.rb +9 -5
- data/lib/stripe/params/subscription_migrate_params.rb +3 -3
- data/lib/stripe/params/subscription_resume_params.rb +1 -1
- data/lib/stripe/params/subscription_retrieve_params.rb +1 -1
- data/lib/stripe/params/subscription_schedule_amend_params.rb +570 -0
- data/lib/stripe/params/subscription_schedule_cancel_params.rb +1 -1
- data/lib/stripe/params/subscription_schedule_create_params.rb +197 -35
- data/lib/stripe/params/subscription_schedule_list_params.rb +9 -5
- data/lib/stripe/params/subscription_schedule_release_params.rb +1 -1
- data/lib/stripe/params/subscription_schedule_retrieve_params.rb +1 -1
- data/lib/stripe/params/subscription_schedule_update_params.rb +191 -33
- data/lib/stripe/params/subscription_search_params.rb +1 -1
- data/lib/stripe/params/subscription_update_params.rb +277 -43
- data/lib/stripe/params/tax/association_find_params.rb +18 -0
- data/lib/stripe/params/tax/calculation_create_params.rb +8 -8
- data/lib/stripe/params/tax/calculation_line_item_list_params.rb +1 -1
- data/lib/stripe/params/tax/calculation_list_line_items_params.rb +1 -1
- data/lib/stripe/params/tax/calculation_retrieve_params.rb +1 -1
- 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/registration_create_params.rb +163 -163
- data/lib/stripe/params/tax/registration_list_params.rb +1 -1
- data/lib/stripe/params/tax/registration_retrieve_params.rb +1 -1
- data/lib/stripe/params/tax/registration_update_params.rb +1 -1
- data/lib/stripe/params/tax/settings_retrieve_params.rb +1 -1
- data/lib/stripe/params/tax/settings_update_params.rb +4 -4
- data/lib/stripe/params/tax/transaction_create_from_calculation_params.rb +1 -1
- data/lib/stripe/params/tax/transaction_create_reversal_params.rb +3 -3
- data/lib/stripe/params/tax/transaction_line_item_list_params.rb +1 -1
- data/lib/stripe/params/tax/transaction_list_line_items_params.rb +1 -1
- data/lib/stripe/params/tax/transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/tax_code_list_params.rb +1 -1
- data/lib/stripe/params/tax_code_retrieve_params.rb +1 -1
- data/lib/stripe/params/tax_id_create_params.rb +6 -3
- data/lib/stripe/params/tax_id_delete_params.rb +1 -1
- data/lib/stripe/params/tax_id_list_params.rb +6 -3
- data/lib/stripe/params/tax_id_retrieve_params.rb +1 -1
- data/lib/stripe/params/tax_rate_create_params.rb +1 -1
- data/lib/stripe/params/tax_rate_list_params.rb +2 -2
- data/lib/stripe/params/tax_rate_retrieve_params.rb +1 -1
- data/lib/stripe/params/tax_rate_update_params.rb +1 -1
- data/lib/stripe/params/terminal/configuration_create_params.rb +46 -33
- data/lib/stripe/params/terminal/configuration_delete_params.rb +1 -1
- data/lib/stripe/params/terminal/configuration_list_params.rb +1 -1
- data/lib/stripe/params/terminal/configuration_retrieve_params.rb +1 -1
- data/lib/stripe/params/terminal/configuration_update_params.rb +46 -33
- data/lib/stripe/params/terminal/connection_token_create_params.rb +1 -1
- data/lib/stripe/params/terminal/location_create_params.rb +4 -4
- data/lib/stripe/params/terminal/location_delete_params.rb +1 -1
- data/lib/stripe/params/terminal/location_list_params.rb +1 -1
- data/lib/stripe/params/terminal/location_retrieve_params.rb +1 -1
- data/lib/stripe/params/terminal/location_update_params.rb +4 -4
- data/lib/stripe/params/terminal/onboarding_link_create_params.rb +43 -0
- data/lib/stripe/params/terminal/reader_cancel_action_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_collect_inputs_params.rb +6 -6
- data/lib/stripe/params/terminal/reader_collect_payment_method_params.rb +3 -3
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +15 -0
- data/lib/stripe/params/terminal/reader_confirm_payment_intent_params.rb +2 -2
- data/lib/stripe/params/terminal/reader_create_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_delete_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_list_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_present_payment_method_params.rb +4 -4
- data/lib/stripe/params/terminal/reader_process_payment_intent_params.rb +3 -3
- data/lib/stripe/params/terminal/reader_process_setup_intent_params.rb +2 -2
- data/lib/stripe/params/terminal/reader_refund_payment_params.rb +2 -2
- data/lib/stripe/params/terminal/reader_retrieve_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_set_reader_display_params.rb +3 -3
- data/lib/stripe/params/terminal/reader_succeed_input_collection_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_timeout_input_collection_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_update_params.rb +1 -1
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +158 -61
- data/lib/stripe/params/test_helpers/customer_fund_cash_balance_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +13 -13
- data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +17 -17
- data/lib/stripe/params/test_helpers/issuing/authorization_expire_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb +8 -8
- data/lib/stripe/params/test_helpers/issuing/authorization_increment_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_respond_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_reverse_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/card_deliver_card_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/card_fail_card_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/card_return_card_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/card_ship_card_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/card_submit_card_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/personalization_design_activate_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/personalization_design_deactivate_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/personalization_design_reject_params.rb +2 -2
- data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +14 -14
- data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +14 -14
- data/lib/stripe/params/test_helpers/issuing/transaction_refund_params.rb +1 -1
- data/lib/stripe/params/test_helpers/refund_expire_params.rb +1 -1
- data/lib/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rb +4 -4
- data/lib/stripe/params/test_helpers/terminal/reader_succeed_input_collection_params.rb +1 -1
- data/lib/stripe/params/test_helpers/terminal/reader_timeout_input_collection_params.rb +1 -1
- data/lib/stripe/params/test_helpers/test_clock_advance_params.rb +1 -1
- data/lib/stripe/params/test_helpers/test_clock_create_params.rb +1 -1
- data/lib/stripe/params/test_helpers/test_clock_delete_params.rb +1 -1
- data/lib/stripe/params/test_helpers/test_clock_list_params.rb +1 -1
- data/lib/stripe/params/test_helpers/test_clock_retrieve_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.rb +2 -2
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_return_inbound_transfer_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_succeed_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/outbound_payment_fail_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/outbound_payment_post_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/outbound_payment_return_outbound_payment_params.rb +2 -2
- data/lib/stripe/params/test_helpers/treasury/outbound_payment_update_params.rb +4 -4
- data/lib/stripe/params/test_helpers/treasury/outbound_transfer_fail_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/outbound_transfer_post_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/outbound_transfer_return_outbound_transfer_params.rb +2 -2
- data/lib/stripe/params/test_helpers/treasury/outbound_transfer_update_params.rb +4 -4
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +28 -4
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +28 -4
- data/lib/stripe/params/token_create_params.rb +45 -45
- data/lib/stripe/params/token_retrieve_params.rb +1 -1
- data/lib/stripe/params/topup_cancel_params.rb +1 -1
- data/lib/stripe/params/topup_create_params.rb +1 -1
- data/lib/stripe/params/topup_list_params.rb +3 -3
- data/lib/stripe/params/topup_retrieve_params.rb +1 -1
- data/lib/stripe/params/topup_update_params.rb +1 -1
- data/lib/stripe/params/transfer_create_params.rb +5 -1
- data/lib/stripe/params/transfer_list_params.rb +2 -2
- data/lib/stripe/params/transfer_retrieve_params.rb +1 -1
- data/lib/stripe/params/transfer_reversal_create_params.rb +1 -1
- data/lib/stripe/params/transfer_reversal_list_params.rb +1 -1
- data/lib/stripe/params/transfer_reversal_retrieve_params.rb +1 -1
- data/lib/stripe/params/transfer_reversal_update_params.rb +1 -1
- data/lib/stripe/params/transfer_update_params.rb +1 -1
- data/lib/stripe/params/treasury/credit_reversal_create_params.rb +1 -1
- data/lib/stripe/params/treasury/credit_reversal_list_params.rb +1 -1
- data/lib/stripe/params/treasury/credit_reversal_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/debit_reversal_create_params.rb +1 -1
- data/lib/stripe/params/treasury/debit_reversal_list_params.rb +1 -1
- data/lib/stripe/params/treasury/debit_reversal_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/financial_account_close_params.rb +2 -2
- data/lib/stripe/params/treasury/financial_account_create_params.rb +24 -17
- data/lib/stripe/params/treasury/financial_account_features_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +18 -15
- data/lib/stripe/params/treasury/financial_account_list_params.rb +2 -2
- data/lib/stripe/params/treasury/financial_account_retrieve_features_params.rb +1 -1
- data/lib/stripe/params/treasury/financial_account_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +18 -15
- data/lib/stripe/params/treasury/financial_account_update_params.rb +25 -18
- data/lib/stripe/params/treasury/inbound_transfer_cancel_params.rb +1 -1
- data/lib/stripe/params/treasury/inbound_transfer_create_params.rb +1 -1
- data/lib/stripe/params/treasury/inbound_transfer_fail_params.rb +2 -2
- data/lib/stripe/params/treasury/inbound_transfer_list_params.rb +1 -1
- data/lib/stripe/params/treasury/inbound_transfer_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/inbound_transfer_return_inbound_transfer_params.rb +1 -1
- data/lib/stripe/params/treasury/inbound_transfer_succeed_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_payment_cancel_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_payment_create_params.rb +8 -8
- data/lib/stripe/params/treasury/outbound_payment_fail_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_payment_list_params.rb +2 -2
- data/lib/stripe/params/treasury/outbound_payment_post_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_payment_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_payment_return_outbound_payment_params.rb +2 -2
- data/lib/stripe/params/treasury/outbound_payment_update_params.rb +4 -4
- data/lib/stripe/params/treasury/outbound_transfer_cancel_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +28 -4
- data/lib/stripe/params/treasury/outbound_transfer_fail_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_transfer_list_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_transfer_post_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_transfer_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_transfer_return_outbound_transfer_params.rb +2 -2
- data/lib/stripe/params/treasury/outbound_transfer_update_params.rb +4 -4
- data/lib/stripe/params/treasury/received_credit_create_params.rb +28 -4
- data/lib/stripe/params/treasury/received_credit_list_params.rb +2 -2
- data/lib/stripe/params/treasury/received_credit_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/received_debit_create_params.rb +28 -4
- data/lib/stripe/params/treasury/received_debit_list_params.rb +1 -1
- data/lib/stripe/params/treasury/received_debit_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/transaction_entry_list_params.rb +3 -3
- data/lib/stripe/params/treasury/transaction_entry_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/transaction_list_params.rb +4 -4
- data/lib/stripe/params/treasury/transaction_retrieve_params.rb +1 -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 +17 -0
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +257 -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 +78 -0
- data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +223 -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 +229 -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/custom_pricing_unit_create_params.rb +26 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +26 -0
- data/lib/stripe/params/v2/billing/intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intent_commit_params.rb +17 -0
- data/lib/stripe/params/v2/billing/intent_create_params.rb +355 -0
- data/lib/stripe/params/v2/billing/intent_list_params.rb +17 -0
- data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intent_reserve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intents/action_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/license_fee_create_params.rb +103 -0
- data/lib/stripe/params/v2/billing/license_fee_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/license_fee_subscription_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/license_fee_update_params.rb +84 -0
- data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +48 -0
- data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +48 -0
- data/lib/stripe/params/v2/billing/meter_event_adjustment_create_params.rb +2 -2
- data/lib/stripe/params/v2/billing/meter_event_create_params.rb +1 -1
- data/lib/stripe/params/v2/billing/meter_event_session_create_params.rb +1 -1
- data/lib/stripe/params/v2/billing/meter_event_stream_create_params.rb +2 -2
- data/lib/stripe/params/v2/billing/metered_item_create_params.rb +73 -0
- data/lib/stripe/params/v2/billing/metered_item_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/metered_item_update_params.rb +50 -0
- data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +39 -0
- data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +50 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +20 -0
- data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +39 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +73 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +12 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +27 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +22 -0
- data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/pricing_plans/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/billing/rate_card_create_params.rb +49 -0
- data/lib/stripe/params/v2/billing/rate_card_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +26 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +51 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +17 -0
- data/lib/stripe/params/v2/billing/rate_card_update_params.rb +38 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +91 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +25 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/rate_cards/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/service_action_create_params.rb +254 -0
- data/lib/stripe/params/v2/billing/service_action_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/service_action_update_params.rb +40 -0
- data/lib/stripe/params/v2/core/account_close_params.rb +17 -0
- data/lib/stripe/params/v2/core/account_create_params.rb +2658 -0
- data/lib/stripe/params/v2/core/account_link_create_params.rb +101 -0
- data/lib/stripe/params/v2/core/account_list_params.rb +20 -0
- data/lib/stripe/params/v2/core/account_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/core/account_update_params.rb +2689 -0
- data/lib/stripe/params/v2/core/accounts/person_create_params.rb +493 -0
- data/lib/stripe/params/v2/core/accounts/person_delete_params.rb +12 -0
- data/lib/stripe/params/v2/core/accounts/person_list_params.rb +19 -0
- data/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/accounts/person_update_params.rb +493 -0
- data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +36 -0
- data/lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/event_destination_create_params.rb +3 -3
- data/lib/stripe/params/v2/core/event_destination_delete_params.rb +1 -1
- data/lib/stripe/params/v2/core/event_destination_disable_params.rb +1 -1
- data/lib/stripe/params/v2/core/event_destination_enable_params.rb +1 -1
- data/lib/stripe/params/v2/core/event_destination_list_params.rb +1 -1
- data/lib/stripe/params/v2/core/event_destination_ping_params.rb +1 -1
- data/lib/stripe/params/v2/core/event_destination_retrieve_params.rb +1 -1
- data/lib/stripe/params/v2/core/event_destination_update_params.rb +2 -2
- data/lib/stripe/params/v2/core/event_list_params.rb +1 -1
- data/lib/stripe/params/v2/core/event_retrieve_params.rb +1 -1
- 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 +50 -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_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_create_params.rb +33 -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_update_params.rb +22 -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_address_create_params.rb +31 -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 +103 -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 +80 -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 +81 -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/recipient_verification_acknowledge_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/recipient_verification_create_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/recipient_verification_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/payments/off_session_payment_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +61 -0
- data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +237 -0
- data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +17 -0
- data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/tax/automatic_rule_create_params.rb +20 -0
- data/lib/stripe/params/v2/tax/automatic_rule_deactivate_params.rb +10 -0
- data/lib/stripe/params/v2/tax/automatic_rule_find_params.rb +17 -0
- data/lib/stripe/params/v2/tax/automatic_rule_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/tax/automatic_rule_update_params.rb +17 -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/v2/test_helpers/money_management_recipient_verifications_params.rb +23 -0
- data/lib/stripe/params/webhook_endpoint_create_params.rb +1 -1
- data/lib/stripe/params/webhook_endpoint_delete_params.rb +1 -1
- data/lib/stripe/params/webhook_endpoint_list_params.rb +1 -1
- data/lib/stripe/params/webhook_endpoint_retrieve_params.rb +1 -1
- data/lib/stripe/params/webhook_endpoint_update_params.rb +1 -1
- data/lib/stripe/params.rb +241 -0
- data/lib/stripe/resources/account.rb +207 -42
- data/lib/stripe/resources/account_notice.rb +94 -0
- data/lib/stripe/resources/account_session.rb +120 -39
- data/lib/stripe/resources/application_fee.rb +1 -1
- data/lib/stripe/resources/apps/secret.rb +1 -1
- data/lib/stripe/resources/balance.rb +18 -18
- data/lib/stripe/resources/balance_settings.rb +4 -4
- data/lib/stripe/resources/balance_transaction.rb +1 -1
- data/lib/stripe/resources/bank_account.rb +4 -4
- data/lib/stripe/resources/billing/alert.rb +107 -3
- data/lib/stripe/resources/billing/alert_triggered.rb +6 -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/billing/credit_balance_summary.rb +91 -7
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +92 -10
- data/lib/stripe/resources/billing/credit_grant.rb +65 -7
- data/lib/stripe/resources/billing/meter.rb +4 -4
- data/lib/stripe/resources/billing/meter_event_adjustment.rb +1 -1
- data/lib/stripe/resources/billing_portal/configuration.rb +13 -13
- data/lib/stripe/resources/billing_portal/session.rb +13 -11
- data/lib/stripe/resources/capability.rb +6 -6
- data/lib/stripe/resources/capital/financing_offer.rb +142 -0
- data/lib/stripe/resources/capital/financing_summary.rb +79 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +99 -0
- data/lib/stripe/resources/card.rb +21 -2
- data/lib/stripe/resources/cash_balance.rb +3 -1
- data/lib/stripe/resources/charge.rb +354 -105
- data/lib/stripe/resources/checkout/session.rb +352 -110
- data/lib/stripe/resources/climate/order.rb +3 -3
- data/lib/stripe/resources/climate/product.rb +1 -1
- data/lib/stripe/resources/climate/supplier.rb +1 -1
- data/lib/stripe/resources/confirmation_token.rb +266 -93
- data/lib/stripe/resources/country_spec.rb +3 -3
- data/lib/stripe/resources/coupon.rb +28 -3
- data/lib/stripe/resources/credit_note.rb +28 -8
- data/lib/stripe/resources/credit_note_line_item.rb +22 -4
- data/lib/stripe/resources/customer.rb +10 -8
- data/lib/stripe/resources/customer_balance_transaction.rb +2 -0
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +13 -11
- data/lib/stripe/resources/customer_session.rb +7 -5
- data/lib/stripe/resources/discount.rb +3 -1
- data/lib/stripe/resources/dispute.rb +39 -17
- data/lib/stripe/resources/event.rb +66 -3
- data/lib/stripe/resources/financial_connections/account.rb +34 -7
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +35 -0
- data/lib/stripe/resources/financial_connections/institution.rb +127 -0
- data/lib/stripe/resources/financial_connections/session.rb +69 -3
- data/lib/stripe/resources/financial_connections/transaction.rb +1 -1
- data/lib/stripe/resources/forwarding/request.rb +5 -5
- data/lib/stripe/resources/funding_instructions.rb +20 -20
- data/lib/stripe/resources/fx_quote.rb +147 -0
- data/lib/stripe/resources/identity/verification_report.rb +18 -18
- data/lib/stripe/resources/identity/verification_session.rb +15 -13
- data/lib/stripe/resources/invoice.rb +194 -43
- data/lib/stripe/resources/invoice_item.rb +101 -9
- data/lib/stripe/resources/invoice_line_item.rb +145 -15
- data/lib/stripe/resources/invoice_payment.rb +4 -2
- data/lib/stripe/resources/issuing/authorization.rb +19 -19
- data/lib/stripe/resources/issuing/card.rb +10 -10
- data/lib/stripe/resources/issuing/cardholder.rb +12 -12
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +263 -0
- data/lib/stripe/resources/issuing/dispute.rb +10 -10
- 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/personalization_design.rb +3 -3
- data/lib/stripe/resources/issuing/physical_bundle.rb +1 -1
- data/lib/stripe/resources/issuing/settlement.rb +61 -0
- data/lib/stripe/resources/issuing/token.rb +6 -6
- data/lib/stripe/resources/issuing/transaction.rb +18 -16
- data/lib/stripe/resources/line_item.rb +70 -3
- data/lib/stripe/resources/mandate.rb +93 -22
- data/lib/stripe/resources/margin.rb +64 -0
- data/lib/stripe/resources/order.rb +987 -0
- data/lib/stripe/resources/payment_attempt_record.rb +2102 -0
- data/lib/stripe/resources/payment_intent.rb +996 -124
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +128 -0
- data/lib/stripe/resources/payment_link.rb +38 -38
- data/lib/stripe/resources/payment_method.rb +279 -84
- data/lib/stripe/resources/payment_method_balance.rb +68 -0
- data/lib/stripe/resources/payment_method_configuration.rb +306 -102
- data/lib/stripe/resources/payment_method_domain.rb +12 -12
- data/lib/stripe/resources/payment_record.rb +2208 -0
- data/lib/stripe/resources/payout.rb +1 -1
- data/lib/stripe/resources/person.rb +20 -20
- data/lib/stripe/resources/plan.rb +2 -2
- data/lib/stripe/resources/price.rb +27 -7
- data/lib/stripe/resources/privacy/redaction_job.rb +187 -0
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +49 -0
- data/lib/stripe/resources/product.rb +2 -2
- data/lib/stripe/resources/promotion_code.rb +5 -3
- data/lib/stripe/resources/quote.rb +596 -27
- data/lib/stripe/resources/quote_line.rb +521 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +1150 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +732 -0
- data/lib/stripe/resources/refund.rb +55 -37
- data/lib/stripe/resources/reporting/report_run.rb +1 -1
- data/lib/stripe/resources/review.rb +2 -2
- data/lib/stripe/resources/setup_attempt.rb +92 -29
- data/lib/stripe/resources/setup_intent.rb +198 -27
- data/lib/stripe/resources/shipping_rate.rb +5 -5
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +1 -1
- data/lib/stripe/resources/source.rb +67 -29
- data/lib/stripe/resources/source_mandate_notification.rb +3 -3
- data/lib/stripe/resources/source_transaction.rb +5 -5
- data/lib/stripe/resources/subscription.rb +262 -30
- data/lib/stripe/resources/subscription_item.rb +21 -2
- data/lib/stripe/resources/subscription_schedule.rb +224 -29
- data/lib/stripe/resources/tax/association.rb +86 -0
- data/lib/stripe/resources/tax/calculation.rb +12 -12
- data/lib/stripe/resources/tax/calculation_line_item.rb +3 -3
- data/lib/stripe/resources/tax/form.rb +264 -0
- data/lib/stripe/resources/tax/registration.rb +140 -140
- data/lib/stripe/resources/tax/settings.rb +6 -6
- data/lib/stripe/resources/tax/transaction.rb +10 -10
- data/lib/stripe/resources/tax/transaction_line_item.rb +1 -1
- data/lib/stripe/resources/tax_id.rb +6 -2
- data/lib/stripe/resources/tax_rate.rb +1 -1
- data/lib/stripe/resources/terminal/configuration.rb +48 -32
- data/lib/stripe/resources/terminal/location.rb +3 -3
- data/lib/stripe/resources/terminal/onboarding_link.rb +71 -0
- data/lib/stripe/resources/terminal/reader.rb +35 -27
- data/lib/stripe/resources/terminal/reader_collected_data.rb +47 -0
- data/lib/stripe/resources/test_helpers/test_clock.rb +2 -2
- data/lib/stripe/resources/transfer.rb +2 -0
- data/lib/stripe/resources/treasury/credit_reversal.rb +1 -1
- data/lib/stripe/resources/treasury/debit_reversal.rb +2 -2
- data/lib/stripe/resources/treasury/financial_account.rb +8 -6
- data/lib/stripe/resources/treasury/financial_account_features.rb +24 -22
- data/lib/stripe/resources/treasury/inbound_transfer.rb +7 -7
- data/lib/stripe/resources/treasury/outbound_payment.rb +11 -11
- data/lib/stripe/resources/treasury/outbound_transfer.rb +40 -10
- data/lib/stripe/resources/treasury/received_credit.rb +38 -8
- data/lib/stripe/resources/treasury/received_debit.rb +39 -7
- data/lib/stripe/resources/treasury/transaction.rb +3 -3
- data/lib/stripe/resources/treasury/transaction_entry.rb +2 -2
- data/lib/stripe/resources/v2/billing/bill_setting.rb +102 -0
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +90 -0
- data/lib/stripe/resources/v2/billing/cadence.rb +655 -0
- data/lib/stripe/resources/v2/billing/collection_setting.rb +274 -0
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +262 -0
- data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +43 -0
- data/lib/stripe/resources/v2/billing/intent.rb +86 -0
- data/lib/stripe/resources/v2/billing/intent_action.rb +395 -0
- data/lib/stripe/resources/v2/billing/license_fee.rb +104 -0
- data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +44 -0
- data/lib/stripe/resources/v2/billing/license_fee_version.rb +80 -0
- data/lib/stripe/resources/v2/billing/licensed_item.rb +60 -0
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +1 -1
- data/lib/stripe/resources/v2/billing/metered_item.rb +85 -0
- data/lib/stripe/resources/v2/billing/pricing_plan.rb +51 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +94 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +94 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +38 -0
- data/lib/stripe/resources/v2/billing/profile.rb +46 -0
- data/lib/stripe/resources/v2/billing/rate_card.rb +61 -0
- data/lib/stripe/resources/v2/billing/rate_card_rate.rb +110 -0
- data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +94 -0
- data/lib/stripe/resources/v2/billing/rate_card_version.rb +34 -0
- data/lib/stripe/resources/v2/billing/service_action.rb +244 -0
- data/lib/stripe/resources/v2/core/account.rb +4554 -0
- data/lib/stripe/resources/v2/core/account_link.rb +123 -0
- data/lib/stripe/resources/v2/core/account_person.rb +477 -0
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +105 -0
- data/lib/stripe/resources/v2/core/event.rb +6 -2
- data/lib/stripe/resources/v2/core/event_destination.rb +4 -4
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +114 -0
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +47 -0
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +28 -0
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +30 -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 +132 -0
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +148 -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 +198 -0
- data/lib/stripe/resources/v2/money_management/payout_method.rb +137 -0
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +81 -0
- data/lib/stripe/resources/v2/money_management/received_credit.rb +228 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +138 -0
- data/lib/stripe/resources/v2/money_management/recipient_verification.rb +83 -0
- data/lib/stripe/resources/v2/money_management/transaction.rb +116 -0
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +105 -0
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +242 -0
- data/lib/stripe/resources/v2/tax/automatic_rule.rb +39 -0
- data/lib/stripe/resources.rb +386 -0
- data/lib/stripe/services/account_notice_service.rb +39 -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/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/institution_service.rb +30 -0
- data/lib/stripe/services/financial_connections_service.rb +2 -1
- data/lib/stripe/services/fx_quote_service.rb +27 -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_line_item_service.rb +17 -0
- data/lib/stripe/services/order_service.rb +78 -0
- data/lib/stripe/services/payment_attempt_record_service.rb +28 -0
- data/lib/stripe/services/payment_intent_amount_details_line_item_service.rb +17 -0
- data/lib/stripe/services/payment_intent_service.rb +44 -0
- data/lib/stripe/services/payment_method_service.rb +11 -0
- data/lib/stripe/services/payment_record_service.rb +89 -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/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/subscription_schedule_service.rb +11 -0
- data/lib/stripe/services/subscription_service.rb +11 -0
- data/lib/stripe/services/tax/association_service.rb +19 -0
- data/lib/stripe/services/tax/form_service.rb +37 -0
- data/lib/stripe/services/tax_service.rb +3 -1
- data/lib/stripe/services/terminal/onboarding_link_service.rb +19 -0
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +19 -0
- data/lib/stripe/services/terminal_service.rb +3 -1
- data/lib/stripe/services/v1_services.rb +10 -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 +61 -0
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +54 -0
- data/lib/stripe/services/v2/billing/intent_service.rb +94 -0
- data/lib/stripe/services/v2/billing/intents/action_service.rb +34 -0
- data/lib/stripe/services/v2/billing/license_fee_service.rb +61 -0
- data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +21 -0
- data/lib/stripe/services/v2/billing/license_fees/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/licensed_item_service.rb +54 -0
- data/lib/stripe/services/v2/billing/metered_item_service.rb +54 -0
- data/lib/stripe/services/v2/billing/pricing_plan_service.rb +62 -0
- data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +43 -0
- data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +67 -0
- data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/profile_service.rb +54 -0
- data/lib/stripe/services/v2/billing/rate_card_service.rb +62 -0
- data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +65 -0
- data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +57 -0
- data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/service_action_service.rb +43 -0
- data/lib/stripe/services/v2/billing_service.rb +18 -1
- data/lib/stripe/services/v2/core/account_link_service.rb +21 -0
- data/lib/stripe/services/v2/core/account_service.rb +76 -0
- data/lib/stripe/services/v2/core/accounts/person_service.rb +67 -0
- data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +35 -0
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +74 -0
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +68 -0
- data/lib/stripe/services/v2/core/vault_service.rb +18 -0
- data/lib/stripe/services/v2/core_service.rb +5 -1
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +59 -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 +73 -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 +63 -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/recipient_verification_service.rb +43 -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 +33 -0
- data/lib/stripe/services/v2/payment_service.rb +15 -0
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +65 -0
- data/lib/stripe/services/v2/tax/automatic_rule_service.rb +65 -0
- data/lib/stripe/services/v2/tax_service.rb +15 -0
- data/lib/stripe/services/v2/test_helper_service.rb +16 -0
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +36 -0
- data/lib/stripe/services/v2/test_helpers/money_management_service.rb +21 -0
- data/lib/stripe/services/v2_services.rb +5 -1
- data/lib/stripe/services.rb +83 -0
- data/lib/stripe/stripe_configuration.rb +3 -1
- 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 +53 -0
- data/rbi/stripe.rbi +171575 -97503
- metadata +713 -3
@@ -2,12 +2,190 @@
|
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
4
|
module Stripe
|
5
|
-
class PaymentIntentConfirmParams < Stripe::RequestParams
|
6
|
-
class
|
7
|
-
class
|
8
|
-
class
|
5
|
+
class PaymentIntentConfirmParams < ::Stripe::RequestParams
|
6
|
+
class AmountDetails < ::Stripe::RequestParams
|
7
|
+
class LineItem < ::Stripe::RequestParams
|
8
|
+
class PaymentMethodOptions < ::Stripe::RequestParams
|
9
|
+
class Card < ::Stripe::RequestParams
|
10
|
+
# Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc.
|
11
|
+
attr_accessor :commodity_code
|
12
|
+
|
13
|
+
def initialize(commodity_code: nil)
|
14
|
+
@commodity_code = commodity_code
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
class CardPresent < ::Stripe::RequestParams
|
19
|
+
# Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc.
|
20
|
+
attr_accessor :commodity_code
|
21
|
+
|
22
|
+
def initialize(commodity_code: nil)
|
23
|
+
@commodity_code = commodity_code
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
class Klarna < ::Stripe::RequestParams
|
28
|
+
# URL to an image for the product. Max length, 4096 characters.
|
29
|
+
attr_accessor :image_url
|
30
|
+
# URL to the product page. Max length, 4096 characters.
|
31
|
+
attr_accessor :product_url
|
32
|
+
# Reference for the subscription this line item is for.
|
33
|
+
attr_accessor :subscription_reference
|
34
|
+
|
35
|
+
def initialize(image_url: nil, product_url: nil, subscription_reference: nil)
|
36
|
+
@image_url = image_url
|
37
|
+
@product_url = product_url
|
38
|
+
@subscription_reference = subscription_reference
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
class Paypal < ::Stripe::RequestParams
|
43
|
+
# Type of the line item.
|
44
|
+
attr_accessor :category
|
45
|
+
# Description of the line item.
|
46
|
+
attr_accessor :description
|
47
|
+
# The Stripe account ID of the connected account that sells the item.
|
48
|
+
attr_accessor :sold_by
|
49
|
+
|
50
|
+
def initialize(category: nil, description: nil, sold_by: nil)
|
51
|
+
@category = category
|
52
|
+
@description = description
|
53
|
+
@sold_by = sold_by
|
54
|
+
end
|
55
|
+
end
|
56
|
+
# This sub-hash contains line item details that are specific to `card` payment method."
|
57
|
+
attr_accessor :card
|
58
|
+
# This sub-hash contains line item details that are specific to `card_present` payment method."
|
59
|
+
attr_accessor :card_present
|
60
|
+
# This sub-hash contains line item details that are specific to `klarna` payment method."
|
61
|
+
attr_accessor :klarna
|
62
|
+
# This sub-hash contains line item details that are specific to `paypal` payment method."
|
63
|
+
attr_accessor :paypal
|
64
|
+
|
65
|
+
def initialize(card: nil, card_present: nil, klarna: nil, paypal: nil)
|
66
|
+
@card = card
|
67
|
+
@card_present = card_present
|
68
|
+
@klarna = klarna
|
69
|
+
@paypal = paypal
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
class Tax < ::Stripe::RequestParams
|
74
|
+
# The total tax on an item. Non-negative integer.
|
75
|
+
attr_accessor :total_tax_amount
|
76
|
+
|
77
|
+
def initialize(total_tax_amount: nil)
|
78
|
+
@total_tax_amount = total_tax_amount
|
79
|
+
end
|
80
|
+
end
|
81
|
+
# The amount an item was discounted for. Positive integer.
|
82
|
+
attr_accessor :discount_amount
|
83
|
+
# Payment method-specific information for line items.
|
84
|
+
attr_accessor :payment_method_options
|
85
|
+
# Unique identifier of the product. At most 12 characters long.
|
86
|
+
attr_accessor :product_code
|
87
|
+
# Name of the product. At most 100 characters long.
|
88
|
+
attr_accessor :product_name
|
89
|
+
# Number of items of the product. Positive integer.
|
90
|
+
attr_accessor :quantity
|
91
|
+
# Contains information about the tax on the item.
|
92
|
+
attr_accessor :tax
|
93
|
+
# Cost of the product. Non-negative integer.
|
94
|
+
attr_accessor :unit_cost
|
95
|
+
# A unit of measure for the line item, such as gallons, feet, meters, etc.
|
96
|
+
attr_accessor :unit_of_measure
|
97
|
+
|
98
|
+
def initialize(
|
99
|
+
discount_amount: nil,
|
100
|
+
payment_method_options: nil,
|
101
|
+
product_code: nil,
|
102
|
+
product_name: nil,
|
103
|
+
quantity: nil,
|
104
|
+
tax: nil,
|
105
|
+
unit_cost: nil,
|
106
|
+
unit_of_measure: nil
|
107
|
+
)
|
108
|
+
@discount_amount = discount_amount
|
109
|
+
@payment_method_options = payment_method_options
|
110
|
+
@product_code = product_code
|
111
|
+
@product_name = product_name
|
112
|
+
@quantity = quantity
|
113
|
+
@tax = tax
|
114
|
+
@unit_cost = unit_cost
|
115
|
+
@unit_of_measure = unit_of_measure
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
class Shipping < ::Stripe::RequestParams
|
120
|
+
# Portion of the amount that is for shipping.
|
121
|
+
attr_accessor :amount
|
122
|
+
# The postal code that represents the shipping source.
|
123
|
+
attr_accessor :from_postal_code
|
124
|
+
# The postal code that represents the shipping destination.
|
125
|
+
attr_accessor :to_postal_code
|
126
|
+
|
127
|
+
def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil)
|
128
|
+
@amount = amount
|
129
|
+
@from_postal_code = from_postal_code
|
130
|
+
@to_postal_code = to_postal_code
|
131
|
+
end
|
132
|
+
end
|
133
|
+
|
134
|
+
class Tax < ::Stripe::RequestParams
|
135
|
+
# Total portion of the amount that is for tax.
|
136
|
+
attr_accessor :total_tax_amount
|
137
|
+
|
138
|
+
def initialize(total_tax_amount: nil)
|
139
|
+
@total_tax_amount = total_tax_amount
|
140
|
+
end
|
141
|
+
end
|
142
|
+
# The total discount applied on the transaction.
|
143
|
+
attr_accessor :discount_amount
|
144
|
+
# A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items.
|
145
|
+
attr_accessor :line_items
|
146
|
+
# Contains information about the shipping portion of the amount.
|
147
|
+
attr_accessor :shipping
|
148
|
+
# Contains information about the tax portion of the amount.
|
149
|
+
attr_accessor :tax
|
150
|
+
|
151
|
+
def initialize(discount_amount: nil, line_items: nil, shipping: nil, tax: nil)
|
152
|
+
@discount_amount = discount_amount
|
153
|
+
@line_items = line_items
|
154
|
+
@shipping = shipping
|
155
|
+
@tax = tax
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
159
|
+
class Hooks < ::Stripe::RequestParams
|
160
|
+
class Inputs < ::Stripe::RequestParams
|
161
|
+
class Tax < ::Stripe::RequestParams
|
162
|
+
# The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id
|
163
|
+
attr_accessor :calculation
|
164
|
+
|
165
|
+
def initialize(calculation: nil)
|
166
|
+
@calculation = calculation
|
167
|
+
end
|
168
|
+
end
|
169
|
+
# Tax arguments for automations
|
170
|
+
attr_accessor :tax
|
171
|
+
|
172
|
+
def initialize(tax: nil)
|
173
|
+
@tax = tax
|
174
|
+
end
|
175
|
+
end
|
176
|
+
# Arguments passed in automations
|
177
|
+
attr_accessor :inputs
|
178
|
+
|
179
|
+
def initialize(inputs: nil)
|
180
|
+
@inputs = inputs
|
181
|
+
end
|
182
|
+
end
|
9
183
|
|
10
|
-
|
184
|
+
class MandateData < ::Stripe::RequestParams
|
185
|
+
class CustomerAcceptance < ::Stripe::RequestParams
|
186
|
+
class Offline < ::Stripe::RequestParams; end
|
187
|
+
|
188
|
+
class Online < ::Stripe::RequestParams
|
11
189
|
# The IP address from which the Mandate was accepted by the customer.
|
12
190
|
attr_accessor :ip_address
|
13
191
|
# The user agent of the browser from which the Mandate was accepted by the customer.
|
@@ -18,32 +196,758 @@ module Stripe
|
|
18
196
|
@user_agent = user_agent
|
19
197
|
end
|
20
198
|
end
|
21
|
-
# The time at which the customer accepted the Mandate.
|
22
|
-
attr_accessor :accepted_at
|
23
|
-
# If this is a Mandate accepted offline, this hash contains details about the offline acceptance.
|
24
|
-
attr_accessor :offline
|
25
|
-
# If this is a Mandate accepted online, this hash contains details about the online acceptance.
|
26
|
-
attr_accessor :online
|
27
|
-
# The type of customer acceptance information included with the Mandate. One of `online` or `offline`.
|
28
|
-
attr_accessor :type
|
199
|
+
# The time at which the customer accepted the Mandate.
|
200
|
+
attr_accessor :accepted_at
|
201
|
+
# If this is a Mandate accepted offline, this hash contains details about the offline acceptance.
|
202
|
+
attr_accessor :offline
|
203
|
+
# If this is a Mandate accepted online, this hash contains details about the online acceptance.
|
204
|
+
attr_accessor :online
|
205
|
+
# The type of customer acceptance information included with the Mandate. One of `online` or `offline`.
|
206
|
+
attr_accessor :type
|
207
|
+
|
208
|
+
def initialize(accepted_at: nil, offline: nil, online: nil, type: nil)
|
209
|
+
@accepted_at = accepted_at
|
210
|
+
@offline = offline
|
211
|
+
@online = online
|
212
|
+
@type = type
|
213
|
+
end
|
214
|
+
end
|
215
|
+
# This hash contains details about the customer acceptance of the Mandate.
|
216
|
+
attr_accessor :customer_acceptance
|
217
|
+
|
218
|
+
def initialize(customer_acceptance: nil)
|
219
|
+
@customer_acceptance = customer_acceptance
|
220
|
+
end
|
221
|
+
end
|
222
|
+
|
223
|
+
class PaymentDetails < ::Stripe::RequestParams
|
224
|
+
class Benefit < ::Stripe::RequestParams
|
225
|
+
class FrMealVoucher < ::Stripe::RequestParams
|
226
|
+
# The 14-digit SIRET of the meal voucher acceptor.
|
227
|
+
attr_accessor :siret
|
228
|
+
|
229
|
+
def initialize(siret: nil)
|
230
|
+
@siret = siret
|
231
|
+
end
|
232
|
+
end
|
233
|
+
# French meal voucher benefit details for this PaymentIntent.
|
234
|
+
attr_accessor :fr_meal_voucher
|
235
|
+
|
236
|
+
def initialize(fr_meal_voucher: nil)
|
237
|
+
@fr_meal_voucher = fr_meal_voucher
|
238
|
+
end
|
239
|
+
end
|
240
|
+
|
241
|
+
class CarRental < ::Stripe::RequestParams
|
242
|
+
class Affiliate < ::Stripe::RequestParams
|
243
|
+
# The name of the affiliate that originated the purchase.
|
244
|
+
attr_accessor :name
|
245
|
+
|
246
|
+
def initialize(name: nil)
|
247
|
+
@name = name
|
248
|
+
end
|
249
|
+
end
|
250
|
+
|
251
|
+
class Delivery < ::Stripe::RequestParams
|
252
|
+
class Recipient < ::Stripe::RequestParams
|
253
|
+
# The email of the recipient the ticket is delivered to.
|
254
|
+
attr_accessor :email
|
255
|
+
# The name of the recipient the ticket is delivered to.
|
256
|
+
attr_accessor :name
|
257
|
+
# The phone number of the recipient the ticket is delivered to.
|
258
|
+
attr_accessor :phone
|
259
|
+
|
260
|
+
def initialize(email: nil, name: nil, phone: nil)
|
261
|
+
@email = email
|
262
|
+
@name = name
|
263
|
+
@phone = phone
|
264
|
+
end
|
265
|
+
end
|
266
|
+
# The delivery method for the payment
|
267
|
+
attr_accessor :mode
|
268
|
+
# Details of the recipient.
|
269
|
+
attr_accessor :recipient
|
270
|
+
|
271
|
+
def initialize(mode: nil, recipient: nil)
|
272
|
+
@mode = mode
|
273
|
+
@recipient = recipient
|
274
|
+
end
|
275
|
+
end
|
276
|
+
|
277
|
+
class Distance < ::Stripe::RequestParams
|
278
|
+
# Distance traveled.
|
279
|
+
attr_accessor :amount
|
280
|
+
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
281
|
+
attr_accessor :unit
|
282
|
+
|
283
|
+
def initialize(amount: nil, unit: nil)
|
284
|
+
@amount = amount
|
285
|
+
@unit = unit
|
286
|
+
end
|
287
|
+
end
|
288
|
+
|
289
|
+
class Driver < ::Stripe::RequestParams
|
290
|
+
# Driver's identification number.
|
291
|
+
attr_accessor :driver_identification_number
|
292
|
+
# Driver's tax number.
|
293
|
+
attr_accessor :driver_tax_number
|
294
|
+
# Full name of the person or entity on the car reservation.
|
295
|
+
attr_accessor :name
|
296
|
+
|
297
|
+
def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
|
298
|
+
@driver_identification_number = driver_identification_number
|
299
|
+
@driver_tax_number = driver_tax_number
|
300
|
+
@name = name
|
301
|
+
end
|
302
|
+
end
|
303
|
+
|
304
|
+
class PickupAddress < ::Stripe::RequestParams
|
305
|
+
# City, district, suburb, town, or village.
|
306
|
+
attr_accessor :city
|
307
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
308
|
+
attr_accessor :country
|
309
|
+
# Address line 1, such as the street, PO Box, or company name.
|
310
|
+
attr_accessor :line1
|
311
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
312
|
+
attr_accessor :line2
|
313
|
+
# ZIP or postal code.
|
314
|
+
attr_accessor :postal_code
|
315
|
+
# State, county, province, or region.
|
316
|
+
attr_accessor :state
|
317
|
+
|
318
|
+
def initialize(
|
319
|
+
city: nil,
|
320
|
+
country: nil,
|
321
|
+
line1: nil,
|
322
|
+
line2: nil,
|
323
|
+
postal_code: nil,
|
324
|
+
state: nil
|
325
|
+
)
|
326
|
+
@city = city
|
327
|
+
@country = country
|
328
|
+
@line1 = line1
|
329
|
+
@line2 = line2
|
330
|
+
@postal_code = postal_code
|
331
|
+
@state = state
|
332
|
+
end
|
333
|
+
end
|
334
|
+
|
335
|
+
class ReturnAddress < ::Stripe::RequestParams
|
336
|
+
# City, district, suburb, town, or village.
|
337
|
+
attr_accessor :city
|
338
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
339
|
+
attr_accessor :country
|
340
|
+
# Address line 1, such as the street, PO Box, or company name.
|
341
|
+
attr_accessor :line1
|
342
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
343
|
+
attr_accessor :line2
|
344
|
+
# ZIP or postal code.
|
345
|
+
attr_accessor :postal_code
|
346
|
+
# State, county, province, or region.
|
347
|
+
attr_accessor :state
|
348
|
+
|
349
|
+
def initialize(
|
350
|
+
city: nil,
|
351
|
+
country: nil,
|
352
|
+
line1: nil,
|
353
|
+
line2: nil,
|
354
|
+
postal_code: nil,
|
355
|
+
state: nil
|
356
|
+
)
|
357
|
+
@city = city
|
358
|
+
@country = country
|
359
|
+
@line1 = line1
|
360
|
+
@line2 = line2
|
361
|
+
@postal_code = postal_code
|
362
|
+
@state = state
|
363
|
+
end
|
364
|
+
end
|
365
|
+
# Affiliate details for this purchase.
|
366
|
+
attr_accessor :affiliate
|
367
|
+
# The booking number associated with the car rental.
|
368
|
+
attr_accessor :booking_number
|
369
|
+
# Class code of the car.
|
370
|
+
attr_accessor :car_class_code
|
371
|
+
# Make of the car.
|
372
|
+
attr_accessor :car_make
|
373
|
+
# Model of the car.
|
374
|
+
attr_accessor :car_model
|
375
|
+
# The name of the rental car company.
|
376
|
+
attr_accessor :company
|
377
|
+
# The customer service phone number of the car rental company.
|
378
|
+
attr_accessor :customer_service_phone_number
|
379
|
+
# Number of days the car is being rented.
|
380
|
+
attr_accessor :days_rented
|
381
|
+
# Delivery details for this purchase.
|
382
|
+
attr_accessor :delivery
|
383
|
+
# The details of the distance traveled during the rental period.
|
384
|
+
attr_accessor :distance
|
385
|
+
# The details of the passengers in the travel reservation
|
386
|
+
attr_accessor :drivers
|
387
|
+
# List of additional charges being billed.
|
388
|
+
attr_accessor :extra_charges
|
389
|
+
# Indicates if the customer did not keep nor cancel their booking.
|
390
|
+
attr_accessor :no_show
|
391
|
+
# Car pick-up address.
|
392
|
+
attr_accessor :pickup_address
|
393
|
+
# Car pick-up time. Measured in seconds since the Unix epoch.
|
394
|
+
attr_accessor :pickup_at
|
395
|
+
# Name of the pickup location.
|
396
|
+
attr_accessor :pickup_location_name
|
397
|
+
# Rental rate.
|
398
|
+
attr_accessor :rate_amount
|
399
|
+
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
400
|
+
attr_accessor :rate_interval
|
401
|
+
# The name of the person or entity renting the car.
|
402
|
+
attr_accessor :renter_name
|
403
|
+
# Car return address.
|
404
|
+
attr_accessor :return_address
|
405
|
+
# Car return time. Measured in seconds since the Unix epoch.
|
406
|
+
attr_accessor :return_at
|
407
|
+
# Name of the return location.
|
408
|
+
attr_accessor :return_location_name
|
409
|
+
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
410
|
+
attr_accessor :tax_exempt
|
411
|
+
# The vehicle identification number.
|
412
|
+
attr_accessor :vehicle_identification_number
|
413
|
+
|
414
|
+
def initialize(
|
415
|
+
affiliate: nil,
|
416
|
+
booking_number: nil,
|
417
|
+
car_class_code: nil,
|
418
|
+
car_make: nil,
|
419
|
+
car_model: nil,
|
420
|
+
company: nil,
|
421
|
+
customer_service_phone_number: nil,
|
422
|
+
days_rented: nil,
|
423
|
+
delivery: nil,
|
424
|
+
distance: nil,
|
425
|
+
drivers: nil,
|
426
|
+
extra_charges: nil,
|
427
|
+
no_show: nil,
|
428
|
+
pickup_address: nil,
|
429
|
+
pickup_at: nil,
|
430
|
+
pickup_location_name: nil,
|
431
|
+
rate_amount: nil,
|
432
|
+
rate_interval: nil,
|
433
|
+
renter_name: nil,
|
434
|
+
return_address: nil,
|
435
|
+
return_at: nil,
|
436
|
+
return_location_name: nil,
|
437
|
+
tax_exempt: nil,
|
438
|
+
vehicle_identification_number: nil
|
439
|
+
)
|
440
|
+
@affiliate = affiliate
|
441
|
+
@booking_number = booking_number
|
442
|
+
@car_class_code = car_class_code
|
443
|
+
@car_make = car_make
|
444
|
+
@car_model = car_model
|
445
|
+
@company = company
|
446
|
+
@customer_service_phone_number = customer_service_phone_number
|
447
|
+
@days_rented = days_rented
|
448
|
+
@delivery = delivery
|
449
|
+
@distance = distance
|
450
|
+
@drivers = drivers
|
451
|
+
@extra_charges = extra_charges
|
452
|
+
@no_show = no_show
|
453
|
+
@pickup_address = pickup_address
|
454
|
+
@pickup_at = pickup_at
|
455
|
+
@pickup_location_name = pickup_location_name
|
456
|
+
@rate_amount = rate_amount
|
457
|
+
@rate_interval = rate_interval
|
458
|
+
@renter_name = renter_name
|
459
|
+
@return_address = return_address
|
460
|
+
@return_at = return_at
|
461
|
+
@return_location_name = return_location_name
|
462
|
+
@tax_exempt = tax_exempt
|
463
|
+
@vehicle_identification_number = vehicle_identification_number
|
464
|
+
end
|
465
|
+
end
|
466
|
+
|
467
|
+
class EventDetails < ::Stripe::RequestParams
|
468
|
+
class Address < ::Stripe::RequestParams
|
469
|
+
# City, district, suburb, town, or village.
|
470
|
+
attr_accessor :city
|
471
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
472
|
+
attr_accessor :country
|
473
|
+
# Address line 1, such as the street, PO Box, or company name.
|
474
|
+
attr_accessor :line1
|
475
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
476
|
+
attr_accessor :line2
|
477
|
+
# ZIP or postal code.
|
478
|
+
attr_accessor :postal_code
|
479
|
+
# State, county, province, or region.
|
480
|
+
attr_accessor :state
|
481
|
+
|
482
|
+
def initialize(
|
483
|
+
city: nil,
|
484
|
+
country: nil,
|
485
|
+
line1: nil,
|
486
|
+
line2: nil,
|
487
|
+
postal_code: nil,
|
488
|
+
state: nil
|
489
|
+
)
|
490
|
+
@city = city
|
491
|
+
@country = country
|
492
|
+
@line1 = line1
|
493
|
+
@line2 = line2
|
494
|
+
@postal_code = postal_code
|
495
|
+
@state = state
|
496
|
+
end
|
497
|
+
end
|
498
|
+
|
499
|
+
class Affiliate < ::Stripe::RequestParams
|
500
|
+
# The name of the affiliate that originated the purchase.
|
501
|
+
attr_accessor :name
|
502
|
+
|
503
|
+
def initialize(name: nil)
|
504
|
+
@name = name
|
505
|
+
end
|
506
|
+
end
|
507
|
+
|
508
|
+
class Delivery < ::Stripe::RequestParams
|
509
|
+
class Recipient < ::Stripe::RequestParams
|
510
|
+
# The email of the recipient the ticket is delivered to.
|
511
|
+
attr_accessor :email
|
512
|
+
# The name of the recipient the ticket is delivered to.
|
513
|
+
attr_accessor :name
|
514
|
+
# The phone number of the recipient the ticket is delivered to.
|
515
|
+
attr_accessor :phone
|
516
|
+
|
517
|
+
def initialize(email: nil, name: nil, phone: nil)
|
518
|
+
@email = email
|
519
|
+
@name = name
|
520
|
+
@phone = phone
|
521
|
+
end
|
522
|
+
end
|
523
|
+
# The delivery method for the payment
|
524
|
+
attr_accessor :mode
|
525
|
+
# Details of the recipient.
|
526
|
+
attr_accessor :recipient
|
527
|
+
|
528
|
+
def initialize(mode: nil, recipient: nil)
|
529
|
+
@mode = mode
|
530
|
+
@recipient = recipient
|
531
|
+
end
|
532
|
+
end
|
533
|
+
# Indicates if the tickets are digitally checked when entering the venue.
|
534
|
+
attr_accessor :access_controlled_venue
|
535
|
+
# The event location's address.
|
536
|
+
attr_accessor :address
|
537
|
+
# Affiliate details for this purchase.
|
538
|
+
attr_accessor :affiliate
|
539
|
+
# The name of the company
|
540
|
+
attr_accessor :company
|
541
|
+
# Delivery details for this purchase.
|
542
|
+
attr_accessor :delivery
|
543
|
+
# Event end time. Measured in seconds since the Unix epoch.
|
544
|
+
attr_accessor :ends_at
|
545
|
+
# Type of the event entertainment (concert, sports event etc)
|
546
|
+
attr_accessor :genre
|
547
|
+
# The name of the event.
|
548
|
+
attr_accessor :name
|
549
|
+
# Event start time. Measured in seconds since the Unix epoch.
|
550
|
+
attr_accessor :starts_at
|
551
|
+
|
552
|
+
def initialize(
|
553
|
+
access_controlled_venue: nil,
|
554
|
+
address: nil,
|
555
|
+
affiliate: nil,
|
556
|
+
company: nil,
|
557
|
+
delivery: nil,
|
558
|
+
ends_at: nil,
|
559
|
+
genre: nil,
|
560
|
+
name: nil,
|
561
|
+
starts_at: nil
|
562
|
+
)
|
563
|
+
@access_controlled_venue = access_controlled_venue
|
564
|
+
@address = address
|
565
|
+
@affiliate = affiliate
|
566
|
+
@company = company
|
567
|
+
@delivery = delivery
|
568
|
+
@ends_at = ends_at
|
569
|
+
@genre = genre
|
570
|
+
@name = name
|
571
|
+
@starts_at = starts_at
|
572
|
+
end
|
573
|
+
end
|
574
|
+
|
575
|
+
class Flight < ::Stripe::RequestParams
|
576
|
+
class Affiliate < ::Stripe::RequestParams
|
577
|
+
# The name of the affiliate that originated the purchase.
|
578
|
+
attr_accessor :name
|
579
|
+
|
580
|
+
def initialize(name: nil)
|
581
|
+
@name = name
|
582
|
+
end
|
583
|
+
end
|
584
|
+
|
585
|
+
class Delivery < ::Stripe::RequestParams
|
586
|
+
class Recipient < ::Stripe::RequestParams
|
587
|
+
# The email of the recipient the ticket is delivered to.
|
588
|
+
attr_accessor :email
|
589
|
+
# The name of the recipient the ticket is delivered to.
|
590
|
+
attr_accessor :name
|
591
|
+
# The phone number of the recipient the ticket is delivered to.
|
592
|
+
attr_accessor :phone
|
593
|
+
|
594
|
+
def initialize(email: nil, name: nil, phone: nil)
|
595
|
+
@email = email
|
596
|
+
@name = name
|
597
|
+
@phone = phone
|
598
|
+
end
|
599
|
+
end
|
600
|
+
# The delivery method for the payment
|
601
|
+
attr_accessor :mode
|
602
|
+
# Details of the recipient.
|
603
|
+
attr_accessor :recipient
|
604
|
+
|
605
|
+
def initialize(mode: nil, recipient: nil)
|
606
|
+
@mode = mode
|
607
|
+
@recipient = recipient
|
608
|
+
end
|
609
|
+
end
|
610
|
+
|
611
|
+
class Passenger < ::Stripe::RequestParams
|
612
|
+
# Full name of the person or entity on the flight reservation.
|
613
|
+
attr_accessor :name
|
614
|
+
|
615
|
+
def initialize(name: nil)
|
616
|
+
@name = name
|
617
|
+
end
|
618
|
+
end
|
619
|
+
|
620
|
+
class Segment < ::Stripe::RequestParams
|
621
|
+
# The flight segment amount.
|
622
|
+
attr_accessor :amount
|
623
|
+
# The International Air Transport Association (IATA) airport code for the arrival airport.
|
624
|
+
attr_accessor :arrival_airport
|
625
|
+
# The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
626
|
+
attr_accessor :arrives_at
|
627
|
+
# The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
628
|
+
attr_accessor :carrier
|
629
|
+
# The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
630
|
+
attr_accessor :departs_at
|
631
|
+
# The International Air Transport Association (IATA) airport code for the departure airport.
|
632
|
+
attr_accessor :departure_airport
|
633
|
+
# The flight number associated with the segment
|
634
|
+
attr_accessor :flight_number
|
635
|
+
# The fare class for the segment.
|
636
|
+
attr_accessor :service_class
|
637
|
+
|
638
|
+
def initialize(
|
639
|
+
amount: nil,
|
640
|
+
arrival_airport: nil,
|
641
|
+
arrives_at: nil,
|
642
|
+
carrier: nil,
|
643
|
+
departs_at: nil,
|
644
|
+
departure_airport: nil,
|
645
|
+
flight_number: nil,
|
646
|
+
service_class: nil
|
647
|
+
)
|
648
|
+
@amount = amount
|
649
|
+
@arrival_airport = arrival_airport
|
650
|
+
@arrives_at = arrives_at
|
651
|
+
@carrier = carrier
|
652
|
+
@departs_at = departs_at
|
653
|
+
@departure_airport = departure_airport
|
654
|
+
@flight_number = flight_number
|
655
|
+
@service_class = service_class
|
656
|
+
end
|
657
|
+
end
|
658
|
+
# Affiliate details for this purchase.
|
659
|
+
attr_accessor :affiliate
|
660
|
+
# The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
661
|
+
attr_accessor :agency_number
|
662
|
+
# The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
663
|
+
attr_accessor :carrier
|
664
|
+
# Delivery details for this purchase.
|
665
|
+
attr_accessor :delivery
|
666
|
+
# The name of the person or entity on the reservation.
|
667
|
+
attr_accessor :passenger_name
|
668
|
+
# The details of the passengers in the travel reservation.
|
669
|
+
attr_accessor :passengers
|
670
|
+
# The individual flight segments associated with the trip.
|
671
|
+
attr_accessor :segments
|
672
|
+
# The ticket number associated with the travel reservation.
|
673
|
+
attr_accessor :ticket_number
|
674
|
+
|
675
|
+
def initialize(
|
676
|
+
affiliate: nil,
|
677
|
+
agency_number: nil,
|
678
|
+
carrier: nil,
|
679
|
+
delivery: nil,
|
680
|
+
passenger_name: nil,
|
681
|
+
passengers: nil,
|
682
|
+
segments: nil,
|
683
|
+
ticket_number: nil
|
684
|
+
)
|
685
|
+
@affiliate = affiliate
|
686
|
+
@agency_number = agency_number
|
687
|
+
@carrier = carrier
|
688
|
+
@delivery = delivery
|
689
|
+
@passenger_name = passenger_name
|
690
|
+
@passengers = passengers
|
691
|
+
@segments = segments
|
692
|
+
@ticket_number = ticket_number
|
693
|
+
end
|
694
|
+
end
|
695
|
+
|
696
|
+
class Lodging < ::Stripe::RequestParams
|
697
|
+
class Address < ::Stripe::RequestParams
|
698
|
+
# City, district, suburb, town, or village.
|
699
|
+
attr_accessor :city
|
700
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
701
|
+
attr_accessor :country
|
702
|
+
# Address line 1, such as the street, PO Box, or company name.
|
703
|
+
attr_accessor :line1
|
704
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
705
|
+
attr_accessor :line2
|
706
|
+
# ZIP or postal code.
|
707
|
+
attr_accessor :postal_code
|
708
|
+
# State, county, province, or region.
|
709
|
+
attr_accessor :state
|
710
|
+
|
711
|
+
def initialize(
|
712
|
+
city: nil,
|
713
|
+
country: nil,
|
714
|
+
line1: nil,
|
715
|
+
line2: nil,
|
716
|
+
postal_code: nil,
|
717
|
+
state: nil
|
718
|
+
)
|
719
|
+
@city = city
|
720
|
+
@country = country
|
721
|
+
@line1 = line1
|
722
|
+
@line2 = line2
|
723
|
+
@postal_code = postal_code
|
724
|
+
@state = state
|
725
|
+
end
|
726
|
+
end
|
727
|
+
|
728
|
+
class Affiliate < ::Stripe::RequestParams
|
729
|
+
# The name of the affiliate that originated the purchase.
|
730
|
+
attr_accessor :name
|
731
|
+
|
732
|
+
def initialize(name: nil)
|
733
|
+
@name = name
|
734
|
+
end
|
735
|
+
end
|
736
|
+
|
737
|
+
class Delivery < ::Stripe::RequestParams
|
738
|
+
class Recipient < ::Stripe::RequestParams
|
739
|
+
# The email of the recipient the ticket is delivered to.
|
740
|
+
attr_accessor :email
|
741
|
+
# The name of the recipient the ticket is delivered to.
|
742
|
+
attr_accessor :name
|
743
|
+
# The phone number of the recipient the ticket is delivered to.
|
744
|
+
attr_accessor :phone
|
745
|
+
|
746
|
+
def initialize(email: nil, name: nil, phone: nil)
|
747
|
+
@email = email
|
748
|
+
@name = name
|
749
|
+
@phone = phone
|
750
|
+
end
|
751
|
+
end
|
752
|
+
# The delivery method for the payment
|
753
|
+
attr_accessor :mode
|
754
|
+
# Details of the recipient.
|
755
|
+
attr_accessor :recipient
|
756
|
+
|
757
|
+
def initialize(mode: nil, recipient: nil)
|
758
|
+
@mode = mode
|
759
|
+
@recipient = recipient
|
760
|
+
end
|
761
|
+
end
|
762
|
+
|
763
|
+
class Passenger < ::Stripe::RequestParams
|
764
|
+
# Full name of the person or entity on the lodging reservation.
|
765
|
+
attr_accessor :name
|
766
|
+
|
767
|
+
def initialize(name: nil)
|
768
|
+
@name = name
|
769
|
+
end
|
770
|
+
end
|
771
|
+
# The lodging location's address.
|
772
|
+
attr_accessor :address
|
773
|
+
# The number of adults on the booking
|
774
|
+
attr_accessor :adults
|
775
|
+
# Affiliate details for this purchase.
|
776
|
+
attr_accessor :affiliate
|
777
|
+
# The booking number associated with the lodging reservation.
|
778
|
+
attr_accessor :booking_number
|
779
|
+
# The lodging category
|
780
|
+
attr_accessor :category
|
781
|
+
# Lodging check-in time. Measured in seconds since the Unix epoch.
|
782
|
+
attr_accessor :checkin_at
|
783
|
+
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
784
|
+
attr_accessor :checkout_at
|
785
|
+
# The customer service phone number of the lodging company.
|
786
|
+
attr_accessor :customer_service_phone_number
|
787
|
+
# The daily lodging room rate.
|
788
|
+
attr_accessor :daily_room_rate_amount
|
789
|
+
# Delivery details for this purchase.
|
790
|
+
attr_accessor :delivery
|
791
|
+
# List of additional charges being billed.
|
792
|
+
attr_accessor :extra_charges
|
793
|
+
# Indicates whether the lodging location is compliant with the Fire Safety Act.
|
794
|
+
attr_accessor :fire_safety_act_compliance
|
795
|
+
# The name of the lodging location.
|
796
|
+
attr_accessor :name
|
797
|
+
# Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
798
|
+
attr_accessor :no_show
|
799
|
+
# The number of rooms on the booking
|
800
|
+
attr_accessor :number_of_rooms
|
801
|
+
# The details of the passengers in the travel reservation
|
802
|
+
attr_accessor :passengers
|
803
|
+
# The phone number of the lodging location.
|
804
|
+
attr_accessor :property_phone_number
|
805
|
+
# The room class for this purchase.
|
806
|
+
attr_accessor :room_class
|
807
|
+
# The number of room nights
|
808
|
+
attr_accessor :room_nights
|
809
|
+
# The total tax amount associating with the room reservation.
|
810
|
+
attr_accessor :total_room_tax_amount
|
811
|
+
# The total tax amount
|
812
|
+
attr_accessor :total_tax_amount
|
813
|
+
|
814
|
+
def initialize(
|
815
|
+
address: nil,
|
816
|
+
adults: nil,
|
817
|
+
affiliate: nil,
|
818
|
+
booking_number: nil,
|
819
|
+
category: nil,
|
820
|
+
checkin_at: nil,
|
821
|
+
checkout_at: nil,
|
822
|
+
customer_service_phone_number: nil,
|
823
|
+
daily_room_rate_amount: nil,
|
824
|
+
delivery: nil,
|
825
|
+
extra_charges: nil,
|
826
|
+
fire_safety_act_compliance: nil,
|
827
|
+
name: nil,
|
828
|
+
no_show: nil,
|
829
|
+
number_of_rooms: nil,
|
830
|
+
passengers: nil,
|
831
|
+
property_phone_number: nil,
|
832
|
+
room_class: nil,
|
833
|
+
room_nights: nil,
|
834
|
+
total_room_tax_amount: nil,
|
835
|
+
total_tax_amount: nil
|
836
|
+
)
|
837
|
+
@address = address
|
838
|
+
@adults = adults
|
839
|
+
@affiliate = affiliate
|
840
|
+
@booking_number = booking_number
|
841
|
+
@category = category
|
842
|
+
@checkin_at = checkin_at
|
843
|
+
@checkout_at = checkout_at
|
844
|
+
@customer_service_phone_number = customer_service_phone_number
|
845
|
+
@daily_room_rate_amount = daily_room_rate_amount
|
846
|
+
@delivery = delivery
|
847
|
+
@extra_charges = extra_charges
|
848
|
+
@fire_safety_act_compliance = fire_safety_act_compliance
|
849
|
+
@name = name
|
850
|
+
@no_show = no_show
|
851
|
+
@number_of_rooms = number_of_rooms
|
852
|
+
@passengers = passengers
|
853
|
+
@property_phone_number = property_phone_number
|
854
|
+
@room_class = room_class
|
855
|
+
@room_nights = room_nights
|
856
|
+
@total_room_tax_amount = total_room_tax_amount
|
857
|
+
@total_tax_amount = total_tax_amount
|
858
|
+
end
|
859
|
+
end
|
860
|
+
|
861
|
+
class Subscription < ::Stripe::RequestParams
|
862
|
+
class Affiliate < ::Stripe::RequestParams
|
863
|
+
# The name of the affiliate that originated the purchase.
|
864
|
+
attr_accessor :name
|
865
|
+
|
866
|
+
def initialize(name: nil)
|
867
|
+
@name = name
|
868
|
+
end
|
869
|
+
end
|
870
|
+
|
871
|
+
class BillingInterval < ::Stripe::RequestParams
|
872
|
+
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
873
|
+
attr_accessor :count
|
874
|
+
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
875
|
+
attr_accessor :interval
|
876
|
+
|
877
|
+
def initialize(count: nil, interval: nil)
|
878
|
+
@count = count
|
879
|
+
@interval = interval
|
880
|
+
end
|
881
|
+
end
|
882
|
+
# Affiliate details for this purchase.
|
883
|
+
attr_accessor :affiliate
|
884
|
+
# Info whether the subscription will be auto renewed upon expiry.
|
885
|
+
attr_accessor :auto_renewal
|
886
|
+
# Subscription billing details for this purchase.
|
887
|
+
attr_accessor :billing_interval
|
888
|
+
# Subscription end time. Measured in seconds since the Unix epoch.
|
889
|
+
attr_accessor :ends_at
|
890
|
+
# Name of the product on subscription. e.g. Apple Music Subscription
|
891
|
+
attr_accessor :name
|
892
|
+
# Subscription start time. Measured in seconds since the Unix epoch.
|
893
|
+
attr_accessor :starts_at
|
29
894
|
|
30
|
-
def initialize(
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
895
|
+
def initialize(
|
896
|
+
affiliate: nil,
|
897
|
+
auto_renewal: nil,
|
898
|
+
billing_interval: nil,
|
899
|
+
ends_at: nil,
|
900
|
+
name: nil,
|
901
|
+
starts_at: nil
|
902
|
+
)
|
903
|
+
@affiliate = affiliate
|
904
|
+
@auto_renewal = auto_renewal
|
905
|
+
@billing_interval = billing_interval
|
906
|
+
@ends_at = ends_at
|
907
|
+
@name = name
|
908
|
+
@starts_at = starts_at
|
909
|
+
end
|
910
|
+
end
|
911
|
+
# Car rental details for this PaymentIntent.
|
912
|
+
attr_accessor :car_rental
|
913
|
+
# Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field.
|
914
|
+
attr_accessor :customer_reference
|
915
|
+
# Event details for this PaymentIntent
|
916
|
+
attr_accessor :event_details
|
917
|
+
# Flight reservation details for this PaymentIntent
|
918
|
+
attr_accessor :flight
|
919
|
+
# Lodging reservation details for this PaymentIntent
|
920
|
+
attr_accessor :lodging
|
921
|
+
# A unique value assigned by the business to identify the transaction.
|
922
|
+
attr_accessor :order_reference
|
923
|
+
# Subscription details for this PaymentIntent
|
924
|
+
attr_accessor :subscription
|
925
|
+
# Benefit details for this PaymentIntent
|
926
|
+
attr_accessor :benefit
|
39
927
|
|
40
|
-
def initialize(
|
41
|
-
|
928
|
+
def initialize(
|
929
|
+
car_rental: nil,
|
930
|
+
customer_reference: nil,
|
931
|
+
event_details: nil,
|
932
|
+
flight: nil,
|
933
|
+
lodging: nil,
|
934
|
+
order_reference: nil,
|
935
|
+
subscription: nil,
|
936
|
+
benefit: nil
|
937
|
+
)
|
938
|
+
@car_rental = car_rental
|
939
|
+
@customer_reference = customer_reference
|
940
|
+
@event_details = event_details
|
941
|
+
@flight = flight
|
942
|
+
@lodging = lodging
|
943
|
+
@order_reference = order_reference
|
944
|
+
@subscription = subscription
|
945
|
+
@benefit = benefit
|
42
946
|
end
|
43
947
|
end
|
44
948
|
|
45
|
-
class PaymentMethodData < Stripe::RequestParams
|
46
|
-
class AcssDebit < Stripe::RequestParams
|
949
|
+
class PaymentMethodData < ::Stripe::RequestParams
|
950
|
+
class AcssDebit < ::Stripe::RequestParams
|
47
951
|
# Customer's bank account number.
|
48
952
|
attr_accessor :account_number
|
49
953
|
# Institution number of the customer's bank.
|
@@ -58,13 +962,13 @@ module Stripe
|
|
58
962
|
end
|
59
963
|
end
|
60
964
|
|
61
|
-
class Affirm < Stripe::RequestParams; end
|
62
|
-
class AfterpayClearpay < Stripe::RequestParams; end
|
63
|
-
class Alipay < Stripe::RequestParams; end
|
64
|
-
class Alma < Stripe::RequestParams; end
|
65
|
-
class AmazonPay < Stripe::RequestParams; end
|
965
|
+
class Affirm < ::Stripe::RequestParams; end
|
966
|
+
class AfterpayClearpay < ::Stripe::RequestParams; end
|
967
|
+
class Alipay < ::Stripe::RequestParams; end
|
968
|
+
class Alma < ::Stripe::RequestParams; end
|
969
|
+
class AmazonPay < ::Stripe::RequestParams; end
|
66
970
|
|
67
|
-
class AuBecsDebit < Stripe::RequestParams
|
971
|
+
class AuBecsDebit < ::Stripe::RequestParams
|
68
972
|
# The account number for the bank account.
|
69
973
|
attr_accessor :account_number
|
70
974
|
# Bank-State-Branch number of the bank account.
|
@@ -76,7 +980,7 @@ module Stripe
|
|
76
980
|
end
|
77
981
|
end
|
78
982
|
|
79
|
-
class BacsDebit < Stripe::RequestParams
|
983
|
+
class BacsDebit < ::Stripe::RequestParams
|
80
984
|
# Account number of the bank account that the funds will be debited from.
|
81
985
|
attr_accessor :account_number
|
82
986
|
# Sort code of the bank account. (e.g., `10-20-30`)
|
@@ -88,11 +992,11 @@ module Stripe
|
|
88
992
|
end
|
89
993
|
end
|
90
994
|
|
91
|
-
class Bancontact < Stripe::RequestParams; end
|
92
|
-
class Billie < Stripe::RequestParams; end
|
995
|
+
class Bancontact < ::Stripe::RequestParams; end
|
996
|
+
class Billie < ::Stripe::RequestParams; end
|
93
997
|
|
94
|
-
class BillingDetails < Stripe::RequestParams
|
95
|
-
class Address < Stripe::RequestParams
|
998
|
+
class BillingDetails < ::Stripe::RequestParams
|
999
|
+
class Address < ::Stripe::RequestParams
|
96
1000
|
# City, district, suburb, town, or village.
|
97
1001
|
attr_accessor :city
|
98
1002
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
@@ -142,9 +1046,9 @@ module Stripe
|
|
142
1046
|
end
|
143
1047
|
end
|
144
1048
|
|
145
|
-
class Blik < Stripe::RequestParams; end
|
1049
|
+
class Blik < ::Stripe::RequestParams; end
|
146
1050
|
|
147
|
-
class Boleto < Stripe::RequestParams
|
1051
|
+
class Boleto < ::Stripe::RequestParams
|
148
1052
|
# The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
|
149
1053
|
attr_accessor :tax_id
|
150
1054
|
|
@@ -153,11 +1057,11 @@ module Stripe
|
|
153
1057
|
end
|
154
1058
|
end
|
155
1059
|
|
156
|
-
class Cashapp < Stripe::RequestParams; end
|
157
|
-
class Crypto < Stripe::RequestParams; end
|
158
|
-
class CustomerBalance < Stripe::RequestParams; end
|
1060
|
+
class Cashapp < ::Stripe::RequestParams; end
|
1061
|
+
class Crypto < ::Stripe::RequestParams; end
|
1062
|
+
class CustomerBalance < ::Stripe::RequestParams; end
|
159
1063
|
|
160
|
-
class Eps < Stripe::RequestParams
|
1064
|
+
class Eps < ::Stripe::RequestParams
|
161
1065
|
# The customer's bank.
|
162
1066
|
attr_accessor :bank
|
163
1067
|
|
@@ -166,7 +1070,7 @@ module Stripe
|
|
166
1070
|
end
|
167
1071
|
end
|
168
1072
|
|
169
|
-
class Fpx < Stripe::RequestParams
|
1073
|
+
class Fpx < ::Stripe::RequestParams
|
170
1074
|
# Account holder type for FPX transaction
|
171
1075
|
attr_accessor :account_holder_type
|
172
1076
|
# The customer's bank.
|
@@ -178,10 +1082,20 @@ module Stripe
|
|
178
1082
|
end
|
179
1083
|
end
|
180
1084
|
|
181
|
-
class Giropay < Stripe::RequestParams; end
|
182
|
-
class
|
1085
|
+
class Giropay < ::Stripe::RequestParams; end
|
1086
|
+
class Gopay < ::Stripe::RequestParams; end
|
1087
|
+
class Grabpay < ::Stripe::RequestParams; end
|
1088
|
+
|
1089
|
+
class IdBankTransfer < ::Stripe::RequestParams
|
1090
|
+
# Bank where the account is held.
|
1091
|
+
attr_accessor :bank
|
1092
|
+
|
1093
|
+
def initialize(bank: nil)
|
1094
|
+
@bank = bank
|
1095
|
+
end
|
1096
|
+
end
|
183
1097
|
|
184
|
-
class Ideal < Stripe::RequestParams
|
1098
|
+
class Ideal < ::Stripe::RequestParams
|
185
1099
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
186
1100
|
attr_accessor :bank
|
187
1101
|
|
@@ -190,11 +1104,11 @@ module Stripe
|
|
190
1104
|
end
|
191
1105
|
end
|
192
1106
|
|
193
|
-
class InteracPresent < Stripe::RequestParams; end
|
194
|
-
class KakaoPay < Stripe::RequestParams; end
|
1107
|
+
class InteracPresent < ::Stripe::RequestParams; end
|
1108
|
+
class KakaoPay < ::Stripe::RequestParams; end
|
195
1109
|
|
196
|
-
class Klarna < Stripe::RequestParams
|
197
|
-
class Dob < Stripe::RequestParams
|
1110
|
+
class Klarna < ::Stripe::RequestParams
|
1111
|
+
class Dob < ::Stripe::RequestParams
|
198
1112
|
# The day of birth, between 1 and 31.
|
199
1113
|
attr_accessor :day
|
200
1114
|
# The month of birth, between 1 and 12.
|
@@ -216,14 +1130,14 @@ module Stripe
|
|
216
1130
|
end
|
217
1131
|
end
|
218
1132
|
|
219
|
-
class Konbini < Stripe::RequestParams; end
|
220
|
-
class KrCard < Stripe::RequestParams; end
|
221
|
-
class Link < Stripe::RequestParams; end
|
222
|
-
class MbWay < Stripe::RequestParams; end
|
223
|
-
class Mobilepay < Stripe::RequestParams; end
|
224
|
-
class Multibanco < Stripe::RequestParams; end
|
1133
|
+
class Konbini < ::Stripe::RequestParams; end
|
1134
|
+
class KrCard < ::Stripe::RequestParams; end
|
1135
|
+
class Link < ::Stripe::RequestParams; end
|
1136
|
+
class MbWay < ::Stripe::RequestParams; end
|
1137
|
+
class Mobilepay < ::Stripe::RequestParams; end
|
1138
|
+
class Multibanco < ::Stripe::RequestParams; end
|
225
1139
|
|
226
|
-
class NaverPay < Stripe::RequestParams
|
1140
|
+
class NaverPay < ::Stripe::RequestParams
|
227
1141
|
# Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
|
228
1142
|
attr_accessor :funding
|
229
1143
|
|
@@ -232,7 +1146,7 @@ module Stripe
|
|
232
1146
|
end
|
233
1147
|
end
|
234
1148
|
|
235
|
-
class NzBankAccount < Stripe::RequestParams
|
1149
|
+
class NzBankAccount < ::Stripe::RequestParams
|
236
1150
|
# The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details.
|
237
1151
|
attr_accessor :account_holder_name
|
238
1152
|
# The account number for the bank account.
|
@@ -263,9 +1177,9 @@ module Stripe
|
|
263
1177
|
end
|
264
1178
|
end
|
265
1179
|
|
266
|
-
class Oxxo < Stripe::RequestParams; end
|
1180
|
+
class Oxxo < ::Stripe::RequestParams; end
|
267
1181
|
|
268
|
-
class P24 < Stripe::RequestParams
|
1182
|
+
class P24 < ::Stripe::RequestParams
|
269
1183
|
# The customer's bank.
|
270
1184
|
attr_accessor :bank
|
271
1185
|
|
@@ -274,14 +1188,32 @@ module Stripe
|
|
274
1188
|
end
|
275
1189
|
end
|
276
1190
|
|
277
|
-
class PayByBank < Stripe::RequestParams; end
|
278
|
-
class Payco < Stripe::RequestParams; end
|
279
|
-
class Paynow < Stripe::RequestParams; end
|
280
|
-
class Paypal < Stripe::RequestParams; end
|
281
|
-
class
|
282
|
-
|
1191
|
+
class PayByBank < ::Stripe::RequestParams; end
|
1192
|
+
class Payco < ::Stripe::RequestParams; end
|
1193
|
+
class Paynow < ::Stripe::RequestParams; end
|
1194
|
+
class Paypal < ::Stripe::RequestParams; end
|
1195
|
+
class Paypay < ::Stripe::RequestParams; end
|
1196
|
+
|
1197
|
+
class Payto < ::Stripe::RequestParams
|
1198
|
+
# The account number for the bank account.
|
1199
|
+
attr_accessor :account_number
|
1200
|
+
# Bank-State-Branch number of the bank account.
|
1201
|
+
attr_accessor :bsb_number
|
1202
|
+
# The PayID alias for the bank account.
|
1203
|
+
attr_accessor :pay_id
|
1204
|
+
|
1205
|
+
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
1206
|
+
@account_number = account_number
|
1207
|
+
@bsb_number = bsb_number
|
1208
|
+
@pay_id = pay_id
|
1209
|
+
end
|
1210
|
+
end
|
1211
|
+
|
1212
|
+
class Pix < ::Stripe::RequestParams; end
|
1213
|
+
class Promptpay < ::Stripe::RequestParams; end
|
1214
|
+
class Qris < ::Stripe::RequestParams; end
|
283
1215
|
|
284
|
-
class RadarOptions < Stripe::RequestParams
|
1216
|
+
class RadarOptions < ::Stripe::RequestParams
|
285
1217
|
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
286
1218
|
attr_accessor :session
|
287
1219
|
|
@@ -290,11 +1222,34 @@ module Stripe
|
|
290
1222
|
end
|
291
1223
|
end
|
292
1224
|
|
293
|
-
class
|
294
|
-
|
295
|
-
|
1225
|
+
class Rechnung < ::Stripe::RequestParams
|
1226
|
+
class Dob < ::Stripe::RequestParams
|
1227
|
+
# The day of birth, between 1 and 31.
|
1228
|
+
attr_accessor :day
|
1229
|
+
# The month of birth, between 1 and 12.
|
1230
|
+
attr_accessor :month
|
1231
|
+
# The four-digit year of birth.
|
1232
|
+
attr_accessor :year
|
1233
|
+
|
1234
|
+
def initialize(day: nil, month: nil, year: nil)
|
1235
|
+
@day = day
|
1236
|
+
@month = month
|
1237
|
+
@year = year
|
1238
|
+
end
|
1239
|
+
end
|
1240
|
+
# Customer's date of birth
|
1241
|
+
attr_accessor :dob
|
1242
|
+
|
1243
|
+
def initialize(dob: nil)
|
1244
|
+
@dob = dob
|
1245
|
+
end
|
1246
|
+
end
|
1247
|
+
|
1248
|
+
class RevolutPay < ::Stripe::RequestParams; end
|
1249
|
+
class SamsungPay < ::Stripe::RequestParams; end
|
1250
|
+
class Satispay < ::Stripe::RequestParams; end
|
296
1251
|
|
297
|
-
class SepaDebit < Stripe::RequestParams
|
1252
|
+
class SepaDebit < ::Stripe::RequestParams
|
298
1253
|
# IBAN of the bank account.
|
299
1254
|
attr_accessor :iban
|
300
1255
|
|
@@ -303,7 +1258,9 @@ module Stripe
|
|
303
1258
|
end
|
304
1259
|
end
|
305
1260
|
|
306
|
-
class
|
1261
|
+
class Shopeepay < ::Stripe::RequestParams; end
|
1262
|
+
|
1263
|
+
class Sofort < ::Stripe::RequestParams
|
307
1264
|
# Two-letter ISO code representing the country the bank account is located in.
|
308
1265
|
attr_accessor :country
|
309
1266
|
|
@@ -312,10 +1269,22 @@ module Stripe
|
|
312
1269
|
end
|
313
1270
|
end
|
314
1271
|
|
315
|
-
class
|
316
|
-
|
1272
|
+
class StripeBalance < ::Stripe::RequestParams
|
1273
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
1274
|
+
attr_accessor :account
|
1275
|
+
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
1276
|
+
attr_accessor :source_type
|
1277
|
+
|
1278
|
+
def initialize(account: nil, source_type: nil)
|
1279
|
+
@account = account
|
1280
|
+
@source_type = source_type
|
1281
|
+
end
|
1282
|
+
end
|
1283
|
+
|
1284
|
+
class Swish < ::Stripe::RequestParams; end
|
1285
|
+
class Twint < ::Stripe::RequestParams; end
|
317
1286
|
|
318
|
-
class UsBankAccount < Stripe::RequestParams
|
1287
|
+
class UsBankAccount < ::Stripe::RequestParams
|
319
1288
|
# Account holder type: individual or company.
|
320
1289
|
attr_accessor :account_holder_type
|
321
1290
|
# Account number of the bank account.
|
@@ -342,8 +1311,8 @@ module Stripe
|
|
342
1311
|
end
|
343
1312
|
end
|
344
1313
|
|
345
|
-
class WechatPay < Stripe::RequestParams; end
|
346
|
-
class Zip < Stripe::RequestParams; end
|
1314
|
+
class WechatPay < ::Stripe::RequestParams; end
|
1315
|
+
class Zip < ::Stripe::RequestParams; end
|
347
1316
|
# If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
348
1317
|
attr_accessor :acss_debit
|
349
1318
|
# If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
|
@@ -384,8 +1353,12 @@ module Stripe
|
|
384
1353
|
attr_accessor :fpx
|
385
1354
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
386
1355
|
attr_accessor :giropay
|
1356
|
+
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
1357
|
+
attr_accessor :gopay
|
387
1358
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
388
1359
|
attr_accessor :grabpay
|
1360
|
+
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
1361
|
+
attr_accessor :id_bank_transfer
|
389
1362
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
390
1363
|
attr_accessor :ideal
|
391
1364
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -424,12 +1397,20 @@ module Stripe
|
|
424
1397
|
attr_accessor :paynow
|
425
1398
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
426
1399
|
attr_accessor :paypal
|
1400
|
+
# If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
1401
|
+
attr_accessor :paypay
|
1402
|
+
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
1403
|
+
attr_accessor :payto
|
427
1404
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
428
1405
|
attr_accessor :pix
|
429
1406
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
430
1407
|
attr_accessor :promptpay
|
1408
|
+
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
1409
|
+
attr_accessor :qris
|
431
1410
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
432
1411
|
attr_accessor :radar_options
|
1412
|
+
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
1413
|
+
attr_accessor :rechnung
|
433
1414
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
434
1415
|
attr_accessor :revolut_pay
|
435
1416
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
@@ -438,8 +1419,12 @@ module Stripe
|
|
438
1419
|
attr_accessor :satispay
|
439
1420
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
440
1421
|
attr_accessor :sepa_debit
|
1422
|
+
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
1423
|
+
attr_accessor :shopeepay
|
441
1424
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
442
1425
|
attr_accessor :sofort
|
1426
|
+
# This hash contains details about the Stripe balance payment method.
|
1427
|
+
attr_accessor :stripe_balance
|
443
1428
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
444
1429
|
attr_accessor :swish
|
445
1430
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
@@ -474,7 +1459,9 @@ module Stripe
|
|
474
1459
|
eps: nil,
|
475
1460
|
fpx: nil,
|
476
1461
|
giropay: nil,
|
1462
|
+
gopay: nil,
|
477
1463
|
grabpay: nil,
|
1464
|
+
id_bank_transfer: nil,
|
478
1465
|
ideal: nil,
|
479
1466
|
interac_present: nil,
|
480
1467
|
kakao_pay: nil,
|
@@ -494,14 +1481,20 @@ module Stripe
|
|
494
1481
|
payco: nil,
|
495
1482
|
paynow: nil,
|
496
1483
|
paypal: nil,
|
1484
|
+
paypay: nil,
|
1485
|
+
payto: nil,
|
497
1486
|
pix: nil,
|
498
1487
|
promptpay: nil,
|
1488
|
+
qris: nil,
|
499
1489
|
radar_options: nil,
|
1490
|
+
rechnung: nil,
|
500
1491
|
revolut_pay: nil,
|
501
1492
|
samsung_pay: nil,
|
502
1493
|
satispay: nil,
|
503
1494
|
sepa_debit: nil,
|
1495
|
+
shopeepay: nil,
|
504
1496
|
sofort: nil,
|
1497
|
+
stripe_balance: nil,
|
505
1498
|
swish: nil,
|
506
1499
|
twint: nil,
|
507
1500
|
type: nil,
|
@@ -529,7 +1522,9 @@ module Stripe
|
|
529
1522
|
@eps = eps
|
530
1523
|
@fpx = fpx
|
531
1524
|
@giropay = giropay
|
1525
|
+
@gopay = gopay
|
532
1526
|
@grabpay = grabpay
|
1527
|
+
@id_bank_transfer = id_bank_transfer
|
533
1528
|
@ideal = ideal
|
534
1529
|
@interac_present = interac_present
|
535
1530
|
@kakao_pay = kakao_pay
|
@@ -549,14 +1544,20 @@ module Stripe
|
|
549
1544
|
@payco = payco
|
550
1545
|
@paynow = paynow
|
551
1546
|
@paypal = paypal
|
1547
|
+
@paypay = paypay
|
1548
|
+
@payto = payto
|
552
1549
|
@pix = pix
|
553
1550
|
@promptpay = promptpay
|
1551
|
+
@qris = qris
|
554
1552
|
@radar_options = radar_options
|
1553
|
+
@rechnung = rechnung
|
555
1554
|
@revolut_pay = revolut_pay
|
556
1555
|
@samsung_pay = samsung_pay
|
557
1556
|
@satispay = satispay
|
558
1557
|
@sepa_debit = sepa_debit
|
1558
|
+
@shopeepay = shopeepay
|
559
1559
|
@sofort = sofort
|
1560
|
+
@stripe_balance = stripe_balance
|
560
1561
|
@swish = swish
|
561
1562
|
@twint = twint
|
562
1563
|
@type = type
|
@@ -566,9 +1567,9 @@ module Stripe
|
|
566
1567
|
end
|
567
1568
|
end
|
568
1569
|
|
569
|
-
class PaymentMethodOptions < Stripe::RequestParams
|
570
|
-
class AcssDebit < Stripe::RequestParams
|
571
|
-
class MandateOptions < Stripe::RequestParams
|
1570
|
+
class PaymentMethodOptions < ::Stripe::RequestParams
|
1571
|
+
class AcssDebit < ::Stripe::RequestParams
|
1572
|
+
class MandateOptions < ::Stripe::RequestParams
|
572
1573
|
# A URL for custom mandate text to render during confirmation step.
|
573
1574
|
# The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,
|
574
1575
|
# or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
|
@@ -622,7 +1623,7 @@ module Stripe
|
|
622
1623
|
end
|
623
1624
|
end
|
624
1625
|
|
625
|
-
class Affirm < Stripe::RequestParams
|
1626
|
+
class Affirm < ::Stripe::RequestParams
|
626
1627
|
# Controls when the funds are captured from the customer's account.
|
627
1628
|
#
|
628
1629
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
@@ -649,7 +1650,7 @@ module Stripe
|
|
649
1650
|
end
|
650
1651
|
end
|
651
1652
|
|
652
|
-
class AfterpayClearpay < Stripe::RequestParams
|
1653
|
+
class AfterpayClearpay < ::Stripe::RequestParams
|
653
1654
|
# Controls when the funds are captured from the customer's account.
|
654
1655
|
#
|
655
1656
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
@@ -677,7 +1678,7 @@ module Stripe
|
|
677
1678
|
end
|
678
1679
|
end
|
679
1680
|
|
680
|
-
class Alipay < Stripe::RequestParams
|
1681
|
+
class Alipay < ::Stripe::RequestParams
|
681
1682
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
682
1683
|
#
|
683
1684
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
@@ -694,7 +1695,7 @@ module Stripe
|
|
694
1695
|
end
|
695
1696
|
end
|
696
1697
|
|
697
|
-
class Alma < Stripe::RequestParams
|
1698
|
+
class Alma < ::Stripe::RequestParams
|
698
1699
|
# Controls when the funds are captured from the customer's account.
|
699
1700
|
#
|
700
1701
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
@@ -707,7 +1708,7 @@ module Stripe
|
|
707
1708
|
end
|
708
1709
|
end
|
709
1710
|
|
710
|
-
class AmazonPay < Stripe::RequestParams
|
1711
|
+
class AmazonPay < ::Stripe::RequestParams
|
711
1712
|
# Controls when the funds are captured from the customer's account.
|
712
1713
|
#
|
713
1714
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
@@ -729,7 +1730,7 @@ module Stripe
|
|
729
1730
|
end
|
730
1731
|
end
|
731
1732
|
|
732
|
-
class AuBecsDebit < Stripe::RequestParams
|
1733
|
+
class AuBecsDebit < ::Stripe::RequestParams
|
733
1734
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
734
1735
|
#
|
735
1736
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
@@ -749,8 +1750,8 @@ module Stripe
|
|
749
1750
|
end
|
750
1751
|
end
|
751
1752
|
|
752
|
-
class BacsDebit < Stripe::RequestParams
|
753
|
-
class MandateOptions < Stripe::RequestParams
|
1753
|
+
class BacsDebit < ::Stripe::RequestParams
|
1754
|
+
class MandateOptions < ::Stripe::RequestParams
|
754
1755
|
# Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
|
755
1756
|
attr_accessor :reference_prefix
|
756
1757
|
|
@@ -780,7 +1781,7 @@ module Stripe
|
|
780
1781
|
end
|
781
1782
|
end
|
782
1783
|
|
783
|
-
class Bancontact < Stripe::RequestParams
|
1784
|
+
class Bancontact < ::Stripe::RequestParams
|
784
1785
|
# Preferred language of the Bancontact authorization page that the customer is redirected to.
|
785
1786
|
attr_accessor :preferred_language
|
786
1787
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
@@ -800,7 +1801,7 @@ module Stripe
|
|
800
1801
|
end
|
801
1802
|
end
|
802
1803
|
|
803
|
-
class Billie < Stripe::RequestParams
|
1804
|
+
class Billie < ::Stripe::RequestParams
|
804
1805
|
# Controls when the funds are captured from the customer's account.
|
805
1806
|
#
|
806
1807
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
@@ -813,7 +1814,7 @@ module Stripe
|
|
813
1814
|
end
|
814
1815
|
end
|
815
1816
|
|
816
|
-
class Blik < Stripe::RequestParams
|
1817
|
+
class Blik < ::Stripe::RequestParams
|
817
1818
|
# The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation.
|
818
1819
|
attr_accessor :code
|
819
1820
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
@@ -833,7 +1834,7 @@ module Stripe
|
|
833
1834
|
end
|
834
1835
|
end
|
835
1836
|
|
836
|
-
class Boleto < Stripe::RequestParams
|
1837
|
+
class Boleto < ::Stripe::RequestParams
|
837
1838
|
# The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time.
|
838
1839
|
attr_accessor :expires_after_days
|
839
1840
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
@@ -853,9 +1854,9 @@ module Stripe
|
|
853
1854
|
end
|
854
1855
|
end
|
855
1856
|
|
856
|
-
class Card < Stripe::RequestParams
|
857
|
-
class Installments < Stripe::RequestParams
|
858
|
-
class Plan < Stripe::RequestParams
|
1857
|
+
class Card < ::Stripe::RequestParams
|
1858
|
+
class Installments < ::Stripe::RequestParams
|
1859
|
+
class Plan < ::Stripe::RequestParams
|
859
1860
|
# For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card.
|
860
1861
|
attr_accessor :count
|
861
1862
|
# For `fixed_count` installment plans, this is required. It represents the interval between installment payments your customer will make to their credit card.
|
@@ -884,7 +1885,7 @@ module Stripe
|
|
884
1885
|
end
|
885
1886
|
end
|
886
1887
|
|
887
|
-
class MandateOptions < Stripe::RequestParams
|
1888
|
+
class MandateOptions < ::Stripe::RequestParams
|
888
1889
|
# Amount to be charged for future payments.
|
889
1890
|
attr_accessor :amount
|
890
1891
|
# One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.
|
@@ -927,9 +1928,51 @@ module Stripe
|
|
927
1928
|
end
|
928
1929
|
end
|
929
1930
|
|
930
|
-
class
|
931
|
-
class
|
932
|
-
|
1931
|
+
class StatementDetails < ::Stripe::RequestParams
|
1932
|
+
class Address < ::Stripe::RequestParams
|
1933
|
+
# City, district, suburb, town, or village.
|
1934
|
+
attr_accessor :city
|
1935
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1936
|
+
attr_accessor :country
|
1937
|
+
# Address line 1, such as the street, PO Box, or company name.
|
1938
|
+
attr_accessor :line1
|
1939
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
1940
|
+
attr_accessor :line2
|
1941
|
+
# ZIP or postal code.
|
1942
|
+
attr_accessor :postal_code
|
1943
|
+
# State, county, province, or region.
|
1944
|
+
attr_accessor :state
|
1945
|
+
|
1946
|
+
def initialize(
|
1947
|
+
city: nil,
|
1948
|
+
country: nil,
|
1949
|
+
line1: nil,
|
1950
|
+
line2: nil,
|
1951
|
+
postal_code: nil,
|
1952
|
+
state: nil
|
1953
|
+
)
|
1954
|
+
@city = city
|
1955
|
+
@country = country
|
1956
|
+
@line1 = line1
|
1957
|
+
@line2 = line2
|
1958
|
+
@postal_code = postal_code
|
1959
|
+
@state = state
|
1960
|
+
end
|
1961
|
+
end
|
1962
|
+
# Please pass in an address that is within your Stripe user account country
|
1963
|
+
attr_accessor :address
|
1964
|
+
# Phone number (e.g., a toll-free number that customers can call)
|
1965
|
+
attr_accessor :phone
|
1966
|
+
|
1967
|
+
def initialize(address: nil, phone: nil)
|
1968
|
+
@address = address
|
1969
|
+
@phone = phone
|
1970
|
+
end
|
1971
|
+
end
|
1972
|
+
|
1973
|
+
class ThreeDSecure < ::Stripe::RequestParams
|
1974
|
+
class NetworkOptions < ::Stripe::RequestParams
|
1975
|
+
class CartesBancaires < ::Stripe::RequestParams
|
933
1976
|
# The cryptogram calculation algorithm used by the card Issuer's ACS
|
934
1977
|
# to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`.
|
935
1978
|
# messageExtension: CB-AVALGO
|
@@ -1021,6 +2064,8 @@ module Stripe
|
|
1021
2064
|
attr_accessor :moto
|
1022
2065
|
# Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time.
|
1023
2066
|
attr_accessor :network
|
2067
|
+
# Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent.
|
2068
|
+
attr_accessor :request_decremental_authorization
|
1024
2069
|
# Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
|
1025
2070
|
attr_accessor :request_extended_authorization
|
1026
2071
|
# Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent.
|
@@ -1029,6 +2074,8 @@ module Stripe
|
|
1029
2074
|
attr_accessor :request_multicapture
|
1030
2075
|
# Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent.
|
1031
2076
|
attr_accessor :request_overcapture
|
2077
|
+
# Request partial authorization on this PaymentIntent.
|
2078
|
+
attr_accessor :request_partial_authorization
|
1032
2079
|
# We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
1033
2080
|
attr_accessor :request_three_d_secure
|
1034
2081
|
# When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).
|
@@ -1047,6 +2094,8 @@ module Stripe
|
|
1047
2094
|
attr_accessor :statement_descriptor_suffix_kana
|
1048
2095
|
# Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters.
|
1049
2096
|
attr_accessor :statement_descriptor_suffix_kanji
|
2097
|
+
# Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements.
|
2098
|
+
attr_accessor :statement_details
|
1050
2099
|
# If 3D Secure authentication was performed with a third-party provider,
|
1051
2100
|
# the authentication details to use for this payment.
|
1052
2101
|
attr_accessor :three_d_secure
|
@@ -1058,15 +2107,18 @@ module Stripe
|
|
1058
2107
|
mandate_options: nil,
|
1059
2108
|
moto: nil,
|
1060
2109
|
network: nil,
|
2110
|
+
request_decremental_authorization: nil,
|
1061
2111
|
request_extended_authorization: nil,
|
1062
2112
|
request_incremental_authorization: nil,
|
1063
2113
|
request_multicapture: nil,
|
1064
2114
|
request_overcapture: nil,
|
2115
|
+
request_partial_authorization: nil,
|
1065
2116
|
request_three_d_secure: nil,
|
1066
2117
|
require_cvc_recollection: nil,
|
1067
2118
|
setup_future_usage: nil,
|
1068
2119
|
statement_descriptor_suffix_kana: nil,
|
1069
2120
|
statement_descriptor_suffix_kanji: nil,
|
2121
|
+
statement_details: nil,
|
1070
2122
|
three_d_secure: nil
|
1071
2123
|
)
|
1072
2124
|
@capture_method = capture_method
|
@@ -1075,21 +2127,24 @@ module Stripe
|
|
1075
2127
|
@mandate_options = mandate_options
|
1076
2128
|
@moto = moto
|
1077
2129
|
@network = network
|
2130
|
+
@request_decremental_authorization = request_decremental_authorization
|
1078
2131
|
@request_extended_authorization = request_extended_authorization
|
1079
2132
|
@request_incremental_authorization = request_incremental_authorization
|
1080
2133
|
@request_multicapture = request_multicapture
|
1081
2134
|
@request_overcapture = request_overcapture
|
2135
|
+
@request_partial_authorization = request_partial_authorization
|
1082
2136
|
@request_three_d_secure = request_three_d_secure
|
1083
2137
|
@require_cvc_recollection = require_cvc_recollection
|
1084
2138
|
@setup_future_usage = setup_future_usage
|
1085
2139
|
@statement_descriptor_suffix_kana = statement_descriptor_suffix_kana
|
1086
2140
|
@statement_descriptor_suffix_kanji = statement_descriptor_suffix_kanji
|
2141
|
+
@statement_details = statement_details
|
1087
2142
|
@three_d_secure = three_d_secure
|
1088
2143
|
end
|
1089
2144
|
end
|
1090
2145
|
|
1091
|
-
class CardPresent < Stripe::RequestParams
|
1092
|
-
class Routing < Stripe::RequestParams
|
2146
|
+
class CardPresent < ::Stripe::RequestParams
|
2147
|
+
class Routing < ::Stripe::RequestParams
|
1093
2148
|
# Routing requested priority
|
1094
2149
|
attr_accessor :requested_priority
|
1095
2150
|
|
@@ -1115,7 +2170,7 @@ module Stripe
|
|
1115
2170
|
end
|
1116
2171
|
end
|
1117
2172
|
|
1118
|
-
class Cashapp < Stripe::RequestParams
|
2173
|
+
class Cashapp < ::Stripe::RequestParams
|
1119
2174
|
# Controls when the funds are captured from the customer's account.
|
1120
2175
|
#
|
1121
2176
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
@@ -1139,7 +2194,7 @@ module Stripe
|
|
1139
2194
|
end
|
1140
2195
|
end
|
1141
2196
|
|
1142
|
-
class Crypto < Stripe::RequestParams
|
2197
|
+
class Crypto < ::Stripe::RequestParams
|
1143
2198
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1144
2199
|
#
|
1145
2200
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
@@ -1156,9 +2211,9 @@ module Stripe
|
|
1156
2211
|
end
|
1157
2212
|
end
|
1158
2213
|
|
1159
|
-
class CustomerBalance < Stripe::RequestParams
|
1160
|
-
class BankTransfer < Stripe::RequestParams
|
1161
|
-
class EuBankTransfer < Stripe::RequestParams
|
2214
|
+
class CustomerBalance < ::Stripe::RequestParams
|
2215
|
+
class BankTransfer < ::Stripe::RequestParams
|
2216
|
+
class EuBankTransfer < ::Stripe::RequestParams
|
1162
2217
|
# The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`.
|
1163
2218
|
attr_accessor :country
|
1164
2219
|
|
@@ -1203,7 +2258,24 @@ module Stripe
|
|
1203
2258
|
end
|
1204
2259
|
end
|
1205
2260
|
|
1206
|
-
class Eps < Stripe::RequestParams
|
2261
|
+
class Eps < ::Stripe::RequestParams
|
2262
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2263
|
+
#
|
2264
|
+
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
2265
|
+
#
|
2266
|
+
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
2267
|
+
#
|
2268
|
+
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
2269
|
+
#
|
2270
|
+
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
2271
|
+
attr_accessor :setup_future_usage
|
2272
|
+
|
2273
|
+
def initialize(setup_future_usage: nil)
|
2274
|
+
@setup_future_usage = setup_future_usage
|
2275
|
+
end
|
2276
|
+
end
|
2277
|
+
|
2278
|
+
class Fpx < ::Stripe::RequestParams
|
1207
2279
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1208
2280
|
#
|
1209
2281
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
@@ -1220,7 +2292,7 @@ module Stripe
|
|
1220
2292
|
end
|
1221
2293
|
end
|
1222
2294
|
|
1223
|
-
class
|
2295
|
+
class Giropay < ::Stripe::RequestParams
|
1224
2296
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1225
2297
|
#
|
1226
2298
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
@@ -1237,7 +2309,7 @@ module Stripe
|
|
1237
2309
|
end
|
1238
2310
|
end
|
1239
2311
|
|
1240
|
-
class
|
2312
|
+
class Gopay < ::Stripe::RequestParams
|
1241
2313
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1242
2314
|
#
|
1243
2315
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
@@ -1254,7 +2326,7 @@ module Stripe
|
|
1254
2326
|
end
|
1255
2327
|
end
|
1256
2328
|
|
1257
|
-
class Grabpay < Stripe::RequestParams
|
2329
|
+
class Grabpay < ::Stripe::RequestParams
|
1258
2330
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1259
2331
|
#
|
1260
2332
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
@@ -1271,7 +2343,30 @@ module Stripe
|
|
1271
2343
|
end
|
1272
2344
|
end
|
1273
2345
|
|
1274
|
-
class
|
2346
|
+
class IdBankTransfer < ::Stripe::RequestParams
|
2347
|
+
# The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now.
|
2348
|
+
attr_accessor :expires_after
|
2349
|
+
# The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now.
|
2350
|
+
attr_accessor :expires_at
|
2351
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2352
|
+
#
|
2353
|
+
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
2354
|
+
#
|
2355
|
+
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
2356
|
+
#
|
2357
|
+
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
2358
|
+
#
|
2359
|
+
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
2360
|
+
attr_accessor :setup_future_usage
|
2361
|
+
|
2362
|
+
def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil)
|
2363
|
+
@expires_after = expires_after
|
2364
|
+
@expires_at = expires_at
|
2365
|
+
@setup_future_usage = setup_future_usage
|
2366
|
+
end
|
2367
|
+
end
|
2368
|
+
|
2369
|
+
class Ideal < ::Stripe::RequestParams
|
1275
2370
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1276
2371
|
#
|
1277
2372
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
@@ -1288,9 +2383,9 @@ module Stripe
|
|
1288
2383
|
end
|
1289
2384
|
end
|
1290
2385
|
|
1291
|
-
class InteracPresent < Stripe::RequestParams; end
|
2386
|
+
class InteracPresent < ::Stripe::RequestParams; end
|
1292
2387
|
|
1293
|
-
class KakaoPay < Stripe::RequestParams
|
2388
|
+
class KakaoPay < ::Stripe::RequestParams
|
1294
2389
|
# Controls when the funds are captured from the customer's account.
|
1295
2390
|
#
|
1296
2391
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
@@ -1312,8 +2407,8 @@ module Stripe
|
|
1312
2407
|
end
|
1313
2408
|
end
|
1314
2409
|
|
1315
|
-
class Klarna < Stripe::RequestParams
|
1316
|
-
class OnDemand < Stripe::RequestParams
|
2410
|
+
class Klarna < ::Stripe::RequestParams
|
2411
|
+
class OnDemand < ::Stripe::RequestParams
|
1317
2412
|
# Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc.
|
1318
2413
|
attr_accessor :average_amount
|
1319
2414
|
# The maximum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc.
|
@@ -1340,8 +2435,8 @@ module Stripe
|
|
1340
2435
|
end
|
1341
2436
|
end
|
1342
2437
|
|
1343
|
-
class Subscription < Stripe::RequestParams
|
1344
|
-
class NextBilling < Stripe::RequestParams
|
2438
|
+
class Subscription < ::Stripe::RequestParams
|
2439
|
+
class NextBilling < ::Stripe::RequestParams
|
1345
2440
|
# The amount of the next charge for the subscription.
|
1346
2441
|
attr_accessor :amount
|
1347
2442
|
# The date of the next charge for the subscription in YYYY-MM-DD format.
|
@@ -1415,7 +2510,7 @@ module Stripe
|
|
1415
2510
|
end
|
1416
2511
|
end
|
1417
2512
|
|
1418
|
-
class Konbini < Stripe::RequestParams
|
2513
|
+
class Konbini < ::Stripe::RequestParams
|
1419
2514
|
# An optional 10 to 11 digit numeric-only string determining the confirmation code at applicable convenience stores. Must not consist of only zeroes and could be rejected in case of insufficient uniqueness. We recommend to use the customer's phone number.
|
1420
2515
|
attr_accessor :confirmation_number
|
1421
2516
|
# The number of calendar days (between 1 and 60) after which Konbini payment instructions will expire. For example, if a PaymentIntent is confirmed with Konbini and `expires_after_days` set to 2 on Monday JST, the instructions will expire on Wednesday 23:59:59 JST. Defaults to 3 days.
|
@@ -1450,7 +2545,7 @@ module Stripe
|
|
1450
2545
|
end
|
1451
2546
|
end
|
1452
2547
|
|
1453
|
-
class KrCard < Stripe::RequestParams
|
2548
|
+
class KrCard < ::Stripe::RequestParams
|
1454
2549
|
# Controls when the funds are captured from the customer's account.
|
1455
2550
|
#
|
1456
2551
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
@@ -1472,7 +2567,7 @@ module Stripe
|
|
1472
2567
|
end
|
1473
2568
|
end
|
1474
2569
|
|
1475
|
-
class Link < Stripe::RequestParams
|
2570
|
+
class Link < ::Stripe::RequestParams
|
1476
2571
|
# Controls when the funds are captured from the customer's account.
|
1477
2572
|
#
|
1478
2573
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
@@ -1499,7 +2594,7 @@ module Stripe
|
|
1499
2594
|
end
|
1500
2595
|
end
|
1501
2596
|
|
1502
|
-
class MbWay < Stripe::RequestParams
|
2597
|
+
class MbWay < ::Stripe::RequestParams
|
1503
2598
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1504
2599
|
#
|
1505
2600
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
@@ -1516,7 +2611,7 @@ module Stripe
|
|
1516
2611
|
end
|
1517
2612
|
end
|
1518
2613
|
|
1519
|
-
class Mobilepay < Stripe::RequestParams
|
2614
|
+
class Mobilepay < ::Stripe::RequestParams
|
1520
2615
|
# Controls when the funds are captured from the customer's account.
|
1521
2616
|
#
|
1522
2617
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
@@ -1540,7 +2635,7 @@ module Stripe
|
|
1540
2635
|
end
|
1541
2636
|
end
|
1542
2637
|
|
1543
|
-
class Multibanco < Stripe::RequestParams
|
2638
|
+
class Multibanco < ::Stripe::RequestParams
|
1544
2639
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1545
2640
|
#
|
1546
2641
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
@@ -1557,7 +2652,7 @@ module Stripe
|
|
1557
2652
|
end
|
1558
2653
|
end
|
1559
2654
|
|
1560
|
-
class NaverPay < Stripe::RequestParams
|
2655
|
+
class NaverPay < ::Stripe::RequestParams
|
1561
2656
|
# Controls when the funds are captured from the customer's account.
|
1562
2657
|
#
|
1563
2658
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
@@ -1579,7 +2674,7 @@ module Stripe
|
|
1579
2674
|
end
|
1580
2675
|
end
|
1581
2676
|
|
1582
|
-
class NzBankAccount < Stripe::RequestParams
|
2677
|
+
class NzBankAccount < ::Stripe::RequestParams
|
1583
2678
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1584
2679
|
#
|
1585
2680
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
@@ -1599,7 +2694,7 @@ module Stripe
|
|
1599
2694
|
end
|
1600
2695
|
end
|
1601
2696
|
|
1602
|
-
class Oxxo < Stripe::RequestParams
|
2697
|
+
class Oxxo < ::Stripe::RequestParams
|
1603
2698
|
# The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time.
|
1604
2699
|
attr_accessor :expires_after_days
|
1605
2700
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
@@ -1619,7 +2714,7 @@ module Stripe
|
|
1619
2714
|
end
|
1620
2715
|
end
|
1621
2716
|
|
1622
|
-
class P24 < Stripe::RequestParams
|
2717
|
+
class P24 < ::Stripe::RequestParams
|
1623
2718
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1624
2719
|
#
|
1625
2720
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
@@ -1639,9 +2734,9 @@ module Stripe
|
|
1639
2734
|
end
|
1640
2735
|
end
|
1641
2736
|
|
1642
|
-
class PayByBank < Stripe::RequestParams; end
|
2737
|
+
class PayByBank < ::Stripe::RequestParams; end
|
1643
2738
|
|
1644
|
-
class Payco < Stripe::RequestParams
|
2739
|
+
class Payco < ::Stripe::RequestParams
|
1645
2740
|
# Controls when the funds are captured from the customer's account.
|
1646
2741
|
#
|
1647
2742
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
@@ -1654,7 +2749,7 @@ module Stripe
|
|
1654
2749
|
end
|
1655
2750
|
end
|
1656
2751
|
|
1657
|
-
class Paynow < Stripe::RequestParams
|
2752
|
+
class Paynow < ::Stripe::RequestParams
|
1658
2753
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1659
2754
|
#
|
1660
2755
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
@@ -1671,13 +2766,66 @@ module Stripe
|
|
1671
2766
|
end
|
1672
2767
|
end
|
1673
2768
|
|
1674
|
-
class Paypal < Stripe::RequestParams
|
2769
|
+
class Paypal < ::Stripe::RequestParams
|
2770
|
+
class LineItem < ::Stripe::RequestParams
|
2771
|
+
class Tax < ::Stripe::RequestParams
|
2772
|
+
# The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
2773
|
+
attr_accessor :amount
|
2774
|
+
# The tax behavior for the line item.
|
2775
|
+
attr_accessor :behavior
|
2776
|
+
|
2777
|
+
def initialize(amount: nil, behavior: nil)
|
2778
|
+
@amount = amount
|
2779
|
+
@behavior = behavior
|
2780
|
+
end
|
2781
|
+
end
|
2782
|
+
# Type of the line item.
|
2783
|
+
attr_accessor :category
|
2784
|
+
# Description of the line item.
|
2785
|
+
attr_accessor :description
|
2786
|
+
# Descriptive name of the line item.
|
2787
|
+
attr_accessor :name
|
2788
|
+
# Quantity of the line item. Must be a positive number.
|
2789
|
+
attr_accessor :quantity
|
2790
|
+
# Client facing stock keeping unit, article number or similar.
|
2791
|
+
attr_accessor :sku
|
2792
|
+
# The Stripe account ID of the connected account that sells the item.
|
2793
|
+
attr_accessor :sold_by
|
2794
|
+
# The tax information for the line item.
|
2795
|
+
attr_accessor :tax
|
2796
|
+
# Price for a single unit of the line item in minor units. Cannot be a negative number.
|
2797
|
+
attr_accessor :unit_amount
|
2798
|
+
|
2799
|
+
def initialize(
|
2800
|
+
category: nil,
|
2801
|
+
description: nil,
|
2802
|
+
name: nil,
|
2803
|
+
quantity: nil,
|
2804
|
+
sku: nil,
|
2805
|
+
sold_by: nil,
|
2806
|
+
tax: nil,
|
2807
|
+
unit_amount: nil
|
2808
|
+
)
|
2809
|
+
@category = category
|
2810
|
+
@description = description
|
2811
|
+
@name = name
|
2812
|
+
@quantity = quantity
|
2813
|
+
@sku = sku
|
2814
|
+
@sold_by = sold_by
|
2815
|
+
@tax = tax
|
2816
|
+
@unit_amount = unit_amount
|
2817
|
+
end
|
2818
|
+
end
|
1675
2819
|
# Controls when the funds will be captured from the customer's account.
|
1676
2820
|
attr_accessor :capture_method
|
2821
|
+
# The line items purchased by the customer.
|
2822
|
+
attr_accessor :line_items
|
1677
2823
|
# [Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
|
1678
2824
|
attr_accessor :preferred_locale
|
1679
2825
|
# A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
|
1680
2826
|
attr_accessor :reference
|
2827
|
+
# A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
|
2828
|
+
attr_accessor :reference_id
|
1681
2829
|
# The risk correlation ID for an on-session payment using a saved PayPal payment method.
|
1682
2830
|
attr_accessor :risk_correlation_id
|
1683
2831
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
@@ -1690,29 +2838,140 @@ module Stripe
|
|
1690
2838
|
#
|
1691
2839
|
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
1692
2840
|
attr_accessor :setup_future_usage
|
2841
|
+
# 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.
|
2842
|
+
attr_accessor :subsellers
|
1693
2843
|
|
1694
2844
|
def initialize(
|
1695
2845
|
capture_method: nil,
|
2846
|
+
line_items: nil,
|
1696
2847
|
preferred_locale: nil,
|
1697
2848
|
reference: nil,
|
2849
|
+
reference_id: nil,
|
1698
2850
|
risk_correlation_id: nil,
|
1699
|
-
setup_future_usage: nil
|
2851
|
+
setup_future_usage: nil,
|
2852
|
+
subsellers: nil
|
1700
2853
|
)
|
1701
2854
|
@capture_method = capture_method
|
2855
|
+
@line_items = line_items
|
1702
2856
|
@preferred_locale = preferred_locale
|
1703
2857
|
@reference = reference
|
2858
|
+
@reference_id = reference_id
|
1704
2859
|
@risk_correlation_id = risk_correlation_id
|
1705
2860
|
@setup_future_usage = setup_future_usage
|
2861
|
+
@subsellers = subsellers
|
2862
|
+
end
|
2863
|
+
end
|
2864
|
+
|
2865
|
+
class Paypay < ::Stripe::RequestParams
|
2866
|
+
# Controls when the funds are captured from the customer's account.
|
2867
|
+
#
|
2868
|
+
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
2869
|
+
#
|
2870
|
+
# If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
|
2871
|
+
attr_accessor :capture_method
|
2872
|
+
|
2873
|
+
def initialize(capture_method: nil)
|
2874
|
+
@capture_method = capture_method
|
2875
|
+
end
|
2876
|
+
end
|
2877
|
+
|
2878
|
+
class Payto < ::Stripe::RequestParams
|
2879
|
+
class MandateOptions < ::Stripe::RequestParams
|
2880
|
+
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
2881
|
+
attr_accessor :amount
|
2882
|
+
# The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
|
2883
|
+
attr_accessor :amount_type
|
2884
|
+
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
2885
|
+
attr_accessor :end_date
|
2886
|
+
# The periodicity at which payments will be collected.
|
2887
|
+
attr_accessor :payment_schedule
|
2888
|
+
# The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
2889
|
+
attr_accessor :payments_per_period
|
2890
|
+
# The purpose for which payments are made. Defaults to retail.
|
2891
|
+
attr_accessor :purpose
|
2892
|
+
|
2893
|
+
def initialize(
|
2894
|
+
amount: nil,
|
2895
|
+
amount_type: nil,
|
2896
|
+
end_date: nil,
|
2897
|
+
payment_schedule: nil,
|
2898
|
+
payments_per_period: nil,
|
2899
|
+
purpose: nil
|
2900
|
+
)
|
2901
|
+
@amount = amount
|
2902
|
+
@amount_type = amount_type
|
2903
|
+
@end_date = end_date
|
2904
|
+
@payment_schedule = payment_schedule
|
2905
|
+
@payments_per_period = payments_per_period
|
2906
|
+
@purpose = purpose
|
2907
|
+
end
|
2908
|
+
end
|
2909
|
+
# Additional fields for Mandate creation. Only `purpose` field is configurable for PayTo PaymentIntent with `setup_future_usage=none`. Other fields are only applicable to PayTo PaymentIntent with `setup_future_usage=off_session`
|
2910
|
+
attr_accessor :mandate_options
|
2911
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2912
|
+
#
|
2913
|
+
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
2914
|
+
#
|
2915
|
+
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
2916
|
+
#
|
2917
|
+
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
2918
|
+
#
|
2919
|
+
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
2920
|
+
attr_accessor :setup_future_usage
|
2921
|
+
|
2922
|
+
def initialize(mandate_options: nil, setup_future_usage: nil)
|
2923
|
+
@mandate_options = mandate_options
|
2924
|
+
@setup_future_usage = setup_future_usage
|
1706
2925
|
end
|
1707
2926
|
end
|
1708
2927
|
|
1709
|
-
class Pix < Stripe::RequestParams
|
2928
|
+
class Pix < ::Stripe::RequestParams
|
2929
|
+
class MandateOptions < ::Stripe::RequestParams
|
2930
|
+
# Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
|
2931
|
+
attr_accessor :amount
|
2932
|
+
# Determines if the amount includes the IOF tax. Defaults to `never`.
|
2933
|
+
attr_accessor :amount_includes_iof
|
2934
|
+
# Type of amount. Defaults to `maximum`.
|
2935
|
+
attr_accessor :amount_type
|
2936
|
+
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
|
2937
|
+
attr_accessor :currency
|
2938
|
+
# Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
|
2939
|
+
attr_accessor :end_date
|
2940
|
+
# Schedule at which the future payments will be charged. Defaults to `weekly`.
|
2941
|
+
attr_accessor :payment_schedule
|
2942
|
+
# Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
|
2943
|
+
attr_accessor :reference
|
2944
|
+
# Start date of the mandate, in `YYYY-MM-DD`. Start date should be at least 3 days in the future. Defaults to 3 days after the current date.
|
2945
|
+
attr_accessor :start_date
|
2946
|
+
|
2947
|
+
def initialize(
|
2948
|
+
amount: nil,
|
2949
|
+
amount_includes_iof: nil,
|
2950
|
+
amount_type: nil,
|
2951
|
+
currency: nil,
|
2952
|
+
end_date: nil,
|
2953
|
+
payment_schedule: nil,
|
2954
|
+
reference: nil,
|
2955
|
+
start_date: nil
|
2956
|
+
)
|
2957
|
+
@amount = amount
|
2958
|
+
@amount_includes_iof = amount_includes_iof
|
2959
|
+
@amount_type = amount_type
|
2960
|
+
@currency = currency
|
2961
|
+
@end_date = end_date
|
2962
|
+
@payment_schedule = payment_schedule
|
2963
|
+
@reference = reference
|
2964
|
+
@start_date = start_date
|
2965
|
+
end
|
2966
|
+
end
|
1710
2967
|
# Determines if the amount includes the IOF tax. Defaults to `never`.
|
1711
2968
|
attr_accessor :amount_includes_iof
|
1712
2969
|
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
|
1713
2970
|
attr_accessor :expires_after_seconds
|
1714
2971
|
# The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.
|
1715
2972
|
attr_accessor :expires_at
|
2973
|
+
# Additional fields for mandate creation. Only applicable when `setup_future_usage=off_session`.
|
2974
|
+
attr_accessor :mandate_options
|
1716
2975
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1717
2976
|
#
|
1718
2977
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
@@ -1728,16 +2987,35 @@ module Stripe
|
|
1728
2987
|
amount_includes_iof: nil,
|
1729
2988
|
expires_after_seconds: nil,
|
1730
2989
|
expires_at: nil,
|
2990
|
+
mandate_options: nil,
|
1731
2991
|
setup_future_usage: nil
|
1732
2992
|
)
|
1733
2993
|
@amount_includes_iof = amount_includes_iof
|
1734
2994
|
@expires_after_seconds = expires_after_seconds
|
1735
2995
|
@expires_at = expires_at
|
2996
|
+
@mandate_options = mandate_options
|
2997
|
+
@setup_future_usage = setup_future_usage
|
2998
|
+
end
|
2999
|
+
end
|
3000
|
+
|
3001
|
+
class Promptpay < ::Stripe::RequestParams
|
3002
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
3003
|
+
#
|
3004
|
+
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
3005
|
+
#
|
3006
|
+
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
3007
|
+
#
|
3008
|
+
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
3009
|
+
#
|
3010
|
+
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
3011
|
+
attr_accessor :setup_future_usage
|
3012
|
+
|
3013
|
+
def initialize(setup_future_usage: nil)
|
1736
3014
|
@setup_future_usage = setup_future_usage
|
1737
3015
|
end
|
1738
3016
|
end
|
1739
3017
|
|
1740
|
-
class
|
3018
|
+
class Qris < ::Stripe::RequestParams
|
1741
3019
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1742
3020
|
#
|
1743
3021
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
@@ -1754,7 +3032,9 @@ module Stripe
|
|
1754
3032
|
end
|
1755
3033
|
end
|
1756
3034
|
|
1757
|
-
class
|
3035
|
+
class Rechnung < ::Stripe::RequestParams; end
|
3036
|
+
|
3037
|
+
class RevolutPay < ::Stripe::RequestParams
|
1758
3038
|
# Controls when the funds are captured from the customer's account.
|
1759
3039
|
#
|
1760
3040
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
@@ -1776,7 +3056,7 @@ module Stripe
|
|
1776
3056
|
end
|
1777
3057
|
end
|
1778
3058
|
|
1779
|
-
class SamsungPay < Stripe::RequestParams
|
3059
|
+
class SamsungPay < ::Stripe::RequestParams
|
1780
3060
|
# Controls when the funds are captured from the customer's account.
|
1781
3061
|
#
|
1782
3062
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
@@ -1789,7 +3069,7 @@ module Stripe
|
|
1789
3069
|
end
|
1790
3070
|
end
|
1791
3071
|
|
1792
|
-
class Satispay < Stripe::RequestParams
|
3072
|
+
class Satispay < ::Stripe::RequestParams
|
1793
3073
|
# Controls when the funds are captured from the customer's account.
|
1794
3074
|
#
|
1795
3075
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
@@ -1802,8 +3082,8 @@ module Stripe
|
|
1802
3082
|
end
|
1803
3083
|
end
|
1804
3084
|
|
1805
|
-
class SepaDebit < Stripe::RequestParams
|
1806
|
-
class MandateOptions < Stripe::RequestParams
|
3085
|
+
class SepaDebit < ::Stripe::RequestParams
|
3086
|
+
class MandateOptions < ::Stripe::RequestParams
|
1807
3087
|
# Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.
|
1808
3088
|
attr_accessor :reference_prefix
|
1809
3089
|
|
@@ -1833,7 +3113,24 @@ module Stripe
|
|
1833
3113
|
end
|
1834
3114
|
end
|
1835
3115
|
|
1836
|
-
class
|
3116
|
+
class Shopeepay < ::Stripe::RequestParams
|
3117
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
3118
|
+
#
|
3119
|
+
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
3120
|
+
#
|
3121
|
+
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
3122
|
+
#
|
3123
|
+
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
3124
|
+
#
|
3125
|
+
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
3126
|
+
attr_accessor :setup_future_usage
|
3127
|
+
|
3128
|
+
def initialize(setup_future_usage: nil)
|
3129
|
+
@setup_future_usage = setup_future_usage
|
3130
|
+
end
|
3131
|
+
end
|
3132
|
+
|
3133
|
+
class Sofort < ::Stripe::RequestParams
|
1837
3134
|
# Language shown to the payer on redirect.
|
1838
3135
|
attr_accessor :preferred_language
|
1839
3136
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
@@ -1853,7 +3150,24 @@ module Stripe
|
|
1853
3150
|
end
|
1854
3151
|
end
|
1855
3152
|
|
1856
|
-
class
|
3153
|
+
class StripeBalance < ::Stripe::RequestParams
|
3154
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
3155
|
+
#
|
3156
|
+
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
3157
|
+
#
|
3158
|
+
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
3159
|
+
#
|
3160
|
+
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
3161
|
+
#
|
3162
|
+
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
3163
|
+
attr_accessor :setup_future_usage
|
3164
|
+
|
3165
|
+
def initialize(setup_future_usage: nil)
|
3166
|
+
@setup_future_usage = setup_future_usage
|
3167
|
+
end
|
3168
|
+
end
|
3169
|
+
|
3170
|
+
class Swish < ::Stripe::RequestParams
|
1857
3171
|
# A reference for this payment to be displayed in the Swish app.
|
1858
3172
|
attr_accessor :reference
|
1859
3173
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
@@ -1873,7 +3187,7 @@ module Stripe
|
|
1873
3187
|
end
|
1874
3188
|
end
|
1875
3189
|
|
1876
|
-
class Twint < Stripe::RequestParams
|
3190
|
+
class Twint < ::Stripe::RequestParams
|
1877
3191
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1878
3192
|
#
|
1879
3193
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
@@ -1890,18 +3204,32 @@ module Stripe
|
|
1890
3204
|
end
|
1891
3205
|
end
|
1892
3206
|
|
1893
|
-
class UsBankAccount < Stripe::RequestParams
|
1894
|
-
class FinancialConnections < Stripe::RequestParams
|
1895
|
-
class Filters < Stripe::RequestParams
|
3207
|
+
class UsBankAccount < ::Stripe::RequestParams
|
3208
|
+
class FinancialConnections < ::Stripe::RequestParams
|
3209
|
+
class Filters < ::Stripe::RequestParams
|
1896
3210
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
1897
3211
|
attr_accessor :account_subcategories
|
3212
|
+
# ID of the institution to use to filter for selectable accounts.
|
3213
|
+
attr_accessor :institution
|
1898
3214
|
|
1899
|
-
def initialize(account_subcategories: nil)
|
3215
|
+
def initialize(account_subcategories: nil, institution: nil)
|
1900
3216
|
@account_subcategories = account_subcategories
|
3217
|
+
@institution = institution
|
3218
|
+
end
|
3219
|
+
end
|
3220
|
+
|
3221
|
+
class ManualEntry < ::Stripe::RequestParams
|
3222
|
+
# Settings for configuring manual entry of account details.
|
3223
|
+
attr_accessor :mode
|
3224
|
+
|
3225
|
+
def initialize(mode: nil)
|
3226
|
+
@mode = mode
|
1901
3227
|
end
|
1902
3228
|
end
|
1903
3229
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
1904
3230
|
attr_accessor :filters
|
3231
|
+
# Customize manual entry behavior
|
3232
|
+
attr_accessor :manual_entry
|
1905
3233
|
# 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`.
|
1906
3234
|
attr_accessor :permissions
|
1907
3235
|
# List of data features that you would like to retrieve upon account creation.
|
@@ -1909,15 +3237,22 @@ module Stripe
|
|
1909
3237
|
# 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.
|
1910
3238
|
attr_accessor :return_url
|
1911
3239
|
|
1912
|
-
def initialize(
|
3240
|
+
def initialize(
|
3241
|
+
filters: nil,
|
3242
|
+
manual_entry: nil,
|
3243
|
+
permissions: nil,
|
3244
|
+
prefetch: nil,
|
3245
|
+
return_url: nil
|
3246
|
+
)
|
1913
3247
|
@filters = filters
|
3248
|
+
@manual_entry = manual_entry
|
1914
3249
|
@permissions = permissions
|
1915
3250
|
@prefetch = prefetch
|
1916
3251
|
@return_url = return_url
|
1917
3252
|
end
|
1918
3253
|
end
|
1919
3254
|
|
1920
|
-
class MandateOptions < Stripe::RequestParams
|
3255
|
+
class MandateOptions < ::Stripe::RequestParams
|
1921
3256
|
# The method used to collect offline mandate customer acceptance.
|
1922
3257
|
attr_accessor :collection_method
|
1923
3258
|
|
@@ -1926,7 +3261,7 @@ module Stripe
|
|
1926
3261
|
end
|
1927
3262
|
end
|
1928
3263
|
|
1929
|
-
class Networks < Stripe::RequestParams
|
3264
|
+
class Networks < ::Stripe::RequestParams
|
1930
3265
|
# Triggers validations to run across the selected networks
|
1931
3266
|
attr_accessor :requested
|
1932
3267
|
|
@@ -1976,7 +3311,7 @@ module Stripe
|
|
1976
3311
|
end
|
1977
3312
|
end
|
1978
3313
|
|
1979
|
-
class WechatPay < Stripe::RequestParams
|
3314
|
+
class WechatPay < ::Stripe::RequestParams
|
1980
3315
|
# The app ID registered with WeChat Pay. Only required when client is ios or android.
|
1981
3316
|
attr_accessor :app_id
|
1982
3317
|
# The client type that the end customer will pay from
|
@@ -1999,7 +3334,7 @@ module Stripe
|
|
1999
3334
|
end
|
2000
3335
|
end
|
2001
3336
|
|
2002
|
-
class Zip < Stripe::RequestParams
|
3337
|
+
class Zip < ::Stripe::RequestParams
|
2003
3338
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2004
3339
|
#
|
2005
3340
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
@@ -2055,8 +3390,12 @@ module Stripe
|
|
2055
3390
|
attr_accessor :fpx
|
2056
3391
|
# If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.
|
2057
3392
|
attr_accessor :giropay
|
3393
|
+
# If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options.
|
3394
|
+
attr_accessor :gopay
|
2058
3395
|
# If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
|
2059
3396
|
attr_accessor :grabpay
|
3397
|
+
# If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options.
|
3398
|
+
attr_accessor :id_bank_transfer
|
2060
3399
|
# If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
|
2061
3400
|
attr_accessor :ideal
|
2062
3401
|
# If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
|
@@ -2093,10 +3432,18 @@ module Stripe
|
|
2093
3432
|
attr_accessor :paynow
|
2094
3433
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
2095
3434
|
attr_accessor :paypal
|
3435
|
+
# If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options.
|
3436
|
+
attr_accessor :paypay
|
3437
|
+
# If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options.
|
3438
|
+
attr_accessor :payto
|
2096
3439
|
# If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options.
|
2097
3440
|
attr_accessor :pix
|
2098
3441
|
# If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options.
|
2099
3442
|
attr_accessor :promptpay
|
3443
|
+
# If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options.
|
3444
|
+
attr_accessor :qris
|
3445
|
+
# If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options.
|
3446
|
+
attr_accessor :rechnung
|
2100
3447
|
# If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
|
2101
3448
|
attr_accessor :revolut_pay
|
2102
3449
|
# If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.
|
@@ -2105,8 +3452,12 @@ module Stripe
|
|
2105
3452
|
attr_accessor :satispay
|
2106
3453
|
# If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
2107
3454
|
attr_accessor :sepa_debit
|
3455
|
+
# If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options.
|
3456
|
+
attr_accessor :shopeepay
|
2108
3457
|
# If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
|
2109
3458
|
attr_accessor :sofort
|
3459
|
+
# If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options.
|
3460
|
+
attr_accessor :stripe_balance
|
2110
3461
|
# If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options.
|
2111
3462
|
attr_accessor :swish
|
2112
3463
|
# If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options.
|
@@ -2139,7 +3490,9 @@ module Stripe
|
|
2139
3490
|
eps: nil,
|
2140
3491
|
fpx: nil,
|
2141
3492
|
giropay: nil,
|
3493
|
+
gopay: nil,
|
2142
3494
|
grabpay: nil,
|
3495
|
+
id_bank_transfer: nil,
|
2143
3496
|
ideal: nil,
|
2144
3497
|
interac_present: nil,
|
2145
3498
|
kakao_pay: nil,
|
@@ -2158,13 +3511,19 @@ module Stripe
|
|
2158
3511
|
payco: nil,
|
2159
3512
|
paynow: nil,
|
2160
3513
|
paypal: nil,
|
3514
|
+
paypay: nil,
|
3515
|
+
payto: nil,
|
2161
3516
|
pix: nil,
|
2162
3517
|
promptpay: nil,
|
3518
|
+
qris: nil,
|
3519
|
+
rechnung: nil,
|
2163
3520
|
revolut_pay: nil,
|
2164
3521
|
samsung_pay: nil,
|
2165
3522
|
satispay: nil,
|
2166
3523
|
sepa_debit: nil,
|
3524
|
+
shopeepay: nil,
|
2167
3525
|
sofort: nil,
|
3526
|
+
stripe_balance: nil,
|
2168
3527
|
swish: nil,
|
2169
3528
|
twint: nil,
|
2170
3529
|
us_bank_account: nil,
|
@@ -2191,7 +3550,9 @@ module Stripe
|
|
2191
3550
|
@eps = eps
|
2192
3551
|
@fpx = fpx
|
2193
3552
|
@giropay = giropay
|
3553
|
+
@gopay = gopay
|
2194
3554
|
@grabpay = grabpay
|
3555
|
+
@id_bank_transfer = id_bank_transfer
|
2195
3556
|
@ideal = ideal
|
2196
3557
|
@interac_present = interac_present
|
2197
3558
|
@kakao_pay = kakao_pay
|
@@ -2210,13 +3571,19 @@ module Stripe
|
|
2210
3571
|
@payco = payco
|
2211
3572
|
@paynow = paynow
|
2212
3573
|
@paypal = paypal
|
3574
|
+
@paypay = paypay
|
3575
|
+
@payto = payto
|
2213
3576
|
@pix = pix
|
2214
3577
|
@promptpay = promptpay
|
3578
|
+
@qris = qris
|
3579
|
+
@rechnung = rechnung
|
2215
3580
|
@revolut_pay = revolut_pay
|
2216
3581
|
@samsung_pay = samsung_pay
|
2217
3582
|
@satispay = satispay
|
2218
3583
|
@sepa_debit = sepa_debit
|
3584
|
+
@shopeepay = shopeepay
|
2219
3585
|
@sofort = sofort
|
3586
|
+
@stripe_balance = stripe_balance
|
2220
3587
|
@swish = swish
|
2221
3588
|
@twint = twint
|
2222
3589
|
@us_bank_account = us_bank_account
|
@@ -2225,7 +3592,7 @@ module Stripe
|
|
2225
3592
|
end
|
2226
3593
|
end
|
2227
3594
|
|
2228
|
-
class RadarOptions < Stripe::RequestParams
|
3595
|
+
class RadarOptions < ::Stripe::RequestParams
|
2229
3596
|
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
2230
3597
|
attr_accessor :session
|
2231
3598
|
|
@@ -2234,8 +3601,8 @@ module Stripe
|
|
2234
3601
|
end
|
2235
3602
|
end
|
2236
3603
|
|
2237
|
-
class Shipping < Stripe::RequestParams
|
2238
|
-
class Address < Stripe::RequestParams
|
3604
|
+
class Shipping < ::Stripe::RequestParams
|
3605
|
+
class Address < ::Stripe::RequestParams
|
2239
3606
|
# City, district, suburb, town, or village.
|
2240
3607
|
attr_accessor :city
|
2241
3608
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
@@ -2284,6 +3651,10 @@ module Stripe
|
|
2284
3651
|
@tracking_number = tracking_number
|
2285
3652
|
end
|
2286
3653
|
end
|
3654
|
+
# Provides industry-specific information about the amount.
|
3655
|
+
attr_accessor :amount_details
|
3656
|
+
# The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).
|
3657
|
+
attr_accessor :application_fee_amount
|
2287
3658
|
# Controls when the funds will be captured from the customer's account.
|
2288
3659
|
attr_accessor :capture_method
|
2289
3660
|
# ID of the ConfirmationToken used to confirm this PaymentIntent.
|
@@ -2296,12 +3667,18 @@ module Stripe
|
|
2296
3667
|
attr_accessor :excluded_payment_method_types
|
2297
3668
|
# Specifies which fields in the response should be expanded.
|
2298
3669
|
attr_accessor :expand
|
3670
|
+
# The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount.
|
3671
|
+
attr_accessor :fx_quote
|
3672
|
+
# Automations to be run during the PaymentIntent lifecycle
|
3673
|
+
attr_accessor :hooks
|
2299
3674
|
# ID of the mandate that's used for this payment.
|
2300
3675
|
attr_accessor :mandate
|
2301
3676
|
# Attribute for param field mandate_data
|
2302
3677
|
attr_accessor :mandate_data
|
2303
3678
|
# Set to `true` to indicate that the customer isn't in your checkout flow during this payment attempt and can't authenticate. Use this parameter in scenarios where you collect card details and [charge them later](https://stripe.com/docs/payments/cards/charging-saved-cards).
|
2304
3679
|
attr_accessor :off_session
|
3680
|
+
# Provides industry-specific information about the charge.
|
3681
|
+
attr_accessor :payment_details
|
2305
3682
|
# ID of the payment method (a PaymentMethod, Card, or [compatible Source](https://stripe.com/docs/payments/payment-methods/transitioning#compatibility) object) to attach to this PaymentIntent.
|
2306
3683
|
# If the payment method is attached to a Customer, it must match the [customer](https://stripe.com/docs/api#create_payment_intent-customer) that is set on this PaymentIntent.
|
2307
3684
|
attr_accessor :payment_method
|
@@ -2337,14 +3714,19 @@ module Stripe
|
|
2337
3714
|
attr_accessor :use_stripe_sdk
|
2338
3715
|
|
2339
3716
|
def initialize(
|
3717
|
+
amount_details: nil,
|
3718
|
+
application_fee_amount: nil,
|
2340
3719
|
capture_method: nil,
|
2341
3720
|
confirmation_token: nil,
|
2342
3721
|
error_on_requires_action: nil,
|
2343
3722
|
excluded_payment_method_types: nil,
|
2344
3723
|
expand: nil,
|
3724
|
+
fx_quote: nil,
|
3725
|
+
hooks: nil,
|
2345
3726
|
mandate: nil,
|
2346
3727
|
mandate_data: nil,
|
2347
3728
|
off_session: nil,
|
3729
|
+
payment_details: nil,
|
2348
3730
|
payment_method: nil,
|
2349
3731
|
payment_method_data: nil,
|
2350
3732
|
payment_method_options: nil,
|
@@ -2356,14 +3738,19 @@ module Stripe
|
|
2356
3738
|
shipping: nil,
|
2357
3739
|
use_stripe_sdk: nil
|
2358
3740
|
)
|
3741
|
+
@amount_details = amount_details
|
3742
|
+
@application_fee_amount = application_fee_amount
|
2359
3743
|
@capture_method = capture_method
|
2360
3744
|
@confirmation_token = confirmation_token
|
2361
3745
|
@error_on_requires_action = error_on_requires_action
|
2362
3746
|
@excluded_payment_method_types = excluded_payment_method_types
|
2363
3747
|
@expand = expand
|
3748
|
+
@fx_quote = fx_quote
|
3749
|
+
@hooks = hooks
|
2364
3750
|
@mandate = mandate
|
2365
3751
|
@mandate_data = mandate_data
|
2366
3752
|
@off_session = off_session
|
3753
|
+
@payment_details = payment_details
|
2367
3754
|
@payment_method = payment_method
|
2368
3755
|
@payment_method_data = payment_method_data
|
2369
3756
|
@payment_method_options = payment_method_options
|