stripe 17.2.0 → 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_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 +301 -2
- 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_session_create_params.rb +226 -1
- data/lib/stripe/params/account_update_params.rb +263 -1
- 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 +709 -0
- data/lib/stripe/params/charge_update_params.rb +709 -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 +37 -3
- 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 +826 -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/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 +1124 -0
- data/lib/stripe/params/order_line_item_list_params.rb +22 -0
- data/lib/stripe/params/order_list_line_items_params.rb +22 -0
- data/lib/stripe/params/order_list_params.rb +25 -0
- data/lib/stripe/params/order_reopen_params.rb +13 -0
- data/lib/stripe/params/order_retrieve_params.rb +13 -0
- data/lib/stripe/params/order_submit_params.rb +16 -0
- data/lib/stripe/params/order_update_params.rb +1128 -0
- data/lib/stripe/params/payment_intent_capture_params.rb +736 -30
- data/lib/stripe/params/payment_intent_confirm_params.rb +1250 -47
- data/lib/stripe/params/payment_intent_create_params.rb +1254 -43
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +73 -0
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +63 -29
- 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 +1286 -44
- 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_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 +805 -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 +813 -4
- 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 +570 -0
- data/lib/stripe/params/subscription_schedule_create_params.rb +167 -5
- data/lib/stripe/params/subscription_schedule_list_params.rb +4 -0
- data/lib/stripe/params/subscription_schedule_update_params.rb +163 -5
- data/lib/stripe/params/subscription_update_params.rb +238 -4
- data/lib/stripe/params/tax/association_find_params.rb +18 -0
- 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 +22 -9
- data/lib/stripe/params/terminal/configuration_update_params.rb +22 -9
- data/lib/stripe/params/terminal/onboarding_link_create_params.rb +43 -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/transfer_create_params.rb +9 -1
- 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/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/tax/automatic_rule_create_params.rb +20 -0
- data/lib/stripe/params/v2/tax/automatic_rule_deactivate_params.rb +10 -0
- data/lib/stripe/params/v2/tax/automatic_rule_find_params.rb +17 -0
- data/lib/stripe/params/v2/tax/automatic_rule_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/tax/automatic_rule_update_params.rb +17 -0
- data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +23 -0
- data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +10 -0
- data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +24 -0
- data/lib/stripe/params.rb +253 -0
- data/lib/stripe/resources/account.rb +167 -2
- 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/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 +402 -0
- data/lib/stripe/resources/discount.rb +2 -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 +153 -2
- data/lib/stripe/resources/invoice_item.rb +94 -2
- data/lib/stripe/resources/invoice_line_item.rb +131 -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/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 +840 -23
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +7 -13
- 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/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 +571 -2
- data/lib/stripe/resources/quote_line.rb +521 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +1150 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +732 -0
- data/lib/stripe/resources/refund.rb +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 +232 -0
- data/lib/stripe/resources/subscription_item.rb +20 -1
- data/lib/stripe/resources/subscription_schedule.rb +198 -3
- data/lib/stripe/resources/tax/association.rb +86 -0
- 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/onboarding_link.rb +71 -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/v2/tax/automatic_rule.rb +39 -0
- data/lib/stripe/resources.rb +393 -0
- data/lib/stripe/services/account_notice_service.rb +39 -0
- data/lib/stripe/services/billing/analytics/meter_usage_service.rb +21 -0
- data/lib/stripe/services/billing/analytics_service.rb +15 -0
- data/lib/stripe/services/billing_service.rb +2 -1
- data/lib/stripe/services/capital/financing_offer_service.rb +42 -0
- data/lib/stripe/services/capital/financing_summary_service.rb +19 -0
- data/lib/stripe/services/capital/financing_transaction_service.rb +31 -0
- data/lib/stripe/services/capital_service.rb +15 -0
- data/lib/stripe/services/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_service.rb +5 -1
- data/lib/stripe/services/mandate_service.rb +5 -0
- data/lib/stripe/services/margin_service.rb +50 -0
- data/lib/stripe/services/order_line_item_service.rb +17 -0
- data/lib/stripe/services/order_service.rb +78 -0
- data/lib/stripe/services/payment_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/subscription_schedule_service.rb +11 -0
- data/lib/stripe/services/subscription_service.rb +11 -0
- data/lib/stripe/services/tax/association_service.rb +19 -0
- data/lib/stripe/services/tax/form_service.rb +37 -0
- data/lib/stripe/services/tax_service.rb +3 -1
- data/lib/stripe/services/terminal/onboarding_link_service.rb +19 -0
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +19 -0
- data/lib/stripe/services/terminal_service.rb +3 -1
- data/lib/stripe/services/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 +9 -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/tax/automatic_rule_service.rb +65 -0
- data/lib/stripe/services/v2/tax_service.rb +15 -0
- data/lib/stripe/services/v2/test_helper_service.rb +16 -0
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +36 -0
- data/lib/stripe/services/v2/test_helpers/money_management_service.rb +21 -0
- data/lib/stripe/services/v2_services.rb +6 -1
- data/lib/stripe/services.rb +89 -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 +158573 -87426
- metadata +739 -4
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
|
|
4
4
|
module Stripe
|
|
5
5
|
class PaymentIntentCreateParams < ::Stripe::RequestParams
|
|
6
|
+
class AllocatedFunds < ::Stripe::RequestParams
|
|
7
|
+
# Whether Allocated Funds creation is enabled for this PaymentIntent.
|
|
8
|
+
attr_accessor :enabled
|
|
9
|
+
|
|
10
|
+
def initialize(enabled: nil)
|
|
11
|
+
@enabled = enabled
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
|
|
6
15
|
class AmountDetails < ::Stripe::RequestParams
|
|
7
16
|
class LineItem < ::Stripe::RequestParams
|
|
8
17
|
class PaymentMethodOptions < ::Stripe::RequestParams
|
|
@@ -79,32 +88,26 @@ module Stripe
|
|
|
79
88
|
end
|
|
80
89
|
|
|
81
90
|
class Tax < ::Stripe::RequestParams
|
|
82
|
-
# The total
|
|
83
|
-
#
|
|
84
|
-
# This field is mutually exclusive with the `amount_details[tax][total_tax_amount]` field.
|
|
91
|
+
# The total tax on an item. Non-negative integer.
|
|
85
92
|
attr_accessor :total_tax_amount
|
|
86
93
|
|
|
87
94
|
def initialize(total_tax_amount: nil)
|
|
88
95
|
@total_tax_amount = total_tax_amount
|
|
89
96
|
end
|
|
90
97
|
end
|
|
91
|
-
# The
|
|
92
|
-
#
|
|
93
|
-
# This field is mutually exclusive with the `amount_details[discount_amount]` field.
|
|
98
|
+
# The amount an item was discounted for. Positive integer.
|
|
94
99
|
attr_accessor :discount_amount
|
|
95
100
|
# Payment method-specific information for line items.
|
|
96
101
|
attr_accessor :payment_method_options
|
|
97
|
-
#
|
|
102
|
+
# Unique identifier of the product. At most 12 characters long.
|
|
98
103
|
attr_accessor :product_code
|
|
99
|
-
#
|
|
100
|
-
#
|
|
101
|
-
# For Cards, this field is truncated to 26 alphanumeric characters before being sent to the card networks. For Paypal, this field is truncated to 127 characters.
|
|
104
|
+
# Name of the product. At most 100 characters long.
|
|
102
105
|
attr_accessor :product_name
|
|
103
|
-
#
|
|
106
|
+
# Number of items of the product. Positive integer.
|
|
104
107
|
attr_accessor :quantity
|
|
105
108
|
# Contains information about the tax on the item.
|
|
106
109
|
attr_accessor :tax
|
|
107
|
-
#
|
|
110
|
+
# Cost of the product. Non-negative integer.
|
|
108
111
|
attr_accessor :unit_cost
|
|
109
112
|
# A unit of measure for the line item, such as gallons, feet, meters, etc.
|
|
110
113
|
attr_accessor :unit_of_measure
|
|
@@ -131,11 +134,11 @@ module Stripe
|
|
|
131
134
|
end
|
|
132
135
|
|
|
133
136
|
class Shipping < ::Stripe::RequestParams
|
|
134
|
-
#
|
|
137
|
+
# Portion of the amount that is for shipping.
|
|
135
138
|
attr_accessor :amount
|
|
136
|
-
#
|
|
139
|
+
# The postal code that represents the shipping source.
|
|
137
140
|
attr_accessor :from_postal_code
|
|
138
|
-
#
|
|
141
|
+
# The postal code that represents the shipping destination.
|
|
139
142
|
attr_accessor :to_postal_code
|
|
140
143
|
|
|
141
144
|
def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil)
|
|
@@ -146,18 +149,14 @@ module Stripe
|
|
|
146
149
|
end
|
|
147
150
|
|
|
148
151
|
class Tax < ::Stripe::RequestParams
|
|
149
|
-
#
|
|
150
|
-
#
|
|
151
|
-
# This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.
|
|
152
|
+
# Total portion of the amount that is for tax.
|
|
152
153
|
attr_accessor :total_tax_amount
|
|
153
154
|
|
|
154
155
|
def initialize(total_tax_amount: nil)
|
|
155
156
|
@total_tax_amount = total_tax_amount
|
|
156
157
|
end
|
|
157
158
|
end
|
|
158
|
-
# The total discount applied on the transaction
|
|
159
|
-
#
|
|
160
|
-
# This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.
|
|
159
|
+
# The total discount applied on the transaction.
|
|
161
160
|
attr_accessor :discount_amount
|
|
162
161
|
# A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items.
|
|
163
162
|
attr_accessor :line_items
|
|
@@ -188,6 +187,31 @@ module Stripe
|
|
|
188
187
|
end
|
|
189
188
|
end
|
|
190
189
|
|
|
190
|
+
class Hooks < ::Stripe::RequestParams
|
|
191
|
+
class Inputs < ::Stripe::RequestParams
|
|
192
|
+
class Tax < ::Stripe::RequestParams
|
|
193
|
+
# The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id
|
|
194
|
+
attr_accessor :calculation
|
|
195
|
+
|
|
196
|
+
def initialize(calculation: nil)
|
|
197
|
+
@calculation = calculation
|
|
198
|
+
end
|
|
199
|
+
end
|
|
200
|
+
# Tax arguments for automations
|
|
201
|
+
attr_accessor :tax
|
|
202
|
+
|
|
203
|
+
def initialize(tax: nil)
|
|
204
|
+
@tax = tax
|
|
205
|
+
end
|
|
206
|
+
end
|
|
207
|
+
# Arguments passed in automations
|
|
208
|
+
attr_accessor :inputs
|
|
209
|
+
|
|
210
|
+
def initialize(inputs: nil)
|
|
211
|
+
@inputs = inputs
|
|
212
|
+
end
|
|
213
|
+
end
|
|
214
|
+
|
|
191
215
|
class MandateData < ::Stripe::RequestParams
|
|
192
216
|
class CustomerAcceptance < ::Stripe::RequestParams
|
|
193
217
|
class Offline < ::Stripe::RequestParams; end
|
|
@@ -227,21 +251,729 @@ module Stripe
|
|
|
227
251
|
end
|
|
228
252
|
end
|
|
229
253
|
|
|
230
|
-
class PaymentDetails < ::Stripe::RequestParams
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
254
|
+
class PaymentDetails < ::Stripe::RequestParams
|
|
255
|
+
class Benefit < ::Stripe::RequestParams
|
|
256
|
+
class FrMealVoucher < ::Stripe::RequestParams
|
|
257
|
+
# The 14-digit SIRET of the meal voucher acceptor.
|
|
258
|
+
attr_accessor :siret
|
|
259
|
+
|
|
260
|
+
def initialize(siret: nil)
|
|
261
|
+
@siret = siret
|
|
262
|
+
end
|
|
263
|
+
end
|
|
264
|
+
# French meal voucher benefit details for this PaymentIntent.
|
|
265
|
+
attr_accessor :fr_meal_voucher
|
|
266
|
+
|
|
267
|
+
def initialize(fr_meal_voucher: nil)
|
|
268
|
+
@fr_meal_voucher = fr_meal_voucher
|
|
269
|
+
end
|
|
270
|
+
end
|
|
271
|
+
|
|
272
|
+
class CarRental < ::Stripe::RequestParams
|
|
273
|
+
class Affiliate < ::Stripe::RequestParams
|
|
274
|
+
# The name of the affiliate that originated the purchase.
|
|
275
|
+
attr_accessor :name
|
|
276
|
+
|
|
277
|
+
def initialize(name: nil)
|
|
278
|
+
@name = name
|
|
279
|
+
end
|
|
280
|
+
end
|
|
281
|
+
|
|
282
|
+
class Delivery < ::Stripe::RequestParams
|
|
283
|
+
class Recipient < ::Stripe::RequestParams
|
|
284
|
+
# The email of the recipient the ticket is delivered to.
|
|
285
|
+
attr_accessor :email
|
|
286
|
+
# The name of the recipient the ticket is delivered to.
|
|
287
|
+
attr_accessor :name
|
|
288
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
289
|
+
attr_accessor :phone
|
|
290
|
+
|
|
291
|
+
def initialize(email: nil, name: nil, phone: nil)
|
|
292
|
+
@email = email
|
|
293
|
+
@name = name
|
|
294
|
+
@phone = phone
|
|
295
|
+
end
|
|
296
|
+
end
|
|
297
|
+
# The delivery method for the payment
|
|
298
|
+
attr_accessor :mode
|
|
299
|
+
# Details of the recipient.
|
|
300
|
+
attr_accessor :recipient
|
|
301
|
+
|
|
302
|
+
def initialize(mode: nil, recipient: nil)
|
|
303
|
+
@mode = mode
|
|
304
|
+
@recipient = recipient
|
|
305
|
+
end
|
|
306
|
+
end
|
|
307
|
+
|
|
308
|
+
class Distance < ::Stripe::RequestParams
|
|
309
|
+
# Distance traveled.
|
|
310
|
+
attr_accessor :amount
|
|
311
|
+
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
312
|
+
attr_accessor :unit
|
|
313
|
+
|
|
314
|
+
def initialize(amount: nil, unit: nil)
|
|
315
|
+
@amount = amount
|
|
316
|
+
@unit = unit
|
|
317
|
+
end
|
|
318
|
+
end
|
|
319
|
+
|
|
320
|
+
class Driver < ::Stripe::RequestParams
|
|
321
|
+
# Driver's identification number.
|
|
322
|
+
attr_accessor :driver_identification_number
|
|
323
|
+
# Driver's tax number.
|
|
324
|
+
attr_accessor :driver_tax_number
|
|
325
|
+
# Full name of the person or entity on the car reservation.
|
|
326
|
+
attr_accessor :name
|
|
327
|
+
|
|
328
|
+
def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
|
|
329
|
+
@driver_identification_number = driver_identification_number
|
|
330
|
+
@driver_tax_number = driver_tax_number
|
|
331
|
+
@name = name
|
|
332
|
+
end
|
|
333
|
+
end
|
|
334
|
+
|
|
335
|
+
class PickupAddress < ::Stripe::RequestParams
|
|
336
|
+
# City, district, suburb, town, or village.
|
|
337
|
+
attr_accessor :city
|
|
338
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
339
|
+
attr_accessor :country
|
|
340
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
341
|
+
attr_accessor :line1
|
|
342
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
343
|
+
attr_accessor :line2
|
|
344
|
+
# ZIP or postal code.
|
|
345
|
+
attr_accessor :postal_code
|
|
346
|
+
# State, county, province, or region.
|
|
347
|
+
attr_accessor :state
|
|
348
|
+
|
|
349
|
+
def initialize(
|
|
350
|
+
city: nil,
|
|
351
|
+
country: nil,
|
|
352
|
+
line1: nil,
|
|
353
|
+
line2: nil,
|
|
354
|
+
postal_code: nil,
|
|
355
|
+
state: nil
|
|
356
|
+
)
|
|
357
|
+
@city = city
|
|
358
|
+
@country = country
|
|
359
|
+
@line1 = line1
|
|
360
|
+
@line2 = line2
|
|
361
|
+
@postal_code = postal_code
|
|
362
|
+
@state = state
|
|
363
|
+
end
|
|
364
|
+
end
|
|
365
|
+
|
|
366
|
+
class ReturnAddress < ::Stripe::RequestParams
|
|
367
|
+
# City, district, suburb, town, or village.
|
|
368
|
+
attr_accessor :city
|
|
369
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
370
|
+
attr_accessor :country
|
|
371
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
372
|
+
attr_accessor :line1
|
|
373
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
374
|
+
attr_accessor :line2
|
|
375
|
+
# ZIP or postal code.
|
|
376
|
+
attr_accessor :postal_code
|
|
377
|
+
# State, county, province, or region.
|
|
378
|
+
attr_accessor :state
|
|
379
|
+
|
|
380
|
+
def initialize(
|
|
381
|
+
city: nil,
|
|
382
|
+
country: nil,
|
|
383
|
+
line1: nil,
|
|
384
|
+
line2: nil,
|
|
385
|
+
postal_code: nil,
|
|
386
|
+
state: nil
|
|
387
|
+
)
|
|
388
|
+
@city = city
|
|
389
|
+
@country = country
|
|
390
|
+
@line1 = line1
|
|
391
|
+
@line2 = line2
|
|
392
|
+
@postal_code = postal_code
|
|
393
|
+
@state = state
|
|
394
|
+
end
|
|
395
|
+
end
|
|
396
|
+
# Affiliate details for this purchase.
|
|
397
|
+
attr_accessor :affiliate
|
|
398
|
+
# The booking number associated with the car rental.
|
|
399
|
+
attr_accessor :booking_number
|
|
400
|
+
# Class code of the car.
|
|
401
|
+
attr_accessor :car_class_code
|
|
402
|
+
# Make of the car.
|
|
403
|
+
attr_accessor :car_make
|
|
404
|
+
# Model of the car.
|
|
405
|
+
attr_accessor :car_model
|
|
406
|
+
# The name of the rental car company.
|
|
407
|
+
attr_accessor :company
|
|
408
|
+
# The customer service phone number of the car rental company.
|
|
409
|
+
attr_accessor :customer_service_phone_number
|
|
410
|
+
# Number of days the car is being rented.
|
|
411
|
+
attr_accessor :days_rented
|
|
412
|
+
# Delivery details for this purchase.
|
|
413
|
+
attr_accessor :delivery
|
|
414
|
+
# The details of the distance traveled during the rental period.
|
|
415
|
+
attr_accessor :distance
|
|
416
|
+
# The details of the passengers in the travel reservation
|
|
417
|
+
attr_accessor :drivers
|
|
418
|
+
# List of additional charges being billed.
|
|
419
|
+
attr_accessor :extra_charges
|
|
420
|
+
# Indicates if the customer did not keep nor cancel their booking.
|
|
421
|
+
attr_accessor :no_show
|
|
422
|
+
# Car pick-up address.
|
|
423
|
+
attr_accessor :pickup_address
|
|
424
|
+
# Car pick-up time. Measured in seconds since the Unix epoch.
|
|
425
|
+
attr_accessor :pickup_at
|
|
426
|
+
# Name of the pickup location.
|
|
427
|
+
attr_accessor :pickup_location_name
|
|
428
|
+
# Rental rate.
|
|
429
|
+
attr_accessor :rate_amount
|
|
430
|
+
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
431
|
+
attr_accessor :rate_interval
|
|
432
|
+
# The name of the person or entity renting the car.
|
|
433
|
+
attr_accessor :renter_name
|
|
434
|
+
# Car return address.
|
|
435
|
+
attr_accessor :return_address
|
|
436
|
+
# Car return time. Measured in seconds since the Unix epoch.
|
|
437
|
+
attr_accessor :return_at
|
|
438
|
+
# Name of the return location.
|
|
439
|
+
attr_accessor :return_location_name
|
|
440
|
+
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
441
|
+
attr_accessor :tax_exempt
|
|
442
|
+
# The vehicle identification number.
|
|
443
|
+
attr_accessor :vehicle_identification_number
|
|
444
|
+
|
|
445
|
+
def initialize(
|
|
446
|
+
affiliate: nil,
|
|
447
|
+
booking_number: nil,
|
|
448
|
+
car_class_code: nil,
|
|
449
|
+
car_make: nil,
|
|
450
|
+
car_model: nil,
|
|
451
|
+
company: nil,
|
|
452
|
+
customer_service_phone_number: nil,
|
|
453
|
+
days_rented: nil,
|
|
454
|
+
delivery: nil,
|
|
455
|
+
distance: nil,
|
|
456
|
+
drivers: nil,
|
|
457
|
+
extra_charges: nil,
|
|
458
|
+
no_show: nil,
|
|
459
|
+
pickup_address: nil,
|
|
460
|
+
pickup_at: nil,
|
|
461
|
+
pickup_location_name: nil,
|
|
462
|
+
rate_amount: nil,
|
|
463
|
+
rate_interval: nil,
|
|
464
|
+
renter_name: nil,
|
|
465
|
+
return_address: nil,
|
|
466
|
+
return_at: nil,
|
|
467
|
+
return_location_name: nil,
|
|
468
|
+
tax_exempt: nil,
|
|
469
|
+
vehicle_identification_number: nil
|
|
470
|
+
)
|
|
471
|
+
@affiliate = affiliate
|
|
472
|
+
@booking_number = booking_number
|
|
473
|
+
@car_class_code = car_class_code
|
|
474
|
+
@car_make = car_make
|
|
475
|
+
@car_model = car_model
|
|
476
|
+
@company = company
|
|
477
|
+
@customer_service_phone_number = customer_service_phone_number
|
|
478
|
+
@days_rented = days_rented
|
|
479
|
+
@delivery = delivery
|
|
480
|
+
@distance = distance
|
|
481
|
+
@drivers = drivers
|
|
482
|
+
@extra_charges = extra_charges
|
|
483
|
+
@no_show = no_show
|
|
484
|
+
@pickup_address = pickup_address
|
|
485
|
+
@pickup_at = pickup_at
|
|
486
|
+
@pickup_location_name = pickup_location_name
|
|
487
|
+
@rate_amount = rate_amount
|
|
488
|
+
@rate_interval = rate_interval
|
|
489
|
+
@renter_name = renter_name
|
|
490
|
+
@return_address = return_address
|
|
491
|
+
@return_at = return_at
|
|
492
|
+
@return_location_name = return_location_name
|
|
493
|
+
@tax_exempt = tax_exempt
|
|
494
|
+
@vehicle_identification_number = vehicle_identification_number
|
|
495
|
+
end
|
|
496
|
+
end
|
|
497
|
+
|
|
498
|
+
class EventDetails < ::Stripe::RequestParams
|
|
499
|
+
class Address < ::Stripe::RequestParams
|
|
500
|
+
# City, district, suburb, town, or village.
|
|
501
|
+
attr_accessor :city
|
|
502
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
503
|
+
attr_accessor :country
|
|
504
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
505
|
+
attr_accessor :line1
|
|
506
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
507
|
+
attr_accessor :line2
|
|
508
|
+
# ZIP or postal code.
|
|
509
|
+
attr_accessor :postal_code
|
|
510
|
+
# State, county, province, or region.
|
|
511
|
+
attr_accessor :state
|
|
512
|
+
|
|
513
|
+
def initialize(
|
|
514
|
+
city: nil,
|
|
515
|
+
country: nil,
|
|
516
|
+
line1: nil,
|
|
517
|
+
line2: nil,
|
|
518
|
+
postal_code: nil,
|
|
519
|
+
state: nil
|
|
520
|
+
)
|
|
521
|
+
@city = city
|
|
522
|
+
@country = country
|
|
523
|
+
@line1 = line1
|
|
524
|
+
@line2 = line2
|
|
525
|
+
@postal_code = postal_code
|
|
526
|
+
@state = state
|
|
527
|
+
end
|
|
528
|
+
end
|
|
529
|
+
|
|
530
|
+
class Affiliate < ::Stripe::RequestParams
|
|
531
|
+
# The name of the affiliate that originated the purchase.
|
|
532
|
+
attr_accessor :name
|
|
533
|
+
|
|
534
|
+
def initialize(name: nil)
|
|
535
|
+
@name = name
|
|
536
|
+
end
|
|
537
|
+
end
|
|
538
|
+
|
|
539
|
+
class Delivery < ::Stripe::RequestParams
|
|
540
|
+
class Recipient < ::Stripe::RequestParams
|
|
541
|
+
# The email of the recipient the ticket is delivered to.
|
|
542
|
+
attr_accessor :email
|
|
543
|
+
# The name of the recipient the ticket is delivered to.
|
|
544
|
+
attr_accessor :name
|
|
545
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
546
|
+
attr_accessor :phone
|
|
547
|
+
|
|
548
|
+
def initialize(email: nil, name: nil, phone: nil)
|
|
549
|
+
@email = email
|
|
550
|
+
@name = name
|
|
551
|
+
@phone = phone
|
|
552
|
+
end
|
|
553
|
+
end
|
|
554
|
+
# The delivery method for the payment
|
|
555
|
+
attr_accessor :mode
|
|
556
|
+
# Details of the recipient.
|
|
557
|
+
attr_accessor :recipient
|
|
558
|
+
|
|
559
|
+
def initialize(mode: nil, recipient: nil)
|
|
560
|
+
@mode = mode
|
|
561
|
+
@recipient = recipient
|
|
562
|
+
end
|
|
563
|
+
end
|
|
564
|
+
# Indicates if the tickets are digitally checked when entering the venue.
|
|
565
|
+
attr_accessor :access_controlled_venue
|
|
566
|
+
# The event location's address.
|
|
567
|
+
attr_accessor :address
|
|
568
|
+
# Affiliate details for this purchase.
|
|
569
|
+
attr_accessor :affiliate
|
|
570
|
+
# The name of the company
|
|
571
|
+
attr_accessor :company
|
|
572
|
+
# Delivery details for this purchase.
|
|
573
|
+
attr_accessor :delivery
|
|
574
|
+
# Event end time. Measured in seconds since the Unix epoch.
|
|
575
|
+
attr_accessor :ends_at
|
|
576
|
+
# Type of the event entertainment (concert, sports event etc)
|
|
577
|
+
attr_accessor :genre
|
|
578
|
+
# The name of the event.
|
|
579
|
+
attr_accessor :name
|
|
580
|
+
# Event start time. Measured in seconds since the Unix epoch.
|
|
581
|
+
attr_accessor :starts_at
|
|
582
|
+
|
|
583
|
+
def initialize(
|
|
584
|
+
access_controlled_venue: nil,
|
|
585
|
+
address: nil,
|
|
586
|
+
affiliate: nil,
|
|
587
|
+
company: nil,
|
|
588
|
+
delivery: nil,
|
|
589
|
+
ends_at: nil,
|
|
590
|
+
genre: nil,
|
|
591
|
+
name: nil,
|
|
592
|
+
starts_at: nil
|
|
593
|
+
)
|
|
594
|
+
@access_controlled_venue = access_controlled_venue
|
|
595
|
+
@address = address
|
|
596
|
+
@affiliate = affiliate
|
|
597
|
+
@company = company
|
|
598
|
+
@delivery = delivery
|
|
599
|
+
@ends_at = ends_at
|
|
600
|
+
@genre = genre
|
|
601
|
+
@name = name
|
|
602
|
+
@starts_at = starts_at
|
|
603
|
+
end
|
|
604
|
+
end
|
|
605
|
+
|
|
606
|
+
class Flight < ::Stripe::RequestParams
|
|
607
|
+
class Affiliate < ::Stripe::RequestParams
|
|
608
|
+
# The name of the affiliate that originated the purchase.
|
|
609
|
+
attr_accessor :name
|
|
610
|
+
|
|
611
|
+
def initialize(name: nil)
|
|
612
|
+
@name = name
|
|
613
|
+
end
|
|
614
|
+
end
|
|
615
|
+
|
|
616
|
+
class Delivery < ::Stripe::RequestParams
|
|
617
|
+
class Recipient < ::Stripe::RequestParams
|
|
618
|
+
# The email of the recipient the ticket is delivered to.
|
|
619
|
+
attr_accessor :email
|
|
620
|
+
# The name of the recipient the ticket is delivered to.
|
|
621
|
+
attr_accessor :name
|
|
622
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
623
|
+
attr_accessor :phone
|
|
624
|
+
|
|
625
|
+
def initialize(email: nil, name: nil, phone: nil)
|
|
626
|
+
@email = email
|
|
627
|
+
@name = name
|
|
628
|
+
@phone = phone
|
|
629
|
+
end
|
|
630
|
+
end
|
|
631
|
+
# The delivery method for the payment
|
|
632
|
+
attr_accessor :mode
|
|
633
|
+
# Details of the recipient.
|
|
634
|
+
attr_accessor :recipient
|
|
635
|
+
|
|
636
|
+
def initialize(mode: nil, recipient: nil)
|
|
637
|
+
@mode = mode
|
|
638
|
+
@recipient = recipient
|
|
639
|
+
end
|
|
640
|
+
end
|
|
641
|
+
|
|
642
|
+
class Passenger < ::Stripe::RequestParams
|
|
643
|
+
# Full name of the person or entity on the flight reservation.
|
|
644
|
+
attr_accessor :name
|
|
645
|
+
|
|
646
|
+
def initialize(name: nil)
|
|
647
|
+
@name = name
|
|
648
|
+
end
|
|
649
|
+
end
|
|
650
|
+
|
|
651
|
+
class Segment < ::Stripe::RequestParams
|
|
652
|
+
# The flight segment amount.
|
|
653
|
+
attr_accessor :amount
|
|
654
|
+
# The International Air Transport Association (IATA) airport code for the arrival airport.
|
|
655
|
+
attr_accessor :arrival_airport
|
|
656
|
+
# The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
|
657
|
+
attr_accessor :arrives_at
|
|
658
|
+
# The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
|
659
|
+
attr_accessor :carrier
|
|
660
|
+
# The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
|
661
|
+
attr_accessor :departs_at
|
|
662
|
+
# The International Air Transport Association (IATA) airport code for the departure airport.
|
|
663
|
+
attr_accessor :departure_airport
|
|
664
|
+
# The flight number associated with the segment
|
|
665
|
+
attr_accessor :flight_number
|
|
666
|
+
# The fare class for the segment.
|
|
667
|
+
attr_accessor :service_class
|
|
668
|
+
|
|
669
|
+
def initialize(
|
|
670
|
+
amount: nil,
|
|
671
|
+
arrival_airport: nil,
|
|
672
|
+
arrives_at: nil,
|
|
673
|
+
carrier: nil,
|
|
674
|
+
departs_at: nil,
|
|
675
|
+
departure_airport: nil,
|
|
676
|
+
flight_number: nil,
|
|
677
|
+
service_class: nil
|
|
678
|
+
)
|
|
679
|
+
@amount = amount
|
|
680
|
+
@arrival_airport = arrival_airport
|
|
681
|
+
@arrives_at = arrives_at
|
|
682
|
+
@carrier = carrier
|
|
683
|
+
@departs_at = departs_at
|
|
684
|
+
@departure_airport = departure_airport
|
|
685
|
+
@flight_number = flight_number
|
|
686
|
+
@service_class = service_class
|
|
687
|
+
end
|
|
688
|
+
end
|
|
689
|
+
# Affiliate details for this purchase.
|
|
690
|
+
attr_accessor :affiliate
|
|
691
|
+
# The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
|
692
|
+
attr_accessor :agency_number
|
|
693
|
+
# The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
|
694
|
+
attr_accessor :carrier
|
|
695
|
+
# Delivery details for this purchase.
|
|
696
|
+
attr_accessor :delivery
|
|
697
|
+
# The name of the person or entity on the reservation.
|
|
698
|
+
attr_accessor :passenger_name
|
|
699
|
+
# The details of the passengers in the travel reservation.
|
|
700
|
+
attr_accessor :passengers
|
|
701
|
+
# The individual flight segments associated with the trip.
|
|
702
|
+
attr_accessor :segments
|
|
703
|
+
# The ticket number associated with the travel reservation.
|
|
704
|
+
attr_accessor :ticket_number
|
|
705
|
+
|
|
706
|
+
def initialize(
|
|
707
|
+
affiliate: nil,
|
|
708
|
+
agency_number: nil,
|
|
709
|
+
carrier: nil,
|
|
710
|
+
delivery: nil,
|
|
711
|
+
passenger_name: nil,
|
|
712
|
+
passengers: nil,
|
|
713
|
+
segments: nil,
|
|
714
|
+
ticket_number: nil
|
|
715
|
+
)
|
|
716
|
+
@affiliate = affiliate
|
|
717
|
+
@agency_number = agency_number
|
|
718
|
+
@carrier = carrier
|
|
719
|
+
@delivery = delivery
|
|
720
|
+
@passenger_name = passenger_name
|
|
721
|
+
@passengers = passengers
|
|
722
|
+
@segments = segments
|
|
723
|
+
@ticket_number = ticket_number
|
|
724
|
+
end
|
|
725
|
+
end
|
|
726
|
+
|
|
727
|
+
class Lodging < ::Stripe::RequestParams
|
|
728
|
+
class Address < ::Stripe::RequestParams
|
|
729
|
+
# City, district, suburb, town, or village.
|
|
730
|
+
attr_accessor :city
|
|
731
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
732
|
+
attr_accessor :country
|
|
733
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
734
|
+
attr_accessor :line1
|
|
735
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
736
|
+
attr_accessor :line2
|
|
737
|
+
# ZIP or postal code.
|
|
738
|
+
attr_accessor :postal_code
|
|
739
|
+
# State, county, province, or region.
|
|
740
|
+
attr_accessor :state
|
|
741
|
+
|
|
742
|
+
def initialize(
|
|
743
|
+
city: nil,
|
|
744
|
+
country: nil,
|
|
745
|
+
line1: nil,
|
|
746
|
+
line2: nil,
|
|
747
|
+
postal_code: nil,
|
|
748
|
+
state: nil
|
|
749
|
+
)
|
|
750
|
+
@city = city
|
|
751
|
+
@country = country
|
|
752
|
+
@line1 = line1
|
|
753
|
+
@line2 = line2
|
|
754
|
+
@postal_code = postal_code
|
|
755
|
+
@state = state
|
|
756
|
+
end
|
|
757
|
+
end
|
|
758
|
+
|
|
759
|
+
class Affiliate < ::Stripe::RequestParams
|
|
760
|
+
# The name of the affiliate that originated the purchase.
|
|
761
|
+
attr_accessor :name
|
|
762
|
+
|
|
763
|
+
def initialize(name: nil)
|
|
764
|
+
@name = name
|
|
765
|
+
end
|
|
766
|
+
end
|
|
767
|
+
|
|
768
|
+
class Delivery < ::Stripe::RequestParams
|
|
769
|
+
class Recipient < ::Stripe::RequestParams
|
|
770
|
+
# The email of the recipient the ticket is delivered to.
|
|
771
|
+
attr_accessor :email
|
|
772
|
+
# The name of the recipient the ticket is delivered to.
|
|
773
|
+
attr_accessor :name
|
|
774
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
775
|
+
attr_accessor :phone
|
|
776
|
+
|
|
777
|
+
def initialize(email: nil, name: nil, phone: nil)
|
|
778
|
+
@email = email
|
|
779
|
+
@name = name
|
|
780
|
+
@phone = phone
|
|
781
|
+
end
|
|
782
|
+
end
|
|
783
|
+
# The delivery method for the payment
|
|
784
|
+
attr_accessor :mode
|
|
785
|
+
# Details of the recipient.
|
|
786
|
+
attr_accessor :recipient
|
|
787
|
+
|
|
788
|
+
def initialize(mode: nil, recipient: nil)
|
|
789
|
+
@mode = mode
|
|
790
|
+
@recipient = recipient
|
|
791
|
+
end
|
|
792
|
+
end
|
|
793
|
+
|
|
794
|
+
class Passenger < ::Stripe::RequestParams
|
|
795
|
+
# Full name of the person or entity on the lodging reservation.
|
|
796
|
+
attr_accessor :name
|
|
797
|
+
|
|
798
|
+
def initialize(name: nil)
|
|
799
|
+
@name = name
|
|
800
|
+
end
|
|
801
|
+
end
|
|
802
|
+
# The lodging location's address.
|
|
803
|
+
attr_accessor :address
|
|
804
|
+
# The number of adults on the booking
|
|
805
|
+
attr_accessor :adults
|
|
806
|
+
# Affiliate details for this purchase.
|
|
807
|
+
attr_accessor :affiliate
|
|
808
|
+
# The booking number associated with the lodging reservation.
|
|
809
|
+
attr_accessor :booking_number
|
|
810
|
+
# The lodging category
|
|
811
|
+
attr_accessor :category
|
|
812
|
+
# Lodging check-in time. Measured in seconds since the Unix epoch.
|
|
813
|
+
attr_accessor :checkin_at
|
|
814
|
+
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
|
815
|
+
attr_accessor :checkout_at
|
|
816
|
+
# The customer service phone number of the lodging company.
|
|
817
|
+
attr_accessor :customer_service_phone_number
|
|
818
|
+
# The daily lodging room rate.
|
|
819
|
+
attr_accessor :daily_room_rate_amount
|
|
820
|
+
# Delivery details for this purchase.
|
|
821
|
+
attr_accessor :delivery
|
|
822
|
+
# List of additional charges being billed.
|
|
823
|
+
attr_accessor :extra_charges
|
|
824
|
+
# Indicates whether the lodging location is compliant with the Fire Safety Act.
|
|
825
|
+
attr_accessor :fire_safety_act_compliance
|
|
826
|
+
# The name of the lodging location.
|
|
827
|
+
attr_accessor :name
|
|
828
|
+
# Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
|
829
|
+
attr_accessor :no_show
|
|
830
|
+
# The number of rooms on the booking
|
|
831
|
+
attr_accessor :number_of_rooms
|
|
832
|
+
# The details of the passengers in the travel reservation
|
|
833
|
+
attr_accessor :passengers
|
|
834
|
+
# The phone number of the lodging location.
|
|
835
|
+
attr_accessor :property_phone_number
|
|
836
|
+
# The room class for this purchase.
|
|
837
|
+
attr_accessor :room_class
|
|
838
|
+
# The number of room nights
|
|
839
|
+
attr_accessor :room_nights
|
|
840
|
+
# The total tax amount associating with the room reservation.
|
|
841
|
+
attr_accessor :total_room_tax_amount
|
|
842
|
+
# The total tax amount
|
|
843
|
+
attr_accessor :total_tax_amount
|
|
844
|
+
|
|
845
|
+
def initialize(
|
|
846
|
+
address: nil,
|
|
847
|
+
adults: nil,
|
|
848
|
+
affiliate: nil,
|
|
849
|
+
booking_number: nil,
|
|
850
|
+
category: nil,
|
|
851
|
+
checkin_at: nil,
|
|
852
|
+
checkout_at: nil,
|
|
853
|
+
customer_service_phone_number: nil,
|
|
854
|
+
daily_room_rate_amount: nil,
|
|
855
|
+
delivery: nil,
|
|
856
|
+
extra_charges: nil,
|
|
857
|
+
fire_safety_act_compliance: nil,
|
|
858
|
+
name: nil,
|
|
859
|
+
no_show: nil,
|
|
860
|
+
number_of_rooms: nil,
|
|
861
|
+
passengers: nil,
|
|
862
|
+
property_phone_number: nil,
|
|
863
|
+
room_class: nil,
|
|
864
|
+
room_nights: nil,
|
|
865
|
+
total_room_tax_amount: nil,
|
|
866
|
+
total_tax_amount: nil
|
|
867
|
+
)
|
|
868
|
+
@address = address
|
|
869
|
+
@adults = adults
|
|
870
|
+
@affiliate = affiliate
|
|
871
|
+
@booking_number = booking_number
|
|
872
|
+
@category = category
|
|
873
|
+
@checkin_at = checkin_at
|
|
874
|
+
@checkout_at = checkout_at
|
|
875
|
+
@customer_service_phone_number = customer_service_phone_number
|
|
876
|
+
@daily_room_rate_amount = daily_room_rate_amount
|
|
877
|
+
@delivery = delivery
|
|
878
|
+
@extra_charges = extra_charges
|
|
879
|
+
@fire_safety_act_compliance = fire_safety_act_compliance
|
|
880
|
+
@name = name
|
|
881
|
+
@no_show = no_show
|
|
882
|
+
@number_of_rooms = number_of_rooms
|
|
883
|
+
@passengers = passengers
|
|
884
|
+
@property_phone_number = property_phone_number
|
|
885
|
+
@room_class = room_class
|
|
886
|
+
@room_nights = room_nights
|
|
887
|
+
@total_room_tax_amount = total_room_tax_amount
|
|
888
|
+
@total_tax_amount = total_tax_amount
|
|
889
|
+
end
|
|
890
|
+
end
|
|
891
|
+
|
|
892
|
+
class Subscription < ::Stripe::RequestParams
|
|
893
|
+
class Affiliate < ::Stripe::RequestParams
|
|
894
|
+
# The name of the affiliate that originated the purchase.
|
|
895
|
+
attr_accessor :name
|
|
896
|
+
|
|
897
|
+
def initialize(name: nil)
|
|
898
|
+
@name = name
|
|
899
|
+
end
|
|
900
|
+
end
|
|
901
|
+
|
|
902
|
+
class BillingInterval < ::Stripe::RequestParams
|
|
903
|
+
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
904
|
+
attr_accessor :count
|
|
905
|
+
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
906
|
+
attr_accessor :interval
|
|
907
|
+
|
|
908
|
+
def initialize(count: nil, interval: nil)
|
|
909
|
+
@count = count
|
|
910
|
+
@interval = interval
|
|
911
|
+
end
|
|
912
|
+
end
|
|
913
|
+
# Affiliate details for this purchase.
|
|
914
|
+
attr_accessor :affiliate
|
|
915
|
+
# Info whether the subscription will be auto renewed upon expiry.
|
|
916
|
+
attr_accessor :auto_renewal
|
|
917
|
+
# Subscription billing details for this purchase.
|
|
918
|
+
attr_accessor :billing_interval
|
|
919
|
+
# Subscription end time. Measured in seconds since the Unix epoch.
|
|
920
|
+
attr_accessor :ends_at
|
|
921
|
+
# Name of the product on subscription. e.g. Apple Music Subscription
|
|
922
|
+
attr_accessor :name
|
|
923
|
+
# Subscription start time. Measured in seconds since the Unix epoch.
|
|
924
|
+
attr_accessor :starts_at
|
|
925
|
+
|
|
926
|
+
def initialize(
|
|
927
|
+
affiliate: nil,
|
|
928
|
+
auto_renewal: nil,
|
|
929
|
+
billing_interval: nil,
|
|
930
|
+
ends_at: nil,
|
|
931
|
+
name: nil,
|
|
932
|
+
starts_at: nil
|
|
933
|
+
)
|
|
934
|
+
@affiliate = affiliate
|
|
935
|
+
@auto_renewal = auto_renewal
|
|
936
|
+
@billing_interval = billing_interval
|
|
937
|
+
@ends_at = ends_at
|
|
938
|
+
@name = name
|
|
939
|
+
@starts_at = starts_at
|
|
940
|
+
end
|
|
941
|
+
end
|
|
942
|
+
# Benefit details for this PaymentIntent
|
|
943
|
+
attr_accessor :benefit
|
|
944
|
+
# Car rental details for this PaymentIntent.
|
|
945
|
+
attr_accessor :car_rental
|
|
946
|
+
# Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field.
|
|
234
947
|
attr_accessor :customer_reference
|
|
235
|
-
#
|
|
236
|
-
|
|
237
|
-
#
|
|
238
|
-
|
|
239
|
-
#
|
|
948
|
+
# Event details for this PaymentIntent
|
|
949
|
+
attr_accessor :event_details
|
|
950
|
+
# Flight reservation details for this PaymentIntent
|
|
951
|
+
attr_accessor :flight
|
|
952
|
+
# Lodging reservation details for this PaymentIntent
|
|
953
|
+
attr_accessor :lodging
|
|
954
|
+
# A unique value assigned by the business to identify the transaction.
|
|
240
955
|
attr_accessor :order_reference
|
|
956
|
+
# Subscription details for this PaymentIntent
|
|
957
|
+
attr_accessor :subscription
|
|
241
958
|
|
|
242
|
-
def initialize(
|
|
959
|
+
def initialize(
|
|
960
|
+
benefit: nil,
|
|
961
|
+
car_rental: nil,
|
|
962
|
+
customer_reference: nil,
|
|
963
|
+
event_details: nil,
|
|
964
|
+
flight: nil,
|
|
965
|
+
lodging: nil,
|
|
966
|
+
order_reference: nil,
|
|
967
|
+
subscription: nil
|
|
968
|
+
)
|
|
969
|
+
@benefit = benefit
|
|
970
|
+
@car_rental = car_rental
|
|
243
971
|
@customer_reference = customer_reference
|
|
972
|
+
@event_details = event_details
|
|
973
|
+
@flight = flight
|
|
974
|
+
@lodging = lodging
|
|
244
975
|
@order_reference = order_reference
|
|
976
|
+
@subscription = subscription
|
|
245
977
|
end
|
|
246
978
|
end
|
|
247
979
|
|
|
@@ -382,8 +1114,18 @@ module Stripe
|
|
|
382
1114
|
end
|
|
383
1115
|
|
|
384
1116
|
class Giropay < ::Stripe::RequestParams; end
|
|
1117
|
+
class Gopay < ::Stripe::RequestParams; end
|
|
385
1118
|
class Grabpay < ::Stripe::RequestParams; end
|
|
386
1119
|
|
|
1120
|
+
class IdBankTransfer < ::Stripe::RequestParams
|
|
1121
|
+
# Bank where the account is held.
|
|
1122
|
+
attr_accessor :bank
|
|
1123
|
+
|
|
1124
|
+
def initialize(bank: nil)
|
|
1125
|
+
@bank = bank
|
|
1126
|
+
end
|
|
1127
|
+
end
|
|
1128
|
+
|
|
387
1129
|
class Ideal < ::Stripe::RequestParams
|
|
388
1130
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
389
1131
|
attr_accessor :bank
|
|
@@ -481,8 +1223,26 @@ module Stripe
|
|
|
481
1223
|
class Payco < ::Stripe::RequestParams; end
|
|
482
1224
|
class Paynow < ::Stripe::RequestParams; end
|
|
483
1225
|
class Paypal < ::Stripe::RequestParams; end
|
|
1226
|
+
class Paypay < ::Stripe::RequestParams; end
|
|
1227
|
+
|
|
1228
|
+
class Payto < ::Stripe::RequestParams
|
|
1229
|
+
# The account number for the bank account.
|
|
1230
|
+
attr_accessor :account_number
|
|
1231
|
+
# Bank-State-Branch number of the bank account.
|
|
1232
|
+
attr_accessor :bsb_number
|
|
1233
|
+
# The PayID alias for the bank account.
|
|
1234
|
+
attr_accessor :pay_id
|
|
1235
|
+
|
|
1236
|
+
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
|
1237
|
+
@account_number = account_number
|
|
1238
|
+
@bsb_number = bsb_number
|
|
1239
|
+
@pay_id = pay_id
|
|
1240
|
+
end
|
|
1241
|
+
end
|
|
1242
|
+
|
|
484
1243
|
class Pix < ::Stripe::RequestParams; end
|
|
485
1244
|
class Promptpay < ::Stripe::RequestParams; end
|
|
1245
|
+
class Qris < ::Stripe::RequestParams; end
|
|
486
1246
|
|
|
487
1247
|
class RadarOptions < ::Stripe::RequestParams
|
|
488
1248
|
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
@@ -493,6 +1253,29 @@ module Stripe
|
|
|
493
1253
|
end
|
|
494
1254
|
end
|
|
495
1255
|
|
|
1256
|
+
class Rechnung < ::Stripe::RequestParams
|
|
1257
|
+
class Dob < ::Stripe::RequestParams
|
|
1258
|
+
# The day of birth, between 1 and 31.
|
|
1259
|
+
attr_accessor :day
|
|
1260
|
+
# The month of birth, between 1 and 12.
|
|
1261
|
+
attr_accessor :month
|
|
1262
|
+
# The four-digit year of birth.
|
|
1263
|
+
attr_accessor :year
|
|
1264
|
+
|
|
1265
|
+
def initialize(day: nil, month: nil, year: nil)
|
|
1266
|
+
@day = day
|
|
1267
|
+
@month = month
|
|
1268
|
+
@year = year
|
|
1269
|
+
end
|
|
1270
|
+
end
|
|
1271
|
+
# Customer's date of birth
|
|
1272
|
+
attr_accessor :dob
|
|
1273
|
+
|
|
1274
|
+
def initialize(dob: nil)
|
|
1275
|
+
@dob = dob
|
|
1276
|
+
end
|
|
1277
|
+
end
|
|
1278
|
+
|
|
496
1279
|
class RevolutPay < ::Stripe::RequestParams; end
|
|
497
1280
|
class SamsungPay < ::Stripe::RequestParams; end
|
|
498
1281
|
class Satispay < ::Stripe::RequestParams; end
|
|
@@ -506,6 +1289,8 @@ module Stripe
|
|
|
506
1289
|
end
|
|
507
1290
|
end
|
|
508
1291
|
|
|
1292
|
+
class Shopeepay < ::Stripe::RequestParams; end
|
|
1293
|
+
|
|
509
1294
|
class Sofort < ::Stripe::RequestParams
|
|
510
1295
|
# Two-letter ISO code representing the country the bank account is located in.
|
|
511
1296
|
attr_accessor :country
|
|
@@ -515,6 +1300,18 @@ module Stripe
|
|
|
515
1300
|
end
|
|
516
1301
|
end
|
|
517
1302
|
|
|
1303
|
+
class StripeBalance < ::Stripe::RequestParams
|
|
1304
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
|
1305
|
+
attr_accessor :account
|
|
1306
|
+
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
1307
|
+
attr_accessor :source_type
|
|
1308
|
+
|
|
1309
|
+
def initialize(account: nil, source_type: nil)
|
|
1310
|
+
@account = account
|
|
1311
|
+
@source_type = source_type
|
|
1312
|
+
end
|
|
1313
|
+
end
|
|
1314
|
+
|
|
518
1315
|
class Swish < ::Stripe::RequestParams; end
|
|
519
1316
|
class Twint < ::Stripe::RequestParams; end
|
|
520
1317
|
|
|
@@ -587,8 +1384,12 @@ module Stripe
|
|
|
587
1384
|
attr_accessor :fpx
|
|
588
1385
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
|
589
1386
|
attr_accessor :giropay
|
|
1387
|
+
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
1388
|
+
attr_accessor :gopay
|
|
590
1389
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
591
1390
|
attr_accessor :grabpay
|
|
1391
|
+
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
1392
|
+
attr_accessor :id_bank_transfer
|
|
592
1393
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
593
1394
|
attr_accessor :ideal
|
|
594
1395
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
|
@@ -627,12 +1428,20 @@ module Stripe
|
|
|
627
1428
|
attr_accessor :paynow
|
|
628
1429
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
|
629
1430
|
attr_accessor :paypal
|
|
1431
|
+
# If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
|
1432
|
+
attr_accessor :paypay
|
|
1433
|
+
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
1434
|
+
attr_accessor :payto
|
|
630
1435
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
631
1436
|
attr_accessor :pix
|
|
632
1437
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
|
633
1438
|
attr_accessor :promptpay
|
|
1439
|
+
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
1440
|
+
attr_accessor :qris
|
|
634
1441
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
635
1442
|
attr_accessor :radar_options
|
|
1443
|
+
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
1444
|
+
attr_accessor :rechnung
|
|
636
1445
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
637
1446
|
attr_accessor :revolut_pay
|
|
638
1447
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
|
@@ -641,8 +1450,12 @@ module Stripe
|
|
|
641
1450
|
attr_accessor :satispay
|
|
642
1451
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
|
643
1452
|
attr_accessor :sepa_debit
|
|
1453
|
+
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
1454
|
+
attr_accessor :shopeepay
|
|
644
1455
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
645
1456
|
attr_accessor :sofort
|
|
1457
|
+
# This hash contains details about the Stripe balance payment method.
|
|
1458
|
+
attr_accessor :stripe_balance
|
|
646
1459
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
647
1460
|
attr_accessor :swish
|
|
648
1461
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
|
@@ -677,7 +1490,9 @@ module Stripe
|
|
|
677
1490
|
eps: nil,
|
|
678
1491
|
fpx: nil,
|
|
679
1492
|
giropay: nil,
|
|
1493
|
+
gopay: nil,
|
|
680
1494
|
grabpay: nil,
|
|
1495
|
+
id_bank_transfer: nil,
|
|
681
1496
|
ideal: nil,
|
|
682
1497
|
interac_present: nil,
|
|
683
1498
|
kakao_pay: nil,
|
|
@@ -697,14 +1512,20 @@ module Stripe
|
|
|
697
1512
|
payco: nil,
|
|
698
1513
|
paynow: nil,
|
|
699
1514
|
paypal: nil,
|
|
1515
|
+
paypay: nil,
|
|
1516
|
+
payto: nil,
|
|
700
1517
|
pix: nil,
|
|
701
1518
|
promptpay: nil,
|
|
1519
|
+
qris: nil,
|
|
702
1520
|
radar_options: nil,
|
|
1521
|
+
rechnung: nil,
|
|
703
1522
|
revolut_pay: nil,
|
|
704
1523
|
samsung_pay: nil,
|
|
705
1524
|
satispay: nil,
|
|
706
1525
|
sepa_debit: nil,
|
|
1526
|
+
shopeepay: nil,
|
|
707
1527
|
sofort: nil,
|
|
1528
|
+
stripe_balance: nil,
|
|
708
1529
|
swish: nil,
|
|
709
1530
|
twint: nil,
|
|
710
1531
|
type: nil,
|
|
@@ -732,7 +1553,9 @@ module Stripe
|
|
|
732
1553
|
@eps = eps
|
|
733
1554
|
@fpx = fpx
|
|
734
1555
|
@giropay = giropay
|
|
1556
|
+
@gopay = gopay
|
|
735
1557
|
@grabpay = grabpay
|
|
1558
|
+
@id_bank_transfer = id_bank_transfer
|
|
736
1559
|
@ideal = ideal
|
|
737
1560
|
@interac_present = interac_present
|
|
738
1561
|
@kakao_pay = kakao_pay
|
|
@@ -752,14 +1575,20 @@ module Stripe
|
|
|
752
1575
|
@payco = payco
|
|
753
1576
|
@paynow = paynow
|
|
754
1577
|
@paypal = paypal
|
|
1578
|
+
@paypay = paypay
|
|
1579
|
+
@payto = payto
|
|
755
1580
|
@pix = pix
|
|
756
1581
|
@promptpay = promptpay
|
|
1582
|
+
@qris = qris
|
|
757
1583
|
@radar_options = radar_options
|
|
1584
|
+
@rechnung = rechnung
|
|
758
1585
|
@revolut_pay = revolut_pay
|
|
759
1586
|
@samsung_pay = samsung_pay
|
|
760
1587
|
@satispay = satispay
|
|
761
1588
|
@sepa_debit = sepa_debit
|
|
1589
|
+
@shopeepay = shopeepay
|
|
762
1590
|
@sofort = sofort
|
|
1591
|
+
@stripe_balance = stripe_balance
|
|
763
1592
|
@swish = swish
|
|
764
1593
|
@twint = twint
|
|
765
1594
|
@type = type
|
|
@@ -1130,6 +1959,48 @@ module Stripe
|
|
|
1130
1959
|
end
|
|
1131
1960
|
end
|
|
1132
1961
|
|
|
1962
|
+
class StatementDetails < ::Stripe::RequestParams
|
|
1963
|
+
class Address < ::Stripe::RequestParams
|
|
1964
|
+
# City, district, suburb, town, or village.
|
|
1965
|
+
attr_accessor :city
|
|
1966
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1967
|
+
attr_accessor :country
|
|
1968
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1969
|
+
attr_accessor :line1
|
|
1970
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1971
|
+
attr_accessor :line2
|
|
1972
|
+
# ZIP or postal code.
|
|
1973
|
+
attr_accessor :postal_code
|
|
1974
|
+
# State, county, province, or region.
|
|
1975
|
+
attr_accessor :state
|
|
1976
|
+
|
|
1977
|
+
def initialize(
|
|
1978
|
+
city: nil,
|
|
1979
|
+
country: nil,
|
|
1980
|
+
line1: nil,
|
|
1981
|
+
line2: nil,
|
|
1982
|
+
postal_code: nil,
|
|
1983
|
+
state: nil
|
|
1984
|
+
)
|
|
1985
|
+
@city = city
|
|
1986
|
+
@country = country
|
|
1987
|
+
@line1 = line1
|
|
1988
|
+
@line2 = line2
|
|
1989
|
+
@postal_code = postal_code
|
|
1990
|
+
@state = state
|
|
1991
|
+
end
|
|
1992
|
+
end
|
|
1993
|
+
# Please pass in an address that is within your Stripe user account country
|
|
1994
|
+
attr_accessor :address
|
|
1995
|
+
# Phone number (e.g., a toll-free number that customers can call)
|
|
1996
|
+
attr_accessor :phone
|
|
1997
|
+
|
|
1998
|
+
def initialize(address: nil, phone: nil)
|
|
1999
|
+
@address = address
|
|
2000
|
+
@phone = phone
|
|
2001
|
+
end
|
|
2002
|
+
end
|
|
2003
|
+
|
|
1133
2004
|
class ThreeDSecure < ::Stripe::RequestParams
|
|
1134
2005
|
class NetworkOptions < ::Stripe::RequestParams
|
|
1135
2006
|
class CartesBancaires < ::Stripe::RequestParams
|
|
@@ -1224,6 +2095,8 @@ module Stripe
|
|
|
1224
2095
|
attr_accessor :moto
|
|
1225
2096
|
# Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time.
|
|
1226
2097
|
attr_accessor :network
|
|
2098
|
+
# Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent.
|
|
2099
|
+
attr_accessor :request_decremental_authorization
|
|
1227
2100
|
# Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
|
|
1228
2101
|
attr_accessor :request_extended_authorization
|
|
1229
2102
|
# Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent.
|
|
@@ -1232,6 +2105,8 @@ module Stripe
|
|
|
1232
2105
|
attr_accessor :request_multicapture
|
|
1233
2106
|
# Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent.
|
|
1234
2107
|
attr_accessor :request_overcapture
|
|
2108
|
+
# Request partial authorization on this PaymentIntent.
|
|
2109
|
+
attr_accessor :request_partial_authorization
|
|
1235
2110
|
# 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.
|
|
1236
2111
|
attr_accessor :request_three_d_secure
|
|
1237
2112
|
# 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).
|
|
@@ -1250,6 +2125,8 @@ module Stripe
|
|
|
1250
2125
|
attr_accessor :statement_descriptor_suffix_kana
|
|
1251
2126
|
# 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.
|
|
1252
2127
|
attr_accessor :statement_descriptor_suffix_kanji
|
|
2128
|
+
# Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements.
|
|
2129
|
+
attr_accessor :statement_details
|
|
1253
2130
|
# If 3D Secure authentication was performed with a third-party provider,
|
|
1254
2131
|
# the authentication details to use for this payment.
|
|
1255
2132
|
attr_accessor :three_d_secure
|
|
@@ -1261,15 +2138,18 @@ module Stripe
|
|
|
1261
2138
|
mandate_options: nil,
|
|
1262
2139
|
moto: nil,
|
|
1263
2140
|
network: nil,
|
|
2141
|
+
request_decremental_authorization: nil,
|
|
1264
2142
|
request_extended_authorization: nil,
|
|
1265
2143
|
request_incremental_authorization: nil,
|
|
1266
2144
|
request_multicapture: nil,
|
|
1267
2145
|
request_overcapture: nil,
|
|
2146
|
+
request_partial_authorization: nil,
|
|
1268
2147
|
request_three_d_secure: nil,
|
|
1269
2148
|
require_cvc_recollection: nil,
|
|
1270
2149
|
setup_future_usage: nil,
|
|
1271
2150
|
statement_descriptor_suffix_kana: nil,
|
|
1272
2151
|
statement_descriptor_suffix_kanji: nil,
|
|
2152
|
+
statement_details: nil,
|
|
1273
2153
|
three_d_secure: nil
|
|
1274
2154
|
)
|
|
1275
2155
|
@capture_method = capture_method
|
|
@@ -1278,15 +2158,18 @@ module Stripe
|
|
|
1278
2158
|
@mandate_options = mandate_options
|
|
1279
2159
|
@moto = moto
|
|
1280
2160
|
@network = network
|
|
2161
|
+
@request_decremental_authorization = request_decremental_authorization
|
|
1281
2162
|
@request_extended_authorization = request_extended_authorization
|
|
1282
2163
|
@request_incremental_authorization = request_incremental_authorization
|
|
1283
2164
|
@request_multicapture = request_multicapture
|
|
1284
2165
|
@request_overcapture = request_overcapture
|
|
2166
|
+
@request_partial_authorization = request_partial_authorization
|
|
1285
2167
|
@request_three_d_secure = request_three_d_secure
|
|
1286
2168
|
@require_cvc_recollection = require_cvc_recollection
|
|
1287
2169
|
@setup_future_usage = setup_future_usage
|
|
1288
2170
|
@statement_descriptor_suffix_kana = statement_descriptor_suffix_kana
|
|
1289
2171
|
@statement_descriptor_suffix_kanji = statement_descriptor_suffix_kanji
|
|
2172
|
+
@statement_details = statement_details
|
|
1290
2173
|
@three_d_secure = three_d_secure
|
|
1291
2174
|
end
|
|
1292
2175
|
end
|
|
@@ -1300,12 +2183,6 @@ module Stripe
|
|
|
1300
2183
|
@requested_priority = requested_priority
|
|
1301
2184
|
end
|
|
1302
2185
|
end
|
|
1303
|
-
# Controls when the funds are captured from the customer's account.
|
|
1304
|
-
#
|
|
1305
|
-
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
1306
|
-
#
|
|
1307
|
-
# If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
|
|
1308
|
-
attr_accessor :capture_method
|
|
1309
2186
|
# Request ability to capture this payment beyond the standard [authorization validity window](https://stripe.com/docs/terminal/features/extended-authorizations#authorization-validity)
|
|
1310
2187
|
attr_accessor :request_extended_authorization
|
|
1311
2188
|
# Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support.
|
|
@@ -1314,12 +2191,10 @@ module Stripe
|
|
|
1314
2191
|
attr_accessor :routing
|
|
1315
2192
|
|
|
1316
2193
|
def initialize(
|
|
1317
|
-
capture_method: nil,
|
|
1318
2194
|
request_extended_authorization: nil,
|
|
1319
2195
|
request_incremental_authorization_support: nil,
|
|
1320
2196
|
routing: nil
|
|
1321
2197
|
)
|
|
1322
|
-
@capture_method = capture_method
|
|
1323
2198
|
@request_extended_authorization = request_extended_authorization
|
|
1324
2199
|
@request_incremental_authorization_support = request_incremental_authorization_support
|
|
1325
2200
|
@routing = routing
|
|
@@ -1465,6 +2340,23 @@ module Stripe
|
|
|
1465
2340
|
end
|
|
1466
2341
|
end
|
|
1467
2342
|
|
|
2343
|
+
class Gopay < ::Stripe::RequestParams
|
|
2344
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2345
|
+
#
|
|
2346
|
+
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
2347
|
+
#
|
|
2348
|
+
# 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.
|
|
2349
|
+
#
|
|
2350
|
+
# 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).
|
|
2351
|
+
#
|
|
2352
|
+
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
2353
|
+
attr_accessor :setup_future_usage
|
|
2354
|
+
|
|
2355
|
+
def initialize(setup_future_usage: nil)
|
|
2356
|
+
@setup_future_usage = setup_future_usage
|
|
2357
|
+
end
|
|
2358
|
+
end
|
|
2359
|
+
|
|
1468
2360
|
class Grabpay < ::Stripe::RequestParams
|
|
1469
2361
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1470
2362
|
#
|
|
@@ -1482,6 +2374,29 @@ module Stripe
|
|
|
1482
2374
|
end
|
|
1483
2375
|
end
|
|
1484
2376
|
|
|
2377
|
+
class IdBankTransfer < ::Stripe::RequestParams
|
|
2378
|
+
# The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now.
|
|
2379
|
+
attr_accessor :expires_after
|
|
2380
|
+
# 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.
|
|
2381
|
+
attr_accessor :expires_at
|
|
2382
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2383
|
+
#
|
|
2384
|
+
# 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.
|
|
2385
|
+
#
|
|
2386
|
+
# 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.
|
|
2387
|
+
#
|
|
2388
|
+
# 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).
|
|
2389
|
+
#
|
|
2390
|
+
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
2391
|
+
attr_accessor :setup_future_usage
|
|
2392
|
+
|
|
2393
|
+
def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil)
|
|
2394
|
+
@expires_after = expires_after
|
|
2395
|
+
@expires_at = expires_at
|
|
2396
|
+
@setup_future_usage = setup_future_usage
|
|
2397
|
+
end
|
|
2398
|
+
end
|
|
2399
|
+
|
|
1485
2400
|
class Ideal < ::Stripe::RequestParams
|
|
1486
2401
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1487
2402
|
#
|
|
@@ -1883,12 +2798,65 @@ module Stripe
|
|
|
1883
2798
|
end
|
|
1884
2799
|
|
|
1885
2800
|
class Paypal < ::Stripe::RequestParams
|
|
2801
|
+
class LineItem < ::Stripe::RequestParams
|
|
2802
|
+
class Tax < ::Stripe::RequestParams
|
|
2803
|
+
# The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
|
2804
|
+
attr_accessor :amount
|
|
2805
|
+
# The tax behavior for the line item.
|
|
2806
|
+
attr_accessor :behavior
|
|
2807
|
+
|
|
2808
|
+
def initialize(amount: nil, behavior: nil)
|
|
2809
|
+
@amount = amount
|
|
2810
|
+
@behavior = behavior
|
|
2811
|
+
end
|
|
2812
|
+
end
|
|
2813
|
+
# Type of the line item.
|
|
2814
|
+
attr_accessor :category
|
|
2815
|
+
# Description of the line item.
|
|
2816
|
+
attr_accessor :description
|
|
2817
|
+
# Descriptive name of the line item.
|
|
2818
|
+
attr_accessor :name
|
|
2819
|
+
# Quantity of the line item. Must be a positive number.
|
|
2820
|
+
attr_accessor :quantity
|
|
2821
|
+
# Client facing stock keeping unit, article number or similar.
|
|
2822
|
+
attr_accessor :sku
|
|
2823
|
+
# The Stripe account ID of the connected account that sells the item.
|
|
2824
|
+
attr_accessor :sold_by
|
|
2825
|
+
# The tax information for the line item.
|
|
2826
|
+
attr_accessor :tax
|
|
2827
|
+
# Price for a single unit of the line item in minor units. Cannot be a negative number.
|
|
2828
|
+
attr_accessor :unit_amount
|
|
2829
|
+
|
|
2830
|
+
def initialize(
|
|
2831
|
+
category: nil,
|
|
2832
|
+
description: nil,
|
|
2833
|
+
name: nil,
|
|
2834
|
+
quantity: nil,
|
|
2835
|
+
sku: nil,
|
|
2836
|
+
sold_by: nil,
|
|
2837
|
+
tax: nil,
|
|
2838
|
+
unit_amount: nil
|
|
2839
|
+
)
|
|
2840
|
+
@category = category
|
|
2841
|
+
@description = description
|
|
2842
|
+
@name = name
|
|
2843
|
+
@quantity = quantity
|
|
2844
|
+
@sku = sku
|
|
2845
|
+
@sold_by = sold_by
|
|
2846
|
+
@tax = tax
|
|
2847
|
+
@unit_amount = unit_amount
|
|
2848
|
+
end
|
|
2849
|
+
end
|
|
1886
2850
|
# Controls when the funds will be captured from the customer's account.
|
|
1887
2851
|
attr_accessor :capture_method
|
|
2852
|
+
# The line items purchased by the customer.
|
|
2853
|
+
attr_accessor :line_items
|
|
1888
2854
|
# [Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
|
|
1889
2855
|
attr_accessor :preferred_locale
|
|
1890
2856
|
# 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.
|
|
1891
2857
|
attr_accessor :reference
|
|
2858
|
+
# 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.
|
|
2859
|
+
attr_accessor :reference_id
|
|
1892
2860
|
# The risk correlation ID for an on-session payment using a saved PayPal payment method.
|
|
1893
2861
|
attr_accessor :risk_correlation_id
|
|
1894
2862
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -1901,29 +2869,140 @@ module Stripe
|
|
|
1901
2869
|
#
|
|
1902
2870
|
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
1903
2871
|
attr_accessor :setup_future_usage
|
|
2872
|
+
# 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.
|
|
2873
|
+
attr_accessor :subsellers
|
|
1904
2874
|
|
|
1905
2875
|
def initialize(
|
|
1906
2876
|
capture_method: nil,
|
|
2877
|
+
line_items: nil,
|
|
1907
2878
|
preferred_locale: nil,
|
|
1908
2879
|
reference: nil,
|
|
2880
|
+
reference_id: nil,
|
|
1909
2881
|
risk_correlation_id: nil,
|
|
1910
|
-
setup_future_usage: nil
|
|
2882
|
+
setup_future_usage: nil,
|
|
2883
|
+
subsellers: nil
|
|
1911
2884
|
)
|
|
1912
2885
|
@capture_method = capture_method
|
|
2886
|
+
@line_items = line_items
|
|
1913
2887
|
@preferred_locale = preferred_locale
|
|
1914
2888
|
@reference = reference
|
|
2889
|
+
@reference_id = reference_id
|
|
1915
2890
|
@risk_correlation_id = risk_correlation_id
|
|
1916
2891
|
@setup_future_usage = setup_future_usage
|
|
2892
|
+
@subsellers = subsellers
|
|
2893
|
+
end
|
|
2894
|
+
end
|
|
2895
|
+
|
|
2896
|
+
class Paypay < ::Stripe::RequestParams
|
|
2897
|
+
# Controls when the funds are captured from the customer's account.
|
|
2898
|
+
#
|
|
2899
|
+
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
2900
|
+
#
|
|
2901
|
+
# If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
|
|
2902
|
+
attr_accessor :capture_method
|
|
2903
|
+
|
|
2904
|
+
def initialize(capture_method: nil)
|
|
2905
|
+
@capture_method = capture_method
|
|
2906
|
+
end
|
|
2907
|
+
end
|
|
2908
|
+
|
|
2909
|
+
class Payto < ::Stripe::RequestParams
|
|
2910
|
+
class MandateOptions < ::Stripe::RequestParams
|
|
2911
|
+
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
2912
|
+
attr_accessor :amount
|
|
2913
|
+
# 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.
|
|
2914
|
+
attr_accessor :amount_type
|
|
2915
|
+
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
2916
|
+
attr_accessor :end_date
|
|
2917
|
+
# The periodicity at which payments will be collected.
|
|
2918
|
+
attr_accessor :payment_schedule
|
|
2919
|
+
# 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.
|
|
2920
|
+
attr_accessor :payments_per_period
|
|
2921
|
+
# The purpose for which payments are made. Defaults to retail.
|
|
2922
|
+
attr_accessor :purpose
|
|
2923
|
+
|
|
2924
|
+
def initialize(
|
|
2925
|
+
amount: nil,
|
|
2926
|
+
amount_type: nil,
|
|
2927
|
+
end_date: nil,
|
|
2928
|
+
payment_schedule: nil,
|
|
2929
|
+
payments_per_period: nil,
|
|
2930
|
+
purpose: nil
|
|
2931
|
+
)
|
|
2932
|
+
@amount = amount
|
|
2933
|
+
@amount_type = amount_type
|
|
2934
|
+
@end_date = end_date
|
|
2935
|
+
@payment_schedule = payment_schedule
|
|
2936
|
+
@payments_per_period = payments_per_period
|
|
2937
|
+
@purpose = purpose
|
|
2938
|
+
end
|
|
2939
|
+
end
|
|
2940
|
+
# Additional fields for Mandate creation. Only `purpose` field is configurable for PayTo PaymentIntent with `setup_future_usage=none`. Other fields are only applicable to PayTo PaymentIntent with `setup_future_usage=off_session`
|
|
2941
|
+
attr_accessor :mandate_options
|
|
2942
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2943
|
+
#
|
|
2944
|
+
# 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.
|
|
2945
|
+
#
|
|
2946
|
+
# 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.
|
|
2947
|
+
#
|
|
2948
|
+
# 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).
|
|
2949
|
+
#
|
|
2950
|
+
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
2951
|
+
attr_accessor :setup_future_usage
|
|
2952
|
+
|
|
2953
|
+
def initialize(mandate_options: nil, setup_future_usage: nil)
|
|
2954
|
+
@mandate_options = mandate_options
|
|
2955
|
+
@setup_future_usage = setup_future_usage
|
|
1917
2956
|
end
|
|
1918
2957
|
end
|
|
1919
2958
|
|
|
1920
2959
|
class Pix < ::Stripe::RequestParams
|
|
2960
|
+
class MandateOptions < ::Stripe::RequestParams
|
|
2961
|
+
# Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
|
|
2962
|
+
attr_accessor :amount
|
|
2963
|
+
# Determines if the amount includes the IOF tax. Defaults to `never`.
|
|
2964
|
+
attr_accessor :amount_includes_iof
|
|
2965
|
+
# Type of amount. Defaults to `maximum`.
|
|
2966
|
+
attr_accessor :amount_type
|
|
2967
|
+
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
|
|
2968
|
+
attr_accessor :currency
|
|
2969
|
+
# Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
|
|
2970
|
+
attr_accessor :end_date
|
|
2971
|
+
# Schedule at which the future payments will be charged. Defaults to `weekly`.
|
|
2972
|
+
attr_accessor :payment_schedule
|
|
2973
|
+
# Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
|
|
2974
|
+
attr_accessor :reference
|
|
2975
|
+
# Start date of the mandate, in `YYYY-MM-DD`. Start date should be at least 3 days in the future. Defaults to 3 days after the current date.
|
|
2976
|
+
attr_accessor :start_date
|
|
2977
|
+
|
|
2978
|
+
def initialize(
|
|
2979
|
+
amount: nil,
|
|
2980
|
+
amount_includes_iof: nil,
|
|
2981
|
+
amount_type: nil,
|
|
2982
|
+
currency: nil,
|
|
2983
|
+
end_date: nil,
|
|
2984
|
+
payment_schedule: nil,
|
|
2985
|
+
reference: nil,
|
|
2986
|
+
start_date: nil
|
|
2987
|
+
)
|
|
2988
|
+
@amount = amount
|
|
2989
|
+
@amount_includes_iof = amount_includes_iof
|
|
2990
|
+
@amount_type = amount_type
|
|
2991
|
+
@currency = currency
|
|
2992
|
+
@end_date = end_date
|
|
2993
|
+
@payment_schedule = payment_schedule
|
|
2994
|
+
@reference = reference
|
|
2995
|
+
@start_date = start_date
|
|
2996
|
+
end
|
|
2997
|
+
end
|
|
1921
2998
|
# Determines if the amount includes the IOF tax. Defaults to `never`.
|
|
1922
2999
|
attr_accessor :amount_includes_iof
|
|
1923
3000
|
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
|
|
1924
3001
|
attr_accessor :expires_after_seconds
|
|
1925
3002
|
# The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.
|
|
1926
3003
|
attr_accessor :expires_at
|
|
3004
|
+
# Additional fields for mandate creation. Only applicable when `setup_future_usage=off_session`.
|
|
3005
|
+
attr_accessor :mandate_options
|
|
1927
3006
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1928
3007
|
#
|
|
1929
3008
|
# 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.
|
|
@@ -1939,11 +3018,13 @@ module Stripe
|
|
|
1939
3018
|
amount_includes_iof: nil,
|
|
1940
3019
|
expires_after_seconds: nil,
|
|
1941
3020
|
expires_at: nil,
|
|
3021
|
+
mandate_options: nil,
|
|
1942
3022
|
setup_future_usage: nil
|
|
1943
3023
|
)
|
|
1944
3024
|
@amount_includes_iof = amount_includes_iof
|
|
1945
3025
|
@expires_after_seconds = expires_after_seconds
|
|
1946
3026
|
@expires_at = expires_at
|
|
3027
|
+
@mandate_options = mandate_options
|
|
1947
3028
|
@setup_future_usage = setup_future_usage
|
|
1948
3029
|
end
|
|
1949
3030
|
end
|
|
@@ -1965,6 +3046,25 @@ module Stripe
|
|
|
1965
3046
|
end
|
|
1966
3047
|
end
|
|
1967
3048
|
|
|
3049
|
+
class Qris < ::Stripe::RequestParams
|
|
3050
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3051
|
+
#
|
|
3052
|
+
# 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.
|
|
3053
|
+
#
|
|
3054
|
+
# 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.
|
|
3055
|
+
#
|
|
3056
|
+
# 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).
|
|
3057
|
+
#
|
|
3058
|
+
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
3059
|
+
attr_accessor :setup_future_usage
|
|
3060
|
+
|
|
3061
|
+
def initialize(setup_future_usage: nil)
|
|
3062
|
+
@setup_future_usage = setup_future_usage
|
|
3063
|
+
end
|
|
3064
|
+
end
|
|
3065
|
+
|
|
3066
|
+
class Rechnung < ::Stripe::RequestParams; end
|
|
3067
|
+
|
|
1968
3068
|
class RevolutPay < ::Stripe::RequestParams
|
|
1969
3069
|
# Controls when the funds are captured from the customer's account.
|
|
1970
3070
|
#
|
|
@@ -2044,6 +3144,23 @@ module Stripe
|
|
|
2044
3144
|
end
|
|
2045
3145
|
end
|
|
2046
3146
|
|
|
3147
|
+
class Shopeepay < ::Stripe::RequestParams
|
|
3148
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3149
|
+
#
|
|
3150
|
+
# 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.
|
|
3151
|
+
#
|
|
3152
|
+
# 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.
|
|
3153
|
+
#
|
|
3154
|
+
# 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).
|
|
3155
|
+
#
|
|
3156
|
+
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
3157
|
+
attr_accessor :setup_future_usage
|
|
3158
|
+
|
|
3159
|
+
def initialize(setup_future_usage: nil)
|
|
3160
|
+
@setup_future_usage = setup_future_usage
|
|
3161
|
+
end
|
|
3162
|
+
end
|
|
3163
|
+
|
|
2047
3164
|
class Sofort < ::Stripe::RequestParams
|
|
2048
3165
|
# Language shown to the payer on redirect.
|
|
2049
3166
|
attr_accessor :preferred_language
|
|
@@ -2064,6 +3181,23 @@ module Stripe
|
|
|
2064
3181
|
end
|
|
2065
3182
|
end
|
|
2066
3183
|
|
|
3184
|
+
class StripeBalance < ::Stripe::RequestParams
|
|
3185
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3186
|
+
#
|
|
3187
|
+
# 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.
|
|
3188
|
+
#
|
|
3189
|
+
# 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.
|
|
3190
|
+
#
|
|
3191
|
+
# 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).
|
|
3192
|
+
#
|
|
3193
|
+
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
3194
|
+
attr_accessor :setup_future_usage
|
|
3195
|
+
|
|
3196
|
+
def initialize(setup_future_usage: nil)
|
|
3197
|
+
@setup_future_usage = setup_future_usage
|
|
3198
|
+
end
|
|
3199
|
+
end
|
|
3200
|
+
|
|
2067
3201
|
class Swish < ::Stripe::RequestParams
|
|
2068
3202
|
# A reference for this payment to be displayed in the Swish app.
|
|
2069
3203
|
attr_accessor :reference
|
|
@@ -2106,13 +3240,27 @@ module Stripe
|
|
|
2106
3240
|
class Filters < ::Stripe::RequestParams
|
|
2107
3241
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
2108
3242
|
attr_accessor :account_subcategories
|
|
3243
|
+
# ID of the institution to use to filter for selectable accounts.
|
|
3244
|
+
attr_accessor :institution
|
|
2109
3245
|
|
|
2110
|
-
def initialize(account_subcategories: nil)
|
|
3246
|
+
def initialize(account_subcategories: nil, institution: nil)
|
|
2111
3247
|
@account_subcategories = account_subcategories
|
|
3248
|
+
@institution = institution
|
|
3249
|
+
end
|
|
3250
|
+
end
|
|
3251
|
+
|
|
3252
|
+
class ManualEntry < ::Stripe::RequestParams
|
|
3253
|
+
# Settings for configuring manual entry of account details.
|
|
3254
|
+
attr_accessor :mode
|
|
3255
|
+
|
|
3256
|
+
def initialize(mode: nil)
|
|
3257
|
+
@mode = mode
|
|
2112
3258
|
end
|
|
2113
3259
|
end
|
|
2114
3260
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
|
2115
3261
|
attr_accessor :filters
|
|
3262
|
+
# Customize manual entry behavior
|
|
3263
|
+
attr_accessor :manual_entry
|
|
2116
3264
|
# The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
|
2117
3265
|
attr_accessor :permissions
|
|
2118
3266
|
# List of data features that you would like to retrieve upon account creation.
|
|
@@ -2120,8 +3268,15 @@ module Stripe
|
|
|
2120
3268
|
# For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
|
|
2121
3269
|
attr_accessor :return_url
|
|
2122
3270
|
|
|
2123
|
-
def initialize(
|
|
3271
|
+
def initialize(
|
|
3272
|
+
filters: nil,
|
|
3273
|
+
manual_entry: nil,
|
|
3274
|
+
permissions: nil,
|
|
3275
|
+
prefetch: nil,
|
|
3276
|
+
return_url: nil
|
|
3277
|
+
)
|
|
2124
3278
|
@filters = filters
|
|
3279
|
+
@manual_entry = manual_entry
|
|
2125
3280
|
@permissions = permissions
|
|
2126
3281
|
@prefetch = prefetch
|
|
2127
3282
|
@return_url = return_url
|
|
@@ -2266,8 +3421,12 @@ module Stripe
|
|
|
2266
3421
|
attr_accessor :fpx
|
|
2267
3422
|
# If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.
|
|
2268
3423
|
attr_accessor :giropay
|
|
3424
|
+
# If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options.
|
|
3425
|
+
attr_accessor :gopay
|
|
2269
3426
|
# If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
|
|
2270
3427
|
attr_accessor :grabpay
|
|
3428
|
+
# If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options.
|
|
3429
|
+
attr_accessor :id_bank_transfer
|
|
2271
3430
|
# If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
|
|
2272
3431
|
attr_accessor :ideal
|
|
2273
3432
|
# If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
|
|
@@ -2304,10 +3463,18 @@ module Stripe
|
|
|
2304
3463
|
attr_accessor :paynow
|
|
2305
3464
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
|
2306
3465
|
attr_accessor :paypal
|
|
3466
|
+
# If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options.
|
|
3467
|
+
attr_accessor :paypay
|
|
3468
|
+
# If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options.
|
|
3469
|
+
attr_accessor :payto
|
|
2307
3470
|
# If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options.
|
|
2308
3471
|
attr_accessor :pix
|
|
2309
3472
|
# If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options.
|
|
2310
3473
|
attr_accessor :promptpay
|
|
3474
|
+
# If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options.
|
|
3475
|
+
attr_accessor :qris
|
|
3476
|
+
# If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options.
|
|
3477
|
+
attr_accessor :rechnung
|
|
2311
3478
|
# If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
|
|
2312
3479
|
attr_accessor :revolut_pay
|
|
2313
3480
|
# If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.
|
|
@@ -2316,8 +3483,12 @@ module Stripe
|
|
|
2316
3483
|
attr_accessor :satispay
|
|
2317
3484
|
# If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
|
2318
3485
|
attr_accessor :sepa_debit
|
|
3486
|
+
# If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options.
|
|
3487
|
+
attr_accessor :shopeepay
|
|
2319
3488
|
# If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
|
|
2320
3489
|
attr_accessor :sofort
|
|
3490
|
+
# If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options.
|
|
3491
|
+
attr_accessor :stripe_balance
|
|
2321
3492
|
# If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options.
|
|
2322
3493
|
attr_accessor :swish
|
|
2323
3494
|
# If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options.
|
|
@@ -2350,7 +3521,9 @@ module Stripe
|
|
|
2350
3521
|
eps: nil,
|
|
2351
3522
|
fpx: nil,
|
|
2352
3523
|
giropay: nil,
|
|
3524
|
+
gopay: nil,
|
|
2353
3525
|
grabpay: nil,
|
|
3526
|
+
id_bank_transfer: nil,
|
|
2354
3527
|
ideal: nil,
|
|
2355
3528
|
interac_present: nil,
|
|
2356
3529
|
kakao_pay: nil,
|
|
@@ -2369,13 +3542,19 @@ module Stripe
|
|
|
2369
3542
|
payco: nil,
|
|
2370
3543
|
paynow: nil,
|
|
2371
3544
|
paypal: nil,
|
|
3545
|
+
paypay: nil,
|
|
3546
|
+
payto: nil,
|
|
2372
3547
|
pix: nil,
|
|
2373
3548
|
promptpay: nil,
|
|
3549
|
+
qris: nil,
|
|
3550
|
+
rechnung: nil,
|
|
2374
3551
|
revolut_pay: nil,
|
|
2375
3552
|
samsung_pay: nil,
|
|
2376
3553
|
satispay: nil,
|
|
2377
3554
|
sepa_debit: nil,
|
|
3555
|
+
shopeepay: nil,
|
|
2378
3556
|
sofort: nil,
|
|
3557
|
+
stripe_balance: nil,
|
|
2379
3558
|
swish: nil,
|
|
2380
3559
|
twint: nil,
|
|
2381
3560
|
us_bank_account: nil,
|
|
@@ -2402,7 +3581,9 @@ module Stripe
|
|
|
2402
3581
|
@eps = eps
|
|
2403
3582
|
@fpx = fpx
|
|
2404
3583
|
@giropay = giropay
|
|
3584
|
+
@gopay = gopay
|
|
2405
3585
|
@grabpay = grabpay
|
|
3586
|
+
@id_bank_transfer = id_bank_transfer
|
|
2406
3587
|
@ideal = ideal
|
|
2407
3588
|
@interac_present = interac_present
|
|
2408
3589
|
@kakao_pay = kakao_pay
|
|
@@ -2421,13 +3602,19 @@ module Stripe
|
|
|
2421
3602
|
@payco = payco
|
|
2422
3603
|
@paynow = paynow
|
|
2423
3604
|
@paypal = paypal
|
|
3605
|
+
@paypay = paypay
|
|
3606
|
+
@payto = payto
|
|
2424
3607
|
@pix = pix
|
|
2425
3608
|
@promptpay = promptpay
|
|
3609
|
+
@qris = qris
|
|
3610
|
+
@rechnung = rechnung
|
|
2426
3611
|
@revolut_pay = revolut_pay
|
|
2427
3612
|
@samsung_pay = samsung_pay
|
|
2428
3613
|
@satispay = satispay
|
|
2429
3614
|
@sepa_debit = sepa_debit
|
|
3615
|
+
@shopeepay = shopeepay
|
|
2430
3616
|
@sofort = sofort
|
|
3617
|
+
@stripe_balance = stripe_balance
|
|
2431
3618
|
@swish = swish
|
|
2432
3619
|
@twint = twint
|
|
2433
3620
|
@us_bank_account = us_bank_account
|
|
@@ -2542,6 +3729,12 @@ module Stripe
|
|
|
2542
3729
|
#
|
|
2543
3730
|
# 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.
|
|
2544
3731
|
attr_accessor :customer
|
|
3732
|
+
# ID of the Account this PaymentIntent belongs to, if one exists.
|
|
3733
|
+
#
|
|
3734
|
+
# Payment methods attached to other Accounts cannot be used with this PaymentIntent.
|
|
3735
|
+
#
|
|
3736
|
+
# 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.
|
|
3737
|
+
attr_accessor :customer_account
|
|
2545
3738
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
|
2546
3739
|
attr_accessor :description
|
|
2547
3740
|
# Set to `true` to fail the payment attempt if the PaymentIntent transitions into `requires_action`. Use this parameter for simpler integrations that don't handle customer actions, such as [saving cards without authentication](https://stripe.com/docs/payments/save-card-without-authentication). This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm).
|
|
@@ -2550,6 +3743,10 @@ module Stripe
|
|
|
2550
3743
|
attr_accessor :excluded_payment_method_types
|
|
2551
3744
|
# Specifies which fields in the response should be expanded.
|
|
2552
3745
|
attr_accessor :expand
|
|
3746
|
+
# The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount.
|
|
3747
|
+
attr_accessor :fx_quote
|
|
3748
|
+
# Automations to be run during the PaymentIntent lifecycle
|
|
3749
|
+
attr_accessor :hooks
|
|
2553
3750
|
# ID of the mandate that's used for this payment. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm).
|
|
2554
3751
|
attr_accessor :mandate
|
|
2555
3752
|
# This hash contains details about the Mandate to create. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm).
|
|
@@ -2584,6 +3781,8 @@ module Stripe
|
|
|
2584
3781
|
attr_accessor :receipt_email
|
|
2585
3782
|
# The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm).
|
|
2586
3783
|
attr_accessor :return_url
|
|
3784
|
+
# Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`.
|
|
3785
|
+
attr_accessor :secret_key_confirmation
|
|
2587
3786
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2588
3787
|
#
|
|
2589
3788
|
# 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.
|
|
@@ -2607,6 +3806,8 @@ module Stripe
|
|
|
2607
3806
|
attr_accessor :transfer_group
|
|
2608
3807
|
# Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.
|
|
2609
3808
|
attr_accessor :use_stripe_sdk
|
|
3809
|
+
# Allocated Funds configuration for this PaymentIntent.
|
|
3810
|
+
attr_accessor :allocated_funds
|
|
2610
3811
|
|
|
2611
3812
|
def initialize(
|
|
2612
3813
|
amount: nil,
|
|
@@ -2619,10 +3820,13 @@ module Stripe
|
|
|
2619
3820
|
confirmation_token: nil,
|
|
2620
3821
|
currency: nil,
|
|
2621
3822
|
customer: nil,
|
|
3823
|
+
customer_account: nil,
|
|
2622
3824
|
description: nil,
|
|
2623
3825
|
error_on_requires_action: nil,
|
|
2624
3826
|
excluded_payment_method_types: nil,
|
|
2625
3827
|
expand: nil,
|
|
3828
|
+
fx_quote: nil,
|
|
3829
|
+
hooks: nil,
|
|
2626
3830
|
mandate: nil,
|
|
2627
3831
|
mandate_data: nil,
|
|
2628
3832
|
metadata: nil,
|
|
@@ -2637,13 +3841,15 @@ module Stripe
|
|
|
2637
3841
|
radar_options: nil,
|
|
2638
3842
|
receipt_email: nil,
|
|
2639
3843
|
return_url: nil,
|
|
3844
|
+
secret_key_confirmation: nil,
|
|
2640
3845
|
setup_future_usage: nil,
|
|
2641
3846
|
shipping: nil,
|
|
2642
3847
|
statement_descriptor: nil,
|
|
2643
3848
|
statement_descriptor_suffix: nil,
|
|
2644
3849
|
transfer_data: nil,
|
|
2645
3850
|
transfer_group: nil,
|
|
2646
|
-
use_stripe_sdk: nil
|
|
3851
|
+
use_stripe_sdk: nil,
|
|
3852
|
+
allocated_funds: nil
|
|
2647
3853
|
)
|
|
2648
3854
|
@amount = amount
|
|
2649
3855
|
@amount_details = amount_details
|
|
@@ -2655,10 +3861,13 @@ module Stripe
|
|
|
2655
3861
|
@confirmation_token = confirmation_token
|
|
2656
3862
|
@currency = currency
|
|
2657
3863
|
@customer = customer
|
|
3864
|
+
@customer_account = customer_account
|
|
2658
3865
|
@description = description
|
|
2659
3866
|
@error_on_requires_action = error_on_requires_action
|
|
2660
3867
|
@excluded_payment_method_types = excluded_payment_method_types
|
|
2661
3868
|
@expand = expand
|
|
3869
|
+
@fx_quote = fx_quote
|
|
3870
|
+
@hooks = hooks
|
|
2662
3871
|
@mandate = mandate
|
|
2663
3872
|
@mandate_data = mandate_data
|
|
2664
3873
|
@metadata = metadata
|
|
@@ -2673,6 +3882,7 @@ module Stripe
|
|
|
2673
3882
|
@radar_options = radar_options
|
|
2674
3883
|
@receipt_email = receipt_email
|
|
2675
3884
|
@return_url = return_url
|
|
3885
|
+
@secret_key_confirmation = secret_key_confirmation
|
|
2676
3886
|
@setup_future_usage = setup_future_usage
|
|
2677
3887
|
@shipping = shipping
|
|
2678
3888
|
@statement_descriptor = statement_descriptor
|
|
@@ -2680,6 +3890,7 @@ module Stripe
|
|
|
2680
3890
|
@transfer_data = transfer_data
|
|
2681
3891
|
@transfer_group = transfer_group
|
|
2682
3892
|
@use_stripe_sdk = use_stripe_sdk
|
|
3893
|
+
@allocated_funds = allocated_funds
|
|
2683
3894
|
end
|
|
2684
3895
|
end
|
|
2685
3896
|
end
|