stripe 21.0.0 → 21.2.0.pre.beta.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_operations/request.rb +16 -7
- data/lib/stripe/api_operations/save.rb +4 -4
- data/lib/stripe/api_requestor.rb +58 -34
- data/lib/stripe/api_resource.rb +1 -2
- data/lib/stripe/api_version.rb +2 -2
- data/lib/stripe/connection_manager.rb +3 -0
- data/lib/stripe/errors.rb +6 -0
- data/lib/stripe/event_types.rb +213 -0
- data/lib/stripe/events/unknown_event_notification.rb +1 -0
- data/lib/stripe/events/v2_core_account_closed_event.rb +2 -2
- data/lib/stripe/events/v2_core_account_including_configuration_money_manager_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_money_manager_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +2 -2
- data/lib/stripe/events/v2_core_approval_request_approved_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_created_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_expired_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_failed_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_rejected_event.rb +44 -0
- data/lib/stripe/events/v2_core_approval_request_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_batch_failed_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_completed_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_created_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_ready_for_upload_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_timeout_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_upload_timeout_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_validating_event.rb +44 -0
- data/lib/stripe/events/v2_core_batch_job_validation_failed_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_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +80 -0
- data/lib/stripe/events/v2_data_query_run_created_event.rb +44 -0
- data/lib/stripe/events/v2_data_query_run_failed_event.rb +44 -0
- data/lib/stripe/events/v2_data_query_run_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_data_query_run_updated_event.rb +44 -0
- data/lib/stripe/events/v2_data_report_run_created_event.rb +44 -0
- data/lib/stripe/events/v2_data_report_run_failed_event.rb +44 -0
- data/lib/stripe/events/v2_data_report_run_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_data_report_run_updated_event.rb +44 -0
- data/lib/stripe/events/v2_data_reporting_query_run_created_event.rb +44 -0
- data/lib/stripe/events/v2_data_reporting_query_run_failed_event.rb +44 -0
- data/lib/stripe/events/v2_data_reporting_query_run_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_data_reporting_query_run_updated_event.rb +44 -0
- data/lib/stripe/events/v2_extend_workflow_run_failed_event.rb +75 -0
- data/lib/stripe/events/v2_extend_workflow_run_started_event.rb +44 -0
- data/lib/stripe/events/v2_extend_workflow_run_succeeded_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_under_review_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_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_orchestrated_commerce_agreement_confirmed_event.rb +97 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_created_event.rb +97 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_partially_confirmed_event.rb +97 -0
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_terminated_event.rb +97 -0
- data/lib/stripe/events/v2_signals_account_evaluation_complete_event.rb +44 -0
- data/lib/stripe/events/v2_signals_account_signal_fraudulent_merchant_ready_event.rb +44 -0
- data/lib/stripe/events/v2_signals_account_signal_fraudulent_website_ready_event.rb +44 -0
- data/lib/stripe/object_types.rb +53 -0
- data/lib/stripe/params/account_create_params.rb +299 -1
- data/lib/stripe/params/account_notice_list_params.rb +25 -0
- data/lib/stripe/params/account_notice_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_notice_update_params.rb +36 -0
- data/lib/stripe/params/account_session_create_params.rb +191 -0
- data/lib/stripe/params/account_update_params.rb +261 -0
- data/lib/stripe/params/balance_settings_update_params.rb +9 -1
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +65 -0
- data/lib/stripe/params/billing_portal/configuration_create_params.rb +1 -1
- data/lib/stripe/params/billing_portal/configuration_update_params.rb +1 -1
- 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 +1646 -0
- data/lib/stripe/params/charge_update_params.rb +1646 -0
- data/lib/stripe/params/checkout/session_create_params.rb +95 -4
- data/lib/stripe/params/checkout/session_update_params.rb +161 -1
- data/lib/stripe/params/confirmation_token_create_params.rb +92 -0
- data/lib/stripe/params/coupon_create_params.rb +49 -2
- data/lib/stripe/params/customer_balance_transaction_create_params.rb +23 -1
- data/lib/stripe/params/customer_session_create_params.rb +32 -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/authorization_retrieve_params.rb +15 -0
- 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 +39 -2
- data/lib/stripe/params/fx_quote_create_params.rb +71 -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/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 +64 -2
- data/lib/stripe/params/invoice_create_preview_params.rb +772 -9
- data/lib/stripe/params/invoice_detach_payment_params.rb +16 -0
- data/lib/stripe/params/invoice_item_create_params.rb +34 -2
- 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_update_lines_params.rb +33 -1
- data/lib/stripe/params/invoice_update_params.rb +64 -2
- data/lib/stripe/params/issuing/cardholder_create_params.rb +2 -1
- data/lib/stripe/params/issuing/cardholder_update_params.rb +4 -0
- 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_create_params.rb +2083 -0
- data/lib/stripe/params/order_list_params.rb +25 -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 +2087 -0
- data/lib/stripe/params/payment_intent_capture_params.rb +1643 -1
- data/lib/stripe/params/payment_intent_confirm_params.rb +3038 -85
- data/lib/stripe/params/payment_intent_create_params.rb +3051 -98
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +297 -0
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +37 -0
- data/lib/stripe/params/payment_intent_trigger_action_params.rb +27 -0
- data/lib/stripe/params/payment_intent_update_params.rb +3040 -56
- data/lib/stripe/params/payment_link_update_params.rb +4 -0
- data/lib/stripe/params/payment_method_configuration_create_params.rb +105 -0
- data/lib/stripe/params/payment_method_configuration_update_params.rb +105 -0
- data/lib/stripe/params/payment_method_create_params.rb +88 -0
- data/lib/stripe/params/payment_plan_create_params.rb +128 -0
- data/lib/stripe/params/payment_plan_list_params.rb +25 -0
- data/lib/stripe/params/payment_plan_retrieve_params.rb +13 -0
- data/lib/stripe/params/payment_plan_update_params.rb +105 -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/product_create_params.rb +4 -1
- data/lib/stripe/params/product_update_params.rb +4 -1
- data/lib/stripe/params/quote_create_params.rb +810 -4
- 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 +4 -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 +818 -5
- data/lib/stripe/params/radar/billing_evaluation_create_params.rb +231 -0
- data/lib/stripe/params/reporting/report_run_create_params.rb +4 -0
- data/lib/stripe/params/reserve/hold_list_params.rb +53 -0
- data/lib/stripe/params/reserve/hold_retrieve_params.rb +15 -0
- data/lib/stripe/params/reserve/plan_list_params.rb +37 -0
- data/lib/stripe/params/reserve/plan_retrieve_params.rb +15 -0
- data/lib/stripe/params/reserve/release_list_params.rb +41 -0
- data/lib/stripe/params/reserve/release_retrieve_params.rb +15 -0
- data/lib/stripe/params/setup_intent_confirm_params.rb +122 -3
- data/lib/stripe/params/setup_intent_create_params.rb +122 -3
- data/lib/stripe/params/setup_intent_update_params.rb +122 -3
- data/lib/stripe/params/shared_payment/granted_token_create_params.rb +47 -0
- data/lib/stripe/params/shared_payment/granted_token_retrieve_params.rb +15 -0
- data/lib/stripe/params/shared_payment/granted_token_revoke_params.rb +15 -0
- data/lib/stripe/params/shared_payment/issued_token_create_params.rb +71 -0
- data/lib/stripe/params/shared_payment/issued_token_retrieve_params.rb +15 -0
- data/lib/stripe/params/shared_payment/issued_token_revoke_params.rb +15 -0
- data/lib/stripe/params/subscription_create_params.rb +133 -6
- data/lib/stripe/params/subscription_item_create_params.rb +50 -3
- data/lib/stripe/params/subscription_item_update_params.rb +33 -2
- data/lib/stripe/params/subscription_schedule_amend_params.rb +578 -0
- data/lib/stripe/params/subscription_schedule_create_params.rb +167 -5
- data/lib/stripe/params/subscription_schedule_update_params.rb +167 -5
- data/lib/stripe/params/subscription_update_params.rb +116 -5
- data/lib/stripe/params/tax/form_list_params.rb +51 -0
- data/lib/stripe/params/tax/form_pdf_params.rb +15 -0
- data/lib/stripe/params/tax/form_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax/registration_create_params.rb +13 -1
- 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 +92 -0
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +49 -0
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_revoke_params.rb +17 -0
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.rb +23 -1
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_return_inbound_transfer_params.rb +34 -1
- 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 +4 -0
- data/lib/stripe/params/treasury/financial_account_create_params.rb +8 -1
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +4 -1
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +4 -1
- data/lib/stripe/params/treasury/financial_account_update_params.rb +8 -1
- data/lib/stripe/params/treasury/inbound_transfer_fail_params.rb +23 -1
- data/lib/stripe/params/treasury/inbound_transfer_return_inbound_transfer_params.rb +34 -1
- data/lib/stripe/params/treasury/outbound_payment_create_params.rb +19 -0
- 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/collection_setting_create_params.rb +257 -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 +263 -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/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/core/account_create_params.rb +530 -9
- data/lib/stripe/params/v2/core/account_link_create_params.rb +19 -1
- data/lib/stripe/params/v2/core/account_token_create_params.rb +29 -1
- data/lib/stripe/params/v2/core/account_update_params.rb +514 -8
- data/lib/stripe/params/v2/core/approval_request_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/core/approval_request_list_params.rb +47 -0
- data/lib/stripe/params/v2/core/approval_request_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/approval_request_update_params.rb +17 -0
- data/lib/stripe/params/v2/core/batch_job_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/core/batch_job_create_params.rb +53 -0
- data/lib/stripe/params/v2/core/batch_job_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +63 -0
- data/lib/stripe/params/v2/core/claimable_sandbox_renew_onboarding_link_params.rb +32 -0
- data/lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +21 -0
- data/lib/stripe/params/v2/data/query_run_create_params.rb +50 -0
- data/lib/stripe/params/v2/data/query_run_retrieve_params.rb +23 -0
- data/lib/stripe/params/v2/data/report_list_params.rb +23 -0
- data/lib/stripe/params/v2/data/report_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/data/report_run_create_params.rb +48 -0
- data/lib/stripe/params/v2/data/report_run_retrieve_params.rb +23 -0
- data/lib/stripe/params/v2/data/reporting/query_run_create_params.rb +31 -0
- data/lib/stripe/params/v2/data/reporting/query_run_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/data/schema_list_params.rb +26 -0
- data/lib/stripe/params/v2/data/schema_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/extend/workflow_invoke_params.rb +17 -0
- data/lib/stripe/params/v2/extend/workflow_list_params.rb +21 -0
- data/lib/stripe/params/v2/extend/workflow_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/extend/workflow_run_list_params.rb +23 -0
- data/lib/stripe/params/v2/extend/workflow_run_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/iam/activity_log_list_params.rb +26 -0
- data/lib/stripe/params/v2/iam/activity_log_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +30 -0
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +35 -0
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +1 -1
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +2 -2
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +21 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +113 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +61 -1
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +22 -1
- 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 +112 -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_disable_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +37 -0
- data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/test_helpers/financial_address_generate_microdeposits_params.rb +12 -0
- data/lib/stripe/params/v2/network/business_profile_me_params.rb +10 -0
- data/lib/stripe/params/v2/network/business_profile_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_confirm_params.rb +10 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_create_params.rb +17 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_list_params.rb +20 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_terminate_params.rb +10 -0
- data/lib/stripe/params/v2/signals/account_activity_create_params.rb +200 -0
- data/lib/stripe/params/v2/signals/account_activity_delete_params.rb +10 -0
- data/lib/stripe/params/v2/signals/account_activity_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/signals/account_evaluation_create_params.rb +192 -0
- data/lib/stripe/params/v2/signals/account_evaluation_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/signals/account_signal_list_params.rb +35 -0
- data/lib/stripe/params/v2/signals/account_signal_retrieve_params.rb +10 -0
- data/lib/stripe/params.rb +372 -0
- data/lib/stripe/request_options.rb +19 -2
- data/lib/stripe/resources/account.rb +176 -1
- data/lib/stripe/resources/account_notice.rb +94 -0
- data/lib/stripe/resources/account_session.rb +162 -0
- data/lib/stripe/resources/apps/install.rb +2 -2
- data/lib/stripe/resources/balance.rb +83 -0
- data/lib/stripe/resources/balance_settings.rb +4 -0
- data/lib/stripe/resources/balance_transaction.rb +1 -1
- data/lib/stripe/resources/billing/alert_triggered.rb +4 -0
- data/lib/stripe/resources/billing/analytics/meter_usage.rb +33 -0
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +38 -0
- data/lib/stripe/resources/capital/financing_offer.rb +185 -0
- data/lib/stripe/resources/capital/financing_summary.rb +82 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +99 -0
- data/lib/stripe/resources/card.rb +18 -1
- data/lib/stripe/resources/charge.rb +501 -6
- data/lib/stripe/resources/checkout/session.rb +95 -3
- data/lib/stripe/resources/confirmation_token.rb +133 -2
- data/lib/stripe/resources/coupon.rb +64 -4
- data/lib/stripe/resources/credit_note_line_item.rb +18 -0
- data/lib/stripe/resources/customer.rb +16 -0
- data/lib/stripe/resources/customer_session.rb +36 -0
- data/lib/stripe/resources/dispute.rb +19 -1
- data/lib/stripe/resources/event.rb +66 -3
- data/lib/stripe/resources/financial_connections/account.rb +45 -1
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +35 -0
- data/lib/stripe/resources/financial_connections/authorization.rb +24 -1
- data/lib/stripe/resources/financial_connections/institution.rb +127 -0
- data/lib/stripe/resources/financial_connections/session.rb +92 -0
- data/lib/stripe/resources/fx_quote.rb +147 -0
- data/lib/stripe/resources/invoice.rb +126 -1
- data/lib/stripe/resources/invoice_item.rb +2 -0
- data/lib/stripe/resources/invoice_line_item.rb +40 -0
- data/lib/stripe/resources/issuing/authorization.rb +16 -0
- data/lib/stripe/resources/issuing/card.rb +17 -1
- data/lib/stripe/resources/issuing/cardholder.rb +16 -0
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +263 -0
- data/lib/stripe/resources/issuing/dispute.rb +16 -1
- 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 +18 -0
- data/lib/stripe/resources/line_item.rb +42 -0
- data/lib/stripe/resources/mandate.rb +12 -0
- data/lib/stripe/resources/margin.rb +64 -0
- data/lib/stripe/resources/order.rb +927 -0
- data/lib/stripe/resources/payment_attempt_record.rb +181 -2
- data/lib/stripe/resources/payment_intent.rb +1589 -11
- data/lib/stripe/resources/payment_method.rb +153 -2
- data/lib/stripe/resources/payment_method_configuration.rb +170 -0
- data/lib/stripe/resources/payment_plan.rb +213 -0
- data/lib/stripe/resources/payment_record.rb +181 -2
- data/lib/stripe/resources/price.rb +20 -0
- data/lib/stripe/resources/privacy/redaction_job.rb +189 -0
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +49 -0
- data/lib/stripe/resources/product.rb +2 -0
- data/lib/stripe/resources/quote.rb +569 -2
- data/lib/stripe/resources/quote_line.rb +525 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +1261 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +968 -0
- data/lib/stripe/resources/radar/billing_evaluation.rb +281 -0
- data/lib/stripe/resources/radar/payment_evaluation.rb +1 -1
- data/lib/stripe/resources/radar/value_list_item.rb +15 -1
- data/lib/stripe/resources/refund.rb +56 -0
- data/lib/stripe/resources/reporting/report_run.rb +2 -0
- data/lib/stripe/resources/reserve/hold.rb +8 -1
- data/lib/stripe/resources/reserve/plan.rb +7 -0
- data/lib/stripe/resources/reserve/release.rb +12 -0
- data/lib/stripe/resources/setup_attempt.rb +37 -2
- data/lib/stripe/resources/setup_intent.rb +39 -2
- data/lib/stripe/resources/shared_payment/granted_token.rb +681 -0
- data/lib/stripe/resources/shared_payment/issued_token.rb +310 -0
- data/lib/stripe/resources/source.rb +54 -0
- data/lib/stripe/resources/subscription.rb +73 -0
- data/lib/stripe/resources/subscription_item.rb +22 -1
- data/lib/stripe/resources/subscription_schedule.rb +198 -3
- data/lib/stripe/resources/tax/form.rb +264 -0
- data/lib/stripe/resources/tax/registration.rb +16 -1
- data/lib/stripe/resources/terminal/reader.rb +8 -0
- data/lib/stripe/resources/terminal/reader_collected_data.rb +47 -0
- data/lib/stripe/resources/token.rb +15 -1
- data/lib/stripe/resources/transfer.rb +2 -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/inbound_transfer.rb +35 -7
- data/lib/stripe/resources/treasury/outbound_payment.rb +39 -9
- data/lib/stripe/resources/treasury/outbound_transfer.rb +67 -9
- data/lib/stripe/resources/treasury/received_credit.rb +31 -1
- data/lib/stripe/resources/treasury/received_debit.rb +33 -1
- data/lib/stripe/resources/v2/billing/bill_setting.rb +102 -0
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +91 -0
- data/lib/stripe/resources/v2/billing/collection_setting.rb +327 -0
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +316 -0
- data/lib/stripe/resources/v2/billing/profile.rb +47 -0
- data/lib/stripe/resources/v2/core/account.rb +1095 -52
- data/lib/stripe/resources/v2/core/account_link.rb +18 -1
- data/lib/stripe/resources/v2/core/account_person_token.rb +2 -0
- data/lib/stripe/resources/v2/core/account_token.rb +3 -1
- data/lib/stripe/resources/v2/core/approval_request.rb +395 -0
- data/lib/stripe/resources/v2/core/batch_job.rb +536 -0
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +269 -0
- data/lib/stripe/resources/v2/core/event_base.rb +8 -25
- data/lib/stripe/resources/v2/core/event_notification.rb +33 -0
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +91 -1
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +26 -1
- data/lib/stripe/resources/v2/data/query_run.rb +255 -0
- data/lib/stripe/resources/v2/data/report.rb +104 -0
- data/lib/stripe/resources/v2/data/report_run.rb +246 -0
- data/lib/stripe/resources/v2/data/reporting/query_run.rb +143 -0
- data/lib/stripe/resources/v2/data/schema.rb +121 -0
- data/lib/stripe/resources/v2/extend/workflow.rb +80 -0
- data/lib/stripe/resources/v2/extend/workflow_run.rb +158 -0
- data/lib/stripe/resources/v2/iam/activity_log.rb +926 -0
- data/lib/stripe/resources/v2/money_management/adjustment.rb +4 -0
- data/lib/stripe/resources/v2/money_management/financial_account.rb +50 -1
- data/lib/stripe/resources/v2/money_management/financial_address_generated_microdeposits.rb +33 -0
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +2 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +63 -1
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +255 -0
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +31 -1
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +260 -0
- data/lib/stripe/resources/v2/money_management/payout_method.rb +77 -1
- data/lib/stripe/resources/v2/money_management/received_credit.rb +2 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +177 -0
- data/lib/stripe/resources/v2/money_management/recipient_verification.rb +2 -0
- data/lib/stripe/resources/v2/network/business_profile.rb +84 -0
- data/lib/stripe/resources/v2/orchestrated_commerce/agreement.rb +93 -0
- data/lib/stripe/resources/v2/signals/account_activity.rb +252 -0
- data/lib/stripe/resources/v2/signals/account_evaluation.rb +249 -0
- data/lib/stripe/resources/v2/signals/account_signal.rb +184 -0
- data/lib/stripe/resources.rb +356 -0
- data/lib/stripe/services/account_notice_service.rb +39 -0
- data/lib/stripe/services/account_service.rb +15 -0
- data/lib/stripe/services/apps/install_service.rb +2 -2
- 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/checkout/session_service.rb +2 -0
- data/lib/stripe/services/coupon_service.rb +14 -0
- data/lib/stripe/services/customer_service.rb +15 -0
- data/lib/stripe/services/event_service.rb +1 -1
- 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/authorization_service.rb +19 -0
- data/lib/stripe/services/financial_connections/institution_service.rb +30 -0
- data/lib/stripe/services/financial_connections_service.rb +3 -1
- data/lib/stripe/services/fx_quote_service.rb +27 -0
- data/lib/stripe/services/invoice_service.rb +11 -0
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +74 -0
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +30 -0
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +30 -0
- data/lib/stripe/services/issuing_service.rb +5 -1
- data/lib/stripe/services/mandate_service.rb +5 -0
- data/lib/stripe/services/margin_service.rb +50 -0
- data/lib/stripe/services/order_service.rb +53 -0
- data/lib/stripe/services/payment_intent_service.rb +37 -0
- data/lib/stripe/services/payment_plan_service.rb +50 -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/promotion_code_service.rb +29 -0
- data/lib/stripe/services/quote_line_service.rb +17 -0
- data/lib/stripe/services/quote_preview_invoice_service.rb +17 -0
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +17 -0
- data/lib/stripe/services/quote_service.rb +49 -1
- data/lib/stripe/services/radar/billing_evaluation_service.rb +19 -0
- data/lib/stripe/services/radar_service.rb +2 -1
- data/lib/stripe/services/reserve/hold_service.rb +30 -0
- data/lib/stripe/services/reserve/plan_service.rb +30 -0
- data/lib/stripe/services/reserve/release_service.rb +30 -0
- data/lib/stripe/services/reserve_service.rb +15 -0
- data/lib/stripe/services/shared_payment/granted_token_service.rb +19 -0
- data/lib/stripe/services/shared_payment/issued_token_service.rb +41 -0
- data/lib/stripe/services/shared_payment_service.rb +14 -0
- data/lib/stripe/services/subscription_schedule_service.rb +11 -0
- data/lib/stripe/services/subscription_service.rb +45 -0
- data/lib/stripe/services/tax/form_service.rb +37 -0
- data/lib/stripe/services/tax_service.rb +2 -1
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +19 -0
- data/lib/stripe/services/terminal_service.rb +2 -1
- data/lib/stripe/services/test_helpers/capital/financing_offer_service.rb +32 -0
- data/lib/stripe/services/test_helpers/capital_service.rb +15 -0
- data/lib/stripe/services/test_helpers/shared_payment/granted_token_service.rb +32 -0
- data/lib/stripe/services/test_helpers/shared_payment_service.rb +15 -0
- data/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +3 -3
- data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +4 -4
- data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +4 -4
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +1 -1
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +1 -1
- data/lib/stripe/services/test_helpers_service.rb +3 -1
- data/lib/stripe/services/v1_services.rb +11 -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/collection_setting_service.rb +69 -0
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/profile_service.rb +54 -0
- data/lib/stripe/services/v2/billing_service.rb +4 -1
- data/lib/stripe/services/v2/core/account_link_service.rb +1 -1
- data/lib/stripe/services/v2/core/account_token_service.rb +2 -2
- data/lib/stripe/services/v2/core/accounts/person_token_service.rb +2 -1
- data/lib/stripe/services/v2/core/approval_request_service.rb +58 -0
- data/lib/stripe/services/v2/core/batch_job_service.rb +43 -0
- data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +49 -0
- data/lib/stripe/services/v2/core_service.rb +4 -1
- data/lib/stripe/services/v2/data/query_run_service.rb +34 -0
- data/lib/stripe/services/v2/data/report_run_service.rb +36 -0
- data/lib/stripe/services/v2/data/report_service.rb +34 -0
- data/lib/stripe/services/v2/data/reporting/query_run_service.rb +35 -0
- data/lib/stripe/services/v2/data/reporting_service.rb +17 -0
- data/lib/stripe/services/v2/data/schema_service.rb +32 -0
- data/lib/stripe/services/v2/data_service.rb +19 -0
- data/lib/stripe/services/v2/extend/workflow_run_service.rb +32 -0
- data/lib/stripe/services/v2/extend/workflow_service.rb +45 -0
- data/lib/stripe/services/v2/extend_service.rb +16 -0
- data/lib/stripe/services/v2/iam/activity_log_service.rb +32 -0
- data/lib/stripe/services/v2/iam_service.rb +15 -0
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +27 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +35 -0
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +61 -0
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +15 -0
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/test_helpers/financial_address_service.rb +13 -0
- data/lib/stripe/services/v2/money_management_service.rb +5 -1
- data/lib/stripe/services/v2/network/business_profile_service.rb +32 -0
- data/lib/stripe/services/v2/network_service.rb +15 -0
- data/lib/stripe/services/v2/orchestrated_commerce/agreement_service.rb +65 -0
- data/lib/stripe/services/v2/orchestrated_commerce_service.rb +15 -0
- data/lib/stripe/services/v2/signals/account_activity_service.rb +43 -0
- data/lib/stripe/services/v2/signals/account_evaluation_service.rb +32 -0
- data/lib/stripe/services/v2/signals/account_signal_service.rb +32 -0
- data/lib/stripe/services/v2/signals_service.rb +17 -0
- data/lib/stripe/services/v2_services.rb +7 -1
- data/lib/stripe/services.rb +188 -0
- data/lib/stripe/stripe_client.rb +10 -1
- data/lib/stripe/stripe_configuration.rb +12 -3
- data/lib/stripe/stripe_event_notification_handler.rb +242 -0
- data/lib/stripe/stripe_object.rb +23 -10
- data/lib/stripe/util.rb +7 -1
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +53 -0
- data/rbi/stripe/resources/v2/core/event_notification.rbi +2 -0
- data/rbi/stripe.rbi +134977 -66505
- metadata +341 -4
|
@@ -318,6 +318,8 @@ module Stripe
|
|
|
318
318
|
class Card < ::Stripe::StripeObject
|
|
319
319
|
# Card brand. Can be `American Express`, `Cartes Bancaires`, `Diners Club`, `Discover`, `Eftpos Australia`, `Girocard`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
|
|
320
320
|
attr_reader :brand
|
|
321
|
+
# The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
|
|
322
|
+
attr_reader :brand_product
|
|
321
323
|
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
322
324
|
attr_reader :country
|
|
323
325
|
# Two-digit number representing the card's expiration month.
|
|
@@ -491,9 +493,9 @@ module Stripe
|
|
|
491
493
|
|
|
492
494
|
class Card < ::Stripe::StripeObject
|
|
493
495
|
class Checks < ::Stripe::StripeObject
|
|
494
|
-
# If
|
|
496
|
+
# If an address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
495
497
|
attr_reader :address_line1_check
|
|
496
|
-
# If
|
|
498
|
+
# If an address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
497
499
|
attr_reader :address_postal_code_check
|
|
498
500
|
# If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
499
501
|
attr_reader :cvc_check
|
|
@@ -507,6 +509,19 @@ module Stripe
|
|
|
507
509
|
end
|
|
508
510
|
end
|
|
509
511
|
|
|
512
|
+
class DecrementalAuthorization < ::Stripe::StripeObject
|
|
513
|
+
# Indicates whether or not the decremental authorization feature is supported.
|
|
514
|
+
attr_reader :status
|
|
515
|
+
|
|
516
|
+
def self.inner_class_types
|
|
517
|
+
@inner_class_types = {}
|
|
518
|
+
end
|
|
519
|
+
|
|
520
|
+
def self.field_remappings
|
|
521
|
+
@field_remappings = {}
|
|
522
|
+
end
|
|
523
|
+
end
|
|
524
|
+
|
|
510
525
|
class ExtendedAuthorization < ::Stripe::StripeObject
|
|
511
526
|
# Indicates whether or not the capture window is extended beyond the standard authorization.
|
|
512
527
|
attr_reader :status
|
|
@@ -604,6 +619,19 @@ module Stripe
|
|
|
604
619
|
end
|
|
605
620
|
end
|
|
606
621
|
|
|
622
|
+
class PartialAuthorization < ::Stripe::StripeObject
|
|
623
|
+
# Indicates whether the transaction requested for partial authorization feature and the authorization outcome.
|
|
624
|
+
attr_reader :status
|
|
625
|
+
|
|
626
|
+
def self.inner_class_types
|
|
627
|
+
@inner_class_types = {}
|
|
628
|
+
end
|
|
629
|
+
|
|
630
|
+
def self.field_remappings
|
|
631
|
+
@field_remappings = {}
|
|
632
|
+
end
|
|
633
|
+
end
|
|
634
|
+
|
|
607
635
|
class ThreeDSecure < ::Stripe::StripeObject
|
|
608
636
|
# For authenticated transactions: how the customer was authenticated by
|
|
609
637
|
# the issuing bank.
|
|
@@ -668,11 +696,144 @@ module Stripe
|
|
|
668
696
|
end
|
|
669
697
|
|
|
670
698
|
class Link < ::Stripe::StripeObject
|
|
699
|
+
class FundingSource < ::Stripe::StripeObject
|
|
700
|
+
class Card < ::Stripe::StripeObject
|
|
701
|
+
class Checks < ::Stripe::StripeObject
|
|
702
|
+
# If an address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
703
|
+
attr_reader :address_line1_check
|
|
704
|
+
# If an address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
705
|
+
attr_reader :address_postal_code_check
|
|
706
|
+
# If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
707
|
+
attr_reader :cvc_check
|
|
708
|
+
|
|
709
|
+
def self.inner_class_types
|
|
710
|
+
@inner_class_types = {}
|
|
711
|
+
end
|
|
712
|
+
|
|
713
|
+
def self.field_remappings
|
|
714
|
+
@field_remappings = {}
|
|
715
|
+
end
|
|
716
|
+
end
|
|
717
|
+
|
|
718
|
+
class NetworkToken < ::Stripe::StripeObject
|
|
719
|
+
# Indicates if Stripe used a network token, either user provided or Stripe managed when processing the transaction.
|
|
720
|
+
attr_reader :used
|
|
721
|
+
|
|
722
|
+
def self.inner_class_types
|
|
723
|
+
@inner_class_types = {}
|
|
724
|
+
end
|
|
725
|
+
|
|
726
|
+
def self.field_remappings
|
|
727
|
+
@field_remappings = {}
|
|
728
|
+
end
|
|
729
|
+
end
|
|
730
|
+
|
|
731
|
+
class ThreeDSecure < ::Stripe::StripeObject
|
|
732
|
+
# For authenticated transactions: how the customer was authenticated by
|
|
733
|
+
# the issuing bank.
|
|
734
|
+
attr_reader :authentication_flow
|
|
735
|
+
# The Electronic Commerce Indicator (ECI). A protocol-level field
|
|
736
|
+
# indicating what degree of authentication was performed.
|
|
737
|
+
attr_reader :electronic_commerce_indicator
|
|
738
|
+
# The exemption requested via 3DS and accepted by the issuer at authentication time.
|
|
739
|
+
attr_reader :exemption_indicator
|
|
740
|
+
# Whether Stripe requested the value of `exemption_indicator` in the transaction. This will depend on
|
|
741
|
+
# the outcome of Stripe's internal risk assessment.
|
|
742
|
+
attr_reader :exemption_indicator_applied
|
|
743
|
+
# Indicates the outcome of 3D Secure authentication.
|
|
744
|
+
attr_reader :result
|
|
745
|
+
# Additional information about why 3D Secure succeeded or failed based
|
|
746
|
+
# on the `result`.
|
|
747
|
+
attr_reader :result_reason
|
|
748
|
+
# The 3D Secure 1 XID or 3D Secure 2 Directory Server Transaction ID
|
|
749
|
+
# (dsTransId) for this payment.
|
|
750
|
+
attr_reader :transaction_id
|
|
751
|
+
# The version of 3D Secure that was used.
|
|
752
|
+
attr_reader :version
|
|
753
|
+
|
|
754
|
+
def self.inner_class_types
|
|
755
|
+
@inner_class_types = {}
|
|
756
|
+
end
|
|
757
|
+
|
|
758
|
+
def self.field_remappings
|
|
759
|
+
@field_remappings = {}
|
|
760
|
+
end
|
|
761
|
+
end
|
|
762
|
+
# The authorized amount.
|
|
763
|
+
attr_reader :amount_authorized
|
|
764
|
+
# Authorization code on the charge.
|
|
765
|
+
attr_reader :authorization_code
|
|
766
|
+
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
767
|
+
attr_reader :brand
|
|
768
|
+
# Check results by Card networks on Card address and CVC at time of payment.
|
|
769
|
+
attr_reader :checks
|
|
770
|
+
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
771
|
+
attr_reader :country
|
|
772
|
+
# A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
|
|
773
|
+
attr_reader :description
|
|
774
|
+
# The Electronic Commerce Indicator (ECI) returned by the card network in the authorization response. Indicates the level of authentication used. Only populated for Visa and Mastercard transactions. This is the network's final ECI and can differ from the request value. An authenticated ECI alone doesn't determine liability shift.
|
|
775
|
+
attr_reader :electronic_commerce_indicator
|
|
776
|
+
# Two-digit number representing the card's expiration month.
|
|
777
|
+
attr_reader :exp_month
|
|
778
|
+
# Four-digit number representing the card's expiration year.
|
|
779
|
+
attr_reader :exp_year
|
|
780
|
+
# Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
|
|
781
|
+
#
|
|
782
|
+
# *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
|
|
783
|
+
attr_reader :fingerprint
|
|
784
|
+
# Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
|
|
785
|
+
attr_reader :funding
|
|
786
|
+
# Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
|
|
787
|
+
attr_reader :iin
|
|
788
|
+
# The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
|
|
789
|
+
attr_reader :issuer
|
|
790
|
+
# The last four digits of the card.
|
|
791
|
+
attr_reader :last4
|
|
792
|
+
# Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
793
|
+
attr_reader :network
|
|
794
|
+
# If this card has network token credentials, this contains the details of the network token credentials.
|
|
795
|
+
attr_reader :network_token
|
|
796
|
+
# This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
|
|
797
|
+
attr_reader :network_transaction_id
|
|
798
|
+
# Status of a card based on the card issuer.
|
|
799
|
+
attr_reader :regulated_status
|
|
800
|
+
# Populated if this transaction used 3D Secure authentication.
|
|
801
|
+
attr_reader :three_d_secure
|
|
802
|
+
# Transaction Link ID (TLID) is a unique identifier for a transaction. This is used by some card networks, such as Mastercard, for transaction linking, in addition to Network Transaction IDs. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
|
|
803
|
+
attr_reader :transaction_link_id
|
|
804
|
+
|
|
805
|
+
def self.inner_class_types
|
|
806
|
+
@inner_class_types = {
|
|
807
|
+
checks: Checks,
|
|
808
|
+
network_token: NetworkToken,
|
|
809
|
+
three_d_secure: ThreeDSecure,
|
|
810
|
+
}
|
|
811
|
+
end
|
|
812
|
+
|
|
813
|
+
def self.field_remappings
|
|
814
|
+
@field_remappings = {}
|
|
815
|
+
end
|
|
816
|
+
end
|
|
817
|
+
# Attribute for field card
|
|
818
|
+
attr_reader :card
|
|
819
|
+
# The type of funding source used for this Link payment.
|
|
820
|
+
attr_reader :type
|
|
821
|
+
|
|
822
|
+
def self.inner_class_types
|
|
823
|
+
@inner_class_types = { card: Card }
|
|
824
|
+
end
|
|
825
|
+
|
|
826
|
+
def self.field_remappings
|
|
827
|
+
@field_remappings = {}
|
|
828
|
+
end
|
|
829
|
+
end
|
|
671
830
|
# The [funding source group code](https://docs.stripe.com/payments/link/link-payment-methods) applied to this Link payment at confirmation time.
|
|
672
831
|
attr_reader :funding_source_group
|
|
832
|
+
# Details about the funding sources used for this Link payment.
|
|
833
|
+
attr_reader :funding_sources
|
|
673
834
|
|
|
674
835
|
def self.inner_class_types
|
|
675
|
-
@inner_class_types = {}
|
|
836
|
+
@inner_class_types = { funding_sources: FundingSource }
|
|
676
837
|
end
|
|
677
838
|
|
|
678
839
|
def self.field_remappings
|
|
@@ -860,6 +1021,8 @@ module Stripe
|
|
|
860
1021
|
end
|
|
861
1022
|
# The authorized amount.
|
|
862
1023
|
attr_reader :amount_authorized
|
|
1024
|
+
# The latest amount intended to be authorized by this charge.
|
|
1025
|
+
attr_reader :amount_requested
|
|
863
1026
|
# Authorization code on the charge.
|
|
864
1027
|
attr_reader :authorization_code
|
|
865
1028
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
@@ -870,6 +1033,8 @@ module Stripe
|
|
|
870
1033
|
attr_reader :checks
|
|
871
1034
|
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
872
1035
|
attr_reader :country
|
|
1036
|
+
# Attribute for field decremental_authorization
|
|
1037
|
+
attr_reader :decremental_authorization
|
|
873
1038
|
# A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
|
|
874
1039
|
attr_reader :description
|
|
875
1040
|
# The Electronic Commerce Indicator (ECI) returned by the card network in the authorization response. Indicates the level of authentication used. Only populated for Visa and Mastercard transactions. This is the network's final ECI and can differ from the request value. An authenticated ECI alone doesn't determine liability shift.
|
|
@@ -912,6 +1077,8 @@ module Stripe
|
|
|
912
1077
|
attr_reader :network_transaction_id
|
|
913
1078
|
# Attribute for field overcapture
|
|
914
1079
|
attr_reader :overcapture
|
|
1080
|
+
# Attribute for field partial_authorization
|
|
1081
|
+
attr_reader :partial_authorization
|
|
915
1082
|
# Status of a card based on the card issuer.
|
|
916
1083
|
attr_reader :regulated_status
|
|
917
1084
|
# The payment_method_options.card.setup_credential_usage value that was passed when setup_future_usage was present at confirmation, one of `recurring`, `unscheduled`, or `installment`
|
|
@@ -928,12 +1095,14 @@ module Stripe
|
|
|
928
1095
|
def self.inner_class_types
|
|
929
1096
|
@inner_class_types = {
|
|
930
1097
|
checks: Checks,
|
|
1098
|
+
decremental_authorization: DecrementalAuthorization,
|
|
931
1099
|
extended_authorization: ExtendedAuthorization,
|
|
932
1100
|
incremental_authorization: IncrementalAuthorization,
|
|
933
1101
|
installments: Installments,
|
|
934
1102
|
multicapture: Multicapture,
|
|
935
1103
|
network_token: NetworkToken,
|
|
936
1104
|
overcapture: Overcapture,
|
|
1105
|
+
partial_authorization: PartialAuthorization,
|
|
937
1106
|
three_d_secure: ThreeDSecure,
|
|
938
1107
|
wallet: Wallet,
|
|
939
1108
|
}
|
|
@@ -1168,6 +1337,16 @@ module Stripe
|
|
|
1168
1337
|
end
|
|
1169
1338
|
end
|
|
1170
1339
|
|
|
1340
|
+
class Gopay < ::Stripe::StripeObject
|
|
1341
|
+
def self.inner_class_types
|
|
1342
|
+
@inner_class_types = {}
|
|
1343
|
+
end
|
|
1344
|
+
|
|
1345
|
+
def self.field_remappings
|
|
1346
|
+
@field_remappings = {}
|
|
1347
|
+
end
|
|
1348
|
+
end
|
|
1349
|
+
|
|
1171
1350
|
class Grabpay < ::Stripe::StripeObject
|
|
1172
1351
|
# Unique transaction id generated by GrabPay
|
|
1173
1352
|
attr_reader :transaction_id
|
|
@@ -1181,6 +1360,27 @@ module Stripe
|
|
|
1181
1360
|
end
|
|
1182
1361
|
end
|
|
1183
1362
|
|
|
1363
|
+
class IdBankTransfer < ::Stripe::StripeObject
|
|
1364
|
+
# Account number of the bank account to transfer funds to.
|
|
1365
|
+
attr_reader :account_number
|
|
1366
|
+
# Bank where the account is located.
|
|
1367
|
+
attr_reader :bank
|
|
1368
|
+
# Local bank code of the bank.
|
|
1369
|
+
attr_reader :bank_code
|
|
1370
|
+
# Name of the bank associated with the bank account.
|
|
1371
|
+
attr_reader :bank_name
|
|
1372
|
+
# Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
|
|
1373
|
+
attr_reader :display_name
|
|
1374
|
+
|
|
1375
|
+
def self.inner_class_types
|
|
1376
|
+
@inner_class_types = {}
|
|
1377
|
+
end
|
|
1378
|
+
|
|
1379
|
+
def self.field_remappings
|
|
1380
|
+
@field_remappings = {}
|
|
1381
|
+
end
|
|
1382
|
+
end
|
|
1383
|
+
|
|
1184
1384
|
class Ideal < ::Stripe::StripeObject
|
|
1185
1385
|
# The customer's bank. Can be one of `abn_amro`, `adyen`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `mollie`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
|
1186
1386
|
attr_reader :bank
|
|
@@ -1395,14 +1595,147 @@ module Stripe
|
|
|
1395
1595
|
end
|
|
1396
1596
|
|
|
1397
1597
|
class Link < ::Stripe::StripeObject
|
|
1598
|
+
class FundingSource < ::Stripe::StripeObject
|
|
1599
|
+
class Card < ::Stripe::StripeObject
|
|
1600
|
+
class Checks < ::Stripe::StripeObject
|
|
1601
|
+
# If an address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
1602
|
+
attr_reader :address_line1_check
|
|
1603
|
+
# If an address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
1604
|
+
attr_reader :address_postal_code_check
|
|
1605
|
+
# If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
1606
|
+
attr_reader :cvc_check
|
|
1607
|
+
|
|
1608
|
+
def self.inner_class_types
|
|
1609
|
+
@inner_class_types = {}
|
|
1610
|
+
end
|
|
1611
|
+
|
|
1612
|
+
def self.field_remappings
|
|
1613
|
+
@field_remappings = {}
|
|
1614
|
+
end
|
|
1615
|
+
end
|
|
1616
|
+
|
|
1617
|
+
class NetworkToken < ::Stripe::StripeObject
|
|
1618
|
+
# Indicates if Stripe used a network token, either user provided or Stripe managed when processing the transaction.
|
|
1619
|
+
attr_reader :used
|
|
1620
|
+
|
|
1621
|
+
def self.inner_class_types
|
|
1622
|
+
@inner_class_types = {}
|
|
1623
|
+
end
|
|
1624
|
+
|
|
1625
|
+
def self.field_remappings
|
|
1626
|
+
@field_remappings = {}
|
|
1627
|
+
end
|
|
1628
|
+
end
|
|
1629
|
+
|
|
1630
|
+
class ThreeDSecure < ::Stripe::StripeObject
|
|
1631
|
+
# For authenticated transactions: how the customer was authenticated by
|
|
1632
|
+
# the issuing bank.
|
|
1633
|
+
attr_reader :authentication_flow
|
|
1634
|
+
# The Electronic Commerce Indicator (ECI). A protocol-level field
|
|
1635
|
+
# indicating what degree of authentication was performed.
|
|
1636
|
+
attr_reader :electronic_commerce_indicator
|
|
1637
|
+
# The exemption requested via 3DS and accepted by the issuer at authentication time.
|
|
1638
|
+
attr_reader :exemption_indicator
|
|
1639
|
+
# Whether Stripe requested the value of `exemption_indicator` in the transaction. This will depend on
|
|
1640
|
+
# the outcome of Stripe's internal risk assessment.
|
|
1641
|
+
attr_reader :exemption_indicator_applied
|
|
1642
|
+
# Indicates the outcome of 3D Secure authentication.
|
|
1643
|
+
attr_reader :result
|
|
1644
|
+
# Additional information about why 3D Secure succeeded or failed based
|
|
1645
|
+
# on the `result`.
|
|
1646
|
+
attr_reader :result_reason
|
|
1647
|
+
# The 3D Secure 1 XID or 3D Secure 2 Directory Server Transaction ID
|
|
1648
|
+
# (dsTransId) for this payment.
|
|
1649
|
+
attr_reader :transaction_id
|
|
1650
|
+
# The version of 3D Secure that was used.
|
|
1651
|
+
attr_reader :version
|
|
1652
|
+
|
|
1653
|
+
def self.inner_class_types
|
|
1654
|
+
@inner_class_types = {}
|
|
1655
|
+
end
|
|
1656
|
+
|
|
1657
|
+
def self.field_remappings
|
|
1658
|
+
@field_remappings = {}
|
|
1659
|
+
end
|
|
1660
|
+
end
|
|
1661
|
+
# The authorized amount.
|
|
1662
|
+
attr_reader :amount_authorized
|
|
1663
|
+
# Authorization code on the charge.
|
|
1664
|
+
attr_reader :authorization_code
|
|
1665
|
+
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
1666
|
+
attr_reader :brand
|
|
1667
|
+
# Check results by Card networks on Card address and CVC at time of payment.
|
|
1668
|
+
attr_reader :checks
|
|
1669
|
+
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
1670
|
+
attr_reader :country
|
|
1671
|
+
# A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
|
|
1672
|
+
attr_reader :description
|
|
1673
|
+
# The Electronic Commerce Indicator (ECI) returned by the card network in the authorization response. Indicates the level of authentication used. Only populated for Visa and Mastercard transactions. This is the network's final ECI and can differ from the request value. An authenticated ECI alone doesn't determine liability shift.
|
|
1674
|
+
attr_reader :electronic_commerce_indicator
|
|
1675
|
+
# Two-digit number representing the card's expiration month.
|
|
1676
|
+
attr_reader :exp_month
|
|
1677
|
+
# Four-digit number representing the card's expiration year.
|
|
1678
|
+
attr_reader :exp_year
|
|
1679
|
+
# Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
|
|
1680
|
+
#
|
|
1681
|
+
# *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
|
|
1682
|
+
attr_reader :fingerprint
|
|
1683
|
+
# Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
|
|
1684
|
+
attr_reader :funding
|
|
1685
|
+
# Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
|
|
1686
|
+
attr_reader :iin
|
|
1687
|
+
# The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
|
|
1688
|
+
attr_reader :issuer
|
|
1689
|
+
# The last four digits of the card.
|
|
1690
|
+
attr_reader :last4
|
|
1691
|
+
# Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
1692
|
+
attr_reader :network
|
|
1693
|
+
# If this card has network token credentials, this contains the details of the network token credentials.
|
|
1694
|
+
attr_reader :network_token
|
|
1695
|
+
# This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
|
|
1696
|
+
attr_reader :network_transaction_id
|
|
1697
|
+
# Status of a card based on the card issuer.
|
|
1698
|
+
attr_reader :regulated_status
|
|
1699
|
+
# Populated if this transaction used 3D Secure authentication.
|
|
1700
|
+
attr_reader :three_d_secure
|
|
1701
|
+
# Transaction Link ID (TLID) is a unique identifier for a transaction. This is used by some card networks, such as Mastercard, for transaction linking, in addition to Network Transaction IDs. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
|
|
1702
|
+
attr_reader :transaction_link_id
|
|
1703
|
+
|
|
1704
|
+
def self.inner_class_types
|
|
1705
|
+
@inner_class_types = {
|
|
1706
|
+
checks: Checks,
|
|
1707
|
+
network_token: NetworkToken,
|
|
1708
|
+
three_d_secure: ThreeDSecure,
|
|
1709
|
+
}
|
|
1710
|
+
end
|
|
1711
|
+
|
|
1712
|
+
def self.field_remappings
|
|
1713
|
+
@field_remappings = {}
|
|
1714
|
+
end
|
|
1715
|
+
end
|
|
1716
|
+
# Attribute for field card
|
|
1717
|
+
attr_reader :card
|
|
1718
|
+
# The type of funding source used for this Link payment.
|
|
1719
|
+
attr_reader :type
|
|
1720
|
+
|
|
1721
|
+
def self.inner_class_types
|
|
1722
|
+
@inner_class_types = { card: Card }
|
|
1723
|
+
end
|
|
1724
|
+
|
|
1725
|
+
def self.field_remappings
|
|
1726
|
+
@field_remappings = {}
|
|
1727
|
+
end
|
|
1728
|
+
end
|
|
1398
1729
|
# Two-letter ISO code representing the funding source country beneath the Link payment.
|
|
1399
1730
|
# You could use this attribute to get a sense of international fees.
|
|
1400
1731
|
attr_reader :country
|
|
1401
1732
|
# The [funding source group code](https://docs.stripe.com/payments/link/link-payment-methods) applied to this Link payment at confirmation time.
|
|
1402
1733
|
attr_reader :funding_source_group
|
|
1734
|
+
# Details about the funding sources used for this Link payment.
|
|
1735
|
+
attr_reader :funding_sources
|
|
1403
1736
|
|
|
1404
1737
|
def self.inner_class_types
|
|
1405
|
-
@inner_class_types = {}
|
|
1738
|
+
@inner_class_types = { funding_sources: FundingSource }
|
|
1406
1739
|
end
|
|
1407
1740
|
|
|
1408
1741
|
def self.field_remappings
|
|
@@ -1484,7 +1817,7 @@ module Stripe
|
|
|
1484
1817
|
end
|
|
1485
1818
|
|
|
1486
1819
|
class NzBankAccount < ::Stripe::StripeObject
|
|
1487
|
-
# The name on the bank account. Only present if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod
|
|
1820
|
+
# The name on the bank account. Only present if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod's billing details.
|
|
1488
1821
|
attr_reader :account_holder_name
|
|
1489
1822
|
# The numeric code for the bank account's bank.
|
|
1490
1823
|
attr_reader :bank_code
|
|
@@ -1597,6 +1930,52 @@ module Stripe
|
|
|
1597
1930
|
@field_remappings = {}
|
|
1598
1931
|
end
|
|
1599
1932
|
end
|
|
1933
|
+
|
|
1934
|
+
class Shipping < ::Stripe::StripeObject
|
|
1935
|
+
# City, district, suburb, town, or village.
|
|
1936
|
+
attr_reader :city
|
|
1937
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1938
|
+
attr_reader :country
|
|
1939
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1940
|
+
attr_reader :line1
|
|
1941
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1942
|
+
attr_reader :line2
|
|
1943
|
+
# ZIP or postal code.
|
|
1944
|
+
attr_reader :postal_code
|
|
1945
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1946
|
+
attr_reader :state
|
|
1947
|
+
|
|
1948
|
+
def self.inner_class_types
|
|
1949
|
+
@inner_class_types = {}
|
|
1950
|
+
end
|
|
1951
|
+
|
|
1952
|
+
def self.field_remappings
|
|
1953
|
+
@field_remappings = {}
|
|
1954
|
+
end
|
|
1955
|
+
end
|
|
1956
|
+
|
|
1957
|
+
class VerifiedAddress < ::Stripe::StripeObject
|
|
1958
|
+
# City, district, suburb, town, or village.
|
|
1959
|
+
attr_reader :city
|
|
1960
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1961
|
+
attr_reader :country
|
|
1962
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1963
|
+
attr_reader :line1
|
|
1964
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1965
|
+
attr_reader :line2
|
|
1966
|
+
# ZIP or postal code.
|
|
1967
|
+
attr_reader :postal_code
|
|
1968
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1969
|
+
attr_reader :state
|
|
1970
|
+
|
|
1971
|
+
def self.inner_class_types
|
|
1972
|
+
@inner_class_types = {}
|
|
1973
|
+
end
|
|
1974
|
+
|
|
1975
|
+
def self.field_remappings
|
|
1976
|
+
@field_remappings = {}
|
|
1977
|
+
end
|
|
1978
|
+
end
|
|
1600
1979
|
# Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1601
1980
|
attr_reader :country
|
|
1602
1981
|
# Owner's email. Values are provided by PayPal directly
|
|
@@ -1609,11 +1988,29 @@ module Stripe
|
|
|
1609
1988
|
attr_reader :payer_name
|
|
1610
1989
|
# The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction.
|
|
1611
1990
|
attr_reader :seller_protection
|
|
1991
|
+
# The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
1992
|
+
# execution. This shipping address will not be updated if the merchant updates the shipping
|
|
1993
|
+
# address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
1994
|
+
attr_reader :shipping
|
|
1612
1995
|
# A unique ID generated by PayPal for this transaction.
|
|
1613
1996
|
attr_reader :transaction_id
|
|
1997
|
+
# The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
1998
|
+
# execution. This shipping address will not be updated if the merchant updates the shipping
|
|
1999
|
+
# address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
2000
|
+
attr_reader :verified_address
|
|
2001
|
+
# Owner's verified email. Values are verified or provided by PayPal directly
|
|
2002
|
+
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
2003
|
+
attr_reader :verified_email
|
|
2004
|
+
# Owner's verified full name. Values are verified or provided by PayPal directly
|
|
2005
|
+
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
2006
|
+
attr_reader :verified_name
|
|
1614
2007
|
|
|
1615
2008
|
def self.inner_class_types
|
|
1616
|
-
@inner_class_types = {
|
|
2009
|
+
@inner_class_types = {
|
|
2010
|
+
seller_protection: SellerProtection,
|
|
2011
|
+
shipping: Shipping,
|
|
2012
|
+
verified_address: VerifiedAddress,
|
|
2013
|
+
}
|
|
1617
2014
|
end
|
|
1618
2015
|
|
|
1619
2016
|
def self.field_remappings
|
|
@@ -1622,6 +2019,9 @@ module Stripe
|
|
|
1622
2019
|
end
|
|
1623
2020
|
|
|
1624
2021
|
class Paypay < ::Stripe::StripeObject
|
|
2022
|
+
# Uniquely identifies this particular PayPay account. You can use this attribute to check whether two PayPay accounts are the same.
|
|
2023
|
+
attr_reader :fingerprint
|
|
2024
|
+
|
|
1625
2025
|
def self.inner_class_types
|
|
1626
2026
|
@inner_class_types = {}
|
|
1627
2027
|
end
|
|
@@ -1680,11 +2080,36 @@ module Stripe
|
|
|
1680
2080
|
end
|
|
1681
2081
|
end
|
|
1682
2082
|
|
|
2083
|
+
class Qris < ::Stripe::StripeObject
|
|
2084
|
+
def self.inner_class_types
|
|
2085
|
+
@inner_class_types = {}
|
|
2086
|
+
end
|
|
2087
|
+
|
|
2088
|
+
def self.field_remappings
|
|
2089
|
+
@field_remappings = {}
|
|
2090
|
+
end
|
|
2091
|
+
end
|
|
2092
|
+
|
|
2093
|
+
class Rechnung < ::Stripe::StripeObject
|
|
2094
|
+
# Payment portal URL.
|
|
2095
|
+
attr_reader :payment_portal_url
|
|
2096
|
+
|
|
2097
|
+
def self.inner_class_types
|
|
2098
|
+
@inner_class_types = {}
|
|
2099
|
+
end
|
|
2100
|
+
|
|
2101
|
+
def self.field_remappings
|
|
2102
|
+
@field_remappings = {}
|
|
2103
|
+
end
|
|
2104
|
+
end
|
|
2105
|
+
|
|
1683
2106
|
class RevolutPay < ::Stripe::StripeObject
|
|
1684
2107
|
class Funding < ::Stripe::StripeObject
|
|
1685
2108
|
class Card < ::Stripe::StripeObject
|
|
1686
2109
|
# Card brand. Can be `American Express`, `Cartes Bancaires`, `Diners Club`, `Discover`, `Eftpos Australia`, `Girocard`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
|
|
1687
2110
|
attr_reader :brand
|
|
2111
|
+
# The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
|
|
2112
|
+
attr_reader :brand_product
|
|
1688
2113
|
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
1689
2114
|
attr_reader :country
|
|
1690
2115
|
# Two-digit number representing the card's expiration month.
|
|
@@ -1827,6 +2252,16 @@ module Stripe
|
|
|
1827
2252
|
end
|
|
1828
2253
|
end
|
|
1829
2254
|
|
|
2255
|
+
class Shopeepay < ::Stripe::StripeObject
|
|
2256
|
+
def self.inner_class_types
|
|
2257
|
+
@inner_class_types = {}
|
|
2258
|
+
end
|
|
2259
|
+
|
|
2260
|
+
def self.field_remappings
|
|
2261
|
+
@field_remappings = {}
|
|
2262
|
+
end
|
|
2263
|
+
end
|
|
2264
|
+
|
|
1830
2265
|
class Sofort < ::Stripe::StripeObject
|
|
1831
2266
|
# Bank code of bank associated with the bank account.
|
|
1832
2267
|
attr_reader :bank_code
|
|
@@ -1868,6 +2303,19 @@ module Stripe
|
|
|
1868
2303
|
end
|
|
1869
2304
|
end
|
|
1870
2305
|
|
|
2306
|
+
class StripeBalance < ::Stripe::StripeObject
|
|
2307
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
|
2308
|
+
attr_reader :account
|
|
2309
|
+
|
|
2310
|
+
def self.inner_class_types
|
|
2311
|
+
@inner_class_types = {}
|
|
2312
|
+
end
|
|
2313
|
+
|
|
2314
|
+
def self.field_remappings
|
|
2315
|
+
@field_remappings = {}
|
|
2316
|
+
end
|
|
2317
|
+
end
|
|
2318
|
+
|
|
1871
2319
|
class Sunbit < ::Stripe::StripeObject
|
|
1872
2320
|
# The Sunbit transaction ID associated with this payment.
|
|
1873
2321
|
attr_reader :transaction_id
|
|
@@ -1982,6 +2430,16 @@ module Stripe
|
|
|
1982
2430
|
end
|
|
1983
2431
|
end
|
|
1984
2432
|
|
|
2433
|
+
class Wero < ::Stripe::StripeObject
|
|
2434
|
+
def self.inner_class_types
|
|
2435
|
+
@inner_class_types = {}
|
|
2436
|
+
end
|
|
2437
|
+
|
|
2438
|
+
def self.field_remappings
|
|
2439
|
+
@field_remappings = {}
|
|
2440
|
+
end
|
|
2441
|
+
end
|
|
2442
|
+
|
|
1985
2443
|
class Zip < ::Stripe::StripeObject
|
|
1986
2444
|
def self.inner_class_types
|
|
1987
2445
|
@inner_class_types = {}
|
|
@@ -2037,8 +2495,12 @@ module Stripe
|
|
|
2037
2495
|
attr_reader :fpx
|
|
2038
2496
|
# Attribute for field giropay
|
|
2039
2497
|
attr_reader :giropay
|
|
2498
|
+
# Attribute for field gopay
|
|
2499
|
+
attr_reader :gopay
|
|
2040
2500
|
# Attribute for field grabpay
|
|
2041
2501
|
attr_reader :grabpay
|
|
2502
|
+
# Attribute for field id_bank_transfer
|
|
2503
|
+
attr_reader :id_bank_transfer
|
|
2042
2504
|
# Attribute for field ideal
|
|
2043
2505
|
attr_reader :ideal
|
|
2044
2506
|
# Attribute for field interac_present
|
|
@@ -2083,6 +2545,10 @@ module Stripe
|
|
|
2083
2545
|
attr_reader :pix
|
|
2084
2546
|
# Attribute for field promptpay
|
|
2085
2547
|
attr_reader :promptpay
|
|
2548
|
+
# Attribute for field qris
|
|
2549
|
+
attr_reader :qris
|
|
2550
|
+
# Attribute for field rechnung
|
|
2551
|
+
attr_reader :rechnung
|
|
2086
2552
|
# Attribute for field revolut_pay
|
|
2087
2553
|
attr_reader :revolut_pay
|
|
2088
2554
|
# Attribute for field samsung_pay
|
|
@@ -2097,10 +2563,14 @@ module Stripe
|
|
|
2097
2563
|
attr_reader :sepa_debit
|
|
2098
2564
|
# Attribute for field sequra
|
|
2099
2565
|
attr_reader :sequra
|
|
2566
|
+
# Attribute for field shopeepay
|
|
2567
|
+
attr_reader :shopeepay
|
|
2100
2568
|
# Attribute for field sofort
|
|
2101
2569
|
attr_reader :sofort
|
|
2102
2570
|
# Attribute for field stripe_account
|
|
2103
2571
|
attr_reader :stripe_account
|
|
2572
|
+
# Attribute for field stripe_balance
|
|
2573
|
+
attr_reader :stripe_balance
|
|
2104
2574
|
# Attribute for field sunbit
|
|
2105
2575
|
attr_reader :sunbit
|
|
2106
2576
|
# Attribute for field swish
|
|
@@ -2119,6 +2589,8 @@ module Stripe
|
|
|
2119
2589
|
attr_reader :wechat
|
|
2120
2590
|
# Attribute for field wechat_pay
|
|
2121
2591
|
attr_reader :wechat_pay
|
|
2592
|
+
# Attribute for field wero
|
|
2593
|
+
attr_reader :wero
|
|
2122
2594
|
# Attribute for field zip
|
|
2123
2595
|
attr_reader :zip
|
|
2124
2596
|
|
|
@@ -2147,7 +2619,9 @@ module Stripe
|
|
|
2147
2619
|
eps: Eps,
|
|
2148
2620
|
fpx: Fpx,
|
|
2149
2621
|
giropay: Giropay,
|
|
2622
|
+
gopay: Gopay,
|
|
2150
2623
|
grabpay: Grabpay,
|
|
2624
|
+
id_bank_transfer: IdBankTransfer,
|
|
2151
2625
|
ideal: Ideal,
|
|
2152
2626
|
interac_present: InteracPresent,
|
|
2153
2627
|
kakao_pay: KakaoPay,
|
|
@@ -2170,6 +2644,8 @@ module Stripe
|
|
|
2170
2644
|
payto: Payto,
|
|
2171
2645
|
pix: Pix,
|
|
2172
2646
|
promptpay: Promptpay,
|
|
2647
|
+
qris: Qris,
|
|
2648
|
+
rechnung: Rechnung,
|
|
2173
2649
|
revolut_pay: RevolutPay,
|
|
2174
2650
|
samsung_pay: SamsungPay,
|
|
2175
2651
|
satispay: Satispay,
|
|
@@ -2177,8 +2653,10 @@ module Stripe
|
|
|
2177
2653
|
sepa_credit_transfer: SepaCreditTransfer,
|
|
2178
2654
|
sepa_debit: SepaDebit,
|
|
2179
2655
|
sequra: Sequra,
|
|
2656
|
+
shopeepay: Shopeepay,
|
|
2180
2657
|
sofort: Sofort,
|
|
2181
2658
|
stripe_account: StripeAccount,
|
|
2659
|
+
stripe_balance: StripeBalance,
|
|
2182
2660
|
sunbit: Sunbit,
|
|
2183
2661
|
swish: Swish,
|
|
2184
2662
|
twint: Twint,
|
|
@@ -2186,6 +2664,7 @@ module Stripe
|
|
|
2186
2664
|
us_bank_account: UsBankAccount,
|
|
2187
2665
|
wechat: Wechat,
|
|
2188
2666
|
wechat_pay: WechatPay,
|
|
2667
|
+
wero: Wero,
|
|
2189
2668
|
zip: Zip,
|
|
2190
2669
|
}
|
|
2191
2670
|
end
|
|
@@ -2223,6 +2702,19 @@ module Stripe
|
|
|
2223
2702
|
end
|
|
2224
2703
|
end
|
|
2225
2704
|
|
|
2705
|
+
class Redaction < ::Stripe::StripeObject
|
|
2706
|
+
# Indicates whether this object and its related objects have been redacted or not.
|
|
2707
|
+
attr_reader :status
|
|
2708
|
+
|
|
2709
|
+
def self.inner_class_types
|
|
2710
|
+
@inner_class_types = {}
|
|
2711
|
+
end
|
|
2712
|
+
|
|
2713
|
+
def self.field_remappings
|
|
2714
|
+
@field_remappings = {}
|
|
2715
|
+
end
|
|
2716
|
+
end
|
|
2717
|
+
|
|
2226
2718
|
class Shipping < ::Stripe::StripeObject
|
|
2227
2719
|
class Address < ::Stripe::StripeObject
|
|
2228
2720
|
# City, district, suburb, town, or village.
|
|
@@ -2352,6 +2844,8 @@ module Stripe
|
|
|
2352
2844
|
attr_reader :receipt_number
|
|
2353
2845
|
# This is the URL to view the receipt for this charge. The receipt is kept up-to-date to the latest state of the charge, including any refunds. If the charge is for an Invoice, the receipt will be stylized as an Invoice receipt.
|
|
2354
2846
|
attr_reader :receipt_url
|
|
2847
|
+
# Redaction status of this charge. If not null, this charge is associated to a redaction job.
|
|
2848
|
+
attr_reader :redaction
|
|
2355
2849
|
# Whether the charge has been fully refunded. If the charge is only partially refunded, this attribute will still be false.
|
|
2356
2850
|
attr_reader :refunded
|
|
2357
2851
|
# A list of refunds that have been applied to the charge.
|
|
@@ -2436,6 +2930,7 @@ module Stripe
|
|
|
2436
2930
|
payment_method_details: PaymentMethodDetails,
|
|
2437
2931
|
presentment_details: PresentmentDetails,
|
|
2438
2932
|
radar_options: RadarOptions,
|
|
2933
|
+
redaction: Redaction,
|
|
2439
2934
|
shipping: Shipping,
|
|
2440
2935
|
transfer_data: TransferData,
|
|
2441
2936
|
}
|