stripe 17.2.0.pre.beta.1 → 17.3.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_version.rb +1 -1
- data/lib/stripe/event_types.rb +817 -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_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_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_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_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 +29 -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 +5 -1
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +13 -1
- data/lib/stripe/params/billing/credit_grant_create_params.rb +29 -2
- 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/capital/financing_offer_create_params.rb +37 -0
- data/lib/stripe/params/capital/financing_offer_refill_params.rb +37 -0
- data/lib/stripe/params/charge_capture_params.rb +2 -8
- data/lib/stripe/params/charge_update_params.rb +2 -8
- data/lib/stripe/params/checkout/session_create_params.rb +80 -1
- 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/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/invoice_list_params.rb +4 -0
- data/lib/stripe/params/payment_intent_capture_params.rb +13 -29
- data/lib/stripe/params/payment_intent_confirm_params.rb +48 -30
- data/lib/stripe/params/payment_intent_create_params.rb +48 -30
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +13 -29
- data/lib/stripe/params/payment_intent_update_params.rb +48 -30
- data/lib/stripe/params/payment_method_check_balance_params.rb +13 -0
- data/lib/stripe/params/setup_intent_confirm_params.rb +29 -0
- data/lib/stripe/params/setup_intent_create_params.rb +29 -0
- data/lib/stripe/params/setup_intent_update_params.rb +30 -1
- 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/transfer_create_params.rb +5 -1
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +8 -1
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +4 -0
- data/lib/stripe/params/v2/billing/cadence_update_params.rb +4 -1
- 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/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_create_params.rb +703 -8
- data/lib/stripe/params/v2/core/account_update_params.rb +689 -8
- 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/money_management/financial_address_create_params.rb +12 -1
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +4 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +19 -1
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +4 -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/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/tax/automatic_rule_create_params.rb +20 -0
- data/lib/stripe/params/v2/tax/automatic_rule_deactivate_params.rb +10 -0
- data/lib/stripe/params/v2/tax/automatic_rule_find_params.rb +17 -0
- data/lib/stripe/params/v2/tax/automatic_rule_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/tax/automatic_rule_update_params.rb +17 -0
- data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +24 -0
- data/lib/stripe/params.rb +89 -0
- data/lib/stripe/resources/application_fee.rb +2 -0
- data/lib/stripe/resources/balance.rb +83 -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_row.rb +2 -0
- data/lib/stripe/resources/billing/credit_balance_summary.rb +84 -2
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +84 -2
- data/lib/stripe/resources/billing/credit_grant.rb +58 -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/capital/financing_offer.rb +41 -0
- data/lib/stripe/resources/card.rb +18 -1
- data/lib/stripe/resources/charge.rb +18 -0
- data/lib/stripe/resources/checkout/session.rb +92 -0
- data/lib/stripe/resources/confirmation_token.rb +18 -0
- data/lib/stripe/resources/delegated_checkout/requested_session.rb +402 -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/invoice_item.rb +90 -2
- data/lib/stripe/resources/invoice_line_item.rb +91 -1
- data/lib/stripe/resources/payment_intent.rb +51 -17
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +7 -13
- data/lib/stripe/resources/payment_method.rb +38 -0
- data/lib/stripe/resources/payment_method_balance.rb +68 -0
- data/lib/stripe/resources/setup_intent.rb +40 -0
- data/lib/stripe/resources/transfer.rb +4 -0
- data/lib/stripe/resources/transit_balance.rb +45 -0
- data/lib/stripe/resources/v2/billing/cadence.rb +46 -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/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/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 +1065 -4
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +105 -0
- data/lib/stripe/resources/v2/core/event.rb +6 -2
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +2 -0
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +2 -0
- data/lib/stripe/resources/v2/money_management/payout_method.rb +29 -1
- data/lib/stripe/resources/v2/money_management/received_credit.rb +2 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +4 -0
- data/lib/stripe/resources/v2/money_management/recipient_verification.rb +83 -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/v2/tax/automatic_rule.rb +39 -0
- data/lib/stripe/resources.rb +281 -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/identity/blocklist_entry_service.rb +71 -0
- data/lib/stripe/services/identity_service.rb +2 -1
- data/lib/stripe/services/payment_method_service.rb +11 -0
- 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 +2 -1
- 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/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 +14 -1
- data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +35 -0
- data/lib/stripe/services/v2/core_service.rb +2 -1
- data/lib/stripe/services/v2/money_management/recipient_verification_service.rb +43 -0
- data/lib/stripe/services/v2/money_management_service.rb +3 -1
- 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/tax/automatic_rule_service.rb +65 -0
- data/lib/stripe/services/v2/tax_service.rb +15 -0
- data/lib/stripe/services/v2/test_helper_service.rb +2 -1
- data/lib/stripe/services/v2/test_helpers/money_management_service.rb +21 -0
- data/lib/stripe/services/v2_services.rb +3 -1
- data/lib/stripe/services.rb +31 -0
- data/lib/stripe/version.rb +1 -1
- data/rbi/stripe.rbi +13567 -760
- metadata +403 -2
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
module V2
|
|
6
|
+
module Core
|
|
7
|
+
# A claimable sandbox represents a Stripe sandbox that is anonymous.
|
|
8
|
+
# When it is created, it can be prefilled with specific metadata, such as email, name, or country.
|
|
9
|
+
# Claimable sandboxes can be claimed through a URL. When a user claims a sandbox through this URL,
|
|
10
|
+
# it will prompt them to create a new Stripe account. Or, it will allow them to claim this sandbox in their
|
|
11
|
+
# existing Stripe account.
|
|
12
|
+
# Claimable sandboxes have 60 days to be claimed. After this expiration time has passed,
|
|
13
|
+
# if the sandbox is not claimed, it will be deleted.
|
|
14
|
+
class ClaimableSandbox < APIResource
|
|
15
|
+
OBJECT_NAME = "v2.core.claimable_sandbox"
|
|
16
|
+
def self.object_name
|
|
17
|
+
"v2.core.claimable_sandbox"
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
class Prefill < ::Stripe::StripeObject
|
|
21
|
+
# Country in which the account holder resides, or in which the business is legally established.
|
|
22
|
+
# Use two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
23
|
+
attr_reader :country
|
|
24
|
+
# Email that this sandbox is meant to be claimed by. Stripe will
|
|
25
|
+
# send an email to this email address before the sandbox expires.
|
|
26
|
+
attr_reader :email
|
|
27
|
+
# Name for the sandbox.
|
|
28
|
+
attr_reader :name
|
|
29
|
+
|
|
30
|
+
def self.inner_class_types
|
|
31
|
+
@inner_class_types = {}
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
def self.field_remappings
|
|
35
|
+
@field_remappings = {}
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
class SandboxDetails < ::Stripe::StripeObject
|
|
40
|
+
class ApiKeys < ::Stripe::StripeObject
|
|
41
|
+
# Used to communicate with [Stripe's MCP server](https://docs.stripe.com/mcp).
|
|
42
|
+
# This allows LLM agents to securely operate on a Stripe account.
|
|
43
|
+
attr_reader :mcp
|
|
44
|
+
# Publicly accessible in a web or mobile app client-side code.
|
|
45
|
+
attr_reader :publishable
|
|
46
|
+
# Should be stored securely in server-side code (such as an environment variable).
|
|
47
|
+
attr_reader :secret
|
|
48
|
+
|
|
49
|
+
def self.inner_class_types
|
|
50
|
+
@inner_class_types = {}
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
def self.field_remappings
|
|
54
|
+
@field_remappings = {}
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
# The sandbox's Stripe account ID.
|
|
58
|
+
attr_reader :account
|
|
59
|
+
# Keys that can be used to set up an integration for this sandbox and operate on the account. This will be present only in the create response, and will be null in subsequent retrieve responses.
|
|
60
|
+
attr_reader :api_keys
|
|
61
|
+
# The livemode sandbox Stripe account ID. This field is only set if the user activates their sandbox
|
|
62
|
+
# and chooses to install your platform's Stripe App in their live account.
|
|
63
|
+
attr_reader :owner_account
|
|
64
|
+
|
|
65
|
+
def self.inner_class_types
|
|
66
|
+
@inner_class_types = { api_keys: ApiKeys }
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
def self.field_remappings
|
|
70
|
+
@field_remappings = {}
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
# URL for user to claim sandbox into their existing Stripe account.
|
|
74
|
+
# The value will be null if the sandbox status is `claimed` or `expired`.
|
|
75
|
+
attr_reader :claim_url
|
|
76
|
+
# The timestamp the sandbox was claimed. The value will be null if the sandbox status is not `claimed`.
|
|
77
|
+
attr_reader :claimed_at
|
|
78
|
+
# When the sandbox is created.
|
|
79
|
+
attr_reader :created
|
|
80
|
+
# The timestamp the sandbox will expire. The value will be null if the sandbox is `claimed`.
|
|
81
|
+
attr_reader :expires_at
|
|
82
|
+
# Unique identifier for the Claimable sandbox.
|
|
83
|
+
attr_reader :id
|
|
84
|
+
# String representing the object's type. Objects of the same type share the same value of the object field.
|
|
85
|
+
attr_reader :object
|
|
86
|
+
# Values prefilled during the creation of the sandbox. When a user claims the sandbox, they will be able to update these values.
|
|
87
|
+
attr_reader :prefill
|
|
88
|
+
# Data about the Stripe sandbox object.
|
|
89
|
+
attr_reader :sandbox_details
|
|
90
|
+
# Status of the sandbox. One of `unclaimed`, `expired`, `claimed`.
|
|
91
|
+
attr_reader :status
|
|
92
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
93
|
+
attr_reader :livemode
|
|
94
|
+
|
|
95
|
+
def self.inner_class_types
|
|
96
|
+
@inner_class_types = { prefill: Prefill, sandbox_details: SandboxDetails }
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
def self.field_remappings
|
|
100
|
+
@field_remappings = {}
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
end
|
|
104
|
+
end
|
|
105
|
+
end
|
|
@@ -39,20 +39,24 @@ module Stripe
|
|
|
39
39
|
@field_remappings = {}
|
|
40
40
|
end
|
|
41
41
|
end
|
|
42
|
+
# Before and after changes for the primary related object.
|
|
43
|
+
attr_reader :changes
|
|
42
44
|
# Authentication context needed to fetch the event or related object.
|
|
43
45
|
attr_reader :context
|
|
44
46
|
# Time at which the object was created.
|
|
45
47
|
attr_reader :created
|
|
46
48
|
# Unique identifier for the event.
|
|
47
49
|
attr_reader :id
|
|
50
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
51
|
+
attr_reader :livemode
|
|
48
52
|
# String representing the object's type. Objects of the same type share the same value of the object field.
|
|
49
53
|
attr_reader :object
|
|
50
54
|
# Reason for the event.
|
|
51
55
|
attr_reader :reason
|
|
52
56
|
# The type of the event.
|
|
53
57
|
attr_reader :type
|
|
54
|
-
#
|
|
55
|
-
attr_reader :
|
|
58
|
+
# For interop events, this is the snapshot event ID.
|
|
59
|
+
attr_reader :v1_event_id
|
|
56
60
|
|
|
57
61
|
def self.inner_class_types
|
|
58
62
|
@inner_class_types = { reason: Reason }
|
|
@@ -178,6 +178,8 @@ module Stripe
|
|
|
178
178
|
attr_reader :receipt_url
|
|
179
179
|
# Details about the OutboundPayment notification settings for recipient.
|
|
180
180
|
attr_reader :recipient_notification
|
|
181
|
+
# The recipient verification id for this OutboundPayment. Only required for countries with regulatory mandates to verify recipient names before OutboundPayment creation.
|
|
182
|
+
attr_reader :recipient_verification
|
|
181
183
|
# The description that appears on the receiving end for an OutboundPayment (for example, bank statement for external bank transfer). It will default to `STRIPE` if not set on the account settings.
|
|
182
184
|
attr_reader :statement_descriptor
|
|
183
185
|
# Closed Enum. Current status of the OutboundPayment: `processing`, `failed`, `posted`, `returned`, `canceled`.
|
|
@@ -158,6 +158,8 @@ module Stripe
|
|
|
158
158
|
attr_reader :object
|
|
159
159
|
# A link to the Stripe-hosted receipt for this OutboundTransfer. The receipt link remains active for 60 days from the OutboundTransfer creation date. After this period, the link will expire and the receipt url value will be null.
|
|
160
160
|
attr_reader :receipt_url
|
|
161
|
+
# The recipient verification id for this OutboundTransfer. Only required for countries with regulatory mandates to verify recipient names before OutboundTransfer creation.
|
|
162
|
+
attr_reader :recipient_verification
|
|
161
163
|
# The description that appears on the receiving end for an OutboundTransfer (for example, bank statement for external bank transfer). It will default to `STRIPE` if not set on the account settings.
|
|
162
164
|
attr_reader :statement_descriptor
|
|
163
165
|
# Closed Enum. Current status of the OutboundTransfer: `processing`, `failed`, `posted`, `returned`, `canceled`.
|
|
@@ -75,6 +75,27 @@ module Stripe
|
|
|
75
75
|
@field_remappings = {}
|
|
76
76
|
end
|
|
77
77
|
end
|
|
78
|
+
|
|
79
|
+
class CryptoWallet < ::Stripe::StripeObject
|
|
80
|
+
# Destination wallet address.
|
|
81
|
+
attr_reader :address
|
|
82
|
+
# Whether the crypto wallet was archived. Crypto wallets can be archived through the /archive API,
|
|
83
|
+
# and they will not be automatically archived by Stripe. Archived crypto wallets cannot be used as
|
|
84
|
+
# payout method and will not appear in the payout method list.
|
|
85
|
+
attr_reader :archived
|
|
86
|
+
# Optional field, required if network supports memos (only "stellar" currently).
|
|
87
|
+
attr_reader :memo
|
|
88
|
+
# Which rail is being used to make an outbound money movement to this wallet.
|
|
89
|
+
attr_reader :network
|
|
90
|
+
|
|
91
|
+
def self.inner_class_types
|
|
92
|
+
@inner_class_types = {}
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
def self.field_remappings
|
|
96
|
+
@field_remappings = {}
|
|
97
|
+
end
|
|
98
|
+
end
|
|
78
99
|
# A set of available payout speeds for this payout method.
|
|
79
100
|
attr_reader :available_payout_speeds
|
|
80
101
|
# Created timestamp.
|
|
@@ -95,9 +116,16 @@ module Stripe
|
|
|
95
116
|
attr_reader :bank_account
|
|
96
117
|
# The PayoutMethodCard object details.
|
|
97
118
|
attr_reader :card
|
|
119
|
+
# The PayoutMethodCryptoWallet object details.
|
|
120
|
+
attr_reader :crypto_wallet
|
|
98
121
|
|
|
99
122
|
def self.inner_class_types
|
|
100
|
-
@inner_class_types = {
|
|
123
|
+
@inner_class_types = {
|
|
124
|
+
usage_status: UsageStatus,
|
|
125
|
+
bank_account: BankAccount,
|
|
126
|
+
card: Card,
|
|
127
|
+
crypto_wallet: CryptoWallet,
|
|
128
|
+
}
|
|
101
129
|
end
|
|
102
130
|
|
|
103
131
|
def self.field_remappings
|
|
@@ -187,6 +187,8 @@ module Stripe
|
|
|
187
187
|
attr_reader :created
|
|
188
188
|
# Freeform string set by originator of the ReceivedCredit.
|
|
189
189
|
attr_reader :description
|
|
190
|
+
# The amount and currency of the original/external credit request.
|
|
191
|
+
attr_reader :external_amount
|
|
190
192
|
# Financial Account ID on which funds for ReceivedCredit were received.
|
|
191
193
|
attr_reader :financial_account
|
|
192
194
|
# Unique identifier for the ReceivedCredit.
|
|
@@ -76,6 +76,8 @@ module Stripe
|
|
|
76
76
|
end
|
|
77
77
|
# The Financial Address that was debited.
|
|
78
78
|
attr_reader :financial_address
|
|
79
|
+
# Open Enum. Indicates the origin type through which this debit was initiated.
|
|
80
|
+
attr_reader :origin_type
|
|
79
81
|
# Open Enum. The type of the payment method used to originate the debit.
|
|
80
82
|
attr_reader :payment_method_type
|
|
81
83
|
# The statement descriptor set by the originator of the debit.
|
|
@@ -98,6 +100,8 @@ module Stripe
|
|
|
98
100
|
attr_reader :created
|
|
99
101
|
# Freeform string sent by the originator of the ReceivedDebit.
|
|
100
102
|
attr_reader :description
|
|
103
|
+
# The amount and currency of the original/external debit request.
|
|
104
|
+
attr_reader :external_amount
|
|
101
105
|
# Financial Account on which funds for ReceivedDebit were debited.
|
|
102
106
|
attr_reader :financial_account
|
|
103
107
|
# Unique identifier for the ReceivedDebit.
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
module V2
|
|
6
|
+
module MoneyManagement
|
|
7
|
+
# RecipientVerification represents a verification of recipient you intend to send funds to.
|
|
8
|
+
class RecipientVerification < APIResource
|
|
9
|
+
OBJECT_NAME = "v2.money_management.recipient_verification"
|
|
10
|
+
def self.object_name
|
|
11
|
+
"v2.money_management.recipient_verification"
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
class MatchResultDetails < ::Stripe::StripeObject
|
|
15
|
+
# The account name associated with the bank account as provided by the VoP provider, only present if there is a match or close match.
|
|
16
|
+
attr_reader :matched_name
|
|
17
|
+
# A message describing the match result.
|
|
18
|
+
attr_reader :message
|
|
19
|
+
# The name associated with the provided recipient.
|
|
20
|
+
attr_reader :provided_name
|
|
21
|
+
|
|
22
|
+
def self.inner_class_types
|
|
23
|
+
@inner_class_types = {}
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
def self.field_remappings
|
|
27
|
+
@field_remappings = {}
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
class StatusTransitions < ::Stripe::StripeObject
|
|
32
|
+
# Timestamp describing when a RecipientVerification changed status to `acknowledged`.
|
|
33
|
+
# Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
34
|
+
attr_reader :acknowledged_at
|
|
35
|
+
# Timestamp describing when a RecipientVerification changed status to `consumed`.
|
|
36
|
+
# Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
37
|
+
attr_reader :consumed_at
|
|
38
|
+
|
|
39
|
+
def self.inner_class_types
|
|
40
|
+
@inner_class_types = {}
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
def self.field_remappings
|
|
44
|
+
@field_remappings = {}
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
# The OBP/OBT ID that consumed this verification, present if one is successfully created.
|
|
48
|
+
attr_reader :consumed_by
|
|
49
|
+
# Time at which the RecipientVerification was created.
|
|
50
|
+
# Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
51
|
+
attr_reader :created
|
|
52
|
+
# Time at which the RecipientVerification expires, 5 minutes after the creation.
|
|
53
|
+
# Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
54
|
+
attr_reader :expires_at
|
|
55
|
+
# The ID of the RecipientVerification.
|
|
56
|
+
attr_reader :id
|
|
57
|
+
# Closed Enum. Match level of the RecipientVerification: `match`, `close_match`, `no_match`, `unavailable`.
|
|
58
|
+
attr_reader :match_result
|
|
59
|
+
# Details for the match result.
|
|
60
|
+
attr_reader :match_result_details
|
|
61
|
+
# String representing the object's type. Objects of the same type share the same value of the object field.
|
|
62
|
+
attr_reader :object
|
|
63
|
+
# Closed Enum. Current status of the RecipientVerification: `verified`, `consumed`, `expired`, `awaiting_acknowledgement`, `acknowledged`.
|
|
64
|
+
attr_reader :status
|
|
65
|
+
# Hash containing timestamps of when the object transitioned to a particular status.
|
|
66
|
+
attr_reader :status_transitions
|
|
67
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
68
|
+
attr_reader :livemode
|
|
69
|
+
|
|
70
|
+
def self.inner_class_types
|
|
71
|
+
@inner_class_types = {
|
|
72
|
+
match_result_details: MatchResultDetails,
|
|
73
|
+
status_transitions: StatusTransitions,
|
|
74
|
+
}
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
def self.field_remappings
|
|
78
|
+
@field_remappings = {}
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
end
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
module V2
|
|
6
|
+
module Reporting
|
|
7
|
+
# The Report resource represents a customizable report template that provides insights into various aspects of your Stripe integration.
|
|
8
|
+
class Report < APIResource
|
|
9
|
+
OBJECT_NAME = "v2.reporting.report"
|
|
10
|
+
def self.object_name
|
|
11
|
+
"v2.reporting.report"
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
class Parameters < ::Stripe::StripeObject
|
|
15
|
+
class ArrayDetails < ::Stripe::StripeObject
|
|
16
|
+
class EnumDetails < ::Stripe::StripeObject
|
|
17
|
+
# Allowed values of the enum.
|
|
18
|
+
attr_reader :allowed_values
|
|
19
|
+
|
|
20
|
+
def self.inner_class_types
|
|
21
|
+
@inner_class_types = {}
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
def self.field_remappings
|
|
25
|
+
@field_remappings = {}
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
# Data type of the elements in the array.
|
|
29
|
+
attr_reader :element_type
|
|
30
|
+
# Details about enum elements in the array.
|
|
31
|
+
attr_reader :enum_details
|
|
32
|
+
|
|
33
|
+
def self.inner_class_types
|
|
34
|
+
@inner_class_types = { enum_details: EnumDetails }
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
def self.field_remappings
|
|
38
|
+
@field_remappings = {}
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
class EnumDetails < ::Stripe::StripeObject
|
|
43
|
+
# Allowed values of the enum.
|
|
44
|
+
attr_reader :allowed_values
|
|
45
|
+
|
|
46
|
+
def self.inner_class_types
|
|
47
|
+
@inner_class_types = {}
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
def self.field_remappings
|
|
51
|
+
@field_remappings = {}
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
class TimestampDetails < ::Stripe::StripeObject
|
|
56
|
+
# Maximum permitted timestamp which can be requested.
|
|
57
|
+
attr_reader :max
|
|
58
|
+
# Minimum permitted timestamp which can be requested.
|
|
59
|
+
attr_reader :min
|
|
60
|
+
|
|
61
|
+
def self.inner_class_types
|
|
62
|
+
@inner_class_types = {}
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
def self.field_remappings
|
|
66
|
+
@field_remappings = {}
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
# For array parameters, provides details about the array elements.
|
|
70
|
+
attr_reader :array_details
|
|
71
|
+
# Explains the purpose and usage of the parameter.
|
|
72
|
+
attr_reader :description
|
|
73
|
+
# For enum parameters, provides the list of allowed values.
|
|
74
|
+
attr_reader :enum_details
|
|
75
|
+
# Indicates whether the parameter must be provided.
|
|
76
|
+
attr_reader :required
|
|
77
|
+
# For timestamp parameters, specifies the allowed date range.
|
|
78
|
+
attr_reader :timestamp_details
|
|
79
|
+
# The data type of the parameter.
|
|
80
|
+
attr_reader :type
|
|
81
|
+
|
|
82
|
+
def self.inner_class_types
|
|
83
|
+
@inner_class_types = {
|
|
84
|
+
array_details: ArrayDetails,
|
|
85
|
+
enum_details: EnumDetails,
|
|
86
|
+
timestamp_details: TimestampDetails,
|
|
87
|
+
}
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
def self.field_remappings
|
|
91
|
+
@field_remappings = {}
|
|
92
|
+
end
|
|
93
|
+
end
|
|
94
|
+
# The unique identifier of the `Report` object.
|
|
95
|
+
attr_reader :id
|
|
96
|
+
# The human-readable name of the `Report`.
|
|
97
|
+
attr_reader :name
|
|
98
|
+
# String representing the object's type. Objects of the same type share the same value of the object field.
|
|
99
|
+
attr_reader :object
|
|
100
|
+
# Specification of the parameters that the `Report` accepts. It details each parameter's
|
|
101
|
+
# name, description, whether it is required, and any validations performed.
|
|
102
|
+
attr_reader :parameters
|
|
103
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
104
|
+
attr_reader :livemode
|
|
105
|
+
|
|
106
|
+
def self.inner_class_types
|
|
107
|
+
@inner_class_types = { parameters: Parameters }
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
def self.field_remappings
|
|
111
|
+
@field_remappings = {}
|
|
112
|
+
end
|
|
113
|
+
end
|
|
114
|
+
end
|
|
115
|
+
end
|
|
116
|
+
end
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
module V2
|
|
6
|
+
module Reporting
|
|
7
|
+
# The `ReportRun` object represents an instance of a `Report` generated with specific
|
|
8
|
+
# run parameters. Once the object is created, Stripe begins processing the report. When
|
|
9
|
+
# the report has finished running, it will give you a reference to the results.
|
|
10
|
+
class ReportRun < APIResource
|
|
11
|
+
OBJECT_NAME = "v2.reporting.report_run"
|
|
12
|
+
def self.object_name
|
|
13
|
+
"v2.reporting.report_run"
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
class Result < ::Stripe::StripeObject
|
|
17
|
+
class File < ::Stripe::StripeObject
|
|
18
|
+
class DownloadUrl < ::Stripe::StripeObject
|
|
19
|
+
# The time that the URL expires.
|
|
20
|
+
attr_reader :expires_at
|
|
21
|
+
# The URL that can be used for accessing the file.
|
|
22
|
+
attr_reader :url
|
|
23
|
+
|
|
24
|
+
def self.inner_class_types
|
|
25
|
+
@inner_class_types = {}
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
def self.field_remappings
|
|
29
|
+
@field_remappings = {}
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
# The content type of the file.
|
|
33
|
+
attr_reader :content_type
|
|
34
|
+
# A pre-signed URL that allows secure, time-limited access to download the file.
|
|
35
|
+
attr_reader :download_url
|
|
36
|
+
# The total size of the file in bytes.
|
|
37
|
+
attr_reader :size
|
|
38
|
+
|
|
39
|
+
def self.inner_class_types
|
|
40
|
+
@inner_class_types = { download_url: DownloadUrl }
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
def self.field_remappings
|
|
44
|
+
@field_remappings = {}
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
# Contains metadata about the file produced by the `ReportRun`, including
|
|
48
|
+
# its content type, size, and a URL to download its contents.
|
|
49
|
+
attr_reader :file
|
|
50
|
+
# The type of the `ReportRun` result.
|
|
51
|
+
attr_reader :type
|
|
52
|
+
|
|
53
|
+
def self.inner_class_types
|
|
54
|
+
@inner_class_types = { file: File }
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
def self.field_remappings
|
|
58
|
+
@field_remappings = {}
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
class ResultOptions < ::Stripe::StripeObject
|
|
63
|
+
# If set, the generated report file will be compressed into a ZIP folder.
|
|
64
|
+
# This is useful for reducing file size and download time for large reports.
|
|
65
|
+
attr_reader :compress_file
|
|
66
|
+
|
|
67
|
+
def self.inner_class_types
|
|
68
|
+
@inner_class_types = {}
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
def self.field_remappings
|
|
72
|
+
@field_remappings = {}
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
class StatusDetails < ::Stripe::StripeObject
|
|
77
|
+
# Error code categorizing the reason the `ReportRun` failed.
|
|
78
|
+
attr_reader :error_code
|
|
79
|
+
# Error message with additional details about the failure.
|
|
80
|
+
attr_reader :error_message
|
|
81
|
+
|
|
82
|
+
def self.inner_class_types
|
|
83
|
+
@inner_class_types = {}
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
def self.field_remappings
|
|
87
|
+
@field_remappings = {}
|
|
88
|
+
end
|
|
89
|
+
end
|
|
90
|
+
# Time at which the object was created.
|
|
91
|
+
attr_reader :created
|
|
92
|
+
# The unique identifier of the `ReportRun` object.
|
|
93
|
+
attr_reader :id
|
|
94
|
+
# String representing the object's type. Objects of the same type share the same value of the object field.
|
|
95
|
+
attr_reader :object
|
|
96
|
+
# The unique identifier of the `Report` object which was run.
|
|
97
|
+
attr_reader :report
|
|
98
|
+
# The human-readable name of the `Report` which was run.
|
|
99
|
+
attr_reader :report_name
|
|
100
|
+
# The parameters used to customize the generation of the report.
|
|
101
|
+
attr_reader :report_parameters
|
|
102
|
+
# Details how to retrieve the results of a successfully completed `ReportRun`.
|
|
103
|
+
attr_reader :result
|
|
104
|
+
# The options specified for customizing the output file of the `ReportRun`.
|
|
105
|
+
attr_reader :result_options
|
|
106
|
+
# The current status of the `ReportRun`.
|
|
107
|
+
attr_reader :status
|
|
108
|
+
# Additional details about the current state of the `ReportRun`. The field is currently only populated when a `ReportRun`
|
|
109
|
+
# is in the `failed` state, providing more information about why the report failed to generate successfully.
|
|
110
|
+
attr_reader :status_details
|
|
111
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
112
|
+
attr_reader :livemode
|
|
113
|
+
|
|
114
|
+
def self.inner_class_types
|
|
115
|
+
@inner_class_types = {
|
|
116
|
+
result: Result,
|
|
117
|
+
result_options: ResultOptions,
|
|
118
|
+
status_details: StatusDetails,
|
|
119
|
+
}
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
def self.field_remappings
|
|
123
|
+
@field_remappings = {}
|
|
124
|
+
end
|
|
125
|
+
end
|
|
126
|
+
end
|
|
127
|
+
end
|
|
128
|
+
end
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
module V2
|
|
6
|
+
module Tax
|
|
7
|
+
# An AutomaticRule holds automatic Tax configuration for a BillableItem.
|
|
8
|
+
class AutomaticRule < APIResource
|
|
9
|
+
OBJECT_NAME = "v2.tax.automatic_rule"
|
|
10
|
+
def self.object_name
|
|
11
|
+
"v2.tax.automatic_rule"
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# The ID of the BillableItem.
|
|
15
|
+
attr_reader :billable_item
|
|
16
|
+
# The time at which the AutomaticRule object was created.
|
|
17
|
+
attr_reader :created
|
|
18
|
+
# The ID of the AutomaticRule object.
|
|
19
|
+
attr_reader :id
|
|
20
|
+
# String representing the object's type. Objects of the same type share the same value of the object field.
|
|
21
|
+
attr_reader :object
|
|
22
|
+
# The status of the AutomaticRule object.
|
|
23
|
+
attr_reader :status
|
|
24
|
+
# A TaxCode object that will be used for automatic tax calculations.
|
|
25
|
+
attr_reader :tax_code
|
|
26
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
27
|
+
attr_reader :livemode
|
|
28
|
+
|
|
29
|
+
def self.inner_class_types
|
|
30
|
+
@inner_class_types = {}
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
def self.field_remappings
|
|
34
|
+
@field_remappings = {}
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|