stripe 18.0.0 → 18.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 +1050 -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_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 +61 -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/events/v2_reporting_report_run_created_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +44 -0
- data/lib/stripe/object_types.rb +84 -0
- data/lib/stripe/params/account_create_params.rb +349 -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 +32 -0
- data/lib/stripe/params/account_person_update_params.rb +32 -0
- data/lib/stripe/params/account_session_create_params.rb +226 -1
- data/lib/stripe/params/account_update_params.rb +311 -0
- data/lib/stripe/params/balance_transfer_create_params.rb +66 -0
- data/lib/stripe/params/billing/alert_create_params.rb +121 -1
- data/lib/stripe/params/billing/alert_list_params.rb +4 -0
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +69 -0
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +17 -2
- data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +4 -0
- data/lib/stripe/params/billing/credit_grant_create_params.rb +33 -2
- data/lib/stripe/params/billing/credit_grant_list_params.rb +4 -0
- data/lib/stripe/params/billing/meter_create_params.rb +4 -0
- data/lib/stripe/params/billing/meter_event_summary_list_params.rb +8 -0
- data/lib/stripe/params/billing_portal/session_create_params.rb +4 -0
- data/lib/stripe/params/capital/financing_offer_create_params.rb +37 -0
- data/lib/stripe/params/capital/financing_offer_list_params.rb +58 -0
- data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +15 -0
- data/lib/stripe/params/capital/financing_offer_refill_params.rb +37 -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 +1648 -0
- data/lib/stripe/params/charge_update_params.rb +1648 -0
- data/lib/stripe/params/checkout/session_create_params.rb +273 -4
- data/lib/stripe/params/checkout/session_list_params.rb +4 -0
- data/lib/stripe/params/checkout/session_update_params.rb +288 -1
- data/lib/stripe/params/confirmation_token_create_params.rb +97 -0
- data/lib/stripe/params/coupon_create_params.rb +17 -1
- data/lib/stripe/params/credit_note_list_params.rb +4 -0
- data/lib/stripe/params/customer_session_create_params.rb +36 -2
- data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +55 -0
- data/lib/stripe/params/delegated_checkout/requested_session_create_params.rb +205 -0
- data/lib/stripe/params/delegated_checkout/requested_session_expire_params.rb +15 -0
- data/lib/stripe/params/delegated_checkout/requested_session_retrieve_params.rb +15 -0
- data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +209 -0
- data/lib/stripe/params/dispute_update_params.rb +10 -1
- data/lib/stripe/params/external_account_create_params.rb +134 -0
- data/lib/stripe/params/external_account_delete_params.rb +6 -0
- data/lib/stripe/params/external_account_list_params.rb +25 -0
- data/lib/stripe/params/external_account_retrieve_params.rb +13 -0
- data/lib/stripe/params/external_account_update_params.rb +91 -0
- data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +24 -0
- data/lib/stripe/params/financial_connections/account_list_params.rb +4 -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 +34 -2
- data/lib/stripe/params/fx_quote_create_params.rb +73 -0
- data/lib/stripe/params/fx_quote_list_params.rb +22 -0
- data/lib/stripe/params/fx_quote_retrieve_params.rb +13 -0
- data/lib/stripe/params/identity/blocklist_entry_create_params.rb +29 -0
- data/lib/stripe/params/identity/blocklist_entry_disable_params.rb +15 -0
- data/lib/stripe/params/identity/blocklist_entry_list_params.rb +62 -0
- data/lib/stripe/params/identity/blocklist_entry_retrieve_params.rb +15 -0
- data/lib/stripe/params/identity/verification_report_list_params.rb +4 -0
- data/lib/stripe/params/identity/verification_session_create_params.rb +4 -0
- data/lib/stripe/params/identity/verification_session_list_params.rb +4 -0
- data/lib/stripe/params/invoice_add_lines_params.rb +33 -1
- data/lib/stripe/params/invoice_attach_payment_params.rb +43 -1
- data/lib/stripe/params/invoice_create_params.rb +112 -2
- data/lib/stripe/params/invoice_create_preview_params.rb +909 -9
- data/lib/stripe/params/invoice_item_create_params.rb +37 -1
- data/lib/stripe/params/invoice_item_list_params.rb +4 -0
- data/lib/stripe/params/invoice_item_update_params.rb +33 -1
- data/lib/stripe/params/invoice_line_item_update_params.rb +33 -1
- data/lib/stripe/params/invoice_list_params.rb +8 -0
- data/lib/stripe/params/invoice_update_lines_params.rb +33 -1
- data/lib/stripe/params/invoice_update_params.rb +108 -2
- data/lib/stripe/params/issuing/cardholder_create_params.rb +2 -1
- data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +163 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +50 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +128 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +24 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +86 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +33 -0
- data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +44 -0
- data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/program_create_params.rb +21 -0
- data/lib/stripe/params/issuing/program_list_params.rb +24 -0
- data/lib/stripe/params/issuing/program_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/program_update_params.rb +21 -0
- data/lib/stripe/params/issuing/transaction_list_params.rb +4 -0
- data/lib/stripe/params/mandate_list_params.rb +39 -0
- data/lib/stripe/params/margin_create_params.rb +25 -0
- data/lib/stripe/params/margin_list_params.rb +25 -0
- data/lib/stripe/params/margin_retrieve_params.rb +13 -0
- data/lib/stripe/params/margin_update_params.rb +22 -0
- data/lib/stripe/params/order_cancel_params.rb +13 -0
- data/lib/stripe/params/order_create_params.rb +2061 -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 +2065 -0
- data/lib/stripe/params/payment_intent_capture_params.rb +1627 -1
- data/lib/stripe/params/payment_intent_confirm_params.rb +3306 -238
- data/lib/stripe/params/payment_intent_create_params.rb +3160 -84
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +73 -0
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +21 -0
- data/lib/stripe/params/payment_intent_list_params.rb +4 -0
- data/lib/stripe/params/payment_intent_trigger_action_params.rb +27 -0
- data/lib/stripe/params/payment_intent_update_params.rb +3192 -85
- data/lib/stripe/params/payment_method_attach_params.rb +4 -1
- data/lib/stripe/params/payment_method_check_balance_params.rb +13 -0
- data/lib/stripe/params/payment_method_configuration_create_params.rb +126 -0
- data/lib/stripe/params/payment_method_configuration_update_params.rb +126 -0
- data/lib/stripe/params/payment_method_create_params.rb +97 -0
- data/lib/stripe/params/payment_method_list_params.rb +8 -0
- data/lib/stripe/params/payment_method_update_params.rb +19 -0
- data/lib/stripe/params/price_update_params.rb +19 -0
- data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_create_params.rb +67 -0
- data/lib/stripe/params/privacy/redaction_job_list_params.rb +27 -0
- data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_run_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_update_params.rb +18 -0
- data/lib/stripe/params/privacy/redaction_job_validate_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +24 -0
- data/lib/stripe/params/promotion_code_create_params.rb +4 -0
- data/lib/stripe/params/promotion_code_list_params.rb +4 -0
- data/lib/stripe/params/quote_create_params.rb +1013 -3
- data/lib/stripe/params/quote_line_list_params.rb +22 -0
- data/lib/stripe/params/quote_list_lines_params.rb +22 -0
- data/lib/stripe/params/quote_list_params.rb +8 -0
- data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +22 -0
- data/lib/stripe/params/quote_mark_draft_params.rb +13 -0
- data/lib/stripe/params/quote_mark_stale_params.rb +16 -0
- data/lib/stripe/params/quote_preview_invoice_list_params.rb +22 -0
- data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +22 -0
- data/lib/stripe/params/quote_reestimate_params.rb +13 -0
- data/lib/stripe/params/quote_update_params.rb +1021 -4
- data/lib/stripe/params/radar/account_evaluation_create_params.rb +81 -0
- data/lib/stripe/params/radar/account_evaluation_retrieve_params.rb +15 -0
- data/lib/stripe/params/radar/account_evaluation_update_params.rb +18 -0
- data/lib/stripe/params/setup_intent_confirm_params.rb +254 -3
- data/lib/stripe/params/setup_intent_create_params.rb +260 -3
- data/lib/stripe/params/setup_intent_list_params.rb +4 -0
- data/lib/stripe/params/setup_intent_update_params.rb +261 -4
- data/lib/stripe/params/subscription_attach_cadence_params.rb +16 -0
- data/lib/stripe/params/subscription_create_params.rb +259 -5
- data/lib/stripe/params/subscription_item_create_params.rb +46 -2
- data/lib/stripe/params/subscription_item_update_params.rb +29 -1
- data/lib/stripe/params/subscription_list_params.rb +4 -0
- data/lib/stripe/params/subscription_schedule_amend_params.rb +597 -0
- data/lib/stripe/params/subscription_schedule_create_params.rb +229 -7
- data/lib/stripe/params/subscription_schedule_list_params.rb +4 -0
- data/lib/stripe/params/subscription_schedule_update_params.rb +225 -7
- data/lib/stripe/params/subscription_update_params.rb +238 -4
- 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_id_create_params.rb +4 -1
- data/lib/stripe/params/tax_id_list_params.rb +4 -1
- data/lib/stripe/params/terminal/configuration_create_params.rb +13 -0
- data/lib/stripe/params/terminal/configuration_update_params.rb +13 -0
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +15 -0
- data/lib/stripe/params/test_helpers/capital/financing_offer_create_params.rb +39 -0
- data/lib/stripe/params/test_helpers/capital/financing_offer_refill_params.rb +39 -0
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +97 -0
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +25 -1
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +25 -1
- data/lib/stripe/params/token_create_params.rb +64 -0
- data/lib/stripe/params/transfer_create_params.rb +8 -0
- data/lib/stripe/params/treasury/financial_account_create_params.rb +8 -1
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +4 -1
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +4 -1
- data/lib/stripe/params/treasury/financial_account_update_params.rb +8 -1
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +24 -0
- data/lib/stripe/params/treasury/received_credit_create_params.rb +25 -1
- data/lib/stripe/params/treasury/received_debit_create_params.rb +25 -1
- data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +74 -0
- data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +80 -0
- data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +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/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_subscriptions/component_retrieve_params.rb +12 -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 +2943 -0
- data/lib/stripe/params/v2/core/account_link_create_params.rb +101 -0
- data/lib/stripe/params/v2/core/account_list_params.rb +23 -0
- data/lib/stripe/params/v2/core/account_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/core/account_update_params.rb +2975 -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_list_params.rb +21 -21
- 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_list_params.rb +19 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +33 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +22 -0
- data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +48 -0
- data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +28 -0
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +34 -0
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +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/reporting/report_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/reporting/report_run_create_params.rb +33 -0
- data/lib/stripe/params/v2/reporting/report_run_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +23 -0
- data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +10 -0
- data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +24 -0
- data/lib/stripe/params.rb +254 -0
- data/lib/stripe/resources/account.rb +184 -1
- data/lib/stripe/resources/account_notice.rb +94 -0
- data/lib/stripe/resources/account_session.rb +81 -0
- data/lib/stripe/resources/application_fee.rb +2 -0
- data/lib/stripe/resources/balance.rb +83 -0
- data/lib/stripe/resources/balance_transfer.rb +139 -0
- data/lib/stripe/resources/billing/alert.rb +105 -1
- 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 +40 -0
- data/lib/stripe/resources/billing/credit_balance_summary.rb +86 -2
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +84 -2
- data/lib/stripe/resources/billing/credit_grant.rb +60 -2
- data/lib/stripe/resources/billing/meter.rb +2 -0
- data/lib/stripe/resources/billing/meter_event_summary.rb +2 -0
- data/lib/stripe/resources/billing_portal/session.rb +2 -0
- data/lib/stripe/resources/capital/financing_offer.rb +183 -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 +20 -1
- data/lib/stripe/resources/cash_balance.rb +2 -0
- data/lib/stripe/resources/charge.rb +255 -1
- data/lib/stripe/resources/checkout/session.rb +246 -4
- data/lib/stripe/resources/confirmation_token.rb +173 -0
- data/lib/stripe/resources/coupon.rb +26 -1
- data/lib/stripe/resources/credit_note.rb +2 -0
- data/lib/stripe/resources/credit_note_line_item.rb +18 -0
- data/lib/stripe/resources/customer.rb +2 -0
- data/lib/stripe/resources/customer_balance_transaction.rb +2 -0
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +2 -0
- data/lib/stripe/resources/customer_session.rb +38 -0
- data/lib/stripe/resources/delegated_checkout/requested_session.rb +420 -0
- data/lib/stripe/resources/discount.rb +4 -0
- data/lib/stripe/resources/dispute.rb +22 -0
- data/lib/stripe/resources/event.rb +64 -1
- data/lib/stripe/resources/financial_connections/account.rb +27 -0
- 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 +67 -1
- data/lib/stripe/resources/fx_quote.rb +147 -0
- data/lib/stripe/resources/identity/blocklist_entry.rb +116 -0
- data/lib/stripe/resources/identity/verification_report.rb +4 -0
- data/lib/stripe/resources/identity/verification_session.rb +2 -0
- data/lib/stripe/resources/invoice.rb +168 -1
- data/lib/stripe/resources/invoice_item.rb +110 -2
- data/lib/stripe/resources/invoice_line_item.rb +147 -1
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +263 -0
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +71 -0
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +51 -0
- data/lib/stripe/resources/issuing/program.rb +69 -0
- data/lib/stripe/resources/issuing/settlement.rb +61 -0
- data/lib/stripe/resources/issuing/transaction.rb +2 -0
- data/lib/stripe/resources/line_item.rb +68 -1
- data/lib/stripe/resources/mandate.rb +71 -0
- data/lib/stripe/resources/margin.rb +64 -0
- data/lib/stripe/resources/order.rb +987 -0
- data/lib/stripe/resources/payment_attempt_record.rb +203 -1
- data/lib/stripe/resources/payment_intent.rb +793 -4
- data/lib/stripe/resources/payment_method.rb +195 -0
- data/lib/stripe/resources/payment_method_balance.rb +68 -0
- data/lib/stripe/resources/payment_method_configuration.rb +204 -0
- data/lib/stripe/resources/payment_record.rb +203 -1
- data/lib/stripe/resources/person.rb +36 -0
- data/lib/stripe/resources/price.rb +20 -0
- 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/promotion_code.rb +2 -0
- data/lib/stripe/resources/quote.rb +918 -2
- data/lib/stripe/resources/quote_line.rb +521 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +1166 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +906 -0
- data/lib/stripe/resources/radar/account_evaluation.rb +116 -0
- data/lib/stripe/resources/refund.rb +18 -0
- data/lib/stripe/resources/setup_attempt.rb +63 -0
- data/lib/stripe/resources/setup_intent.rb +172 -1
- data/lib/stripe/resources/source.rb +38 -0
- data/lib/stripe/resources/subscription.rb +335 -0
- data/lib/stripe/resources/subscription_item.rb +20 -1
- data/lib/stripe/resources/subscription_schedule.rb +372 -3
- data/lib/stripe/resources/tax/form.rb +264 -0
- data/lib/stripe/resources/tax_id.rb +4 -0
- data/lib/stripe/resources/terminal/configuration.rb +16 -0
- data/lib/stripe/resources/terminal/reader.rb +8 -0
- data/lib/stripe/resources/terminal/reader_collected_data.rb +47 -0
- data/lib/stripe/resources/transfer.rb +6 -0
- data/lib/stripe/resources/transit_balance.rb +45 -0
- data/lib/stripe/resources/treasury/financial_account.rb +2 -0
- data/lib/stripe/resources/treasury/financial_account_features.rb +2 -0
- data/lib/stripe/resources/treasury/outbound_transfer.rb +30 -0
- data/lib/stripe/resources/treasury/received_credit.rb +30 -0
- data/lib/stripe/resources/treasury/received_debit.rb +32 -0
- data/lib/stripe/resources/v2/billing/bill_setting.rb +102 -0
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +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.rb +1 -2
- 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_subscription_components.rb +49 -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 +4967 -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 +4 -0
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +114 -0
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +81 -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 +230 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +140 -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/reporting/report.rb +116 -0
- data/lib/stripe/resources/v2/reporting/report_run.rb +128 -0
- data/lib/stripe/resources.rb +393 -0
- data/lib/stripe/services/account_notice_service.rb +39 -0
- data/lib/stripe/services/balance_transfer_service.rb +17 -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/delegated_checkout/requested_session_service.rb +63 -0
- data/lib/stripe/services/delegated_checkout_service.rb +13 -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/identity/blocklist_entry_service.rb +71 -0
- data/lib/stripe/services/identity_service.rb +2 -1
- 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/program_service.rb +52 -0
- data/lib/stripe/services/issuing_service.rb +6 -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_intent_service.rb +37 -0
- data/lib/stripe/services/payment_method_service.rb +11 -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/radar/account_evaluation_service.rb +41 -0
- data/lib/stripe/services/radar_service.rb +2 -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/form_service.rb +37 -0
- data/lib/stripe/services/tax_service.rb +2 -1
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +19 -0
- data/lib/stripe/services/terminal_service.rb +2 -1
- data/lib/stripe/services/test_helpers/capital/financing_offer_service.rb +32 -0
- data/lib/stripe/services/test_helpers/capital_service.rb +15 -0
- data/lib/stripe/services/test_helpers_service.rb +2 -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 +51 -0
- data/lib/stripe/services/v2/billing/pricing_plan_subscriptions/component_service.rb +23 -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 +85 -0
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +101 -0
- data/lib/stripe/services/v2/core/vault_service.rb +18 -0
- data/lib/stripe/services/v2/core_service.rb +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 +70 -0
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +46 -0
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +45 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +34 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +62 -0
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +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/reporting/report_run_service.rb +38 -0
- data/lib/stripe/services/v2/reporting/report_service.rb +23 -0
- data/lib/stripe/services/v2/reporting_service.rb +16 -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 +88 -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 +178406 -88690
- metadata +738 -3
|
@@ -27,6 +27,19 @@ module Stripe
|
|
|
27
27
|
|
|
28
28
|
nested_resource_class_methods :amount_details_line_item, operations: %i[list]
|
|
29
29
|
|
|
30
|
+
class AllocatedFunds < ::Stripe::StripeObject
|
|
31
|
+
# Allocated Funds configuration for this PaymentIntent.
|
|
32
|
+
attr_reader :enabled
|
|
33
|
+
|
|
34
|
+
def self.inner_class_types
|
|
35
|
+
@inner_class_types = {}
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
def self.field_remappings
|
|
39
|
+
@field_remappings = {}
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
|
|
30
43
|
class AmountDetails < ::Stripe::StripeObject
|
|
31
44
|
class Shipping < ::Stripe::StripeObject
|
|
32
45
|
# If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than or equal to 0.
|
|
@@ -1185,19 +1198,388 @@ module Stripe
|
|
|
1185
1198
|
end
|
|
1186
1199
|
|
|
1187
1200
|
class PaymentDetails < ::Stripe::StripeObject
|
|
1201
|
+
class Benefit < ::Stripe::StripeObject
|
|
1202
|
+
class FrMealVoucher < ::Stripe::StripeObject
|
|
1203
|
+
# The 14-digit SIRET of the meal voucher acceptor.
|
|
1204
|
+
attr_reader :siret
|
|
1205
|
+
|
|
1206
|
+
def self.inner_class_types
|
|
1207
|
+
@inner_class_types = {}
|
|
1208
|
+
end
|
|
1209
|
+
|
|
1210
|
+
def self.field_remappings
|
|
1211
|
+
@field_remappings = {}
|
|
1212
|
+
end
|
|
1213
|
+
end
|
|
1214
|
+
# Attribute for field fr_meal_voucher
|
|
1215
|
+
attr_reader :fr_meal_voucher
|
|
1216
|
+
|
|
1217
|
+
def self.inner_class_types
|
|
1218
|
+
@inner_class_types = { fr_meal_voucher: FrMealVoucher }
|
|
1219
|
+
end
|
|
1220
|
+
|
|
1221
|
+
def self.field_remappings
|
|
1222
|
+
@field_remappings = {}
|
|
1223
|
+
end
|
|
1224
|
+
end
|
|
1225
|
+
|
|
1226
|
+
class CarRental < ::Stripe::StripeObject
|
|
1227
|
+
class Affiliate < ::Stripe::StripeObject
|
|
1228
|
+
# The name of the affiliate that originated the purchase.
|
|
1229
|
+
attr_reader :name
|
|
1230
|
+
|
|
1231
|
+
def self.inner_class_types
|
|
1232
|
+
@inner_class_types = {}
|
|
1233
|
+
end
|
|
1234
|
+
|
|
1235
|
+
def self.field_remappings
|
|
1236
|
+
@field_remappings = {}
|
|
1237
|
+
end
|
|
1238
|
+
end
|
|
1239
|
+
|
|
1240
|
+
class Delivery < ::Stripe::StripeObject
|
|
1241
|
+
class Recipient < ::Stripe::StripeObject
|
|
1242
|
+
# The email of the recipient the ticket is delivered to.
|
|
1243
|
+
attr_reader :email
|
|
1244
|
+
# The name of the recipient the ticket is delivered to.
|
|
1245
|
+
attr_reader :name
|
|
1246
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
1247
|
+
attr_reader :phone
|
|
1248
|
+
|
|
1249
|
+
def self.inner_class_types
|
|
1250
|
+
@inner_class_types = {}
|
|
1251
|
+
end
|
|
1252
|
+
|
|
1253
|
+
def self.field_remappings
|
|
1254
|
+
@field_remappings = {}
|
|
1255
|
+
end
|
|
1256
|
+
end
|
|
1257
|
+
# The delivery method for the payment
|
|
1258
|
+
attr_reader :mode
|
|
1259
|
+
# Attribute for field recipient
|
|
1260
|
+
attr_reader :recipient
|
|
1261
|
+
|
|
1262
|
+
def self.inner_class_types
|
|
1263
|
+
@inner_class_types = { recipient: Recipient }
|
|
1264
|
+
end
|
|
1265
|
+
|
|
1266
|
+
def self.field_remappings
|
|
1267
|
+
@field_remappings = {}
|
|
1268
|
+
end
|
|
1269
|
+
end
|
|
1270
|
+
|
|
1271
|
+
class Distance < ::Stripe::StripeObject
|
|
1272
|
+
# Distance traveled.
|
|
1273
|
+
attr_reader :amount
|
|
1274
|
+
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`
|
|
1275
|
+
attr_reader :unit
|
|
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 Driver < ::Stripe::StripeObject
|
|
1287
|
+
# Driver's identification number.
|
|
1288
|
+
attr_reader :driver_identification_number
|
|
1289
|
+
# Driver's tax number.
|
|
1290
|
+
attr_reader :driver_tax_number
|
|
1291
|
+
# Full name of the driver on the reservation.
|
|
1292
|
+
attr_reader :name
|
|
1293
|
+
|
|
1294
|
+
def self.inner_class_types
|
|
1295
|
+
@inner_class_types = {}
|
|
1296
|
+
end
|
|
1297
|
+
|
|
1298
|
+
def self.field_remappings
|
|
1299
|
+
@field_remappings = {}
|
|
1300
|
+
end
|
|
1301
|
+
end
|
|
1302
|
+
|
|
1303
|
+
class PickupAddress < ::Stripe::StripeObject
|
|
1304
|
+
# City, district, suburb, town, or village.
|
|
1305
|
+
attr_reader :city
|
|
1306
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1307
|
+
attr_reader :country
|
|
1308
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1309
|
+
attr_reader :line1
|
|
1310
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1311
|
+
attr_reader :line2
|
|
1312
|
+
# ZIP or postal code.
|
|
1313
|
+
attr_reader :postal_code
|
|
1314
|
+
# State, county, province, or region.
|
|
1315
|
+
attr_reader :state
|
|
1316
|
+
|
|
1317
|
+
def self.inner_class_types
|
|
1318
|
+
@inner_class_types = {}
|
|
1319
|
+
end
|
|
1320
|
+
|
|
1321
|
+
def self.field_remappings
|
|
1322
|
+
@field_remappings = {}
|
|
1323
|
+
end
|
|
1324
|
+
end
|
|
1325
|
+
|
|
1326
|
+
class ReturnAddress < ::Stripe::StripeObject
|
|
1327
|
+
# City, district, suburb, town, or village.
|
|
1328
|
+
attr_reader :city
|
|
1329
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1330
|
+
attr_reader :country
|
|
1331
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1332
|
+
attr_reader :line1
|
|
1333
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1334
|
+
attr_reader :line2
|
|
1335
|
+
# ZIP or postal code.
|
|
1336
|
+
attr_reader :postal_code
|
|
1337
|
+
# State, county, province, or region.
|
|
1338
|
+
attr_reader :state
|
|
1339
|
+
|
|
1340
|
+
def self.inner_class_types
|
|
1341
|
+
@inner_class_types = {}
|
|
1342
|
+
end
|
|
1343
|
+
|
|
1344
|
+
def self.field_remappings
|
|
1345
|
+
@field_remappings = {}
|
|
1346
|
+
end
|
|
1347
|
+
end
|
|
1348
|
+
# Attribute for field affiliate
|
|
1349
|
+
attr_reader :affiliate
|
|
1350
|
+
# The booking number associated with the car rental.
|
|
1351
|
+
attr_reader :booking_number
|
|
1352
|
+
# Class code of the car.
|
|
1353
|
+
attr_reader :car_class_code
|
|
1354
|
+
# Make of the car.
|
|
1355
|
+
attr_reader :car_make
|
|
1356
|
+
# Model of the car.
|
|
1357
|
+
attr_reader :car_model
|
|
1358
|
+
# The name of the rental car company.
|
|
1359
|
+
attr_reader :company
|
|
1360
|
+
# The customer service phone number of the car rental company.
|
|
1361
|
+
attr_reader :customer_service_phone_number
|
|
1362
|
+
# Number of days the car is being rented.
|
|
1363
|
+
attr_reader :days_rented
|
|
1364
|
+
# Attribute for field delivery
|
|
1365
|
+
attr_reader :delivery
|
|
1366
|
+
# Attribute for field distance
|
|
1367
|
+
attr_reader :distance
|
|
1368
|
+
# The details of the drivers associated with the trip.
|
|
1369
|
+
attr_reader :drivers
|
|
1370
|
+
# List of additional charges being billed.
|
|
1371
|
+
attr_reader :extra_charges
|
|
1372
|
+
# Indicates if the customer did not keep nor cancel their booking.
|
|
1373
|
+
attr_reader :no_show
|
|
1374
|
+
# Attribute for field pickup_address
|
|
1375
|
+
attr_reader :pickup_address
|
|
1376
|
+
# Car pick-up time. Measured in seconds since the Unix epoch.
|
|
1377
|
+
attr_reader :pickup_at
|
|
1378
|
+
# Name of the pickup location.
|
|
1379
|
+
attr_reader :pickup_location_name
|
|
1380
|
+
# Rental rate.
|
|
1381
|
+
attr_reader :rate_amount
|
|
1382
|
+
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
1383
|
+
attr_reader :rate_interval
|
|
1384
|
+
# The full name of the person or entity renting the car.
|
|
1385
|
+
attr_reader :renter_name
|
|
1386
|
+
# Attribute for field return_address
|
|
1387
|
+
attr_reader :return_address
|
|
1388
|
+
# Car return time. Measured in seconds since the Unix epoch.
|
|
1389
|
+
attr_reader :return_at
|
|
1390
|
+
# Name of the return location.
|
|
1391
|
+
attr_reader :return_location_name
|
|
1392
|
+
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
1393
|
+
attr_reader :tax_exempt
|
|
1394
|
+
# The vehicle identification number of the car.
|
|
1395
|
+
attr_reader :vehicle_identification_number
|
|
1396
|
+
|
|
1397
|
+
def self.inner_class_types
|
|
1398
|
+
@inner_class_types = {
|
|
1399
|
+
affiliate: Affiliate,
|
|
1400
|
+
delivery: Delivery,
|
|
1401
|
+
distance: Distance,
|
|
1402
|
+
drivers: Driver,
|
|
1403
|
+
pickup_address: PickupAddress,
|
|
1404
|
+
return_address: ReturnAddress,
|
|
1405
|
+
}
|
|
1406
|
+
end
|
|
1407
|
+
|
|
1408
|
+
def self.field_remappings
|
|
1409
|
+
@field_remappings = {}
|
|
1410
|
+
end
|
|
1411
|
+
end
|
|
1412
|
+
|
|
1413
|
+
class EventDetails < ::Stripe::StripeObject
|
|
1414
|
+
class Address < ::Stripe::StripeObject
|
|
1415
|
+
# City, district, suburb, town, or village.
|
|
1416
|
+
attr_reader :city
|
|
1417
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1418
|
+
attr_reader :country
|
|
1419
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1420
|
+
attr_reader :line1
|
|
1421
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1422
|
+
attr_reader :line2
|
|
1423
|
+
# ZIP or postal code.
|
|
1424
|
+
attr_reader :postal_code
|
|
1425
|
+
# State, county, province, or region.
|
|
1426
|
+
attr_reader :state
|
|
1427
|
+
|
|
1428
|
+
def self.inner_class_types
|
|
1429
|
+
@inner_class_types = {}
|
|
1430
|
+
end
|
|
1431
|
+
|
|
1432
|
+
def self.field_remappings
|
|
1433
|
+
@field_remappings = {}
|
|
1434
|
+
end
|
|
1435
|
+
end
|
|
1436
|
+
|
|
1437
|
+
class Affiliate < ::Stripe::StripeObject
|
|
1438
|
+
# The name of the affiliate that originated the purchase.
|
|
1439
|
+
attr_reader :name
|
|
1440
|
+
|
|
1441
|
+
def self.inner_class_types
|
|
1442
|
+
@inner_class_types = {}
|
|
1443
|
+
end
|
|
1444
|
+
|
|
1445
|
+
def self.field_remappings
|
|
1446
|
+
@field_remappings = {}
|
|
1447
|
+
end
|
|
1448
|
+
end
|
|
1449
|
+
|
|
1450
|
+
class Delivery < ::Stripe::StripeObject
|
|
1451
|
+
class Recipient < ::Stripe::StripeObject
|
|
1452
|
+
# The email of the recipient the ticket is delivered to.
|
|
1453
|
+
attr_reader :email
|
|
1454
|
+
# The name of the recipient the ticket is delivered to.
|
|
1455
|
+
attr_reader :name
|
|
1456
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
1457
|
+
attr_reader :phone
|
|
1458
|
+
|
|
1459
|
+
def self.inner_class_types
|
|
1460
|
+
@inner_class_types = {}
|
|
1461
|
+
end
|
|
1462
|
+
|
|
1463
|
+
def self.field_remappings
|
|
1464
|
+
@field_remappings = {}
|
|
1465
|
+
end
|
|
1466
|
+
end
|
|
1467
|
+
# The delivery method for the payment
|
|
1468
|
+
attr_reader :mode
|
|
1469
|
+
# Attribute for field recipient
|
|
1470
|
+
attr_reader :recipient
|
|
1471
|
+
|
|
1472
|
+
def self.inner_class_types
|
|
1473
|
+
@inner_class_types = { recipient: Recipient }
|
|
1474
|
+
end
|
|
1475
|
+
|
|
1476
|
+
def self.field_remappings
|
|
1477
|
+
@field_remappings = {}
|
|
1478
|
+
end
|
|
1479
|
+
end
|
|
1480
|
+
# Indicates if the tickets are digitally checked when entering the venue.
|
|
1481
|
+
attr_reader :access_controlled_venue
|
|
1482
|
+
# Attribute for field address
|
|
1483
|
+
attr_reader :address
|
|
1484
|
+
# Attribute for field affiliate
|
|
1485
|
+
attr_reader :affiliate
|
|
1486
|
+
# The name of the company
|
|
1487
|
+
attr_reader :company
|
|
1488
|
+
# Attribute for field delivery
|
|
1489
|
+
attr_reader :delivery
|
|
1490
|
+
# Event end time. Measured in seconds since the Unix epoch.
|
|
1491
|
+
attr_reader :ends_at
|
|
1492
|
+
# Type of the event entertainment (concert, sports event etc)
|
|
1493
|
+
attr_reader :genre
|
|
1494
|
+
# The name of the event.
|
|
1495
|
+
attr_reader :name
|
|
1496
|
+
# Event start time. Measured in seconds since the Unix epoch.
|
|
1497
|
+
attr_reader :starts_at
|
|
1498
|
+
|
|
1499
|
+
def self.inner_class_types
|
|
1500
|
+
@inner_class_types = { address: Address, affiliate: Affiliate, delivery: Delivery }
|
|
1501
|
+
end
|
|
1502
|
+
|
|
1503
|
+
def self.field_remappings
|
|
1504
|
+
@field_remappings = {}
|
|
1505
|
+
end
|
|
1506
|
+
end
|
|
1507
|
+
|
|
1508
|
+
class Subscription < ::Stripe::StripeObject
|
|
1509
|
+
class Affiliate < ::Stripe::StripeObject
|
|
1510
|
+
# The name of the affiliate that originated the purchase.
|
|
1511
|
+
attr_reader :name
|
|
1512
|
+
|
|
1513
|
+
def self.inner_class_types
|
|
1514
|
+
@inner_class_types = {}
|
|
1515
|
+
end
|
|
1516
|
+
|
|
1517
|
+
def self.field_remappings
|
|
1518
|
+
@field_remappings = {}
|
|
1519
|
+
end
|
|
1520
|
+
end
|
|
1521
|
+
|
|
1522
|
+
class BillingInterval < ::Stripe::StripeObject
|
|
1523
|
+
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1524
|
+
attr_reader :count
|
|
1525
|
+
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1526
|
+
attr_reader :interval
|
|
1527
|
+
|
|
1528
|
+
def self.inner_class_types
|
|
1529
|
+
@inner_class_types = {}
|
|
1530
|
+
end
|
|
1531
|
+
|
|
1532
|
+
def self.field_remappings
|
|
1533
|
+
@field_remappings = {}
|
|
1534
|
+
end
|
|
1535
|
+
end
|
|
1536
|
+
# Attribute for field affiliate
|
|
1537
|
+
attr_reader :affiliate
|
|
1538
|
+
# Info whether the subscription will be auto renewed upon expiry.
|
|
1539
|
+
attr_reader :auto_renewal
|
|
1540
|
+
# Attribute for field billing_interval
|
|
1541
|
+
attr_reader :billing_interval
|
|
1542
|
+
# Subscription end time. Measured in seconds since the Unix epoch.
|
|
1543
|
+
attr_reader :ends_at
|
|
1544
|
+
# Name of the product on subscription. e.g. Apple Music Subscription.
|
|
1545
|
+
attr_reader :name
|
|
1546
|
+
# Subscription start time. Measured in seconds since the Unix epoch.
|
|
1547
|
+
attr_reader :starts_at
|
|
1548
|
+
|
|
1549
|
+
def self.inner_class_types
|
|
1550
|
+
@inner_class_types = { affiliate: Affiliate, billing_interval: BillingInterval }
|
|
1551
|
+
end
|
|
1552
|
+
|
|
1553
|
+
def self.field_remappings
|
|
1554
|
+
@field_remappings = {}
|
|
1555
|
+
end
|
|
1556
|
+
end
|
|
1557
|
+
# Attribute for field benefit
|
|
1558
|
+
attr_reader :benefit
|
|
1559
|
+
# Attribute for field car_rental
|
|
1560
|
+
attr_reader :car_rental
|
|
1188
1561
|
# A unique value to identify the customer. This field is available only for card payments.
|
|
1189
1562
|
#
|
|
1190
1563
|
# This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
1191
1564
|
attr_reader :customer_reference
|
|
1565
|
+
# Attribute for field event_details
|
|
1566
|
+
attr_reader :event_details
|
|
1192
1567
|
# A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
1193
1568
|
#
|
|
1194
1569
|
# Required when the Payment Method Types array contains `card`, including when [automatic_payment_methods.enabled](/api/payment_intents/create#create_payment_intent-automatic_payment_methods-enabled) is set to `true`.
|
|
1195
1570
|
#
|
|
1196
1571
|
# For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
|
|
1197
1572
|
attr_reader :order_reference
|
|
1573
|
+
# Attribute for field subscription
|
|
1574
|
+
attr_reader :subscription
|
|
1198
1575
|
|
|
1199
1576
|
def self.inner_class_types
|
|
1200
|
-
@inner_class_types = {
|
|
1577
|
+
@inner_class_types = {
|
|
1578
|
+
benefit: Benefit,
|
|
1579
|
+
car_rental: CarRental,
|
|
1580
|
+
event_details: EventDetails,
|
|
1581
|
+
subscription: Subscription,
|
|
1582
|
+
}
|
|
1201
1583
|
end
|
|
1202
1584
|
|
|
1203
1585
|
def self.field_remappings
|
|
@@ -1575,6 +1957,43 @@ module Stripe
|
|
|
1575
1957
|
@field_remappings = {}
|
|
1576
1958
|
end
|
|
1577
1959
|
end
|
|
1960
|
+
|
|
1961
|
+
class StatementDetails < ::Stripe::StripeObject
|
|
1962
|
+
class Address < ::Stripe::StripeObject
|
|
1963
|
+
# City, district, suburb, town, or village.
|
|
1964
|
+
attr_reader :city
|
|
1965
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1966
|
+
attr_reader :country
|
|
1967
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1968
|
+
attr_reader :line1
|
|
1969
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1970
|
+
attr_reader :line2
|
|
1971
|
+
# ZIP or postal code.
|
|
1972
|
+
attr_reader :postal_code
|
|
1973
|
+
# State, county, province, or region.
|
|
1974
|
+
attr_reader :state
|
|
1975
|
+
|
|
1976
|
+
def self.inner_class_types
|
|
1977
|
+
@inner_class_types = {}
|
|
1978
|
+
end
|
|
1979
|
+
|
|
1980
|
+
def self.field_remappings
|
|
1981
|
+
@field_remappings = {}
|
|
1982
|
+
end
|
|
1983
|
+
end
|
|
1984
|
+
# Attribute for field address
|
|
1985
|
+
attr_reader :address
|
|
1986
|
+
# Phone number
|
|
1987
|
+
attr_reader :phone
|
|
1988
|
+
|
|
1989
|
+
def self.inner_class_types
|
|
1990
|
+
@inner_class_types = { address: Address }
|
|
1991
|
+
end
|
|
1992
|
+
|
|
1993
|
+
def self.field_remappings
|
|
1994
|
+
@field_remappings = {}
|
|
1995
|
+
end
|
|
1996
|
+
end
|
|
1578
1997
|
# Controls when the funds will be captured from the customer's account.
|
|
1579
1998
|
attr_reader :capture_method
|
|
1580
1999
|
# Installment details for this payment.
|
|
@@ -1585,6 +2004,8 @@ module Stripe
|
|
|
1585
2004
|
attr_reader :mandate_options
|
|
1586
2005
|
# 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.
|
|
1587
2006
|
attr_reader :network
|
|
2007
|
+
# Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent.
|
|
2008
|
+
attr_reader :request_decremental_authorization
|
|
1588
2009
|
# Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
|
|
1589
2010
|
attr_reader :request_extended_authorization
|
|
1590
2011
|
# Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent.
|
|
@@ -1593,6 +2014,8 @@ module Stripe
|
|
|
1593
2014
|
attr_reader :request_multicapture
|
|
1594
2015
|
# Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent.
|
|
1595
2016
|
attr_reader :request_overcapture
|
|
2017
|
+
# Request partial authorization on this PaymentIntent.
|
|
2018
|
+
attr_reader :request_partial_authorization
|
|
1596
2019
|
# 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.
|
|
1597
2020
|
attr_reader :request_three_d_secure
|
|
1598
2021
|
# 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).
|
|
@@ -1609,9 +2032,15 @@ module Stripe
|
|
|
1609
2032
|
attr_reader :statement_descriptor_suffix_kana
|
|
1610
2033
|
# 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.
|
|
1611
2034
|
attr_reader :statement_descriptor_suffix_kanji
|
|
2035
|
+
# Attribute for field statement_details
|
|
2036
|
+
attr_reader :statement_details
|
|
1612
2037
|
|
|
1613
2038
|
def self.inner_class_types
|
|
1614
|
-
@inner_class_types = {
|
|
2039
|
+
@inner_class_types = {
|
|
2040
|
+
installments: Installments,
|
|
2041
|
+
mandate_options: MandateOptions,
|
|
2042
|
+
statement_details: StatementDetails,
|
|
2043
|
+
}
|
|
1615
2044
|
end
|
|
1616
2045
|
|
|
1617
2046
|
def self.field_remappings
|
|
@@ -1800,6 +2229,25 @@ module Stripe
|
|
|
1800
2229
|
end
|
|
1801
2230
|
end
|
|
1802
2231
|
|
|
2232
|
+
class Gopay < ::Stripe::StripeObject
|
|
2233
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2234
|
+
#
|
|
2235
|
+
# 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.
|
|
2236
|
+
#
|
|
2237
|
+
# 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.
|
|
2238
|
+
#
|
|
2239
|
+
# 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).
|
|
2240
|
+
attr_reader :setup_future_usage
|
|
2241
|
+
|
|
2242
|
+
def self.inner_class_types
|
|
2243
|
+
@inner_class_types = {}
|
|
2244
|
+
end
|
|
2245
|
+
|
|
2246
|
+
def self.field_remappings
|
|
2247
|
+
@field_remappings = {}
|
|
2248
|
+
end
|
|
2249
|
+
end
|
|
2250
|
+
|
|
1803
2251
|
class Grabpay < ::Stripe::StripeObject
|
|
1804
2252
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1805
2253
|
#
|
|
@@ -1819,6 +2267,29 @@ module Stripe
|
|
|
1819
2267
|
end
|
|
1820
2268
|
end
|
|
1821
2269
|
|
|
2270
|
+
class IdBankTransfer < ::Stripe::StripeObject
|
|
2271
|
+
# The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now till 2678400 seconds (31 days) from now.
|
|
2272
|
+
attr_reader :expires_after
|
|
2273
|
+
# 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.
|
|
2274
|
+
attr_reader :expires_at
|
|
2275
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2276
|
+
#
|
|
2277
|
+
# 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.
|
|
2278
|
+
#
|
|
2279
|
+
# 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.
|
|
2280
|
+
#
|
|
2281
|
+
# 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).
|
|
2282
|
+
attr_reader :setup_future_usage
|
|
2283
|
+
|
|
2284
|
+
def self.inner_class_types
|
|
2285
|
+
@inner_class_types = {}
|
|
2286
|
+
end
|
|
2287
|
+
|
|
2288
|
+
def self.field_remappings
|
|
2289
|
+
@field_remappings = {}
|
|
2290
|
+
end
|
|
2291
|
+
end
|
|
2292
|
+
|
|
1822
2293
|
class Ideal < ::Stripe::StripeObject
|
|
1823
2294
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1824
2295
|
#
|
|
@@ -2147,12 +2618,56 @@ module Stripe
|
|
|
2147
2618
|
end
|
|
2148
2619
|
|
|
2149
2620
|
class Paypal < ::Stripe::StripeObject
|
|
2621
|
+
class LineItem < ::Stripe::StripeObject
|
|
2622
|
+
class Tax < ::Stripe::StripeObject
|
|
2623
|
+
# The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
|
2624
|
+
attr_reader :amount
|
|
2625
|
+
# The tax behavior for the line item.
|
|
2626
|
+
attr_reader :behavior
|
|
2627
|
+
|
|
2628
|
+
def self.inner_class_types
|
|
2629
|
+
@inner_class_types = {}
|
|
2630
|
+
end
|
|
2631
|
+
|
|
2632
|
+
def self.field_remappings
|
|
2633
|
+
@field_remappings = {}
|
|
2634
|
+
end
|
|
2635
|
+
end
|
|
2636
|
+
# Type of the line item.
|
|
2637
|
+
attr_reader :category
|
|
2638
|
+
# Description of the line item.
|
|
2639
|
+
attr_reader :description
|
|
2640
|
+
# Descriptive name of the line item.
|
|
2641
|
+
attr_reader :name
|
|
2642
|
+
# Quantity of the line item. Cannot be a negative number.
|
|
2643
|
+
attr_reader :quantity
|
|
2644
|
+
# Client facing stock keeping unit, article number or similar.
|
|
2645
|
+
attr_reader :sku
|
|
2646
|
+
# 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).
|
|
2647
|
+
attr_reader :sold_by
|
|
2648
|
+
# Attribute for field tax
|
|
2649
|
+
attr_reader :tax
|
|
2650
|
+
# Price for a single unit of the line item in minor units. Cannot be a negative number.
|
|
2651
|
+
attr_reader :unit_amount
|
|
2652
|
+
|
|
2653
|
+
def self.inner_class_types
|
|
2654
|
+
@inner_class_types = { tax: Tax }
|
|
2655
|
+
end
|
|
2656
|
+
|
|
2657
|
+
def self.field_remappings
|
|
2658
|
+
@field_remappings = {}
|
|
2659
|
+
end
|
|
2660
|
+
end
|
|
2150
2661
|
# Controls when the funds will be captured from the customer's account.
|
|
2151
2662
|
attr_reader :capture_method
|
|
2663
|
+
# The line items purchased by the customer.
|
|
2664
|
+
attr_reader :line_items
|
|
2152
2665
|
# Preferred locale of the PayPal checkout page that the customer is redirected to.
|
|
2153
2666
|
attr_reader :preferred_locale
|
|
2154
2667
|
# 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.
|
|
2155
2668
|
attr_reader :reference
|
|
2669
|
+
# 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.
|
|
2670
|
+
attr_reader :reference_id
|
|
2156
2671
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2157
2672
|
#
|
|
2158
2673
|
# 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.
|
|
@@ -2161,7 +2676,19 @@ module Stripe
|
|
|
2161
2676
|
#
|
|
2162
2677
|
# 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).
|
|
2163
2678
|
attr_reader :setup_future_usage
|
|
2679
|
+
# 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.
|
|
2680
|
+
attr_reader :subsellers
|
|
2164
2681
|
|
|
2682
|
+
def self.inner_class_types
|
|
2683
|
+
@inner_class_types = { line_items: LineItem }
|
|
2684
|
+
end
|
|
2685
|
+
|
|
2686
|
+
def self.field_remappings
|
|
2687
|
+
@field_remappings = {}
|
|
2688
|
+
end
|
|
2689
|
+
end
|
|
2690
|
+
|
|
2691
|
+
class Paypay < ::Stripe::StripeObject
|
|
2165
2692
|
def self.inner_class_types
|
|
2166
2693
|
@inner_class_types = {}
|
|
2167
2694
|
end
|
|
@@ -2171,13 +2698,84 @@ module Stripe
|
|
|
2171
2698
|
end
|
|
2172
2699
|
end
|
|
2173
2700
|
|
|
2701
|
+
class Payto < ::Stripe::StripeObject
|
|
2702
|
+
class MandateOptions < ::Stripe::StripeObject
|
|
2703
|
+
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
2704
|
+
attr_reader :amount
|
|
2705
|
+
# 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. Defaults to `maximum`.
|
|
2706
|
+
attr_reader :amount_type
|
|
2707
|
+
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
2708
|
+
attr_reader :end_date
|
|
2709
|
+
# The periodicity at which payments will be collected. Defaults to `adhoc`.
|
|
2710
|
+
attr_reader :payment_schedule
|
|
2711
|
+
# 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.
|
|
2712
|
+
attr_reader :payments_per_period
|
|
2713
|
+
# The purpose for which payments are made. Has a default value based on your merchant category code.
|
|
2714
|
+
attr_reader :purpose
|
|
2715
|
+
|
|
2716
|
+
def self.inner_class_types
|
|
2717
|
+
@inner_class_types = {}
|
|
2718
|
+
end
|
|
2719
|
+
|
|
2720
|
+
def self.field_remappings
|
|
2721
|
+
@field_remappings = {}
|
|
2722
|
+
end
|
|
2723
|
+
end
|
|
2724
|
+
# Attribute for field mandate_options
|
|
2725
|
+
attr_reader :mandate_options
|
|
2726
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2727
|
+
#
|
|
2728
|
+
# 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.
|
|
2729
|
+
#
|
|
2730
|
+
# 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.
|
|
2731
|
+
#
|
|
2732
|
+
# 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).
|
|
2733
|
+
attr_reader :setup_future_usage
|
|
2734
|
+
|
|
2735
|
+
def self.inner_class_types
|
|
2736
|
+
@inner_class_types = { mandate_options: MandateOptions }
|
|
2737
|
+
end
|
|
2738
|
+
|
|
2739
|
+
def self.field_remappings
|
|
2740
|
+
@field_remappings = {}
|
|
2741
|
+
end
|
|
2742
|
+
end
|
|
2743
|
+
|
|
2174
2744
|
class Pix < ::Stripe::StripeObject
|
|
2745
|
+
class MandateOptions < ::Stripe::StripeObject
|
|
2746
|
+
# Amount to be charged for future payments.
|
|
2747
|
+
attr_reader :amount
|
|
2748
|
+
# Determines if the amount includes the IOF tax.
|
|
2749
|
+
attr_reader :amount_includes_iof
|
|
2750
|
+
# Type of amount.
|
|
2751
|
+
attr_reader :amount_type
|
|
2752
|
+
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase.
|
|
2753
|
+
attr_reader :currency
|
|
2754
|
+
# Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`.
|
|
2755
|
+
attr_reader :end_date
|
|
2756
|
+
# Schedule at which the future payments will be charged.
|
|
2757
|
+
attr_reader :payment_schedule
|
|
2758
|
+
# Subscription name displayed to buyers in their bank app.
|
|
2759
|
+
attr_reader :reference
|
|
2760
|
+
# Start date of the mandate, in `YYYY-MM-DD`.
|
|
2761
|
+
attr_reader :start_date
|
|
2762
|
+
|
|
2763
|
+
def self.inner_class_types
|
|
2764
|
+
@inner_class_types = {}
|
|
2765
|
+
end
|
|
2766
|
+
|
|
2767
|
+
def self.field_remappings
|
|
2768
|
+
@field_remappings = {}
|
|
2769
|
+
end
|
|
2770
|
+
end
|
|
2175
2771
|
# Determines if the amount includes the IOF tax.
|
|
2176
2772
|
attr_reader :amount_includes_iof
|
|
2177
2773
|
# The number of seconds (between 10 and 1209600) after which Pix payment will expire.
|
|
2178
2774
|
attr_reader :expires_after_seconds
|
|
2179
2775
|
# The timestamp at which the Pix expires.
|
|
2180
2776
|
attr_reader :expires_at
|
|
2777
|
+
# Attribute for field mandate_options
|
|
2778
|
+
attr_reader :mandate_options
|
|
2181
2779
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2182
2780
|
#
|
|
2183
2781
|
# 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.
|
|
@@ -2188,7 +2786,7 @@ module Stripe
|
|
|
2188
2786
|
attr_reader :setup_future_usage
|
|
2189
2787
|
|
|
2190
2788
|
def self.inner_class_types
|
|
2191
|
-
@inner_class_types = {}
|
|
2789
|
+
@inner_class_types = { mandate_options: MandateOptions }
|
|
2192
2790
|
end
|
|
2193
2791
|
|
|
2194
2792
|
def self.field_remappings
|
|
@@ -2215,6 +2813,35 @@ module Stripe
|
|
|
2215
2813
|
end
|
|
2216
2814
|
end
|
|
2217
2815
|
|
|
2816
|
+
class Qris < ::Stripe::StripeObject
|
|
2817
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2818
|
+
#
|
|
2819
|
+
# 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.
|
|
2820
|
+
#
|
|
2821
|
+
# 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.
|
|
2822
|
+
#
|
|
2823
|
+
# 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).
|
|
2824
|
+
attr_reader :setup_future_usage
|
|
2825
|
+
|
|
2826
|
+
def self.inner_class_types
|
|
2827
|
+
@inner_class_types = {}
|
|
2828
|
+
end
|
|
2829
|
+
|
|
2830
|
+
def self.field_remappings
|
|
2831
|
+
@field_remappings = {}
|
|
2832
|
+
end
|
|
2833
|
+
end
|
|
2834
|
+
|
|
2835
|
+
class Rechnung < ::Stripe::StripeObject
|
|
2836
|
+
def self.inner_class_types
|
|
2837
|
+
@inner_class_types = {}
|
|
2838
|
+
end
|
|
2839
|
+
|
|
2840
|
+
def self.field_remappings
|
|
2841
|
+
@field_remappings = {}
|
|
2842
|
+
end
|
|
2843
|
+
end
|
|
2844
|
+
|
|
2218
2845
|
class RevolutPay < ::Stripe::StripeObject
|
|
2219
2846
|
# Controls when the funds will be captured from the customer's account.
|
|
2220
2847
|
attr_reader :capture_method
|
|
@@ -2297,6 +2924,25 @@ module Stripe
|
|
|
2297
2924
|
end
|
|
2298
2925
|
end
|
|
2299
2926
|
|
|
2927
|
+
class Shopeepay < ::Stripe::StripeObject
|
|
2928
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2929
|
+
#
|
|
2930
|
+
# 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.
|
|
2931
|
+
#
|
|
2932
|
+
# 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.
|
|
2933
|
+
#
|
|
2934
|
+
# 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).
|
|
2935
|
+
attr_reader :setup_future_usage
|
|
2936
|
+
|
|
2937
|
+
def self.inner_class_types
|
|
2938
|
+
@inner_class_types = {}
|
|
2939
|
+
end
|
|
2940
|
+
|
|
2941
|
+
def self.field_remappings
|
|
2942
|
+
@field_remappings = {}
|
|
2943
|
+
end
|
|
2944
|
+
end
|
|
2945
|
+
|
|
2300
2946
|
class Sofort < ::Stripe::StripeObject
|
|
2301
2947
|
# Preferred language of the SOFORT authorization page that the customer is redirected to.
|
|
2302
2948
|
attr_reader :preferred_language
|
|
@@ -2318,6 +2964,25 @@ module Stripe
|
|
|
2318
2964
|
end
|
|
2319
2965
|
end
|
|
2320
2966
|
|
|
2967
|
+
class StripeBalance < ::Stripe::StripeObject
|
|
2968
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2969
|
+
#
|
|
2970
|
+
# 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.
|
|
2971
|
+
#
|
|
2972
|
+
# 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.
|
|
2973
|
+
#
|
|
2974
|
+
# 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).
|
|
2975
|
+
attr_reader :setup_future_usage
|
|
2976
|
+
|
|
2977
|
+
def self.inner_class_types
|
|
2978
|
+
@inner_class_types = {}
|
|
2979
|
+
end
|
|
2980
|
+
|
|
2981
|
+
def self.field_remappings
|
|
2982
|
+
@field_remappings = {}
|
|
2983
|
+
end
|
|
2984
|
+
end
|
|
2985
|
+
|
|
2321
2986
|
class Swish < ::Stripe::StripeObject
|
|
2322
2987
|
# A reference for this payment to be displayed in the Swish app.
|
|
2323
2988
|
attr_reader :reference
|
|
@@ -2363,6 +3028,21 @@ module Stripe
|
|
|
2363
3028
|
class Filters < ::Stripe::StripeObject
|
|
2364
3029
|
# The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
2365
3030
|
attr_reader :account_subcategories
|
|
3031
|
+
# The institution to use to filter for possible accounts to link.
|
|
3032
|
+
attr_reader :institution
|
|
3033
|
+
|
|
3034
|
+
def self.inner_class_types
|
|
3035
|
+
@inner_class_types = {}
|
|
3036
|
+
end
|
|
3037
|
+
|
|
3038
|
+
def self.field_remappings
|
|
3039
|
+
@field_remappings = {}
|
|
3040
|
+
end
|
|
3041
|
+
end
|
|
3042
|
+
|
|
3043
|
+
class ManualEntry < ::Stripe::StripeObject
|
|
3044
|
+
# Settings for configuring manual entry of account details.
|
|
3045
|
+
attr_reader :mode
|
|
2366
3046
|
|
|
2367
3047
|
def self.inner_class_types
|
|
2368
3048
|
@inner_class_types = {}
|
|
@@ -2374,6 +3054,8 @@ module Stripe
|
|
|
2374
3054
|
end
|
|
2375
3055
|
# Attribute for field filters
|
|
2376
3056
|
attr_reader :filters
|
|
3057
|
+
# Attribute for field manual_entry
|
|
3058
|
+
attr_reader :manual_entry
|
|
2377
3059
|
# The list of permissions to request. The `payment_method` permission must be included.
|
|
2378
3060
|
attr_reader :permissions
|
|
2379
3061
|
# Data features requested to be retrieved upon account creation.
|
|
@@ -2382,7 +3064,7 @@ module Stripe
|
|
|
2382
3064
|
attr_reader :return_url
|
|
2383
3065
|
|
|
2384
3066
|
def self.inner_class_types
|
|
2385
|
-
@inner_class_types = { filters: Filters }
|
|
3067
|
+
@inner_class_types = { filters: Filters, manual_entry: ManualEntry }
|
|
2386
3068
|
end
|
|
2387
3069
|
|
|
2388
3070
|
def self.field_remappings
|
|
@@ -2514,8 +3196,12 @@ module Stripe
|
|
|
2514
3196
|
attr_reader :fpx
|
|
2515
3197
|
# Attribute for field giropay
|
|
2516
3198
|
attr_reader :giropay
|
|
3199
|
+
# Attribute for field gopay
|
|
3200
|
+
attr_reader :gopay
|
|
2517
3201
|
# Attribute for field grabpay
|
|
2518
3202
|
attr_reader :grabpay
|
|
3203
|
+
# Attribute for field id_bank_transfer
|
|
3204
|
+
attr_reader :id_bank_transfer
|
|
2519
3205
|
# Attribute for field ideal
|
|
2520
3206
|
attr_reader :ideal
|
|
2521
3207
|
# Attribute for field interac_present
|
|
@@ -2552,10 +3238,18 @@ module Stripe
|
|
|
2552
3238
|
attr_reader :paynow
|
|
2553
3239
|
# Attribute for field paypal
|
|
2554
3240
|
attr_reader :paypal
|
|
3241
|
+
# Attribute for field paypay
|
|
3242
|
+
attr_reader :paypay
|
|
3243
|
+
# Attribute for field payto
|
|
3244
|
+
attr_reader :payto
|
|
2555
3245
|
# Attribute for field pix
|
|
2556
3246
|
attr_reader :pix
|
|
2557
3247
|
# Attribute for field promptpay
|
|
2558
3248
|
attr_reader :promptpay
|
|
3249
|
+
# Attribute for field qris
|
|
3250
|
+
attr_reader :qris
|
|
3251
|
+
# Attribute for field rechnung
|
|
3252
|
+
attr_reader :rechnung
|
|
2559
3253
|
# Attribute for field revolut_pay
|
|
2560
3254
|
attr_reader :revolut_pay
|
|
2561
3255
|
# Attribute for field samsung_pay
|
|
@@ -2564,8 +3258,12 @@ module Stripe
|
|
|
2564
3258
|
attr_reader :satispay
|
|
2565
3259
|
# Attribute for field sepa_debit
|
|
2566
3260
|
attr_reader :sepa_debit
|
|
3261
|
+
# Attribute for field shopeepay
|
|
3262
|
+
attr_reader :shopeepay
|
|
2567
3263
|
# Attribute for field sofort
|
|
2568
3264
|
attr_reader :sofort
|
|
3265
|
+
# Attribute for field stripe_balance
|
|
3266
|
+
attr_reader :stripe_balance
|
|
2569
3267
|
# Attribute for field swish
|
|
2570
3268
|
attr_reader :swish
|
|
2571
3269
|
# Attribute for field twint
|
|
@@ -2599,7 +3297,9 @@ module Stripe
|
|
|
2599
3297
|
eps: Eps,
|
|
2600
3298
|
fpx: Fpx,
|
|
2601
3299
|
giropay: Giropay,
|
|
3300
|
+
gopay: Gopay,
|
|
2602
3301
|
grabpay: Grabpay,
|
|
3302
|
+
id_bank_transfer: IdBankTransfer,
|
|
2603
3303
|
ideal: Ideal,
|
|
2604
3304
|
interac_present: InteracPresent,
|
|
2605
3305
|
kakao_pay: KakaoPay,
|
|
@@ -2618,13 +3318,19 @@ module Stripe
|
|
|
2618
3318
|
payco: Payco,
|
|
2619
3319
|
paynow: Paynow,
|
|
2620
3320
|
paypal: Paypal,
|
|
3321
|
+
paypay: Paypay,
|
|
3322
|
+
payto: Payto,
|
|
2621
3323
|
pix: Pix,
|
|
2622
3324
|
promptpay: Promptpay,
|
|
3325
|
+
qris: Qris,
|
|
3326
|
+
rechnung: Rechnung,
|
|
2623
3327
|
revolut_pay: RevolutPay,
|
|
2624
3328
|
samsung_pay: SamsungPay,
|
|
2625
3329
|
satispay: Satispay,
|
|
2626
3330
|
sepa_debit: SepaDebit,
|
|
3331
|
+
shopeepay: Shopeepay,
|
|
2627
3332
|
sofort: Sofort,
|
|
3333
|
+
stripe_balance: StripeBalance,
|
|
2628
3334
|
swish: Swish,
|
|
2629
3335
|
twint: Twint,
|
|
2630
3336
|
us_bank_account: UsBankAccount,
|
|
@@ -2753,6 +3459,8 @@ module Stripe
|
|
|
2753
3459
|
@field_remappings = {}
|
|
2754
3460
|
end
|
|
2755
3461
|
end
|
|
3462
|
+
# Allocated Funds configuration for this PaymentIntent.
|
|
3463
|
+
attr_reader :allocated_funds
|
|
2756
3464
|
# Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
|
|
2757
3465
|
attr_reader :amount
|
|
2758
3466
|
# Amount that can be captured from this PaymentIntent.
|
|
@@ -2791,10 +3499,18 @@ module Stripe
|
|
|
2791
3499
|
#
|
|
2792
3500
|
# 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.
|
|
2793
3501
|
attr_reader :customer
|
|
3502
|
+
# ID of the Account this PaymentIntent belongs to, if one exists.
|
|
3503
|
+
#
|
|
3504
|
+
# Payment methods attached to other Accounts cannot be used with this PaymentIntent.
|
|
3505
|
+
#
|
|
3506
|
+
# 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.
|
|
3507
|
+
attr_reader :customer_account
|
|
2794
3508
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
|
2795
3509
|
attr_reader :description
|
|
2796
3510
|
# The list of payment method types to exclude from use with this payment.
|
|
2797
3511
|
attr_reader :excluded_payment_method_types
|
|
3512
|
+
# The FX Quote used for the PaymentIntent.
|
|
3513
|
+
attr_reader :fx_quote
|
|
2798
3514
|
# Attribute for field hooks
|
|
2799
3515
|
attr_reader :hooks
|
|
2800
3516
|
# Unique identifier for the object.
|
|
@@ -2831,6 +3547,8 @@ module Stripe
|
|
|
2831
3547
|
attr_reader :receipt_email
|
|
2832
3548
|
# ID of the review associated with this PaymentIntent, if any.
|
|
2833
3549
|
attr_reader :review
|
|
3550
|
+
# Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`.
|
|
3551
|
+
attr_reader :secret_key_confirmation
|
|
2834
3552
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2835
3553
|
#
|
|
2836
3554
|
# 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.
|
|
@@ -3024,6 +3742,56 @@ module Stripe
|
|
|
3024
3742
|
request_stripe_object(method: :post, path: "/v1/payment_intents", params: params, opts: opts)
|
|
3025
3743
|
end
|
|
3026
3744
|
|
|
3745
|
+
# Perform a decremental authorization on an eligible
|
|
3746
|
+
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
3747
|
+
# PaymentIntent's status must be requires_capture and
|
|
3748
|
+
# [decremental_authorization.status](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-decremental_authorization)
|
|
3749
|
+
# must be available.
|
|
3750
|
+
#
|
|
3751
|
+
# Decremental authorizations decrease the authorized amount on your customer's card
|
|
3752
|
+
# to the new, lower amount provided. A single PaymentIntent can call this endpoint multiple times to further decrease the authorized amount.
|
|
3753
|
+
#
|
|
3754
|
+
# After decrement, the PaymentIntent object
|
|
3755
|
+
# returns with the updated
|
|
3756
|
+
# [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
|
|
3757
|
+
# The PaymentIntent will now be capturable up to the new authorized amount.
|
|
3758
|
+
#
|
|
3759
|
+
# Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines.
|
|
3760
|
+
# After it's fully captured, a PaymentIntent can no longer be decremented.
|
|
3761
|
+
def decrement_authorization(params = {}, opts = {})
|
|
3762
|
+
request_stripe_object(
|
|
3763
|
+
method: :post,
|
|
3764
|
+
path: format("/v1/payment_intents/%<intent>s/decrement_authorization", { intent: CGI.escape(self["id"]) }),
|
|
3765
|
+
params: params,
|
|
3766
|
+
opts: opts
|
|
3767
|
+
)
|
|
3768
|
+
end
|
|
3769
|
+
|
|
3770
|
+
# Perform a decremental authorization on an eligible
|
|
3771
|
+
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
3772
|
+
# PaymentIntent's status must be requires_capture and
|
|
3773
|
+
# [decremental_authorization.status](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-decremental_authorization)
|
|
3774
|
+
# must be available.
|
|
3775
|
+
#
|
|
3776
|
+
# Decremental authorizations decrease the authorized amount on your customer's card
|
|
3777
|
+
# to the new, lower amount provided. A single PaymentIntent can call this endpoint multiple times to further decrease the authorized amount.
|
|
3778
|
+
#
|
|
3779
|
+
# After decrement, the PaymentIntent object
|
|
3780
|
+
# returns with the updated
|
|
3781
|
+
# [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
|
|
3782
|
+
# The PaymentIntent will now be capturable up to the new authorized amount.
|
|
3783
|
+
#
|
|
3784
|
+
# Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines.
|
|
3785
|
+
# After it's fully captured, a PaymentIntent can no longer be decremented.
|
|
3786
|
+
def self.decrement_authorization(intent, params = {}, opts = {})
|
|
3787
|
+
request_stripe_object(
|
|
3788
|
+
method: :post,
|
|
3789
|
+
path: format("/v1/payment_intents/%<intent>s/decrement_authorization", { intent: CGI.escape(intent) }),
|
|
3790
|
+
params: params,
|
|
3791
|
+
opts: opts
|
|
3792
|
+
)
|
|
3793
|
+
end
|
|
3794
|
+
|
|
3027
3795
|
# Perform an incremental authorization on an eligible
|
|
3028
3796
|
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
3029
3797
|
# PaymentIntent's status must be requires_capture and
|
|
@@ -3108,6 +3876,26 @@ module Stripe
|
|
|
3108
3876
|
search(params, opts).auto_paging_each(&blk)
|
|
3109
3877
|
end
|
|
3110
3878
|
|
|
3879
|
+
# Trigger an external action on a PaymentIntent.
|
|
3880
|
+
def trigger_action(params = {}, opts = {})
|
|
3881
|
+
request_stripe_object(
|
|
3882
|
+
method: :post,
|
|
3883
|
+
path: format("/v1/test/payment_intents/%<intent>s/trigger_action", { intent: CGI.escape(self["id"]) }),
|
|
3884
|
+
params: params,
|
|
3885
|
+
opts: opts
|
|
3886
|
+
)
|
|
3887
|
+
end
|
|
3888
|
+
|
|
3889
|
+
# Trigger an external action on a PaymentIntent.
|
|
3890
|
+
def self.trigger_action(intent, params = {}, opts = {})
|
|
3891
|
+
request_stripe_object(
|
|
3892
|
+
method: :post,
|
|
3893
|
+
path: format("/v1/test/payment_intents/%<intent>s/trigger_action", { intent: CGI.escape(intent) }),
|
|
3894
|
+
params: params,
|
|
3895
|
+
opts: opts
|
|
3896
|
+
)
|
|
3897
|
+
end
|
|
3898
|
+
|
|
3111
3899
|
# Updates properties on a PaymentIntent object without confirming.
|
|
3112
3900
|
#
|
|
3113
3901
|
# Depending on which properties you update, you might need to confirm the
|
|
@@ -3146,6 +3934,7 @@ module Stripe
|
|
|
3146
3934
|
|
|
3147
3935
|
def self.inner_class_types
|
|
3148
3936
|
@inner_class_types = {
|
|
3937
|
+
allocated_funds: AllocatedFunds,
|
|
3149
3938
|
amount_details: AmountDetails,
|
|
3150
3939
|
automatic_payment_methods: AutomaticPaymentMethods,
|
|
3151
3940
|
hooks: Hooks,
|