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
@@ -16,6 +16,7 @@ module Stripe
|
|
16
16
|
class PaymentIntent < APIResource
|
17
17
|
extend Stripe::APIOperations::Create
|
18
18
|
extend Stripe::APIOperations::List
|
19
|
+
extend Stripe::APIOperations::NestedResource
|
19
20
|
extend Stripe::APIOperations::Search
|
20
21
|
include Stripe::APIOperations::Save
|
21
22
|
|
@@ -24,8 +25,40 @@ module Stripe
|
|
24
25
|
"payment_intent"
|
25
26
|
end
|
26
27
|
|
27
|
-
|
28
|
-
|
28
|
+
nested_resource_class_methods :amount_details_line_item, operations: %i[list]
|
29
|
+
|
30
|
+
class AmountDetails < ::Stripe::StripeObject
|
31
|
+
class Shipping < ::Stripe::StripeObject
|
32
|
+
# Portion of the amount that is for shipping.
|
33
|
+
attr_reader :amount
|
34
|
+
# The postal code that represents the shipping source.
|
35
|
+
attr_reader :from_postal_code
|
36
|
+
# The postal code that represents the shipping destination.
|
37
|
+
attr_reader :to_postal_code
|
38
|
+
|
39
|
+
def self.inner_class_types
|
40
|
+
@inner_class_types = {}
|
41
|
+
end
|
42
|
+
|
43
|
+
def self.field_remappings
|
44
|
+
@field_remappings = {}
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
class Tax < ::Stripe::StripeObject
|
49
|
+
# Total portion of the amount that is for tax.
|
50
|
+
attr_reader :total_tax_amount
|
51
|
+
|
52
|
+
def self.inner_class_types
|
53
|
+
@inner_class_types = {}
|
54
|
+
end
|
55
|
+
|
56
|
+
def self.field_remappings
|
57
|
+
@field_remappings = {}
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
class Tip < ::Stripe::StripeObject
|
29
62
|
# Portion of the amount that corresponds to a tip.
|
30
63
|
attr_reader :amount
|
31
64
|
|
@@ -37,11 +70,19 @@ module Stripe
|
|
37
70
|
@field_remappings = {}
|
38
71
|
end
|
39
72
|
end
|
73
|
+
# The total discount applied on the transaction.
|
74
|
+
attr_reader :discount_amount
|
75
|
+
# A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items.
|
76
|
+
attr_reader :line_items
|
77
|
+
# Attribute for field shipping
|
78
|
+
attr_reader :shipping
|
79
|
+
# Attribute for field tax
|
80
|
+
attr_reader :tax
|
40
81
|
# Attribute for field tip
|
41
82
|
attr_reader :tip
|
42
83
|
|
43
84
|
def self.inner_class_types
|
44
|
-
@inner_class_types = { tip: Tip }
|
85
|
+
@inner_class_types = { shipping: Shipping, tax: Tax, tip: Tip }
|
45
86
|
end
|
46
87
|
|
47
88
|
def self.field_remappings
|
@@ -49,7 +90,7 @@ module Stripe
|
|
49
90
|
end
|
50
91
|
end
|
51
92
|
|
52
|
-
class AutomaticPaymentMethods < Stripe::StripeObject
|
93
|
+
class AutomaticPaymentMethods < ::Stripe::StripeObject
|
53
94
|
# Controls whether this PaymentIntent will accept redirect-based payment methods.
|
54
95
|
#
|
55
96
|
# 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.
|
@@ -66,7 +107,44 @@ module Stripe
|
|
66
107
|
end
|
67
108
|
end
|
68
109
|
|
69
|
-
class
|
110
|
+
class Hooks < ::Stripe::StripeObject
|
111
|
+
class Inputs < ::Stripe::StripeObject
|
112
|
+
class Tax < ::Stripe::StripeObject
|
113
|
+
# The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id
|
114
|
+
attr_reader :calculation
|
115
|
+
|
116
|
+
def self.inner_class_types
|
117
|
+
@inner_class_types = {}
|
118
|
+
end
|
119
|
+
|
120
|
+
def self.field_remappings
|
121
|
+
@field_remappings = {}
|
122
|
+
end
|
123
|
+
end
|
124
|
+
# Attribute for field tax
|
125
|
+
attr_reader :tax
|
126
|
+
|
127
|
+
def self.inner_class_types
|
128
|
+
@inner_class_types = { tax: Tax }
|
129
|
+
end
|
130
|
+
|
131
|
+
def self.field_remappings
|
132
|
+
@field_remappings = {}
|
133
|
+
end
|
134
|
+
end
|
135
|
+
# Attribute for field inputs
|
136
|
+
attr_reader :inputs
|
137
|
+
|
138
|
+
def self.inner_class_types
|
139
|
+
@inner_class_types = { inputs: Inputs }
|
140
|
+
end
|
141
|
+
|
142
|
+
def self.field_remappings
|
143
|
+
@field_remappings = {}
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
147
|
+
class LastPaymentError < ::Stripe::StripeObject
|
70
148
|
# For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines) if they provide one.
|
71
149
|
attr_reader :advice_code
|
72
150
|
# For card errors, the ID of the failed charge.
|
@@ -143,8 +221,8 @@ module Stripe
|
|
143
221
|
end
|
144
222
|
end
|
145
223
|
|
146
|
-
class NextAction < Stripe::StripeObject
|
147
|
-
class AlipayHandleRedirect < Stripe::StripeObject
|
224
|
+
class NextAction < ::Stripe::StripeObject
|
225
|
+
class AlipayHandleRedirect < ::Stripe::StripeObject
|
148
226
|
# The native data to be used with Alipay SDK you must redirect your customer to in order to authenticate the payment in an Android App.
|
149
227
|
attr_reader :native_data
|
150
228
|
# The native URL you must redirect your customer to in order to authenticate the payment in an iOS App.
|
@@ -163,7 +241,7 @@ module Stripe
|
|
163
241
|
end
|
164
242
|
end
|
165
243
|
|
166
|
-
class BoletoDisplayDetails < Stripe::StripeObject
|
244
|
+
class BoletoDisplayDetails < ::Stripe::StripeObject
|
167
245
|
# The timestamp after which the boleto expires.
|
168
246
|
attr_reader :expires_at
|
169
247
|
# The URL to the hosted boleto voucher page, which allows customers to view the boleto voucher.
|
@@ -182,7 +260,7 @@ module Stripe
|
|
182
260
|
end
|
183
261
|
end
|
184
262
|
|
185
|
-
class CardAwaitNotification < Stripe::StripeObject
|
263
|
+
class CardAwaitNotification < ::Stripe::StripeObject
|
186
264
|
# The time that payment will be attempted. If customer approval is required, they need to provide approval before this time.
|
187
265
|
attr_reader :charge_attempt_at
|
188
266
|
# For payments greater than INR 15000, the customer must provide explicit approval of the payment with their bank. For payments of lower amount, no customer action is required.
|
@@ -197,8 +275,8 @@ module Stripe
|
|
197
275
|
end
|
198
276
|
end
|
199
277
|
|
200
|
-
class CashappHandleRedirectOrDisplayQrCode < Stripe::StripeObject
|
201
|
-
class QrCode < Stripe::StripeObject
|
278
|
+
class CashappHandleRedirectOrDisplayQrCode < ::Stripe::StripeObject
|
279
|
+
class QrCode < ::Stripe::StripeObject
|
202
280
|
# The date (unix timestamp) when the QR code expires.
|
203
281
|
attr_reader :expires_at
|
204
282
|
# The image_url_png string used to render QR code
|
@@ -230,10 +308,10 @@ module Stripe
|
|
230
308
|
end
|
231
309
|
end
|
232
310
|
|
233
|
-
class DisplayBankTransferInstructions < Stripe::StripeObject
|
234
|
-
class FinancialAddress < Stripe::StripeObject
|
235
|
-
class Aba < Stripe::StripeObject
|
236
|
-
class AccountHolderAddress < Stripe::StripeObject
|
311
|
+
class DisplayBankTransferInstructions < ::Stripe::StripeObject
|
312
|
+
class FinancialAddress < ::Stripe::StripeObject
|
313
|
+
class Aba < ::Stripe::StripeObject
|
314
|
+
class AccountHolderAddress < ::Stripe::StripeObject
|
237
315
|
# City, district, suburb, town, or village.
|
238
316
|
attr_reader :city
|
239
317
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
@@ -256,7 +334,7 @@ module Stripe
|
|
256
334
|
end
|
257
335
|
end
|
258
336
|
|
259
|
-
class BankAddress < Stripe::StripeObject
|
337
|
+
class BankAddress < ::Stripe::StripeObject
|
260
338
|
# City, district, suburb, town, or village.
|
261
339
|
attr_reader :city
|
262
340
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
@@ -305,8 +383,8 @@ module Stripe
|
|
305
383
|
end
|
306
384
|
end
|
307
385
|
|
308
|
-
class Iban < Stripe::StripeObject
|
309
|
-
class AccountHolderAddress < Stripe::StripeObject
|
386
|
+
class Iban < ::Stripe::StripeObject
|
387
|
+
class AccountHolderAddress < ::Stripe::StripeObject
|
310
388
|
# City, district, suburb, town, or village.
|
311
389
|
attr_reader :city
|
312
390
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
@@ -329,7 +407,7 @@ module Stripe
|
|
329
407
|
end
|
330
408
|
end
|
331
409
|
|
332
|
-
class BankAddress < Stripe::StripeObject
|
410
|
+
class BankAddress < ::Stripe::StripeObject
|
333
411
|
# City, district, suburb, town, or village.
|
334
412
|
attr_reader :city
|
335
413
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
@@ -376,8 +454,8 @@ module Stripe
|
|
376
454
|
end
|
377
455
|
end
|
378
456
|
|
379
|
-
class SortCode < Stripe::StripeObject
|
380
|
-
class AccountHolderAddress < Stripe::StripeObject
|
457
|
+
class SortCode < ::Stripe::StripeObject
|
458
|
+
class AccountHolderAddress < ::Stripe::StripeObject
|
381
459
|
# City, district, suburb, town, or village.
|
382
460
|
attr_reader :city
|
383
461
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
@@ -400,7 +478,7 @@ module Stripe
|
|
400
478
|
end
|
401
479
|
end
|
402
480
|
|
403
|
-
class BankAddress < Stripe::StripeObject
|
481
|
+
class BankAddress < ::Stripe::StripeObject
|
404
482
|
# City, district, suburb, town, or village.
|
405
483
|
attr_reader :city
|
406
484
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
@@ -445,8 +523,8 @@ module Stripe
|
|
445
523
|
end
|
446
524
|
end
|
447
525
|
|
448
|
-
class Spei < Stripe::StripeObject
|
449
|
-
class AccountHolderAddress < Stripe::StripeObject
|
526
|
+
class Spei < ::Stripe::StripeObject
|
527
|
+
class AccountHolderAddress < ::Stripe::StripeObject
|
450
528
|
# City, district, suburb, town, or village.
|
451
529
|
attr_reader :city
|
452
530
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
@@ -469,7 +547,7 @@ module Stripe
|
|
469
547
|
end
|
470
548
|
end
|
471
549
|
|
472
|
-
class BankAddress < Stripe::StripeObject
|
550
|
+
class BankAddress < ::Stripe::StripeObject
|
473
551
|
# City, district, suburb, town, or village.
|
474
552
|
attr_reader :city
|
475
553
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
@@ -516,8 +594,8 @@ module Stripe
|
|
516
594
|
end
|
517
595
|
end
|
518
596
|
|
519
|
-
class Swift < Stripe::StripeObject
|
520
|
-
class AccountHolderAddress < Stripe::StripeObject
|
597
|
+
class Swift < ::Stripe::StripeObject
|
598
|
+
class AccountHolderAddress < ::Stripe::StripeObject
|
521
599
|
# City, district, suburb, town, or village.
|
522
600
|
attr_reader :city
|
523
601
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
@@ -540,7 +618,7 @@ module Stripe
|
|
540
618
|
end
|
541
619
|
end
|
542
620
|
|
543
|
-
class BankAddress < Stripe::StripeObject
|
621
|
+
class BankAddress < ::Stripe::StripeObject
|
544
622
|
# City, district, suburb, town, or village.
|
545
623
|
attr_reader :city
|
546
624
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
@@ -589,8 +667,8 @@ module Stripe
|
|
589
667
|
end
|
590
668
|
end
|
591
669
|
|
592
|
-
class Zengin < Stripe::StripeObject
|
593
|
-
class AccountHolderAddress < Stripe::StripeObject
|
670
|
+
class Zengin < ::Stripe::StripeObject
|
671
|
+
class AccountHolderAddress < ::Stripe::StripeObject
|
594
672
|
# City, district, suburb, town, or village.
|
595
673
|
attr_reader :city
|
596
674
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
@@ -613,7 +691,7 @@ module Stripe
|
|
613
691
|
end
|
614
692
|
end
|
615
693
|
|
616
|
-
class BankAddress < Stripe::StripeObject
|
694
|
+
class BankAddress < ::Stripe::StripeObject
|
617
695
|
# City, district, suburb, town, or village.
|
618
696
|
attr_reader :city
|
619
697
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
@@ -719,9 +797,9 @@ module Stripe
|
|
719
797
|
end
|
720
798
|
end
|
721
799
|
|
722
|
-
class KonbiniDisplayDetails < Stripe::StripeObject
|
723
|
-
class Stores < Stripe::StripeObject
|
724
|
-
class Familymart < Stripe::StripeObject
|
800
|
+
class KonbiniDisplayDetails < ::Stripe::StripeObject
|
801
|
+
class Stores < ::Stripe::StripeObject
|
802
|
+
class Familymart < ::Stripe::StripeObject
|
725
803
|
# The confirmation number.
|
726
804
|
attr_reader :confirmation_number
|
727
805
|
# The payment code.
|
@@ -736,7 +814,7 @@ module Stripe
|
|
736
814
|
end
|
737
815
|
end
|
738
816
|
|
739
|
-
class Lawson < Stripe::StripeObject
|
817
|
+
class Lawson < ::Stripe::StripeObject
|
740
818
|
# The confirmation number.
|
741
819
|
attr_reader :confirmation_number
|
742
820
|
# The payment code.
|
@@ -751,7 +829,7 @@ module Stripe
|
|
751
829
|
end
|
752
830
|
end
|
753
831
|
|
754
|
-
class Ministop < Stripe::StripeObject
|
832
|
+
class Ministop < ::Stripe::StripeObject
|
755
833
|
# The confirmation number.
|
756
834
|
attr_reader :confirmation_number
|
757
835
|
# The payment code.
|
@@ -766,7 +844,7 @@ module Stripe
|
|
766
844
|
end
|
767
845
|
end
|
768
846
|
|
769
|
-
class Seicomart < Stripe::StripeObject
|
847
|
+
class Seicomart < ::Stripe::StripeObject
|
770
848
|
# The confirmation number.
|
771
849
|
attr_reader :confirmation_number
|
772
850
|
# The payment code.
|
@@ -818,7 +896,7 @@ module Stripe
|
|
818
896
|
end
|
819
897
|
end
|
820
898
|
|
821
|
-
class MultibancoDisplayDetails < Stripe::StripeObject
|
899
|
+
class MultibancoDisplayDetails < ::Stripe::StripeObject
|
822
900
|
# Entity number associated with this Multibanco payment.
|
823
901
|
attr_reader :entity
|
824
902
|
# The timestamp at which the Multibanco voucher expires.
|
@@ -837,7 +915,7 @@ module Stripe
|
|
837
915
|
end
|
838
916
|
end
|
839
917
|
|
840
|
-
class OxxoDisplayDetails < Stripe::StripeObject
|
918
|
+
class OxxoDisplayDetails < ::Stripe::StripeObject
|
841
919
|
# The timestamp after which the OXXO voucher expires.
|
842
920
|
attr_reader :expires_after
|
843
921
|
# The URL for the hosted OXXO voucher page, which allows customers to view and print an OXXO voucher.
|
@@ -854,7 +932,7 @@ module Stripe
|
|
854
932
|
end
|
855
933
|
end
|
856
934
|
|
857
|
-
class PaynowDisplayQrCode < Stripe::StripeObject
|
935
|
+
class PaynowDisplayQrCode < ::Stripe::StripeObject
|
858
936
|
# The raw data string used to generate QR code, it should be used together with QR code library.
|
859
937
|
attr_reader :data
|
860
938
|
# The URL to the hosted PayNow instructions page, which allows customers to view the PayNow QR code.
|
@@ -873,7 +951,7 @@ module Stripe
|
|
873
951
|
end
|
874
952
|
end
|
875
953
|
|
876
|
-
class PixDisplayQrCode < Stripe::StripeObject
|
954
|
+
class PixDisplayQrCode < ::Stripe::StripeObject
|
877
955
|
# The raw data string used to generate QR code, it should be used together with QR code library.
|
878
956
|
attr_reader :data
|
879
957
|
# The date (unix timestamp) when the PIX expires.
|
@@ -894,7 +972,7 @@ module Stripe
|
|
894
972
|
end
|
895
973
|
end
|
896
974
|
|
897
|
-
class PromptpayDisplayQrCode < Stripe::StripeObject
|
975
|
+
class PromptpayDisplayQrCode < ::Stripe::StripeObject
|
898
976
|
# The raw data string used to generate QR code, it should be used together with QR code library.
|
899
977
|
attr_reader :data
|
900
978
|
# The URL to the hosted PromptPay instructions page, which allows customers to view the PromptPay QR code.
|
@@ -913,7 +991,7 @@ module Stripe
|
|
913
991
|
end
|
914
992
|
end
|
915
993
|
|
916
|
-
class RedirectToUrl < Stripe::StripeObject
|
994
|
+
class RedirectToUrl < ::Stripe::StripeObject
|
917
995
|
# If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion.
|
918
996
|
attr_reader :return_url
|
919
997
|
# The URL you must redirect your customer to in order to authenticate the payment.
|
@@ -928,8 +1006,8 @@ module Stripe
|
|
928
1006
|
end
|
929
1007
|
end
|
930
1008
|
|
931
|
-
class SwishHandleRedirectOrDisplayQrCode < Stripe::StripeObject
|
932
|
-
class QrCode < Stripe::StripeObject
|
1009
|
+
class SwishHandleRedirectOrDisplayQrCode < ::Stripe::StripeObject
|
1010
|
+
class QrCode < ::Stripe::StripeObject
|
933
1011
|
# The raw data string used to generate QR code, it should be used together with QR code library.
|
934
1012
|
attr_reader :data
|
935
1013
|
# The image_url_png string used to render QR code
|
@@ -961,7 +1039,7 @@ module Stripe
|
|
961
1039
|
end
|
962
1040
|
end
|
963
1041
|
|
964
|
-
class VerifyWithMicrodeposits < Stripe::StripeObject
|
1042
|
+
class VerifyWithMicrodeposits < ::Stripe::StripeObject
|
965
1043
|
# The timestamp when the microdeposits are expected to land.
|
966
1044
|
attr_reader :arrival_date
|
967
1045
|
# The URL for the hosted verification page, which allows customers to verify their bank account.
|
@@ -978,7 +1056,7 @@ module Stripe
|
|
978
1056
|
end
|
979
1057
|
end
|
980
1058
|
|
981
|
-
class WechatPayDisplayQrCode < Stripe::StripeObject
|
1059
|
+
class WechatPayDisplayQrCode < ::Stripe::StripeObject
|
982
1060
|
# The data being used to generate QR code
|
983
1061
|
attr_reader :data
|
984
1062
|
# The URL to the hosted WeChat Pay instructions page, which allows customers to view the WeChat Pay QR code.
|
@@ -999,7 +1077,7 @@ module Stripe
|
|
999
1077
|
end
|
1000
1078
|
end
|
1001
1079
|
|
1002
|
-
class WechatPayRedirectToAndroidApp < Stripe::StripeObject
|
1080
|
+
class WechatPayRedirectToAndroidApp < ::Stripe::StripeObject
|
1003
1081
|
# app_id is the APP ID registered on WeChat open platform
|
1004
1082
|
attr_reader :app_id
|
1005
1083
|
# nonce_str is a random string
|
@@ -1024,7 +1102,7 @@ module Stripe
|
|
1024
1102
|
end
|
1025
1103
|
end
|
1026
1104
|
|
1027
|
-
class WechatPayRedirectToIosApp < Stripe::StripeObject
|
1105
|
+
class WechatPayRedirectToIosApp < ::Stripe::StripeObject
|
1028
1106
|
# An universal link that redirect to WeChat Pay app
|
1029
1107
|
attr_reader :native_url
|
1030
1108
|
|
@@ -1102,7 +1180,391 @@ module Stripe
|
|
1102
1180
|
end
|
1103
1181
|
end
|
1104
1182
|
|
1105
|
-
class
|
1183
|
+
class PaymentDetails < ::Stripe::StripeObject
|
1184
|
+
class Benefit < ::Stripe::StripeObject
|
1185
|
+
class FrMealVoucher < ::Stripe::StripeObject
|
1186
|
+
# The 14-digit SIRET of the meal voucher acceptor.
|
1187
|
+
attr_reader :siret
|
1188
|
+
|
1189
|
+
def self.inner_class_types
|
1190
|
+
@inner_class_types = {}
|
1191
|
+
end
|
1192
|
+
|
1193
|
+
def self.field_remappings
|
1194
|
+
@field_remappings = {}
|
1195
|
+
end
|
1196
|
+
end
|
1197
|
+
# Attribute for field fr_meal_voucher
|
1198
|
+
attr_reader :fr_meal_voucher
|
1199
|
+
|
1200
|
+
def self.inner_class_types
|
1201
|
+
@inner_class_types = { fr_meal_voucher: FrMealVoucher }
|
1202
|
+
end
|
1203
|
+
|
1204
|
+
def self.field_remappings
|
1205
|
+
@field_remappings = {}
|
1206
|
+
end
|
1207
|
+
end
|
1208
|
+
|
1209
|
+
class CarRental < ::Stripe::StripeObject
|
1210
|
+
class Affiliate < ::Stripe::StripeObject
|
1211
|
+
# The name of the affiliate that originated the purchase.
|
1212
|
+
attr_reader :name
|
1213
|
+
|
1214
|
+
def self.inner_class_types
|
1215
|
+
@inner_class_types = {}
|
1216
|
+
end
|
1217
|
+
|
1218
|
+
def self.field_remappings
|
1219
|
+
@field_remappings = {}
|
1220
|
+
end
|
1221
|
+
end
|
1222
|
+
|
1223
|
+
class Delivery < ::Stripe::StripeObject
|
1224
|
+
class Recipient < ::Stripe::StripeObject
|
1225
|
+
# The email of the recipient the ticket is delivered to.
|
1226
|
+
attr_reader :email
|
1227
|
+
# The name of the recipient the ticket is delivered to.
|
1228
|
+
attr_reader :name
|
1229
|
+
# The phone number of the recipient the ticket is delivered to.
|
1230
|
+
attr_reader :phone
|
1231
|
+
|
1232
|
+
def self.inner_class_types
|
1233
|
+
@inner_class_types = {}
|
1234
|
+
end
|
1235
|
+
|
1236
|
+
def self.field_remappings
|
1237
|
+
@field_remappings = {}
|
1238
|
+
end
|
1239
|
+
end
|
1240
|
+
# The delivery method for the payment
|
1241
|
+
attr_reader :mode
|
1242
|
+
# Attribute for field recipient
|
1243
|
+
attr_reader :recipient
|
1244
|
+
|
1245
|
+
def self.inner_class_types
|
1246
|
+
@inner_class_types = { recipient: Recipient }
|
1247
|
+
end
|
1248
|
+
|
1249
|
+
def self.field_remappings
|
1250
|
+
@field_remappings = {}
|
1251
|
+
end
|
1252
|
+
end
|
1253
|
+
|
1254
|
+
class Distance < ::Stripe::StripeObject
|
1255
|
+
# Distance traveled.
|
1256
|
+
attr_reader :amount
|
1257
|
+
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`
|
1258
|
+
attr_reader :unit
|
1259
|
+
|
1260
|
+
def self.inner_class_types
|
1261
|
+
@inner_class_types = {}
|
1262
|
+
end
|
1263
|
+
|
1264
|
+
def self.field_remappings
|
1265
|
+
@field_remappings = {}
|
1266
|
+
end
|
1267
|
+
end
|
1268
|
+
|
1269
|
+
class Driver < ::Stripe::StripeObject
|
1270
|
+
# Driver's identification number.
|
1271
|
+
attr_reader :driver_identification_number
|
1272
|
+
# Driver's tax number.
|
1273
|
+
attr_reader :driver_tax_number
|
1274
|
+
# Full name of the driver on the reservation.
|
1275
|
+
attr_reader :name
|
1276
|
+
|
1277
|
+
def self.inner_class_types
|
1278
|
+
@inner_class_types = {}
|
1279
|
+
end
|
1280
|
+
|
1281
|
+
def self.field_remappings
|
1282
|
+
@field_remappings = {}
|
1283
|
+
end
|
1284
|
+
end
|
1285
|
+
|
1286
|
+
class PickupAddress < ::Stripe::StripeObject
|
1287
|
+
# City, district, suburb, town, or village.
|
1288
|
+
attr_reader :city
|
1289
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1290
|
+
attr_reader :country
|
1291
|
+
# Address line 1, such as the street, PO Box, or company name.
|
1292
|
+
attr_reader :line1
|
1293
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
1294
|
+
attr_reader :line2
|
1295
|
+
# ZIP or postal code.
|
1296
|
+
attr_reader :postal_code
|
1297
|
+
# State, county, province, or region.
|
1298
|
+
attr_reader :state
|
1299
|
+
|
1300
|
+
def self.inner_class_types
|
1301
|
+
@inner_class_types = {}
|
1302
|
+
end
|
1303
|
+
|
1304
|
+
def self.field_remappings
|
1305
|
+
@field_remappings = {}
|
1306
|
+
end
|
1307
|
+
end
|
1308
|
+
|
1309
|
+
class ReturnAddress < ::Stripe::StripeObject
|
1310
|
+
# City, district, suburb, town, or village.
|
1311
|
+
attr_reader :city
|
1312
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1313
|
+
attr_reader :country
|
1314
|
+
# Address line 1, such as the street, PO Box, or company name.
|
1315
|
+
attr_reader :line1
|
1316
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
1317
|
+
attr_reader :line2
|
1318
|
+
# ZIP or postal code.
|
1319
|
+
attr_reader :postal_code
|
1320
|
+
# State, county, province, or region.
|
1321
|
+
attr_reader :state
|
1322
|
+
|
1323
|
+
def self.inner_class_types
|
1324
|
+
@inner_class_types = {}
|
1325
|
+
end
|
1326
|
+
|
1327
|
+
def self.field_remappings
|
1328
|
+
@field_remappings = {}
|
1329
|
+
end
|
1330
|
+
end
|
1331
|
+
# Attribute for field affiliate
|
1332
|
+
attr_reader :affiliate
|
1333
|
+
# The booking number associated with the car rental.
|
1334
|
+
attr_reader :booking_number
|
1335
|
+
# Class code of the car.
|
1336
|
+
attr_reader :car_class_code
|
1337
|
+
# Make of the car.
|
1338
|
+
attr_reader :car_make
|
1339
|
+
# Model of the car.
|
1340
|
+
attr_reader :car_model
|
1341
|
+
# The name of the rental car company.
|
1342
|
+
attr_reader :company
|
1343
|
+
# The customer service phone number of the car rental company.
|
1344
|
+
attr_reader :customer_service_phone_number
|
1345
|
+
# Number of days the car is being rented.
|
1346
|
+
attr_reader :days_rented
|
1347
|
+
# Attribute for field delivery
|
1348
|
+
attr_reader :delivery
|
1349
|
+
# Attribute for field distance
|
1350
|
+
attr_reader :distance
|
1351
|
+
# The details of the drivers associated with the trip.
|
1352
|
+
attr_reader :drivers
|
1353
|
+
# List of additional charges being billed.
|
1354
|
+
attr_reader :extra_charges
|
1355
|
+
# Indicates if the customer did not keep nor cancel their booking.
|
1356
|
+
attr_reader :no_show
|
1357
|
+
# Attribute for field pickup_address
|
1358
|
+
attr_reader :pickup_address
|
1359
|
+
# Car pick-up time. Measured in seconds since the Unix epoch.
|
1360
|
+
attr_reader :pickup_at
|
1361
|
+
# Name of the pickup location.
|
1362
|
+
attr_reader :pickup_location_name
|
1363
|
+
# Rental rate.
|
1364
|
+
attr_reader :rate_amount
|
1365
|
+
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
1366
|
+
attr_reader :rate_interval
|
1367
|
+
# The full name of the person or entity renting the car.
|
1368
|
+
attr_reader :renter_name
|
1369
|
+
# Attribute for field return_address
|
1370
|
+
attr_reader :return_address
|
1371
|
+
# Car return time. Measured in seconds since the Unix epoch.
|
1372
|
+
attr_reader :return_at
|
1373
|
+
# Name of the return location.
|
1374
|
+
attr_reader :return_location_name
|
1375
|
+
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
1376
|
+
attr_reader :tax_exempt
|
1377
|
+
# The vehicle identification number of the car.
|
1378
|
+
attr_reader :vehicle_identification_number
|
1379
|
+
|
1380
|
+
def self.inner_class_types
|
1381
|
+
@inner_class_types = {
|
1382
|
+
affiliate: Affiliate,
|
1383
|
+
delivery: Delivery,
|
1384
|
+
distance: Distance,
|
1385
|
+
drivers: Driver,
|
1386
|
+
pickup_address: PickupAddress,
|
1387
|
+
return_address: ReturnAddress,
|
1388
|
+
}
|
1389
|
+
end
|
1390
|
+
|
1391
|
+
def self.field_remappings
|
1392
|
+
@field_remappings = {}
|
1393
|
+
end
|
1394
|
+
end
|
1395
|
+
|
1396
|
+
class EventDetails < ::Stripe::StripeObject
|
1397
|
+
class Address < ::Stripe::StripeObject
|
1398
|
+
# City, district, suburb, town, or village.
|
1399
|
+
attr_reader :city
|
1400
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1401
|
+
attr_reader :country
|
1402
|
+
# Address line 1, such as the street, PO Box, or company name.
|
1403
|
+
attr_reader :line1
|
1404
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
1405
|
+
attr_reader :line2
|
1406
|
+
# ZIP or postal code.
|
1407
|
+
attr_reader :postal_code
|
1408
|
+
# State, county, province, or region.
|
1409
|
+
attr_reader :state
|
1410
|
+
|
1411
|
+
def self.inner_class_types
|
1412
|
+
@inner_class_types = {}
|
1413
|
+
end
|
1414
|
+
|
1415
|
+
def self.field_remappings
|
1416
|
+
@field_remappings = {}
|
1417
|
+
end
|
1418
|
+
end
|
1419
|
+
|
1420
|
+
class Affiliate < ::Stripe::StripeObject
|
1421
|
+
# The name of the affiliate that originated the purchase.
|
1422
|
+
attr_reader :name
|
1423
|
+
|
1424
|
+
def self.inner_class_types
|
1425
|
+
@inner_class_types = {}
|
1426
|
+
end
|
1427
|
+
|
1428
|
+
def self.field_remappings
|
1429
|
+
@field_remappings = {}
|
1430
|
+
end
|
1431
|
+
end
|
1432
|
+
|
1433
|
+
class Delivery < ::Stripe::StripeObject
|
1434
|
+
class Recipient < ::Stripe::StripeObject
|
1435
|
+
# The email of the recipient the ticket is delivered to.
|
1436
|
+
attr_reader :email
|
1437
|
+
# The name of the recipient the ticket is delivered to.
|
1438
|
+
attr_reader :name
|
1439
|
+
# The phone number of the recipient the ticket is delivered to.
|
1440
|
+
attr_reader :phone
|
1441
|
+
|
1442
|
+
def self.inner_class_types
|
1443
|
+
@inner_class_types = {}
|
1444
|
+
end
|
1445
|
+
|
1446
|
+
def self.field_remappings
|
1447
|
+
@field_remappings = {}
|
1448
|
+
end
|
1449
|
+
end
|
1450
|
+
# The delivery method for the payment
|
1451
|
+
attr_reader :mode
|
1452
|
+
# Attribute for field recipient
|
1453
|
+
attr_reader :recipient
|
1454
|
+
|
1455
|
+
def self.inner_class_types
|
1456
|
+
@inner_class_types = { recipient: Recipient }
|
1457
|
+
end
|
1458
|
+
|
1459
|
+
def self.field_remappings
|
1460
|
+
@field_remappings = {}
|
1461
|
+
end
|
1462
|
+
end
|
1463
|
+
# Indicates if the tickets are digitally checked when entering the venue.
|
1464
|
+
attr_reader :access_controlled_venue
|
1465
|
+
# Attribute for field address
|
1466
|
+
attr_reader :address
|
1467
|
+
# Attribute for field affiliate
|
1468
|
+
attr_reader :affiliate
|
1469
|
+
# The name of the company
|
1470
|
+
attr_reader :company
|
1471
|
+
# Attribute for field delivery
|
1472
|
+
attr_reader :delivery
|
1473
|
+
# Event end time. Measured in seconds since the Unix epoch.
|
1474
|
+
attr_reader :ends_at
|
1475
|
+
# Type of the event entertainment (concert, sports event etc)
|
1476
|
+
attr_reader :genre
|
1477
|
+
# The name of the event.
|
1478
|
+
attr_reader :name
|
1479
|
+
# Event start time. Measured in seconds since the Unix epoch.
|
1480
|
+
attr_reader :starts_at
|
1481
|
+
|
1482
|
+
def self.inner_class_types
|
1483
|
+
@inner_class_types = { address: Address, affiliate: Affiliate, delivery: Delivery }
|
1484
|
+
end
|
1485
|
+
|
1486
|
+
def self.field_remappings
|
1487
|
+
@field_remappings = {}
|
1488
|
+
end
|
1489
|
+
end
|
1490
|
+
|
1491
|
+
class Subscription < ::Stripe::StripeObject
|
1492
|
+
class Affiliate < ::Stripe::StripeObject
|
1493
|
+
# The name of the affiliate that originated the purchase.
|
1494
|
+
attr_reader :name
|
1495
|
+
|
1496
|
+
def self.inner_class_types
|
1497
|
+
@inner_class_types = {}
|
1498
|
+
end
|
1499
|
+
|
1500
|
+
def self.field_remappings
|
1501
|
+
@field_remappings = {}
|
1502
|
+
end
|
1503
|
+
end
|
1504
|
+
|
1505
|
+
class BillingInterval < ::Stripe::StripeObject
|
1506
|
+
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
1507
|
+
attr_reader :count
|
1508
|
+
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
1509
|
+
attr_reader :interval
|
1510
|
+
|
1511
|
+
def self.inner_class_types
|
1512
|
+
@inner_class_types = {}
|
1513
|
+
end
|
1514
|
+
|
1515
|
+
def self.field_remappings
|
1516
|
+
@field_remappings = {}
|
1517
|
+
end
|
1518
|
+
end
|
1519
|
+
# Attribute for field affiliate
|
1520
|
+
attr_reader :affiliate
|
1521
|
+
# Info whether the subscription will be auto renewed upon expiry.
|
1522
|
+
attr_reader :auto_renewal
|
1523
|
+
# Attribute for field billing_interval
|
1524
|
+
attr_reader :billing_interval
|
1525
|
+
# Subscription end time. Measured in seconds since the Unix epoch.
|
1526
|
+
attr_reader :ends_at
|
1527
|
+
# Name of the product on subscription. e.g. Apple Music Subscription.
|
1528
|
+
attr_reader :name
|
1529
|
+
# Subscription start time. Measured in seconds since the Unix epoch.
|
1530
|
+
attr_reader :starts_at
|
1531
|
+
|
1532
|
+
def self.inner_class_types
|
1533
|
+
@inner_class_types = { affiliate: Affiliate, billing_interval: BillingInterval }
|
1534
|
+
end
|
1535
|
+
|
1536
|
+
def self.field_remappings
|
1537
|
+
@field_remappings = {}
|
1538
|
+
end
|
1539
|
+
end
|
1540
|
+
# Attribute for field car_rental
|
1541
|
+
attr_reader :car_rental
|
1542
|
+
# 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.
|
1543
|
+
attr_reader :customer_reference
|
1544
|
+
# Attribute for field event_details
|
1545
|
+
attr_reader :event_details
|
1546
|
+
# A unique value assigned by the business to identify the transaction.
|
1547
|
+
attr_reader :order_reference
|
1548
|
+
# Attribute for field subscription
|
1549
|
+
attr_reader :subscription
|
1550
|
+
# Attribute for field benefit
|
1551
|
+
attr_reader :benefit
|
1552
|
+
|
1553
|
+
def self.inner_class_types
|
1554
|
+
@inner_class_types = {
|
1555
|
+
car_rental: CarRental,
|
1556
|
+
event_details: EventDetails,
|
1557
|
+
subscription: Subscription,
|
1558
|
+
benefit: Benefit,
|
1559
|
+
}
|
1560
|
+
end
|
1561
|
+
|
1562
|
+
def self.field_remappings
|
1563
|
+
@field_remappings = {}
|
1564
|
+
end
|
1565
|
+
end
|
1566
|
+
|
1567
|
+
class PaymentMethodConfigurationDetails < ::Stripe::StripeObject
|
1106
1568
|
# ID of the payment method configuration used.
|
1107
1569
|
attr_reader :id
|
1108
1570
|
# ID of the parent payment method configuration used.
|
@@ -1117,9 +1579,9 @@ module Stripe
|
|
1117
1579
|
end
|
1118
1580
|
end
|
1119
1581
|
|
1120
|
-
class PaymentMethodOptions < Stripe::StripeObject
|
1121
|
-
class AcssDebit < Stripe::StripeObject
|
1122
|
-
class MandateOptions < Stripe::StripeObject
|
1582
|
+
class PaymentMethodOptions < ::Stripe::StripeObject
|
1583
|
+
class AcssDebit < ::Stripe::StripeObject
|
1584
|
+
class MandateOptions < ::Stripe::StripeObject
|
1123
1585
|
# A URL for custom mandate text
|
1124
1586
|
attr_reader :custom_mandate_url
|
1125
1587
|
# Description of the interval. Only required if the 'payment_schedule' parameter is 'interval' or 'combined'.
|
@@ -1161,7 +1623,7 @@ module Stripe
|
|
1161
1623
|
end
|
1162
1624
|
end
|
1163
1625
|
|
1164
|
-
class Affirm < Stripe::StripeObject
|
1626
|
+
class Affirm < ::Stripe::StripeObject
|
1165
1627
|
# Controls when the funds will be captured from the customer's account.
|
1166
1628
|
attr_reader :capture_method
|
1167
1629
|
# Preferred language of the Affirm authorization page that the customer is redirected to.
|
@@ -1184,7 +1646,7 @@ module Stripe
|
|
1184
1646
|
end
|
1185
1647
|
end
|
1186
1648
|
|
1187
|
-
class AfterpayClearpay < Stripe::StripeObject
|
1649
|
+
class AfterpayClearpay < ::Stripe::StripeObject
|
1188
1650
|
# Controls when the funds will be captured from the customer's account.
|
1189
1651
|
attr_reader :capture_method
|
1190
1652
|
# An internal identifier or reference that this payment corresponds to. You must limit the identifier to 128 characters, and it can only contain letters, numbers, underscores, backslashes, and dashes.
|
@@ -1208,7 +1670,7 @@ module Stripe
|
|
1208
1670
|
end
|
1209
1671
|
end
|
1210
1672
|
|
1211
|
-
class Alipay < Stripe::StripeObject
|
1673
|
+
class Alipay < ::Stripe::StripeObject
|
1212
1674
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1213
1675
|
#
|
1214
1676
|
# 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.
|
@@ -1227,7 +1689,7 @@ module Stripe
|
|
1227
1689
|
end
|
1228
1690
|
end
|
1229
1691
|
|
1230
|
-
class Alma < Stripe::StripeObject
|
1692
|
+
class Alma < ::Stripe::StripeObject
|
1231
1693
|
# Controls when the funds will be captured from the customer's account.
|
1232
1694
|
attr_reader :capture_method
|
1233
1695
|
|
@@ -1240,7 +1702,7 @@ module Stripe
|
|
1240
1702
|
end
|
1241
1703
|
end
|
1242
1704
|
|
1243
|
-
class AmazonPay < Stripe::StripeObject
|
1705
|
+
class AmazonPay < ::Stripe::StripeObject
|
1244
1706
|
# Controls when the funds will be captured from the customer's account.
|
1245
1707
|
attr_reader :capture_method
|
1246
1708
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
@@ -1261,7 +1723,7 @@ module Stripe
|
|
1261
1723
|
end
|
1262
1724
|
end
|
1263
1725
|
|
1264
|
-
class AuBecsDebit < Stripe::StripeObject
|
1726
|
+
class AuBecsDebit < ::Stripe::StripeObject
|
1265
1727
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1266
1728
|
#
|
1267
1729
|
# 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.
|
@@ -1282,8 +1744,8 @@ module Stripe
|
|
1282
1744
|
end
|
1283
1745
|
end
|
1284
1746
|
|
1285
|
-
class BacsDebit < Stripe::StripeObject
|
1286
|
-
class MandateOptions < Stripe::StripeObject
|
1747
|
+
class BacsDebit < ::Stripe::StripeObject
|
1748
|
+
class MandateOptions < ::Stripe::StripeObject
|
1287
1749
|
# 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'.
|
1288
1750
|
attr_reader :reference_prefix
|
1289
1751
|
|
@@ -1317,7 +1779,7 @@ module Stripe
|
|
1317
1779
|
end
|
1318
1780
|
end
|
1319
1781
|
|
1320
|
-
class Bancontact < Stripe::StripeObject
|
1782
|
+
class Bancontact < ::Stripe::StripeObject
|
1321
1783
|
# Preferred language of the Bancontact authorization page that the customer is redirected to.
|
1322
1784
|
attr_reader :preferred_language
|
1323
1785
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
@@ -1338,7 +1800,7 @@ module Stripe
|
|
1338
1800
|
end
|
1339
1801
|
end
|
1340
1802
|
|
1341
|
-
class Billie < Stripe::StripeObject
|
1803
|
+
class Billie < ::Stripe::StripeObject
|
1342
1804
|
# Controls when the funds will be captured from the customer's account.
|
1343
1805
|
attr_reader :capture_method
|
1344
1806
|
|
@@ -1351,7 +1813,7 @@ module Stripe
|
|
1351
1813
|
end
|
1352
1814
|
end
|
1353
1815
|
|
1354
|
-
class Blik < Stripe::StripeObject
|
1816
|
+
class Blik < ::Stripe::StripeObject
|
1355
1817
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1356
1818
|
#
|
1357
1819
|
# 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.
|
@@ -1370,7 +1832,7 @@ module Stripe
|
|
1370
1832
|
end
|
1371
1833
|
end
|
1372
1834
|
|
1373
|
-
class Boleto < Stripe::StripeObject
|
1835
|
+
class Boleto < ::Stripe::StripeObject
|
1374
1836
|
# 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 voucher will expire on Wednesday at 23:59 America/Sao_Paulo time.
|
1375
1837
|
attr_reader :expires_after_days
|
1376
1838
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
@@ -1391,9 +1853,9 @@ module Stripe
|
|
1391
1853
|
end
|
1392
1854
|
end
|
1393
1855
|
|
1394
|
-
class Card < Stripe::StripeObject
|
1395
|
-
class Installments < Stripe::StripeObject
|
1396
|
-
class AvailablePlan < Stripe::StripeObject
|
1856
|
+
class Card < ::Stripe::StripeObject
|
1857
|
+
class Installments < ::Stripe::StripeObject
|
1858
|
+
class AvailablePlan < ::Stripe::StripeObject
|
1397
1859
|
# For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card.
|
1398
1860
|
attr_reader :count
|
1399
1861
|
# For `fixed_count` installment plans, this is the interval between installment payments your customer will make to their credit card.
|
@@ -1411,7 +1873,7 @@ module Stripe
|
|
1411
1873
|
end
|
1412
1874
|
end
|
1413
1875
|
|
1414
|
-
class Plan < Stripe::StripeObject
|
1876
|
+
class Plan < ::Stripe::StripeObject
|
1415
1877
|
# For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card.
|
1416
1878
|
attr_reader :count
|
1417
1879
|
# For `fixed_count` installment plans, this is the interval between installment payments your customer will make to their credit card.
|
@@ -1444,7 +1906,7 @@ module Stripe
|
|
1444
1906
|
end
|
1445
1907
|
end
|
1446
1908
|
|
1447
|
-
class MandateOptions < Stripe::StripeObject
|
1909
|
+
class MandateOptions < ::Stripe::StripeObject
|
1448
1910
|
# Amount to be charged for future payments.
|
1449
1911
|
attr_reader :amount
|
1450
1912
|
# 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.
|
@@ -1472,6 +1934,43 @@ module Stripe
|
|
1472
1934
|
@field_remappings = {}
|
1473
1935
|
end
|
1474
1936
|
end
|
1937
|
+
|
1938
|
+
class StatementDetails < ::Stripe::StripeObject
|
1939
|
+
class Address < ::Stripe::StripeObject
|
1940
|
+
# City, district, suburb, town, or village.
|
1941
|
+
attr_reader :city
|
1942
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1943
|
+
attr_reader :country
|
1944
|
+
# Address line 1, such as the street, PO Box, or company name.
|
1945
|
+
attr_reader :line1
|
1946
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
1947
|
+
attr_reader :line2
|
1948
|
+
# ZIP or postal code.
|
1949
|
+
attr_reader :postal_code
|
1950
|
+
# State, county, province, or region.
|
1951
|
+
attr_reader :state
|
1952
|
+
|
1953
|
+
def self.inner_class_types
|
1954
|
+
@inner_class_types = {}
|
1955
|
+
end
|
1956
|
+
|
1957
|
+
def self.field_remappings
|
1958
|
+
@field_remappings = {}
|
1959
|
+
end
|
1960
|
+
end
|
1961
|
+
# Attribute for field address
|
1962
|
+
attr_reader :address
|
1963
|
+
# Phone number
|
1964
|
+
attr_reader :phone
|
1965
|
+
|
1966
|
+
def self.inner_class_types
|
1967
|
+
@inner_class_types = { address: Address }
|
1968
|
+
end
|
1969
|
+
|
1970
|
+
def self.field_remappings
|
1971
|
+
@field_remappings = {}
|
1972
|
+
end
|
1973
|
+
end
|
1475
1974
|
# Controls when the funds will be captured from the customer's account.
|
1476
1975
|
attr_reader :capture_method
|
1477
1976
|
# Installment details for this payment.
|
@@ -1482,6 +1981,8 @@ module Stripe
|
|
1482
1981
|
attr_reader :mandate_options
|
1483
1982
|
# Selected network to process this payment intent on. Depends on the available networks of the card attached to the payment intent. Can be only set confirm-time.
|
1484
1983
|
attr_reader :network
|
1984
|
+
# Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent.
|
1985
|
+
attr_reader :request_decremental_authorization
|
1485
1986
|
# Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
|
1486
1987
|
attr_reader :request_extended_authorization
|
1487
1988
|
# Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent.
|
@@ -1490,6 +1991,8 @@ module Stripe
|
|
1490
1991
|
attr_reader :request_multicapture
|
1491
1992
|
# Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent.
|
1492
1993
|
attr_reader :request_overcapture
|
1994
|
+
# Request partial authorization on this PaymentIntent.
|
1995
|
+
attr_reader :request_partial_authorization
|
1493
1996
|
# 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.
|
1494
1997
|
attr_reader :request_three_d_secure
|
1495
1998
|
# 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).
|
@@ -1506,9 +2009,15 @@ module Stripe
|
|
1506
2009
|
attr_reader :statement_descriptor_suffix_kana
|
1507
2010
|
# 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.
|
1508
2011
|
attr_reader :statement_descriptor_suffix_kanji
|
2012
|
+
# Attribute for field statement_details
|
2013
|
+
attr_reader :statement_details
|
1509
2014
|
|
1510
2015
|
def self.inner_class_types
|
1511
|
-
@inner_class_types = {
|
2016
|
+
@inner_class_types = {
|
2017
|
+
installments: Installments,
|
2018
|
+
mandate_options: MandateOptions,
|
2019
|
+
statement_details: StatementDetails,
|
2020
|
+
}
|
1512
2021
|
end
|
1513
2022
|
|
1514
2023
|
def self.field_remappings
|
@@ -1516,8 +2025,8 @@ module Stripe
|
|
1516
2025
|
end
|
1517
2026
|
end
|
1518
2027
|
|
1519
|
-
class CardPresent < Stripe::StripeObject
|
1520
|
-
class Routing < Stripe::StripeObject
|
2028
|
+
class CardPresent < ::Stripe::StripeObject
|
2029
|
+
class Routing < ::Stripe::StripeObject
|
1521
2030
|
# Requested routing priority
|
1522
2031
|
attr_reader :requested_priority
|
1523
2032
|
|
@@ -1545,7 +2054,7 @@ module Stripe
|
|
1545
2054
|
end
|
1546
2055
|
end
|
1547
2056
|
|
1548
|
-
class Cashapp < Stripe::StripeObject
|
2057
|
+
class Cashapp < ::Stripe::StripeObject
|
1549
2058
|
# Controls when the funds will be captured from the customer's account.
|
1550
2059
|
attr_reader :capture_method
|
1551
2060
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
@@ -1566,7 +2075,7 @@ module Stripe
|
|
1566
2075
|
end
|
1567
2076
|
end
|
1568
2077
|
|
1569
|
-
class Crypto < Stripe::StripeObject
|
2078
|
+
class Crypto < ::Stripe::StripeObject
|
1570
2079
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1571
2080
|
#
|
1572
2081
|
# 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.
|
@@ -1585,9 +2094,9 @@ module Stripe
|
|
1585
2094
|
end
|
1586
2095
|
end
|
1587
2096
|
|
1588
|
-
class CustomerBalance < Stripe::StripeObject
|
1589
|
-
class BankTransfer < Stripe::StripeObject
|
1590
|
-
class EuBankTransfer < Stripe::StripeObject
|
2097
|
+
class CustomerBalance < ::Stripe::StripeObject
|
2098
|
+
class BankTransfer < ::Stripe::StripeObject
|
2099
|
+
class EuBankTransfer < ::Stripe::StripeObject
|
1591
2100
|
# The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`.
|
1592
2101
|
attr_reader :country
|
1593
2102
|
|
@@ -1638,7 +2147,7 @@ module Stripe
|
|
1638
2147
|
end
|
1639
2148
|
end
|
1640
2149
|
|
1641
|
-
class Eps < Stripe::StripeObject
|
2150
|
+
class Eps < ::Stripe::StripeObject
|
1642
2151
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1643
2152
|
#
|
1644
2153
|
# 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.
|
@@ -1657,7 +2166,7 @@ module Stripe
|
|
1657
2166
|
end
|
1658
2167
|
end
|
1659
2168
|
|
1660
|
-
class Fpx < Stripe::StripeObject
|
2169
|
+
class Fpx < ::Stripe::StripeObject
|
1661
2170
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1662
2171
|
#
|
1663
2172
|
# 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.
|
@@ -1676,7 +2185,7 @@ module Stripe
|
|
1676
2185
|
end
|
1677
2186
|
end
|
1678
2187
|
|
1679
|
-
class Giropay < Stripe::StripeObject
|
2188
|
+
class Giropay < ::Stripe::StripeObject
|
1680
2189
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1681
2190
|
#
|
1682
2191
|
# 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.
|
@@ -1695,7 +2204,7 @@ module Stripe
|
|
1695
2204
|
end
|
1696
2205
|
end
|
1697
2206
|
|
1698
|
-
class
|
2207
|
+
class Gopay < ::Stripe::StripeObject
|
1699
2208
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1700
2209
|
#
|
1701
2210
|
# 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.
|
@@ -1714,7 +2223,7 @@ module Stripe
|
|
1714
2223
|
end
|
1715
2224
|
end
|
1716
2225
|
|
1717
|
-
class
|
2226
|
+
class Grabpay < ::Stripe::StripeObject
|
1718
2227
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1719
2228
|
#
|
1720
2229
|
# 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.
|
@@ -1733,7 +2242,20 @@ module Stripe
|
|
1733
2242
|
end
|
1734
2243
|
end
|
1735
2244
|
|
1736
|
-
class
|
2245
|
+
class IdBankTransfer < ::Stripe::StripeObject
|
2246
|
+
# The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now till 2678400 seconds (31 days) from now.
|
2247
|
+
attr_reader :expires_after
|
2248
|
+
# 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.
|
2249
|
+
attr_reader :expires_at
|
2250
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2251
|
+
#
|
2252
|
+
# 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.
|
2253
|
+
#
|
2254
|
+
# 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.
|
2255
|
+
#
|
2256
|
+
# 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).
|
2257
|
+
attr_reader :setup_future_usage
|
2258
|
+
|
1737
2259
|
def self.inner_class_types
|
1738
2260
|
@inner_class_types = {}
|
1739
2261
|
end
|
@@ -1743,7 +2265,36 @@ module Stripe
|
|
1743
2265
|
end
|
1744
2266
|
end
|
1745
2267
|
|
1746
|
-
class
|
2268
|
+
class Ideal < ::Stripe::StripeObject
|
2269
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2270
|
+
#
|
2271
|
+
# 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.
|
2272
|
+
#
|
2273
|
+
# 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.
|
2274
|
+
#
|
2275
|
+
# 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).
|
2276
|
+
attr_reader :setup_future_usage
|
2277
|
+
|
2278
|
+
def self.inner_class_types
|
2279
|
+
@inner_class_types = {}
|
2280
|
+
end
|
2281
|
+
|
2282
|
+
def self.field_remappings
|
2283
|
+
@field_remappings = {}
|
2284
|
+
end
|
2285
|
+
end
|
2286
|
+
|
2287
|
+
class InteracPresent < ::Stripe::StripeObject
|
2288
|
+
def self.inner_class_types
|
2289
|
+
@inner_class_types = {}
|
2290
|
+
end
|
2291
|
+
|
2292
|
+
def self.field_remappings
|
2293
|
+
@field_remappings = {}
|
2294
|
+
end
|
2295
|
+
end
|
2296
|
+
|
2297
|
+
class KakaoPay < ::Stripe::StripeObject
|
1747
2298
|
# Controls when the funds will be captured from the customer's account.
|
1748
2299
|
attr_reader :capture_method
|
1749
2300
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
@@ -1764,7 +2315,7 @@ module Stripe
|
|
1764
2315
|
end
|
1765
2316
|
end
|
1766
2317
|
|
1767
|
-
class Klarna < Stripe::StripeObject
|
2318
|
+
class Klarna < ::Stripe::StripeObject
|
1768
2319
|
# Controls when the funds will be captured from the customer's account.
|
1769
2320
|
attr_reader :capture_method
|
1770
2321
|
# Preferred locale of the Klarna checkout page that the customer is redirected to.
|
@@ -1787,7 +2338,7 @@ module Stripe
|
|
1787
2338
|
end
|
1788
2339
|
end
|
1789
2340
|
|
1790
|
-
class Konbini < Stripe::StripeObject
|
2341
|
+
class Konbini < ::Stripe::StripeObject
|
1791
2342
|
# An optional 10 to 11 digit numeric-only string determining the confirmation code at applicable convenience stores.
|
1792
2343
|
attr_reader :confirmation_number
|
1793
2344
|
# 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.
|
@@ -1814,7 +2365,7 @@ module Stripe
|
|
1814
2365
|
end
|
1815
2366
|
end
|
1816
2367
|
|
1817
|
-
class KrCard < Stripe::StripeObject
|
2368
|
+
class KrCard < ::Stripe::StripeObject
|
1818
2369
|
# Controls when the funds will be captured from the customer's account.
|
1819
2370
|
attr_reader :capture_method
|
1820
2371
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
@@ -1835,7 +2386,7 @@ module Stripe
|
|
1835
2386
|
end
|
1836
2387
|
end
|
1837
2388
|
|
1838
|
-
class Link < Stripe::StripeObject
|
2389
|
+
class Link < ::Stripe::StripeObject
|
1839
2390
|
# Controls when the funds will be captured from the customer's account.
|
1840
2391
|
attr_reader :capture_method
|
1841
2392
|
# [Deprecated] This is a legacy parameter that no longer has any function.
|
@@ -1858,7 +2409,7 @@ module Stripe
|
|
1858
2409
|
end
|
1859
2410
|
end
|
1860
2411
|
|
1861
|
-
class MbWay < Stripe::StripeObject
|
2412
|
+
class MbWay < ::Stripe::StripeObject
|
1862
2413
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1863
2414
|
#
|
1864
2415
|
# 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.
|
@@ -1877,7 +2428,7 @@ module Stripe
|
|
1877
2428
|
end
|
1878
2429
|
end
|
1879
2430
|
|
1880
|
-
class Mobilepay < Stripe::StripeObject
|
2431
|
+
class Mobilepay < ::Stripe::StripeObject
|
1881
2432
|
# Controls when the funds will be captured from the customer's account.
|
1882
2433
|
attr_reader :capture_method
|
1883
2434
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
@@ -1898,7 +2449,7 @@ module Stripe
|
|
1898
2449
|
end
|
1899
2450
|
end
|
1900
2451
|
|
1901
|
-
class Multibanco < Stripe::StripeObject
|
2452
|
+
class Multibanco < ::Stripe::StripeObject
|
1902
2453
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1903
2454
|
#
|
1904
2455
|
# 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.
|
@@ -1917,7 +2468,7 @@ module Stripe
|
|
1917
2468
|
end
|
1918
2469
|
end
|
1919
2470
|
|
1920
|
-
class NaverPay < Stripe::StripeObject
|
2471
|
+
class NaverPay < ::Stripe::StripeObject
|
1921
2472
|
# Controls when the funds will be captured from the customer's account.
|
1922
2473
|
attr_reader :capture_method
|
1923
2474
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
@@ -1938,7 +2489,7 @@ module Stripe
|
|
1938
2489
|
end
|
1939
2490
|
end
|
1940
2491
|
|
1941
|
-
class NzBankAccount < Stripe::StripeObject
|
2492
|
+
class NzBankAccount < ::Stripe::StripeObject
|
1942
2493
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1943
2494
|
#
|
1944
2495
|
# 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.
|
@@ -1959,7 +2510,7 @@ module Stripe
|
|
1959
2510
|
end
|
1960
2511
|
end
|
1961
2512
|
|
1962
|
-
class Oxxo < Stripe::StripeObject
|
2513
|
+
class Oxxo < ::Stripe::StripeObject
|
1963
2514
|
# The number of calendar days before an OXXO invoice expires. For example, if you create an OXXO invoice on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time.
|
1964
2515
|
attr_reader :expires_after_days
|
1965
2516
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
@@ -1980,7 +2531,7 @@ module Stripe
|
|
1980
2531
|
end
|
1981
2532
|
end
|
1982
2533
|
|
1983
|
-
class P24 < Stripe::StripeObject
|
2534
|
+
class P24 < ::Stripe::StripeObject
|
1984
2535
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1985
2536
|
#
|
1986
2537
|
# 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.
|
@@ -1999,7 +2550,7 @@ module Stripe
|
|
1999
2550
|
end
|
2000
2551
|
end
|
2001
2552
|
|
2002
|
-
class PayByBank < Stripe::StripeObject
|
2553
|
+
class PayByBank < ::Stripe::StripeObject
|
2003
2554
|
def self.inner_class_types
|
2004
2555
|
@inner_class_types = {}
|
2005
2556
|
end
|
@@ -2009,7 +2560,7 @@ module Stripe
|
|
2009
2560
|
end
|
2010
2561
|
end
|
2011
2562
|
|
2012
|
-
class Payco < Stripe::StripeObject
|
2563
|
+
class Payco < ::Stripe::StripeObject
|
2013
2564
|
# Controls when the funds will be captured from the customer's account.
|
2014
2565
|
attr_reader :capture_method
|
2015
2566
|
|
@@ -2022,7 +2573,7 @@ module Stripe
|
|
2022
2573
|
end
|
2023
2574
|
end
|
2024
2575
|
|
2025
|
-
class Paynow < Stripe::StripeObject
|
2576
|
+
class Paynow < ::Stripe::StripeObject
|
2026
2577
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2027
2578
|
#
|
2028
2579
|
# 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.
|
@@ -2041,13 +2592,57 @@ module Stripe
|
|
2041
2592
|
end
|
2042
2593
|
end
|
2043
2594
|
|
2044
|
-
class Paypal < Stripe::StripeObject
|
2595
|
+
class Paypal < ::Stripe::StripeObject
|
2596
|
+
class LineItem < ::Stripe::StripeObject
|
2597
|
+
class Tax < ::Stripe::StripeObject
|
2598
|
+
# The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
2599
|
+
attr_reader :amount
|
2600
|
+
# The tax behavior for the line item.
|
2601
|
+
attr_reader :behavior
|
2602
|
+
|
2603
|
+
def self.inner_class_types
|
2604
|
+
@inner_class_types = {}
|
2605
|
+
end
|
2606
|
+
|
2607
|
+
def self.field_remappings
|
2608
|
+
@field_remappings = {}
|
2609
|
+
end
|
2610
|
+
end
|
2611
|
+
# Type of the line item.
|
2612
|
+
attr_reader :category
|
2613
|
+
# Description of the line item.
|
2614
|
+
attr_reader :description
|
2615
|
+
# Descriptive name of the line item.
|
2616
|
+
attr_reader :name
|
2617
|
+
# Quantity of the line item. Cannot be a negative number.
|
2618
|
+
attr_reader :quantity
|
2619
|
+
# Client facing stock keeping unit, article number or similar.
|
2620
|
+
attr_reader :sku
|
2621
|
+
# The Stripe account ID of the connected account that sells the item. This is only needed when using [Separate Charges and Transfers](https://docs.stripe.com/connect/separate-charges-and-transfers).
|
2622
|
+
attr_reader :sold_by
|
2623
|
+
# Attribute for field tax
|
2624
|
+
attr_reader :tax
|
2625
|
+
# Price for a single unit of the line item in minor units. Cannot be a negative number.
|
2626
|
+
attr_reader :unit_amount
|
2627
|
+
|
2628
|
+
def self.inner_class_types
|
2629
|
+
@inner_class_types = { tax: Tax }
|
2630
|
+
end
|
2631
|
+
|
2632
|
+
def self.field_remappings
|
2633
|
+
@field_remappings = {}
|
2634
|
+
end
|
2635
|
+
end
|
2045
2636
|
# Controls when the funds will be captured from the customer's account.
|
2046
2637
|
attr_reader :capture_method
|
2638
|
+
# The line items purchased by the customer.
|
2639
|
+
attr_reader :line_items
|
2047
2640
|
# Preferred locale of the PayPal checkout page that the customer is redirected to.
|
2048
2641
|
attr_reader :preferred_locale
|
2049
2642
|
# 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.
|
2050
2643
|
attr_reader :reference
|
2644
|
+
# 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.
|
2645
|
+
attr_reader :reference_id
|
2051
2646
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2052
2647
|
#
|
2053
2648
|
# 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.
|
@@ -2056,7 +2651,19 @@ module Stripe
|
|
2056
2651
|
#
|
2057
2652
|
# 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).
|
2058
2653
|
attr_reader :setup_future_usage
|
2654
|
+
# 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.
|
2655
|
+
attr_reader :subsellers
|
2656
|
+
|
2657
|
+
def self.inner_class_types
|
2658
|
+
@inner_class_types = { line_items: LineItem }
|
2659
|
+
end
|
2660
|
+
|
2661
|
+
def self.field_remappings
|
2662
|
+
@field_remappings = {}
|
2663
|
+
end
|
2664
|
+
end
|
2059
2665
|
|
2666
|
+
class Paypay < ::Stripe::StripeObject
|
2060
2667
|
def self.inner_class_types
|
2061
2668
|
@inner_class_types = {}
|
2062
2669
|
end
|
@@ -2066,13 +2673,103 @@ module Stripe
|
|
2066
2673
|
end
|
2067
2674
|
end
|
2068
2675
|
|
2069
|
-
class
|
2676
|
+
class Payto < ::Stripe::StripeObject
|
2677
|
+
class MandateOptions < ::Stripe::StripeObject
|
2678
|
+
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
2679
|
+
attr_reader :amount
|
2680
|
+
# 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.
|
2681
|
+
attr_reader :amount_type
|
2682
|
+
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
2683
|
+
attr_reader :end_date
|
2684
|
+
# The periodicity at which payments will be collected.
|
2685
|
+
attr_reader :payment_schedule
|
2686
|
+
# 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.
|
2687
|
+
attr_reader :payments_per_period
|
2688
|
+
# The purpose for which payments are made. Defaults to retail.
|
2689
|
+
attr_reader :purpose
|
2690
|
+
|
2691
|
+
def self.inner_class_types
|
2692
|
+
@inner_class_types = {}
|
2693
|
+
end
|
2694
|
+
|
2695
|
+
def self.field_remappings
|
2696
|
+
@field_remappings = {}
|
2697
|
+
end
|
2698
|
+
end
|
2699
|
+
# Attribute for field mandate_options
|
2700
|
+
attr_reader :mandate_options
|
2701
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2702
|
+
#
|
2703
|
+
# 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.
|
2704
|
+
#
|
2705
|
+
# 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.
|
2706
|
+
#
|
2707
|
+
# 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).
|
2708
|
+
attr_reader :setup_future_usage
|
2709
|
+
|
2710
|
+
def self.inner_class_types
|
2711
|
+
@inner_class_types = { mandate_options: MandateOptions }
|
2712
|
+
end
|
2713
|
+
|
2714
|
+
def self.field_remappings
|
2715
|
+
@field_remappings = {}
|
2716
|
+
end
|
2717
|
+
end
|
2718
|
+
|
2719
|
+
class Pix < ::Stripe::StripeObject
|
2720
|
+
class MandateOptions < ::Stripe::StripeObject
|
2721
|
+
# Amount to be charged for future payments.
|
2722
|
+
attr_reader :amount
|
2723
|
+
# Determines if the amount includes the IOF tax.
|
2724
|
+
attr_reader :amount_includes_iof
|
2725
|
+
# Type of amount.
|
2726
|
+
attr_reader :amount_type
|
2727
|
+
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase.
|
2728
|
+
attr_reader :currency
|
2729
|
+
# Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`.
|
2730
|
+
attr_reader :end_date
|
2731
|
+
# Schedule at which the future payments will be charged.
|
2732
|
+
attr_reader :payment_schedule
|
2733
|
+
# Subscription name displayed to buyers in their bank app.
|
2734
|
+
attr_reader :reference
|
2735
|
+
# Start date of the mandate, in `YYYY-MM-DD`.
|
2736
|
+
attr_reader :start_date
|
2737
|
+
|
2738
|
+
def self.inner_class_types
|
2739
|
+
@inner_class_types = {}
|
2740
|
+
end
|
2741
|
+
|
2742
|
+
def self.field_remappings
|
2743
|
+
@field_remappings = {}
|
2744
|
+
end
|
2745
|
+
end
|
2070
2746
|
# Determines if the amount includes the IOF tax.
|
2071
2747
|
attr_reader :amount_includes_iof
|
2072
2748
|
# The number of seconds (between 10 and 1209600) after which Pix payment will expire.
|
2073
2749
|
attr_reader :expires_after_seconds
|
2074
2750
|
# The timestamp at which the Pix expires.
|
2075
2751
|
attr_reader :expires_at
|
2752
|
+
# Attribute for field mandate_options
|
2753
|
+
attr_reader :mandate_options
|
2754
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2755
|
+
#
|
2756
|
+
# 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.
|
2757
|
+
#
|
2758
|
+
# 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.
|
2759
|
+
#
|
2760
|
+
# 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).
|
2761
|
+
attr_reader :setup_future_usage
|
2762
|
+
|
2763
|
+
def self.inner_class_types
|
2764
|
+
@inner_class_types = { mandate_options: MandateOptions }
|
2765
|
+
end
|
2766
|
+
|
2767
|
+
def self.field_remappings
|
2768
|
+
@field_remappings = {}
|
2769
|
+
end
|
2770
|
+
end
|
2771
|
+
|
2772
|
+
class Promptpay < ::Stripe::StripeObject
|
2076
2773
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2077
2774
|
#
|
2078
2775
|
# 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.
|
@@ -2091,7 +2788,7 @@ module Stripe
|
|
2091
2788
|
end
|
2092
2789
|
end
|
2093
2790
|
|
2094
|
-
class
|
2791
|
+
class Qris < ::Stripe::StripeObject
|
2095
2792
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2096
2793
|
#
|
2097
2794
|
# 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.
|
@@ -2110,7 +2807,17 @@ module Stripe
|
|
2110
2807
|
end
|
2111
2808
|
end
|
2112
2809
|
|
2113
|
-
class
|
2810
|
+
class Rechnung < ::Stripe::StripeObject
|
2811
|
+
def self.inner_class_types
|
2812
|
+
@inner_class_types = {}
|
2813
|
+
end
|
2814
|
+
|
2815
|
+
def self.field_remappings
|
2816
|
+
@field_remappings = {}
|
2817
|
+
end
|
2818
|
+
end
|
2819
|
+
|
2820
|
+
class RevolutPay < ::Stripe::StripeObject
|
2114
2821
|
# Controls when the funds will be captured from the customer's account.
|
2115
2822
|
attr_reader :capture_method
|
2116
2823
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
@@ -2131,7 +2838,7 @@ module Stripe
|
|
2131
2838
|
end
|
2132
2839
|
end
|
2133
2840
|
|
2134
|
-
class SamsungPay < Stripe::StripeObject
|
2841
|
+
class SamsungPay < ::Stripe::StripeObject
|
2135
2842
|
# Controls when the funds will be captured from the customer's account.
|
2136
2843
|
attr_reader :capture_method
|
2137
2844
|
|
@@ -2144,7 +2851,7 @@ module Stripe
|
|
2144
2851
|
end
|
2145
2852
|
end
|
2146
2853
|
|
2147
|
-
class Satispay < Stripe::StripeObject
|
2854
|
+
class Satispay < ::Stripe::StripeObject
|
2148
2855
|
# Controls when the funds will be captured from the customer's account.
|
2149
2856
|
attr_reader :capture_method
|
2150
2857
|
|
@@ -2157,8 +2864,8 @@ module Stripe
|
|
2157
2864
|
end
|
2158
2865
|
end
|
2159
2866
|
|
2160
|
-
class SepaDebit < Stripe::StripeObject
|
2161
|
-
class MandateOptions < Stripe::StripeObject
|
2867
|
+
class SepaDebit < ::Stripe::StripeObject
|
2868
|
+
class MandateOptions < ::Stripe::StripeObject
|
2162
2869
|
# 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'.
|
2163
2870
|
attr_reader :reference_prefix
|
2164
2871
|
|
@@ -2192,7 +2899,26 @@ module Stripe
|
|
2192
2899
|
end
|
2193
2900
|
end
|
2194
2901
|
|
2195
|
-
class
|
2902
|
+
class Shopeepay < ::Stripe::StripeObject
|
2903
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2904
|
+
#
|
2905
|
+
# 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.
|
2906
|
+
#
|
2907
|
+
# 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.
|
2908
|
+
#
|
2909
|
+
# 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).
|
2910
|
+
attr_reader :setup_future_usage
|
2911
|
+
|
2912
|
+
def self.inner_class_types
|
2913
|
+
@inner_class_types = {}
|
2914
|
+
end
|
2915
|
+
|
2916
|
+
def self.field_remappings
|
2917
|
+
@field_remappings = {}
|
2918
|
+
end
|
2919
|
+
end
|
2920
|
+
|
2921
|
+
class Sofort < ::Stripe::StripeObject
|
2196
2922
|
# Preferred language of the SOFORT authorization page that the customer is redirected to.
|
2197
2923
|
attr_reader :preferred_language
|
2198
2924
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
@@ -2213,7 +2939,26 @@ module Stripe
|
|
2213
2939
|
end
|
2214
2940
|
end
|
2215
2941
|
|
2216
|
-
class
|
2942
|
+
class StripeBalance < ::Stripe::StripeObject
|
2943
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2944
|
+
#
|
2945
|
+
# 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.
|
2946
|
+
#
|
2947
|
+
# 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.
|
2948
|
+
#
|
2949
|
+
# 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).
|
2950
|
+
attr_reader :setup_future_usage
|
2951
|
+
|
2952
|
+
def self.inner_class_types
|
2953
|
+
@inner_class_types = {}
|
2954
|
+
end
|
2955
|
+
|
2956
|
+
def self.field_remappings
|
2957
|
+
@field_remappings = {}
|
2958
|
+
end
|
2959
|
+
end
|
2960
|
+
|
2961
|
+
class Swish < ::Stripe::StripeObject
|
2217
2962
|
# A reference for this payment to be displayed in the Swish app.
|
2218
2963
|
attr_reader :reference
|
2219
2964
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
@@ -2234,7 +2979,7 @@ module Stripe
|
|
2234
2979
|
end
|
2235
2980
|
end
|
2236
2981
|
|
2237
|
-
class Twint < Stripe::StripeObject
|
2982
|
+
class Twint < ::Stripe::StripeObject
|
2238
2983
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2239
2984
|
#
|
2240
2985
|
# 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.
|
@@ -2253,11 +2998,26 @@ module Stripe
|
|
2253
2998
|
end
|
2254
2999
|
end
|
2255
3000
|
|
2256
|
-
class UsBankAccount < Stripe::StripeObject
|
2257
|
-
class FinancialConnections < Stripe::StripeObject
|
2258
|
-
class Filters < Stripe::StripeObject
|
3001
|
+
class UsBankAccount < ::Stripe::StripeObject
|
3002
|
+
class FinancialConnections < ::Stripe::StripeObject
|
3003
|
+
class Filters < ::Stripe::StripeObject
|
2259
3004
|
# The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
2260
3005
|
attr_reader :account_subcategories
|
3006
|
+
# The institution to use to filter for possible accounts to link.
|
3007
|
+
attr_reader :institution
|
3008
|
+
|
3009
|
+
def self.inner_class_types
|
3010
|
+
@inner_class_types = {}
|
3011
|
+
end
|
3012
|
+
|
3013
|
+
def self.field_remappings
|
3014
|
+
@field_remappings = {}
|
3015
|
+
end
|
3016
|
+
end
|
3017
|
+
|
3018
|
+
class ManualEntry < ::Stripe::StripeObject
|
3019
|
+
# Settings for configuring manual entry of account details.
|
3020
|
+
attr_reader :mode
|
2261
3021
|
|
2262
3022
|
def self.inner_class_types
|
2263
3023
|
@inner_class_types = {}
|
@@ -2269,6 +3029,8 @@ module Stripe
|
|
2269
3029
|
end
|
2270
3030
|
# Attribute for field filters
|
2271
3031
|
attr_reader :filters
|
3032
|
+
# Attribute for field manual_entry
|
3033
|
+
attr_reader :manual_entry
|
2272
3034
|
# The list of permissions to request. The `payment_method` permission must be included.
|
2273
3035
|
attr_reader :permissions
|
2274
3036
|
# Data features requested to be retrieved upon account creation.
|
@@ -2277,7 +3039,7 @@ module Stripe
|
|
2277
3039
|
attr_reader :return_url
|
2278
3040
|
|
2279
3041
|
def self.inner_class_types
|
2280
|
-
@inner_class_types = { filters: Filters }
|
3042
|
+
@inner_class_types = { filters: Filters, manual_entry: ManualEntry }
|
2281
3043
|
end
|
2282
3044
|
|
2283
3045
|
def self.field_remappings
|
@@ -2285,7 +3047,7 @@ module Stripe
|
|
2285
3047
|
end
|
2286
3048
|
end
|
2287
3049
|
|
2288
|
-
class MandateOptions < Stripe::StripeObject
|
3050
|
+
class MandateOptions < ::Stripe::StripeObject
|
2289
3051
|
# Mandate collection method
|
2290
3052
|
attr_reader :collection_method
|
2291
3053
|
|
@@ -2328,7 +3090,7 @@ module Stripe
|
|
2328
3090
|
end
|
2329
3091
|
end
|
2330
3092
|
|
2331
|
-
class WechatPay < Stripe::StripeObject
|
3093
|
+
class WechatPay < ::Stripe::StripeObject
|
2332
3094
|
# The app ID registered with WeChat Pay. Only required when client is ios or android.
|
2333
3095
|
attr_reader :app_id
|
2334
3096
|
# The client type that the end customer will pay from
|
@@ -2351,7 +3113,7 @@ module Stripe
|
|
2351
3113
|
end
|
2352
3114
|
end
|
2353
3115
|
|
2354
|
-
class Zip < Stripe::StripeObject
|
3116
|
+
class Zip < ::Stripe::StripeObject
|
2355
3117
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2356
3118
|
#
|
2357
3119
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
@@ -2409,8 +3171,12 @@ module Stripe
|
|
2409
3171
|
attr_reader :fpx
|
2410
3172
|
# Attribute for field giropay
|
2411
3173
|
attr_reader :giropay
|
3174
|
+
# Attribute for field gopay
|
3175
|
+
attr_reader :gopay
|
2412
3176
|
# Attribute for field grabpay
|
2413
3177
|
attr_reader :grabpay
|
3178
|
+
# Attribute for field id_bank_transfer
|
3179
|
+
attr_reader :id_bank_transfer
|
2414
3180
|
# Attribute for field ideal
|
2415
3181
|
attr_reader :ideal
|
2416
3182
|
# Attribute for field interac_present
|
@@ -2447,10 +3213,18 @@ module Stripe
|
|
2447
3213
|
attr_reader :paynow
|
2448
3214
|
# Attribute for field paypal
|
2449
3215
|
attr_reader :paypal
|
3216
|
+
# Attribute for field paypay
|
3217
|
+
attr_reader :paypay
|
3218
|
+
# Attribute for field payto
|
3219
|
+
attr_reader :payto
|
2450
3220
|
# Attribute for field pix
|
2451
3221
|
attr_reader :pix
|
2452
3222
|
# Attribute for field promptpay
|
2453
3223
|
attr_reader :promptpay
|
3224
|
+
# Attribute for field qris
|
3225
|
+
attr_reader :qris
|
3226
|
+
# Attribute for field rechnung
|
3227
|
+
attr_reader :rechnung
|
2454
3228
|
# Attribute for field revolut_pay
|
2455
3229
|
attr_reader :revolut_pay
|
2456
3230
|
# Attribute for field samsung_pay
|
@@ -2459,8 +3233,12 @@ module Stripe
|
|
2459
3233
|
attr_reader :satispay
|
2460
3234
|
# Attribute for field sepa_debit
|
2461
3235
|
attr_reader :sepa_debit
|
3236
|
+
# Attribute for field shopeepay
|
3237
|
+
attr_reader :shopeepay
|
2462
3238
|
# Attribute for field sofort
|
2463
3239
|
attr_reader :sofort
|
3240
|
+
# Attribute for field stripe_balance
|
3241
|
+
attr_reader :stripe_balance
|
2464
3242
|
# Attribute for field swish
|
2465
3243
|
attr_reader :swish
|
2466
3244
|
# Attribute for field twint
|
@@ -2494,7 +3272,9 @@ module Stripe
|
|
2494
3272
|
eps: Eps,
|
2495
3273
|
fpx: Fpx,
|
2496
3274
|
giropay: Giropay,
|
3275
|
+
gopay: Gopay,
|
2497
3276
|
grabpay: Grabpay,
|
3277
|
+
id_bank_transfer: IdBankTransfer,
|
2498
3278
|
ideal: Ideal,
|
2499
3279
|
interac_present: InteracPresent,
|
2500
3280
|
kakao_pay: KakaoPay,
|
@@ -2513,13 +3293,19 @@ module Stripe
|
|
2513
3293
|
payco: Payco,
|
2514
3294
|
paynow: Paynow,
|
2515
3295
|
paypal: Paypal,
|
3296
|
+
paypay: Paypay,
|
3297
|
+
payto: Payto,
|
2516
3298
|
pix: Pix,
|
2517
3299
|
promptpay: Promptpay,
|
3300
|
+
qris: Qris,
|
3301
|
+
rechnung: Rechnung,
|
2518
3302
|
revolut_pay: RevolutPay,
|
2519
3303
|
samsung_pay: SamsungPay,
|
2520
3304
|
satispay: Satispay,
|
2521
3305
|
sepa_debit: SepaDebit,
|
3306
|
+
shopeepay: Shopeepay,
|
2522
3307
|
sofort: Sofort,
|
3308
|
+
stripe_balance: StripeBalance,
|
2523
3309
|
swish: Swish,
|
2524
3310
|
twint: Twint,
|
2525
3311
|
us_bank_account: UsBankAccount,
|
@@ -2533,7 +3319,7 @@ module Stripe
|
|
2533
3319
|
end
|
2534
3320
|
end
|
2535
3321
|
|
2536
|
-
class PresentmentDetails < Stripe::StripeObject
|
3322
|
+
class PresentmentDetails < ::Stripe::StripeObject
|
2537
3323
|
# Amount intended to be collected by this payment, denominated in `presentment_currency`.
|
2538
3324
|
attr_reader :presentment_amount
|
2539
3325
|
# Currency presented to the customer during payment.
|
@@ -2548,9 +3334,9 @@ module Stripe
|
|
2548
3334
|
end
|
2549
3335
|
end
|
2550
3336
|
|
2551
|
-
class Processing < Stripe::StripeObject
|
2552
|
-
class Card < Stripe::StripeObject
|
2553
|
-
class CustomerNotification < Stripe::StripeObject
|
3337
|
+
class Processing < ::Stripe::StripeObject
|
3338
|
+
class Card < ::Stripe::StripeObject
|
3339
|
+
class CustomerNotification < ::Stripe::StripeObject
|
2554
3340
|
# Whether customer approval has been requested for this payment. For payments greater than INR 15000 or mandate amount, the customer must provide explicit approval of the payment with their bank.
|
2555
3341
|
attr_reader :approval_requested
|
2556
3342
|
# If customer approval is required, they need to provide approval before this time.
|
@@ -2589,8 +3375,8 @@ module Stripe
|
|
2589
3375
|
end
|
2590
3376
|
end
|
2591
3377
|
|
2592
|
-
class Shipping < Stripe::StripeObject
|
2593
|
-
class Address < Stripe::StripeObject
|
3378
|
+
class Shipping < ::Stripe::StripeObject
|
3379
|
+
class Address < ::Stripe::StripeObject
|
2594
3380
|
# City, district, suburb, town, or village.
|
2595
3381
|
attr_reader :city
|
2596
3382
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
@@ -2632,7 +3418,7 @@ module Stripe
|
|
2632
3418
|
end
|
2633
3419
|
end
|
2634
3420
|
|
2635
|
-
class TransferData < Stripe::StripeObject
|
3421
|
+
class TransferData < ::Stripe::StripeObject
|
2636
3422
|
# The amount transferred to the destination account. This transfer will occur automatically after the payment succeeds. If no amount is specified, by default the entire payment amount is transferred to the destination account.
|
2637
3423
|
# The amount must be less than or equal to the [amount](https://stripe.com/docs/api/payment_intents/object#payment_intent_object-amount), and must be a positive integer
|
2638
3424
|
# representing how much to transfer in the smallest currency unit (e.g., 100 cents to charge $1.00).
|
@@ -2686,10 +3472,20 @@ module Stripe
|
|
2686
3472
|
#
|
2687
3473
|
# 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.
|
2688
3474
|
attr_reader :customer
|
3475
|
+
# ID of the Account this PaymentIntent belongs to, if one exists.
|
3476
|
+
#
|
3477
|
+
# Payment methods attached to other Accounts cannot be used with this PaymentIntent.
|
3478
|
+
#
|
3479
|
+
# 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.
|
3480
|
+
attr_reader :customer_account
|
2689
3481
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
2690
3482
|
attr_reader :description
|
2691
3483
|
# The list of payment method types to exclude from use with this payment.
|
2692
3484
|
attr_reader :excluded_payment_method_types
|
3485
|
+
# The FX Quote used for the PaymentIntent.
|
3486
|
+
attr_reader :fx_quote
|
3487
|
+
# Attribute for field hooks
|
3488
|
+
attr_reader :hooks
|
2693
3489
|
# Unique identifier for the object.
|
2694
3490
|
attr_reader :id
|
2695
3491
|
# The payment error encountered in the previous PaymentIntent confirmation. It will be cleared if the PaymentIntent is later updated for any reason.
|
@@ -2706,6 +3502,8 @@ module Stripe
|
|
2706
3502
|
attr_reader :object
|
2707
3503
|
# The account (if any) for which the funds of the PaymentIntent are intended. See the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts) for details.
|
2708
3504
|
attr_reader :on_behalf_of
|
3505
|
+
# Attribute for field payment_details
|
3506
|
+
attr_reader :payment_details
|
2709
3507
|
# ID of the payment method used in this PaymentIntent.
|
2710
3508
|
attr_reader :payment_method
|
2711
3509
|
# Information about the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) used for this PaymentIntent.
|
@@ -2722,6 +3520,8 @@ module Stripe
|
|
2722
3520
|
attr_reader :receipt_email
|
2723
3521
|
# ID of the review associated with this PaymentIntent, if any.
|
2724
3522
|
attr_reader :review
|
3523
|
+
# Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`.
|
3524
|
+
attr_reader :secret_key_confirmation
|
2725
3525
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
2726
3526
|
#
|
2727
3527
|
# 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.
|
@@ -2915,6 +3715,56 @@ module Stripe
|
|
2915
3715
|
request_stripe_object(method: :post, path: "/v1/payment_intents", params: params, opts: opts)
|
2916
3716
|
end
|
2917
3717
|
|
3718
|
+
# Perform a decremental authorization on an eligible
|
3719
|
+
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
3720
|
+
# PaymentIntent's status must be requires_capture and
|
3721
|
+
# [decremental_authorization.status](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-decremental_authorization)
|
3722
|
+
# must be available.
|
3723
|
+
#
|
3724
|
+
# Decremental authorizations decrease the authorized amount on your customer's card
|
3725
|
+
# to the new, lower amount provided. A single PaymentIntent can call this endpoint multiple times to further decrease the authorized amount.
|
3726
|
+
#
|
3727
|
+
# After decrement, the PaymentIntent object
|
3728
|
+
# returns with the updated
|
3729
|
+
# [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
|
3730
|
+
# The PaymentIntent will now be capturable up to the new authorized amount.
|
3731
|
+
#
|
3732
|
+
# Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines.
|
3733
|
+
# After it's fully captured, a PaymentIntent can no longer be decremented.
|
3734
|
+
def decrement_authorization(params = {}, opts = {})
|
3735
|
+
request_stripe_object(
|
3736
|
+
method: :post,
|
3737
|
+
path: format("/v1/payment_intents/%<intent>s/decrement_authorization", { intent: CGI.escape(self["id"]) }),
|
3738
|
+
params: params,
|
3739
|
+
opts: opts
|
3740
|
+
)
|
3741
|
+
end
|
3742
|
+
|
3743
|
+
# Perform a decremental authorization on an eligible
|
3744
|
+
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
3745
|
+
# PaymentIntent's status must be requires_capture and
|
3746
|
+
# [decremental_authorization.status](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-decremental_authorization)
|
3747
|
+
# must be available.
|
3748
|
+
#
|
3749
|
+
# Decremental authorizations decrease the authorized amount on your customer's card
|
3750
|
+
# to the new, lower amount provided. A single PaymentIntent can call this endpoint multiple times to further decrease the authorized amount.
|
3751
|
+
#
|
3752
|
+
# After decrement, the PaymentIntent object
|
3753
|
+
# returns with the updated
|
3754
|
+
# [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
|
3755
|
+
# The PaymentIntent will now be capturable up to the new authorized amount.
|
3756
|
+
#
|
3757
|
+
# Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines.
|
3758
|
+
# After it's fully captured, a PaymentIntent can no longer be decremented.
|
3759
|
+
def self.decrement_authorization(intent, params = {}, opts = {})
|
3760
|
+
request_stripe_object(
|
3761
|
+
method: :post,
|
3762
|
+
path: format("/v1/payment_intents/%<intent>s/decrement_authorization", { intent: CGI.escape(intent) }),
|
3763
|
+
params: params,
|
3764
|
+
opts: opts
|
3765
|
+
)
|
3766
|
+
end
|
3767
|
+
|
2918
3768
|
# Perform an incremental authorization on an eligible
|
2919
3769
|
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
2920
3770
|
# PaymentIntent's status must be requires_capture and
|
@@ -2999,6 +3849,26 @@ module Stripe
|
|
2999
3849
|
search(params, opts).auto_paging_each(&blk)
|
3000
3850
|
end
|
3001
3851
|
|
3852
|
+
# Trigger an external action on a PaymentIntent.
|
3853
|
+
def trigger_action(params = {}, opts = {})
|
3854
|
+
request_stripe_object(
|
3855
|
+
method: :post,
|
3856
|
+
path: format("/v1/test/payment_intents/%<intent>s/trigger_action", { intent: CGI.escape(self["id"]) }),
|
3857
|
+
params: params,
|
3858
|
+
opts: opts
|
3859
|
+
)
|
3860
|
+
end
|
3861
|
+
|
3862
|
+
# Trigger an external action on a PaymentIntent.
|
3863
|
+
def self.trigger_action(intent, params = {}, opts = {})
|
3864
|
+
request_stripe_object(
|
3865
|
+
method: :post,
|
3866
|
+
path: format("/v1/test/payment_intents/%<intent>s/trigger_action", { intent: CGI.escape(intent) }),
|
3867
|
+
params: params,
|
3868
|
+
opts: opts
|
3869
|
+
)
|
3870
|
+
end
|
3871
|
+
|
3002
3872
|
# Updates properties on a PaymentIntent object without confirming.
|
3003
3873
|
#
|
3004
3874
|
# Depending on which properties you update, you might need to confirm the
|
@@ -3039,8 +3909,10 @@ module Stripe
|
|
3039
3909
|
@inner_class_types = {
|
3040
3910
|
amount_details: AmountDetails,
|
3041
3911
|
automatic_payment_methods: AutomaticPaymentMethods,
|
3912
|
+
hooks: Hooks,
|
3042
3913
|
last_payment_error: LastPaymentError,
|
3043
3914
|
next_action: NextAction,
|
3915
|
+
payment_details: PaymentDetails,
|
3044
3916
|
payment_method_configuration_details: PaymentMethodConfigurationDetails,
|
3045
3917
|
payment_method_options: PaymentMethodOptions,
|
3046
3918
|
presentment_details: PresentmentDetails,
|