stripe 17.2.0.pre.beta.1 → 17.3.0.pre.alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/event_types.rb +817 -0
- data/lib/stripe/events/v1_account_updated_event.rb +44 -0
- data/lib/stripe/events/v1_application_fee_created_event.rb +44 -0
- data/lib/stripe/events/v1_application_fee_refunded_event.rb +44 -0
- data/lib/stripe/events/v1_billing_portal_configuration_created_event.rb +44 -0
- data/lib/stripe/events/v1_billing_portal_configuration_updated_event.rb +44 -0
- data/lib/stripe/events/v1_capability_updated_event.rb +44 -0
- data/lib/stripe/events/v1_charge_captured_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_closed_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_created_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_funds_reinstated_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_funds_withdrawn_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_updated_event.rb +44 -0
- data/lib/stripe/events/v1_charge_expired_event.rb +44 -0
- data/lib/stripe/events/v1_charge_failed_event.rb +44 -0
- data/lib/stripe/events/v1_charge_pending_event.rb +44 -0
- data/lib/stripe/events/v1_charge_refund_updated_event.rb +44 -0
- data/lib/stripe/events/v1_charge_refunded_event.rb +44 -0
- data/lib/stripe/events/v1_charge_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_charge_updated_event.rb +44 -0
- data/lib/stripe/events/v1_checkout_session_async_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v1_checkout_session_async_payment_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_checkout_session_completed_event.rb +44 -0
- data/lib/stripe/events/v1_checkout_session_expired_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_created_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_delayed_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_delivered_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_product_substituted_event.rb +44 -0
- data/lib/stripe/events/v1_climate_product_created_event.rb +44 -0
- data/lib/stripe/events/v1_climate_product_pricing_updated_event.rb +44 -0
- data/lib/stripe/events/v1_coupon_created_event.rb +44 -0
- data/lib/stripe/events/v1_coupon_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_coupon_updated_event.rb +44 -0
- data/lib/stripe/events/v1_credit_note_created_event.rb +44 -0
- data/lib/stripe/events/v1_credit_note_updated_event.rb +44 -0
- data/lib/stripe/events/v1_credit_note_voided_event.rb +44 -0
- data/lib/stripe/events/v1_customer_created_event.rb +44 -0
- data/lib/stripe/events/v1_customer_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_created_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_paused_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_pending_update_applied_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_pending_update_expired_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_resumed_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_trial_will_end_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_updated_event.rb +44 -0
- data/lib/stripe/events/v1_customer_tax_id_created_event.rb +44 -0
- data/lib/stripe/events/v1_customer_tax_id_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_customer_tax_id_updated_event.rb +44 -0
- data/lib/stripe/events/v1_customer_updated_event.rb +44 -0
- data/lib/stripe/events/v1_file_created_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_created_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_deactivated_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_disconnected_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_reactivated_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_refreshed_balance_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_refreshed_ownership_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_refreshed_transactions_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_created_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_processing_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_redacted_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_requires_input_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_verified_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_created_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_finalization_failed_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_finalized_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_marked_uncollectible_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_overdue_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_overpaid_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_paid_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_payment_action_required_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_payment_paid_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_payment_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_sent_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_upcoming_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_updated_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_voided_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_will_be_due_event.rb +44 -0
- data/lib/stripe/events/v1_invoiceitem_created_event.rb +44 -0
- data/lib/stripe/events/v1_invoiceitem_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_authorization_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_authorization_request_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_authorization_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_card_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_card_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_cardholder_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_cardholder_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_closed_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_funds_reinstated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_funds_rescinded_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_submitted_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_personalization_design_activated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_personalization_design_deactivated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_personalization_design_rejected_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_personalization_design_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_token_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_token_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_transaction_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_transaction_purchase_details_receipt_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_transaction_updated_event.rb +44 -0
- data/lib/stripe/events/v1_mandate_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_amount_capturable_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_created_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_partially_funded_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_processing_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_requires_action_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_payment_link_created_event.rb +44 -0
- data/lib/stripe/events/v1_payment_link_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payment_method_attached_event.rb +44 -0
- data/lib/stripe/events/v1_payment_method_automatically_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payment_method_detached_event.rb +44 -0
- data/lib/stripe/events/v1_payment_method_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payout_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_payout_created_event.rb +44 -0
- data/lib/stripe/events/v1_payout_failed_event.rb +44 -0
- data/lib/stripe/events/v1_payout_paid_event.rb +44 -0
- data/lib/stripe/events/v1_payout_reconciliation_completed_event.rb +44 -0
- data/lib/stripe/events/v1_payout_updated_event.rb +44 -0
- data/lib/stripe/events/v1_person_created_event.rb +44 -0
- data/lib/stripe/events/v1_person_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_person_updated_event.rb +44 -0
- data/lib/stripe/events/v1_plan_created_event.rb +44 -0
- data/lib/stripe/events/v1_plan_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_plan_updated_event.rb +44 -0
- data/lib/stripe/events/v1_price_created_event.rb +44 -0
- data/lib/stripe/events/v1_price_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_price_updated_event.rb +44 -0
- data/lib/stripe/events/v1_product_created_event.rb +44 -0
- data/lib/stripe/events/v1_product_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_product_updated_event.rb +44 -0
- data/lib/stripe/events/v1_promotion_code_created_event.rb +44 -0
- data/lib/stripe/events/v1_promotion_code_updated_event.rb +44 -0
- data/lib/stripe/events/v1_quote_accepted_event.rb +44 -0
- data/lib/stripe/events/v1_quote_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_quote_created_event.rb +44 -0
- data/lib/stripe/events/v1_quote_finalized_event.rb +44 -0
- data/lib/stripe/events/v1_radar_early_fraud_warning_created_event.rb +44 -0
- data/lib/stripe/events/v1_radar_early_fraud_warning_updated_event.rb +44 -0
- data/lib/stripe/events/v1_refund_created_event.rb +44 -0
- data/lib/stripe/events/v1_refund_failed_event.rb +44 -0
- data/lib/stripe/events/v1_refund_updated_event.rb +44 -0
- data/lib/stripe/events/v1_review_closed_event.rb +44 -0
- data/lib/stripe/events/v1_review_opened_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_created_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_requires_action_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_setup_failed_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_sigma_scheduled_query_run_created_event.rb +44 -0
- data/lib/stripe/events/v1_source_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_source_chargeable_event.rb +44 -0
- data/lib/stripe/events/v1_source_failed_event.rb +44 -0
- data/lib/stripe/events/v1_source_refund_attributes_required_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_aborted_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_completed_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_created_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_expiring_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_released_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_updated_event.rb +44 -0
- data/lib/stripe/events/v1_tax_rate_created_event.rb +44 -0
- data/lib/stripe/events/v1_tax_rate_updated_event.rb +44 -0
- data/lib/stripe/events/v1_terminal_reader_action_failed_event.rb +44 -0
- data/lib/stripe/events/v1_terminal_reader_action_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_terminal_reader_action_updated_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_advancing_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_created_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_internal_failure_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_ready_event.rb +44 -0
- data/lib/stripe/events/v1_topup_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_topup_created_event.rb +44 -0
- data/lib/stripe/events/v1_topup_failed_event.rb +44 -0
- data/lib/stripe/events/v1_topup_reversed_event.rb +44 -0
- data/lib/stripe/events/v1_topup_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_transfer_created_event.rb +44 -0
- data/lib/stripe/events/v1_transfer_reversed_event.rb +44 -0
- data/lib/stripe/events/v1_transfer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_cadence_billed_event.rb +61 -0
- data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_cadence_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_license_fee_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_metered_item_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +61 -0
- data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_rate_card_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +67 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_including_configuration_card_creator_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_card_creator_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_claimed_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_created_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_sandbox_details_owner_account_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +66 -0
- data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +66 -0
- data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +80 -0
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +80 -0
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +66 -0
- data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +62 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +62 -0
- data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +62 -0
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +62 -0
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +62 -0
- data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +58 -0
- data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +58 -0
- data/lib/stripe/events/v2_money_management_recipient_verification_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_recipient_verification_updated_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_created_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +44 -0
- data/lib/stripe/object_types.rb +29 -0
- data/lib/stripe/params/billing/alert_create_params.rb +121 -1
- data/lib/stripe/params/billing/alert_list_params.rb +4 -0
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +5 -1
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +13 -1
- data/lib/stripe/params/billing/credit_grant_create_params.rb +29 -2
- data/lib/stripe/params/billing/meter_create_params.rb +4 -0
- data/lib/stripe/params/billing/meter_event_summary_list_params.rb +8 -0
- data/lib/stripe/params/capital/financing_offer_create_params.rb +37 -0
- data/lib/stripe/params/capital/financing_offer_refill_params.rb +37 -0
- data/lib/stripe/params/charge_capture_params.rb +2 -8
- data/lib/stripe/params/charge_update_params.rb +2 -8
- data/lib/stripe/params/checkout/session_create_params.rb +80 -1
- data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +55 -0
- data/lib/stripe/params/delegated_checkout/requested_session_create_params.rb +205 -0
- data/lib/stripe/params/delegated_checkout/requested_session_expire_params.rb +15 -0
- data/lib/stripe/params/delegated_checkout/requested_session_retrieve_params.rb +15 -0
- data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +209 -0
- data/lib/stripe/params/identity/blocklist_entry_create_params.rb +29 -0
- data/lib/stripe/params/identity/blocklist_entry_disable_params.rb +15 -0
- data/lib/stripe/params/identity/blocklist_entry_list_params.rb +62 -0
- data/lib/stripe/params/identity/blocklist_entry_retrieve_params.rb +15 -0
- data/lib/stripe/params/identity/verification_report_list_params.rb +4 -0
- data/lib/stripe/params/invoice_list_params.rb +4 -0
- data/lib/stripe/params/payment_intent_capture_params.rb +13 -29
- data/lib/stripe/params/payment_intent_confirm_params.rb +48 -30
- data/lib/stripe/params/payment_intent_create_params.rb +48 -30
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +13 -29
- data/lib/stripe/params/payment_intent_update_params.rb +48 -30
- data/lib/stripe/params/payment_method_check_balance_params.rb +13 -0
- data/lib/stripe/params/setup_intent_confirm_params.rb +29 -0
- data/lib/stripe/params/setup_intent_create_params.rb +29 -0
- data/lib/stripe/params/setup_intent_update_params.rb +30 -1
- data/lib/stripe/params/test_helpers/capital/financing_offer_create_params.rb +39 -0
- data/lib/stripe/params/test_helpers/capital/financing_offer_refill_params.rb +39 -0
- data/lib/stripe/params/transfer_create_params.rb +5 -1
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +8 -1
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +4 -0
- data/lib/stripe/params/v2/billing/cadence_update_params.rb +4 -1
- data/lib/stripe/params/v2/billing/custom_pricing_unit_create_params.rb +26 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +26 -0
- data/lib/stripe/params/v2/billing/intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intent_commit_params.rb +17 -0
- data/lib/stripe/params/v2/billing/intent_create_params.rb +355 -0
- data/lib/stripe/params/v2/billing/intent_list_params.rb +17 -0
- data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intent_reserve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intents/action_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/license_fee_create_params.rb +103 -0
- data/lib/stripe/params/v2/billing/license_fee_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/license_fee_subscription_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/license_fee_update_params.rb +84 -0
- data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +48 -0
- data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +48 -0
- data/lib/stripe/params/v2/billing/metered_item_create_params.rb +73 -0
- data/lib/stripe/params/v2/billing/metered_item_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/metered_item_update_params.rb +50 -0
- data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +39 -0
- data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +50 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +20 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscriptions/component_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +39 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +73 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +12 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +27 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +22 -0
- data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/pricing_plans/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_card_create_params.rb +49 -0
- data/lib/stripe/params/v2/billing/rate_card_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +26 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +51 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +17 -0
- data/lib/stripe/params/v2/billing/rate_card_update_params.rb +38 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +91 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +25 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/rate_cards/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/service_action_create_params.rb +254 -0
- data/lib/stripe/params/v2/billing/service_action_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/service_action_update_params.rb +40 -0
- data/lib/stripe/params/v2/core/account_create_params.rb +703 -8
- data/lib/stripe/params/v2/core/account_update_params.rb +689 -8
- data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +36 -0
- data/lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +12 -1
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +4 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +19 -1
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +4 -0
- data/lib/stripe/params/v2/money_management/recipient_verification_acknowledge_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/recipient_verification_create_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/recipient_verification_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/reporting/report_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/reporting/report_run_create_params.rb +33 -0
- data/lib/stripe/params/v2/reporting/report_run_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/tax/automatic_rule_create_params.rb +20 -0
- data/lib/stripe/params/v2/tax/automatic_rule_deactivate_params.rb +10 -0
- data/lib/stripe/params/v2/tax/automatic_rule_find_params.rb +17 -0
- data/lib/stripe/params/v2/tax/automatic_rule_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/tax/automatic_rule_update_params.rb +17 -0
- data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +24 -0
- data/lib/stripe/params.rb +89 -0
- data/lib/stripe/resources/application_fee.rb +2 -0
- data/lib/stripe/resources/balance.rb +83 -0
- data/lib/stripe/resources/billing/alert.rb +105 -1
- data/lib/stripe/resources/billing/alert_triggered.rb +6 -0
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +2 -0
- data/lib/stripe/resources/billing/credit_balance_summary.rb +84 -2
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +84 -2
- data/lib/stripe/resources/billing/credit_grant.rb +58 -2
- data/lib/stripe/resources/billing/meter.rb +2 -0
- data/lib/stripe/resources/billing/meter_event_summary.rb +2 -0
- data/lib/stripe/resources/capital/financing_offer.rb +41 -0
- data/lib/stripe/resources/card.rb +18 -1
- data/lib/stripe/resources/charge.rb +18 -0
- data/lib/stripe/resources/checkout/session.rb +92 -0
- data/lib/stripe/resources/confirmation_token.rb +18 -0
- data/lib/stripe/resources/delegated_checkout/requested_session.rb +402 -0
- data/lib/stripe/resources/identity/blocklist_entry.rb +116 -0
- data/lib/stripe/resources/identity/verification_report.rb +4 -0
- data/lib/stripe/resources/invoice_item.rb +90 -2
- data/lib/stripe/resources/invoice_line_item.rb +91 -1
- data/lib/stripe/resources/payment_intent.rb +51 -17
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +7 -13
- data/lib/stripe/resources/payment_method.rb +38 -0
- data/lib/stripe/resources/payment_method_balance.rb +68 -0
- data/lib/stripe/resources/setup_intent.rb +40 -0
- data/lib/stripe/resources/transfer.rb +4 -0
- data/lib/stripe/resources/transit_balance.rb +45 -0
- data/lib/stripe/resources/v2/billing/cadence.rb +46 -0
- data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +43 -0
- data/lib/stripe/resources/v2/billing/intent.rb +86 -0
- data/lib/stripe/resources/v2/billing/intent_action.rb +395 -0
- data/lib/stripe/resources/v2/billing/license_fee.rb +104 -0
- data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +44 -0
- data/lib/stripe/resources/v2/billing/license_fee_version.rb +80 -0
- data/lib/stripe/resources/v2/billing/licensed_item.rb +60 -0
- data/lib/stripe/resources/v2/billing/metered_item.rb +85 -0
- data/lib/stripe/resources/v2/billing/pricing_plan.rb +51 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +94 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +94 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription_components.rb +49 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +38 -0
- data/lib/stripe/resources/v2/billing/rate_card.rb +61 -0
- data/lib/stripe/resources/v2/billing/rate_card_rate.rb +110 -0
- data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +94 -0
- data/lib/stripe/resources/v2/billing/rate_card_version.rb +34 -0
- data/lib/stripe/resources/v2/billing/service_action.rb +244 -0
- data/lib/stripe/resources/v2/core/account.rb +1065 -4
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +105 -0
- data/lib/stripe/resources/v2/core/event.rb +6 -2
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +2 -0
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +2 -0
- data/lib/stripe/resources/v2/money_management/payout_method.rb +29 -1
- data/lib/stripe/resources/v2/money_management/received_credit.rb +2 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +4 -0
- data/lib/stripe/resources/v2/money_management/recipient_verification.rb +83 -0
- data/lib/stripe/resources/v2/reporting/report.rb +116 -0
- data/lib/stripe/resources/v2/reporting/report_run.rb +128 -0
- data/lib/stripe/resources/v2/tax/automatic_rule.rb +39 -0
- data/lib/stripe/resources.rb +281 -0
- data/lib/stripe/services/delegated_checkout/requested_session_service.rb +63 -0
- data/lib/stripe/services/delegated_checkout_service.rb +13 -0
- data/lib/stripe/services/identity/blocklist_entry_service.rb +71 -0
- data/lib/stripe/services/identity_service.rb +2 -1
- data/lib/stripe/services/payment_method_service.rb +11 -0
- data/lib/stripe/services/test_helpers/capital/financing_offer_service.rb +32 -0
- data/lib/stripe/services/test_helpers/capital_service.rb +15 -0
- data/lib/stripe/services/test_helpers_service.rb +2 -1
- data/lib/stripe/services/v1_services.rb +2 -1
- data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +54 -0
- data/lib/stripe/services/v2/billing/intent_service.rb +94 -0
- data/lib/stripe/services/v2/billing/intents/action_service.rb +34 -0
- data/lib/stripe/services/v2/billing/license_fee_service.rb +61 -0
- data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +21 -0
- data/lib/stripe/services/v2/billing/license_fees/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/licensed_item_service.rb +54 -0
- data/lib/stripe/services/v2/billing/metered_item_service.rb +54 -0
- data/lib/stripe/services/v2/billing/pricing_plan_service.rb +62 -0
- data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +51 -0
- data/lib/stripe/services/v2/billing/pricing_plan_subscriptions/component_service.rb +23 -0
- data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +67 -0
- data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/rate_card_service.rb +62 -0
- data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +65 -0
- data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +57 -0
- data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/service_action_service.rb +43 -0
- data/lib/stripe/services/v2/billing_service.rb +14 -1
- data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +35 -0
- data/lib/stripe/services/v2/core_service.rb +2 -1
- data/lib/stripe/services/v2/money_management/recipient_verification_service.rb +43 -0
- data/lib/stripe/services/v2/money_management_service.rb +3 -1
- data/lib/stripe/services/v2/reporting/report_run_service.rb +38 -0
- data/lib/stripe/services/v2/reporting/report_service.rb +23 -0
- data/lib/stripe/services/v2/reporting_service.rb +16 -0
- data/lib/stripe/services/v2/tax/automatic_rule_service.rb +65 -0
- data/lib/stripe/services/v2/tax_service.rb +15 -0
- data/lib/stripe/services/v2/test_helper_service.rb +2 -1
- data/lib/stripe/services/v2/test_helpers/money_management_service.rb +21 -0
- data/lib/stripe/services/v2_services.rb +3 -1
- data/lib/stripe/services.rb +31 -0
- data/lib/stripe/version.rb +1 -1
- data/rbi/stripe.rbi +13567 -760
- metadata +403 -2
|
@@ -2209,6 +2209,95 @@ module Stripe
|
|
|
2209
2209
|
@field_remappings = {}
|
|
2210
2210
|
end
|
|
2211
2211
|
end
|
|
2212
|
+
|
|
2213
|
+
class CheckoutItem < ::Stripe::StripeObject
|
|
2214
|
+
class PricingPlanSubscriptionItem < ::Stripe::StripeObject
|
|
2215
|
+
class ComponentConfigurations < ::Stripe::StripeObject
|
|
2216
|
+
class LicenseFeeComponent < ::Stripe::StripeObject
|
|
2217
|
+
# Attribute for field quantity
|
|
2218
|
+
attr_reader :quantity
|
|
2219
|
+
|
|
2220
|
+
def self.inner_class_types
|
|
2221
|
+
@inner_class_types = {}
|
|
2222
|
+
end
|
|
2223
|
+
|
|
2224
|
+
def self.field_remappings
|
|
2225
|
+
@field_remappings = {}
|
|
2226
|
+
end
|
|
2227
|
+
end
|
|
2228
|
+
# Attribute for field type
|
|
2229
|
+
attr_reader :type
|
|
2230
|
+
# Attribute for field license_fee_component
|
|
2231
|
+
attr_reader :license_fee_component
|
|
2232
|
+
|
|
2233
|
+
def self.inner_class_types
|
|
2234
|
+
@inner_class_types = { license_fee_component: LicenseFeeComponent }
|
|
2235
|
+
end
|
|
2236
|
+
|
|
2237
|
+
def self.field_remappings
|
|
2238
|
+
@field_remappings = {}
|
|
2239
|
+
end
|
|
2240
|
+
end
|
|
2241
|
+
# Attribute for field pricing_plan
|
|
2242
|
+
attr_reader :pricing_plan
|
|
2243
|
+
# Attribute for field pricing_plan_version
|
|
2244
|
+
attr_reader :pricing_plan_version
|
|
2245
|
+
# Attribute for field metadata
|
|
2246
|
+
attr_reader :metadata
|
|
2247
|
+
# Attribute for field component_configurations
|
|
2248
|
+
attr_reader :component_configurations
|
|
2249
|
+
# Attribute for field pricing_plan_subscription
|
|
2250
|
+
attr_reader :pricing_plan_subscription
|
|
2251
|
+
# Attribute for field billing_cadence
|
|
2252
|
+
attr_reader :billing_cadence
|
|
2253
|
+
|
|
2254
|
+
def self.inner_class_types
|
|
2255
|
+
@inner_class_types = { component_configurations: ComponentConfigurations }
|
|
2256
|
+
end
|
|
2257
|
+
|
|
2258
|
+
def self.field_remappings
|
|
2259
|
+
@field_remappings = {}
|
|
2260
|
+
end
|
|
2261
|
+
end
|
|
2262
|
+
|
|
2263
|
+
class RateCardSubscriptionItem < ::Stripe::StripeObject
|
|
2264
|
+
# Attribute for field rate_card
|
|
2265
|
+
attr_reader :rate_card
|
|
2266
|
+
# Attribute for field metadata
|
|
2267
|
+
attr_reader :metadata
|
|
2268
|
+
# Attribute for field rate_card_version
|
|
2269
|
+
attr_reader :rate_card_version
|
|
2270
|
+
# Attribute for field billing_cadence
|
|
2271
|
+
attr_reader :billing_cadence
|
|
2272
|
+
# Attribute for field rate_card_subscription
|
|
2273
|
+
attr_reader :rate_card_subscription
|
|
2274
|
+
|
|
2275
|
+
def self.inner_class_types
|
|
2276
|
+
@inner_class_types = {}
|
|
2277
|
+
end
|
|
2278
|
+
|
|
2279
|
+
def self.field_remappings
|
|
2280
|
+
@field_remappings = {}
|
|
2281
|
+
end
|
|
2282
|
+
end
|
|
2283
|
+
# Attribute for field type
|
|
2284
|
+
attr_reader :type
|
|
2285
|
+
# Attribute for field rate_card_subscription_item
|
|
2286
|
+
attr_reader :rate_card_subscription_item
|
|
2287
|
+
# Attribute for field pricing_plan_subscription_item
|
|
2288
|
+
attr_reader :pricing_plan_subscription_item
|
|
2289
|
+
|
|
2290
|
+
def self.inner_class_types
|
|
2291
|
+
@inner_class_types = {
|
|
2292
|
+
rate_card_subscription_item: RateCardSubscriptionItem,
|
|
2293
|
+
pricing_plan_subscription_item: PricingPlanSubscriptionItem,
|
|
2294
|
+
}
|
|
2295
|
+
end
|
|
2296
|
+
|
|
2297
|
+
def self.field_remappings
|
|
2298
|
+
@field_remappings = {}
|
|
2299
|
+
end
|
|
2300
|
+
end
|
|
2212
2301
|
# Settings for price localization with [Adaptive Pricing](https://docs.stripe.com/payments/checkout/adaptive-pricing).
|
|
2213
2302
|
attr_reader :adaptive_pricing
|
|
2214
2303
|
# When set, provides configuration for actions to take if this Checkout Session expires.
|
|
@@ -2360,6 +2449,8 @@ module Stripe
|
|
|
2360
2449
|
attr_reader :url
|
|
2361
2450
|
# Wallet-specific configuration for this Checkout Session.
|
|
2362
2451
|
attr_reader :wallet_options
|
|
2452
|
+
# Attribute for field checkout_items
|
|
2453
|
+
attr_reader :checkout_items
|
|
2363
2454
|
|
|
2364
2455
|
# Creates a Checkout Session object.
|
|
2365
2456
|
def self.create(params = {}, opts = {})
|
|
@@ -2466,6 +2557,7 @@ module Stripe
|
|
|
2466
2557
|
tax_id_collection: TaxIdCollection,
|
|
2467
2558
|
total_details: TotalDetails,
|
|
2468
2559
|
wallet_options: WalletOptions,
|
|
2560
|
+
checkout_items: CheckoutItem,
|
|
2469
2561
|
}
|
|
2470
2562
|
end
|
|
2471
2563
|
|
|
@@ -307,6 +307,21 @@ module Stripe
|
|
|
307
307
|
end
|
|
308
308
|
|
|
309
309
|
class Card < ::Stripe::StripeObject
|
|
310
|
+
class Benefits < ::Stripe::StripeObject
|
|
311
|
+
# Issuer of this benefit card
|
|
312
|
+
attr_reader :issuer
|
|
313
|
+
# Available benefit programs for this card
|
|
314
|
+
attr_reader :programs
|
|
315
|
+
|
|
316
|
+
def self.inner_class_types
|
|
317
|
+
@inner_class_types = {}
|
|
318
|
+
end
|
|
319
|
+
|
|
320
|
+
def self.field_remappings
|
|
321
|
+
@field_remappings = {}
|
|
322
|
+
end
|
|
323
|
+
end
|
|
324
|
+
|
|
310
325
|
class Checks < ::Stripe::StripeObject
|
|
311
326
|
# If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
312
327
|
attr_reader :address_line1_check
|
|
@@ -720,6 +735,8 @@ module Stripe
|
|
|
720
735
|
@field_remappings = {}
|
|
721
736
|
end
|
|
722
737
|
end
|
|
738
|
+
# Attribute for field benefits
|
|
739
|
+
attr_reader :benefits
|
|
723
740
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
724
741
|
attr_reader :brand
|
|
725
742
|
# Checks on Card address and CVC if provided.
|
|
@@ -759,6 +776,7 @@ module Stripe
|
|
|
759
776
|
|
|
760
777
|
def self.inner_class_types
|
|
761
778
|
@inner_class_types = {
|
|
779
|
+
benefits: Benefits,
|
|
762
780
|
checks: Checks,
|
|
763
781
|
generated_from: GeneratedFrom,
|
|
764
782
|
networks: Networks,
|
|
@@ -0,0 +1,402 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
module DelegatedCheckout
|
|
6
|
+
# A requested session is a session that has been requested by a customer.
|
|
7
|
+
class RequestedSession < APIResource
|
|
8
|
+
extend Stripe::APIOperations::Create
|
|
9
|
+
include Stripe::APIOperations::Save
|
|
10
|
+
|
|
11
|
+
OBJECT_NAME = "delegated_checkout.requested_session"
|
|
12
|
+
def self.object_name
|
|
13
|
+
"delegated_checkout.requested_session"
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
class FulfillmentDetails < ::Stripe::StripeObject
|
|
17
|
+
class Address < ::Stripe::StripeObject
|
|
18
|
+
# City, district, suburb, town, or village.
|
|
19
|
+
attr_reader :city
|
|
20
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
21
|
+
attr_reader :country
|
|
22
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
23
|
+
attr_reader :line1
|
|
24
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
25
|
+
attr_reader :line2
|
|
26
|
+
# ZIP or postal code.
|
|
27
|
+
attr_reader :postal_code
|
|
28
|
+
# State, county, province, or region.
|
|
29
|
+
attr_reader :state
|
|
30
|
+
|
|
31
|
+
def self.inner_class_types
|
|
32
|
+
@inner_class_types = {}
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
def self.field_remappings
|
|
36
|
+
@field_remappings = {}
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
class FulfillmentOption < ::Stripe::StripeObject
|
|
41
|
+
class Shipping < ::Stripe::StripeObject
|
|
42
|
+
class ShippingOption < ::Stripe::StripeObject
|
|
43
|
+
# The description of the shipping option.
|
|
44
|
+
attr_reader :description
|
|
45
|
+
# The display name of the shipping option.
|
|
46
|
+
attr_reader :display_name
|
|
47
|
+
# The earliest delivery time of the shipping option.
|
|
48
|
+
attr_reader :earliest_delivery_time
|
|
49
|
+
# The key of the shipping option.
|
|
50
|
+
attr_reader :key
|
|
51
|
+
# The latest delivery time of the shipping option.
|
|
52
|
+
attr_reader :latest_delivery_time
|
|
53
|
+
# The shipping amount of the shipping option.
|
|
54
|
+
attr_reader :shipping_amount
|
|
55
|
+
|
|
56
|
+
def self.inner_class_types
|
|
57
|
+
@inner_class_types = {}
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
def self.field_remappings
|
|
61
|
+
@field_remappings = {}
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
# The shipping options.
|
|
65
|
+
attr_reader :shipping_options
|
|
66
|
+
|
|
67
|
+
def self.inner_class_types
|
|
68
|
+
@inner_class_types = { shipping_options: ShippingOption }
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
def self.field_remappings
|
|
72
|
+
@field_remappings = {}
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
# The shipping option.
|
|
76
|
+
attr_reader :shipping
|
|
77
|
+
# The type of the fulfillment option.
|
|
78
|
+
attr_reader :type
|
|
79
|
+
|
|
80
|
+
def self.inner_class_types
|
|
81
|
+
@inner_class_types = { shipping: Shipping }
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
def self.field_remappings
|
|
85
|
+
@field_remappings = {}
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
class SelectedFulfillmentOption < ::Stripe::StripeObject
|
|
90
|
+
class Shipping < ::Stripe::StripeObject
|
|
91
|
+
# The shipping option.
|
|
92
|
+
attr_reader :shipping_option
|
|
93
|
+
|
|
94
|
+
def self.inner_class_types
|
|
95
|
+
@inner_class_types = {}
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
def self.field_remappings
|
|
99
|
+
@field_remappings = {}
|
|
100
|
+
end
|
|
101
|
+
end
|
|
102
|
+
# The shipping option.
|
|
103
|
+
attr_reader :shipping
|
|
104
|
+
# The type of the selected fulfillment option.
|
|
105
|
+
attr_reader :type
|
|
106
|
+
|
|
107
|
+
def self.inner_class_types
|
|
108
|
+
@inner_class_types = { shipping: Shipping }
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
def self.field_remappings
|
|
112
|
+
@field_remappings = {}
|
|
113
|
+
end
|
|
114
|
+
end
|
|
115
|
+
# The fulfillment address.
|
|
116
|
+
attr_reader :address
|
|
117
|
+
# The email address for the fulfillment details.
|
|
118
|
+
attr_reader :email
|
|
119
|
+
# The fulfillment options.
|
|
120
|
+
attr_reader :fulfillment_options
|
|
121
|
+
# The name for the fulfillment details.
|
|
122
|
+
attr_reader :name
|
|
123
|
+
# The phone number for the fulfillment details.
|
|
124
|
+
attr_reader :phone
|
|
125
|
+
# The fulfillment option.
|
|
126
|
+
attr_reader :selected_fulfillment_option
|
|
127
|
+
|
|
128
|
+
def self.inner_class_types
|
|
129
|
+
@inner_class_types = {
|
|
130
|
+
address: Address,
|
|
131
|
+
fulfillment_options: FulfillmentOption,
|
|
132
|
+
selected_fulfillment_option: SelectedFulfillmentOption,
|
|
133
|
+
}
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
def self.field_remappings
|
|
137
|
+
@field_remappings = {}
|
|
138
|
+
end
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
class LineItemDetail < ::Stripe::StripeObject
|
|
142
|
+
# The description of the line item.
|
|
143
|
+
attr_reader :description
|
|
144
|
+
# The images of the line item.
|
|
145
|
+
attr_reader :images
|
|
146
|
+
# The key of the line item.
|
|
147
|
+
attr_reader :key
|
|
148
|
+
# The name of the line item.
|
|
149
|
+
attr_reader :name
|
|
150
|
+
# The quantity of the line item.
|
|
151
|
+
attr_reader :quantity
|
|
152
|
+
# The SKU ID of the line item.
|
|
153
|
+
attr_reader :sku_id
|
|
154
|
+
# The unit amount of the line item.
|
|
155
|
+
attr_reader :unit_amount
|
|
156
|
+
|
|
157
|
+
def self.inner_class_types
|
|
158
|
+
@inner_class_types = {}
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
def self.field_remappings
|
|
162
|
+
@field_remappings = {}
|
|
163
|
+
end
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
class OrderDetails < ::Stripe::StripeObject
|
|
167
|
+
# The URL to the order status.
|
|
168
|
+
attr_reader :order_status_url
|
|
169
|
+
# The seller's order identifier.
|
|
170
|
+
attr_reader :order_id
|
|
171
|
+
|
|
172
|
+
def self.inner_class_types
|
|
173
|
+
@inner_class_types = {}
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
def self.field_remappings
|
|
177
|
+
@field_remappings = {}
|
|
178
|
+
end
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
class SellerDetails < ::Stripe::StripeObject
|
|
182
|
+
def self.inner_class_types
|
|
183
|
+
@inner_class_types = {}
|
|
184
|
+
end
|
|
185
|
+
|
|
186
|
+
def self.field_remappings
|
|
187
|
+
@field_remappings = {}
|
|
188
|
+
end
|
|
189
|
+
end
|
|
190
|
+
|
|
191
|
+
class TotalDetails < ::Stripe::StripeObject
|
|
192
|
+
# The amount discount of the total details.
|
|
193
|
+
attr_reader :amount_discount
|
|
194
|
+
# The amount fulfillment of the total details.
|
|
195
|
+
attr_reader :amount_fulfillment
|
|
196
|
+
# The amount tax of the total details.
|
|
197
|
+
attr_reader :amount_tax
|
|
198
|
+
|
|
199
|
+
def self.inner_class_types
|
|
200
|
+
@inner_class_types = {}
|
|
201
|
+
end
|
|
202
|
+
|
|
203
|
+
def self.field_remappings
|
|
204
|
+
@field_remappings = {}
|
|
205
|
+
end
|
|
206
|
+
end
|
|
207
|
+
|
|
208
|
+
class PaymentMethodPreview < ::Stripe::StripeObject
|
|
209
|
+
class BillingDetails < ::Stripe::StripeObject
|
|
210
|
+
class Address < ::Stripe::StripeObject
|
|
211
|
+
# City, district, suburb, town, or village.
|
|
212
|
+
attr_reader :city
|
|
213
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
214
|
+
attr_reader :country
|
|
215
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
216
|
+
attr_reader :line1
|
|
217
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
218
|
+
attr_reader :line2
|
|
219
|
+
# ZIP or postal code.
|
|
220
|
+
attr_reader :postal_code
|
|
221
|
+
# State, county, province, or region.
|
|
222
|
+
attr_reader :state
|
|
223
|
+
|
|
224
|
+
def self.inner_class_types
|
|
225
|
+
@inner_class_types = {}
|
|
226
|
+
end
|
|
227
|
+
|
|
228
|
+
def self.field_remappings
|
|
229
|
+
@field_remappings = {}
|
|
230
|
+
end
|
|
231
|
+
end
|
|
232
|
+
# The billing address.
|
|
233
|
+
attr_reader :address
|
|
234
|
+
# The email address for the billing details.
|
|
235
|
+
attr_reader :email
|
|
236
|
+
# The name for the billing details.
|
|
237
|
+
attr_reader :name
|
|
238
|
+
# The phone number for the billing details.
|
|
239
|
+
attr_reader :phone
|
|
240
|
+
|
|
241
|
+
def self.inner_class_types
|
|
242
|
+
@inner_class_types = { address: Address }
|
|
243
|
+
end
|
|
244
|
+
|
|
245
|
+
def self.field_remappings
|
|
246
|
+
@field_remappings = {}
|
|
247
|
+
end
|
|
248
|
+
end
|
|
249
|
+
|
|
250
|
+
class Card < ::Stripe::StripeObject
|
|
251
|
+
# The expiry month of the card.
|
|
252
|
+
attr_reader :exp_month
|
|
253
|
+
# The expiry year of the card.
|
|
254
|
+
attr_reader :exp_year
|
|
255
|
+
# The last 4 digits of the card number.
|
|
256
|
+
attr_reader :last4
|
|
257
|
+
|
|
258
|
+
def self.inner_class_types
|
|
259
|
+
@inner_class_types = {}
|
|
260
|
+
end
|
|
261
|
+
|
|
262
|
+
def self.field_remappings
|
|
263
|
+
@field_remappings = {}
|
|
264
|
+
end
|
|
265
|
+
end
|
|
266
|
+
# The billing details of the payment method.
|
|
267
|
+
attr_reader :billing_details
|
|
268
|
+
# The card details of the payment method.
|
|
269
|
+
attr_reader :card
|
|
270
|
+
# The type of the payment method.
|
|
271
|
+
attr_reader :type
|
|
272
|
+
|
|
273
|
+
def self.inner_class_types
|
|
274
|
+
@inner_class_types = { billing_details: BillingDetails, card: Card }
|
|
275
|
+
end
|
|
276
|
+
|
|
277
|
+
def self.field_remappings
|
|
278
|
+
@field_remappings = {}
|
|
279
|
+
end
|
|
280
|
+
end
|
|
281
|
+
# The subtotal amount of the requested session.
|
|
282
|
+
attr_reader :amount_subtotal
|
|
283
|
+
# The total amount of the requested session.
|
|
284
|
+
attr_reader :amount_total
|
|
285
|
+
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
286
|
+
attr_reader :created_at
|
|
287
|
+
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
288
|
+
attr_reader :currency
|
|
289
|
+
# The customer for this requested session.
|
|
290
|
+
attr_reader :customer
|
|
291
|
+
# Time at which the requested session expires. Measured in seconds since the Unix epoch.
|
|
292
|
+
attr_reader :expires_at
|
|
293
|
+
# The details of the fulfillment.
|
|
294
|
+
attr_reader :fulfillment_details
|
|
295
|
+
# Unique identifier for the object.
|
|
296
|
+
attr_reader :id
|
|
297
|
+
# The line items to be purchased.
|
|
298
|
+
attr_reader :line_item_details
|
|
299
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
300
|
+
attr_reader :livemode
|
|
301
|
+
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
302
|
+
attr_reader :metadata
|
|
303
|
+
# String representing the object's type. Objects of the same type share the same value.
|
|
304
|
+
attr_reader :object
|
|
305
|
+
# The details of the order.
|
|
306
|
+
attr_reader :order_details
|
|
307
|
+
# The payment method used for the requested session.
|
|
308
|
+
attr_reader :payment_method
|
|
309
|
+
# Attribute for field seller_details
|
|
310
|
+
attr_reader :seller_details
|
|
311
|
+
# Whether or not the payment method should be saved for future use.
|
|
312
|
+
attr_reader :setup_future_usage
|
|
313
|
+
# The metadata shared with the seller.
|
|
314
|
+
attr_reader :shared_metadata
|
|
315
|
+
# The SPT used for payment.
|
|
316
|
+
attr_reader :shared_payment_issued_token
|
|
317
|
+
# The status of the requested session.
|
|
318
|
+
attr_reader :status
|
|
319
|
+
# Attribute for field total_details
|
|
320
|
+
attr_reader :total_details
|
|
321
|
+
# Time at which the object was last updated. Measured in seconds since the Unix epoch.
|
|
322
|
+
attr_reader :updated_at
|
|
323
|
+
# The preview of the payment method to be created when the requested session is confirmed.
|
|
324
|
+
attr_reader :payment_method_preview
|
|
325
|
+
|
|
326
|
+
# Confirms a requested session
|
|
327
|
+
def confirm(params = {}, opts = {})
|
|
328
|
+
request_stripe_object(
|
|
329
|
+
method: :post,
|
|
330
|
+
path: format("/v1/delegated_checkout/requested_sessions/%<requested_session>s/confirm", { requested_session: CGI.escape(self["id"]) }),
|
|
331
|
+
params: params,
|
|
332
|
+
opts: opts
|
|
333
|
+
)
|
|
334
|
+
end
|
|
335
|
+
|
|
336
|
+
# Confirms a requested session
|
|
337
|
+
def self.confirm(requested_session, params = {}, opts = {})
|
|
338
|
+
request_stripe_object(
|
|
339
|
+
method: :post,
|
|
340
|
+
path: format("/v1/delegated_checkout/requested_sessions/%<requested_session>s/confirm", { requested_session: CGI.escape(requested_session) }),
|
|
341
|
+
params: params,
|
|
342
|
+
opts: opts
|
|
343
|
+
)
|
|
344
|
+
end
|
|
345
|
+
|
|
346
|
+
# Creates a requested session
|
|
347
|
+
def self.create(params = {}, opts = {})
|
|
348
|
+
request_stripe_object(
|
|
349
|
+
method: :post,
|
|
350
|
+
path: "/v1/delegated_checkout/requested_sessions",
|
|
351
|
+
params: params,
|
|
352
|
+
opts: opts
|
|
353
|
+
)
|
|
354
|
+
end
|
|
355
|
+
|
|
356
|
+
# Expires a requested session
|
|
357
|
+
def expire(params = {}, opts = {})
|
|
358
|
+
request_stripe_object(
|
|
359
|
+
method: :post,
|
|
360
|
+
path: format("/v1/delegated_checkout/requested_sessions/%<requested_session>s/expire", { requested_session: CGI.escape(self["id"]) }),
|
|
361
|
+
params: params,
|
|
362
|
+
opts: opts
|
|
363
|
+
)
|
|
364
|
+
end
|
|
365
|
+
|
|
366
|
+
# Expires a requested session
|
|
367
|
+
def self.expire(requested_session, params = {}, opts = {})
|
|
368
|
+
request_stripe_object(
|
|
369
|
+
method: :post,
|
|
370
|
+
path: format("/v1/delegated_checkout/requested_sessions/%<requested_session>s/expire", { requested_session: CGI.escape(requested_session) }),
|
|
371
|
+
params: params,
|
|
372
|
+
opts: opts
|
|
373
|
+
)
|
|
374
|
+
end
|
|
375
|
+
|
|
376
|
+
# Updates a requested session
|
|
377
|
+
def self.update(requested_session, params = {}, opts = {})
|
|
378
|
+
request_stripe_object(
|
|
379
|
+
method: :post,
|
|
380
|
+
path: format("/v1/delegated_checkout/requested_sessions/%<requested_session>s", { requested_session: CGI.escape(requested_session) }),
|
|
381
|
+
params: params,
|
|
382
|
+
opts: opts
|
|
383
|
+
)
|
|
384
|
+
end
|
|
385
|
+
|
|
386
|
+
def self.inner_class_types
|
|
387
|
+
@inner_class_types = {
|
|
388
|
+
fulfillment_details: FulfillmentDetails,
|
|
389
|
+
line_item_details: LineItemDetail,
|
|
390
|
+
order_details: OrderDetails,
|
|
391
|
+
seller_details: SellerDetails,
|
|
392
|
+
total_details: TotalDetails,
|
|
393
|
+
payment_method_preview: PaymentMethodPreview,
|
|
394
|
+
}
|
|
395
|
+
end
|
|
396
|
+
|
|
397
|
+
def self.field_remappings
|
|
398
|
+
@field_remappings = {}
|
|
399
|
+
end
|
|
400
|
+
end
|
|
401
|
+
end
|
|
402
|
+
end
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
module Identity
|
|
6
|
+
# A BlocklistEntry represents an entry in our identity verification blocklist.
|
|
7
|
+
# It helps prevent fraudulent users from repeatedly attempting verification with similar information.
|
|
8
|
+
# When you create a BlocklistEntry, we store data from a specified VerificationReport,
|
|
9
|
+
# such as document details or facial biometrics.
|
|
10
|
+
# This allows us to compare future verification attempts against these entries.
|
|
11
|
+
# If a match is found, we categorize the new verification as unverified.
|
|
12
|
+
#
|
|
13
|
+
# To learn more, see [Identity Verification Blocklist](https://stripe.com/docs/identity/review-tools#block-list)
|
|
14
|
+
class BlocklistEntry < APIResource
|
|
15
|
+
extend Stripe::APIOperations::Create
|
|
16
|
+
extend Stripe::APIOperations::List
|
|
17
|
+
|
|
18
|
+
OBJECT_NAME = "identity.blocklist_entry"
|
|
19
|
+
def self.object_name
|
|
20
|
+
"identity.blocklist_entry"
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
24
|
+
attr_reader :created
|
|
25
|
+
# Time at which you disabled the BlocklistEntry. Measured in seconds since the Unix epoch.
|
|
26
|
+
attr_reader :disabled_at
|
|
27
|
+
# Time at which the BlocklistEntry expires. Measured in seconds since the Unix epoch.
|
|
28
|
+
attr_reader :expires_at
|
|
29
|
+
# Unique identifier for the object.
|
|
30
|
+
attr_reader :id
|
|
31
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
32
|
+
attr_reader :livemode
|
|
33
|
+
# String representing the object's type. Objects of the same type share the same value.
|
|
34
|
+
attr_reader :object
|
|
35
|
+
# The current status of the BlocklistEntry.
|
|
36
|
+
attr_reader :status
|
|
37
|
+
# The type of BlocklistEntry.
|
|
38
|
+
attr_reader :type
|
|
39
|
+
# The verification report the BlocklistEntry was created from.
|
|
40
|
+
attr_reader :verification_report
|
|
41
|
+
# The verification session the BlocklistEntry was created from.
|
|
42
|
+
attr_reader :verification_session
|
|
43
|
+
|
|
44
|
+
# Creates a BlocklistEntry object from a verification report.
|
|
45
|
+
#
|
|
46
|
+
# A blocklist entry prevents future identity verifications that match the same identity information.
|
|
47
|
+
# You can create blocklist entries from verification reports that contain document extracted data
|
|
48
|
+
# or a selfie.
|
|
49
|
+
#
|
|
50
|
+
# Related guide: [Identity Verification Blocklist](https://docs.stripe.com/docs/identity/review-tools#add-a-blocklist-entry)
|
|
51
|
+
def self.create(params = {}, opts = {})
|
|
52
|
+
request_stripe_object(
|
|
53
|
+
method: :post,
|
|
54
|
+
path: "/v1/identity/blocklist_entries",
|
|
55
|
+
params: params,
|
|
56
|
+
opts: opts
|
|
57
|
+
)
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
# Disables a BlocklistEntry object.
|
|
61
|
+
#
|
|
62
|
+
# After a BlocklistEntry is disabled, it will no longer block future verifications that match
|
|
63
|
+
# the same information. This action is irreversible. To re-enable it, a new BlocklistEntry
|
|
64
|
+
# must be created using the same verification report.
|
|
65
|
+
#
|
|
66
|
+
# Related guide: [Identity Verification Blocklist](https://docs.stripe.com/docs/identity/review-tools#disable-a-blocklist-entry)
|
|
67
|
+
def disable(params = {}, opts = {})
|
|
68
|
+
request_stripe_object(
|
|
69
|
+
method: :post,
|
|
70
|
+
path: format("/v1/identity/blocklist_entries/%<id>s/disable", { id: CGI.escape(self["id"]) }),
|
|
71
|
+
params: params,
|
|
72
|
+
opts: opts
|
|
73
|
+
)
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
# Disables a BlocklistEntry object.
|
|
77
|
+
#
|
|
78
|
+
# After a BlocklistEntry is disabled, it will no longer block future verifications that match
|
|
79
|
+
# the same information. This action is irreversible. To re-enable it, a new BlocklistEntry
|
|
80
|
+
# must be created using the same verification report.
|
|
81
|
+
#
|
|
82
|
+
# Related guide: [Identity Verification Blocklist](https://docs.stripe.com/docs/identity/review-tools#disable-a-blocklist-entry)
|
|
83
|
+
def self.disable(id, params = {}, opts = {})
|
|
84
|
+
request_stripe_object(
|
|
85
|
+
method: :post,
|
|
86
|
+
path: format("/v1/identity/blocklist_entries/%<id>s/disable", { id: CGI.escape(id) }),
|
|
87
|
+
params: params,
|
|
88
|
+
opts: opts
|
|
89
|
+
)
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
# Returns a list of BlocklistEntry objects associated with your account.
|
|
93
|
+
#
|
|
94
|
+
# The blocklist entries are returned sorted by creation date, with the most recently created
|
|
95
|
+
# entries appearing first.
|
|
96
|
+
#
|
|
97
|
+
# Related guide: [Identity Verification Blocklist](https://docs.stripe.com/docs/identity/review-tools#block-list)
|
|
98
|
+
def self.list(params = {}, opts = {})
|
|
99
|
+
request_stripe_object(
|
|
100
|
+
method: :get,
|
|
101
|
+
path: "/v1/identity/blocklist_entries",
|
|
102
|
+
params: params,
|
|
103
|
+
opts: opts
|
|
104
|
+
)
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
def self.inner_class_types
|
|
108
|
+
@inner_class_types = {}
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
def self.field_remappings
|
|
112
|
+
@field_remappings = {}
|
|
113
|
+
end
|
|
114
|
+
end
|
|
115
|
+
end
|
|
116
|
+
end
|
|
@@ -113,6 +113,8 @@ module Stripe
|
|
|
113
113
|
end
|
|
114
114
|
# Address as it appears in the document.
|
|
115
115
|
attr_reader :address
|
|
116
|
+
# If document was not verified due to extracted data being on the blocklist, this is the token of the BlocklistEntry that blocked it
|
|
117
|
+
attr_reader :blocked_by_entry
|
|
116
118
|
# Date of birth as it appears in the document.
|
|
117
119
|
attr_reader :dob
|
|
118
120
|
# Details on the verification error. Present when status is `unverified`.
|
|
@@ -333,6 +335,8 @@ module Stripe
|
|
|
333
335
|
@field_remappings = {}
|
|
334
336
|
end
|
|
335
337
|
end
|
|
338
|
+
# If selfie was not verified due to being on the blocklist, this is the token of the BlocklistEntry that blocked it
|
|
339
|
+
attr_reader :blocked_by_entry
|
|
336
340
|
# ID of the [File](https://stripe.com/docs/api/files) holding the image of the identity document used in this check.
|
|
337
341
|
attr_reader :document
|
|
338
342
|
# Details on the verification error. Present when status is `unverified`.
|