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,8 +2,161 @@
|
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
4
|
module Stripe
|
5
|
-
class PaymentIntentCreateParams < Stripe::RequestParams
|
6
|
-
class
|
5
|
+
class PaymentIntentCreateParams < ::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 AutomaticPaymentMethods < ::Stripe::RequestParams
|
7
160
|
# Controls whether this PaymentIntent will accept redirect-based payment methods.
|
8
161
|
#
|
9
162
|
# Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://stripe.com/docs/api/payment_intents/confirm) this PaymentIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the payment.
|
@@ -17,11 +170,36 @@ module Stripe
|
|
17
170
|
end
|
18
171
|
end
|
19
172
|
|
20
|
-
class
|
21
|
-
class
|
22
|
-
class
|
173
|
+
class Hooks < ::Stripe::RequestParams
|
174
|
+
class Inputs < ::Stripe::RequestParams
|
175
|
+
class Tax < ::Stripe::RequestParams
|
176
|
+
# The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id
|
177
|
+
attr_accessor :calculation
|
23
178
|
|
24
|
-
|
179
|
+
def initialize(calculation: nil)
|
180
|
+
@calculation = calculation
|
181
|
+
end
|
182
|
+
end
|
183
|
+
# Tax arguments for automations
|
184
|
+
attr_accessor :tax
|
185
|
+
|
186
|
+
def initialize(tax: nil)
|
187
|
+
@tax = tax
|
188
|
+
end
|
189
|
+
end
|
190
|
+
# Arguments passed in automations
|
191
|
+
attr_accessor :inputs
|
192
|
+
|
193
|
+
def initialize(inputs: nil)
|
194
|
+
@inputs = inputs
|
195
|
+
end
|
196
|
+
end
|
197
|
+
|
198
|
+
class MandateData < ::Stripe::RequestParams
|
199
|
+
class CustomerAcceptance < ::Stripe::RequestParams
|
200
|
+
class Offline < ::Stripe::RequestParams; end
|
201
|
+
|
202
|
+
class Online < ::Stripe::RequestParams
|
25
203
|
# The IP address from which the Mandate was accepted by the customer.
|
26
204
|
attr_accessor :ip_address
|
27
205
|
# The user agent of the browser from which the Mandate was accepted by the customer.
|
@@ -32,32 +210,758 @@ module Stripe
|
|
32
210
|
@user_agent = user_agent
|
33
211
|
end
|
34
212
|
end
|
35
|
-
# The time at which the customer accepted the Mandate.
|
36
|
-
attr_accessor :accepted_at
|
37
|
-
# If this is a Mandate accepted offline, this hash contains details about the offline acceptance.
|
38
|
-
attr_accessor :offline
|
39
|
-
# If this is a Mandate accepted online, this hash contains details about the online acceptance.
|
40
|
-
attr_accessor :online
|
41
|
-
# The type of customer acceptance information included with the Mandate. One of `online` or `offline`.
|
42
|
-
attr_accessor :type
|
213
|
+
# The time at which the customer accepted the Mandate.
|
214
|
+
attr_accessor :accepted_at
|
215
|
+
# If this is a Mandate accepted offline, this hash contains details about the offline acceptance.
|
216
|
+
attr_accessor :offline
|
217
|
+
# If this is a Mandate accepted online, this hash contains details about the online acceptance.
|
218
|
+
attr_accessor :online
|
219
|
+
# The type of customer acceptance information included with the Mandate. One of `online` or `offline`.
|
220
|
+
attr_accessor :type
|
221
|
+
|
222
|
+
def initialize(accepted_at: nil, offline: nil, online: nil, type: nil)
|
223
|
+
@accepted_at = accepted_at
|
224
|
+
@offline = offline
|
225
|
+
@online = online
|
226
|
+
@type = type
|
227
|
+
end
|
228
|
+
end
|
229
|
+
# This hash contains details about the customer acceptance of the Mandate.
|
230
|
+
attr_accessor :customer_acceptance
|
231
|
+
|
232
|
+
def initialize(customer_acceptance: nil)
|
233
|
+
@customer_acceptance = customer_acceptance
|
234
|
+
end
|
235
|
+
end
|
236
|
+
|
237
|
+
class PaymentDetails < ::Stripe::RequestParams
|
238
|
+
class Benefit < ::Stripe::RequestParams
|
239
|
+
class FrMealVoucher < ::Stripe::RequestParams
|
240
|
+
# The 14-digit SIRET of the meal voucher acceptor.
|
241
|
+
attr_accessor :siret
|
242
|
+
|
243
|
+
def initialize(siret: nil)
|
244
|
+
@siret = siret
|
245
|
+
end
|
246
|
+
end
|
247
|
+
# French meal voucher benefit details for this PaymentIntent.
|
248
|
+
attr_accessor :fr_meal_voucher
|
249
|
+
|
250
|
+
def initialize(fr_meal_voucher: nil)
|
251
|
+
@fr_meal_voucher = fr_meal_voucher
|
252
|
+
end
|
253
|
+
end
|
254
|
+
|
255
|
+
class CarRental < ::Stripe::RequestParams
|
256
|
+
class Affiliate < ::Stripe::RequestParams
|
257
|
+
# The name of the affiliate that originated the purchase.
|
258
|
+
attr_accessor :name
|
259
|
+
|
260
|
+
def initialize(name: nil)
|
261
|
+
@name = name
|
262
|
+
end
|
263
|
+
end
|
264
|
+
|
265
|
+
class Delivery < ::Stripe::RequestParams
|
266
|
+
class Recipient < ::Stripe::RequestParams
|
267
|
+
# The email of the recipient the ticket is delivered to.
|
268
|
+
attr_accessor :email
|
269
|
+
# The name of the recipient the ticket is delivered to.
|
270
|
+
attr_accessor :name
|
271
|
+
# The phone number of the recipient the ticket is delivered to.
|
272
|
+
attr_accessor :phone
|
273
|
+
|
274
|
+
def initialize(email: nil, name: nil, phone: nil)
|
275
|
+
@email = email
|
276
|
+
@name = name
|
277
|
+
@phone = phone
|
278
|
+
end
|
279
|
+
end
|
280
|
+
# The delivery method for the payment
|
281
|
+
attr_accessor :mode
|
282
|
+
# Details of the recipient.
|
283
|
+
attr_accessor :recipient
|
284
|
+
|
285
|
+
def initialize(mode: nil, recipient: nil)
|
286
|
+
@mode = mode
|
287
|
+
@recipient = recipient
|
288
|
+
end
|
289
|
+
end
|
290
|
+
|
291
|
+
class Distance < ::Stripe::RequestParams
|
292
|
+
# Distance traveled.
|
293
|
+
attr_accessor :amount
|
294
|
+
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
295
|
+
attr_accessor :unit
|
296
|
+
|
297
|
+
def initialize(amount: nil, unit: nil)
|
298
|
+
@amount = amount
|
299
|
+
@unit = unit
|
300
|
+
end
|
301
|
+
end
|
302
|
+
|
303
|
+
class Driver < ::Stripe::RequestParams
|
304
|
+
# Driver's identification number.
|
305
|
+
attr_accessor :driver_identification_number
|
306
|
+
# Driver's tax number.
|
307
|
+
attr_accessor :driver_tax_number
|
308
|
+
# Full name of the person or entity on the car reservation.
|
309
|
+
attr_accessor :name
|
310
|
+
|
311
|
+
def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
|
312
|
+
@driver_identification_number = driver_identification_number
|
313
|
+
@driver_tax_number = driver_tax_number
|
314
|
+
@name = name
|
315
|
+
end
|
316
|
+
end
|
317
|
+
|
318
|
+
class PickupAddress < ::Stripe::RequestParams
|
319
|
+
# City, district, suburb, town, or village.
|
320
|
+
attr_accessor :city
|
321
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
322
|
+
attr_accessor :country
|
323
|
+
# Address line 1, such as the street, PO Box, or company name.
|
324
|
+
attr_accessor :line1
|
325
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
326
|
+
attr_accessor :line2
|
327
|
+
# ZIP or postal code.
|
328
|
+
attr_accessor :postal_code
|
329
|
+
# State, county, province, or region.
|
330
|
+
attr_accessor :state
|
331
|
+
|
332
|
+
def initialize(
|
333
|
+
city: nil,
|
334
|
+
country: nil,
|
335
|
+
line1: nil,
|
336
|
+
line2: nil,
|
337
|
+
postal_code: nil,
|
338
|
+
state: nil
|
339
|
+
)
|
340
|
+
@city = city
|
341
|
+
@country = country
|
342
|
+
@line1 = line1
|
343
|
+
@line2 = line2
|
344
|
+
@postal_code = postal_code
|
345
|
+
@state = state
|
346
|
+
end
|
347
|
+
end
|
348
|
+
|
349
|
+
class ReturnAddress < ::Stripe::RequestParams
|
350
|
+
# City, district, suburb, town, or village.
|
351
|
+
attr_accessor :city
|
352
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
353
|
+
attr_accessor :country
|
354
|
+
# Address line 1, such as the street, PO Box, or company name.
|
355
|
+
attr_accessor :line1
|
356
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
357
|
+
attr_accessor :line2
|
358
|
+
# ZIP or postal code.
|
359
|
+
attr_accessor :postal_code
|
360
|
+
# State, county, province, or region.
|
361
|
+
attr_accessor :state
|
362
|
+
|
363
|
+
def initialize(
|
364
|
+
city: nil,
|
365
|
+
country: nil,
|
366
|
+
line1: nil,
|
367
|
+
line2: nil,
|
368
|
+
postal_code: nil,
|
369
|
+
state: nil
|
370
|
+
)
|
371
|
+
@city = city
|
372
|
+
@country = country
|
373
|
+
@line1 = line1
|
374
|
+
@line2 = line2
|
375
|
+
@postal_code = postal_code
|
376
|
+
@state = state
|
377
|
+
end
|
378
|
+
end
|
379
|
+
# Affiliate details for this purchase.
|
380
|
+
attr_accessor :affiliate
|
381
|
+
# The booking number associated with the car rental.
|
382
|
+
attr_accessor :booking_number
|
383
|
+
# Class code of the car.
|
384
|
+
attr_accessor :car_class_code
|
385
|
+
# Make of the car.
|
386
|
+
attr_accessor :car_make
|
387
|
+
# Model of the car.
|
388
|
+
attr_accessor :car_model
|
389
|
+
# The name of the rental car company.
|
390
|
+
attr_accessor :company
|
391
|
+
# The customer service phone number of the car rental company.
|
392
|
+
attr_accessor :customer_service_phone_number
|
393
|
+
# Number of days the car is being rented.
|
394
|
+
attr_accessor :days_rented
|
395
|
+
# Delivery details for this purchase.
|
396
|
+
attr_accessor :delivery
|
397
|
+
# The details of the distance traveled during the rental period.
|
398
|
+
attr_accessor :distance
|
399
|
+
# The details of the passengers in the travel reservation
|
400
|
+
attr_accessor :drivers
|
401
|
+
# List of additional charges being billed.
|
402
|
+
attr_accessor :extra_charges
|
403
|
+
# Indicates if the customer did not keep nor cancel their booking.
|
404
|
+
attr_accessor :no_show
|
405
|
+
# Car pick-up address.
|
406
|
+
attr_accessor :pickup_address
|
407
|
+
# Car pick-up time. Measured in seconds since the Unix epoch.
|
408
|
+
attr_accessor :pickup_at
|
409
|
+
# Name of the pickup location.
|
410
|
+
attr_accessor :pickup_location_name
|
411
|
+
# Rental rate.
|
412
|
+
attr_accessor :rate_amount
|
413
|
+
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
414
|
+
attr_accessor :rate_interval
|
415
|
+
# The name of the person or entity renting the car.
|
416
|
+
attr_accessor :renter_name
|
417
|
+
# Car return address.
|
418
|
+
attr_accessor :return_address
|
419
|
+
# Car return time. Measured in seconds since the Unix epoch.
|
420
|
+
attr_accessor :return_at
|
421
|
+
# Name of the return location.
|
422
|
+
attr_accessor :return_location_name
|
423
|
+
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
424
|
+
attr_accessor :tax_exempt
|
425
|
+
# The vehicle identification number.
|
426
|
+
attr_accessor :vehicle_identification_number
|
427
|
+
|
428
|
+
def initialize(
|
429
|
+
affiliate: nil,
|
430
|
+
booking_number: nil,
|
431
|
+
car_class_code: nil,
|
432
|
+
car_make: nil,
|
433
|
+
car_model: nil,
|
434
|
+
company: nil,
|
435
|
+
customer_service_phone_number: nil,
|
436
|
+
days_rented: nil,
|
437
|
+
delivery: nil,
|
438
|
+
distance: nil,
|
439
|
+
drivers: nil,
|
440
|
+
extra_charges: nil,
|
441
|
+
no_show: nil,
|
442
|
+
pickup_address: nil,
|
443
|
+
pickup_at: nil,
|
444
|
+
pickup_location_name: nil,
|
445
|
+
rate_amount: nil,
|
446
|
+
rate_interval: nil,
|
447
|
+
renter_name: nil,
|
448
|
+
return_address: nil,
|
449
|
+
return_at: nil,
|
450
|
+
return_location_name: nil,
|
451
|
+
tax_exempt: nil,
|
452
|
+
vehicle_identification_number: nil
|
453
|
+
)
|
454
|
+
@affiliate = affiliate
|
455
|
+
@booking_number = booking_number
|
456
|
+
@car_class_code = car_class_code
|
457
|
+
@car_make = car_make
|
458
|
+
@car_model = car_model
|
459
|
+
@company = company
|
460
|
+
@customer_service_phone_number = customer_service_phone_number
|
461
|
+
@days_rented = days_rented
|
462
|
+
@delivery = delivery
|
463
|
+
@distance = distance
|
464
|
+
@drivers = drivers
|
465
|
+
@extra_charges = extra_charges
|
466
|
+
@no_show = no_show
|
467
|
+
@pickup_address = pickup_address
|
468
|
+
@pickup_at = pickup_at
|
469
|
+
@pickup_location_name = pickup_location_name
|
470
|
+
@rate_amount = rate_amount
|
471
|
+
@rate_interval = rate_interval
|
472
|
+
@renter_name = renter_name
|
473
|
+
@return_address = return_address
|
474
|
+
@return_at = return_at
|
475
|
+
@return_location_name = return_location_name
|
476
|
+
@tax_exempt = tax_exempt
|
477
|
+
@vehicle_identification_number = vehicle_identification_number
|
478
|
+
end
|
479
|
+
end
|
480
|
+
|
481
|
+
class EventDetails < ::Stripe::RequestParams
|
482
|
+
class Address < ::Stripe::RequestParams
|
483
|
+
# City, district, suburb, town, or village.
|
484
|
+
attr_accessor :city
|
485
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
486
|
+
attr_accessor :country
|
487
|
+
# Address line 1, such as the street, PO Box, or company name.
|
488
|
+
attr_accessor :line1
|
489
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
490
|
+
attr_accessor :line2
|
491
|
+
# ZIP or postal code.
|
492
|
+
attr_accessor :postal_code
|
493
|
+
# State, county, province, or region.
|
494
|
+
attr_accessor :state
|
495
|
+
|
496
|
+
def initialize(
|
497
|
+
city: nil,
|
498
|
+
country: nil,
|
499
|
+
line1: nil,
|
500
|
+
line2: nil,
|
501
|
+
postal_code: nil,
|
502
|
+
state: nil
|
503
|
+
)
|
504
|
+
@city = city
|
505
|
+
@country = country
|
506
|
+
@line1 = line1
|
507
|
+
@line2 = line2
|
508
|
+
@postal_code = postal_code
|
509
|
+
@state = state
|
510
|
+
end
|
511
|
+
end
|
512
|
+
|
513
|
+
class Affiliate < ::Stripe::RequestParams
|
514
|
+
# The name of the affiliate that originated the purchase.
|
515
|
+
attr_accessor :name
|
516
|
+
|
517
|
+
def initialize(name: nil)
|
518
|
+
@name = name
|
519
|
+
end
|
520
|
+
end
|
521
|
+
|
522
|
+
class Delivery < ::Stripe::RequestParams
|
523
|
+
class Recipient < ::Stripe::RequestParams
|
524
|
+
# The email of the recipient the ticket is delivered to.
|
525
|
+
attr_accessor :email
|
526
|
+
# The name of the recipient the ticket is delivered to.
|
527
|
+
attr_accessor :name
|
528
|
+
# The phone number of the recipient the ticket is delivered to.
|
529
|
+
attr_accessor :phone
|
530
|
+
|
531
|
+
def initialize(email: nil, name: nil, phone: nil)
|
532
|
+
@email = email
|
533
|
+
@name = name
|
534
|
+
@phone = phone
|
535
|
+
end
|
536
|
+
end
|
537
|
+
# The delivery method for the payment
|
538
|
+
attr_accessor :mode
|
539
|
+
# Details of the recipient.
|
540
|
+
attr_accessor :recipient
|
541
|
+
|
542
|
+
def initialize(mode: nil, recipient: nil)
|
543
|
+
@mode = mode
|
544
|
+
@recipient = recipient
|
545
|
+
end
|
546
|
+
end
|
547
|
+
# Indicates if the tickets are digitally checked when entering the venue.
|
548
|
+
attr_accessor :access_controlled_venue
|
549
|
+
# The event location's address.
|
550
|
+
attr_accessor :address
|
551
|
+
# Affiliate details for this purchase.
|
552
|
+
attr_accessor :affiliate
|
553
|
+
# The name of the company
|
554
|
+
attr_accessor :company
|
555
|
+
# Delivery details for this purchase.
|
556
|
+
attr_accessor :delivery
|
557
|
+
# Event end time. Measured in seconds since the Unix epoch.
|
558
|
+
attr_accessor :ends_at
|
559
|
+
# Type of the event entertainment (concert, sports event etc)
|
560
|
+
attr_accessor :genre
|
561
|
+
# The name of the event.
|
562
|
+
attr_accessor :name
|
563
|
+
# Event start time. Measured in seconds since the Unix epoch.
|
564
|
+
attr_accessor :starts_at
|
565
|
+
|
566
|
+
def initialize(
|
567
|
+
access_controlled_venue: nil,
|
568
|
+
address: nil,
|
569
|
+
affiliate: nil,
|
570
|
+
company: nil,
|
571
|
+
delivery: nil,
|
572
|
+
ends_at: nil,
|
573
|
+
genre: nil,
|
574
|
+
name: nil,
|
575
|
+
starts_at: nil
|
576
|
+
)
|
577
|
+
@access_controlled_venue = access_controlled_venue
|
578
|
+
@address = address
|
579
|
+
@affiliate = affiliate
|
580
|
+
@company = company
|
581
|
+
@delivery = delivery
|
582
|
+
@ends_at = ends_at
|
583
|
+
@genre = genre
|
584
|
+
@name = name
|
585
|
+
@starts_at = starts_at
|
586
|
+
end
|
587
|
+
end
|
588
|
+
|
589
|
+
class Flight < ::Stripe::RequestParams
|
590
|
+
class Affiliate < ::Stripe::RequestParams
|
591
|
+
# The name of the affiliate that originated the purchase.
|
592
|
+
attr_accessor :name
|
593
|
+
|
594
|
+
def initialize(name: nil)
|
595
|
+
@name = name
|
596
|
+
end
|
597
|
+
end
|
598
|
+
|
599
|
+
class Delivery < ::Stripe::RequestParams
|
600
|
+
class Recipient < ::Stripe::RequestParams
|
601
|
+
# The email of the recipient the ticket is delivered to.
|
602
|
+
attr_accessor :email
|
603
|
+
# The name of the recipient the ticket is delivered to.
|
604
|
+
attr_accessor :name
|
605
|
+
# The phone number of the recipient the ticket is delivered to.
|
606
|
+
attr_accessor :phone
|
607
|
+
|
608
|
+
def initialize(email: nil, name: nil, phone: nil)
|
609
|
+
@email = email
|
610
|
+
@name = name
|
611
|
+
@phone = phone
|
612
|
+
end
|
613
|
+
end
|
614
|
+
# The delivery method for the payment
|
615
|
+
attr_accessor :mode
|
616
|
+
# Details of the recipient.
|
617
|
+
attr_accessor :recipient
|
618
|
+
|
619
|
+
def initialize(mode: nil, recipient: nil)
|
620
|
+
@mode = mode
|
621
|
+
@recipient = recipient
|
622
|
+
end
|
623
|
+
end
|
624
|
+
|
625
|
+
class Passenger < ::Stripe::RequestParams
|
626
|
+
# Full name of the person or entity on the flight reservation.
|
627
|
+
attr_accessor :name
|
628
|
+
|
629
|
+
def initialize(name: nil)
|
630
|
+
@name = name
|
631
|
+
end
|
632
|
+
end
|
633
|
+
|
634
|
+
class Segment < ::Stripe::RequestParams
|
635
|
+
# The flight segment amount.
|
636
|
+
attr_accessor :amount
|
637
|
+
# The International Air Transport Association (IATA) airport code for the arrival airport.
|
638
|
+
attr_accessor :arrival_airport
|
639
|
+
# The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
640
|
+
attr_accessor :arrives_at
|
641
|
+
# The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
642
|
+
attr_accessor :carrier
|
643
|
+
# The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
644
|
+
attr_accessor :departs_at
|
645
|
+
# The International Air Transport Association (IATA) airport code for the departure airport.
|
646
|
+
attr_accessor :departure_airport
|
647
|
+
# The flight number associated with the segment
|
648
|
+
attr_accessor :flight_number
|
649
|
+
# The fare class for the segment.
|
650
|
+
attr_accessor :service_class
|
651
|
+
|
652
|
+
def initialize(
|
653
|
+
amount: nil,
|
654
|
+
arrival_airport: nil,
|
655
|
+
arrives_at: nil,
|
656
|
+
carrier: nil,
|
657
|
+
departs_at: nil,
|
658
|
+
departure_airport: nil,
|
659
|
+
flight_number: nil,
|
660
|
+
service_class: nil
|
661
|
+
)
|
662
|
+
@amount = amount
|
663
|
+
@arrival_airport = arrival_airport
|
664
|
+
@arrives_at = arrives_at
|
665
|
+
@carrier = carrier
|
666
|
+
@departs_at = departs_at
|
667
|
+
@departure_airport = departure_airport
|
668
|
+
@flight_number = flight_number
|
669
|
+
@service_class = service_class
|
670
|
+
end
|
671
|
+
end
|
672
|
+
# Affiliate details for this purchase.
|
673
|
+
attr_accessor :affiliate
|
674
|
+
# The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
675
|
+
attr_accessor :agency_number
|
676
|
+
# The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
677
|
+
attr_accessor :carrier
|
678
|
+
# Delivery details for this purchase.
|
679
|
+
attr_accessor :delivery
|
680
|
+
# The name of the person or entity on the reservation.
|
681
|
+
attr_accessor :passenger_name
|
682
|
+
# The details of the passengers in the travel reservation.
|
683
|
+
attr_accessor :passengers
|
684
|
+
# The individual flight segments associated with the trip.
|
685
|
+
attr_accessor :segments
|
686
|
+
# The ticket number associated with the travel reservation.
|
687
|
+
attr_accessor :ticket_number
|
688
|
+
|
689
|
+
def initialize(
|
690
|
+
affiliate: nil,
|
691
|
+
agency_number: nil,
|
692
|
+
carrier: nil,
|
693
|
+
delivery: nil,
|
694
|
+
passenger_name: nil,
|
695
|
+
passengers: nil,
|
696
|
+
segments: nil,
|
697
|
+
ticket_number: nil
|
698
|
+
)
|
699
|
+
@affiliate = affiliate
|
700
|
+
@agency_number = agency_number
|
701
|
+
@carrier = carrier
|
702
|
+
@delivery = delivery
|
703
|
+
@passenger_name = passenger_name
|
704
|
+
@passengers = passengers
|
705
|
+
@segments = segments
|
706
|
+
@ticket_number = ticket_number
|
707
|
+
end
|
708
|
+
end
|
709
|
+
|
710
|
+
class Lodging < ::Stripe::RequestParams
|
711
|
+
class Address < ::Stripe::RequestParams
|
712
|
+
# City, district, suburb, town, or village.
|
713
|
+
attr_accessor :city
|
714
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
715
|
+
attr_accessor :country
|
716
|
+
# Address line 1, such as the street, PO Box, or company name.
|
717
|
+
attr_accessor :line1
|
718
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
719
|
+
attr_accessor :line2
|
720
|
+
# ZIP or postal code.
|
721
|
+
attr_accessor :postal_code
|
722
|
+
# State, county, province, or region.
|
723
|
+
attr_accessor :state
|
724
|
+
|
725
|
+
def initialize(
|
726
|
+
city: nil,
|
727
|
+
country: nil,
|
728
|
+
line1: nil,
|
729
|
+
line2: nil,
|
730
|
+
postal_code: nil,
|
731
|
+
state: nil
|
732
|
+
)
|
733
|
+
@city = city
|
734
|
+
@country = country
|
735
|
+
@line1 = line1
|
736
|
+
@line2 = line2
|
737
|
+
@postal_code = postal_code
|
738
|
+
@state = state
|
739
|
+
end
|
740
|
+
end
|
741
|
+
|
742
|
+
class Affiliate < ::Stripe::RequestParams
|
743
|
+
# The name of the affiliate that originated the purchase.
|
744
|
+
attr_accessor :name
|
745
|
+
|
746
|
+
def initialize(name: nil)
|
747
|
+
@name = name
|
748
|
+
end
|
749
|
+
end
|
750
|
+
|
751
|
+
class Delivery < ::Stripe::RequestParams
|
752
|
+
class Recipient < ::Stripe::RequestParams
|
753
|
+
# The email of the recipient the ticket is delivered to.
|
754
|
+
attr_accessor :email
|
755
|
+
# The name of the recipient the ticket is delivered to.
|
756
|
+
attr_accessor :name
|
757
|
+
# The phone number of the recipient the ticket is delivered to.
|
758
|
+
attr_accessor :phone
|
759
|
+
|
760
|
+
def initialize(email: nil, name: nil, phone: nil)
|
761
|
+
@email = email
|
762
|
+
@name = name
|
763
|
+
@phone = phone
|
764
|
+
end
|
765
|
+
end
|
766
|
+
# The delivery method for the payment
|
767
|
+
attr_accessor :mode
|
768
|
+
# Details of the recipient.
|
769
|
+
attr_accessor :recipient
|
770
|
+
|
771
|
+
def initialize(mode: nil, recipient: nil)
|
772
|
+
@mode = mode
|
773
|
+
@recipient = recipient
|
774
|
+
end
|
775
|
+
end
|
776
|
+
|
777
|
+
class Passenger < ::Stripe::RequestParams
|
778
|
+
# Full name of the person or entity on the lodging reservation.
|
779
|
+
attr_accessor :name
|
780
|
+
|
781
|
+
def initialize(name: nil)
|
782
|
+
@name = name
|
783
|
+
end
|
784
|
+
end
|
785
|
+
# The lodging location's address.
|
786
|
+
attr_accessor :address
|
787
|
+
# The number of adults on the booking
|
788
|
+
attr_accessor :adults
|
789
|
+
# Affiliate details for this purchase.
|
790
|
+
attr_accessor :affiliate
|
791
|
+
# The booking number associated with the lodging reservation.
|
792
|
+
attr_accessor :booking_number
|
793
|
+
# The lodging category
|
794
|
+
attr_accessor :category
|
795
|
+
# Lodging check-in time. Measured in seconds since the Unix epoch.
|
796
|
+
attr_accessor :checkin_at
|
797
|
+
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
798
|
+
attr_accessor :checkout_at
|
799
|
+
# The customer service phone number of the lodging company.
|
800
|
+
attr_accessor :customer_service_phone_number
|
801
|
+
# The daily lodging room rate.
|
802
|
+
attr_accessor :daily_room_rate_amount
|
803
|
+
# Delivery details for this purchase.
|
804
|
+
attr_accessor :delivery
|
805
|
+
# List of additional charges being billed.
|
806
|
+
attr_accessor :extra_charges
|
807
|
+
# Indicates whether the lodging location is compliant with the Fire Safety Act.
|
808
|
+
attr_accessor :fire_safety_act_compliance
|
809
|
+
# The name of the lodging location.
|
810
|
+
attr_accessor :name
|
811
|
+
# Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
812
|
+
attr_accessor :no_show
|
813
|
+
# The number of rooms on the booking
|
814
|
+
attr_accessor :number_of_rooms
|
815
|
+
# The details of the passengers in the travel reservation
|
816
|
+
attr_accessor :passengers
|
817
|
+
# The phone number of the lodging location.
|
818
|
+
attr_accessor :property_phone_number
|
819
|
+
# The room class for this purchase.
|
820
|
+
attr_accessor :room_class
|
821
|
+
# The number of room nights
|
822
|
+
attr_accessor :room_nights
|
823
|
+
# The total tax amount associating with the room reservation.
|
824
|
+
attr_accessor :total_room_tax_amount
|
825
|
+
# The total tax amount
|
826
|
+
attr_accessor :total_tax_amount
|
827
|
+
|
828
|
+
def initialize(
|
829
|
+
address: nil,
|
830
|
+
adults: nil,
|
831
|
+
affiliate: nil,
|
832
|
+
booking_number: nil,
|
833
|
+
category: nil,
|
834
|
+
checkin_at: nil,
|
835
|
+
checkout_at: nil,
|
836
|
+
customer_service_phone_number: nil,
|
837
|
+
daily_room_rate_amount: nil,
|
838
|
+
delivery: nil,
|
839
|
+
extra_charges: nil,
|
840
|
+
fire_safety_act_compliance: nil,
|
841
|
+
name: nil,
|
842
|
+
no_show: nil,
|
843
|
+
number_of_rooms: nil,
|
844
|
+
passengers: nil,
|
845
|
+
property_phone_number: nil,
|
846
|
+
room_class: nil,
|
847
|
+
room_nights: nil,
|
848
|
+
total_room_tax_amount: nil,
|
849
|
+
total_tax_amount: nil
|
850
|
+
)
|
851
|
+
@address = address
|
852
|
+
@adults = adults
|
853
|
+
@affiliate = affiliate
|
854
|
+
@booking_number = booking_number
|
855
|
+
@category = category
|
856
|
+
@checkin_at = checkin_at
|
857
|
+
@checkout_at = checkout_at
|
858
|
+
@customer_service_phone_number = customer_service_phone_number
|
859
|
+
@daily_room_rate_amount = daily_room_rate_amount
|
860
|
+
@delivery = delivery
|
861
|
+
@extra_charges = extra_charges
|
862
|
+
@fire_safety_act_compliance = fire_safety_act_compliance
|
863
|
+
@name = name
|
864
|
+
@no_show = no_show
|
865
|
+
@number_of_rooms = number_of_rooms
|
866
|
+
@passengers = passengers
|
867
|
+
@property_phone_number = property_phone_number
|
868
|
+
@room_class = room_class
|
869
|
+
@room_nights = room_nights
|
870
|
+
@total_room_tax_amount = total_room_tax_amount
|
871
|
+
@total_tax_amount = total_tax_amount
|
872
|
+
end
|
873
|
+
end
|
874
|
+
|
875
|
+
class Subscription < ::Stripe::RequestParams
|
876
|
+
class Affiliate < ::Stripe::RequestParams
|
877
|
+
# The name of the affiliate that originated the purchase.
|
878
|
+
attr_accessor :name
|
879
|
+
|
880
|
+
def initialize(name: nil)
|
881
|
+
@name = name
|
882
|
+
end
|
883
|
+
end
|
884
|
+
|
885
|
+
class BillingInterval < ::Stripe::RequestParams
|
886
|
+
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
887
|
+
attr_accessor :count
|
888
|
+
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
889
|
+
attr_accessor :interval
|
890
|
+
|
891
|
+
def initialize(count: nil, interval: nil)
|
892
|
+
@count = count
|
893
|
+
@interval = interval
|
894
|
+
end
|
895
|
+
end
|
896
|
+
# Affiliate details for this purchase.
|
897
|
+
attr_accessor :affiliate
|
898
|
+
# Info whether the subscription will be auto renewed upon expiry.
|
899
|
+
attr_accessor :auto_renewal
|
900
|
+
# Subscription billing details for this purchase.
|
901
|
+
attr_accessor :billing_interval
|
902
|
+
# Subscription end time. Measured in seconds since the Unix epoch.
|
903
|
+
attr_accessor :ends_at
|
904
|
+
# Name of the product on subscription. e.g. Apple Music Subscription
|
905
|
+
attr_accessor :name
|
906
|
+
# Subscription start time. Measured in seconds since the Unix epoch.
|
907
|
+
attr_accessor :starts_at
|
43
908
|
|
44
|
-
def initialize(
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
909
|
+
def initialize(
|
910
|
+
affiliate: nil,
|
911
|
+
auto_renewal: nil,
|
912
|
+
billing_interval: nil,
|
913
|
+
ends_at: nil,
|
914
|
+
name: nil,
|
915
|
+
starts_at: nil
|
916
|
+
)
|
917
|
+
@affiliate = affiliate
|
918
|
+
@auto_renewal = auto_renewal
|
919
|
+
@billing_interval = billing_interval
|
920
|
+
@ends_at = ends_at
|
921
|
+
@name = name
|
922
|
+
@starts_at = starts_at
|
923
|
+
end
|
924
|
+
end
|
925
|
+
# Car rental details for this PaymentIntent.
|
926
|
+
attr_accessor :car_rental
|
927
|
+
# 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.
|
928
|
+
attr_accessor :customer_reference
|
929
|
+
# Event details for this PaymentIntent
|
930
|
+
attr_accessor :event_details
|
931
|
+
# Flight reservation details for this PaymentIntent
|
932
|
+
attr_accessor :flight
|
933
|
+
# Lodging reservation details for this PaymentIntent
|
934
|
+
attr_accessor :lodging
|
935
|
+
# A unique value assigned by the business to identify the transaction.
|
936
|
+
attr_accessor :order_reference
|
937
|
+
# Subscription details for this PaymentIntent
|
938
|
+
attr_accessor :subscription
|
939
|
+
# Benefit details for this PaymentIntent
|
940
|
+
attr_accessor :benefit
|
53
941
|
|
54
|
-
def initialize(
|
55
|
-
|
942
|
+
def initialize(
|
943
|
+
car_rental: nil,
|
944
|
+
customer_reference: nil,
|
945
|
+
event_details: nil,
|
946
|
+
flight: nil,
|
947
|
+
lodging: nil,
|
948
|
+
order_reference: nil,
|
949
|
+
subscription: nil,
|
950
|
+
benefit: nil
|
951
|
+
)
|
952
|
+
@car_rental = car_rental
|
953
|
+
@customer_reference = customer_reference
|
954
|
+
@event_details = event_details
|
955
|
+
@flight = flight
|
956
|
+
@lodging = lodging
|
957
|
+
@order_reference = order_reference
|
958
|
+
@subscription = subscription
|
959
|
+
@benefit = benefit
|
56
960
|
end
|
57
961
|
end
|
58
962
|
|
59
|
-
class PaymentMethodData < Stripe::RequestParams
|
60
|
-
class AcssDebit < Stripe::RequestParams
|
963
|
+
class PaymentMethodData < ::Stripe::RequestParams
|
964
|
+
class AcssDebit < ::Stripe::RequestParams
|
61
965
|
# Customer's bank account number.
|
62
966
|
attr_accessor :account_number
|
63
967
|
# Institution number of the customer's bank.
|
@@ -72,13 +976,13 @@ module Stripe
|
|
72
976
|
end
|
73
977
|
end
|
74
978
|
|
75
|
-
class Affirm < Stripe::RequestParams; end
|
76
|
-
class AfterpayClearpay < Stripe::RequestParams; end
|
77
|
-
class Alipay < Stripe::RequestParams; end
|
78
|
-
class Alma < Stripe::RequestParams; end
|
79
|
-
class AmazonPay < Stripe::RequestParams; end
|
979
|
+
class Affirm < ::Stripe::RequestParams; end
|
980
|
+
class AfterpayClearpay < ::Stripe::RequestParams; end
|
981
|
+
class Alipay < ::Stripe::RequestParams; end
|
982
|
+
class Alma < ::Stripe::RequestParams; end
|
983
|
+
class AmazonPay < ::Stripe::RequestParams; end
|
80
984
|
|
81
|
-
class AuBecsDebit < Stripe::RequestParams
|
985
|
+
class AuBecsDebit < ::Stripe::RequestParams
|
82
986
|
# The account number for the bank account.
|
83
987
|
attr_accessor :account_number
|
84
988
|
# Bank-State-Branch number of the bank account.
|
@@ -90,7 +994,7 @@ module Stripe
|
|
90
994
|
end
|
91
995
|
end
|
92
996
|
|
93
|
-
class BacsDebit < Stripe::RequestParams
|
997
|
+
class BacsDebit < ::Stripe::RequestParams
|
94
998
|
# Account number of the bank account that the funds will be debited from.
|
95
999
|
attr_accessor :account_number
|
96
1000
|
# Sort code of the bank account. (e.g., `10-20-30`)
|
@@ -102,11 +1006,11 @@ module Stripe
|
|
102
1006
|
end
|
103
1007
|
end
|
104
1008
|
|
105
|
-
class Bancontact < Stripe::RequestParams; end
|
106
|
-
class Billie < Stripe::RequestParams; end
|
1009
|
+
class Bancontact < ::Stripe::RequestParams; end
|
1010
|
+
class Billie < ::Stripe::RequestParams; end
|
107
1011
|
|
108
|
-
class BillingDetails < Stripe::RequestParams
|
109
|
-
class Address < Stripe::RequestParams
|
1012
|
+
class BillingDetails < ::Stripe::RequestParams
|
1013
|
+
class Address < ::Stripe::RequestParams
|
110
1014
|
# City, district, suburb, town, or village.
|
111
1015
|
attr_accessor :city
|
112
1016
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
@@ -156,9 +1060,9 @@ module Stripe
|
|
156
1060
|
end
|
157
1061
|
end
|
158
1062
|
|
159
|
-
class Blik < Stripe::RequestParams; end
|
1063
|
+
class Blik < ::Stripe::RequestParams; end
|
160
1064
|
|
161
|
-
class Boleto < Stripe::RequestParams
|
1065
|
+
class Boleto < ::Stripe::RequestParams
|
162
1066
|
# The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
|
163
1067
|
attr_accessor :tax_id
|
164
1068
|
|
@@ -167,11 +1071,11 @@ module Stripe
|
|
167
1071
|
end
|
168
1072
|
end
|
169
1073
|
|
170
|
-
class Cashapp < Stripe::RequestParams; end
|
171
|
-
class Crypto < Stripe::RequestParams; end
|
172
|
-
class CustomerBalance < Stripe::RequestParams; end
|
1074
|
+
class Cashapp < ::Stripe::RequestParams; end
|
1075
|
+
class Crypto < ::Stripe::RequestParams; end
|
1076
|
+
class CustomerBalance < ::Stripe::RequestParams; end
|
173
1077
|
|
174
|
-
class Eps < Stripe::RequestParams
|
1078
|
+
class Eps < ::Stripe::RequestParams
|
175
1079
|
# The customer's bank.
|
176
1080
|
attr_accessor :bank
|
177
1081
|
|
@@ -180,7 +1084,7 @@ module Stripe
|
|
180
1084
|
end
|
181
1085
|
end
|
182
1086
|
|
183
|
-
class Fpx < Stripe::RequestParams
|
1087
|
+
class Fpx < ::Stripe::RequestParams
|
184
1088
|
# Account holder type for FPX transaction
|
185
1089
|
attr_accessor :account_holder_type
|
186
1090
|
# The customer's bank.
|
@@ -192,10 +1096,20 @@ module Stripe
|
|
192
1096
|
end
|
193
1097
|
end
|
194
1098
|
|
195
|
-
class Giropay < Stripe::RequestParams; end
|
196
|
-
class
|
1099
|
+
class Giropay < ::Stripe::RequestParams; end
|
1100
|
+
class Gopay < ::Stripe::RequestParams; end
|
1101
|
+
class Grabpay < ::Stripe::RequestParams; end
|
1102
|
+
|
1103
|
+
class IdBankTransfer < ::Stripe::RequestParams
|
1104
|
+
# Bank where the account is held.
|
1105
|
+
attr_accessor :bank
|
1106
|
+
|
1107
|
+
def initialize(bank: nil)
|
1108
|
+
@bank = bank
|
1109
|
+
end
|
1110
|
+
end
|
197
1111
|
|
198
|
-
class Ideal < Stripe::RequestParams
|
1112
|
+
class Ideal < ::Stripe::RequestParams
|
199
1113
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
200
1114
|
attr_accessor :bank
|
201
1115
|
|
@@ -204,11 +1118,11 @@ module Stripe
|
|
204
1118
|
end
|
205
1119
|
end
|
206
1120
|
|
207
|
-
class InteracPresent < Stripe::RequestParams; end
|
208
|
-
class KakaoPay < Stripe::RequestParams; end
|
1121
|
+
class InteracPresent < ::Stripe::RequestParams; end
|
1122
|
+
class KakaoPay < ::Stripe::RequestParams; end
|
209
1123
|
|
210
|
-
class Klarna < Stripe::RequestParams
|
211
|
-
class Dob < Stripe::RequestParams
|
1124
|
+
class Klarna < ::Stripe::RequestParams
|
1125
|
+
class Dob < ::Stripe::RequestParams
|
212
1126
|
# The day of birth, between 1 and 31.
|
213
1127
|
attr_accessor :day
|
214
1128
|
# The month of birth, between 1 and 12.
|
@@ -230,14 +1144,14 @@ module Stripe
|
|
230
1144
|
end
|
231
1145
|
end
|
232
1146
|
|
233
|
-
class Konbini < Stripe::RequestParams; end
|
234
|
-
class KrCard < Stripe::RequestParams; end
|
235
|
-
class Link < Stripe::RequestParams; end
|
236
|
-
class MbWay < Stripe::RequestParams; end
|
237
|
-
class Mobilepay < Stripe::RequestParams; end
|
238
|
-
class Multibanco < Stripe::RequestParams; end
|
1147
|
+
class Konbini < ::Stripe::RequestParams; end
|
1148
|
+
class KrCard < ::Stripe::RequestParams; end
|
1149
|
+
class Link < ::Stripe::RequestParams; end
|
1150
|
+
class MbWay < ::Stripe::RequestParams; end
|
1151
|
+
class Mobilepay < ::Stripe::RequestParams; end
|
1152
|
+
class Multibanco < ::Stripe::RequestParams; end
|
239
1153
|
|
240
|
-
class NaverPay < Stripe::RequestParams
|
1154
|
+
class NaverPay < ::Stripe::RequestParams
|
241
1155
|
# Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
|
242
1156
|
attr_accessor :funding
|
243
1157
|
|
@@ -246,7 +1160,7 @@ module Stripe
|
|
246
1160
|
end
|
247
1161
|
end
|
248
1162
|
|
249
|
-
class NzBankAccount < Stripe::RequestParams
|
1163
|
+
class NzBankAccount < ::Stripe::RequestParams
|
250
1164
|
# 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.
|
251
1165
|
attr_accessor :account_holder_name
|
252
1166
|
# The account number for the bank account.
|
@@ -277,9 +1191,9 @@ module Stripe
|
|
277
1191
|
end
|
278
1192
|
end
|
279
1193
|
|
280
|
-
class Oxxo < Stripe::RequestParams; end
|
1194
|
+
class Oxxo < ::Stripe::RequestParams; end
|
281
1195
|
|
282
|
-
class P24 < Stripe::RequestParams
|
1196
|
+
class P24 < ::Stripe::RequestParams
|
283
1197
|
# The customer's bank.
|
284
1198
|
attr_accessor :bank
|
285
1199
|
|
@@ -288,14 +1202,32 @@ module Stripe
|
|
288
1202
|
end
|
289
1203
|
end
|
290
1204
|
|
291
|
-
class PayByBank < Stripe::RequestParams; end
|
292
|
-
class Payco < Stripe::RequestParams; end
|
293
|
-
class Paynow < Stripe::RequestParams; end
|
294
|
-
class Paypal < Stripe::RequestParams; end
|
295
|
-
class
|
296
|
-
class Promptpay < Stripe::RequestParams; end
|
1205
|
+
class PayByBank < ::Stripe::RequestParams; end
|
1206
|
+
class Payco < ::Stripe::RequestParams; end
|
1207
|
+
class Paynow < ::Stripe::RequestParams; end
|
1208
|
+
class Paypal < ::Stripe::RequestParams; end
|
1209
|
+
class Paypay < ::Stripe::RequestParams; end
|
297
1210
|
|
298
|
-
class
|
1211
|
+
class Payto < ::Stripe::RequestParams
|
1212
|
+
# The account number for the bank account.
|
1213
|
+
attr_accessor :account_number
|
1214
|
+
# Bank-State-Branch number of the bank account.
|
1215
|
+
attr_accessor :bsb_number
|
1216
|
+
# The PayID alias for the bank account.
|
1217
|
+
attr_accessor :pay_id
|
1218
|
+
|
1219
|
+
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
1220
|
+
@account_number = account_number
|
1221
|
+
@bsb_number = bsb_number
|
1222
|
+
@pay_id = pay_id
|
1223
|
+
end
|
1224
|
+
end
|
1225
|
+
|
1226
|
+
class Pix < ::Stripe::RequestParams; end
|
1227
|
+
class Promptpay < ::Stripe::RequestParams; end
|
1228
|
+
class Qris < ::Stripe::RequestParams; end
|
1229
|
+
|
1230
|
+
class RadarOptions < ::Stripe::RequestParams
|
299
1231
|
# 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.
|
300
1232
|
attr_accessor :session
|
301
1233
|
|
@@ -304,11 +1236,34 @@ module Stripe
|
|
304
1236
|
end
|
305
1237
|
end
|
306
1238
|
|
307
|
-
class
|
308
|
-
|
309
|
-
|
1239
|
+
class Rechnung < ::Stripe::RequestParams
|
1240
|
+
class Dob < ::Stripe::RequestParams
|
1241
|
+
# The day of birth, between 1 and 31.
|
1242
|
+
attr_accessor :day
|
1243
|
+
# The month of birth, between 1 and 12.
|
1244
|
+
attr_accessor :month
|
1245
|
+
# The four-digit year of birth.
|
1246
|
+
attr_accessor :year
|
1247
|
+
|
1248
|
+
def initialize(day: nil, month: nil, year: nil)
|
1249
|
+
@day = day
|
1250
|
+
@month = month
|
1251
|
+
@year = year
|
1252
|
+
end
|
1253
|
+
end
|
1254
|
+
# Customer's date of birth
|
1255
|
+
attr_accessor :dob
|
1256
|
+
|
1257
|
+
def initialize(dob: nil)
|
1258
|
+
@dob = dob
|
1259
|
+
end
|
1260
|
+
end
|
1261
|
+
|
1262
|
+
class RevolutPay < ::Stripe::RequestParams; end
|
1263
|
+
class SamsungPay < ::Stripe::RequestParams; end
|
1264
|
+
class Satispay < ::Stripe::RequestParams; end
|
310
1265
|
|
311
|
-
class SepaDebit < Stripe::RequestParams
|
1266
|
+
class SepaDebit < ::Stripe::RequestParams
|
312
1267
|
# IBAN of the bank account.
|
313
1268
|
attr_accessor :iban
|
314
1269
|
|
@@ -317,7 +1272,9 @@ module Stripe
|
|
317
1272
|
end
|
318
1273
|
end
|
319
1274
|
|
320
|
-
class
|
1275
|
+
class Shopeepay < ::Stripe::RequestParams; end
|
1276
|
+
|
1277
|
+
class Sofort < ::Stripe::RequestParams
|
321
1278
|
# Two-letter ISO code representing the country the bank account is located in.
|
322
1279
|
attr_accessor :country
|
323
1280
|
|
@@ -326,10 +1283,22 @@ module Stripe
|
|
326
1283
|
end
|
327
1284
|
end
|
328
1285
|
|
329
|
-
class
|
330
|
-
|
1286
|
+
class StripeBalance < ::Stripe::RequestParams
|
1287
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
1288
|
+
attr_accessor :account
|
1289
|
+
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
1290
|
+
attr_accessor :source_type
|
1291
|
+
|
1292
|
+
def initialize(account: nil, source_type: nil)
|
1293
|
+
@account = account
|
1294
|
+
@source_type = source_type
|
1295
|
+
end
|
1296
|
+
end
|
1297
|
+
|
1298
|
+
class Swish < ::Stripe::RequestParams; end
|
1299
|
+
class Twint < ::Stripe::RequestParams; end
|
331
1300
|
|
332
|
-
class UsBankAccount < Stripe::RequestParams
|
1301
|
+
class UsBankAccount < ::Stripe::RequestParams
|
333
1302
|
# Account holder type: individual or company.
|
334
1303
|
attr_accessor :account_holder_type
|
335
1304
|
# Account number of the bank account.
|
@@ -356,8 +1325,8 @@ module Stripe
|
|
356
1325
|
end
|
357
1326
|
end
|
358
1327
|
|
359
|
-
class WechatPay < Stripe::RequestParams; end
|
360
|
-
class Zip < Stripe::RequestParams; end
|
1328
|
+
class WechatPay < ::Stripe::RequestParams; end
|
1329
|
+
class Zip < ::Stripe::RequestParams; end
|
361
1330
|
# If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
362
1331
|
attr_accessor :acss_debit
|
363
1332
|
# If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
|
@@ -398,8 +1367,12 @@ module Stripe
|
|
398
1367
|
attr_accessor :fpx
|
399
1368
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
400
1369
|
attr_accessor :giropay
|
1370
|
+
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
1371
|
+
attr_accessor :gopay
|
401
1372
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
402
1373
|
attr_accessor :grabpay
|
1374
|
+
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
1375
|
+
attr_accessor :id_bank_transfer
|
403
1376
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
404
1377
|
attr_accessor :ideal
|
405
1378
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -438,12 +1411,20 @@ module Stripe
|
|
438
1411
|
attr_accessor :paynow
|
439
1412
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
440
1413
|
attr_accessor :paypal
|
1414
|
+
# If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
1415
|
+
attr_accessor :paypay
|
1416
|
+
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
1417
|
+
attr_accessor :payto
|
441
1418
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
442
1419
|
attr_accessor :pix
|
443
1420
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
444
1421
|
attr_accessor :promptpay
|
1422
|
+
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
1423
|
+
attr_accessor :qris
|
445
1424
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
446
1425
|
attr_accessor :radar_options
|
1426
|
+
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
1427
|
+
attr_accessor :rechnung
|
447
1428
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
448
1429
|
attr_accessor :revolut_pay
|
449
1430
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
@@ -452,8 +1433,12 @@ module Stripe
|
|
452
1433
|
attr_accessor :satispay
|
453
1434
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
454
1435
|
attr_accessor :sepa_debit
|
1436
|
+
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
1437
|
+
attr_accessor :shopeepay
|
455
1438
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
456
1439
|
attr_accessor :sofort
|
1440
|
+
# This hash contains details about the Stripe balance payment method.
|
1441
|
+
attr_accessor :stripe_balance
|
457
1442
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
458
1443
|
attr_accessor :swish
|
459
1444
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
@@ -488,7 +1473,9 @@ module Stripe
|
|
488
1473
|
eps: nil,
|
489
1474
|
fpx: nil,
|
490
1475
|
giropay: nil,
|
1476
|
+
gopay: nil,
|
491
1477
|
grabpay: nil,
|
1478
|
+
id_bank_transfer: nil,
|
492
1479
|
ideal: nil,
|
493
1480
|
interac_present: nil,
|
494
1481
|
kakao_pay: nil,
|
@@ -508,14 +1495,20 @@ module Stripe
|
|
508
1495
|
payco: nil,
|
509
1496
|
paynow: nil,
|
510
1497
|
paypal: nil,
|
1498
|
+
paypay: nil,
|
1499
|
+
payto: nil,
|
511
1500
|
pix: nil,
|
512
1501
|
promptpay: nil,
|
1502
|
+
qris: nil,
|
513
1503
|
radar_options: nil,
|
1504
|
+
rechnung: nil,
|
514
1505
|
revolut_pay: nil,
|
515
1506
|
samsung_pay: nil,
|
516
1507
|
satispay: nil,
|
517
1508
|
sepa_debit: nil,
|
1509
|
+
shopeepay: nil,
|
518
1510
|
sofort: nil,
|
1511
|
+
stripe_balance: nil,
|
519
1512
|
swish: nil,
|
520
1513
|
twint: nil,
|
521
1514
|
type: nil,
|
@@ -543,7 +1536,9 @@ module Stripe
|
|
543
1536
|
@eps = eps
|
544
1537
|
@fpx = fpx
|
545
1538
|
@giropay = giropay
|
1539
|
+
@gopay = gopay
|
546
1540
|
@grabpay = grabpay
|
1541
|
+
@id_bank_transfer = id_bank_transfer
|
547
1542
|
@ideal = ideal
|
548
1543
|
@interac_present = interac_present
|
549
1544
|
@kakao_pay = kakao_pay
|
@@ -563,14 +1558,20 @@ module Stripe
|
|
563
1558
|
@payco = payco
|
564
1559
|
@paynow = paynow
|
565
1560
|
@paypal = paypal
|
1561
|
+
@paypay = paypay
|
1562
|
+
@payto = payto
|
566
1563
|
@pix = pix
|
567
1564
|
@promptpay = promptpay
|
1565
|
+
@qris = qris
|
568
1566
|
@radar_options = radar_options
|
1567
|
+
@rechnung = rechnung
|
569
1568
|
@revolut_pay = revolut_pay
|
570
1569
|
@samsung_pay = samsung_pay
|
571
1570
|
@satispay = satispay
|
572
1571
|
@sepa_debit = sepa_debit
|
1572
|
+
@shopeepay = shopeepay
|
573
1573
|
@sofort = sofort
|
1574
|
+
@stripe_balance = stripe_balance
|
574
1575
|
@swish = swish
|
575
1576
|
@twint = twint
|
576
1577
|
@type = type
|
@@ -580,9 +1581,9 @@ module Stripe
|
|
580
1581
|
end
|
581
1582
|
end
|
582
1583
|
|
583
|
-
class PaymentMethodOptions < Stripe::RequestParams
|
584
|
-
class AcssDebit < Stripe::RequestParams
|
585
|
-
class MandateOptions < Stripe::RequestParams
|
1584
|
+
class PaymentMethodOptions < ::Stripe::RequestParams
|
1585
|
+
class AcssDebit < ::Stripe::RequestParams
|
1586
|
+
class MandateOptions < ::Stripe::RequestParams
|
586
1587
|
# A URL for custom mandate text to render during confirmation step.
|
587
1588
|
# The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,
|
588
1589
|
# or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
|
@@ -636,7 +1637,7 @@ module Stripe
|
|
636
1637
|
end
|
637
1638
|
end
|
638
1639
|
|
639
|
-
class Affirm < Stripe::RequestParams
|
1640
|
+
class Affirm < ::Stripe::RequestParams
|
640
1641
|
# Controls when the funds are captured from the customer's account.
|
641
1642
|
#
|
642
1643
|
# 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.
|
@@ -663,7 +1664,7 @@ module Stripe
|
|
663
1664
|
end
|
664
1665
|
end
|
665
1666
|
|
666
|
-
class AfterpayClearpay < Stripe::RequestParams
|
1667
|
+
class AfterpayClearpay < ::Stripe::RequestParams
|
667
1668
|
# Controls when the funds are captured from the customer's account.
|
668
1669
|
#
|
669
1670
|
# 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.
|
@@ -691,7 +1692,7 @@ module Stripe
|
|
691
1692
|
end
|
692
1693
|
end
|
693
1694
|
|
694
|
-
class Alipay < Stripe::RequestParams
|
1695
|
+
class Alipay < ::Stripe::RequestParams
|
695
1696
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
696
1697
|
#
|
697
1698
|
# 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.
|
@@ -708,7 +1709,7 @@ module Stripe
|
|
708
1709
|
end
|
709
1710
|
end
|
710
1711
|
|
711
|
-
class Alma < Stripe::RequestParams
|
1712
|
+
class Alma < ::Stripe::RequestParams
|
712
1713
|
# Controls when the funds are captured from the customer's account.
|
713
1714
|
#
|
714
1715
|
# 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.
|
@@ -721,7 +1722,7 @@ module Stripe
|
|
721
1722
|
end
|
722
1723
|
end
|
723
1724
|
|
724
|
-
class AmazonPay < Stripe::RequestParams
|
1725
|
+
class AmazonPay < ::Stripe::RequestParams
|
725
1726
|
# Controls when the funds are captured from the customer's account.
|
726
1727
|
#
|
727
1728
|
# 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.
|
@@ -743,7 +1744,7 @@ module Stripe
|
|
743
1744
|
end
|
744
1745
|
end
|
745
1746
|
|
746
|
-
class AuBecsDebit < Stripe::RequestParams
|
1747
|
+
class AuBecsDebit < ::Stripe::RequestParams
|
747
1748
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
748
1749
|
#
|
749
1750
|
# 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.
|
@@ -763,8 +1764,8 @@ module Stripe
|
|
763
1764
|
end
|
764
1765
|
end
|
765
1766
|
|
766
|
-
class BacsDebit < Stripe::RequestParams
|
767
|
-
class MandateOptions < Stripe::RequestParams
|
1767
|
+
class BacsDebit < ::Stripe::RequestParams
|
1768
|
+
class MandateOptions < ::Stripe::RequestParams
|
768
1769
|
# 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'.
|
769
1770
|
attr_accessor :reference_prefix
|
770
1771
|
|
@@ -794,7 +1795,7 @@ module Stripe
|
|
794
1795
|
end
|
795
1796
|
end
|
796
1797
|
|
797
|
-
class Bancontact < Stripe::RequestParams
|
1798
|
+
class Bancontact < ::Stripe::RequestParams
|
798
1799
|
# Preferred language of the Bancontact authorization page that the customer is redirected to.
|
799
1800
|
attr_accessor :preferred_language
|
800
1801
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
@@ -814,7 +1815,7 @@ module Stripe
|
|
814
1815
|
end
|
815
1816
|
end
|
816
1817
|
|
817
|
-
class Billie < Stripe::RequestParams
|
1818
|
+
class Billie < ::Stripe::RequestParams
|
818
1819
|
# Controls when the funds are captured from the customer's account.
|
819
1820
|
#
|
820
1821
|
# 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.
|
@@ -827,7 +1828,7 @@ module Stripe
|
|
827
1828
|
end
|
828
1829
|
end
|
829
1830
|
|
830
|
-
class Blik < Stripe::RequestParams
|
1831
|
+
class Blik < ::Stripe::RequestParams
|
831
1832
|
# The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation.
|
832
1833
|
attr_accessor :code
|
833
1834
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
@@ -847,7 +1848,7 @@ module Stripe
|
|
847
1848
|
end
|
848
1849
|
end
|
849
1850
|
|
850
|
-
class Boleto < Stripe::RequestParams
|
1851
|
+
class Boleto < ::Stripe::RequestParams
|
851
1852
|
# 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.
|
852
1853
|
attr_accessor :expires_after_days
|
853
1854
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
@@ -867,9 +1868,9 @@ module Stripe
|
|
867
1868
|
end
|
868
1869
|
end
|
869
1870
|
|
870
|
-
class Card < Stripe::RequestParams
|
871
|
-
class Installments < Stripe::RequestParams
|
872
|
-
class Plan < Stripe::RequestParams
|
1871
|
+
class Card < ::Stripe::RequestParams
|
1872
|
+
class Installments < ::Stripe::RequestParams
|
1873
|
+
class Plan < ::Stripe::RequestParams
|
873
1874
|
# For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card.
|
874
1875
|
attr_accessor :count
|
875
1876
|
# For `fixed_count` installment plans, this is required. It represents the interval between installment payments your customer will make to their credit card.
|
@@ -898,7 +1899,7 @@ module Stripe
|
|
898
1899
|
end
|
899
1900
|
end
|
900
1901
|
|
901
|
-
class MandateOptions < Stripe::RequestParams
|
1902
|
+
class MandateOptions < ::Stripe::RequestParams
|
902
1903
|
# Amount to be charged for future payments.
|
903
1904
|
attr_accessor :amount
|
904
1905
|
# 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.
|
@@ -941,9 +1942,51 @@ module Stripe
|
|
941
1942
|
end
|
942
1943
|
end
|
943
1944
|
|
944
|
-
class
|
945
|
-
class
|
946
|
-
|
1945
|
+
class StatementDetails < ::Stripe::RequestParams
|
1946
|
+
class Address < ::Stripe::RequestParams
|
1947
|
+
# City, district, suburb, town, or village.
|
1948
|
+
attr_accessor :city
|
1949
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1950
|
+
attr_accessor :country
|
1951
|
+
# Address line 1, such as the street, PO Box, or company name.
|
1952
|
+
attr_accessor :line1
|
1953
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
1954
|
+
attr_accessor :line2
|
1955
|
+
# ZIP or postal code.
|
1956
|
+
attr_accessor :postal_code
|
1957
|
+
# State, county, province, or region.
|
1958
|
+
attr_accessor :state
|
1959
|
+
|
1960
|
+
def initialize(
|
1961
|
+
city: nil,
|
1962
|
+
country: nil,
|
1963
|
+
line1: nil,
|
1964
|
+
line2: nil,
|
1965
|
+
postal_code: nil,
|
1966
|
+
state: nil
|
1967
|
+
)
|
1968
|
+
@city = city
|
1969
|
+
@country = country
|
1970
|
+
@line1 = line1
|
1971
|
+
@line2 = line2
|
1972
|
+
@postal_code = postal_code
|
1973
|
+
@state = state
|
1974
|
+
end
|
1975
|
+
end
|
1976
|
+
# Please pass in an address that is within your Stripe user account country
|
1977
|
+
attr_accessor :address
|
1978
|
+
# Phone number (e.g., a toll-free number that customers can call)
|
1979
|
+
attr_accessor :phone
|
1980
|
+
|
1981
|
+
def initialize(address: nil, phone: nil)
|
1982
|
+
@address = address
|
1983
|
+
@phone = phone
|
1984
|
+
end
|
1985
|
+
end
|
1986
|
+
|
1987
|
+
class ThreeDSecure < ::Stripe::RequestParams
|
1988
|
+
class NetworkOptions < ::Stripe::RequestParams
|
1989
|
+
class CartesBancaires < ::Stripe::RequestParams
|
947
1990
|
# The cryptogram calculation algorithm used by the card Issuer's ACS
|
948
1991
|
# to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`.
|
949
1992
|
# messageExtension: CB-AVALGO
|
@@ -1035,6 +2078,8 @@ module Stripe
|
|
1035
2078
|
attr_accessor :moto
|
1036
2079
|
# 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.
|
1037
2080
|
attr_accessor :network
|
2081
|
+
# Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent.
|
2082
|
+
attr_accessor :request_decremental_authorization
|
1038
2083
|
# Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
|
1039
2084
|
attr_accessor :request_extended_authorization
|
1040
2085
|
# Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent.
|
@@ -1043,6 +2088,8 @@ module Stripe
|
|
1043
2088
|
attr_accessor :request_multicapture
|
1044
2089
|
# Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent.
|
1045
2090
|
attr_accessor :request_overcapture
|
2091
|
+
# Request partial authorization on this PaymentIntent.
|
2092
|
+
attr_accessor :request_partial_authorization
|
1046
2093
|
# 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.
|
1047
2094
|
attr_accessor :request_three_d_secure
|
1048
2095
|
# 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).
|
@@ -1061,6 +2108,8 @@ module Stripe
|
|
1061
2108
|
attr_accessor :statement_descriptor_suffix_kana
|
1062
2109
|
# 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.
|
1063
2110
|
attr_accessor :statement_descriptor_suffix_kanji
|
2111
|
+
# Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements.
|
2112
|
+
attr_accessor :statement_details
|
1064
2113
|
# If 3D Secure authentication was performed with a third-party provider,
|
1065
2114
|
# the authentication details to use for this payment.
|
1066
2115
|
attr_accessor :three_d_secure
|
@@ -1072,15 +2121,18 @@ module Stripe
|
|
1072
2121
|
mandate_options: nil,
|
1073
2122
|
moto: nil,
|
1074
2123
|
network: nil,
|
2124
|
+
request_decremental_authorization: nil,
|
1075
2125
|
request_extended_authorization: nil,
|
1076
2126
|
request_incremental_authorization: nil,
|
1077
2127
|
request_multicapture: nil,
|
1078
2128
|
request_overcapture: nil,
|
2129
|
+
request_partial_authorization: nil,
|
1079
2130
|
request_three_d_secure: nil,
|
1080
2131
|
require_cvc_recollection: nil,
|
1081
2132
|
setup_future_usage: nil,
|
1082
2133
|
statement_descriptor_suffix_kana: nil,
|
1083
2134
|
statement_descriptor_suffix_kanji: nil,
|
2135
|
+
statement_details: nil,
|
1084
2136
|
three_d_secure: nil
|
1085
2137
|
)
|
1086
2138
|
@capture_method = capture_method
|
@@ -1089,21 +2141,24 @@ module Stripe
|
|
1089
2141
|
@mandate_options = mandate_options
|
1090
2142
|
@moto = moto
|
1091
2143
|
@network = network
|
2144
|
+
@request_decremental_authorization = request_decremental_authorization
|
1092
2145
|
@request_extended_authorization = request_extended_authorization
|
1093
2146
|
@request_incremental_authorization = request_incremental_authorization
|
1094
2147
|
@request_multicapture = request_multicapture
|
1095
2148
|
@request_overcapture = request_overcapture
|
2149
|
+
@request_partial_authorization = request_partial_authorization
|
1096
2150
|
@request_three_d_secure = request_three_d_secure
|
1097
2151
|
@require_cvc_recollection = require_cvc_recollection
|
1098
2152
|
@setup_future_usage = setup_future_usage
|
1099
2153
|
@statement_descriptor_suffix_kana = statement_descriptor_suffix_kana
|
1100
2154
|
@statement_descriptor_suffix_kanji = statement_descriptor_suffix_kanji
|
2155
|
+
@statement_details = statement_details
|
1101
2156
|
@three_d_secure = three_d_secure
|
1102
2157
|
end
|
1103
2158
|
end
|
1104
2159
|
|
1105
|
-
class CardPresent < Stripe::RequestParams
|
1106
|
-
class Routing < Stripe::RequestParams
|
2160
|
+
class CardPresent < ::Stripe::RequestParams
|
2161
|
+
class Routing < ::Stripe::RequestParams
|
1107
2162
|
# Routing requested priority
|
1108
2163
|
attr_accessor :requested_priority
|
1109
2164
|
|
@@ -1129,7 +2184,7 @@ module Stripe
|
|
1129
2184
|
end
|
1130
2185
|
end
|
1131
2186
|
|
1132
|
-
class Cashapp < Stripe::RequestParams
|
2187
|
+
class Cashapp < ::Stripe::RequestParams
|
1133
2188
|
# Controls when the funds are captured from the customer's account.
|
1134
2189
|
#
|
1135
2190
|
# 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.
|
@@ -1153,7 +2208,7 @@ module Stripe
|
|
1153
2208
|
end
|
1154
2209
|
end
|
1155
2210
|
|
1156
|
-
class Crypto < Stripe::RequestParams
|
2211
|
+
class Crypto < ::Stripe::RequestParams
|
1157
2212
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1158
2213
|
#
|
1159
2214
|
# 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.
|
@@ -1170,9 +2225,9 @@ module Stripe
|
|
1170
2225
|
end
|
1171
2226
|
end
|
1172
2227
|
|
1173
|
-
class CustomerBalance < Stripe::RequestParams
|
1174
|
-
class BankTransfer < Stripe::RequestParams
|
1175
|
-
class EuBankTransfer < Stripe::RequestParams
|
2228
|
+
class CustomerBalance < ::Stripe::RequestParams
|
2229
|
+
class BankTransfer < ::Stripe::RequestParams
|
2230
|
+
class EuBankTransfer < ::Stripe::RequestParams
|
1176
2231
|
# The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`.
|
1177
2232
|
attr_accessor :country
|
1178
2233
|
|
@@ -1217,7 +2272,24 @@ module Stripe
|
|
1217
2272
|
end
|
1218
2273
|
end
|
1219
2274
|
|
1220
|
-
class Eps < Stripe::RequestParams
|
2275
|
+
class Eps < ::Stripe::RequestParams
|
2276
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2277
|
+
#
|
2278
|
+
# 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.
|
2279
|
+
#
|
2280
|
+
# 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.
|
2281
|
+
#
|
2282
|
+
# 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).
|
2283
|
+
#
|
2284
|
+
# 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`.
|
2285
|
+
attr_accessor :setup_future_usage
|
2286
|
+
|
2287
|
+
def initialize(setup_future_usage: nil)
|
2288
|
+
@setup_future_usage = setup_future_usage
|
2289
|
+
end
|
2290
|
+
end
|
2291
|
+
|
2292
|
+
class Fpx < ::Stripe::RequestParams
|
1221
2293
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1222
2294
|
#
|
1223
2295
|
# 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.
|
@@ -1234,7 +2306,7 @@ module Stripe
|
|
1234
2306
|
end
|
1235
2307
|
end
|
1236
2308
|
|
1237
|
-
class
|
2309
|
+
class Giropay < ::Stripe::RequestParams
|
1238
2310
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1239
2311
|
#
|
1240
2312
|
# 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.
|
@@ -1251,7 +2323,7 @@ module Stripe
|
|
1251
2323
|
end
|
1252
2324
|
end
|
1253
2325
|
|
1254
|
-
class
|
2326
|
+
class Gopay < ::Stripe::RequestParams
|
1255
2327
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1256
2328
|
#
|
1257
2329
|
# 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.
|
@@ -1268,7 +2340,7 @@ module Stripe
|
|
1268
2340
|
end
|
1269
2341
|
end
|
1270
2342
|
|
1271
|
-
class Grabpay < Stripe::RequestParams
|
2343
|
+
class Grabpay < ::Stripe::RequestParams
|
1272
2344
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1273
2345
|
#
|
1274
2346
|
# 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.
|
@@ -1285,7 +2357,30 @@ module Stripe
|
|
1285
2357
|
end
|
1286
2358
|
end
|
1287
2359
|
|
1288
|
-
class
|
2360
|
+
class IdBankTransfer < ::Stripe::RequestParams
|
2361
|
+
# 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.
|
2362
|
+
attr_accessor :expires_after
|
2363
|
+
# 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.
|
2364
|
+
attr_accessor :expires_at
|
2365
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2366
|
+
#
|
2367
|
+
# 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.
|
2368
|
+
#
|
2369
|
+
# 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.
|
2370
|
+
#
|
2371
|
+
# 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).
|
2372
|
+
#
|
2373
|
+
# 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`.
|
2374
|
+
attr_accessor :setup_future_usage
|
2375
|
+
|
2376
|
+
def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil)
|
2377
|
+
@expires_after = expires_after
|
2378
|
+
@expires_at = expires_at
|
2379
|
+
@setup_future_usage = setup_future_usage
|
2380
|
+
end
|
2381
|
+
end
|
2382
|
+
|
2383
|
+
class Ideal < ::Stripe::RequestParams
|
1289
2384
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1290
2385
|
#
|
1291
2386
|
# 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.
|
@@ -1302,9 +2397,9 @@ module Stripe
|
|
1302
2397
|
end
|
1303
2398
|
end
|
1304
2399
|
|
1305
|
-
class InteracPresent < Stripe::RequestParams; end
|
2400
|
+
class InteracPresent < ::Stripe::RequestParams; end
|
1306
2401
|
|
1307
|
-
class KakaoPay < Stripe::RequestParams
|
2402
|
+
class KakaoPay < ::Stripe::RequestParams
|
1308
2403
|
# Controls when the funds are captured from the customer's account.
|
1309
2404
|
#
|
1310
2405
|
# 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.
|
@@ -1326,8 +2421,8 @@ module Stripe
|
|
1326
2421
|
end
|
1327
2422
|
end
|
1328
2423
|
|
1329
|
-
class Klarna < Stripe::RequestParams
|
1330
|
-
class OnDemand < Stripe::RequestParams
|
2424
|
+
class Klarna < ::Stripe::RequestParams
|
2425
|
+
class OnDemand < ::Stripe::RequestParams
|
1331
2426
|
# Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc.
|
1332
2427
|
attr_accessor :average_amount
|
1333
2428
|
# 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.
|
@@ -1354,8 +2449,8 @@ module Stripe
|
|
1354
2449
|
end
|
1355
2450
|
end
|
1356
2451
|
|
1357
|
-
class Subscription < Stripe::RequestParams
|
1358
|
-
class NextBilling < Stripe::RequestParams
|
2452
|
+
class Subscription < ::Stripe::RequestParams
|
2453
|
+
class NextBilling < ::Stripe::RequestParams
|
1359
2454
|
# The amount of the next charge for the subscription.
|
1360
2455
|
attr_accessor :amount
|
1361
2456
|
# The date of the next charge for the subscription in YYYY-MM-DD format.
|
@@ -1429,7 +2524,7 @@ module Stripe
|
|
1429
2524
|
end
|
1430
2525
|
end
|
1431
2526
|
|
1432
|
-
class Konbini < Stripe::RequestParams
|
2527
|
+
class Konbini < ::Stripe::RequestParams
|
1433
2528
|
# 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.
|
1434
2529
|
attr_accessor :confirmation_number
|
1435
2530
|
# 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.
|
@@ -1464,7 +2559,7 @@ module Stripe
|
|
1464
2559
|
end
|
1465
2560
|
end
|
1466
2561
|
|
1467
|
-
class KrCard < Stripe::RequestParams
|
2562
|
+
class KrCard < ::Stripe::RequestParams
|
1468
2563
|
# Controls when the funds are captured from the customer's account.
|
1469
2564
|
#
|
1470
2565
|
# 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.
|
@@ -1486,7 +2581,7 @@ module Stripe
|
|
1486
2581
|
end
|
1487
2582
|
end
|
1488
2583
|
|
1489
|
-
class Link < Stripe::RequestParams
|
2584
|
+
class Link < ::Stripe::RequestParams
|
1490
2585
|
# Controls when the funds are captured from the customer's account.
|
1491
2586
|
#
|
1492
2587
|
# 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.
|
@@ -1513,7 +2608,7 @@ module Stripe
|
|
1513
2608
|
end
|
1514
2609
|
end
|
1515
2610
|
|
1516
|
-
class MbWay < Stripe::RequestParams
|
2611
|
+
class MbWay < ::Stripe::RequestParams
|
1517
2612
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1518
2613
|
#
|
1519
2614
|
# 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.
|
@@ -1530,7 +2625,7 @@ module Stripe
|
|
1530
2625
|
end
|
1531
2626
|
end
|
1532
2627
|
|
1533
|
-
class Mobilepay < Stripe::RequestParams
|
2628
|
+
class Mobilepay < ::Stripe::RequestParams
|
1534
2629
|
# Controls when the funds are captured from the customer's account.
|
1535
2630
|
#
|
1536
2631
|
# 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.
|
@@ -1554,7 +2649,7 @@ module Stripe
|
|
1554
2649
|
end
|
1555
2650
|
end
|
1556
2651
|
|
1557
|
-
class Multibanco < Stripe::RequestParams
|
2652
|
+
class Multibanco < ::Stripe::RequestParams
|
1558
2653
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1559
2654
|
#
|
1560
2655
|
# 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.
|
@@ -1571,7 +2666,7 @@ module Stripe
|
|
1571
2666
|
end
|
1572
2667
|
end
|
1573
2668
|
|
1574
|
-
class NaverPay < Stripe::RequestParams
|
2669
|
+
class NaverPay < ::Stripe::RequestParams
|
1575
2670
|
# Controls when the funds are captured from the customer's account.
|
1576
2671
|
#
|
1577
2672
|
# 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.
|
@@ -1593,7 +2688,7 @@ module Stripe
|
|
1593
2688
|
end
|
1594
2689
|
end
|
1595
2690
|
|
1596
|
-
class NzBankAccount < Stripe::RequestParams
|
2691
|
+
class NzBankAccount < ::Stripe::RequestParams
|
1597
2692
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1598
2693
|
#
|
1599
2694
|
# 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.
|
@@ -1613,7 +2708,7 @@ module Stripe
|
|
1613
2708
|
end
|
1614
2709
|
end
|
1615
2710
|
|
1616
|
-
class Oxxo < Stripe::RequestParams
|
2711
|
+
class Oxxo < ::Stripe::RequestParams
|
1617
2712
|
# 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.
|
1618
2713
|
attr_accessor :expires_after_days
|
1619
2714
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
@@ -1633,7 +2728,7 @@ module Stripe
|
|
1633
2728
|
end
|
1634
2729
|
end
|
1635
2730
|
|
1636
|
-
class P24 < Stripe::RequestParams
|
2731
|
+
class P24 < ::Stripe::RequestParams
|
1637
2732
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1638
2733
|
#
|
1639
2734
|
# 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.
|
@@ -1653,9 +2748,9 @@ module Stripe
|
|
1653
2748
|
end
|
1654
2749
|
end
|
1655
2750
|
|
1656
|
-
class PayByBank < Stripe::RequestParams; end
|
2751
|
+
class PayByBank < ::Stripe::RequestParams; end
|
1657
2752
|
|
1658
|
-
class Payco < Stripe::RequestParams
|
2753
|
+
class Payco < ::Stripe::RequestParams
|
1659
2754
|
# Controls when the funds are captured from the customer's account.
|
1660
2755
|
#
|
1661
2756
|
# 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.
|
@@ -1668,7 +2763,7 @@ module Stripe
|
|
1668
2763
|
end
|
1669
2764
|
end
|
1670
2765
|
|
1671
|
-
class Paynow < Stripe::RequestParams
|
2766
|
+
class Paynow < ::Stripe::RequestParams
|
1672
2767
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1673
2768
|
#
|
1674
2769
|
# 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.
|
@@ -1685,13 +2780,66 @@ module Stripe
|
|
1685
2780
|
end
|
1686
2781
|
end
|
1687
2782
|
|
1688
|
-
class Paypal < Stripe::RequestParams
|
2783
|
+
class Paypal < ::Stripe::RequestParams
|
2784
|
+
class LineItem < ::Stripe::RequestParams
|
2785
|
+
class Tax < ::Stripe::RequestParams
|
2786
|
+
# The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
2787
|
+
attr_accessor :amount
|
2788
|
+
# The tax behavior for the line item.
|
2789
|
+
attr_accessor :behavior
|
2790
|
+
|
2791
|
+
def initialize(amount: nil, behavior: nil)
|
2792
|
+
@amount = amount
|
2793
|
+
@behavior = behavior
|
2794
|
+
end
|
2795
|
+
end
|
2796
|
+
# Type of the line item.
|
2797
|
+
attr_accessor :category
|
2798
|
+
# Description of the line item.
|
2799
|
+
attr_accessor :description
|
2800
|
+
# Descriptive name of the line item.
|
2801
|
+
attr_accessor :name
|
2802
|
+
# Quantity of the line item. Must be a positive number.
|
2803
|
+
attr_accessor :quantity
|
2804
|
+
# Client facing stock keeping unit, article number or similar.
|
2805
|
+
attr_accessor :sku
|
2806
|
+
# The Stripe account ID of the connected account that sells the item.
|
2807
|
+
attr_accessor :sold_by
|
2808
|
+
# The tax information for the line item.
|
2809
|
+
attr_accessor :tax
|
2810
|
+
# Price for a single unit of the line item in minor units. Cannot be a negative number.
|
2811
|
+
attr_accessor :unit_amount
|
2812
|
+
|
2813
|
+
def initialize(
|
2814
|
+
category: nil,
|
2815
|
+
description: nil,
|
2816
|
+
name: nil,
|
2817
|
+
quantity: nil,
|
2818
|
+
sku: nil,
|
2819
|
+
sold_by: nil,
|
2820
|
+
tax: nil,
|
2821
|
+
unit_amount: nil
|
2822
|
+
)
|
2823
|
+
@category = category
|
2824
|
+
@description = description
|
2825
|
+
@name = name
|
2826
|
+
@quantity = quantity
|
2827
|
+
@sku = sku
|
2828
|
+
@sold_by = sold_by
|
2829
|
+
@tax = tax
|
2830
|
+
@unit_amount = unit_amount
|
2831
|
+
end
|
2832
|
+
end
|
1689
2833
|
# Controls when the funds will be captured from the customer's account.
|
1690
2834
|
attr_accessor :capture_method
|
2835
|
+
# The line items purchased by the customer.
|
2836
|
+
attr_accessor :line_items
|
1691
2837
|
# [Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
|
1692
2838
|
attr_accessor :preferred_locale
|
1693
2839
|
# 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.
|
1694
2840
|
attr_accessor :reference
|
2841
|
+
# 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.
|
2842
|
+
attr_accessor :reference_id
|
1695
2843
|
# The risk correlation ID for an on-session payment using a saved PayPal payment method.
|
1696
2844
|
attr_accessor :risk_correlation_id
|
1697
2845
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
@@ -1704,29 +2852,140 @@ module Stripe
|
|
1704
2852
|
#
|
1705
2853
|
# 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`.
|
1706
2854
|
attr_accessor :setup_future_usage
|
2855
|
+
# 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.
|
2856
|
+
attr_accessor :subsellers
|
1707
2857
|
|
1708
2858
|
def initialize(
|
1709
2859
|
capture_method: nil,
|
2860
|
+
line_items: nil,
|
1710
2861
|
preferred_locale: nil,
|
1711
2862
|
reference: nil,
|
2863
|
+
reference_id: nil,
|
1712
2864
|
risk_correlation_id: nil,
|
1713
|
-
setup_future_usage: nil
|
2865
|
+
setup_future_usage: nil,
|
2866
|
+
subsellers: nil
|
1714
2867
|
)
|
1715
2868
|
@capture_method = capture_method
|
2869
|
+
@line_items = line_items
|
1716
2870
|
@preferred_locale = preferred_locale
|
1717
2871
|
@reference = reference
|
2872
|
+
@reference_id = reference_id
|
1718
2873
|
@risk_correlation_id = risk_correlation_id
|
1719
2874
|
@setup_future_usage = setup_future_usage
|
2875
|
+
@subsellers = subsellers
|
1720
2876
|
end
|
1721
2877
|
end
|
1722
2878
|
|
1723
|
-
class
|
2879
|
+
class Paypay < ::Stripe::RequestParams
|
2880
|
+
# Controls when the funds are captured from the customer's account.
|
2881
|
+
#
|
2882
|
+
# 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.
|
2883
|
+
#
|
2884
|
+
# 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.
|
2885
|
+
attr_accessor :capture_method
|
2886
|
+
|
2887
|
+
def initialize(capture_method: nil)
|
2888
|
+
@capture_method = capture_method
|
2889
|
+
end
|
2890
|
+
end
|
2891
|
+
|
2892
|
+
class Payto < ::Stripe::RequestParams
|
2893
|
+
class MandateOptions < ::Stripe::RequestParams
|
2894
|
+
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
2895
|
+
attr_accessor :amount
|
2896
|
+
# 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.
|
2897
|
+
attr_accessor :amount_type
|
2898
|
+
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
2899
|
+
attr_accessor :end_date
|
2900
|
+
# The periodicity at which payments will be collected.
|
2901
|
+
attr_accessor :payment_schedule
|
2902
|
+
# 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.
|
2903
|
+
attr_accessor :payments_per_period
|
2904
|
+
# The purpose for which payments are made. Defaults to retail.
|
2905
|
+
attr_accessor :purpose
|
2906
|
+
|
2907
|
+
def initialize(
|
2908
|
+
amount: nil,
|
2909
|
+
amount_type: nil,
|
2910
|
+
end_date: nil,
|
2911
|
+
payment_schedule: nil,
|
2912
|
+
payments_per_period: nil,
|
2913
|
+
purpose: nil
|
2914
|
+
)
|
2915
|
+
@amount = amount
|
2916
|
+
@amount_type = amount_type
|
2917
|
+
@end_date = end_date
|
2918
|
+
@payment_schedule = payment_schedule
|
2919
|
+
@payments_per_period = payments_per_period
|
2920
|
+
@purpose = purpose
|
2921
|
+
end
|
2922
|
+
end
|
2923
|
+
# 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`
|
2924
|
+
attr_accessor :mandate_options
|
2925
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2926
|
+
#
|
2927
|
+
# 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.
|
2928
|
+
#
|
2929
|
+
# 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.
|
2930
|
+
#
|
2931
|
+
# 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).
|
2932
|
+
#
|
2933
|
+
# 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`.
|
2934
|
+
attr_accessor :setup_future_usage
|
2935
|
+
|
2936
|
+
def initialize(mandate_options: nil, setup_future_usage: nil)
|
2937
|
+
@mandate_options = mandate_options
|
2938
|
+
@setup_future_usage = setup_future_usage
|
2939
|
+
end
|
2940
|
+
end
|
2941
|
+
|
2942
|
+
class Pix < ::Stripe::RequestParams
|
2943
|
+
class MandateOptions < ::Stripe::RequestParams
|
2944
|
+
# Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
|
2945
|
+
attr_accessor :amount
|
2946
|
+
# Determines if the amount includes the IOF tax. Defaults to `never`.
|
2947
|
+
attr_accessor :amount_includes_iof
|
2948
|
+
# Type of amount. Defaults to `maximum`.
|
2949
|
+
attr_accessor :amount_type
|
2950
|
+
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
|
2951
|
+
attr_accessor :currency
|
2952
|
+
# 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.
|
2953
|
+
attr_accessor :end_date
|
2954
|
+
# Schedule at which the future payments will be charged. Defaults to `weekly`.
|
2955
|
+
attr_accessor :payment_schedule
|
2956
|
+
# Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
|
2957
|
+
attr_accessor :reference
|
2958
|
+
# 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.
|
2959
|
+
attr_accessor :start_date
|
2960
|
+
|
2961
|
+
def initialize(
|
2962
|
+
amount: nil,
|
2963
|
+
amount_includes_iof: nil,
|
2964
|
+
amount_type: nil,
|
2965
|
+
currency: nil,
|
2966
|
+
end_date: nil,
|
2967
|
+
payment_schedule: nil,
|
2968
|
+
reference: nil,
|
2969
|
+
start_date: nil
|
2970
|
+
)
|
2971
|
+
@amount = amount
|
2972
|
+
@amount_includes_iof = amount_includes_iof
|
2973
|
+
@amount_type = amount_type
|
2974
|
+
@currency = currency
|
2975
|
+
@end_date = end_date
|
2976
|
+
@payment_schedule = payment_schedule
|
2977
|
+
@reference = reference
|
2978
|
+
@start_date = start_date
|
2979
|
+
end
|
2980
|
+
end
|
1724
2981
|
# Determines if the amount includes the IOF tax. Defaults to `never`.
|
1725
2982
|
attr_accessor :amount_includes_iof
|
1726
2983
|
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
|
1727
2984
|
attr_accessor :expires_after_seconds
|
1728
2985
|
# The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.
|
1729
2986
|
attr_accessor :expires_at
|
2987
|
+
# Additional fields for mandate creation. Only applicable when `setup_future_usage=off_session`.
|
2988
|
+
attr_accessor :mandate_options
|
1730
2989
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1731
2990
|
#
|
1732
2991
|
# 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.
|
@@ -1742,16 +3001,35 @@ module Stripe
|
|
1742
3001
|
amount_includes_iof: nil,
|
1743
3002
|
expires_after_seconds: nil,
|
1744
3003
|
expires_at: nil,
|
3004
|
+
mandate_options: nil,
|
1745
3005
|
setup_future_usage: nil
|
1746
3006
|
)
|
1747
3007
|
@amount_includes_iof = amount_includes_iof
|
1748
3008
|
@expires_after_seconds = expires_after_seconds
|
1749
3009
|
@expires_at = expires_at
|
3010
|
+
@mandate_options = mandate_options
|
3011
|
+
@setup_future_usage = setup_future_usage
|
3012
|
+
end
|
3013
|
+
end
|
3014
|
+
|
3015
|
+
class Promptpay < ::Stripe::RequestParams
|
3016
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
3017
|
+
#
|
3018
|
+
# 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.
|
3019
|
+
#
|
3020
|
+
# 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.
|
3021
|
+
#
|
3022
|
+
# 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).
|
3023
|
+
#
|
3024
|
+
# 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`.
|
3025
|
+
attr_accessor :setup_future_usage
|
3026
|
+
|
3027
|
+
def initialize(setup_future_usage: nil)
|
1750
3028
|
@setup_future_usage = setup_future_usage
|
1751
3029
|
end
|
1752
3030
|
end
|
1753
3031
|
|
1754
|
-
class
|
3032
|
+
class Qris < ::Stripe::RequestParams
|
1755
3033
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1756
3034
|
#
|
1757
3035
|
# 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.
|
@@ -1768,7 +3046,9 @@ module Stripe
|
|
1768
3046
|
end
|
1769
3047
|
end
|
1770
3048
|
|
1771
|
-
class
|
3049
|
+
class Rechnung < ::Stripe::RequestParams; end
|
3050
|
+
|
3051
|
+
class RevolutPay < ::Stripe::RequestParams
|
1772
3052
|
# Controls when the funds are captured from the customer's account.
|
1773
3053
|
#
|
1774
3054
|
# 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.
|
@@ -1790,7 +3070,7 @@ module Stripe
|
|
1790
3070
|
end
|
1791
3071
|
end
|
1792
3072
|
|
1793
|
-
class SamsungPay < Stripe::RequestParams
|
3073
|
+
class SamsungPay < ::Stripe::RequestParams
|
1794
3074
|
# Controls when the funds are captured from the customer's account.
|
1795
3075
|
#
|
1796
3076
|
# 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.
|
@@ -1803,7 +3083,7 @@ module Stripe
|
|
1803
3083
|
end
|
1804
3084
|
end
|
1805
3085
|
|
1806
|
-
class Satispay < Stripe::RequestParams
|
3086
|
+
class Satispay < ::Stripe::RequestParams
|
1807
3087
|
# Controls when the funds are captured from the customer's account.
|
1808
3088
|
#
|
1809
3089
|
# 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.
|
@@ -1816,8 +3096,8 @@ module Stripe
|
|
1816
3096
|
end
|
1817
3097
|
end
|
1818
3098
|
|
1819
|
-
class SepaDebit < Stripe::RequestParams
|
1820
|
-
class MandateOptions < Stripe::RequestParams
|
3099
|
+
class SepaDebit < ::Stripe::RequestParams
|
3100
|
+
class MandateOptions < ::Stripe::RequestParams
|
1821
3101
|
# 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'.
|
1822
3102
|
attr_accessor :reference_prefix
|
1823
3103
|
|
@@ -1847,7 +3127,24 @@ module Stripe
|
|
1847
3127
|
end
|
1848
3128
|
end
|
1849
3129
|
|
1850
|
-
class
|
3130
|
+
class Shopeepay < ::Stripe::RequestParams
|
3131
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
3132
|
+
#
|
3133
|
+
# 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.
|
3134
|
+
#
|
3135
|
+
# 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.
|
3136
|
+
#
|
3137
|
+
# 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).
|
3138
|
+
#
|
3139
|
+
# 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`.
|
3140
|
+
attr_accessor :setup_future_usage
|
3141
|
+
|
3142
|
+
def initialize(setup_future_usage: nil)
|
3143
|
+
@setup_future_usage = setup_future_usage
|
3144
|
+
end
|
3145
|
+
end
|
3146
|
+
|
3147
|
+
class Sofort < ::Stripe::RequestParams
|
1851
3148
|
# Language shown to the payer on redirect.
|
1852
3149
|
attr_accessor :preferred_language
|
1853
3150
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
@@ -1867,7 +3164,24 @@ module Stripe
|
|
1867
3164
|
end
|
1868
3165
|
end
|
1869
3166
|
|
1870
|
-
class
|
3167
|
+
class StripeBalance < ::Stripe::RequestParams
|
3168
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
3169
|
+
#
|
3170
|
+
# 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.
|
3171
|
+
#
|
3172
|
+
# 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.
|
3173
|
+
#
|
3174
|
+
# 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).
|
3175
|
+
#
|
3176
|
+
# 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`.
|
3177
|
+
attr_accessor :setup_future_usage
|
3178
|
+
|
3179
|
+
def initialize(setup_future_usage: nil)
|
3180
|
+
@setup_future_usage = setup_future_usage
|
3181
|
+
end
|
3182
|
+
end
|
3183
|
+
|
3184
|
+
class Swish < ::Stripe::RequestParams
|
1871
3185
|
# A reference for this payment to be displayed in the Swish app.
|
1872
3186
|
attr_accessor :reference
|
1873
3187
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
@@ -1887,7 +3201,7 @@ module Stripe
|
|
1887
3201
|
end
|
1888
3202
|
end
|
1889
3203
|
|
1890
|
-
class Twint < Stripe::RequestParams
|
3204
|
+
class Twint < ::Stripe::RequestParams
|
1891
3205
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1892
3206
|
#
|
1893
3207
|
# 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.
|
@@ -1904,18 +3218,32 @@ module Stripe
|
|
1904
3218
|
end
|
1905
3219
|
end
|
1906
3220
|
|
1907
|
-
class UsBankAccount < Stripe::RequestParams
|
1908
|
-
class FinancialConnections < Stripe::RequestParams
|
1909
|
-
class Filters < Stripe::RequestParams
|
3221
|
+
class UsBankAccount < ::Stripe::RequestParams
|
3222
|
+
class FinancialConnections < ::Stripe::RequestParams
|
3223
|
+
class Filters < ::Stripe::RequestParams
|
1910
3224
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
1911
3225
|
attr_accessor :account_subcategories
|
3226
|
+
# ID of the institution to use to filter for selectable accounts.
|
3227
|
+
attr_accessor :institution
|
1912
3228
|
|
1913
|
-
def initialize(account_subcategories: nil)
|
3229
|
+
def initialize(account_subcategories: nil, institution: nil)
|
1914
3230
|
@account_subcategories = account_subcategories
|
3231
|
+
@institution = institution
|
3232
|
+
end
|
3233
|
+
end
|
3234
|
+
|
3235
|
+
class ManualEntry < ::Stripe::RequestParams
|
3236
|
+
# Settings for configuring manual entry of account details.
|
3237
|
+
attr_accessor :mode
|
3238
|
+
|
3239
|
+
def initialize(mode: nil)
|
3240
|
+
@mode = mode
|
1915
3241
|
end
|
1916
3242
|
end
|
1917
3243
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
1918
3244
|
attr_accessor :filters
|
3245
|
+
# Customize manual entry behavior
|
3246
|
+
attr_accessor :manual_entry
|
1919
3247
|
# 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`.
|
1920
3248
|
attr_accessor :permissions
|
1921
3249
|
# List of data features that you would like to retrieve upon account creation.
|
@@ -1923,15 +3251,22 @@ module Stripe
|
|
1923
3251
|
# 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.
|
1924
3252
|
attr_accessor :return_url
|
1925
3253
|
|
1926
|
-
def initialize(
|
3254
|
+
def initialize(
|
3255
|
+
filters: nil,
|
3256
|
+
manual_entry: nil,
|
3257
|
+
permissions: nil,
|
3258
|
+
prefetch: nil,
|
3259
|
+
return_url: nil
|
3260
|
+
)
|
1927
3261
|
@filters = filters
|
3262
|
+
@manual_entry = manual_entry
|
1928
3263
|
@permissions = permissions
|
1929
3264
|
@prefetch = prefetch
|
1930
3265
|
@return_url = return_url
|
1931
3266
|
end
|
1932
3267
|
end
|
1933
3268
|
|
1934
|
-
class MandateOptions < Stripe::RequestParams
|
3269
|
+
class MandateOptions < ::Stripe::RequestParams
|
1935
3270
|
# The method used to collect offline mandate customer acceptance.
|
1936
3271
|
attr_accessor :collection_method
|
1937
3272
|
|
@@ -1940,7 +3275,7 @@ module Stripe
|
|
1940
3275
|
end
|
1941
3276
|
end
|
1942
3277
|
|
1943
|
-
class Networks < Stripe::RequestParams
|
3278
|
+
class Networks < ::Stripe::RequestParams
|
1944
3279
|
# Triggers validations to run across the selected networks
|
1945
3280
|
attr_accessor :requested
|
1946
3281
|
|
@@ -1990,7 +3325,7 @@ module Stripe
|
|
1990
3325
|
end
|
1991
3326
|
end
|
1992
3327
|
|
1993
|
-
class WechatPay < Stripe::RequestParams
|
3328
|
+
class WechatPay < ::Stripe::RequestParams
|
1994
3329
|
# The app ID registered with WeChat Pay. Only required when client is ios or android.
|
1995
3330
|
attr_accessor :app_id
|
1996
3331
|
# The client type that the end customer will pay from
|
@@ -2013,7 +3348,7 @@ module Stripe
|
|
2013
3348
|
end
|
2014
3349
|
end
|
2015
3350
|
|
2016
|
-
class Zip < Stripe::RequestParams
|
3351
|
+
class Zip < ::Stripe::RequestParams
|
2017
3352
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2018
3353
|
#
|
2019
3354
|
# 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.
|
@@ -2069,8 +3404,12 @@ module Stripe
|
|
2069
3404
|
attr_accessor :fpx
|
2070
3405
|
# If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.
|
2071
3406
|
attr_accessor :giropay
|
3407
|
+
# If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options.
|
3408
|
+
attr_accessor :gopay
|
2072
3409
|
# If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
|
2073
3410
|
attr_accessor :grabpay
|
3411
|
+
# If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options.
|
3412
|
+
attr_accessor :id_bank_transfer
|
2074
3413
|
# If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
|
2075
3414
|
attr_accessor :ideal
|
2076
3415
|
# If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
|
@@ -2107,10 +3446,18 @@ module Stripe
|
|
2107
3446
|
attr_accessor :paynow
|
2108
3447
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
2109
3448
|
attr_accessor :paypal
|
3449
|
+
# If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options.
|
3450
|
+
attr_accessor :paypay
|
3451
|
+
# If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options.
|
3452
|
+
attr_accessor :payto
|
2110
3453
|
# If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options.
|
2111
3454
|
attr_accessor :pix
|
2112
3455
|
# If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options.
|
2113
3456
|
attr_accessor :promptpay
|
3457
|
+
# If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options.
|
3458
|
+
attr_accessor :qris
|
3459
|
+
# If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options.
|
3460
|
+
attr_accessor :rechnung
|
2114
3461
|
# If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
|
2115
3462
|
attr_accessor :revolut_pay
|
2116
3463
|
# If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.
|
@@ -2119,8 +3466,12 @@ module Stripe
|
|
2119
3466
|
attr_accessor :satispay
|
2120
3467
|
# If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
2121
3468
|
attr_accessor :sepa_debit
|
3469
|
+
# If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options.
|
3470
|
+
attr_accessor :shopeepay
|
2122
3471
|
# If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
|
2123
3472
|
attr_accessor :sofort
|
3473
|
+
# If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options.
|
3474
|
+
attr_accessor :stripe_balance
|
2124
3475
|
# If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options.
|
2125
3476
|
attr_accessor :swish
|
2126
3477
|
# If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options.
|
@@ -2153,7 +3504,9 @@ module Stripe
|
|
2153
3504
|
eps: nil,
|
2154
3505
|
fpx: nil,
|
2155
3506
|
giropay: nil,
|
3507
|
+
gopay: nil,
|
2156
3508
|
grabpay: nil,
|
3509
|
+
id_bank_transfer: nil,
|
2157
3510
|
ideal: nil,
|
2158
3511
|
interac_present: nil,
|
2159
3512
|
kakao_pay: nil,
|
@@ -2172,13 +3525,19 @@ module Stripe
|
|
2172
3525
|
payco: nil,
|
2173
3526
|
paynow: nil,
|
2174
3527
|
paypal: nil,
|
3528
|
+
paypay: nil,
|
3529
|
+
payto: nil,
|
2175
3530
|
pix: nil,
|
2176
3531
|
promptpay: nil,
|
3532
|
+
qris: nil,
|
3533
|
+
rechnung: nil,
|
2177
3534
|
revolut_pay: nil,
|
2178
3535
|
samsung_pay: nil,
|
2179
3536
|
satispay: nil,
|
2180
3537
|
sepa_debit: nil,
|
3538
|
+
shopeepay: nil,
|
2181
3539
|
sofort: nil,
|
3540
|
+
stripe_balance: nil,
|
2182
3541
|
swish: nil,
|
2183
3542
|
twint: nil,
|
2184
3543
|
us_bank_account: nil,
|
@@ -2205,7 +3564,9 @@ module Stripe
|
|
2205
3564
|
@eps = eps
|
2206
3565
|
@fpx = fpx
|
2207
3566
|
@giropay = giropay
|
3567
|
+
@gopay = gopay
|
2208
3568
|
@grabpay = grabpay
|
3569
|
+
@id_bank_transfer = id_bank_transfer
|
2209
3570
|
@ideal = ideal
|
2210
3571
|
@interac_present = interac_present
|
2211
3572
|
@kakao_pay = kakao_pay
|
@@ -2224,13 +3585,19 @@ module Stripe
|
|
2224
3585
|
@payco = payco
|
2225
3586
|
@paynow = paynow
|
2226
3587
|
@paypal = paypal
|
3588
|
+
@paypay = paypay
|
3589
|
+
@payto = payto
|
2227
3590
|
@pix = pix
|
2228
3591
|
@promptpay = promptpay
|
3592
|
+
@qris = qris
|
3593
|
+
@rechnung = rechnung
|
2229
3594
|
@revolut_pay = revolut_pay
|
2230
3595
|
@samsung_pay = samsung_pay
|
2231
3596
|
@satispay = satispay
|
2232
3597
|
@sepa_debit = sepa_debit
|
3598
|
+
@shopeepay = shopeepay
|
2233
3599
|
@sofort = sofort
|
3600
|
+
@stripe_balance = stripe_balance
|
2234
3601
|
@swish = swish
|
2235
3602
|
@twint = twint
|
2236
3603
|
@us_bank_account = us_bank_account
|
@@ -2239,7 +3606,7 @@ module Stripe
|
|
2239
3606
|
end
|
2240
3607
|
end
|
2241
3608
|
|
2242
|
-
class RadarOptions < Stripe::RequestParams
|
3609
|
+
class RadarOptions < ::Stripe::RequestParams
|
2243
3610
|
# 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.
|
2244
3611
|
attr_accessor :session
|
2245
3612
|
|
@@ -2248,8 +3615,8 @@ module Stripe
|
|
2248
3615
|
end
|
2249
3616
|
end
|
2250
3617
|
|
2251
|
-
class Shipping < Stripe::RequestParams
|
2252
|
-
class Address < Stripe::RequestParams
|
3618
|
+
class Shipping < ::Stripe::RequestParams
|
3619
|
+
class Address < ::Stripe::RequestParams
|
2253
3620
|
# City, district, suburb, town, or village.
|
2254
3621
|
attr_accessor :city
|
2255
3622
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
@@ -2299,7 +3666,7 @@ module Stripe
|
|
2299
3666
|
end
|
2300
3667
|
end
|
2301
3668
|
|
2302
|
-
class TransferData < Stripe::RequestParams
|
3669
|
+
class TransferData < ::Stripe::RequestParams
|
2303
3670
|
# The amount that will be transferred automatically when a charge succeeds.
|
2304
3671
|
# The amount is capped at the total transaction amount and if no amount is set,
|
2305
3672
|
# the full amount is transferred.
|
@@ -2321,6 +3688,8 @@ module Stripe
|
|
2321
3688
|
end
|
2322
3689
|
# Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
|
2323
3690
|
attr_accessor :amount
|
3691
|
+
# Provides industry-specific information about the amount.
|
3692
|
+
attr_accessor :amount_details
|
2324
3693
|
# 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).
|
2325
3694
|
attr_accessor :application_fee_amount
|
2326
3695
|
# When you enable this parameter, this PaymentIntent accepts payment methods that you enable in the Dashboard and that are compatible with this PaymentIntent's other parameters.
|
@@ -2343,6 +3712,12 @@ module Stripe
|
|
2343
3712
|
#
|
2344
3713
|
# If [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.
|
2345
3714
|
attr_accessor :customer
|
3715
|
+
# ID of the Account this PaymentIntent belongs to, if one exists.
|
3716
|
+
#
|
3717
|
+
# Payment methods attached to other Accounts cannot be used with this PaymentIntent.
|
3718
|
+
#
|
3719
|
+
# If [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Account after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Account instead.
|
3720
|
+
attr_accessor :customer_account
|
2346
3721
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
2347
3722
|
attr_accessor :description
|
2348
3723
|
# Set to `true` to fail the payment attempt if the PaymentIntent transitions into `requires_action`. Use this parameter for simpler integrations that don't handle customer actions, such as [saving cards without authentication](https://stripe.com/docs/payments/save-card-without-authentication). This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm).
|
@@ -2351,6 +3726,10 @@ module Stripe
|
|
2351
3726
|
attr_accessor :excluded_payment_method_types
|
2352
3727
|
# Specifies which fields in the response should be expanded.
|
2353
3728
|
attr_accessor :expand
|
3729
|
+
# The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount.
|
3730
|
+
attr_accessor :fx_quote
|
3731
|
+
# Automations to be run during the PaymentIntent lifecycle
|
3732
|
+
attr_accessor :hooks
|
2354
3733
|
# ID of the mandate that's used for this payment. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm).
|
2355
3734
|
attr_accessor :mandate
|
2356
3735
|
# This hash contains details about the Mandate to create. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm).
|
@@ -2361,6 +3740,8 @@ module Stripe
|
|
2361
3740
|
attr_accessor :off_session
|
2362
3741
|
# The Stripe account ID that these funds are intended for. Learn more about the [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).
|
2363
3742
|
attr_accessor :on_behalf_of
|
3743
|
+
# Provides industry-specific information about the charge.
|
3744
|
+
attr_accessor :payment_details
|
2364
3745
|
# ID of the payment method (a PaymentMethod, Card, or [compatible Source](https://stripe.com/docs/payments/payment-methods#compatibility) object) to attach to this PaymentIntent.
|
2365
3746
|
#
|
2366
3747
|
# If you don't provide the `payment_method` parameter or the `source` parameter with `confirm=true`, `source` automatically populates with `customer.default_source` to improve migration for users of the Charges API. We recommend that you explicitly provide the `payment_method` moving forward.
|
@@ -2383,6 +3764,8 @@ module Stripe
|
|
2383
3764
|
attr_accessor :receipt_email
|
2384
3765
|
# The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm).
|
2385
3766
|
attr_accessor :return_url
|
3767
|
+
# Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`.
|
3768
|
+
attr_accessor :secret_key_confirmation
|
2386
3769
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2387
3770
|
#
|
2388
3771
|
# 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.
|
@@ -2409,6 +3792,7 @@ module Stripe
|
|
2409
3792
|
|
2410
3793
|
def initialize(
|
2411
3794
|
amount: nil,
|
3795
|
+
amount_details: nil,
|
2412
3796
|
application_fee_amount: nil,
|
2413
3797
|
automatic_payment_methods: nil,
|
2414
3798
|
capture_method: nil,
|
@@ -2417,15 +3801,19 @@ module Stripe
|
|
2417
3801
|
confirmation_token: nil,
|
2418
3802
|
currency: nil,
|
2419
3803
|
customer: nil,
|
3804
|
+
customer_account: nil,
|
2420
3805
|
description: nil,
|
2421
3806
|
error_on_requires_action: nil,
|
2422
3807
|
excluded_payment_method_types: nil,
|
2423
3808
|
expand: nil,
|
3809
|
+
fx_quote: nil,
|
3810
|
+
hooks: nil,
|
2424
3811
|
mandate: nil,
|
2425
3812
|
mandate_data: nil,
|
2426
3813
|
metadata: nil,
|
2427
3814
|
off_session: nil,
|
2428
3815
|
on_behalf_of: nil,
|
3816
|
+
payment_details: nil,
|
2429
3817
|
payment_method: nil,
|
2430
3818
|
payment_method_configuration: nil,
|
2431
3819
|
payment_method_data: nil,
|
@@ -2434,6 +3822,7 @@ module Stripe
|
|
2434
3822
|
radar_options: nil,
|
2435
3823
|
receipt_email: nil,
|
2436
3824
|
return_url: nil,
|
3825
|
+
secret_key_confirmation: nil,
|
2437
3826
|
setup_future_usage: nil,
|
2438
3827
|
shipping: nil,
|
2439
3828
|
statement_descriptor: nil,
|
@@ -2443,6 +3832,7 @@ module Stripe
|
|
2443
3832
|
use_stripe_sdk: nil
|
2444
3833
|
)
|
2445
3834
|
@amount = amount
|
3835
|
+
@amount_details = amount_details
|
2446
3836
|
@application_fee_amount = application_fee_amount
|
2447
3837
|
@automatic_payment_methods = automatic_payment_methods
|
2448
3838
|
@capture_method = capture_method
|
@@ -2451,15 +3841,19 @@ module Stripe
|
|
2451
3841
|
@confirmation_token = confirmation_token
|
2452
3842
|
@currency = currency
|
2453
3843
|
@customer = customer
|
3844
|
+
@customer_account = customer_account
|
2454
3845
|
@description = description
|
2455
3846
|
@error_on_requires_action = error_on_requires_action
|
2456
3847
|
@excluded_payment_method_types = excluded_payment_method_types
|
2457
3848
|
@expand = expand
|
3849
|
+
@fx_quote = fx_quote
|
3850
|
+
@hooks = hooks
|
2458
3851
|
@mandate = mandate
|
2459
3852
|
@mandate_data = mandate_data
|
2460
3853
|
@metadata = metadata
|
2461
3854
|
@off_session = off_session
|
2462
3855
|
@on_behalf_of = on_behalf_of
|
3856
|
+
@payment_details = payment_details
|
2463
3857
|
@payment_method = payment_method
|
2464
3858
|
@payment_method_configuration = payment_method_configuration
|
2465
3859
|
@payment_method_data = payment_method_data
|
@@ -2468,6 +3862,7 @@ module Stripe
|
|
2468
3862
|
@radar_options = radar_options
|
2469
3863
|
@receipt_email = receipt_email
|
2470
3864
|
@return_url = return_url
|
3865
|
+
@secret_key_confirmation = secret_key_confirmation
|
2471
3866
|
@setup_future_usage = setup_future_usage
|
2472
3867
|
@shipping = shipping
|
2473
3868
|
@statement_descriptor = statement_descriptor
|