stripe 15.5.0 → 15.6.0.pre.alpha.2
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/API_VERSION +1 -1
- data/CHANGELOG.md +1723 -642
- data/OPENAPI_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/stripe/api_requestor.rb +34 -0
- data/lib/stripe/api_version.rb +1 -2
- data/lib/stripe/errors.rb +63 -0
- data/lib/stripe/event_types.rb +185 -0
- data/lib/stripe/events/v2_billing_cadence_billed_event.rb +21 -0
- data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_billing_cadence_created_event.rb +23 -0
- data/lib/stripe/events/v2_billing_cadence_errored_event.rb +21 -0
- data/lib/stripe/events/v2_billing_license_fee_created_event.rb +21 -0
- data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +21 -0
- data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +23 -0
- data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +21 -0
- data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +21 -0
- data/lib/stripe/events/v2_billing_metered_item_created_event.rb +21 -0
- data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +21 -0
- data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +23 -0
- data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +23 -0
- data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +21 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +21 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +21 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +21 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +21 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +21 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +21 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +21 -0
- data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +21 -0
- data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +23 -0
- data/lib/stripe/events/v2_billing_rate_card_created_event.rb +23 -0
- data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +23 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +21 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +21 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +21 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +21 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +21 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +21 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +21 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +21 -0
- data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +21 -0
- data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_closed_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_created_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_link_returned_event.rb +13 -0
- data/lib/stripe/events/v2_core_account_person_created_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_person_deleted_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_person_updated_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +13 -0
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +23 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +23 -0
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +22 -0
- data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +21 -0
- data/lib/stripe/events/v2_reporting_report_run_created_event.rb +21 -0
- data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +21 -0
- data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +21 -0
- data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +21 -0
- data/lib/stripe/object_types.rb +80 -0
- data/lib/stripe/resources/account.rb +1137 -42
- data/lib/stripe/resources/account_link.rb +8 -0
- data/lib/stripe/resources/account_notice.rb +147 -0
- data/lib/stripe/resources/account_session.rb +688 -8
- data/lib/stripe/resources/apple_pay_domain.rb +8 -0
- data/lib/stripe/resources/application.rb +8 -0
- data/lib/stripe/resources/application_fee.rb +16 -0
- data/lib/stripe/resources/application_fee_refund.rb +8 -0
- data/lib/stripe/resources/apps/secret.rb +16 -0
- data/lib/stripe/resources/balance.rb +159 -0
- data/lib/stripe/resources/balance_settings.rb +152 -0
- data/lib/stripe/resources/balance_transaction.rb +16 -0
- data/lib/stripe/resources/bank_account.rb +40 -0
- data/lib/stripe/resources/billing/alert.rb +203 -1
- data/lib/stripe/resources/billing/alert_triggered.rb +14 -0
- data/lib/stripe/resources/billing/credit_balance_summary.rb +132 -0
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +161 -0
- data/lib/stripe/resources/billing/credit_grant.rb +143 -2
- data/lib/stripe/resources/billing/meter.rb +45 -0
- data/lib/stripe/resources/billing/meter_event.rb +8 -0
- data/lib/stripe/resources/billing/meter_event_adjustment.rb +16 -0
- data/lib/stripe/resources/billing/meter_event_summary.rb +8 -0
- data/lib/stripe/resources/billing/meter_usage.rb +31 -0
- data/lib/stripe/resources/billing/meter_usage_row.rb +36 -0
- data/lib/stripe/resources/billing_portal/configuration.rb +122 -0
- data/lib/stripe/resources/billing_portal/session.rb +107 -0
- data/lib/stripe/resources/capability.rb +56 -0
- data/lib/stripe/resources/capital/financing_offer.rb +203 -0
- data/lib/stripe/resources/capital/financing_summary.rb +79 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +138 -0
- data/lib/stripe/resources/card.rb +18 -0
- data/lib/stripe/resources/cash_balance.rb +18 -0
- data/lib/stripe/resources/charge.rb +2587 -15
- data/lib/stripe/resources/checkout/session.rb +1583 -15
- data/lib/stripe/resources/climate/order.rb +32 -0
- data/lib/stripe/resources/climate/product.rb +16 -0
- data/lib/stripe/resources/climate/supplier.rb +16 -0
- data/lib/stripe/resources/confirmation_token.rb +1126 -34
- data/lib/stripe/resources/connect_collection_transfer.rb +8 -0
- data/lib/stripe/resources/country_spec.rb +32 -0
- data/lib/stripe/resources/coupon.rb +66 -1
- data/lib/stripe/resources/credit_note.rb +76 -0
- data/lib/stripe/resources/credit_note_line_item.rb +62 -0
- data/lib/stripe/resources/customer.rb +79 -0
- data/lib/stripe/resources/customer_balance_transaction.rb +10 -0
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +110 -0
- data/lib/stripe/resources/customer_session.rb +58 -1
- data/lib/stripe/resources/discount.rb +10 -0
- data/lib/stripe/resources/dispute.rb +177 -0
- data/lib/stripe/resources/entitlements/active_entitlement.rb +8 -0
- data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +8 -0
- data/lib/stripe/resources/entitlements/feature.rb +8 -0
- data/lib/stripe/resources/ephemeral_key.rb +8 -0
- data/lib/stripe/resources/event.rb +87 -0
- data/lib/stripe/resources/exchange_rate.rb +8 -0
- data/lib/stripe/resources/file.rb +8 -0
- data/lib/stripe/resources/file_link.rb +8 -0
- data/lib/stripe/resources/financial_connections/account.rb +101 -1
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +35 -0
- data/lib/stripe/resources/financial_connections/account_owner.rb +8 -0
- data/lib/stripe/resources/financial_connections/account_ownership.rb +8 -0
- data/lib/stripe/resources/financial_connections/institution.rb +145 -0
- data/lib/stripe/resources/financial_connections/session.rb +124 -2
- data/lib/stripe/resources/financial_connections/transaction.rb +16 -0
- data/lib/stripe/resources/forwarding/request.rb +52 -0
- data/lib/stripe/resources/funding_instructions.rb +193 -0
- data/lib/stripe/resources/fx_quote.rb +234 -0
- data/lib/stripe/resources/identity/verification_report.rb +166 -1
- data/lib/stripe/resources/identity/verification_session.rb +136 -1
- data/lib/stripe/resources/invoice.rb +1591 -18
- data/lib/stripe/resources/invoice_item.rb +214 -2
- data/lib/stripe/resources/invoice_line_item.rb +293 -1
- data/lib/stripe/resources/invoice_payment.rb +30 -1
- data/lib/stripe/resources/invoice_rendering_template.rb +8 -0
- data/lib/stripe/resources/issuing/authorization.rb +177 -0
- data/lib/stripe/resources/issuing/card.rb +96 -8
- data/lib/stripe/resources/issuing/cardholder.rb +112 -1
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +684 -0
- data/lib/stripe/resources/issuing/dispute.rb +97 -0
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +98 -0
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +94 -0
- data/lib/stripe/resources/issuing/personalization_design.rb +36 -0
- data/lib/stripe/resources/issuing/physical_bundle.rb +16 -0
- data/lib/stripe/resources/issuing/settlement.rb +61 -0
- data/lib/stripe/resources/issuing/token.rb +61 -0
- data/lib/stripe/resources/issuing/transaction.rb +157 -0
- data/lib/stripe/resources/line_item.rb +91 -0
- data/lib/stripe/resources/login_link.rb +8 -0
- data/lib/stripe/resources/mandate.rb +331 -12
- data/lib/stripe/resources/margin.rb +123 -0
- data/lib/stripe/resources/order.rb +3306 -0
- data/lib/stripe/resources/payment_attempt_record.rb +2056 -0
- data/lib/stripe/resources/payment_intent.rb +11019 -3714
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +128 -0
- data/lib/stripe/resources/payment_link.rb +337 -0
- data/lib/stripe/resources/payment_method.rb +1074 -35
- data/lib/stripe/resources/payment_method_configuration.rb +1260 -4
- data/lib/stripe/resources/payment_method_domain.rb +111 -0
- data/lib/stripe/resources/payment_record.rb +2602 -0
- data/lib/stripe/resources/payout.rb +16 -0
- data/lib/stripe/resources/person.rb +180 -0
- data/lib/stripe/resources/plan.rb +24 -0
- data/lib/stripe/resources/price.rb +109 -0
- data/lib/stripe/resources/privacy/redaction_job.rb +314 -0
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +49 -0
- data/lib/stripe/resources/product.rb +27 -0
- data/lib/stripe/resources/product_feature.rb +8 -0
- data/lib/stripe/resources/promotion_code.rb +34 -0
- data/lib/stripe/resources/quote.rb +2512 -49
- data/lib/stripe/resources/quote_line.rb +521 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +1134 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +718 -0
- data/lib/stripe/resources/radar/early_fraud_warning.rb +8 -0
- data/lib/stripe/resources/radar/value_list.rb +8 -0
- data/lib/stripe/resources/radar/value_list_item.rb +8 -0
- data/lib/stripe/resources/refund.rb +389 -19
- data/lib/stripe/resources/reporting/report_run.rb +16 -0
- data/lib/stripe/resources/reporting/report_type.rb +8 -0
- data/lib/stripe/resources/reserve_transaction.rb +8 -0
- data/lib/stripe/resources/reversal.rb +8 -0
- data/lib/stripe/resources/review.rb +24 -0
- data/lib/stripe/resources/setup_attempt.rb +352 -17
- data/lib/stripe/resources/setup_intent.rb +1065 -12
- data/lib/stripe/resources/shipping_rate.rb +48 -0
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +16 -0
- data/lib/stripe/resources/source.rb +303 -0
- data/lib/stripe/resources/source_mandate_notification.rb +32 -0
- data/lib/stripe/resources/source_transaction.rb +54 -0
- data/lib/stripe/resources/subscription.rb +720 -11
- data/lib/stripe/resources/subscription_item.rb +108 -3
- data/lib/stripe/resources/subscription_schedule.rb +1321 -10
- data/lib/stripe/resources/tax/association.rb +98 -0
- data/lib/stripe/resources/tax/calculation.rb +109 -0
- data/lib/stripe/resources/tax/calculation_line_item.rb +32 -0
- data/lib/stripe/resources/tax/form.rb +318 -0
- data/lib/stripe/resources/tax/registration.rb +1232 -0
- data/lib/stripe/resources/tax/settings.rb +61 -1
- data/lib/stripe/resources/tax/transaction.rb +93 -0
- data/lib/stripe/resources/tax/transaction_line_item.rb +16 -0
- data/lib/stripe/resources/tax_code.rb +8 -0
- data/lib/stripe/resources/tax_deducted_at_source.rb +8 -0
- data/lib/stripe/resources/tax_id.rb +36 -2
- data/lib/stripe/resources/tax_rate.rb +16 -0
- data/lib/stripe/resources/terminal/configuration.rb +332 -0
- data/lib/stripe/resources/terminal/connection_token.rb +8 -0
- data/lib/stripe/resources/terminal/location.rb +16 -0
- data/lib/stripe/resources/terminal/onboarding_link.rb +108 -0
- data/lib/stripe/resources/terminal/reader.rb +249 -0
- data/lib/stripe/resources/terminal/reader_collected_data.rb +47 -0
- data/lib/stripe/resources/test_helpers/test_clock.rb +24 -0
- data/lib/stripe/resources/token.rb +8 -0
- data/lib/stripe/resources/topup.rb +8 -0
- data/lib/stripe/resources/transfer.rb +14 -0
- data/lib/stripe/resources/treasury/credit_reversal.rb +16 -0
- data/lib/stripe/resources/treasury/debit_reversal.rb +24 -0
- data/lib/stripe/resources/treasury/financial_account.rb +83 -3
- data/lib/stripe/resources/treasury/financial_account_features.rb +194 -0
- data/lib/stripe/resources/treasury/inbound_transfer.rb +69 -0
- data/lib/stripe/resources/treasury/outbound_payment.rb +106 -0
- data/lib/stripe/resources/treasury/outbound_transfer.rb +151 -0
- data/lib/stripe/resources/treasury/received_credit.rb +135 -1
- data/lib/stripe/resources/treasury/received_debit.rb +129 -1
- data/lib/stripe/resources/treasury/transaction.rb +36 -0
- data/lib/stripe/resources/treasury/transaction_entry.rb +24 -0
- data/lib/stripe/resources/v2/billing/bill_setting.rb +102 -0
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +90 -0
- data/lib/stripe/resources/v2/billing/cadence.rb +323 -0
- data/lib/stripe/resources/v2/billing/collection_setting.rb +296 -0
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +284 -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 +103 -0
- data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +44 -0
- data/lib/stripe/resources/v2/billing/license_fee_version.rb +80 -0
- data/lib/stripe/resources/v2/billing/licensed_item.rb +60 -0
- data/lib/stripe/resources/v2/billing/meter_event.rb +8 -0
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +16 -0
- data/lib/stripe/resources/v2/billing/meter_event_session.rb +8 -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 +90 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +38 -0
- data/lib/stripe/resources/v2/billing/profile.rb +46 -0
- data/lib/stripe/resources/v2/billing/rate_card.rb +61 -0
- data/lib/stripe/resources/v2/billing/rate_card_rate.rb +107 -0
- data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +90 -0
- data/lib/stripe/resources/v2/billing/rate_card_version.rb +34 -0
- data/lib/stripe/resources/v2/billing/service_action.rb +232 -0
- data/lib/stripe/resources/v2/core/account.rb +3838 -0
- data/lib/stripe/resources/v2/core/account_link.rb +123 -0
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +81 -0
- data/lib/stripe/resources/v2/core/person.rb +477 -0
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +114 -0
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +47 -0
- data/lib/stripe/resources/v2/event.rb +26 -0
- data/lib/stripe/resources/v2/event_destination.rb +44 -0
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +28 -0
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +30 -0
- data/lib/stripe/resources/v2/money_management/adjustment.rb +67 -0
- data/lib/stripe/resources/v2/money_management/financial_account.rb +140 -0
- data/lib/stripe/resources/v2/money_management/financial_address.rb +100 -0
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +181 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +217 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +144 -0
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +69 -0
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +196 -0
- data/lib/stripe/resources/v2/money_management/payout_method.rb +109 -0
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +81 -0
- data/lib/stripe/resources/v2/money_management/received_credit.rb +199 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +136 -0
- data/lib/stripe/resources/v2/money_management/transaction.rb +116 -0
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +105 -0
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +113 -0
- data/lib/stripe/resources/v2/reporting/report.rb +116 -0
- data/lib/stripe/resources/v2/reporting/report_run.rb +158 -0
- data/lib/stripe/resources/v2/tax/automatic_rule.rb +39 -0
- data/lib/stripe/resources/webhook_endpoint.rb +8 -0
- data/lib/stripe/resources.rb +194 -0
- data/lib/stripe/services/account_notice_service.rb +101 -0
- data/lib/stripe/services/account_service.rb +562 -1
- data/lib/stripe/services/account_session_service.rb +226 -1
- data/lib/stripe/services/balance_settings_service.rb +99 -0
- data/lib/stripe/services/billing/alert_service.rb +75 -1
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +17 -2
- data/lib/stripe/services/billing/credit_balance_transaction_service.rb +4 -0
- data/lib/stripe/services/billing/credit_grant_service.rb +37 -2
- data/lib/stripe/services/billing/meter_usage_service.rb +76 -0
- data/lib/stripe/services/billing_portal/session_service.rb +4 -0
- data/lib/stripe/services/billing_service.rb +2 -1
- data/lib/stripe/services/capital/financing_offer_service.rb +112 -0
- data/lib/stripe/services/capital/financing_summary_service.rb +28 -0
- data/lib/stripe/services/capital/financing_transaction_service.rb +79 -0
- data/lib/stripe/services/capital_service.rb +15 -0
- data/lib/stripe/services/charge_service.rb +1418 -0
- data/lib/stripe/services/checkout/session_service.rb +472 -5
- data/lib/stripe/services/coupon_service.rb +17 -1
- data/lib/stripe/services/credit_note_service.rb +4 -0
- data/lib/stripe/services/customer_session_service.rb +4 -1
- data/{rbi/stripe/services/account_external_account_service.rbi → lib/stripe/services/external_account_service.rb} +135 -122
- data/{rbi/stripe/services/tax/transaction_line_item_service.rbi → lib/stripe/services/financial_connections/account_inferred_balance_service.rb} +21 -17
- data/lib/stripe/services/financial_connections/account_service.rb +7 -2
- data/{rbi/stripe/services/climate/supplier_service.rbi → lib/stripe/services/financial_connections/institution_service.rb} +36 -25
- data/lib/stripe/services/financial_connections/session_service.rb +34 -2
- data/lib/stripe/services/financial_connections_service.rb +2 -1
- data/lib/stripe/services/fx_quote_service.rb +123 -0
- data/lib/stripe/services/identity/verification_session_service.rb +8 -0
- data/lib/stripe/services/invoice_item_service.rb +74 -2
- data/lib/stripe/services/invoice_line_item_service.rb +33 -1
- data/lib/stripe/services/invoice_payment_service.rb +4 -1
- data/lib/stripe/services/invoice_service.rb +1078 -16
- data/lib/stripe/services/issuing/card_service.rb +0 -8
- data/lib/stripe/services/issuing/cardholder_service.rb +2 -1
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +504 -0
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +66 -0
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +83 -0
- data/lib/stripe/services/issuing/transaction_service.rb +4 -0
- data/lib/stripe/services/issuing_service.rb +5 -1
- data/lib/stripe/services/mandate_service.rb +40 -0
- data/lib/stripe/services/margin_service.rb +119 -0
- data/{rbi/stripe/services/source_transaction_service.rbi → lib/stripe/services/order_line_item_service.rb} +20 -16
- data/lib/stripe/services/order_service.rb +2388 -0
- data/lib/stripe/services/payment_attempt_record_service.rb +52 -0
- data/{rbi/stripe/services/quote_line_item_service.rbi → lib/stripe/services/payment_intent_amount_details_line_item_service.rb} +20 -16
- data/lib/stripe/services/payment_intent_service.rb +7630 -2215
- data/lib/stripe/services/payment_method_configuration_service.rb +210 -0
- data/lib/stripe/services/payment_method_service.rb +120 -1
- data/lib/stripe/services/payment_record_service.rb +562 -0
- data/lib/stripe/services/price_service.rb +19 -0
- data/lib/stripe/services/privacy/redaction_job_service.rb +240 -0
- data/{rbi/stripe/services/tax/calculation_line_item_service.rbi → lib/stripe/services/privacy/redaction_job_validation_error_service.rb} +21 -17
- data/lib/stripe/services/privacy_service.rb +13 -0
- data/lib/stripe/services/promotion_code_service.rb +8 -0
- data/{rbi/stripe/services/credit_note_line_item_service.rbi → lib/stripe/services/quote_line_service.rb} +20 -16
- data/{rbi/stripe/services/payment_link_line_item_service.rbi → lib/stripe/services/quote_preview_invoice_service.rb} +20 -16
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +35 -0
- data/lib/stripe/services/quote_service.rb +1723 -8
- data/lib/stripe/services/setup_intent_service.rb +691 -9
- data/lib/stripe/services/subscription_item_service.rb +75 -3
- data/lib/stripe/services/subscription_schedule_service.rb +911 -10
- data/lib/stripe/services/subscription_service.rb +336 -9
- data/lib/stripe/services/tax/association_service.rb +31 -0
- data/lib/stripe/services/tax/form_service.rb +100 -0
- data/lib/stripe/services/tax_id_service.rb +8 -2
- data/lib/stripe/services/tax_service.rb +3 -1
- data/lib/stripe/services/terminal/configuration_service.rb +26 -0
- data/lib/stripe/services/terminal/onboarding_link_service.rb +56 -0
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +28 -0
- data/lib/stripe/services/terminal_service.rb +3 -1
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +97 -0
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +25 -1
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +25 -1
- data/lib/stripe/services/transfer_service.rb +4 -0
- data/lib/stripe/services/treasury/financial_account_features_service.rb +4 -1
- data/lib/stripe/services/treasury/financial_account_service.rb +16 -2
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +24 -0
- data/lib/stripe/services/v1_services.rb +11 -1
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +214 -0
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +45 -0
- data/lib/stripe/services/v2/billing/cadence_service.rb +428 -0
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +518 -0
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +45 -0
- data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +108 -0
- data/lib/stripe/services/v2/billing/intent_service.rb +465 -0
- data/lib/stripe/services/v2/billing/intents/action_service.rb +45 -0
- data/lib/stripe/services/v2/billing/license_fee_service.rb +250 -0
- data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +23 -0
- data/lib/stripe/services/v2/billing/license_fees/version_service.rb +45 -0
- data/lib/stripe/services/v2/billing/licensed_item_service.rb +149 -0
- data/lib/stripe/services/v2/billing/metered_item_service.rb +176 -0
- data/lib/stripe/services/v2/billing/pricing_plan_service.rb +142 -0
- data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +76 -0
- data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +162 -0
- data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +45 -0
- data/lib/stripe/services/v2/billing/profile_service.rb +144 -0
- data/lib/stripe/services/v2/billing/rate_card_service.rb +151 -0
- data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +144 -0
- data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +161 -0
- data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +45 -0
- data/lib/stripe/services/v2/billing/service_action_service.rb +259 -0
- data/lib/stripe/services/v2/billing_service.rb +18 -1
- data/lib/stripe/services/v2/core/account_link_service.rb +114 -0
- data/lib/stripe/services/v2/core/account_service.rb +4536 -0
- data/lib/stripe/services/v2/core/accounts/person_service.rb +1045 -0
- data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +50 -0
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +130 -0
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +107 -0
- data/lib/stripe/services/v2/core/vault_service.rb +18 -0
- data/lib/stripe/services/v2/core_service.rb +5 -1
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +74 -0
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +119 -0
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +82 -0
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +125 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +95 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +199 -0
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +235 -0
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +172 -0
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +90 -0
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +70 -0
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +43 -0
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +69 -0
- data/lib/stripe/services/v2/money_management/transaction_service.rb +73 -0
- data/lib/stripe/services/v2/money_management_service.rb +31 -0
- data/lib/stripe/services/v2/payment_service.rb +15 -0
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +152 -0
- data/lib/stripe/services/v2/reporting/report_run_service.rb +88 -0
- data/lib/stripe/services/v2/reporting/report_service.rb +25 -0
- data/lib/stripe/services/v2/reporting_service.rb +16 -0
- data/lib/stripe/services/v2/tax/automatic_rule_service.rb +99 -0
- data/lib/stripe/services/v2/tax_service.rb +15 -0
- data/lib/stripe/services/v2/test_helper_service.rb +15 -0
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +53 -0
- data/lib/stripe/services/v2_services.rb +6 -1
- data/lib/stripe/services.rb +84 -0
- data/lib/stripe/stripe_configuration.rb +3 -1
- data/lib/stripe/stripe_object.rb +26 -2
- data/lib/stripe/util.rb +16 -6
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +53 -0
- data/rbi/stripe.rbi +280174 -0
- data/stripe.gemspec +4 -1
- metadata +283 -324
- data/rbi/stripe/resources/account.rbi +0 -4991
- data/rbi/stripe/resources/account_link.rbi +0 -76
- data/rbi/stripe/resources/account_session.rbi +0 -1173
- data/rbi/stripe/resources/apple_pay_domain.rbi +0 -88
- data/rbi/stripe/resources/application.rbi +0 -20
- data/rbi/stripe/resources/application_fee.rbi +0 -118
- data/rbi/stripe/resources/application_fee_refund.rbi +0 -37
- data/rbi/stripe/resources/apps/secret.rbi +0 -195
- data/rbi/stripe/resources/balance.rbi +0 -230
- data/rbi/stripe/resources/balance_transaction.rbi +0 -147
- data/rbi/stripe/resources/bank_account.rbi +0 -127
- data/rbi/stripe/resources/billing/alert.rbi +0 -201
- data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -28
- data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -63
- data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -147
- data/rbi/stripe/resources/billing/credit_grant.rbi +0 -291
- data/rbi/stripe/resources/billing/meter.rbi +0 -226
- data/rbi/stripe/resources/billing/meter_event.rbi +0 -64
- data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -64
- data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -35
- data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -712
- data/rbi/stripe/resources/billing_portal/session.rbi +0 -345
- data/rbi/stripe/resources/capability.rbi +0 -125
- data/rbi/stripe/resources/card.rbi +0 -125
- data/rbi/stripe/resources/cash_balance.rbi +0 -32
- data/rbi/stripe/resources/charge.rbi +0 -2136
- data/rbi/stripe/resources/checkout/session.rbi +0 -4105
- data/rbi/stripe/resources/climate/order.rbi +0 -245
- data/rbi/stripe/resources/climate/product.rbi +0 -75
- data/rbi/stripe/resources/climate/supplier.rbi +0 -72
- data/rbi/stripe/resources/confirmation_token.rbi +0 -1818
- data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -26
- data/rbi/stripe/resources/country_spec.rbi +0 -85
- data/rbi/stripe/resources/coupon.rbi +0 -250
- data/rbi/stripe/resources/credit_note.rbi +0 -752
- data/rbi/stripe/resources/credit_note_line_item.rbi +0 -101
- data/rbi/stripe/resources/customer.rbi +0 -993
- data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -56
- data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -151
- data/rbi/stripe/resources/customer_session.rbi +0 -200
- data/rbi/stripe/resources/discount.rbi +0 -53
- data/rbi/stripe/resources/dispute.rbi +0 -761
- data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -58
- data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -23
- data/rbi/stripe/resources/entitlements/feature.rbi +0 -117
- data/rbi/stripe/resources/ephemeral_key.rbi +0 -44
- data/rbi/stripe/resources/event.rbi +0 -137
- data/rbi/stripe/resources/exchange_rate.rbi +0 -66
- data/rbi/stripe/resources/file.rbi +0 -143
- data/rbi/stripe/resources/file_link.rbi +0 -141
- data/rbi/stripe/resources/financial_connections/account.rbi +0 -339
- data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -35
- data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -23
- data/rbi/stripe/resources/financial_connections/session.rbi +0 -123
- data/rbi/stripe/resources/financial_connections/transaction.rbi +0 -124
- data/rbi/stripe/resources/forwarding/request.rbi +0 -216
- data/rbi/stripe/resources/funding_instructions.rbi +0 -437
- data/rbi/stripe/resources/identity/verification_report.rbi +0 -360
- data/rbi/stripe/resources/identity/verification_session.rbi +0 -564
- data/rbi/stripe/resources/invoice.rbi +0 -3894
- data/rbi/stripe/resources/invoice_item.rbi +0 -470
- data/rbi/stripe/resources/invoice_line_item.rbi +0 -432
- data/rbi/stripe/resources/invoice_payment.rbi +0 -121
- data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -104
- data/rbi/stripe/resources/issuing/authorization.rbi +0 -1283
- data/rbi/stripe/resources/issuing/card.rbi +0 -749
- data/rbi/stripe/resources/issuing/cardholder.rbi +0 -744
- data/rbi/stripe/resources/issuing/dispute.rbi +0 -913
- data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -338
- data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -79
- data/rbi/stripe/resources/issuing/token.rbi +0 -226
- data/rbi/stripe/resources/issuing/transaction.rbi +0 -1061
- data/rbi/stripe/resources/line_item.rbi +0 -72
- data/rbi/stripe/resources/login_link.rbi +0 -19
- data/rbi/stripe/resources/mandate.rbi +0 -191
- data/rbi/stripe/resources/payment_intent.rbi +0 -10011
- data/rbi/stripe/resources/payment_link.rbi +0 -1891
- data/rbi/stripe/resources/payment_method.rbi +0 -1770
- data/rbi/stripe/resources/payment_method_configuration.rbi +0 -3550
- data/rbi/stripe/resources/payment_method_domain.rbi +0 -228
- data/rbi/stripe/resources/payout.rbi +0 -307
- data/rbi/stripe/resources/person.rbi +0 -401
- data/rbi/stripe/resources/plan.rbi +0 -371
- data/rbi/stripe/resources/price.rbi +0 -694
- data/rbi/stripe/resources/product.rbi +0 -553
- data/rbi/stripe/resources/product_feature.rbi +0 -26
- data/rbi/stripe/resources/promotion_code.rbi +0 -264
- data/rbi/stripe/resources/quote.rbi +0 -1137
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -98
- data/rbi/stripe/resources/radar/value_list.rbi +0 -168
- data/rbi/stripe/resources/radar/value_list_item.rbi +0 -129
- data/rbi/stripe/resources/refund.rbi +0 -523
- data/rbi/stripe/resources/reporting/report_run.rbi +0 -191
- data/rbi/stripe/resources/reporting/report_type.rbi +0 -57
- data/rbi/stripe/resources/reserve_transaction.rbi +0 -23
- data/rbi/stripe/resources/reversal.rbi +0 -51
- data/rbi/stripe/resources/review.rbi +0 -154
- data/rbi/stripe/resources/setup_attempt.rbi +0 -477
- data/rbi/stripe/resources/setup_intent.rbi +0 -3974
- data/rbi/stripe/resources/shipping_rate.rbi +0 -305
- data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -75
- data/rbi/stripe/resources/source.rbi +0 -1496
- data/rbi/stripe/resources/source_mandate_notification.rbi +0 -77
- data/rbi/stripe/resources/source_transaction.rbi +0 -127
- data/rbi/stripe/resources/subscription.rbi +0 -2154
- data/rbi/stripe/resources/subscription_item.rbi +0 -404
- data/rbi/stripe/resources/subscription_schedule.rbi +0 -1795
- data/rbi/stripe/resources/tax/calculation.rbi +0 -478
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -91
- data/rbi/stripe/resources/tax/registration.rbi +0 -3216
- data/rbi/stripe/resources/tax/settings.rbi +0 -141
- data/rbi/stripe/resources/tax/transaction.rbi +0 -351
- data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -54
- data/rbi/stripe/resources/tax_code.rbi +0 -44
- data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -23
- data/rbi/stripe/resources/tax_id.rbi +0 -165
- data/rbi/stripe/resources/tax_rate.rbi +0 -239
- data/rbi/stripe/resources/terminal/configuration.rbi +0 -1647
- data/rbi/stripe/resources/terminal/connection_token.rbi +0 -37
- data/rbi/stripe/resources/terminal/location.rbi +0 -222
- data/rbi/stripe/resources/terminal/reader.rbi +0 -1016
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -132
- data/rbi/stripe/resources/token.rbi +0 -1281
- data/rbi/stripe/resources/topup.rbi +0 -222
- data/rbi/stripe/resources/transfer.rbi +0 -199
- data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -119
- data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -131
- data/rbi/stripe/resources/treasury/financial_account.rbi +0 -869
- data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -260
- data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -295
- data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -592
- data/rbi/stripe/resources/treasury/outbound_transfer.rbi +0 -431
- data/rbi/stripe/resources/treasury/received_credit.rbi +0 -302
- data/rbi/stripe/resources/treasury/received_debit.rbi +0 -256
- data/rbi/stripe/resources/treasury/transaction.rbi +0 -215
- data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -192
- data/rbi/stripe/resources/v2/amount.rbi +0 -14
- data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -37
- data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -41
- data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -31
- data/rbi/stripe/resources/v2/event.rbi +0 -48
- data/rbi/stripe/resources/v2/event_destination.rbi +0 -91
- data/rbi/stripe/resources/webhook_endpoint.rbi +0 -168
- data/rbi/stripe/services/account_capability_service.rbi +0 -51
- data/rbi/stripe/services/account_link_service.rbi +0 -60
- data/rbi/stripe/services/account_login_link_service.rbi +0 -22
- data/rbi/stripe/services/account_person_service.rbi +0 -1007
- data/rbi/stripe/services/account_service.rbi +0 -4281
- data/rbi/stripe/services/account_session_service.rbi +0 -748
- data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -76
- data/rbi/stripe/services/application_fee_refund_service.rbi +0 -93
- data/rbi/stripe/services/application_fee_service.rbi +0 -78
- data/rbi/stripe/services/apps/secret_service.rbi +0 -151
- data/rbi/stripe/services/apps_service.rbi +0 -9
- data/rbi/stripe/services/balance_service.rbi +0 -21
- data/rbi/stripe/services/balance_transaction_service.rbi +0 -93
- data/rbi/stripe/services/billing/alert_service.rbi +0 -152
- data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -68
- data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -59
- data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -211
- data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -42
- data/rbi/stripe/services/billing/meter_event_service.rbi +0 -42
- data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -54
- data/rbi/stripe/services/billing/meter_service.rbi +0 -163
- data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -561
- data/rbi/stripe/services/billing_portal/session_service.rbi +0 -204
- data/rbi/stripe/services/billing_portal_service.rbi +0 -10
- data/rbi/stripe/services/billing_service.rbi +0 -15
- data/rbi/stripe/services/charge_service.rbi +0 -448
- data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -33
- data/rbi/stripe/services/checkout/session_service.rbi +0 -2697
- data/rbi/stripe/services/checkout_service.rbi +0 -9
- data/rbi/stripe/services/climate/order_service.rbi +0 -142
- data/rbi/stripe/services/climate/product_service.rbi +0 -46
- data/rbi/stripe/services/climate_service.rbi +0 -11
- data/rbi/stripe/services/confirmation_token_service.rbi +0 -20
- data/rbi/stripe/services/country_spec_service.rbi +0 -44
- data/rbi/stripe/services/coupon_service.rbi +0 -194
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -167
- data/rbi/stripe/services/credit_note_service.rbi +0 -415
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -92
- data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -45
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -44
- data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -59
- data/rbi/stripe/services/customer_payment_method_service.rbi +0 -57
- data/rbi/stripe/services/customer_payment_source_service.rbi +0 -232
- data/rbi/stripe/services/customer_service.rbi +0 -635
- data/rbi/stripe/services/customer_session_service.rbi +0 -116
- data/rbi/stripe/services/customer_tax_id_service.rbi +0 -70
- data/rbi/stripe/services/dispute_service.rbi +0 -424
- data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -55
- data/rbi/stripe/services/entitlements/feature_service.rbi +0 -107
- data/rbi/stripe/services/entitlements_service.rbi +0 -10
- data/rbi/stripe/services/ephemeral_key_service.rbi +0 -53
- data/rbi/stripe/services/event_service.rbi +0 -83
- data/rbi/stripe/services/exchange_rate_service.rbi +0 -44
- data/rbi/stripe/services/file_link_service.rbi +0 -124
- data/rbi/stripe/services/file_service.rbi +0 -116
- data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -42
- data/rbi/stripe/services/financial_connections/account_service.rbi +0 -133
- data/rbi/stripe/services/financial_connections/session_service.rbi +0 -88
- data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -92
- data/rbi/stripe/services/financial_connections_service.rbi +0 -11
- data/rbi/stripe/services/forwarding/request_service.rbi +0 -134
- data/rbi/stripe/services/forwarding_service.rbi +0 -9
- data/rbi/stripe/services/identity/verification_report_service.rbi +0 -87
- data/rbi/stripe/services/identity/verification_session_service.rbi +0 -339
- data/rbi/stripe/services/identity_service.rbi +0 -10
- data/rbi/stripe/services/invoice_item_service.rbi +0 -366
- data/rbi/stripe/services/invoice_line_item_service.rbi +0 -259
- data/rbi/stripe/services/invoice_payment_service.rbi +0 -71
- data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -82
- data/rbi/stripe/services/invoice_service.rbi +0 -3073
- data/rbi/stripe/services/issuing/authorization_service.rbi +0 -146
- data/rbi/stripe/services/issuing/card_service.rbi +0 -503
- data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -587
- data/rbi/stripe/services/issuing/dispute_service.rbi +0 -707
- data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -243
- data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -59
- data/rbi/stripe/services/issuing/token_service.rbi +0 -99
- data/rbi/stripe/services/issuing/transaction_service.rbi +0 -105
- data/rbi/stripe/services/issuing_service.rbi +0 -16
- data/rbi/stripe/services/mandate_service.rbi +0 -20
- data/rbi/stripe/services/payment_intent_service.rbi +0 -8010
- data/rbi/stripe/services/payment_link_service.rbi +0 -1441
- data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -2487
- data/rbi/stripe/services/payment_method_domain_service.rbi +0 -112
- data/rbi/stripe/services/payment_method_service.rbi +0 -781
- data/rbi/stripe/services/payout_service.rbi +0 -209
- data/rbi/stripe/services/plan_service.rbi +0 -282
- data/rbi/stripe/services/price_service.rbi +0 -546
- data/rbi/stripe/services/product_feature_service.rbi +0 -67
- data/rbi/stripe/services/product_service.rbi +0 -477
- data/rbi/stripe/services/promotion_code_service.rbi +0 -214
- data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -31
- data/rbi/stripe/services/quote_service.rbi +0 -695
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -85
- data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -109
- data/rbi/stripe/services/radar/value_list_service.rbi +0 -141
- data/rbi/stripe/services/radar_service.rbi +0 -11
- data/rbi/stripe/services/refund_service.rbi +0 -185
- data/rbi/stripe/services/reporting/report_run_service.rbi +0 -135
- data/rbi/stripe/services/reporting/report_type_service.rbi +0 -35
- data/rbi/stripe/services/reporting_service.rbi +0 -10
- data/rbi/stripe/services/review_service.rbi +0 -84
- data/rbi/stripe/services/setup_attempt_service.rbi +0 -65
- data/rbi/stripe/services/setup_intent_service.rbi +0 -3709
- data/rbi/stripe/services/shipping_rate_service.rbi +0 -241
- data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -46
- data/rbi/stripe/services/sigma_service.rbi +0 -9
- data/rbi/stripe/services/source_service.rbi +0 -663
- data/rbi/stripe/services/subscription_item_service.rbi +0 -350
- data/rbi/stripe/services/subscription_schedule_service.rbi +0 -1425
- data/rbi/stripe/services/subscription_service.rbi +0 -1768
- data/rbi/stripe/services/tax/calculation_service.rbi +0 -234
- data/rbi/stripe/services/tax/registration_service.rbi +0 -2278
- data/rbi/stripe/services/tax/settings_service.rbi +0 -93
- data/rbi/stripe/services/tax/transaction_service.rbi +0 -146
- data/rbi/stripe/services/tax_code_service.rbi +0 -44
- data/rbi/stripe/services/tax_id_service.rbi +0 -110
- data/rbi/stripe/services/tax_rate_service.rbi +0 -185
- data/rbi/stripe/services/tax_service.rbi +0 -12
- data/rbi/stripe/services/terminal/configuration_service.rbi +0 -1328
- data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -25
- data/rbi/stripe/services/terminal/location_service.rbi +0 -182
- data/rbi/stripe/services/terminal/reader_service.rbi +0 -540
- data/rbi/stripe/services/terminal_service.rbi +0 -12
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -746
- data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -33
- data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -848
- data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -76
- data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -69
- data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -711
- data/rbi/stripe/services/test_helpers/issuing_service.rbi +0 -14
- data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -22
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -117
- data/rbi/stripe/services/test_helpers/terminal_service.rbi +0 -11
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -90
- data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -64
- data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -125
- data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -125
- data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -87
- data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -87
- data/rbi/stripe/services/test_helpers/treasury_service.rbi +0 -15
- data/rbi/stripe/services/test_helpers_service.rbi +0 -15
- data/rbi/stripe/services/token_service.rbi +0 -1255
- data/rbi/stripe/services/topup_service.rbi +0 -176
- data/rbi/stripe/services/transfer_reversal_service.rbi +0 -101
- data/rbi/stripe/services/transfer_service.rbi +0 -152
- data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -84
- data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -88
- data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -198
- data/rbi/stripe/services/treasury/financial_account_service.rbi +0 -566
- data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -117
- data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -304
- data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +0 -157
- data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -72
- data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -59
- data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -111
- data/rbi/stripe/services/treasury/transaction_service.rbi +0 -122
- data/rbi/stripe/services/treasury_service.rbi +0 -18
- data/rbi/stripe/services/v1_services.rbi +0 -77
- data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -39
- data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -42
- data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +0 -18
- data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -55
- data/rbi/stripe/services/v2/billing_service.rbi +0 -14
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -192
- data/rbi/stripe/services/v2/core/event_service.rbi +0 -36
- data/rbi/stripe/services/v2/core_service.rbi +0 -12
- data/rbi/stripe/services/v2_services.rbi +0 -10
- data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -129
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,89 @@
|
|
1
1
|
# Changelog
|
2
|
+
|
3
|
+
## 15.6.0-alpha.2 - 2025-09-02
|
4
|
+
* [#1642](https://github.com/stripe/stripe-ruby/pull/1642) Deserialize inner types in resources for more detailed types
|
5
|
+
* ⚠️ Deserialize inner classes, so inner class types will now reflect generated inner classes
|
6
|
+
* [#1647](https://github.com/stripe/stripe-ruby/pull/1647) Update generated code for private-preview
|
7
|
+
* Explicitly define methods for RBIs to help Tapioca generation and ship combined RBI for Tapioca
|
8
|
+
|
9
|
+
## 15.6.0-alpha.1 - 2025-08-27
|
10
|
+
* [#1640](https://github.com/stripe/stripe-ruby/pull/1640) Use the right API version 2025-08-27.preview
|
11
|
+
* [#1636](https://github.com/stripe/stripe-ruby/pull/1636) Update generated code for private-preview
|
12
|
+
* Add support for `attach_cadence` method on resource `Subscription`
|
13
|
+
* Add support for `currency` and `external_customer_id` on `Billing::AlertTriggered`
|
14
|
+
* Add support for `custom_pricing_unit` on `Billing::AlertTriggered`, `Billing::CreditBalanceSummary::Balance::AvailableBalance`, `Billing::CreditBalanceSummary::Balance::LedgerBalance`, `Billing::CreditBalanceTransaction::Credit::Amount`, `Billing::CreditBalanceTransaction::Debit::Amount`, `Billing::CreditGrant::Amount`, and `Billing::CreditGrant::CreateParams::Amount`
|
15
|
+
* Add support for `customer` on `Billing::Alert::ListParams`
|
16
|
+
* Change type of `Billing::Alert.alert_type`, `Billing::Alert::CreateParams.alert_type`, and `Billing::Alert::ListParams.alert_type` from `literal('usage_threshold')` to `enum('credit_balance_threshold'|'usage_threshold')`
|
17
|
+
* Add support for `credit_balance_threshold` on `Billing::Alert::CreateParams` and `Billing::Alert`
|
18
|
+
* Add support for `billable_items` on `Billing::CreditBalanceSummary::RetrieveParams::Filter::ApplicabilityScope`, `Billing::CreditGrant::ApplicabilityConfig::Scope`, and `Billing::CreditGrant::CreateParams::ApplicabilityConfig::Scope`
|
19
|
+
* Change type of `Billing::CreditBalanceSummary::Balance::AvailableBalance.type`, `Billing::CreditBalanceSummary::Balance::LedgerBalance.type`, `Billing::CreditBalanceTransaction::Credit::Amount.type`, `Billing::CreditBalanceTransaction::Debit::Amount.type`, `Billing::CreditGrant::Amount.type`, and `Billing::CreditGrant::CreateParams::Amount.type` from `literal('monetary')` to `enum('custom_pricing_unit'|'monetary')`
|
20
|
+
* Add support for `license_fee_subscription_details` and `rate_card_subscription_details` on `InvoiceItem::Parent` and `InvoiceLineItem::Parent`
|
21
|
+
* Change type of `InvoiceItem::Parent.type` from `literal('subscription_details')` to `enum('license_fee_subscription_details'|'rate_card_subscription_details'|'subscription_details')`
|
22
|
+
* Add support for `license_fee_details` and `rate_card_rate_details` on `InvoiceItem::Pricing` and `InvoiceLineItem::Pricing`
|
23
|
+
* Change type of `InvoiceItem::Pricing.type` and `InvoiceLineItem::Pricing.type` from `literal('price_details')` to `enum('license_fee_details'|'price_details'|'rate_card_rate_details')`
|
24
|
+
* Add support for `billing_cadence` on `Invoice::CreatePreviewParams`, `Subscription::CreateParams`, and `Subscription`
|
25
|
+
* Add support for `billing_cadence_details` on `Invoice::Parent` and `QuotePreviewInvoice::Parent`
|
26
|
+
* Add support for new resources `V2::Billing::BillSettingVersion`, `V2::Billing::BillSetting`, `V2::Billing::Cadence`, `V2::Billing::CollectionSettingVersion`, `V2::Billing::CollectionSetting`, `V2::Billing::CustomPricingUnit`, `V2::Billing::IntentAction`, `V2::Billing::Intent`, `V2::Billing::LicenseFeeSubscription`, `V2::Billing::LicenseFeeVersion`, `V2::Billing::LicenseFee`, `V2::Billing::LicensedItem`, `V2::Billing::MeteredItem`, `V2::Billing::PricingPlanComponent`, `V2::Billing::PricingPlanSubscription`, `V2::Billing::PricingPlanVersion`, `V2::Billing::PricingPlan`, `V2::Billing::Profile`, `V2::Billing::RateCardRate`, `V2::Billing::RateCardSubscription`, `V2::Billing::RateCardVersion`, `V2::Billing::RateCard`, `V2::Billing::ServiceAction`, `V2::Core::ClaimableSandbox`, `V2::Reporting::ReportRun`, `V2::Reporting::Report`, and `V2::Tax::AutomaticRule`
|
27
|
+
* Add support for `create`, `deactivate`, `find`, `retrieve`, and `update` methods on resource `V2::Tax::AutomaticRule`
|
28
|
+
* Add support for `create` and `retrieve` methods on resources `V2::Billing::ServiceAction` and `V2::Reporting::ReportRun`
|
29
|
+
* Add support for `retrieve` method on resources `V2::Billing::LicenseFeeSubscription` and `V2::Reporting::Report`
|
30
|
+
* Add support for `create` method on resource `V2::Core::ClaimableSandbox`
|
31
|
+
* Add support for `cancel`, `create`, `list`, `retrieve`, and `update` methods on resources `V2::Billing::Cadence` and `V2::Billing::RateCardSubscription`
|
32
|
+
* Add support for `create`, `list`, `retrieve`, and `update` methods on resources `V2::Billing::BillSetting`, `V2::Billing::CollectionSetting`, `V2::Billing::CustomPricingUnit`, `V2::Billing::LicenseFee`, `V2::Billing::LicensedItem`, `V2::Billing::MeteredItem`, `V2::Billing::PricingPlan`, `V2::Billing::Profile`, and `V2::Billing::RateCard`
|
33
|
+
* Add support for `list` and `retrieve` methods on resources `V2::Billing::BillSettingVersion`, `V2::Billing::CollectionSettingVersion`, `V2::Billing::IntentAction`, `V2::Billing::LicenseFeeVersion`, `V2::Billing::PricingPlanSubscription`, `V2::Billing::PricingPlanVersion`, and `V2::Billing::RateCardVersion`
|
34
|
+
* Add support for `create`, `delete`, `list`, and `retrieve` methods on resource `V2::Billing::RateCardRate`
|
35
|
+
* Add support for `create`, `delete`, `list`, `retrieve`, and `update` methods on resource `V2::Billing::PricingPlanComponent`
|
36
|
+
* Add support for `cancel`, `commit`, `create`, `list`, `release_reservation`, `reserve`, and `retrieve` methods on resource `V2::Billing::Intent`
|
37
|
+
* Add support for `changes` on `V2::Event`
|
38
|
+
* Add support for thin events `V2BillingCadenceBilledEvent`, `V2BillingCadenceCanceledEvent`, `V2BillingCadenceCreatedEvent`, and `V2BillingCadenceErroredEvent` with related object `V2::Billing::Cadence`
|
39
|
+
* Add support for thin events `V2BillingLicenseFeeCreatedEvent` and `V2BillingLicenseFeeUpdatedEvent` with related object `V2::Billing::LicenseFee`
|
40
|
+
* Add support for thin event `V2BillingLicenseFeeVersionCreatedEvent` with related object `V2::Billing::LicenseFeeVersion`
|
41
|
+
* Add support for thin events `V2BillingLicensedItemCreatedEvent` and `V2BillingLicensedItemUpdatedEvent` with related object `V2::Billing::LicensedItem`
|
42
|
+
* Add support for thin events `V2BillingMeteredItemCreatedEvent` and `V2BillingMeteredItemUpdatedEvent` with related object `V2::Billing::MeteredItem`
|
43
|
+
* Add support for thin events `V2BillingPricingPlanCreatedEvent` and `V2BillingPricingPlanUpdatedEvent` with related object `V2::Billing::PricingPlan`
|
44
|
+
* Add support for thin events `V2BillingPricingPlanComponentCreatedEvent` and `V2BillingPricingPlanComponentUpdatedEvent` with related object `V2::Billing::PricingPlanComponent`
|
45
|
+
* Add support for thin events `V2BillingPricingPlanSubscriptionCollectionAwaitingCustomerActionEvent`, `V2BillingPricingPlanSubscriptionCollectionCurrentEvent`, `V2BillingPricingPlanSubscriptionCollectionPastDueEvent`, `V2BillingPricingPlanSubscriptionCollectionPausedEvent`, `V2BillingPricingPlanSubscriptionCollectionUnpaidEvent`, `V2BillingPricingPlanSubscriptionServicingActivatedEvent`, `V2BillingPricingPlanSubscriptionServicingCanceledEvent`, and `V2BillingPricingPlanSubscriptionServicingPausedEvent` with related object `V2::Billing::PricingPlanSubscription`
|
46
|
+
* Add support for thin event `V2BillingPricingPlanVersionCreatedEvent` with related object `V2::Billing::PricingPlanVersion`
|
47
|
+
* Add support for thin events `V2BillingRateCardCreatedEvent` and `V2BillingRateCardUpdatedEvent` with related object `V2::Billing::RateCard`
|
48
|
+
* Add support for thin event `V2BillingRateCardRateCreatedEvent` with related object `V2::Billing::RateCardRate`
|
49
|
+
* Add support for thin events `V2BillingRateCardSubscriptionActivatedEvent`, `V2BillingRateCardSubscriptionCanceledEvent`, `V2BillingRateCardSubscriptionCollectionAwaitingCustomerActionEvent`, `V2BillingRateCardSubscriptionCollectionCurrentEvent`, `V2BillingRateCardSubscriptionCollectionPastDueEvent`, `V2BillingRateCardSubscriptionCollectionPausedEvent`, `V2BillingRateCardSubscriptionCollectionUnpaidEvent`, `V2BillingRateCardSubscriptionServicingActivatedEvent`, `V2BillingRateCardSubscriptionServicingCanceledEvent`, and `V2BillingRateCardSubscriptionServicingPausedEvent` with related object `V2::Billing::RateCardSubscription`
|
50
|
+
* Add support for thin event `V2BillingRateCardVersionCreatedEvent` with related object `V2::Billing::RateCardVersion`
|
51
|
+
* Add support for thin events `V2CoreHealthApiErrorFiringEvent`, `V2CoreHealthApiErrorResolvedEvent`, `V2CoreHealthApiLatencyFiringEvent`, `V2CoreHealthApiLatencyResolvedEvent`, `V2CoreHealthAuthorizationRateDropFiringEvent`, `V2CoreHealthAuthorizationRateDropResolvedEvent`, `V2CoreHealthEventGenerationFailureResolvedEvent`, `V2CoreHealthFraudRateIncreasedEvent`, `V2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent`, `V2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent`, `V2CoreHealthPaymentMethodErrorFiringEvent`, `V2CoreHealthPaymentMethodErrorResolvedEvent`, `V2CoreHealthTrafficVolumeDropFiringEvent`, `V2CoreHealthTrafficVolumeDropResolvedEvent`, `V2CoreHealthWebhookLatencyFiringEvent`, and `V2CoreHealthWebhookLatencyResolvedEvent`
|
52
|
+
* Add support for thin events `V2ReportingReportRunCreatedEvent`, `V2ReportingReportRunFailedEvent`, `V2ReportingReportRunSucceededEvent`, and `V2ReportingReportRunUpdatedEvent` with related object `V2::Reporting::ReportRun`
|
53
|
+
* Add support for error type `RateLimitError`
|
54
|
+
|
55
|
+
## 15.6.0-beta.1 - 2025-08-27
|
56
|
+
This release changes the pinned API version to `2025-08-27.preview`.
|
57
|
+
|
58
|
+
* [#1629](https://github.com/stripe/stripe-ruby/pull/1629) Update generated code for beta
|
59
|
+
* Add support for `list` and `retrieve` methods on resource `InvoicePayment`
|
60
|
+
* Add support for `list` method on resource `Mandate`
|
61
|
+
* Add support for `applied` on `V2::Core::Account::Configuration::Customer`, `V2::Core::Account::Configuration::Merchant`, `V2::Core::Account::Configuration::Recipient`, `V2::Core::Account::Configuration::Storer`, `V2::Core::Account::UpdateParams::Configuration::Customer`, `V2::Core::Account::UpdateParams::Configuration::Merchant`, `V2::Core::Account::UpdateParams::Configuration::Recipient`, and `V2::Core::Account::UpdateParams::Configuration::Storer`
|
62
|
+
* Change type of `Billing::AlertTriggered.value` from `longInteger` to `decimal_string`
|
63
|
+
* Add support for `display_name` on `V2::MoneyManagement::FinancialAccount::CreateParams` and `V2::MoneyManagement::FinancialAccount`
|
64
|
+
* Add support for `currency_conversion` on `V2::MoneyManagement::Transaction::Flow` and `V2::MoneyManagement::TransactionEntry::TransactionDetail::Flow`
|
65
|
+
* Add support for `payments` on `BalanceSettings::UpdateParams` and `BalanceSettings`
|
66
|
+
* Remove support for `debit_negative_balances`, `payouts`, and `settlement_timing` on `BalanceSettings::UpdateParams` and `BalanceSettings`
|
67
|
+
* Add support for `mandate` on `Charge::PaymentMethodDetail::Pix`, `PaymentAttemptRecord::PaymentMethodDetail::Pix`, and `PaymentRecord::PaymentMethodDetail::Pix`
|
68
|
+
* Add support for `coupon_data` on `Checkout::Session::CreateParams::Discount`
|
69
|
+
* Add support for `mandate_options` on `Checkout::Session::CreateParams::PaymentMethodOption::Pix`, `Checkout::Session::PaymentMethodOption::Pix`, `PaymentIntent::ConfirmParams::PaymentMethodOption::Pix`, `PaymentIntent::CreateParams::PaymentMethodOption::Pix`, `PaymentIntent::PaymentMethodOption::Pix`, and `PaymentIntent::UpdateParams::PaymentMethodOption::Pix`
|
70
|
+
* Change type of `Checkout::Session::CreateParams::PaymentMethodOption::Pix.setup_future_usage`, `Checkout::Session::PaymentMethodOption::Pix.setup_future_usage`, `PaymentIntent::ConfirmParams::PaymentMethodOption::Pix.setup_future_usage`, `PaymentIntent::CreateParams::PaymentMethodOption::Pix.setup_future_usage`, `PaymentIntent::PaymentMethodOption::Pix.setup_future_usage`, and `PaymentIntent::UpdateParams::PaymentMethodOption::Pix.setup_future_usage` from `literal('none')` to `enum('none'|'off_session')`
|
71
|
+
* Add support for `amount` on `Mandate::MultiUse`, `PaymentAttemptRecord`, and `PaymentRecord`
|
72
|
+
* Add support for `currency` on `Mandate::MultiUse`
|
73
|
+
* Add support for `pix` on `Mandate::PaymentMethodDetail`, `SetupAttempt::PaymentMethodDetail`, `SetupIntent::ConfirmParams::PaymentMethodOption`, `SetupIntent::CreateParams::PaymentMethodOption`, `SetupIntent::PaymentMethodOption`, and `SetupIntent::UpdateParams::PaymentMethodOption`
|
74
|
+
* Add support for `limit` on `PaymentAttemptRecord::ListParams`
|
75
|
+
* Add support for `amount_authorized`, `amount_refunded`, and `application` on `PaymentAttemptRecord` and `PaymentRecord`
|
76
|
+
* Add support for `processor_details` on `PaymentAttemptRecord`, `PaymentRecord::ReportPaymentParams`, and `PaymentRecord`
|
77
|
+
* Remove support for `payment_reference` on `PaymentAttemptRecord`, `PaymentRecord::ReportPaymentParams`, and `PaymentRecord`
|
78
|
+
* Add support for `installments` on `PaymentAttemptRecord::PaymentMethodDetail::Alma` and `PaymentRecord::PaymentMethodDetail::Alma`
|
79
|
+
* Add support for `transaction_id` on `PaymentAttemptRecord::PaymentMethodDetail::Alma`, `PaymentAttemptRecord::PaymentMethodDetail::AmazonPay`, `PaymentAttemptRecord::PaymentMethodDetail::Billie`, `PaymentAttemptRecord::PaymentMethodDetail::KakaoPay`, `PaymentAttemptRecord::PaymentMethodDetail::KrCard`, `PaymentAttemptRecord::PaymentMethodDetail::NaverPay`, `PaymentAttemptRecord::PaymentMethodDetail::Payco`, `PaymentAttemptRecord::PaymentMethodDetail::RevolutPay`, `PaymentAttemptRecord::PaymentMethodDetail::SamsungPay`, `PaymentAttemptRecord::PaymentMethodDetail::Satispay`, `PaymentRecord::PaymentMethodDetail::Alma`, `PaymentRecord::PaymentMethodDetail::AmazonPay`, `PaymentRecord::PaymentMethodDetail::Billie`, `PaymentRecord::PaymentMethodDetail::KakaoPay`, `PaymentRecord::PaymentMethodDetail::KrCard`, `PaymentRecord::PaymentMethodDetail::NaverPay`, `PaymentRecord::PaymentMethodDetail::Payco`, `PaymentRecord::PaymentMethodDetail::RevolutPay`, `PaymentRecord::PaymentMethodDetail::SamsungPay`, and `PaymentRecord::PaymentMethodDetail::Satispay`
|
80
|
+
* Add support for `location` and `reader` on `PaymentAttemptRecord::PaymentMethodDetail::Paynow` and `PaymentRecord::PaymentMethodDetail::Paynow`
|
81
|
+
* Add support for `latest_active_mandate` on `PaymentMethod`
|
82
|
+
* Change `Payout.payout_method` to be required
|
83
|
+
* Add support for `metadata` and `period` on `QuotePreviewSubscriptionSchedule::Phase::AddInvoiceItem`
|
84
|
+
* Add support for `pix_display_qr_code` on `SetupIntent::NextAction`
|
85
|
+
* Add support for `reader_security` on `Terminal::Configuration::CreateParams`, `Terminal::Configuration::UpdateParams`, and `Terminal::Configuration`
|
86
|
+
|
2
87
|
## 15.5.0 - 2025-08-27
|
3
88
|
* [#1638](https://github.com/stripe/stripe-ruby/pull/1638) Add section on private preview SDKs in readme
|
4
89
|
* [#1631](https://github.com/stripe/stripe-ruby/pull/1631) Update generated code. This release changes the pinned API version to `2025-08-27.basil`.
|
@@ -17,6 +102,38 @@
|
|
17
102
|
* [#1637](https://github.com/stripe/stripe-ruby/pull/1637) Add `stripe_client` usage tracking for StripeClient
|
18
103
|
* [#1633](https://github.com/stripe/stripe-ruby/pull/1633) Remove double `T.nilable` before every emptyable field in update methods
|
19
104
|
|
105
|
+
## 15.5.0-beta.2 - 2025-08-08
|
106
|
+
* [#1632](https://github.com/stripe/stripe-ruby/pull/1632) Bring back invoice payments APIs that were missing in the public preview SDKs
|
107
|
+
* Add support for new resource `InvoicePayment`
|
108
|
+
* Add support for `list` and `retrieve` methods on resource `InvoicePayment`
|
109
|
+
|
110
|
+
## 15.5.0-beta.1 - 2025-07-30
|
111
|
+
This release changes the pinned API version to `2025-07-30.preview`.
|
112
|
+
|
113
|
+
* [#1624](https://github.com/stripe/stripe-ruby/pull/1624) Update generated code for beta
|
114
|
+
* Add support for new resources `Billing::MeterUsageRow`, `Billing::MeterUsage`, and `Terminal::OnboardingLink`
|
115
|
+
* Add support for `retrieve` method on resource `Billing::MeterUsage`
|
116
|
+
* Add support for `create` method on resource `Terminal::OnboardingLink`
|
117
|
+
* Add support for `monthly_payout_days` and `weekly_payout_days` on `BalanceSettings::Payout::Schedule` and `BalanceSettings::UpdateParams::Payout::Schedule`
|
118
|
+
* Remove support for `monthly_anchor` and `weekly_anchor` on `BalanceSettings::Payout::Schedule` and `BalanceSettings::UpdateParams::Payout::Schedule`
|
119
|
+
* Add support for `delay_days_override` on `BalanceSettings::UpdateParams::SettlementTiming`
|
120
|
+
* Remove support for `delay_days` on `BalanceSettings::UpdateParams::SettlementTiming`
|
121
|
+
* Add support for `update_discounts` on `Checkout::Session::CreateParams::Permission`
|
122
|
+
* Add support for `discounts` and `subscription_data` on `Checkout::Session::UpdateParams`
|
123
|
+
* Add support for `smart_disputes` on `Dispute`
|
124
|
+
* Add support for `upi` on `Invoice::CreateParams::PaymentSetting::PaymentMethodOption`, `Invoice::PaymentSetting::PaymentMethodOption`, `Invoice::UpdateParams::PaymentSetting::PaymentMethodOption`, `QuotePreviewInvoice::PaymentSetting::PaymentMethodOption`, `Subscription::CreateParams::PaymentSetting::PaymentMethodOption`, `Subscription::PaymentSetting::PaymentMethodOption`, and `Subscription::UpdateParams::PaymentSetting::PaymentMethodOption`
|
125
|
+
* Add support for `transaction_id` on `PaymentAttemptRecord::PaymentMethodDetail::Cashapp` and `PaymentRecord::PaymentMethodDetail::Cashapp`
|
126
|
+
* Add support for `amount_details` on `PaymentIntent::CaptureParams`, `PaymentIntent::ConfirmParams`, `PaymentIntent::CreateParams`, `PaymentIntent::IncrementAuthorizationParams`, and `PaymentIntent::UpdateParams`
|
127
|
+
* Add support for `payment_details` on `PaymentIntent::IncrementAuthorizationParams`
|
128
|
+
* Add support for `storer` on `V2::Core::Account::CreateParams::Identity::Attestation::TermsOfService`, `V2::Core::Account::Identity::Attestation::TermsOfService`, and `V2::Core::Account::UpdateParams::Identity::Attestation::TermsOfService`
|
129
|
+
* Add support for `collection_options` on `V2::Core::AccountLink::CreateParams::UseCase::AccountOnboarding`, `V2::Core::AccountLink::CreateParams::UseCase::AccountUpdate`, `V2::Core::AccountLink::UseCase::AccountOnboarding`, and `V2::Core::AccountLink::UseCase::AccountUpdate`
|
130
|
+
* Change type of `V2::Core::AccountLink::CreateParams::UseCase::AccountOnboarding.configurations`, `V2::Core::AccountLink::CreateParams::UseCase::AccountUpdate.configurations`, `V2::Core::AccountLink::UseCase::AccountOnboarding.configurations`, and `V2::Core::AccountLink::UseCase::AccountUpdate.configurations` from `literal('recipient')` to `enum('customer'|'merchant'|'recipient'|'storer')`
|
131
|
+
* Add support for `bank_account_type` on `V2::MoneyManagement::PayoutMethod::BankAccount`
|
132
|
+
* Add support for thin event `V2CoreAccountLinkReturnedEvent`
|
133
|
+
* Add support for thin event `V2MoneyManagementPayoutMethodUpdatedEvent` with related object `V2::MoneyManagement::PayoutMethod`
|
134
|
+
* Remove support for thin event `V2CoreAccountLinkCompletedEvent`
|
135
|
+
* Remove support for thin event `V2OffSessionPaymentRequiresCaptureEvent` with related object `V2::Payments::OffSessionPayment`
|
136
|
+
|
20
137
|
## 15.4.0 - 2025-07-30
|
21
138
|
This release changes the pinned API version to `2025-07-30.basil`.
|
22
139
|
|
@@ -36,6 +153,39 @@ This release changes the pinned API version to `2025-07-30.basil`.
|
|
36
153
|
* Add support for `standard` on `Tax::Registration::CountryOption::Ae`, `Tax::Registration::CountryOption::Au`, `Tax::Registration::CountryOption::Ch`, `Tax::Registration::CountryOption::Gb`, `Tax::Registration::CountryOption::Jp`, `Tax::Registration::CountryOption::No`, `Tax::Registration::CountryOption::Nz`, `Tax::Registration::CountryOption::Sg`, `Tax::Registration::CreateParams::CountryOption::Ae`, `Tax::Registration::CreateParams::CountryOption::Al`, `Tax::Registration::CreateParams::CountryOption::Ao`, `Tax::Registration::CreateParams::CountryOption::Au`, `Tax::Registration::CreateParams::CountryOption::Aw`, `Tax::Registration::CreateParams::CountryOption::B`, `Tax::Registration::CreateParams::CountryOption::Ba`, `Tax::Registration::CreateParams::CountryOption::Bb`, `Tax::Registration::CreateParams::CountryOption::Bd`, `Tax::Registration::CreateParams::CountryOption::Bf`, `Tax::Registration::CreateParams::CountryOption::Bh`, `Tax::Registration::CreateParams::CountryOption::Cd`, `Tax::Registration::CreateParams::CountryOption::Ch`, `Tax::Registration::CreateParams::CountryOption::Et`, `Tax::Registration::CreateParams::CountryOption::Gb`, `Tax::Registration::CreateParams::CountryOption::Gn`, `Tax::Registration::CreateParams::CountryOption::Is`, `Tax::Registration::CreateParams::CountryOption::Jp`, `Tax::Registration::CreateParams::CountryOption::Me`, `Tax::Registration::CreateParams::CountryOption::Mk`, `Tax::Registration::CreateParams::CountryOption::Mr`, `Tax::Registration::CreateParams::CountryOption::No`, `Tax::Registration::CreateParams::CountryOption::Nz`, `Tax::Registration::CreateParams::CountryOption::Om`, `Tax::Registration::CreateParams::CountryOption::R`, `Tax::Registration::CreateParams::CountryOption::Sg`, `Tax::Registration::CreateParams::CountryOption::Sr`, `Tax::Registration::CreateParams::CountryOption::Uy`, `Tax::Registration::CreateParams::CountryOption::Za`, and `Tax::Registration::CreateParams::CountryOption::Zw`
|
37
154
|
* Add support for `aed`, `bgn`, `huf`, and `ron` on `Terminal::Configuration::CreateParams::Tipping`, `Terminal::Configuration::Tipping`, and `Terminal::Configuration::UpdateParams::Tipping`
|
38
155
|
|
156
|
+
## 15.4.0-beta.2 - 2025-07-09
|
157
|
+
* [#1625](https://github.com/stripe/stripe-ruby/pull/1625) Pull in V2 FinancialAccount changes for June release
|
158
|
+
* Add support for `close` and `create` methods on resource `V2::MoneyManagement::FinancialAccount`
|
159
|
+
* Add support for `storer` on `V2::Core::Account::Configuration`, `V2::Core::Account::CreateParams::Configuration`, and `V2::Core::Account::UpdateParams::Configuration`
|
160
|
+
* Add support for `status_details` on `V2::MoneyManagement::FinancialAccount`
|
161
|
+
* Add support for `status` on `V2::MoneyManagement::FinancialAccount::ListParams`
|
162
|
+
* Add support for thin events `V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent` and `V2CoreAccountIncludingConfigurationStorerUpdatedEvent` with related object `V2::Core::Account`
|
163
|
+
* Add support for error types `AlreadyExistsError` and `NonZeroBalanceError`
|
164
|
+
|
165
|
+
## 15.4.0-beta.1 - 2025-07-01
|
166
|
+
This release changes the pinned API version to `2025-06-30.preview`.
|
167
|
+
|
168
|
+
* [#1607](https://github.com/stripe/stripe-ruby/pull/1607) Update generated code for beta
|
169
|
+
* Change type of `Checkout::Session::CreateParams::SubscriptionDatum.billing_mode`, `Invoice::CreatePreviewParams::ScheduleDetail.billing_mode`, `Invoice::CreatePreviewParams::SubscriptionDetail.billing_mode`, `Quote::CreateParams::SubscriptionDatum.billing_mode`, `Quote::SubscriptionDatum.billing_mode`, `Subscription::CreateParams.billing_mode`, and `SubscriptionSchedule::CreateParams.billing_mode` from `enum('classic'|'flexible')` to `billing_mode`
|
170
|
+
* Add support for `submission_method` on `Dispute::EvidenceDetail`
|
171
|
+
* Add support for `on_demand` and `subscriptions` on `Order::CreateParams::Payment::Setting::PaymentMethodOption::Klarna` and `Order::UpdateParams::Payment::Setting::PaymentMethodOption::Klarna`
|
172
|
+
* Change type of `Order::CreateParams::Payment::Setting::PaymentMethodOption::Klarna.setup_future_usage`, `Order::Payment::Setting::PaymentMethodOption::Klarna.setup_future_usage`, and `Order::UpdateParams::Payment::Setting::PaymentMethodOption::Klarna.setup_future_usage` from `literal('none')` to `enum('none'|'off_session'|'on_session')`
|
173
|
+
* Add support for `crypto` on `PaymentAttemptRecord::PaymentMethodDetail` and `PaymentRecord::PaymentMethodDetail`
|
174
|
+
* Change type of `PaymentIntent::ConfirmParams::PaymentMethodOption::Gopay.setup_future_usage`, `PaymentIntent::CreateParams::PaymentMethodOption::Gopay.setup_future_usage`, `PaymentIntent::PaymentMethodOption::Gopay.setup_future_usage`, and `PaymentIntent::UpdateParams::PaymentMethodOption::Gopay.setup_future_usage` from `literal('none')` to `enum('none'|'off_session')`
|
175
|
+
* Change `Quote::SubscriptionDatum.billing_mode`, `QuotePreviewSubscriptionSchedule.billing_mode`, `Subscription.billing_mode`, and `SubscriptionSchedule.billing_mode` to be required
|
176
|
+
* Change type of `QuotePreviewSubscriptionSchedule.billing_mode`, `Subscription.billing_mode`, and `SubscriptionSchedule.billing_mode` from `enum('classic'|'flexible')` to `SubscriptionsResourceBillingMode`
|
177
|
+
* Change type of `Subscription::MigrateParams.billing_mode` from `literal('flexible')` to `billing_mode_migrate`
|
178
|
+
* Remove support for `billing_mode_details` on `Subscription`
|
179
|
+
* Add support for `proof_of_address` on `V2::Core::Account::CreateParams::Identity::BusinessDetail::Document`, `V2::Core::Account::Identity::BusinessDetail::Document`, and `V2::Core::Account::UpdateParams::Identity::BusinessDetail::Document`
|
180
|
+
* Add support for `metadata` on `V2::MoneyManagement::FinancialAccount`
|
181
|
+
* Remove support for `description` on `V2::MoneyManagement::FinancialAccount`
|
182
|
+
* Remove support for `attempts` on `V2::Payments::OffSessionPayment`
|
183
|
+
* Change type of `V2::Payments::OffSessionPayment::TransferDatum.amount` from `integer` to `nullable(integer)`
|
184
|
+
* Add support for `from_account`, `outbound_payment`, and `outbound_transfer` on `V2::MoneyManagement::ReceivedCredit::BalanceTransfer`
|
185
|
+
* Change type of `V2::MoneyManagement::ReceivedCredit::BalanceTransfer.type` from `literal('payout_v1')` to `enum('outbound_payment'|'outbound_transfer'|'payout_v1')`
|
186
|
+
* Change type of `V2::MoneyManagement::ReceivedCredit::BalanceTransfer.payout_v1` from `string` to `nullable(string)`
|
187
|
+
* Change `V2::Payments::OffSessionPayment::CreateParams::TransferDatum.amount` to be optional
|
188
|
+
|
39
189
|
## 15.3.0 - 2025-07-01
|
40
190
|
This release changes the pinned API version to `2025-06-30.basil`.
|
41
191
|
|
@@ -64,6 +214,48 @@ This release changes the pinned API version to `2025-06-30.basil`.
|
|
64
214
|
* [#1619](https://github.com/stripe/stripe-ruby/pull/1619) Updated StripeClient snippets in README
|
65
215
|
* [#1620](https://github.com/stripe/stripe-ruby/pull/1620) Fix `raw_request` example in README
|
66
216
|
|
217
|
+
## 15.3.0-beta.2 - 2025-06-26
|
218
|
+
* [#1623](https://github.com/stripe/stripe-ruby/pull/1623) Pull in OffSessionPayment changes for the May release
|
219
|
+
|
220
|
+
## 15.3.0-beta.1 - 2025-05-29
|
221
|
+
This release changes the pinned API version to `2025-05-28.preview`.
|
222
|
+
|
223
|
+
* [#1599](https://github.com/stripe/stripe-ruby/pull/1599) Update generated code for beta
|
224
|
+
### Breaking changes
|
225
|
+
* Remove support for deprecated previews
|
226
|
+
* Remove support for resources `Billing::MeterErrorReport`, `GiftCards::Card`, `GiftCards::Transaction`, and `Privacy::RedactionJobRootObjects`
|
227
|
+
* Remove support for `create`, `list`, `retrieve`, `update`, and `validate` methods on resource `GiftCards::Card`
|
228
|
+
* Remove support for `cancel`, `confirm`, `create`, `list`, `retrieve`, and `update` methods on resource `GiftCards::Transaction`
|
229
|
+
* Remove support for `provisioning` on `Product::CreateParams` and `Product`
|
230
|
+
* Change type of `Checkout::Session::UpdateParams::LineItem.quantity` from `emptyable(longInteger)` to `longInteger`
|
231
|
+
* Change `CreditNote.post_payment_amount` to be required
|
232
|
+
* Change `CreditNote.pre_payment_amount` to be required
|
233
|
+
* Remove support for `credits` on `Order::CreateParams`, `Order::UpdateParams`, and `Order`
|
234
|
+
* Remove support for `amount_remaining` on `Order`
|
235
|
+
* Remove support for `amount_credit` on `Order::TotalDetail`
|
236
|
+
* Change type of `Invoice::CreatePreviewParams::SubscriptionDetail.cancel_at`, `Subscription::CreateParams.cancel_at`, and `Subscription::UpdateParams.cancel_at` from `DateTime` to `DateTime | enum('max_period_end'|'min_period_end')`
|
237
|
+
* Change type of `PaymentAttemptRecord.metadata` and `PaymentRecord.metadata` from `nullable(map(string: string))` to `map(string: string)`
|
238
|
+
* Change type of `PaymentRecord::ReportPaymentAttemptCanceledParams.metadata`, `PaymentRecord::ReportPaymentAttemptFailedParams.metadata`, `PaymentRecord::ReportPaymentAttemptGuaranteedParams.metadata`, `PaymentRecord::ReportPaymentAttemptParams.metadata`, and `PaymentRecord::ReportPaymentParams.metadata` from `map(string: string)` to `emptyable(map(string: string))`
|
239
|
+
* Change type of `Privacy::RedactionJob.objects` from `$Privacy.RedactionJobRootObjects` to `RedactionResourceRootObjects`
|
240
|
+
* Change type of `Privacy::RedactionJobValidationError.erroring_object` from `map(string: string)` to `RedactionResourceErroringObject`
|
241
|
+
* Remove support for `async_workflows` on `PaymentIntent::CaptureParams`, `PaymentIntent::ConfirmParams`, `PaymentIntent::CreateParams`, `PaymentIntent::DecrementAuthorizationParams`, `PaymentIntent::IncrementAuthorizationParams`, `PaymentIntent::UpdateParams`, and `PaymentIntent`
|
242
|
+
* Remove support for `status_details` and `status` on `Tax::Association`
|
243
|
+
|
244
|
+
### Other changes
|
245
|
+
* Add support for `migrate` method on resource `Subscription`
|
246
|
+
* Add support for `distance`, `pickup_location_name`, `return_location_name`, and `vehicle_identification_number` on `Charge::CaptureParams::PaymentDetail::CarRental`, `Charge::UpdateParams::PaymentDetail::CarRental`, `PaymentIntent::CaptureParams::PaymentDetail::CarRental`, `PaymentIntent::ConfirmParams::PaymentDetail::CarRental`, `PaymentIntent::CreateParams::PaymentDetail::CarRental`, `PaymentIntent::PaymentDetail::CarRental`, and `PaymentIntent::UpdateParams::PaymentDetail::CarRental`
|
247
|
+
* Add support for `driver_identification_number` and `driver_tax_number` on `Charge::CaptureParams::PaymentDetail::CarRental::Driver`, `Charge::UpdateParams::PaymentDetail::CarRental::Driver`, `PaymentIntent::CaptureParams::PaymentDetail::CarRental::Driver`, `PaymentIntent::ConfirmParams::PaymentDetail::CarRental::Driver`, `PaymentIntent::CreateParams::PaymentDetail::CarRental::Driver`, `PaymentIntent::PaymentDetail::CarRental::Driver`, and `PaymentIntent::UpdateParams::PaymentDetail::CarRental::Driver`
|
248
|
+
* Add support for `institution` on `FinancialConnections::Account`
|
249
|
+
* Add support for `countries` on `FinancialConnections::Institution`
|
250
|
+
* Add support for `location` and `reader` on `PaymentAttemptRecord::PaymentMethodDetail::Affirm`, `PaymentAttemptRecord::PaymentMethodDetail::WechatPay`, `PaymentRecord::PaymentMethodDetail::Affirm`, and `PaymentRecord::PaymentMethodDetail::WechatPay`
|
251
|
+
* Add support for `hooks` on `PaymentIntent::CaptureParams`, `PaymentIntent::ConfirmParams`, `PaymentIntent::CreateParams`, `PaymentIntent::DecrementAuthorizationParams`, `PaymentIntent::IncrementAuthorizationParams`, `PaymentIntent::UpdateParams`, and `PaymentIntent`
|
252
|
+
* Add support for `card_present` on `PaymentIntentAmountDetailsLineItem::PaymentMethodOption`
|
253
|
+
* Add support for `livemode` on `Privacy::RedactionJob`
|
254
|
+
* Add support for `billing_thresholds` on `QuotePreviewSubscriptionSchedule::DefaultSetting`, `QuotePreviewSubscriptionSchedule::Phase::Item`, and `QuotePreviewSubscriptionSchedule::Phase`
|
255
|
+
* Add support for `billing_mode_details` on `Subscription`
|
256
|
+
* Add support for `tax_transaction_attempts` on `Tax::Association`
|
257
|
+
* Add support for `confirm_config` on `Terminal::Reader::Action::ConfirmPaymentIntent` and `Terminal::Reader::ConfirmPaymentIntentParams`
|
258
|
+
|
67
259
|
## 15.2.1 - 2025-06-04
|
68
260
|
* [#1617](https://github.com/stripe/stripe-ruby/pull/1617) Fix `nil` requestor in `Webhook.construct_event` to allow for event data refresh
|
69
261
|
* Fix bug where `Event` constructed from `Webhook.construct_event` could not be refreshed due to a `nil` APIRequestor
|
@@ -97,6 +289,14 @@ This release changes the pinned API version to `2025-06-30.basil`.
|
|
97
289
|
* Add support for `collect_inputs` on `Terminal::Reader::Action`
|
98
290
|
* [#1601](https://github.com/stripe/stripe-ruby/pull/1601) Adds CONTRIBUTING.md
|
99
291
|
|
292
|
+
## 15.2.0-beta.1 - 2025-04-30
|
293
|
+
* [#1589](https://github.com/stripe/stripe-ruby/pull/1589) Update generated code for beta
|
294
|
+
This release changes the pinned API version to `2025-04-30.preview`.
|
295
|
+
|
296
|
+
* Add support for `billing_mode` on `Checkout::Session::CreateParams::SubscriptionDatum`, `Invoice::CreatePreviewParams::ScheduleDetail`, `Invoice::CreatePreviewParams::SubscriptionDetail`, `Quote::CreateParams::SubscriptionDatum`, `Quote::SubscriptionDatum`, `QuotePreviewSubscriptionSchedule`, `Subscription::CreateParams`, `SubscriptionSchedule::CreateParams`, `SubscriptionSchedule`, and `Subscription`
|
297
|
+
* Change `Checkout::Session::AutomaticTax.provider`, `Invoice::AutomaticTax.provider`, `Quote::AutomaticTax.provider`, and `QuotePreviewInvoice::AutomaticTax.provider` to be required
|
298
|
+
* Add support for `account_number` on `ConfirmationToken::PaymentMethodPreview::AcssDebit` and `PaymentMethod::AcssDebit`
|
299
|
+
|
100
300
|
## 15.1.0 - 2025-04-30
|
101
301
|
|
102
302
|
This release changes the pinned API version to `2025-04-30.basil`.
|
@@ -122,6 +322,47 @@ This release changes the pinned API version to `2025-06-30.basil`.
|
|
122
322
|
* [#1583](https://github.com/stripe/stripe-ruby/pull/1583) Include new Ruby 3.4 in CI
|
123
323
|
* [#1581](https://github.com/stripe/stripe-ruby/pull/1581) Added rubocop exclusion for generated tests
|
124
324
|
|
325
|
+
## 15.1.0-beta.2 - 2025-04-17
|
326
|
+
* [#1578](https://github.com/stripe/stripe-ruby/pull/1578) Update generated code for beta
|
327
|
+
* Add support for new resources `FxQuote` and `PaymentIntentAmountDetailsLineItem`
|
328
|
+
* Add support for `create`, `list`, and `retrieve` methods on resource `FxQuote`
|
329
|
+
* Remove support for `attach_payment_intent` method on resource `Invoice`
|
330
|
+
* Add support for `registration_date` on `Account::Company`, `Account::CreateParams::Company`, `Account::UpdateParams::Company`, and `Token::CreateParams::Account::Company`
|
331
|
+
* Add support for `customer_reference` and `order_reference` on `Charge::CaptureParams::PaymentDetail`, `Charge::UpdateParams::PaymentDetail`, `PaymentIntent::CaptureParams::PaymentDetail`, `PaymentIntent::ConfirmParams::PaymentDetail`, `PaymentIntent::CreateParams::PaymentDetail`, `PaymentIntent::PaymentDetail`, and `PaymentIntent::UpdateParams::PaymentDetail`
|
332
|
+
* Add support for `tax_id` on `Charge::BillingDetail`, `ConfirmationToken::CreateParams::PaymentMethodDatum::BillingDetail`, `ConfirmationToken::PaymentMethodPreview::BillingDetail`, `PaymentIntent::ConfirmParams::PaymentMethodDatum::BillingDetail`, `PaymentIntent::CreateParams::PaymentMethodDatum::BillingDetail`, `PaymentIntent::UpdateParams::PaymentMethodDatum::BillingDetail`, `PaymentMethod::BillingDetail`, `PaymentMethod::CreateParams::BillingDetail`, `PaymentMethod::UpdateParams::BillingDetail`, `SetupIntent::ConfirmParams::PaymentMethodDatum::BillingDetail`, `SetupIntent::CreateParams::PaymentMethodDatum::BillingDetail`, `SetupIntent::UpdateParams::PaymentMethodDatum::BillingDetail`, and `TreasuryOutboundPayment::CreateParams::DestinationPaymentMethodDatum::BillingDetail`
|
333
|
+
* Add support for `price_data` on `CheckoutSession::UpdateParams::LineItem`
|
334
|
+
* Change type of `CheckoutSession::UpdateParams::LineItem.quantity` from `longInteger` to `emptyable(longInteger)`
|
335
|
+
* Add support for `script` on `Coupon::CreateParams` and `Coupon`
|
336
|
+
* Add support for `type` on `Coupon`
|
337
|
+
* Add support for `fx_quote` on `PaymentIntent::ConfirmParams`, `PaymentIntent::CreateParams`, `PaymentIntent::UpdateParams`, `PaymentIntent`, `Transfer::CreateParams`, and `Transfer`
|
338
|
+
* Add support for `discount_amount`, `line_items`, `shipping`, and `tax` on `PaymentIntent::AmountDetail`
|
339
|
+
* Add support for `pix` on `PaymentMethodConfiguration::CreateParams`, `PaymentMethodConfiguration::UpdateParams`, and `PaymentMethodConfiguration`
|
340
|
+
* Add support for `us_cfpb_data` on `Person` and `Token::CreateParams::Person`
|
341
|
+
* Add support for `pending_reason` on `Refund`
|
342
|
+
* Add support for `aw`, `az`, `bd`, `bj`, `et`, `kg`, `la`, and `ph` on `TaxRegistration::CountryOption` and `TaxRegistration::CreateParams::CountryOption`
|
343
|
+
* [#1588](https://github.com/stripe/stripe-ruby/pull/1588) Removed Request signing authenticator
|
344
|
+
- Removed `RequestSigningAuthenticator` class as request signing is not supported by Stripe APIs yet. This allows us to remove the dependency on base64
|
345
|
+
* [#1582](https://github.com/stripe/stripe-ruby/pull/1582) Prathmesh/merge ruby beta
|
346
|
+
|
347
|
+
## 15.1.0-beta.1 - 2025-04-10
|
348
|
+
* [#1569](https://github.com/stripe/stripe-ruby/pull/1569) Update generated code for beta
|
349
|
+
|
350
|
+
### Breaking changes
|
351
|
+
* Change type of `V2MoneyManagementReceivedDebit.status_transitions` from `an object` to `nullable(an object)`
|
352
|
+
|
353
|
+
### Additions
|
354
|
+
* Add support for new resources `Privacy::RedactionJobRootObjects`, `Privacy::RedactionJobValidationError`, and `Privacy::RedactionJob`
|
355
|
+
* Add support for `cancel`, `create`, `list`, `retrieve`, `run`, `update`, and `validate` methods on resource `RedactionJob`
|
356
|
+
* Add support for `list` and `retrieve` methods on resource `RedactionJobValidationError`
|
357
|
+
* Add support for `minority_owned_business_designation` on `Account::BusinessProfile`, `Account::CreateParams::BusinessProfile`, and `Account::UpdateParams::BusinessProfile`
|
358
|
+
* Add support for `export_tax_transactions` and `payment_disputes` on `AccountSession::CreateParams::Component`
|
359
|
+
* Add support for `wallet_options` on `CheckoutSession::CreateParams` and `CheckoutSession`
|
360
|
+
* Add support for `klarna` on `PaymentMethodDomain`
|
361
|
+
* Change type of `TaxCalculationLineItem.reference` from `nullable(string)` to `string`
|
362
|
+
* Add support for `in` on `TaxRegistration::CountryOption` and `TaxRegistration::CreateParams::CountryOption`
|
363
|
+
* [#1572](https://github.com/stripe/stripe-ruby/pull/1572) Handle external_account field
|
364
|
+
- Changes `external_account` field in `external_accounts.create` from a `string` to a union type.
|
365
|
+
|
125
366
|
## 15.0.0 - 2025-04-09
|
126
367
|
|
127
368
|
### Breaking change
|
@@ -142,6 +383,61 @@ This release changes the pinned API version to `2025-06-30.basil`.
|
|
142
383
|
* [#1575](https://github.com/stripe/stripe-ruby/pull/1575) Remove unused youtube playlist link
|
143
384
|
* [#1573](https://github.com/stripe/stripe-ruby/pull/1573) Remove link for stale youtube video playlist
|
144
385
|
|
386
|
+
## 14.1.0-beta.1 - 2025-04-02
|
387
|
+
* [#1563](https://github.com/stripe/stripe-ruby/pull/1563), [#1558](https://github.com/stripe/stripe-ruby/pull/1558), [#1547](https://github.com/stripe/stripe-ruby/pull/1547) Update generated code for beta
|
388
|
+
|
389
|
+
This release changes the pinned API version to `2025-03-31.preview`
|
390
|
+
|
391
|
+
### Breaking changes
|
392
|
+
* Change type of `QuotePreviewInvoice::Parent::SubscriptionDetail.subscription` from `string` to `expandable($Subscription)`
|
393
|
+
* Remove support for `value` on `TerminalReader::Action::CollectInput::Input::Selection::Choice`, `TerminalReader::Action::CollectInput::Input::Selection`, and `TerminalReader::CollectInputsParams::Input::Selection::Choice`
|
394
|
+
|
395
|
+
### Additions
|
396
|
+
* Add support for `payment_method_options` on `ConfirmationToken::CreateParams`
|
397
|
+
* Add support for `installments` on `ConfirmationToken::PaymentMethodOption::Card`
|
398
|
+
* Change `BillingCreditBalanceSummary::RetrieveParams.customer`, `BillingCreditBalanceTransaction::ListParams.customer`, `BillingCreditGrant::CreateParams.customer`, `BillingPortalSession::CreateParams.customer`, `CustomerSession::CreateParams.customer`, `InvoiceItem::CreateParams.customer`, `PaymentMethod::AttachParams.customer`, and `Subscription::CreateParams.customer` to be optional
|
399
|
+
* Add support for `update_line_items` on `CheckoutSession::CreateParams::Permission` and `CheckoutSession::Permission`
|
400
|
+
* Add support for `billie` on `PaymentIntent::ConfirmParams::PaymentMethodOption`, `PaymentIntent::CreateParams::PaymentMethodOption`, `PaymentIntent::PaymentMethodOption`, and `PaymentIntent::UpdateParams::PaymentMethodOption`
|
401
|
+
* Add support for `id` and `text` on `TerminalReader::Action::CollectInput::Input::Selection::Choice`, `TerminalReader::Action::CollectInput::Input::Selection`, and `TerminalReader::CollectInputsParams::Input::Selection::Choice`
|
402
|
+
* Add support for new resources `BalanceSettings`
|
403
|
+
* Add support for `retrieve` and `update` methods on resource `BalanceSettings`
|
404
|
+
* Add support for `create`, `delete`, `list`, `retrieve`, and `update` methods on a new `ExternalAccountService` class to access cards and bank accounts made available in the new path `v1/external_accounts`. Access this via `StripeClient.external_accounts`
|
405
|
+
|
406
|
+
#### New APIs for Money CardManagement
|
407
|
+
|
408
|
+
* Add support for new resources `V2::Core::Vault::UsBankAccount`, `V2::FinancialAddressCreditSimulation`, `V2::FinancialAddressGeneratedMicrodeposits`, `V2::MoneyManagement::Adjustment`, `V2::MoneyManagement::FinancialAccount`, `V2::MoneyManagement::FinancialAddress`, `V2::MoneyManagement::InboundTransfer`, `V2::MoneyManagement::OutboundPaymentQuote`, `V2::MoneyManagement::OutboundPayment`, `V2::MoneyManagement::OutboundSetupIntent`, `V2::MoneyManagement::OutboundTransfer`, `V2::MoneyManagement::PayoutMethod`, `V2::MoneyManagement::PayoutMethodsBankAccountSpec`, `V2::MoneyManagement::ReceivedCredit`, `V2::MoneyManagement::ReceivedDebit`, `V2::MoneyManagement::TransactionEntry`, and `V2::MoneyManagement::Transaction`
|
409
|
+
* Add support for `create` method on resource `V2::MoneyManagement::OutboundPaymentQuote`
|
410
|
+
* Add support for `list` and `retrieve` methods on resources `V2::MoneyManagement::Adjustment`, `V2::MoneyManagement::FinancialAccount`, `V2::MoneyManagement::ReceivedCredit`, `V2::MoneyManagement::ReceivedDebit`, `V2::MoneyManagement::TransactionEntry`, and `V2::MoneyManagement::Transaction`
|
411
|
+
* Add support for `create`, `list`, and `retrieve` methods on resources `V2::MoneyManagement::FinancialAddress` and `V2::MoneyManagement::InboundTransfer`
|
412
|
+
* Add support for `cancel`, `create`, `list`, and `retrieve` methods on resources `V2::MoneyManagement::OutboundPayment` and `V2::MoneyManagement::OutboundTransfer`
|
413
|
+
* Add support for `archive`, `list`, `retrieve`, and `unarchive` methods on resource `V2::MoneyManagement::PayoutMethod`
|
414
|
+
* Add support for `cancel`, `create`, `list`, `retrieve`, and `update` methods on resource `V2::MoneyManagement::OutboundSetupIntent`
|
415
|
+
* Add support for `retrieve` method on resource `V2::MoneyManagement::PayoutMethodsBankAccountSpec`
|
416
|
+
* Add support for new thin event `V2MoneyManagementFinancialAccountCreatedEvent` with related object `V2::MoneyManagement::FinancialAccount`
|
417
|
+
* Add support for new thin events `V2MoneyManagementFinancialAddressActivatedEvent` and `V2MoneyManagementFinancialAddressFailedEvent` with related object `V2::MoneyManagement::FinancialAddress`
|
418
|
+
* Add support for new thin events `V2MoneyManagementInboundTransferAvailableEvent`, `V2MoneyManagementInboundTransferBankDebitFailedEvent`, `V2MoneyManagementInboundTransferBankDebitProcessingEvent`, `V2MoneyManagementInboundTransferBankDebitQueuedEvent`, `V2MoneyManagementInboundTransferBankDebitReturnedEvent`, and `V2MoneyManagementInboundTransferBankDebitSucceededEvent` with related object `V2::MoneyManagement::InboundTransfer`
|
419
|
+
* Add support for new thin events `V2MoneyManagementOutboundPaymentCanceledEvent`, `V2MoneyManagementOutboundPaymentCreatedEvent`, `V2MoneyManagementOutboundPaymentFailedEvent`, `V2MoneyManagementOutboundPaymentPostedEvent`, and `V2MoneyManagementOutboundPaymentReturnedEvent` with related object `V2::MoneyManagement::OutboundPayment`
|
420
|
+
* Add support for new thin events `V2MoneyManagementOutboundTransferCanceledEvent`, `V2MoneyManagementOutboundTransferCreatedEvent`, `V2MoneyManagementOutboundTransferFailedEvent`, `V2MoneyManagementOutboundTransferPostedEvent`, and `V2MoneyManagementOutboundTransferReturnedEvent` with related object `V2::MoneyManagement::OutboundTransfer`
|
421
|
+
* Add support for new thin events `V2MoneyManagementReceivedCreditAvailableEvent`, `V2MoneyManagementReceivedCreditFailedEvent`, `V2MoneyManagementReceivedCreditReturnedEvent`, and `V2MoneyManagementReceivedCreditSucceededEvent` with related object `V2::MoneyManagement::ReceivedCredit`
|
422
|
+
* Add support for new thin events `V2MoneyManagementReceivedDebitCanceledEvent`, `V2MoneyManagementReceivedDebitFailedEvent`, `V2MoneyManagementReceivedDebitPendingEvent`, `V2MoneyManagementReceivedDebitSucceededEvent`, and `V2MoneyManagementReceivedDebitUpdatedEvent` with related object `V2::MoneyManagement::ReceivedDebit`
|
423
|
+
* Add support for new error types `AlreadyCanceledError`, `BlockedByStripeError`, `ControlledByDashboardError`, `FeatureNotEnabledError`, `FinancialAccountNotOpenError`, `InsufficientFundsError`, `InvalidPayoutMethodError`, `NotCancelableError`, and `RecipientNotNotifiableError`
|
424
|
+
|
425
|
+
|
426
|
+
#### New APIs for Accounts v2 in private preview
|
427
|
+
See [SaaS platform payments with subscription billing using Accounts v2](https://docs.stripe.com/connect/accounts-v2/saas-platform-payments-billing)
|
428
|
+
|
429
|
+
* Add support for new resources `V2::Core::AccountLink`, `V2::Core::Account`, `V2::Core::Person`, `V2::Core::Vault::GbBankAccount`, `V2::Core::Vault::UsBankAccount`
|
430
|
+
* Add support for `close`, `create`, `list`, `retrieve`, and `update` methods on resource `V2::Core::Account`
|
431
|
+
* Add support for `create` method on resources `V2::Core::AccountLink` and `V2::MoneyManagement::OutboundPaymentQuote`
|
432
|
+
* Add support for `acknowledge_confirmation_of_payee`, `archive`, `create`, `initiate_confirmation_of_payee`, and `retrieve` methods on resource `V2::Core::Vault::GbBankAccount`
|
433
|
+
* Add support for `archive`, `create`, `retrieve`, and `update` methods on resource `V2::Core::Vault::UsBankAccount`
|
434
|
+
* Add support for new thin events `V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent`, `V2CoreAccountIncludingConfigurationCustomerUpdatedEvent`, `V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent`, `V2CoreAccountIncludingConfigurationMerchantUpdatedEvent`, `V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent`, `V2CoreAccountIncludingConfigurationRecipientUpdatedEvent`, `V2CoreAccountIncludingIdentityUpdatedEvent`, and `V2CoreAccountIncludingRequirementsUpdatedEvent`
|
435
|
+
* Add support for new thin event `V2CoreAccountLinkCompletedEvent` with related object `V2::Core::AccountLink`
|
436
|
+
* Add support for new thin events `V2CoreAccountPersonCreatedEvent`, `V2CoreAccountPersonDeletedEvent`, and `V2CoreAccountPersonUpdatedEvent` with related object `V2::Core::Person`
|
437
|
+
|
438
|
+
* [#1557](https://github.com/stripe/stripe-ruby/pull/1557) Update Stripe.add_beta_version
|
439
|
+
* `stripe.add_beta_version` will use the highest version number used for a beta feature instead of raising an `Error` on a conflict as it had done previously.
|
440
|
+
|
145
441
|
## 14.0.0 - 2025-04-01
|
146
442
|
* [#1559](https://github.com/stripe/stripe-ruby/pull/1559) Add RBI annotations for fields and params
|
147
443
|
* Adds explicit field types for resources and parameters for methods, and add RBI static annotations for all resources and services
|
@@ -171,6 +467,12 @@ This release changes the pinned API version to `2025-06-30.basil`.
|
|
171
467
|
* Add support for new resource `InvoicePayment`
|
172
468
|
* Add support for `list` and `retrieve` methods on resource `InvoicePayment`
|
173
469
|
|
470
|
+
## 13.6.0-beta.1 - 2025-03-18
|
471
|
+
* [#1550](https://github.com/stripe/stripe-ruby/pull/1550) Merge from stripe-ruby master
|
472
|
+
* [#1546](https://github.com/stripe/stripe-ruby/pull/1546) Beta SDK updates between Open API versions 1473 and 1505
|
473
|
+
|
474
|
+
* Add support for `succeed_input_collection` and `timeout_input_collection` test helper methods on resource `Terminal.Reader`
|
475
|
+
* [#1545](https://github.com/stripe/stripe-ruby/pull/1545) fix ruby merge conflict for beta
|
174
476
|
|
175
477
|
## 13.5.0 - 2025-02-24
|
176
478
|
* [#1534](https://github.com/stripe/stripe-ruby/pull/1534) Update generated code
|
@@ -179,6 +481,9 @@ This release changes the pinned API version to `2025-06-30.basil`.
|
|
179
481
|
* Fix bug where `Stripe::InvoiceLineItem` had the incorrect parent class, making it error when `update` was called
|
180
482
|
* [#1533](https://github.com/stripe/stripe-ruby/pull/1533) add codeowners file
|
181
483
|
|
484
|
+
## 13.5.0-beta.1 - 2025-02-07
|
485
|
+
* [#1527](https://github.com/stripe/stripe-ruby/pull/1527) Update generated code for beta
|
486
|
+
|
182
487
|
## 13.4.1 - 2025-01-28
|
183
488
|
* [#1528](https://github.com/stripe/stripe-ruby/pull/1528) Update generated code
|
184
489
|
* ⚠️ Bugfix: `invoice` and `line_item_id` can be passed to `update` method in `InvoiceLineItem`.
|
@@ -191,6 +496,25 @@ This release changes the pinned API version to `2025-06-30.basil`.
|
|
191
496
|
* [#1513](https://github.com/stripe/stripe-ruby/pull/1513) add justfile
|
192
497
|
* [#1515](https://github.com/stripe/stripe-ruby/pull/1515) Added CONTRIBUTING.md file
|
193
498
|
|
499
|
+
## 13.4.0-beta.4 - 2025-01-23
|
500
|
+
* [#1523](https://github.com/stripe/stripe-ruby/pull/1523) Update generated code for beta
|
501
|
+
* Removed support for `stripe_account` from `Stripe::Terminal::Reader`. Use `account` instead.
|
502
|
+
|
503
|
+
## 13.4.0-beta.3 - 2025-01-17
|
504
|
+
* [#1514](https://github.com/stripe/stripe-ruby/pull/1514) Update generated code for beta
|
505
|
+
|
506
|
+
## 13.4.0-beta.2 - 2025-01-09
|
507
|
+
* [#1504](https://github.com/stripe/stripe-ruby/pull/1504) Update generated code for beta
|
508
|
+
* Add support for `close` method on resource `Treasury.FinancialAccount`
|
509
|
+
|
510
|
+
## 13.4.0-beta.1 - 2024-12-20
|
511
|
+
* Support parameter and resource fields with typed RBIs
|
512
|
+
* [#1509](https://github.com/stripe/stripe-ruby/pull/1509) (beta) Publish RBIs with gem
|
513
|
+
* [#1505](https://github.com/stripe/stripe-ruby/pull/1505) Add method parameter type classes to all resources and services
|
514
|
+
|
515
|
+
* Add method parameter classes for all resources and service methods.
|
516
|
+
* These changes are NOT breaking and are purely additive. The method parameter classes are not required, we still accept hashes as well as the new `RequestParams` classes. Any additional gated parameters are still available to pass via hash. Resource fields define publicly documented fields and other deserialized fields are still accessible.
|
517
|
+
|
194
518
|
## 13.3.1 - 2025-01-13
|
195
519
|
* [#1512](https://github.com/stripe/stripe-ruby/pull/1512) Import global configuration for options not available on StripeClient options
|
196
520
|
* Fixes bug where `StripeClient` was not falling back to global options for options that are not available to be set per-client
|
@@ -206,10 +530,39 @@ This release changes the pinned API version to `2025-06-30.basil`.
|
|
206
530
|
|
207
531
|
* Fixes bug where `StripeObject` retrieved from lists could not be used to make requests, such as `refresh`
|
208
532
|
|
533
|
+
## 13.3.0-beta.3 - 2024-12-12
|
534
|
+
* [#1499](https://github.com/stripe/stripe-ruby/pull/1499) Update generated code for beta
|
535
|
+
* Add support for `AllowRedisplay` on `Card` and `Source`
|
536
|
+
* Add support for new values `am_tin`, `ao_tin`, `ba_tin`, `bb_tin`, `bs_tin`, `cd_nif`, `gn_nif`, `kh_tin`, `me_pib`, `mk_vat`, `mr_nif`, `np_pan`, `sn_ninea`, `sr_fin`, `tj_tin`, `ug_tin`, `zm_tin`, and `zw_tin` on enums `CheckoutSessionCollectedInformationTaxIdsType` and `OrderTaxDetailsTaxIdsType`
|
537
|
+
* Add support for new value `network_fallback` on enum `IssuingAuthorizationRequestHistoryReason`
|
538
|
+
* Remove support for `AmountRefunded` on `PaymentRecord`
|
539
|
+
* Add support for `Account` on `TerminalReaderActionCollectPaymentMethod`, `TerminalReaderActionConfirmPaymentIntent`, `TerminalReaderActionProcessPaymentIntent`, and `TerminalReaderActionRefundPayment`
|
540
|
+
|
541
|
+
## 13.3.0-beta.2 - 2024-12-05
|
542
|
+
* [#1492](https://github.com/stripe/stripe-ruby/pull/1492) Update generated code for beta
|
543
|
+
|
544
|
+
* [#1490](https://github.com/stripe/stripe-ruby/pull/1490) Add explicit attributes for fields in resources, and rbis for resources
|
545
|
+
|
546
|
+
## 13.3.0-beta.1 - 2024-11-21
|
547
|
+
* [#1489](https://github.com/stripe/stripe-ruby/pull/1489) Merging code from master to get the latest bug fixes.
|
548
|
+
|
209
549
|
## 13.2.0 - 2024-11-20
|
210
550
|
* [#1486](https://github.com/stripe/stripe-ruby/pull/1486) This release changes the pinned API version to `2024-11-20.acacia`.
|
211
551
|
* Add support for `respond` test helper method on resource `Issuing.Authorization`
|
212
552
|
|
553
|
+
## 13.2.0-beta.3 - 2024-11-14
|
554
|
+
* [#1484](https://github.com/stripe/stripe-ruby/pull/1484) Update generated code for beta
|
555
|
+
|
556
|
+
## 13.2.0-beta.2 - 2024-11-07
|
557
|
+
* [#1480](https://github.com/stripe/stripe-ruby/pull/1480) Update generated code for beta
|
558
|
+
* Add support for new resources `Issuing.FraudLiabilityDebit`, `PaymentAttemptRecord`, and `PaymentRecord`
|
559
|
+
* Add support for `list` and `retrieve` methods on resources `FraudLiabilityDebit` and `PaymentAttemptRecord`
|
560
|
+
* Add support for `report_payment_attempt_canceled`, `report_payment_attempt_failed`, `report_payment_attempt_guaranteed`, `report_payment_attempt`, `report_payment`, and `retrieve` methods on resource `PaymentRecord`
|
561
|
+
|
562
|
+
## 13.2.0-beta.1 - 2024-10-29
|
563
|
+
* [#1477](https://github.com/stripe/stripe-ruby/pull/1477) Update generated code for beta
|
564
|
+
* Add support for `trigger_action` method on resource `PaymentIntent`
|
565
|
+
|
213
566
|
## 13.1.2 - 2024-11-15
|
214
567
|
* [#1488](https://github.com/stripe/stripe-ruby/pull/1488) Fix incorrect key in param encoding
|
215
568
|
|
@@ -224,6 +577,28 @@ This release changes the pinned API version to `2025-06-30.basil`.
|
|
224
577
|
* [#1476](https://github.com/stripe/stripe-ruby/pull/1476) Fix APIResource#retrieve bug not returning instance of custom resources
|
225
578
|
* Fix bug in APIResource#refresh and APIResource#retrieve where they returned an instance of `StripeObject` for custom resources. They should now return the instance of the custom resource.
|
226
579
|
|
580
|
+
## 13.1.0-beta.3 - 2024-10-18
|
581
|
+
* [#1469](https://github.com/stripe/stripe-ruby/pull/1469) Update generated code for beta
|
582
|
+
|
583
|
+
## 13.1.0-beta.2 - 2024-10-08
|
584
|
+
* [#1468](https://github.com/stripe/stripe-ruby/pull/1468) Update generated code for beta
|
585
|
+
* Add support for `submit_card` test helper method on resource `Issuing.Card`
|
586
|
+
|
587
|
+
## 13.1.0-beta.1 - 2024-10-03
|
588
|
+
* [#1465](https://github.com/stripe/stripe-ruby/pull/1465) Updates to the `Preview` class
|
589
|
+
* Remove `Stripe::Preview`. Use `StripeClient#raw_request` instead (see below).
|
590
|
+
* Marked `Stripe.raw_request` and `Stripe.deserialize` as deprecated. Use `StripeClient#raw_request` and `StripeClient#deserialize` instead. In StripeClient, the params and opts parameters are passed as keyword arguments:
|
591
|
+
```ruby
|
592
|
+
# Before
|
593
|
+
resp = Stripe.raw_request(:post, "v1/charges", , {p1: "p1"}, {stripe_account: "acct_123"})
|
594
|
+
charge = Stripe.deserialize(resp.data)
|
595
|
+
|
596
|
+
# After
|
597
|
+
client = StripeClient.new("sk_test_123")
|
598
|
+
resp = client.raw_request(:post, "/v1/charges", params: {p1: "p1"}, opts: {stripe_account: "acct_123"})
|
599
|
+
charge = client.deserialize(resp.data)
|
600
|
+
```
|
601
|
+
|
227
602
|
## 13.0.2 - 2024-10-23
|
228
603
|
* [#1473](https://github.com/stripe/stripe-ruby/pull/1473) Always return the result of APIResource#refresh in APIResource.retrieve
|
229
604
|
|
@@ -303,6 +678,16 @@ This release changes the pinned API version to `2025-06-30.basil`.
|
|
303
678
|
* Add support for new Usage Billing APIs `Billing.MeterEvent`, `Billing.MeterEventAdjustments`, `Billing.MeterEventSession`, `Billing.MeterEventStream` and the new Events API `Core.Events` in the [v2 namespace ](https://docs.corp.stripe.com/api-v2-overview)
|
304
679
|
* Add method `parse_thin_event()` on the `StripeClient` class to parse [thin events](https://docs.corp.stripe.com/event-destinations#events-overview).
|
305
680
|
|
681
|
+
## 12.7.0-beta.2 - 2024-09-18
|
682
|
+
* [#1449](https://github.com/stripe/stripe-ruby/pull/1449) Update generated code for beta
|
683
|
+
* Remove support for resource `QuotePhase`
|
684
|
+
* Remove support for `list_line_items` and `retrieve` methods on resource `QuotePhase`
|
685
|
+
|
686
|
+
## 12.7.0-beta.1 - 2024-09-13
|
687
|
+
* [#1446](https://github.com/stripe/stripe-ruby/pull/1446) Update generated code for beta
|
688
|
+
* Add support for new resources `Issuing.DisputeSettlementDetail` and `Issuing.Settlement`
|
689
|
+
* Add support for `list` and `retrieve` methods on resource `DisputeSettlementDetail`
|
690
|
+
* Remove support for `list` method on resource `QuotePhase`
|
306
691
|
|
307
692
|
## 12.6.0 - 2024-09-12
|
308
693
|
* [#1442](https://github.com/stripe/stripe-ruby/pull/1442) Update generated code
|
@@ -310,12 +695,28 @@ This release changes the pinned API version to `2025-06-30.basil`.
|
|
310
695
|
* Add support for `archive`, `list`, `retrieve`, and `unarchive` methods on resource `InvoiceRenderingTemplate`
|
311
696
|
* [#1443](https://github.com/stripe/stripe-ruby/pull/1443) Removed v1/files override
|
312
697
|
|
698
|
+
## 12.6.0-beta.1 - 2024-09-05
|
699
|
+
* [#1441](https://github.com/stripe/stripe-ruby/pull/1441) Update generated code for beta
|
700
|
+
* Add support for new resources `Billing.MeterErrorReport` and `Terminal.ReaderCollectedData`
|
701
|
+
* Add support for `retrieve` method on resource `ReaderCollectedData`
|
702
|
+
|
313
703
|
## 12.5.0 - 2024-08-08
|
314
704
|
* [#1440](https://github.com/stripe/stripe-ruby/pull/1440) Update generated code
|
315
705
|
* Add support for new resources `Billing.AlertTriggered` and `Billing.Alert`
|
316
706
|
* Add support for `activate`, `archive`, `create`, `deactivate`, `list`, and `retrieve` methods on resource `Alert`
|
317
707
|
* Add support for `retrieve` method on resource `Tax.Calculation`
|
318
708
|
|
709
|
+
## 12.5.0-beta.2 - 2024-08-01
|
710
|
+
* [#1439](https://github.com/stripe/stripe-ruby/pull/1439) Update generated code for beta
|
711
|
+
* Add support for `attach_payment` method on resource `Invoice`
|
712
|
+
|
713
|
+
## 12.5.0-beta.1 - 2024-07-25
|
714
|
+
* [#1429](https://github.com/stripe/stripe-ruby/pull/1429) Update generated code for beta
|
715
|
+
* Add support for new resources `Billing.AlertTriggered`, `Billing.Alert`, and `Tax.Association`
|
716
|
+
* Add support for `activate`, `archive`, `create`, `deactivate`, `list`, and `retrieve` methods on resource `Alert`
|
717
|
+
* Add support for `find` method on resource `Association`
|
718
|
+
* [#1434](https://github.com/stripe/stripe-ruby/pull/1434) Merge changes from stripe/stripe-ruby master
|
719
|
+
|
319
720
|
## 12.4.0 - 2024-07-25
|
320
721
|
* [#1437](https://github.com/stripe/stripe-ruby/pull/1437) Update generated code
|
321
722
|
* Add support for `update` method on resource `Checkout.Session`
|
@@ -332,6 +733,12 @@ This release changes the pinned API version to `2025-06-30.basil`.
|
|
332
733
|
|
333
734
|
- Adds the ability to make raw requests to the Stripe API, by providing an HTTP method and url. This is an alternative to using `Stripe::APIResource.request(...)` to make custom requests, which is discouraged and will be broken in a future major version.
|
334
735
|
|
736
|
+
## 12.2.0-beta.1 - 2024-07-05
|
737
|
+
* [#1428](https://github.com/stripe/stripe-ruby/pull/1428) Update generated code for beta
|
738
|
+
* Add support for new resource `FinancialConnections.Institution`
|
739
|
+
* Add support for `list` and `retrieve` methods on resource `Institution`
|
740
|
+
* [#1409](https://github.com/stripe/stripe-ruby/pull/1409) Update generated code for beta
|
741
|
+
|
335
742
|
## 12.1.0 - 2024-07-05
|
336
743
|
* [#1425](https://github.com/stripe/stripe-ruby/pull/1425) Update generated code
|
337
744
|
* Add support for `add_lines`, `remove_lines`, and `update_lines` methods on resource `Invoice`
|
@@ -361,6 +768,10 @@ This release changes the pinned API version to `2025-06-30.basil`.
|
|
361
768
|
* [#1415](https://github.com/stripe/stripe-ruby/pull/1415) Deprecate StripeClient#request
|
362
769
|
* Add deprecation warning for `StripeClient#request`. This helper method will be removed in a future major version. To access response objects, use the `last_response` property on the returned resource instead. Refer to [Accessing a response object](https://github.com/stripe/stripe-ruby?tab=readme-ov-file#accessing-a-response-object) in the README for usage details.
|
363
770
|
|
771
|
+
## 11.7.0-beta.1 - 2024-05-30
|
772
|
+
* [#1400](https://github.com/stripe/stripe-ruby/pull/1400) Update generated code for beta
|
773
|
+
* Keeping up with the changes from version 11.6.0
|
774
|
+
|
364
775
|
## 11.6.0 - 2024-05-30
|
365
776
|
* [#1404](https://github.com/stripe/stripe-ruby/pull/1404) Add method to list invoice line items
|
366
777
|
* Add methods `list_lines()` on the class `Invoice` to list the invoice line items
|
@@ -368,6 +779,10 @@ This release changes the pinned API version to `2025-06-30.basil`.
|
|
368
779
|
## 11.5.0 - 2024-05-23
|
369
780
|
* This release has no changes.
|
370
781
|
|
782
|
+
## 11.5.0-beta.1 - 2024-05-09
|
783
|
+
* [#1395](https://github.com/stripe/stripe-ruby/pull/1395) Update generated code for beta
|
784
|
+
* No new beta features. Merging changes from the main branch.
|
785
|
+
|
371
786
|
## 11.4.0 - 2024-05-09
|
372
787
|
* [#1397](https://github.com/stripe/stripe-ruby/pull/1397) Update generated code
|
373
788
|
* Add support for `update` test helper method on resources `Treasury.OutboundPayment` and `Treasury.OutboundTransfer`
|
@@ -376,6 +791,9 @@ This release changes the pinned API version to `2025-06-30.basil`.
|
|
376
791
|
* [#1389](https://github.com/stripe/stripe-ruby/pull/1389) Removed jaro_winkler as a dependency
|
377
792
|
* [#1396](https://github.com/stripe/stripe-ruby/pull/1396) Start tracking `StripeClient#request` usage
|
378
793
|
|
794
|
+
## 11.4.0-beta.1 - 2024-05-02
|
795
|
+
* [#1386](https://github.com/stripe/stripe-ruby/pull/1386) Update generated code for beta
|
796
|
+
|
379
797
|
## 11.3.0 - 2024-05-02
|
380
798
|
* [#1387](https://github.com/stripe/stripe-ruby/pull/1387) Update generated code
|
381
799
|
|
@@ -383,6 +801,9 @@ This release changes the pinned API version to `2025-06-30.basil`.
|
|
383
801
|
- Mark as deprecated the `approve` and `decline` methods in `lib/stripe/resources/issuing/authorization.rb`. Instead, [respond directly to the webhook request to approve an authorization](https://stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling).
|
384
802
|
* [#1391](https://github.com/stripe/stripe-ruby/pull/1391) Add Ruby 3.3 to CI test matrix
|
385
803
|
|
804
|
+
## 11.3.0-beta.1 - 2024-04-18
|
805
|
+
* [#1383](https://github.com/stripe/stripe-ruby/pull/1383) Update generated code for beta
|
806
|
+
|
386
807
|
## 11.2.0 - 2024-04-18
|
387
808
|
* [#1385](https://github.com/stripe/stripe-ruby/pull/1385) Update generated code
|
388
809
|
* Add support for `create_preview` method on resource `Invoice`
|
@@ -391,6 +812,10 @@ This release changes the pinned API version to `2025-06-30.basil`.
|
|
391
812
|
* [#1379](https://github.com/stripe/stripe-ruby/pull/1379) Update generated code
|
392
813
|
* Add support for new resource `Entitlements.ActiveEntitlementSummary`
|
393
814
|
|
815
|
+
## 11.1.0-beta.1 - 2024-04-11
|
816
|
+
* [#1376](https://github.com/stripe/stripe-ruby/pull/1376) Update generated code for beta
|
817
|
+
* Add support for `retrieve` method on resources `Entitlements.ActiveEntitlement` and `Entitlements.Feature`
|
818
|
+
|
394
819
|
## 11.0.0 - 2024-04-10
|
395
820
|
* [#1374](https://github.com/stripe/stripe-ruby/pull/1374)
|
396
821
|
|
@@ -401,144 +826,317 @@ This release changes the pinned API version to `2025-06-30.basil`.
|
|
401
826
|
* When no `x-stripe-should-retry` header is set in the response, the library now retries all requests with `status >= 500`, not just non-POST methods.
|
402
827
|
|
403
828
|
## 10.15.0 - 2024-04-09
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
829
|
+
|
830
|
+
- [#1377](https://github.com/stripe/stripe-ruby/pull/1377) Add last_response to StripeObject
|
831
|
+
- Users can now retrieve raw response from the returned resource, using the `last_response` property. See [README](https://github.com/stripe/stripe-ruby/blob/master/README.md) for an example.
|
832
|
+
- [#1372](https://github.com/stripe/stripe-ruby/pull/1372) Update generated code
|
833
|
+
- Add support for new resources `Entitlements.ActiveEntitlement` and `Entitlements.Feature`
|
834
|
+
- Add support for `list` and `retrieve` methods on resource `ActiveEntitlement`
|
835
|
+
- Add support for `create`, `list`, `retrieve`, and `update` methods on resource `Feature`
|
836
|
+
- [#1366](https://github.com/stripe/stripe-ruby/pull/1366) Move executables to `exe` folder
|
837
|
+
|
838
|
+
## 10.15.0-beta.1 - 2024-04-04
|
839
|
+
|
840
|
+
- [#1373](https://github.com/stripe/stripe-ruby/pull/1373) Update generated code for beta
|
841
|
+
- Add support for `update` method on resource `Entitlements.Feature`
|
842
|
+
- [#1370](https://github.com/stripe/stripe-ruby/pull/1370) Update generated code for beta
|
411
843
|
|
412
844
|
## 10.14.0 - 2024-03-28
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
845
|
+
|
846
|
+
- [#1369](https://github.com/stripe/stripe-ruby/pull/1369) Update generated code
|
847
|
+
- Add support for new resources `Billing.MeterEventAdjustment`, `Billing.MeterEvent`, and `Billing.Meter`
|
848
|
+
- Add support for `create`, `deactivate`, `list`, `reactivate`, `retrieve`, and `update` methods on resource `Meter`
|
849
|
+
- Add support for `create` method on resources `MeterEventAdjustment` and `MeterEvent`
|
850
|
+
|
851
|
+
## 10.14.0-beta.1 - 2024-03-21
|
852
|
+
|
853
|
+
- [#1363](https://github.com/stripe/stripe-ruby/pull/1363) Update generated code for beta
|
854
|
+
- Add support for new resources `Entitlements.ActiveEntitlementSummary` and `Entitlements.ActiveEntitlement`
|
855
|
+
- Add support for `list` method on resource `ActiveEntitlement`
|
417
856
|
|
418
857
|
## 10.13.0 - 2024-03-21
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
858
|
+
|
859
|
+
- [#1367](https://github.com/stripe/stripe-ruby/pull/1367) Update generated code
|
860
|
+
- Add support for new resources `ConfirmationToken` and `Forwarding.Request`
|
861
|
+
- Add support for `retrieve` method on resource `ConfirmationToken`
|
862
|
+
- Add support for `create`, `list`, and `retrieve` methods on resource `Request`
|
863
|
+
- [#1362](https://github.com/stripe/stripe-ruby/pull/1362) Exclude sorbet directory and tapioca script when packing gem
|
864
|
+
|
865
|
+
## 10.13.0-beta.1 - 2024-03-14
|
866
|
+
|
867
|
+
- [#1360](https://github.com/stripe/stripe-ruby/pull/1360) Update generated code for beta
|
868
|
+
- Add support for new resources `Billing.MeterEventAdjustment`, `Billing.MeterEvent`, and `Billing.Meter`
|
869
|
+
- Add support for `create`, `deactivate`, `list`, `reactivate`, `retrieve`, and `update` methods on resource `Meter`
|
870
|
+
- Add support for `create` method on resources `MeterEventAdjustment` and `MeterEvent`
|
871
|
+
- Add support for `create` test helper method on resource `ConfirmationToken`
|
872
|
+
- Add support for `add_lines`, `remove_lines`, and `update_lines` methods on resource `Invoice`
|
424
873
|
|
425
874
|
## 10.12.0 - 2024-03-14
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
875
|
+
|
876
|
+
- [#1359](https://github.com/stripe/stripe-ruby/pull/1359) Update generated code
|
877
|
+
- Add support for new resources `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle`
|
878
|
+
- Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PersonalizationDesign`
|
879
|
+
- Add support for `list` and `retrieve` methods on resource `PhysicalBundle`
|
880
|
+
- [#1354](https://github.com/stripe/stripe-ruby/pull/1354) Refactor after SDK based generation pattern
|
881
|
+
- [#1347](https://github.com/stripe/stripe-ruby/pull/1347) Reorder methods with lexographical sort
|
882
|
+
- [#1355](https://github.com/stripe/stripe-ruby/pull/1355) Disable Metrics/ClassLength
|
883
|
+
- [#1351](https://github.com/stripe/stripe-ruby/pull/1351) Update CHANGELOG.md
|
884
|
+
|
885
|
+
## 10.12.0-beta.1 - 2024-02-29
|
886
|
+
|
887
|
+
- [#1352](https://github.com/stripe/stripe-ruby/pull/1352) Update generated code for beta
|
888
|
+
Release specs are identical.
|
889
|
+
- [#1350](https://github.com/stripe/stripe-ruby/pull/1350) Update generated code for beta
|
890
|
+
|
891
|
+
- [#1341](https://github.com/stripe/stripe-ruby/pull/1341) Update generated code for beta
|
892
|
+
- Remove support for resource `Entitlements.Event`
|
893
|
+
- [#1343](https://github.com/stripe/stripe-ruby/pull/1343) Add a helper to add a beta version
|
434
894
|
|
435
895
|
## 10.11.0 - 2024-02-29
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
896
|
+
|
897
|
+
- [#1348](https://github.com/stripe/stripe-ruby/pull/1348) Use sorbet gem instead of sorbet-static
|
898
|
+
- [#1342](https://github.com/stripe/stripe-ruby/pull/1342) Update generated code
|
899
|
+
- Add `list_refunds` and `retrieve_refund` methods on resource `Charge`.
|
900
|
+
- [#1345](https://github.com/stripe/stripe-ruby/pull/1345) Update README to use add_beta_version
|
901
|
+
|
902
|
+
## 10.11.0-beta.1 - 2024-02-22
|
903
|
+
|
904
|
+
- [#1335](https://github.com/stripe/stripe-ruby/pull/1335) Update generated code for beta
|
440
905
|
|
441
906
|
## 10.10.0 - 2024-02-22
|
442
|
-
|
907
|
+
|
908
|
+
- [#1336](https://github.com/stripe/stripe-ruby/pull/1336) Update generated code
|
443
909
|
- Add `InvoiceLineItem.update` method.
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
910
|
+
- [#1334](https://github.com/stripe/stripe-ruby/pull/1334) Add TaxIds API
|
911
|
+
- Add support for `all`, `create`, and `retrieve` methods on resource `TaxId`
|
912
|
+
- The `delete` method now sends a DELETE request to `/v1/tax_ids/{id}` instead of `/v1/customers/{customer}/tax_ids/{id}`. The endpoints are functionally the same when operating on a Customer Tax ID.
|
913
|
+
- The `resource_url` method on `TaxId` now returns the top-level `/v1/tax_ids/{id}` path instead of the `/v1/customers/{customer}/tax_ids/{id}` path.
|
914
|
+
|
915
|
+
## 10.10.0-beta.1 - 2024-02-16
|
916
|
+
|
917
|
+
- [#1332](https://github.com/stripe/stripe-ruby/pull/1332) Update generated code for beta
|
918
|
+
- Add support for `decrement_authorization` method on resource `PaymentIntent`
|
919
|
+
- [#1328](https://github.com/stripe/stripe-ruby/pull/1328) Update generated code for beta
|
448
920
|
|
449
921
|
## 10.9.0 - 2024-02-15
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
922
|
+
|
923
|
+
- [#1329](https://github.com/stripe/stripe-ruby/pull/1329) Update generated code
|
924
|
+
- Fixed bug where `TaxId` resource `delete` method sent request to wrong URL (https://github.com/stripe/stripe-ruby/issues/1333)
|
925
|
+
- [#1324](https://github.com/stripe/stripe-ruby/pull/1324) Start running Sorbet in CI
|
926
|
+
- [#1327](https://github.com/stripe/stripe-ruby/pull/1327) Add methods for dynamically referenced constants
|
927
|
+
|
928
|
+
## 10.9.0-beta.1 - 2024-02-08
|
929
|
+
|
930
|
+
- [#1321](https://github.com/stripe/stripe-ruby/pull/1321) Update generated code for beta
|
931
|
+
- Release specs are identical.
|
454
932
|
|
455
933
|
## 10.8.0 - 2024-02-08
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
934
|
+
|
935
|
+
- [#1322](https://github.com/stripe/stripe-ruby/pull/1322) Update generated code
|
936
|
+
- [#1323](https://github.com/stripe/stripe-ruby/pull/1323) Extract other CRUDL api operations from mixins
|
937
|
+
- Extract more CRUDL operations, namely `create`, `delete`, `update`, and `list` into the resources. These methods will no longer rely on the APIOperation mixins.
|
938
|
+
- [#1314](https://github.com/stripe/stripe-ruby/pull/1314) Update mocha gem to 1.16
|
939
|
+
|
940
|
+
## 10.8.0-beta.1 - 2024-02-01
|
941
|
+
|
942
|
+
- [#1318](https://github.com/stripe/stripe-ruby/pull/1318) Update generated code for beta
|
943
|
+
- Add support for new resources `Entitlements.Event` and `Entitlements.Feature`
|
944
|
+
- Add support for `create` method on resource `Event`
|
945
|
+
- Add support for `create` and `list` methods on resource `Feature`
|
460
946
|
|
461
947
|
## 10.7.1 - 2024-02-05
|
462
|
-
|
948
|
+
|
949
|
+
- [#1320](https://github.com/stripe/stripe-ruby/pull/1320) Remove spurious \_search deprecation messages (https://github.com/stripe/stripe-ruby/issues/1319)
|
463
950
|
|
464
951
|
## 10.7.0 - 2024-02-01
|
465
|
-
|
466
|
-
|
467
|
-
|
952
|
+
|
953
|
+
- [#1317](https://github.com/stripe/stripe-ruby/pull/1317) Remove list method in child resources
|
954
|
+
- Removes list method mixin from child resources, as these methods always return `InvalidRequestError` and never succeed
|
955
|
+
- [#1311](https://github.com/stripe/stripe-ruby/pull/1311) Use the deprecation gem in search and clean up usage of the gem
|
956
|
+
|
957
|
+
## 10.7.0-beta.3 - 2024-01-25
|
958
|
+
|
959
|
+
- [#1313](https://github.com/stripe/stripe-ruby/pull/1313) Update generated code for beta
|
960
|
+
- Add support for `create_preview` method on resource `Invoice`
|
961
|
+
- [#1307](https://github.com/stripe/stripe-ruby/pull/1307) Beta: report raw request usage
|
962
|
+
|
963
|
+
## 10.7.0-beta.2 - 2024-01-19
|
964
|
+
|
965
|
+
- [#1307](https://github.com/stripe/stripe-ruby/pull/1307) Beta: report raw request usage
|
966
|
+
|
967
|
+
## 10.7.0-beta.1 - 2024-01-12
|
968
|
+
|
969
|
+
- [#1309](https://github.com/stripe/stripe-ruby/pull/1309) Update generated code for beta
|
970
|
+
- [#1305](https://github.com/stripe/stripe-ruby/pull/1305) Update generated code for beta
|
468
971
|
|
469
972
|
## 10.6.0 - 2024-01-12
|
470
|
-
|
471
|
-
|
472
|
-
|
973
|
+
|
974
|
+
- [#1310](https://github.com/stripe/stripe-ruby/pull/1310) Update generated code
|
975
|
+
- Add support for new resource `CustomerSession`
|
976
|
+
- Add support for `create` method on resource `CustomerSession`
|
977
|
+
|
978
|
+
## 10.6.0-beta.1 - 2024-01-04
|
979
|
+
|
980
|
+
- [#1302](https://github.com/stripe/stripe-ruby/pull/1302) Update generated code for beta
|
981
|
+
- Updated stable APIs to the latest version
|
473
982
|
|
474
983
|
## 10.5.0 - 2024-01-04
|
475
|
-
|
476
|
-
|
984
|
+
|
985
|
+
- [#1306](https://github.com/stripe/stripe-ruby/pull/1306) Update generated code
|
986
|
+
- Add support for `retrieve` method on resource `Tax.Registration`
|
987
|
+
|
988
|
+
## 10.5.0-beta.1 - 2023-12-22
|
989
|
+
|
990
|
+
- [#1302](https://github.com/stripe/stripe-ruby/pull/1302) Update generated code for beta
|
477
991
|
|
478
992
|
## 10.4.0 - 2023-12-22
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
993
|
+
|
994
|
+
- [#1303](https://github.com/stripe/stripe-ruby/pull/1303) Update generated code
|
995
|
+
- Add support for new resource `FinancialConnections.Transaction`
|
996
|
+
- Add support for `list` and `retrieve` methods on resource `Transaction`
|
997
|
+
- Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account`
|
998
|
+
- [#1304](https://github.com/stripe/stripe-ruby/pull/1304) Add support for updatable singleton resources
|
999
|
+
|
1000
|
+
## 10.4.0-beta.1 - 2023-12-14
|
1001
|
+
|
1002
|
+
Updated stable APIs to the latest version
|
484
1003
|
|
485
1004
|
## 10.3.0 - 2023-12-14
|
486
|
-
|
1005
|
+
|
1006
|
+
- [#1294](https://github.com/stripe/stripe-ruby/pull/1294) Support sending parameters inside singleton retrieve
|
1007
|
+
|
1008
|
+
## 10.3.0-beta.1 - 2023-11-30
|
1009
|
+
|
1010
|
+
- [#1298](https://github.com/stripe/stripe-ruby/pull/1298) Update generated code for beta
|
1011
|
+
- [#1296](https://github.com/stripe/stripe-ruby/pull/1296) Merge master into beta
|
487
1012
|
|
488
1013
|
## 10.2.0 - 2023-11-30
|
489
|
-
* [#1292](https://github.com/stripe/stripe-ruby/pull/1292) Update generated code
|
490
|
-
* Add support for new resources `Climate.Order`, `Climate.Product`, and `Climate.Supplier`
|
491
|
-
* Add support for `cancel`, `create`, `list`, `retrieve`, and `update` methods on resource `Order`
|
492
|
-
* Add support for `list` and `retrieve` methods on resources `Product` and `Supplier`
|
493
|
-
* [#1295](https://github.com/stripe/stripe-ruby/pull/1295) Upgrade rubocop
|
494
|
-
* [#1291](https://github.com/stripe/stripe-ruby/pull/1291) Update generated code
|
495
1014
|
|
496
|
-
|
1015
|
+
- [#1292](https://github.com/stripe/stripe-ruby/pull/1292) Update generated code
|
1016
|
+
- Add support for new resources `Climate.Order`, `Climate.Product`, and `Climate.Supplier`
|
1017
|
+
- Add support for `cancel`, `create`, `list`, `retrieve`, and `update` methods on resource `Order`
|
1018
|
+
- Add support for `list` and `retrieve` methods on resources `Product` and `Supplier`
|
1019
|
+
- [#1295](https://github.com/stripe/stripe-ruby/pull/1295) Upgrade rubocop
|
1020
|
+
- [#1291](https://github.com/stripe/stripe-ruby/pull/1291) Update generated code
|
1021
|
+
|
1022
|
+
- [#1290](https://github.com/stripe/stripe-ruby/pull/1290) Update generated code
|
497
1023
|
|
498
|
-
|
1024
|
+
- [#1288](https://github.com/stripe/stripe-ruby/pull/1288) Update generated code
|
499
1025
|
|
1026
|
+
## 10.2.0-beta.1 - 2023-11-02
|
1027
|
+
|
1028
|
+
- [#1287](https://github.com/stripe/stripe-ruby/pull/1287) Update generated code for beta
|
1029
|
+
- Add support for `attach_payment_intent` method on resource `Invoice`
|
1030
|
+
- [#1285](https://github.com/stripe/stripe-ruby/pull/1285) Update generated code for beta
|
500
1031
|
|
501
1032
|
## 10.1.0 - 2023-11-02
|
502
|
-
|
503
|
-
|
504
|
-
|
1033
|
+
|
1034
|
+
- [#1286](https://github.com/stripe/stripe-ruby/pull/1286) Update generated code
|
1035
|
+
- Add support for new resource `Tax.Registration`
|
1036
|
+
- Add support for `create`, `list`, and `update` methods on resource `Registration`
|
1037
|
+
|
1038
|
+
## 10.1.0-beta.2 - 2023-10-26
|
1039
|
+
|
1040
|
+
- [#1285](https://github.com/stripe/stripe-ruby/pull/1285) Update generated code for beta
|
1041
|
+
- Add support for new resource `Margin`
|
1042
|
+
- Add support for `create`, `list`, `retrieve`, and `update` methods on resource `Margin`
|
1043
|
+
|
1044
|
+
## 10.1.0-beta.1 - 2023-10-17
|
1045
|
+
|
1046
|
+
- [#1284](https://github.com/stripe/stripe-ruby/pull/1284) Update generated code for beta
|
1047
|
+
- Update pinned API version to `2023-10-16`
|
1048
|
+
- [#1282](https://github.com/stripe/stripe-ruby/pull/1282) Update generated code for beta
|
505
1049
|
|
506
1050
|
## 10.0.0 - 2023-10-16
|
507
1051
|
* This release changes the pinned API version to `2023-10-16`. Please read the [API Changelog](https://docs.stripe.com/changelog/2023-10-16) and carefully review the API changes before upgrading `stripe-ruby`.
|
508
1052
|
* [#1283](https://github.com/stripe/stripe-ruby/pull/1283) Update generated code
|
509
1053
|
- Updated pinned API version
|
510
|
-
|
511
|
-
|
1054
|
+
- [#1281](https://github.com/stripe/stripe-ruby/pull/1281) Update generated code
|
1055
|
+
- Documentation only changes
|
1056
|
+
|
1057
|
+
## 9.5.0-beta.2 - 2023-10-12
|
1058
|
+
|
1059
|
+
- [#1280](https://github.com/stripe/stripe-ruby/pull/1280) Update generated code for beta
|
1060
|
+
- Add support for new resources `AccountNotice` and `Issuing.CreditUnderwritingRecord`
|
1061
|
+
- Add support for `list`, `retrieve`, and `update` methods on resource `AccountNotice`
|
1062
|
+
- Add support for `correct`, `create_from_application`, `create_from_proactive_review`, `list`, `report_decision`, and `retrieve` methods on resource `CreditUnderwritingRecord`
|
1063
|
+
|
1064
|
+
## 9.5.0-beta.1 - 2023-10-05
|
1065
|
+
|
1066
|
+
- [#1278](https://github.com/stripe/stripe-ruby/pull/1278) Update generated code for beta
|
1067
|
+
- Add support for `mark_draft` and `mark_stale` methods on resource `Quote`
|
1068
|
+
- Remove support for `draft_quote` and `mark_stale_quote` methods on resource `Quote`
|
1069
|
+
- Rename `preview_invoice_lines` to `list_preview_invoice_lines` on resource `Quote`
|
512
1070
|
|
513
1071
|
## 9.4.0 - 2023-10-05
|
514
|
-
|
515
|
-
|
516
|
-
|
1072
|
+
|
1073
|
+
- [#1277](https://github.com/stripe/stripe-ruby/pull/1277) Update generated code
|
1074
|
+
- Add support for new resources `Issuing.Token`
|
1075
|
+
- Add support for `list`, `retrieve`, and `update` methods on resource `Token`
|
1076
|
+
|
1077
|
+
## 9.4.0-beta.3 - 2023-09-28
|
1078
|
+
|
1079
|
+
- [#1276](https://github.com/stripe/stripe-ruby/pull/1276) Update generated code for beta
|
1080
|
+
- Rename resources `Issuing.CardDesign` and `Issuing.CardBundle` to `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle`
|
1081
|
+
|
1082
|
+
## 9.4.0-beta.2 - 2023-09-21
|
1083
|
+
|
1084
|
+
- [#1273](https://github.com/stripe/stripe-ruby/pull/1273) Update generated code for beta
|
1085
|
+
|
1086
|
+
## 9.4.0-beta.1 - 2023-09-14
|
1087
|
+
|
1088
|
+
- Updated stable APIs to the latest version
|
517
1089
|
|
518
1090
|
## 9.3.0 - 2023-09-14
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
1091
|
+
|
1092
|
+
- [#1272](https://github.com/stripe/stripe-ruby/pull/1272) Update generated code
|
1093
|
+
- Add support for new resource `PaymentMethodConfiguration`
|
1094
|
+
- Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PaymentMethodConfiguration`
|
1095
|
+
- [#1271](https://github.com/stripe/stripe-ruby/pull/1271) Update generated code
|
1096
|
+
- Add support for `capture`, `create`, `expire`, `increment`, and `reverse` test helper methods on resource `Issuing.Authorization`
|
1097
|
+
- Add support for `create_force_capture`, `create_unlinked_refund`, and `refund` test helper methods on resource `Issuing.Transaction`
|
1098
|
+
|
1099
|
+
## 9.3.0-beta.1 - 2023-09-07
|
1100
|
+
|
1101
|
+
- [#1269](https://github.com/stripe/stripe-ruby/pull/1269) Update generated code for beta
|
1102
|
+
- Release specs are identical.
|
1103
|
+
- [#1268](https://github.com/stripe/stripe-ruby/pull/1268) Update generated code for beta
|
1104
|
+
- Remove support for `submit_card` test helper method on resource `Issuing.Card`
|
1105
|
+
- [#1265](https://github.com/stripe/stripe-ruby/pull/1265) Update generated code for beta
|
1106
|
+
- Rename `Quote.preview_invoices` to `QuotePreviewInvoice.list` and `Quote.preview_schedules` to `QuotePreviewSchedules.list`
|
1107
|
+
- [#1264](https://github.com/stripe/stripe-ruby/pull/1264) Update generated code for beta
|
1108
|
+
- Add support for new resources `QuotePreviewInvoice` and `QuotePreviewSchedule`
|
1109
|
+
- [#1259](https://github.com/stripe/stripe-ruby/pull/1259) Update generated code for beta
|
1110
|
+
|
1111
|
+
- [#1257](https://github.com/stripe/stripe-ruby/pull/1257) Update generated code for beta
|
1112
|
+
|
1113
|
+
- [#1254](https://github.com/stripe/stripe-ruby/pull/1254) Update generated code for beta
|
1114
|
+
- Add support for `submit_card` test helper method on resource `Issuing.Card`
|
1115
|
+
- [#1252](https://github.com/stripe/stripe-ruby/pull/1252) Remove developer_message support
|
525
1116
|
|
526
1117
|
## 9.2.0 - 2023-09-07
|
527
|
-
|
528
|
-
|
529
|
-
|
1118
|
+
|
1119
|
+
- [#1267](https://github.com/stripe/stripe-ruby/pull/1267) Update generated code
|
1120
|
+
- Add support for new resource `PaymentMethodDomain`
|
1121
|
+
- Add support for `create`, `list`, `retrieve`, `update`, and `validate` methods on resource `PaymentMethodDomain`
|
1122
|
+
|
1123
|
+
## 9.2.0-beta.1 - 2023-08-31
|
1124
|
+
|
1125
|
+
- [#1265](https://github.com/stripe/stripe-ruby/pull/1265) Update generated code for beta
|
1126
|
+
- Rename `Quote.preview_invoices` to `QuotePreviewInvoice.list` and `Quote.preview_schedules` to `QuotePreviewSchedules.list`
|
530
1127
|
|
531
1128
|
## 9.1.0 - 2023-08-31
|
532
|
-
* [#1266](https://github.com/stripe/stripe-ruby/pull/1266) Update generated code
|
533
|
-
* Add support for new resource `AccountSession`
|
534
|
-
* Add support for `create` method on resource `AccountSession`
|
535
|
-
* [#1262](https://github.com/stripe/stripe-ruby/pull/1262) Explicitly format timestamp in SignatureVerificationError message
|
536
1129
|
|
1130
|
+
- [#1266](https://github.com/stripe/stripe-ruby/pull/1266) Update generated code
|
1131
|
+
- Add support for new resource `AccountSession`
|
1132
|
+
- Add support for `create` method on resource `AccountSession`
|
1133
|
+
- [#1262](https://github.com/stripe/stripe-ruby/pull/1262) Explicitly format timestamp in SignatureVerificationError message
|
537
1134
|
|
538
1135
|
## 9.0.0 - 2023-08-16
|
1136
|
+
|
539
1137
|
**⚠️ ACTION REQUIRED: the breaking change in this release likely affects you ⚠️**
|
540
1138
|
|
541
|
-
|
1139
|
+
- [#1253](https://github.com/stripe/stripe-ruby/pull/1253) [#1260](https://github.com/stripe/stripe-ruby/pull/1260) Pin latest API version as the default
|
542
1140
|
|
543
1141
|
In this release, Stripe API Version `2023-08-16` (the latest at time of release) will be sent by default on all requests. This is a significant change with wide ramifications. The API version affects the properties you see on responses, the parameters you are allowed to send on requests, and so on. The previous default was to use your [Stripe account's default API version](https://stripe.com/docs/development/dashboard/request-logs#view-your-default-api-version).
|
544
1142
|
|
@@ -549,6 +1147,7 @@ This release changes the pinned API version to `2025-06-30.basil`.
|
|
549
1147
|
Please read the API Changelog carefully for each API Version from `2023-08-16` back to your [Stripe account's default API version](https://stripe.com/docs/development/dashboard/request-logs#view-your-default-api-version). Determine if you are using any of the APIs that have changed in a breaking way, and adjust your integration accordingly. Carefully test your changes with Stripe [Test Mode](https://stripe.com/docs/keys#test-live-modes) before deploying them to production.
|
550
1148
|
|
551
1149
|
You can read the [v9 migration guide](https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v9) for more detailed instructions.
|
1150
|
+
|
552
1151
|
2. **(Alternative option) Specify a version other than `2023-08-16` when initializing `stripe-ruby`.**
|
553
1152
|
|
554
1153
|
If you were previously initializing stripe-ruby without an explicit API Version, you can postpone modifying your integration by specifying a version equal to your [Stripe account's default API version](https://stripe.com/docs/development/dashboard/request-logs#view-your-default-api-version). For example:
|
@@ -563,1207 +1162,1689 @@ This release changes the pinned API version to `2025-06-30.basil`.
|
|
563
1162
|
|
564
1163
|
Read the [v9 migration guide](https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v9) for more details.
|
565
1164
|
|
566
|
-
Going forward, each major release of this library will be
|
1165
|
+
Going forward, each major release of this library will be _pinned_ by default to the latest Stripe API Version at the time of release.
|
567
1166
|
|
568
1167
|
That is, instead of upgrading stripe-ruby and separately upgrading your Stripe API Version through the Stripe Dashboard. whenever you upgrade major versions of stripe-ruby, you should also upgrade your integration to be compatible with the latest Stripe API version.
|
569
1168
|
|
1169
|
+
## 9.0.0-beta.1 - 2023-08-24
|
1170
|
+
|
1171
|
+
- [#1264](https://github.com/stripe/stripe-ruby/pull/1264) Update generated code for beta
|
1172
|
+
- Add support for new resources `QuotePreviewInvoice` and `QuotePreviewSchedule`
|
1173
|
+
- [#1259](https://github.com/stripe/stripe-ruby/pull/1259) Update generated code for beta
|
1174
|
+
|
1175
|
+
## 8.8.0-beta.1 - 2023-08-10
|
1176
|
+
|
1177
|
+
- [#1257](https://github.com/stripe/stripe-ruby/pull/1257) Update generated code for beta
|
1178
|
+
- Updated stable APIs to the latest version
|
1179
|
+
|
570
1180
|
## 8.7.0 - 2023-08-10
|
571
|
-
|
1181
|
+
|
1182
|
+
- [#1256](https://github.com/stripe/stripe-ruby/pull/1256) Update generated code
|
572
1183
|
Add resources `Tax::CalculationLineItem`, `Tax::TransactionLineItem`, and `Treasury::FinancialAccountFeatures`. These resources have no methods on them, but do represent the return type of methods elsewhere.
|
573
1184
|
|
1185
|
+
## 8.7.0-beta.3 - 2023-08-03
|
1186
|
+
|
1187
|
+
- [#1254](https://github.com/stripe/stripe-ruby/pull/1254) Update generated code for beta
|
1188
|
+
- Add support for `submit_card` test helper method on resource `Issuing.Card`
|
1189
|
+
- [#1252](https://github.com/stripe/stripe-ruby/pull/1252) Remove developer_message support
|
1190
|
+
|
1191
|
+
## 8.7.0-beta.2 - 2023-07-28
|
1192
|
+
|
1193
|
+
- [#1251](https://github.com/stripe/stripe-ruby/pull/1251) Update generated code for beta
|
1194
|
+
- Add support for new resource `Tax.Form`
|
1195
|
+
- Add support for `list`, `pdf`, and `retrieve` methods on resource `Form`
|
1196
|
+
- [#1249](https://github.com/stripe/stripe-ruby/pull/1249) Update generated code for beta
|
1197
|
+
- [#1246](https://github.com/stripe/stripe-ruby/pull/1246) Update generated code for beta
|
1198
|
+
|
1199
|
+
## 8.7.0-beta.1 - 2023-07-13
|
1200
|
+
|
1201
|
+
- [#1245](https://github.com/stripe/stripe-ruby/pull/1245) Update generated code for beta
|
1202
|
+
Release specs are identical.
|
1203
|
+
- [#1243](https://github.com/stripe/stripe-ruby/pull/1243) Update generated code for beta
|
1204
|
+
- Add support for new resource `PaymentMethodConfiguration`
|
1205
|
+
- Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PaymentMethodConfiguration`
|
1206
|
+
- [#1239](https://github.com/stripe/stripe-ruby/pull/1239) Update generated code for beta
|
1207
|
+
|
574
1208
|
## 8.6.0 - 2023-07-13
|
575
|
-
* [#1244](https://github.com/stripe/stripe-ruby/pull/1244) Update generated code
|
576
|
-
* Add support for new resource `Tax.Settings`
|
577
|
-
* Add support for `retrieve` and `update` methods on resource `Settings`
|
578
|
-
* [#1241](https://github.com/stripe/stripe-ruby/pull/1241) Update generated code
|
579
1209
|
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
1210
|
+
- [#1244](https://github.com/stripe/stripe-ruby/pull/1244) Update generated code
|
1211
|
+
- Add support for new resource `Tax.Settings`
|
1212
|
+
- Add support for `retrieve` and `update` methods on resource `Settings`
|
1213
|
+
- [#1241](https://github.com/stripe/stripe-ruby/pull/1241) Update generated code
|
1214
|
+
|
1215
|
+
- [#1209](https://github.com/stripe/stripe-ruby/pull/1209) Update shoulda-context version
|
1216
|
+
- [#1235](https://github.com/stripe/stripe-ruby/pull/1235) Allow "error" string as log level
|
1217
|
+
- [#1238](https://github.com/stripe/stripe-ruby/pull/1238) Update log level error message to include `error`
|
1218
|
+
- [#1231](https://github.com/stripe/stripe-ruby/pull/1231) fix: variable typo in README for instrumentation
|
1219
|
+
- [#1234](https://github.com/stripe/stripe-ruby/pull/1234) Update generated code
|
585
1220
|
|
586
|
-
|
587
|
-
|
588
|
-
|
1221
|
+
- [#1230](https://github.com/stripe/stripe-ruby/pull/1230) Update generated code
|
1222
|
+
- Release specs are identical.
|
1223
|
+
- [#1226](https://github.com/stripe/stripe-ruby/pull/1226) Update generated code
|
589
1224
|
|
590
|
-
|
1225
|
+
- [#1223](https://github.com/stripe/stripe-ruby/pull/1223) Update generated code
|
591
1226
|
|
592
|
-
|
593
|
-
|
1227
|
+
- [#1225](https://github.com/stripe/stripe-ruby/pull/1225) Downgrade jaro_winkler
|
1228
|
+
- [#1219](https://github.com/stripe/stripe-ruby/pull/1219) Update generated code
|
594
1229
|
|
595
1230
|
Documentation updates.
|
596
|
-
* [#1215](https://github.com/stripe/stripe-ruby/pull/1215) Update generated code
|
597
1231
|
|
598
|
-
|
1232
|
+
- [#1215](https://github.com/stripe/stripe-ruby/pull/1215) Update generated code
|
599
1233
|
|
600
|
-
|
1234
|
+
- [#1208](https://github.com/stripe/stripe-ruby/pull/1208) Update generated code
|
601
1235
|
|
1236
|
+
- [#1204](https://github.com/stripe/stripe-ruby/pull/1204) Update generated code
|
1237
|
+
|
1238
|
+
## 8.6.0-beta.6 - 2023-06-22
|
1239
|
+
|
1240
|
+
- [#1237](https://github.com/stripe/stripe-ruby/pull/1237) Update generated code for beta
|
1241
|
+
- Add support for new resource `CustomerSession`
|
1242
|
+
- Add support for `create` method on resource `CustomerSession`
|
1243
|
+
- [#1233](https://github.com/stripe/stripe-ruby/pull/1233) Update generated code for beta
|
1244
|
+
- [#1229](https://github.com/stripe/stripe-ruby/pull/1229) Update generated code for beta
|
1245
|
+
|
1246
|
+
## 8.6.0-beta.5 - 2023-06-01
|
1247
|
+
|
1248
|
+
- [#1227](https://github.com/stripe/stripe-ruby/pull/1227) Update generated code for beta
|
1249
|
+
- [#1228](https://github.com/stripe/stripe-ruby/pull/1228) Document raw_request
|
1250
|
+
- [#1222](https://github.com/stripe/stripe-ruby/pull/1222) Update generated code for beta
|
1251
|
+
- [#1224](https://github.com/stripe/stripe-ruby/pull/1224) Handle developer message in preview error responses
|
1252
|
+
|
1253
|
+
## 8.6.0-beta.4 - 2023-05-19
|
1254
|
+
|
1255
|
+
- [#1220](https://github.com/stripe/stripe-ruby/pull/1220) Update generated code for beta
|
1256
|
+
- Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account`
|
1257
|
+
- [#1217](https://github.com/stripe/stripe-ruby/pull/1217) Add raw_request
|
1258
|
+
- [#1216](https://github.com/stripe/stripe-ruby/pull/1216) Update generated code for beta
|
1259
|
+
- [#1214](https://github.com/stripe/stripe-ruby/pull/1214) Update generated code for beta
|
1260
|
+
|
1261
|
+
## 8.6.0-beta.3 - 2023-04-17
|
1262
|
+
|
1263
|
+
- [#1211](https://github.com/stripe/stripe-ruby/pull/1211) Update generated code for beta
|
1264
|
+
- [#1210](https://github.com/stripe/stripe-ruby/pull/1210), [#1212](https://github.com/stripe/stripe-ruby/pull/1212), [#1213](https://github.com/stripe/stripe-ruby/pull/1213) Add support for request signing
|
1265
|
+
|
1266
|
+
## 8.6.0-beta.2 - 2023-04-13
|
1267
|
+
|
1268
|
+
- [#1206](https://github.com/stripe/stripe-ruby/pull/1206) Update generated code for beta
|
1269
|
+
- Add support for `collect_payment_method` and `confirm_payment_intent` methods on resource `Terminal.Reader`
|
1270
|
+
- [#1205](https://github.com/stripe/stripe-ruby/pull/1205) Update generated code for beta
|
1271
|
+
|
1272
|
+
## 8.6.0-beta.1 - 2023-03-30
|
1273
|
+
|
1274
|
+
- [#1202](https://github.com/stripe/stripe-ruby/pull/1202) Update generated code for beta
|
602
1275
|
|
603
1276
|
## 8.5.0 - 2023-03-30
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
1277
|
+
|
1278
|
+
- [#1203](https://github.com/stripe/stripe-ruby/pull/1203) Update generated code
|
1279
|
+
- Remove support for `create` method on resource `Tax.Transaction`
|
1280
|
+
- This is not a breaking change, as this method was deprecated before the Tax Transactions API was released in favor of the `create_from_calculation` method.
|
1281
|
+
- [#1201](https://github.com/stripe/stripe-ruby/pull/1201) Update save deprecation message
|
1282
|
+
|
1283
|
+
## 8.5.0-beta.1 - 2023-03-23
|
1284
|
+
|
1285
|
+
- [#1194](https://github.com/stripe/stripe-ruby/pull/1194) Update generated code for beta (new)
|
1286
|
+
- Add support for new resources `Tax.CalculationLineItem` and `Tax.TransactionLineItem`
|
1287
|
+
- Add support for `collect_inputs` method on resource `Terminal.Reader`
|
608
1288
|
|
609
1289
|
## 8.4.0 - 2023-03-23
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
1290
|
+
|
1291
|
+
- [#1197](https://github.com/stripe/stripe-ruby/pull/1197) Update generated code (new)
|
1292
|
+
- Add support for new resources `Tax.CalculationLineItem`, `Tax.Calculation`, `Tax.TransactionLineItem`, and `Tax.Transaction`
|
1293
|
+
- Add support for `create` and `list_line_items` methods on resource `Calculation`
|
1294
|
+
- Add support for `create_from_calculation`, `create_reversal`, `create`, `list_line_items`, and `retrieve` methods on resource `Transaction`
|
1295
|
+
- [#1152](https://github.com/stripe/stripe-ruby/pull/1152) Symbolize hash keys inside `convert_to_stripe_object_with_params`
|
1296
|
+
|
1297
|
+
## 8.4.0-beta.4 - 2023-03-16
|
1298
|
+
|
1299
|
+
- [#1189](https://github.com/stripe/stripe-ruby/pull/1189) Update generated code for beta (new)
|
1300
|
+
- Add support for `create_from_calculation` method on resource `Tax.Transaction`
|
1301
|
+
- [#1188](https://github.com/stripe/stripe-ruby/pull/1188) Update generated code for beta (new)
|
1302
|
+
- Remove support for resources `Capital.FinancingOffer` and `Capital.FinancingSummary`
|
1303
|
+
- Remove support for `list`, `mark_delivered`, and `retrieve` methods on resource `FinancingOffer`
|
1304
|
+
- Remove support for `retrieve` method on resource `FinancingSummary`
|
1305
|
+
- [#1187](https://github.com/stripe/stripe-ruby/pull/1187) Merge upstream master
|
1306
|
+
|
1307
|
+
## 8.4.0-beta.3 - 2023-03-09
|
1308
|
+
|
1309
|
+
- [#1184](https://github.com/stripe/stripe-ruby/pull/1184) API Updates for beta branch
|
1310
|
+
- Updated stable APIs to the latest version
|
1311
|
+
- Remove support for `list_transactions` method on resource `Tax.Transaction`
|
1312
|
+
|
1313
|
+
## 8.4.0-beta.2 - 2023-03-03
|
1314
|
+
|
1315
|
+
- [#1183](https://github.com/stripe/stripe-ruby/pull/1183) API Updates for beta branch
|
1316
|
+
- Updated stable APIs to the latest version
|
1317
|
+
- Add support for new resources `Issuing.CardBundle` and `Issuing.CardDesign`
|
1318
|
+
- Add support for `list` and `retrieve` methods on resource `CardBundle`
|
1319
|
+
- Add support for `list`, `retrieve`, and `update` methods on resource `CardDesign`
|
1320
|
+
|
1321
|
+
## 8.4.0-beta.1 - 2023-02-23
|
1322
|
+
|
1323
|
+
- [#1182](https://github.com/stripe/stripe-ruby/pull/1182) API Updates for beta branch
|
1324
|
+
- Updated stable APIs to the latest version
|
615
1325
|
|
616
1326
|
## 8.3.0 - 2023-02-16
|
617
|
-
|
618
|
-
|
1327
|
+
|
1328
|
+
- [#1175](https://github.com/stripe/stripe-ruby/pull/1175) API Updates
|
1329
|
+
- Add support for `refund_payment` method on resource `Terminal.Reader`
|
1330
|
+
|
1331
|
+
## 8.3.0-beta.1 - 2023-02-02
|
1332
|
+
|
1333
|
+
- [#1174](https://github.com/stripe/stripe-ruby/pull/1174) API Updates for beta branch
|
1334
|
+
- Updated stable APIs to the latest version
|
1335
|
+
- Add support for new resource `FinancialConnections.Transaction`
|
1336
|
+
- Add support for `list` method on resource `Transaction`
|
619
1337
|
|
620
1338
|
## 8.2.0 - 2023-02-02
|
621
|
-
|
622
|
-
|
623
|
-
|
1339
|
+
|
1340
|
+
- [#1173](https://github.com/stripe/stripe-ruby/pull/1173) API Updates
|
1341
|
+
- Add support for `resume` method on resource `Subscription`
|
1342
|
+
- [#1171](https://github.com/stripe/stripe-ruby/pull/1171) Remove unused `partial` param from `initialize_from`
|
1343
|
+
|
1344
|
+
## 8.2.0-beta.3 - 2023-01-26
|
1345
|
+
|
1346
|
+
- [#1172](https://github.com/stripe/stripe-ruby/pull/1172) API Updates for beta branch
|
1347
|
+
- Updated stable APIs to the latest version
|
1348
|
+
- Add support for `list_transactions` method on resource `Tax.Transaction`
|
1349
|
+
|
1350
|
+
## 8.2.0-beta.2 - 2023-01-19
|
1351
|
+
|
1352
|
+
- [#1170](https://github.com/stripe/stripe-ruby/pull/1170) API Updates for beta branch
|
1353
|
+
- Updated stable APIs to the latest version
|
1354
|
+
- Add support for `Tax.Settings` resource.
|
1355
|
+
|
1356
|
+
## 8.2.0-beta.1 - 2023-01-12
|
1357
|
+
|
1358
|
+
- [#1167](https://github.com/stripe/stripe-ruby/pull/1167) API Updates for beta branch
|
1359
|
+
- Updated stable APIs to the latest version
|
1360
|
+
- Change `quote.draft_quote` implementation to from calling `POST /v1/quotes/{quote}/draft` to `POST /v1/quotes/{quote}/mark_draft`
|
1361
|
+
- Add support for `Tax::Register` resource
|
624
1362
|
|
625
1363
|
## 8.1.0 - 2023-01-12
|
626
|
-
|
1364
|
+
|
1365
|
+
- [#1162](https://github.com/stripe/stripe-ruby/pull/1162) Improve request events instrumentation
|
1366
|
+
|
1367
|
+
## 8.1.0-beta.4 - 2023-01-05
|
1368
|
+
|
1369
|
+
- [#1164](https://github.com/stripe/stripe-ruby/pull/1164) API Updates for beta branch
|
1370
|
+
- Updated stable APIs to the latest version
|
1371
|
+
- Add support for `mark_stale_quote` method on resource `Quote`
|
1372
|
+
|
1373
|
+
## 8.1.0-beta.3 - 2022-12-22
|
1374
|
+
|
1375
|
+
- [#1158](https://github.com/stripe/stripe-ruby/pull/1158) API Updates for beta branch
|
1376
|
+
- Updated stable APIs to the latest version
|
1377
|
+
- Move `TaxCalculation` and `TaxTransaction` to `Tax::Calculation` and `Tax::Transaction`.
|
1378
|
+
|
1379
|
+
## 8.1.0-beta.2 - 2022-12-15
|
1380
|
+
|
1381
|
+
- [#1156](https://github.com/stripe/stripe-ruby/pull/1156) API Updates for beta branch
|
1382
|
+
- Updated stable APIs to the latest version
|
1383
|
+
- Add support for new resources `TaxCalculation`, and `TaxTransaction`
|
1384
|
+
- Add support for `create` and `list_line_items` methods on resource `TaxCalculation`
|
1385
|
+
- Add support for `create_reversal`, `create`, and `retrieve` methods on resource `TaxTransaction`
|
1386
|
+
- [#1155](https://github.com/stripe/stripe-ruby/pull/1155) API Updates for beta branch
|
1387
|
+
- Updated stable APIs to the latest version
|
1388
|
+
- Add support for new resource `QuoteLine`.
|
1389
|
+
|
1390
|
+
## 8.1.0-beta.1 - 2022-12-08
|
1391
|
+
|
1392
|
+
- [#1153](https://github.com/stripe/stripe-ruby/pull/1153) API Updates for beta branch
|
1393
|
+
- Updated stable APIs to the latest version
|
1394
|
+
- [#1146](https://github.com/stripe/stripe-ruby/pull/1146) API Updates for beta branch
|
1395
|
+
- Updated stable APIs to the latest version
|
627
1396
|
|
628
1397
|
## 8.0.0 - 2022-11-16
|
629
|
-
|
1398
|
+
|
1399
|
+
- [#1144](https://github.com/stripe/stripe-ruby/pull/1144) Next major release changes
|
630
1400
|
|
631
1401
|
Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the Stripe products, read more at https://docs.stripe.com/changelog/2022-11-15.
|
632
1402
|
|
633
1403
|
"⚠️" symbol highlights breaking changes.
|
634
1404
|
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
1405
|
+
## 7.2.0-beta.5 - 2022-11-02
|
1406
|
+
|
1407
|
+
- [#1139](https://github.com/stripe/stripe-ruby/pull/1139) API Updates for beta branch
|
1408
|
+
- Updated beta APIs to the latest stable version
|
1409
|
+
- [#1135](https://github.com/stripe/stripe-ruby/pull/1135) API Updates for beta branch
|
1410
|
+
- Updated stable APIs to the latest version
|
1411
|
+
|
1412
|
+
## 7.2.0-beta.4 - 2022-10-07
|
642
1413
|
|
643
|
-
|
644
|
-
Stripe::Refund.update("re_123", description: "Refund description")
|
645
|
-
```
|
1414
|
+
- [#999](https://github.com/stripe/stripe-ruby/pull/999) DESCRIBE CHANGES HERE (try to use the same style, tense, etc. as the other entries)
|
646
1415
|
|
647
|
-
|
648
|
-
- Removed deprecated `Sku` resource.
|
649
|
-
- Removed deprecated `Orders` resource.
|
650
|
-
- Removed deprecated `delete` method on `Subscription` resource. Please use `cancel` method instead.
|
651
|
-
```ruby
|
652
|
-
# before
|
653
|
-
Stripe::Subscription::delete("sub_12345")
|
1416
|
+
## 7.2.0-beta.3 - 2022-09-26
|
654
1417
|
|
655
|
-
|
656
|
-
|
657
|
-
|
1418
|
+
- [#1129](https://github.com/stripe/stripe-ruby/pull/1129) API Updates for beta branch
|
1419
|
+
- Updated stable APIs to the latest version
|
1420
|
+
- Add `FinancingOffer`, `FinancingSummary` and `FinancingTransaction` resources.
|
658
1421
|
|
1422
|
+
## 7.2.0-beta.2 - 2022-08-26
|
1423
|
+
|
1424
|
+
- [#1127](https://github.com/stripe/stripe-ruby/pull/1127) API Updates for beta branch
|
1425
|
+
- Updated stable APIs to the latest version
|
1426
|
+
- Add support for the beta [Gift Card API](https://stripe.com/docs/gift-cards).
|
1427
|
+
|
1428
|
+
## 7.2.0-beta.1 - 2022-08-23
|
1429
|
+
|
1430
|
+
- [#1122](https://github.com/stripe/stripe-ruby/pull/1122) API Updates for beta branch
|
1431
|
+
- Updated stable APIs to the latest version
|
1432
|
+
- `Stripe-Version` beta headers are not pinned by-default and need to be manually specified, please refer to [beta SDKs README section](https://github.com/stripe/stripe-ruby/blob/master/README.md#beta-sdks)
|
659
1433
|
|
660
1434
|
## 7.1.0 - 2022-08-19
|
661
|
-
* [#1116](https://github.com/stripe/stripe-ruby/pull/1116) API Updates
|
662
|
-
* Add support for new resource `CustomerCashBalanceTransaction`
|
663
|
-
* [#1118](https://github.com/stripe/stripe-ruby/pull/1118) Update AllowedChars in rubocop config
|
664
|
-
* [#1117](https://github.com/stripe/stripe-ruby/pull/1117) Refresh rubocop config.
|
665
|
-
* [#1115](https://github.com/stripe/stripe-ruby/pull/1115) Add a support section to the readme
|
666
1435
|
|
667
|
-
|
1436
|
+
- [#1116](https://github.com/stripe/stripe-ruby/pull/1116) API Updates
|
1437
|
+
- Add support for new resource `CustomerCashBalanceTransaction`
|
1438
|
+
- [#1118](https://github.com/stripe/stripe-ruby/pull/1118) Update AllowedChars in rubocop config
|
1439
|
+
- [#1117](https://github.com/stripe/stripe-ruby/pull/1117) Refresh rubocop config.
|
1440
|
+
- [#1115](https://github.com/stripe/stripe-ruby/pull/1115) Add a support section to the readme
|
668
1441
|
|
669
|
-
|
1442
|
+
## 7.1.0-beta.2 - 2022-08-11
|
670
1443
|
|
671
|
-
|
1444
|
+
- [#1113](https://github.com/stripe/stripe-ruby/pull/1113) API Updates for beta branch
|
1445
|
+
- Updated stable APIs to the latest version
|
1446
|
+
- Add `refund_payment` method to Terminal resource
|
1447
|
+
|
1448
|
+
## 7.1.0-beta.1 - 2022-08-03
|
1449
|
+
|
1450
|
+
- [#1107](https://github.com/stripe/stripe-ruby/pull/1107) API Updates for beta branch
|
1451
|
+
- Updated stable APIs to the latest version
|
1452
|
+
- Added the `Order` resource support
|
672
1453
|
|
673
|
-
|
674
|
-
* [#1092](https://github.com/stripe/stripe-ruby/pull/1092) API Updates
|
675
|
-
* [#1090](https://github.com/stripe/stripe-ruby/pull/1090) Use auto-generation for `Invoice` methods
|
676
|
-
* [#1103](https://github.com/stripe/stripe-ruby/pull/1103) Next major release changes
|
1454
|
+
## 7.0.0 - 2022-08-02
|
677
1455
|
|
678
|
-
|
679
|
-
* `retrieve_cash_balance` and `update_cash_balance` methods on `Customer` resource no longer requires the second argument to always be `nil`. The methods now now take in `customer_id`, `params`, and `opts` parameters.
|
680
|
-
* Update default bundle of CA certificates to April 26, 2022.
|
1456
|
+
Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the SDK, read more detailed description at https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v7. For changes to the Stripe products, read more at https://docs.stripe.com/changelog/2022-08-01.
|
681
1457
|
|
682
|
-
|
683
|
-
* Deprecate `delete` method on `Subscription` resource. Please use `cancel` method instead.
|
1458
|
+
"⚠️" symbol highlights breaking changes.
|
684
1459
|
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
1460
|
+
- [#1106](https://github.com/stripe/stripe-ruby/pull/1106) API Updates
|
1461
|
+
- [#1092](https://github.com/stripe/stripe-ruby/pull/1092) API Updates
|
1462
|
+
- [#1090](https://github.com/stripe/stripe-ruby/pull/1090) Use auto-generation for `Invoice` methods
|
1463
|
+
- [#1103](https://github.com/stripe/stripe-ruby/pull/1103) Next major release changes
|
1464
|
+
|
1465
|
+
## 6.6.0-beta.1 - 2022-07-22
|
1466
|
+
|
1467
|
+
- [#1100](https://github.com/stripe/stripe-ruby/pull/1100) API Updates for beta branch
|
1468
|
+
- Updated stable APIs to the latest version
|
1469
|
+
- Add `QuotePhase` resource
|
1470
|
+
- [#1097](https://github.com/stripe/stripe-ruby/pull/1097) API Updates for beta branch
|
1471
|
+
- Updated stable APIs to the latest version
|
1472
|
+
- Add `SubscriptionSchedule.amend` method.
|
1473
|
+
- [#1093](https://github.com/stripe/stripe-ruby/pull/1093) API Updates for beta branch
|
1474
|
+
- Include `server_side_confirmation_beta=v1` beta
|
1475
|
+
- Add `secretKeyConfirmation` to `PaymentIntent`
|
1476
|
+
- [#1085](https://github.com/stripe/stripe-ruby/pull/1085) API Updates for beta branch
|
1477
|
+
- Updated stable APIs to the latest version
|
1478
|
+
- [#1075](https://github.com/stripe/stripe-ruby/pull/1075) Use the generated API version
|
693
1479
|
|
694
1480
|
## 6.5.0 - 2022-06-29
|
695
|
-
|
696
|
-
|
697
|
-
|
1481
|
+
|
1482
|
+
- [#1084](https://github.com/stripe/stripe-ruby/pull/1084) API Updates
|
1483
|
+
- Add support for `deliver_card`, `fail_card`, `return_card`, and `ship_card` test helper methods on resource `Issuing.Card`
|
1484
|
+
- [#1076](https://github.com/stripe/stripe-ruby/pull/1076) fix: Update logging to coerce ASCII-8BIT into UTF-8.
|
698
1485
|
|
699
1486
|
## 6.4.0 - 2022-06-17
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
1487
|
+
|
1488
|
+
- [#1073](https://github.com/stripe/stripe-ruby/pull/1073) API Updates
|
1489
|
+
- Add support for `fund_cash_balance` test helper method on resource `Customer`
|
1490
|
+
- [#1074](https://github.com/stripe/stripe-ruby/pull/1074) Support updating pre-release versions
|
1491
|
+
- [#1072](https://github.com/stripe/stripe-ruby/pull/1072) Trigger workflows on beta branches
|
1492
|
+
- [#1071](https://github.com/stripe/stripe-ruby/pull/1071) Use request_stripe_object for all requests
|
1493
|
+
- [#1070](https://github.com/stripe/stripe-ruby/pull/1070) API Updates
|
706
1494
|
|
707
1495
|
Switch from using meta-programing to generating explicit methods for custom methods.
|
708
|
-
|
1496
|
+
|
1497
|
+
- [#1069](https://github.com/stripe/stripe-ruby/pull/1069) chore: Stop special implementation of Account.persons method.
|
709
1498
|
|
710
1499
|
## 6.3.0 - 2022-06-08
|
711
|
-
|
1500
|
+
|
1501
|
+
- [#1063](https://github.com/stripe/stripe-ruby/pull/1063) fix: Update cash balance methods to no longer require nested ID.
|
712
1502
|
|
713
1503
|
## 6.2.0 - 2022-05-23
|
714
|
-
* [#1060](https://github.com/stripe/stripe-ruby/pull/1060) API Updates
|
715
|
-
* Add support for new resource `Apps.Secret`
|
716
1504
|
|
717
|
-
|
718
|
-
|
719
|
-
* Add support for new resources `Treasury.CreditReversal`, `Treasury.DebitReversal`, `Treasury.FinancialAccountFeatures`, `Treasury.FinancialAccount`, `Treasury.FlowDetails`, `Treasury.InboundTransfer`, `Treasury.OutboundPayment`, `Treasury.OutboundTransfer`, `Treasury.ReceivedCredit`, `Treasury.ReceivedDebit`, `Treasury.TransactionEntry`, and `Treasury.Transaction`
|
720
|
-
* Add support for `retrieve_payment_method` method on resource `Customer`
|
721
|
-
* Add support for `list_owners` and `list` methods on resource `FinancialConnections.Account`
|
1505
|
+
- [#1060](https://github.com/stripe/stripe-ruby/pull/1060) API Updates
|
1506
|
+
- Add support for new resource `Apps.Secret`
|
722
1507
|
|
1508
|
+
## 6.1.0 - 2022-05-19
|
723
1509
|
|
1510
|
+
- [#1057](https://github.com/stripe/stripe-ruby/pull/1057) API Updates
|
1511
|
+
- Add support for new resources `Treasury.CreditReversal`, `Treasury.DebitReversal`, `Treasury.FinancialAccountFeatures`, `Treasury.FinancialAccount`, `Treasury.FlowDetails`, `Treasury.InboundTransfer`, `Treasury.OutboundPayment`, `Treasury.OutboundTransfer`, `Treasury.ReceivedCredit`, `Treasury.ReceivedDebit`, `Treasury.TransactionEntry`, and `Treasury.Transaction`
|
1512
|
+
- Add support for `retrieve_payment_method` method on resource `Customer`
|
1513
|
+
- Add support for `list_owners` and `list` methods on resource `FinancialConnections.Account`
|
724
1514
|
|
725
1515
|
## 6.0.0 - 2022-05-09
|
726
|
-
|
1516
|
+
|
1517
|
+
- [#1056](https://github.com/stripe/stripe-ruby/pull/1056) API Updates
|
727
1518
|
Major version release. The [migration guide](https://github.com/stripe/stripe-ruby/wiki/Migration-Guide-for-v6) contains more information.
|
728
1519
|
|
729
1520
|
(⚠️ = breaking changes):
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
1521
|
+
|
1522
|
+
- ⚠️ Replace the legacy `Order` API with the new `Order` API.
|
1523
|
+
- New methods: `cancel`, `list_line_items`, `reopen`, and `submit`
|
1524
|
+
- Removed methods: `pay` and `return_order`
|
1525
|
+
- Removed resources: `OrderItem` and `OrderReturn`
|
1526
|
+
- ⚠️ Rename `FinancialConnections::Account.refresh` to `FinancialConnections::Account.refresh_account
|
735
1527
|
|
736
1528
|
## 5.55.0 - 2022-05-05
|
737
|
-
* [#1055](https://github.com/stripe/stripe-ruby/pull/1055) API Updates
|
738
|
-
* Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session`
|
739
1529
|
|
1530
|
+
- [#1055](https://github.com/stripe/stripe-ruby/pull/1055) API Updates
|
1531
|
+
- Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session`
|
740
1532
|
|
741
1533
|
## 5.54.0 - 2022-05-03
|
742
|
-
|
743
|
-
|
1534
|
+
|
1535
|
+
- [#1053](https://github.com/stripe/stripe-ruby/pull/1053) API Updates
|
1536
|
+
- Add support for new resource `CashBalance`
|
744
1537
|
|
745
1538
|
## 5.53.0 - 2022-04-21
|
746
|
-
|
747
|
-
|
1539
|
+
|
1540
|
+
- [#1050](https://github.com/stripe/stripe-ruby/pull/1050) API Updates
|
1541
|
+
- Add support for `expire` test helper method on resource `Refund`
|
748
1542
|
|
749
1543
|
## 5.52.0 - 2022-04-18
|
750
|
-
|
751
|
-
|
1544
|
+
|
1545
|
+
- [#1046](https://github.com/stripe/stripe-ruby/pull/1046) [#1047](https://github.com/stripe/stripe-ruby/pull/1047) API Updates
|
1546
|
+
- Add support for new resources `FundingInstructions` and `Terminal.Configuration`
|
752
1547
|
|
753
1548
|
## 5.51.0 - 2022-04-15
|
754
|
-
|
1549
|
+
|
1550
|
+
- [#1046](https://github.com/stripe/stripe-ruby/pull/1046) This release was incomplete and was yanked from RubyGems immediately after it was published.
|
755
1551
|
|
756
1552
|
## 5.50.0 - 2022-04-13
|
757
|
-
|
758
|
-
|
1553
|
+
|
1554
|
+
- [#1045](https://github.com/stripe/stripe-ruby/pull/1045) API Updates
|
1555
|
+
- Add support for `increment_authorization` method on resource `PaymentIntent`
|
759
1556
|
|
760
1557
|
## 5.49.0 - 2022-04-08
|
761
|
-
|
762
|
-
|
1558
|
+
|
1559
|
+
- [#1043](https://github.com/stripe/stripe-ruby/pull/1043) API Updates
|
1560
|
+
- Add support for `apply_customer_balance` method on resource `PaymentIntent`
|
763
1561
|
|
764
1562
|
## 5.48.0 - 2022-03-30
|
765
|
-
|
766
|
-
|
1563
|
+
|
1564
|
+
- [#1041](https://github.com/stripe/stripe-ruby/pull/1041) API Updates
|
1565
|
+
- Add support for `cancel_action`, `process_payment_intent`, `process_setup_intent`, and `set_reader_display` methods on resource `Terminal.Reader`
|
767
1566
|
|
768
1567
|
## 5.47.0 - 2022-03-29
|
769
|
-
* [#1040](https://github.com/stripe/stripe-ruby/pull/1040) API Updates
|
770
|
-
* Add support for Search API
|
771
|
-
* Add support for `search` method on resources `Charge`, `Customer`, `Invoice`, `PaymentIntent`, `Price`, `Product`, and `Subscription`
|
772
1568
|
|
773
|
-
|
1569
|
+
- [#1040](https://github.com/stripe/stripe-ruby/pull/1040) API Updates
|
1570
|
+
|
1571
|
+
- Add support for Search API
|
1572
|
+
- Add support for `search` method on resources `Charge`, `Customer`, `Invoice`, `PaymentIntent`, `Price`, `Product`, and `Subscription`
|
1573
|
+
|
1574
|
+
- [#1034](https://github.com/stripe/stripe-ruby/pull/1034) Add supporting classes for test helper generation
|
774
1575
|
|
775
1576
|
## 5.46.0 - 2022-03-23
|
776
|
-
|
777
|
-
|
778
|
-
|
1577
|
+
|
1578
|
+
- [#1039](https://github.com/stripe/stripe-ruby/pull/1039) API Updates
|
1579
|
+
- Add support for `cancel` method on resource `Refund`
|
1580
|
+
- [#992](https://github.com/stripe/stripe-ruby/pull/992) Add support for Search API
|
779
1581
|
|
780
1582
|
## 5.45.0 - 2022-03-01
|
781
|
-
|
782
|
-
|
1583
|
+
|
1584
|
+
- [#1035](https://github.com/stripe/stripe-ruby/pull/1035) API Updates
|
1585
|
+
- Add support for new resource `TestHelpers.TestClock`
|
783
1586
|
|
784
1587
|
## 5.44.0 - 2022-02-16
|
785
|
-
|
786
|
-
|
1588
|
+
|
1589
|
+
- [#1032](https://github.com/stripe/stripe-ruby/pull/1032) API Updates
|
1590
|
+
- Add support for `verify_microdeposits` method on resources `PaymentIntent` and `SetupIntent`
|
787
1591
|
|
788
1592
|
## 5.43.0 - 2022-01-20
|
789
|
-
|
790
|
-
|
1593
|
+
|
1594
|
+
- [#1031](https://github.com/stripe/stripe-ruby/pull/1031) API Updates
|
1595
|
+
- Add support for new resource `PaymentLink`
|
791
1596
|
|
792
1597
|
## 5.42.0 - 2021-12-13
|
793
|
-
|
1598
|
+
|
1599
|
+
- [#1022](https://github.com/stripe/stripe-ruby/pull/1022) Add connection manager logging and include object IDs in logging.
|
794
1600
|
|
795
1601
|
## 5.41.0 - 2021-11-16
|
796
|
-
|
797
|
-
|
1602
|
+
|
1603
|
+
- [#1017](https://github.com/stripe/stripe-ruby/pull/1017) API Updates
|
1604
|
+
- Add support for new resource `ShippingRate`
|
798
1605
|
|
799
1606
|
## 5.40.0 - 2021-11-11
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
1607
|
+
|
1608
|
+
- [#1015](https://github.com/stripe/stripe-ruby/pull/1015) API Updates
|
1609
|
+
- Add support for `expire` method on resource `Checkout.Session`
|
1610
|
+
- [#1013](https://github.com/stripe/stripe-ruby/pull/1013) Add tests for child resources.
|
1611
|
+
- [#1012](https://github.com/stripe/stripe-ruby/pull/1012) Add tests for namespaced resources.
|
1612
|
+
- [#1011](https://github.com/stripe/stripe-ruby/pull/1011) codegen: 3 more files
|
805
1613
|
|
806
1614
|
## 5.39.0 - 2021-10-11
|
807
|
-
|
808
|
-
|
1615
|
+
|
1616
|
+
- [#1010](https://github.com/stripe/stripe-ruby/pull/1010) API Updates
|
1617
|
+
- Add support for `list_payment_methods` method on resource `Customer`
|
809
1618
|
|
810
1619
|
## 5.38.0 - 2021-08-10
|
811
|
-
|
812
|
-
|
813
|
-
|
1620
|
+
|
1621
|
+
- [#993](https://github.com/stripe/stripe-ruby/pull/993) Add `request_id` to RequestEndEvent
|
1622
|
+
- [#991](https://github.com/stripe/stripe-ruby/pull/991) Codegen more files
|
1623
|
+
- [#989](https://github.com/stripe/stripe-ruby/pull/989) Remove unused API error types from docs.
|
814
1624
|
|
815
1625
|
## 5.37.0 - 2021-07-14
|
816
|
-
|
817
|
-
|
1626
|
+
|
1627
|
+
- [#988](https://github.com/stripe/stripe-ruby/pull/988) API Updates
|
1628
|
+
- Add support for `list_computed_upfront_line_items` method on resource `Quote`
|
818
1629
|
|
819
1630
|
## 5.36.0 - 2021-07-09
|
820
|
-
|
1631
|
+
|
1632
|
+
- [#987](https://github.com/stripe/stripe-ruby/pull/987) Add support for `Quote` API
|
821
1633
|
|
822
1634
|
## 5.35.0 - 2021-06-30
|
823
|
-
|
824
|
-
|
825
|
-
|
1635
|
+
|
1636
|
+
- [#985](https://github.com/stripe/stripe-ruby/pull/985) Update normalize_opts to use dup instead of clone.
|
1637
|
+
- [#982](https://github.com/stripe/stripe-ruby/pull/982) Deprecate travis
|
1638
|
+
- [#983](https://github.com/stripe/stripe-ruby/pull/983) Add support for making a request and receiving the response as a stream.
|
826
1639
|
|
827
1640
|
## 5.34.0 - 2021-06-04
|
828
|
-
|
829
|
-
|
1641
|
+
|
1642
|
+
- [#981](https://github.com/stripe/stripe-ruby/pull/981) API Updates
|
1643
|
+
- Add support for `TaxCode` API.
|
830
1644
|
|
831
1645
|
## 5.33.0 - 2021-05-19
|
832
|
-
|
1646
|
+
|
1647
|
+
- [#979](https://github.com/stripe/stripe-ruby/pull/979) Add support for the Identify VerificationSession and VerificationReport APIs
|
833
1648
|
|
834
1649
|
## 5.32.1 - 2021-04-05
|
835
|
-
|
1650
|
+
|
1651
|
+
- Correct use of regexp `match` in gemspec for old versions of Ruby
|
836
1652
|
|
837
1653
|
## 5.32.0 - 2021-04-05
|
838
|
-
|
1654
|
+
|
1655
|
+
- [#973](https://github.com/stripe/stripe-ruby/pull/973) Reduce packed gem size
|
839
1656
|
|
840
1657
|
## 5.31.0 - 2021-04-02
|
841
|
-
|
842
|
-
|
843
|
-
|
844
|
-
|
845
|
-
|
1658
|
+
|
1659
|
+
- [#968](https://github.com/stripe/stripe-ruby/pull/968) Allow StripeClient to be configured per instance
|
1660
|
+
- [#971](https://github.com/stripe/stripe-ruby/pull/971) On config change, only clear connection managers for changed config
|
1661
|
+
- [#972](https://github.com/stripe/stripe-ruby/pull/972) Rename `Stripe.configuration` to `Stripe.config`
|
1662
|
+
- [#970](https://github.com/stripe/stripe-ruby/pull/970) Reserve some critical field names when adding `StripeObject` accessors
|
1663
|
+
- [#967](https://github.com/stripe/stripe-ruby/pull/967) CI: github actions
|
846
1664
|
|
847
1665
|
## 5.30.0 - 2021-02-22
|
848
|
-
|
1666
|
+
|
1667
|
+
- [#965](https://github.com/stripe/stripe-ruby/pull/965) Add support for the Billing Portal Configuration API
|
849
1668
|
|
850
1669
|
## 5.29.1 - 2021-02-09
|
851
|
-
|
1670
|
+
|
1671
|
+
- [#964](https://github.com/stripe/stripe-ruby/pull/964) Fix return value of `Customer#delete_discount`
|
852
1672
|
|
853
1673
|
## 5.29.0 - 2021-01-05
|
854
|
-
|
1674
|
+
|
1675
|
+
- [#952](https://github.com/stripe/stripe-ruby/pull/952) Allow client_id configuration on instance config
|
855
1676
|
|
856
1677
|
## 5.28.0 - 2020-10-14
|
857
|
-
|
1678
|
+
|
1679
|
+
- [#950](https://github.com/stripe/stripe-ruby/pull/950) Add configuration option for `write_timeout` for connections on Ruby 2.6+
|
858
1680
|
|
859
1681
|
## 5.27.0 - 2020-10-14
|
860
|
-
|
1682
|
+
|
1683
|
+
- [#951](https://github.com/stripe/stripe-ruby/pull/951) Add support for the Payout Reverse API
|
861
1684
|
|
862
1685
|
## 5.26.0 - 2020-09-29
|
863
|
-
|
1686
|
+
|
1687
|
+
- [#949](https://github.com/stripe/stripe-ruby/pull/949) Add support for the `SetupAttempt` resource and List API
|
864
1688
|
|
865
1689
|
## 5.25.0 - 2020-09-02
|
866
|
-
|
1690
|
+
|
1691
|
+
- [#944](https://github.com/stripe/stripe-ruby/pull/944) Add support for the Issuing Dispute Submit API
|
867
1692
|
|
868
1693
|
## 5.24.0 - 2020-08-26
|
869
|
-
|
870
|
-
|
1694
|
+
|
1695
|
+
- [#939](https://github.com/stripe/stripe-ruby/pull/939) Extract configurations into separate object
|
1696
|
+
- [#940](https://github.com/stripe/stripe-ruby/pull/940) Fix typo in documentation of `stripe_object.rb`
|
871
1697
|
|
872
1698
|
## 5.23.1 - 2020-08-05
|
873
|
-
|
1699
|
+
|
1700
|
+
- [#936](https://github.com/stripe/stripe-ruby/pull/936) Rename API resource's `request` method
|
874
1701
|
|
875
1702
|
## 5.23.0 - 2020-08-05
|
876
|
-
|
1703
|
+
|
1704
|
+
- [#937](https://github.com/stripe/stripe-ruby/pull/937) Add support for the `PromotionCode` resource and APIs
|
877
1705
|
|
878
1706
|
## 5.22.0 - 2020-05-11
|
879
|
-
|
1707
|
+
|
1708
|
+
- [#918](https://github.com/stripe/stripe-ruby/pull/918) Add support for the `LineItem` resource and APIs
|
880
1709
|
|
881
1710
|
## 5.21.0 - 2020-04-29
|
882
|
-
|
1711
|
+
|
1712
|
+
- [#917](https://github.com/stripe/stripe-ruby/pull/917) Add support for the `Price` resource and APIs
|
883
1713
|
|
884
1714
|
## 5.20.0 - 2020-04-27
|
885
|
-
|
1715
|
+
|
1716
|
+
- [#916](https://github.com/stripe/stripe-ruby/pull/916) Add new `.generate_header` method for webhooks
|
886
1717
|
|
887
1718
|
## 5.19.0 - 2020-04-24
|
888
|
-
|
1719
|
+
|
1720
|
+
- [#915](https://github.com/stripe/stripe-ruby/pull/915) Expose `Stripe::Webhook.compute_signature` publicly
|
889
1721
|
|
890
1722
|
## 5.18.0 - 2020-04-22
|
891
|
-
|
1723
|
+
|
1724
|
+
- [#911](https://github.com/stripe/stripe-ruby/pull/911) Add support for `BillingPortal` namespace and `Session` resource and APIs
|
892
1725
|
|
893
1726
|
## 5.17.0 - 2020-02-26
|
894
|
-
|
1727
|
+
|
1728
|
+
- [#907](https://github.com/stripe/stripe-ruby/pull/907) Add `StripeError#idempotent_replayed?`
|
895
1729
|
|
896
1730
|
## 5.16.0 - 2020-02-26
|
897
|
-
|
898
|
-
|
1731
|
+
|
1732
|
+
- [#906](https://github.com/stripe/stripe-ruby/pull/906) Add support for listing Checkout sessions
|
1733
|
+
- [#903](https://github.com/stripe/stripe-ruby/pull/903) Upgrade to Rubocop 0.80
|
899
1734
|
|
900
1735
|
## 5.15.0 - 2020-02-10
|
901
|
-
|
1736
|
+
|
1737
|
+
- [#902](https://github.com/stripe/stripe-ruby/pull/902) Add `request_begin` instrumentation callback
|
902
1738
|
|
903
1739
|
## 5.14.0 - 2020-01-14
|
904
|
-
|
905
|
-
|
906
|
-
|
907
|
-
|
1740
|
+
|
1741
|
+
- [#896](https://github.com/stripe/stripe-ruby/pull/896) Add support for `CreditNoteLineItem`
|
1742
|
+
- [#894](https://github.com/stripe/stripe-ruby/pull/894) Clean up test output by capturing `$stderr` when we expect warnings
|
1743
|
+
- [#892](https://github.com/stripe/stripe-ruby/pull/892) Explicitly pass a parameter as hash to be more ruby 2.7 friendly
|
1744
|
+
- [#893](https://github.com/stripe/stripe-ruby/pull/893) Upgrade Rubocop to 0.79
|
908
1745
|
|
909
1746
|
## 5.13.0 - 2020-01-08
|
910
|
-
|
1747
|
+
|
1748
|
+
- [#891](https://github.com/stripe/stripe-ruby/pull/891) Fix most Ruby 2.7 warnings
|
911
1749
|
|
912
1750
|
## 5.12.1 - 2020-01-06
|
913
|
-
|
1751
|
+
|
1752
|
+
- [#890](https://github.com/stripe/stripe-ruby/pull/890) Override API key with `client_secret` in `OAuth.token`
|
914
1753
|
|
915
1754
|
## 5.12.0 - 2020-01-02
|
916
|
-
|
1755
|
+
|
1756
|
+
- [#889](https://github.com/stripe/stripe-ruby/pull/889) Add support for retrieve source transaction API method
|
917
1757
|
|
918
1758
|
## 5.11.0 - 2019-11-26
|
919
|
-
|
1759
|
+
|
1760
|
+
- [#885](https://github.com/stripe/stripe-ruby/pull/885) Add support for `CreditNote` preview
|
920
1761
|
|
921
1762
|
## 5.10.0 - 2019-11-08
|
922
|
-
|
1763
|
+
|
1764
|
+
- [#882](https://github.com/stripe/stripe-ruby/pull/882) Add list_usage_record_summaries and list_source_transactions
|
923
1765
|
|
924
1766
|
## 5.9.0 - 2019-11-07
|
925
|
-
|
1767
|
+
|
1768
|
+
- [#870](https://github.com/stripe/stripe-ruby/pull/870) Add request instrumentation callback (see `README.md` for usage example)
|
926
1769
|
|
927
1770
|
## 5.8.0 - 2019-11-05
|
928
|
-
|
929
|
-
|
930
|
-
|
931
|
-
|
1771
|
+
|
1772
|
+
- [#879](https://github.com/stripe/stripe-ruby/pull/879) Add support for `Mandate`
|
1773
|
+
- [#876](https://github.com/stripe/stripe-ruby/pull/876) Add additional per-request configuration documentation
|
1774
|
+
- [#874](https://github.com/stripe/stripe-ruby/pull/874) Raise an error when requests params are invalid
|
1775
|
+
- [#873](https://github.com/stripe/stripe-ruby/pull/873) Contributor Covenant
|
932
1776
|
|
933
1777
|
## 5.7.1 - 2019-10-15
|
934
|
-
|
1778
|
+
|
1779
|
+
- [#869](https://github.com/stripe/stripe-ruby/pull/869) Fixes the misnamed `connection_base=` setter to be named `connect_base=`
|
935
1780
|
|
936
1781
|
## 5.7.0 - 2019-10-10
|
937
|
-
|
1782
|
+
|
1783
|
+
- [#865](https://github.com/stripe/stripe-ruby/pull/865) Support backwards pagination with list's `#auto_paging_each`
|
938
1784
|
|
939
1785
|
## 5.6.0 - 2019-10-04
|
940
|
-
|
1786
|
+
|
1787
|
+
- [#861](https://github.com/stripe/stripe-ruby/pull/861) Nicer error when specifying non-nil non-string opt value
|
941
1788
|
|
942
1789
|
## 5.5.0 - 2019-10-03
|
943
|
-
|
1790
|
+
|
1791
|
+
- [#859](https://github.com/stripe/stripe-ruby/pull/859) User-friendly messages and retries for `EOFError`, `Errno::ECONNRESET`, `Errno::ETIMEDOUT`, and `Errno::EHOSTUNREACH` network errors
|
944
1792
|
|
945
1793
|
## 5.4.1 - 2019-10-01
|
946
|
-
|
1794
|
+
|
1795
|
+
- [#858](https://github.com/stripe/stripe-ruby/pull/858) Drop Timecop dependency
|
947
1796
|
|
948
1797
|
## 5.4.0 - 2019-10-01
|
949
|
-
|
1798
|
+
|
1799
|
+
- [#857](https://github.com/stripe/stripe-ruby/pull/857) Move to monotonic time for duration calculations
|
950
1800
|
|
951
1801
|
## 5.3.0 - 2019-10-01
|
952
|
-
|
1802
|
+
|
1803
|
+
- [#853](https://github.com/stripe/stripe-ruby/pull/853) Support `Stripe-Should-Retry` header
|
953
1804
|
|
954
1805
|
## 5.2.0 - 2019-09-19
|
955
|
-
|
1806
|
+
|
1807
|
+
- [#851](https://github.com/stripe/stripe-ruby/pull/851) Introduce system for garbage collecting connection managers
|
956
1808
|
|
957
1809
|
## 5.1.1 - 2019-09-04
|
958
|
-
|
1810
|
+
|
1811
|
+
- [#845](https://github.com/stripe/stripe-ruby/pull/845) Transfer the request_id from the http_headers to error.
|
959
1812
|
|
960
1813
|
## 5.1.0 - 2019-08-27
|
961
|
-
|
1814
|
+
|
1815
|
+
- [#841](https://github.com/stripe/stripe-ruby/pull/841) Retry requests on a 429 that's a lock timeout
|
962
1816
|
|
963
1817
|
## 5.0.1 - 2019-08-20
|
964
|
-
|
1818
|
+
|
1819
|
+
- [#836](https://github.com/stripe/stripe-ruby/pull/836) Increase connection keep alive timeout to 30 seconds
|
965
1820
|
|
966
1821
|
## 5.0.0 - 2019-08-20
|
1822
|
+
|
967
1823
|
Major version release. The [migration guide](https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v5) contains a detailed list of backwards-incompatible changes with upgrade instructions.
|
968
1824
|
|
969
1825
|
Pull requests included in this release (cf. [#815](https://github.com/stripe/stripe-ruby/pull/815)) (⚠️ = breaking changes):
|
970
|
-
|
971
|
-
|
972
|
-
|
973
|
-
|
974
|
-
|
975
|
-
|
976
|
-
|
977
|
-
|
978
|
-
|
979
|
-
|
980
|
-
|
981
|
-
|
982
|
-
|
983
|
-
|
984
|
-
|
985
|
-
|
986
|
-
|
1826
|
+
|
1827
|
+
- ⚠️ [#813](https://github.com/stripe/stripe-ruby/pull/813): Convert library to use built-in `Net::HTTP`
|
1828
|
+
- ⚠️ [#816](https://github.com/stripe/stripe-ruby/pull/816): Make `code` argument in `CardError` named instead of positional.
|
1829
|
+
- ⚠️ [#817](https://github.com/stripe/stripe-ruby/pull/817): Drop support for very old Ruby versions.
|
1830
|
+
- [#818](https://github.com/stripe/stripe-ruby/pull/818): Bump Rubocop to latest version
|
1831
|
+
- [#819](https://github.com/stripe/stripe-ruby/pull/819): Ruby minimum version increase followup
|
1832
|
+
- ⚠️ [#820](https://github.com/stripe/stripe-ruby/pull/820): Remove old deprecated methods
|
1833
|
+
- ⚠️ [#823](https://github.com/stripe/stripe-ruby/pull/823): Remove all alias for list methods
|
1834
|
+
- ⚠️ [#826](https://github.com/stripe/stripe-ruby/pull/826): Remove `UsageRecord.create` method
|
1835
|
+
- ⚠️ [#827](https://github.com/stripe/stripe-ruby/pull/827): Remove `IssuerFraudRecord`
|
1836
|
+
- [#811](https://github.com/stripe/stripe-ruby/pull/811): Add `ErrorObject` to `StripeError` exceptions
|
1837
|
+
- [#828](https://github.com/stripe/stripe-ruby/pull/828): Tweak retry logic to be a little more like stripe-node
|
1838
|
+
- [#829](https://github.com/stripe/stripe-ruby/pull/829): Reset connections when connection-changing configuration changes (optional)
|
1839
|
+
- [#830](https://github.com/stripe/stripe-ruby/pull/830): Fix inverted sign for 500 retries
|
1840
|
+
- ⚠️[#831](https://github.com/stripe/stripe-ruby/pull/831): Remove a few more very old deprecated methods
|
1841
|
+
- [#832](https://github.com/stripe/stripe-ruby/pull/832): Minor cleanup in `StripeClient`
|
1842
|
+
- [#833](https://github.com/stripe/stripe-ruby/pull/833): Do better bookkeeping when tracking state in `Thread.current`
|
1843
|
+
- [#834](https://github.com/stripe/stripe-ruby/pull/834): Add `Invoice.list_upcoming_line_items` method
|
987
1844
|
|
988
1845
|
## 4.24.0 - 2019-08-12
|
989
|
-
|
1846
|
+
|
1847
|
+
- [#825](https://github.com/stripe/stripe-ruby/pull/825) Add `SubscriptionItem.create_usage_record` method
|
990
1848
|
- This release also removed the `SubscriptionSchedule.revisions` method. This should have been included in the previous release (4.23.0)
|
991
1849
|
|
992
1850
|
## 4.23.0 - 2019-08-09
|
993
|
-
|
1851
|
+
|
1852
|
+
- [#824](https://github.com/stripe/stripe-ruby/pull/824) Remove SubscriptionScheduleRevision
|
994
1853
|
- This is technically a breaking change. We've chosen to release it as a minor vesion bump because the associated API is unused.
|
995
1854
|
|
996
1855
|
## 4.22.1 - 2019-08-09
|
997
|
-
|
1856
|
+
|
1857
|
+
- [#808](https://github.com/stripe/stripe-ruby/pull/808) Unify request/response handling
|
998
1858
|
|
999
1859
|
## 4.22.0 - 2019-07-30
|
1000
|
-
|
1860
|
+
|
1861
|
+
- [#821](https://github.com/stripe/stripe-ruby/pull/821) Listing `BalanceTransaction` objects now uses `/v1/balance_transactions` instead of `/v1/balance/history`
|
1001
1862
|
|
1002
1863
|
## 4.21.3 - 2019-07-15
|
1003
|
-
|
1864
|
+
|
1865
|
+
- [#810](https://github.com/stripe/stripe-ruby/pull/810) Better error message when passing non-string to custom method
|
1004
1866
|
|
1005
1867
|
## 4.21.2 - 2019-07-05
|
1006
|
-
|
1868
|
+
|
1869
|
+
- [#806](https://github.com/stripe/stripe-ruby/pull/806) Revert back to `initialize_from` from `Util.convert_to_stripe_object`
|
1007
1870
|
|
1008
1871
|
## 4.21.1 - 2019-07-04
|
1009
|
-
|
1872
|
+
|
1873
|
+
- [#807](https://github.com/stripe/stripe-ruby/pull/807) Add gem metadata
|
1010
1874
|
|
1011
1875
|
## 4.21.0 - 2019-06-28
|
1012
|
-
|
1876
|
+
|
1877
|
+
- [#803](https://github.com/stripe/stripe-ruby/pull/803) Add support for the `SetupIntent` resource and APIs
|
1013
1878
|
|
1014
1879
|
## 4.20.1 - 2019-06-28
|
1015
|
-
|
1880
|
+
|
1881
|
+
- [#805](https://github.com/stripe/stripe-ruby/pull/805) Fix formatting in `ConnectionFailed` error message
|
1016
1882
|
|
1017
1883
|
## 4.20.0 - 2019-06-24
|
1018
|
-
|
1884
|
+
|
1885
|
+
- [#800](https://github.com/stripe/stripe-ruby/pull/800) Enable request latency telemetry by default
|
1019
1886
|
|
1020
1887
|
## 4.19.0 - 2019-06-17
|
1021
|
-
|
1888
|
+
|
1889
|
+
- [#770](https://github.com/stripe/stripe-ruby/pull/770) Add support for `CustomerBalanceTransaction` resource and APIs
|
1022
1890
|
|
1023
1891
|
## 4.18.1 - 2019-05-27
|
1024
|
-
|
1892
|
+
|
1893
|
+
- [#789](https://github.com/stripe/stripe-ruby/pull/789) Allow `Order#pay` to be called without arguments
|
1025
1894
|
|
1026
1895
|
## 4.18.0 - 2019-05-23
|
1027
|
-
|
1896
|
+
|
1897
|
+
- [#783](https://github.com/stripe/stripe-ruby/pull/783) Add support for `radar.early_fraud_warning` resource
|
1028
1898
|
|
1029
1899
|
## 4.17.0 - 2019-05-14
|
1030
|
-
|
1900
|
+
|
1901
|
+
- [#779](https://github.com/stripe/stripe-ruby/pull/779) Add support for the Capability resource and APIs
|
1031
1902
|
|
1032
1903
|
## 4.16.0 - 2019-04-24
|
1033
|
-
|
1904
|
+
|
1905
|
+
- [#760](https://github.com/stripe/stripe-ruby/pull/760) Add support for the `TaxRate` resource and APIs
|
1034
1906
|
|
1035
1907
|
## 4.15.0 - 2019-04-22
|
1036
|
-
|
1908
|
+
|
1909
|
+
- [#762](https://github.com/stripe/stripe-ruby/pull/762) Add support for the `TaxId` resource and APIs
|
1037
1910
|
|
1038
1911
|
## 4.14.0 - 2019-04-18
|
1039
|
-
|
1912
|
+
|
1913
|
+
- [#758](https://github.com/stripe/stripe-ruby/pull/758) Add support for the `CreditNote` resource and APIs
|
1040
1914
|
|
1041
1915
|
## 4.13.0 - 2019-04-16
|
1042
|
-
|
1916
|
+
|
1917
|
+
- [#766](https://github.com/stripe/stripe-ruby/pull/766) Relax constraints on objects that we'll accept as a file (now they just need to respond to `#read`)
|
1043
1918
|
|
1044
1919
|
## 4.12.0 - 2019-04-02
|
1045
|
-
|
1046
|
-
|
1920
|
+
|
1921
|
+
- [#752](https://github.com/stripe/stripe-ruby/pull/752) Add `.delete` class method on deletable API resources
|
1922
|
+
- [#754](https://github.com/stripe/stripe-ruby/pull/754) Add class methods for all custom API requests (e.g. `Charge.capture`)
|
1047
1923
|
|
1048
1924
|
## 4.11.0 - 2019-03-26
|
1049
|
-
|
1925
|
+
|
1926
|
+
- [#753](https://github.com/stripe/stripe-ruby/pull/753) Add a global proxy configuration parameter
|
1050
1927
|
|
1051
1928
|
## 4.10.0 - 2019-03-18
|
1052
|
-
|
1053
|
-
|
1054
|
-
|
1929
|
+
|
1930
|
+
- [#745](https://github.com/stripe/stripe-ruby/pull/745) Add support for the `PaymentMethod` resource and APIs
|
1931
|
+
- [#747](https://github.com/stripe/stripe-ruby/pull/747) Add support for retrieving a Checkout `Session`
|
1932
|
+
- [#748](https://github.com/stripe/stripe-ruby/pull/748) Add support for deleting a Terminal `Location` and `Reader`
|
1055
1933
|
|
1056
1934
|
## 4.9.1 - 2019-03-18
|
1057
|
-
|
1935
|
+
|
1936
|
+
- [#750](https://github.com/stripe/stripe-ruby/pull/750) Catch error and warn if unable to remove a method
|
1058
1937
|
|
1059
1938
|
## 4.9.0 - 2019-02-12
|
1060
|
-
|
1939
|
+
|
1940
|
+
- [#739](https://github.com/stripe/stripe-ruby/pull/739) Add support for `SubscriptionSchedule` and `SubscriptionScheduleRevision`
|
1061
1941
|
|
1062
1942
|
## 4.8.1 - 2019-02-11
|
1063
|
-
|
1943
|
+
|
1944
|
+
- [#743](https://github.com/stripe/stripe-ruby/pull/743) Fix bug in file uploading introduced in #741
|
1064
1945
|
|
1065
1946
|
## 4.8.0 - 2019-02-03
|
1066
|
-
|
1947
|
+
|
1948
|
+
- [#741](https://github.com/stripe/stripe-ruby/pull/741) Use `FaradayStripeEncoder` to encode all parameter styles
|
1067
1949
|
|
1068
1950
|
## 4.7.1 - 2019-02-01
|
1069
|
-
|
1951
|
+
|
1952
|
+
- [#740](https://github.com/stripe/stripe-ruby/pull/740) Fix query encoding for integer-indexed maps
|
1070
1953
|
|
1071
1954
|
## 4.7.0 - 2019-01-23
|
1072
|
-
|
1955
|
+
|
1956
|
+
- [#735](https://github.com/stripe/stripe-ruby/pull/735) Rename `CheckoutSession` to `Session` and move it under the `Checkout` namespace. This is a breaking change, but we've reached out to affected merchants and all new merchants would use the new approach.
|
1073
1957
|
|
1074
1958
|
## 4.6.0 - 2019-01-21
|
1075
|
-
|
1959
|
+
|
1960
|
+
- [#736](https://github.com/stripe/stripe-ruby/pull/736) Properly serialize `individual` on `Account` objects
|
1076
1961
|
|
1077
1962
|
## 4.5.0 - 2019-01-02
|
1078
|
-
|
1963
|
+
|
1964
|
+
- [#719](https://github.com/stripe/stripe-ruby/pull/719) Generate OAuth authorize URLs for Express accounts as well as standard
|
1079
1965
|
|
1080
1966
|
## 4.4.1 - 2018-12-31
|
1081
|
-
|
1967
|
+
|
1968
|
+
- [#718](https://github.com/stripe/stripe-ruby/pull/718) Fix an error message typo
|
1082
1969
|
|
1083
1970
|
## 4.4.0 - 2018-12-21
|
1084
|
-
|
1971
|
+
|
1972
|
+
- [#716](https://github.com/stripe/stripe-ruby/pull/716) Add support for the `CheckoutSession` resource
|
1085
1973
|
|
1086
1974
|
## 4.3.0 - 2018-12-10
|
1087
|
-
|
1975
|
+
|
1976
|
+
- [#711](https://github.com/stripe/stripe-ruby/pull/711) Add support for account links
|
1088
1977
|
|
1089
1978
|
## 4.2.0 - 2018-11-28
|
1090
|
-
|
1979
|
+
|
1980
|
+
- [#705](https://github.com/stripe/stripe-ruby/pull/705) Add support for the `Review` APIs
|
1091
1981
|
|
1092
1982
|
## 4.1.0 - 2018-11-27
|
1093
|
-
|
1983
|
+
|
1984
|
+
- [#695](https://github.com/stripe/stripe-ruby/pull/695) Add support for `ValueList` and `ValueListItem` for Radar
|
1094
1985
|
|
1095
1986
|
## 4.0.3 - 2018-11-19
|
1096
|
-
|
1987
|
+
|
1988
|
+
- [#703](https://github.com/stripe/stripe-ruby/pull/703) Don't use `Net::HTTP::Persistent` on Windows where it's not well supported
|
1097
1989
|
|
1098
1990
|
## 4.0.2 - 2018-11-16
|
1099
|
-
|
1991
|
+
|
1992
|
+
- [#701](https://github.com/stripe/stripe-ruby/pull/701) Require minimum Faraday 0.13 for proper support of persistent connections
|
1100
1993
|
|
1101
1994
|
## 4.0.1 - 2018-11-15
|
1102
|
-
|
1995
|
+
|
1996
|
+
- [#699](https://github.com/stripe/stripe-ruby/pull/699) Only send telemetry if `Request-Id` was present in the response
|
1103
1997
|
|
1104
1998
|
## 4.0.0 - 2018-11-15
|
1105
|
-
|
1106
|
-
|
1999
|
+
|
2000
|
+
- [#698](https://github.com/stripe/stripe-ruby/pull/698) Use persistent connections by default through `Net::HTTP::Persistent`
|
2001
|
+
- [#698](https://github.com/stripe/stripe-ruby/pull/698) Drop support for Ruby 2.0 (which we consider a breaking change here)
|
1107
2002
|
|
1108
2003
|
## 3.31.1 - 2018-11-12
|
1109
|
-
|
2004
|
+
|
2005
|
+
- [#697](https://github.com/stripe/stripe-ruby/pull/697) Send telemetry in milliseconds specifically
|
1110
2006
|
|
1111
2007
|
## 3.31.0 - 2018-11-12
|
1112
|
-
|
2008
|
+
|
2009
|
+
- [#696](https://github.com/stripe/stripe-ruby/pull/696) Add configurable telemetry to gather information on client-side request latency
|
1113
2010
|
|
1114
2011
|
## 3.30.0 - 2018-11-08
|
1115
|
-
|
2012
|
+
|
2013
|
+
- [#693](https://github.com/stripe/stripe-ruby/pull/693) Add new API endpoints for the `Invoice` resource.
|
1116
2014
|
|
1117
2015
|
## 3.29.0 - 2018-10-30
|
1118
|
-
|
1119
|
-
|
2016
|
+
|
2017
|
+
- [#692](https://github.com/stripe/stripe-ruby/pull/692) Add support for the `Person` resource
|
2018
|
+
- [#694](https://github.com/stripe/stripe-ruby/pull/694) Add support for the `WebhookEndpoint` resource
|
1120
2019
|
|
1121
2020
|
## 3.28.0 - 2018-09-24
|
1122
|
-
|
2021
|
+
|
2022
|
+
- [#690](https://github.com/stripe/stripe-ruby/pull/690) Add support for Stripe Terminal
|
1123
2023
|
|
1124
2024
|
## 3.27.0 - 2018-09-24
|
1125
|
-
|
2025
|
+
|
2026
|
+
- [#689](https://github.com/stripe/stripe-ruby/pull/689) Rename `FileUpload` to `File`
|
1126
2027
|
|
1127
2028
|
## 3.26.1 - 2018-09-14
|
1128
|
-
|
2029
|
+
|
2030
|
+
- [#688](https://github.com/stripe/stripe-ruby/pull/688) Fix hash equality on `StripeObject`
|
1129
2031
|
|
1130
2032
|
## 3.26.0 - 2018-09-05
|
1131
|
-
|
2033
|
+
|
2034
|
+
- [#681](https://github.com/stripe/stripe-ruby/pull/681) Add support for reporting resources
|
1132
2035
|
|
1133
2036
|
## 3.25.0 - 2018-08-28
|
1134
|
-
|
2037
|
+
|
2038
|
+
- [#678](https://github.com/stripe/stripe-ruby/pull/678) Allow payment intent `#cancel`, `#capture`, and `#confirm` to take their own parameters
|
1135
2039
|
|
1136
2040
|
## 3.24.0 - 2018-08-27
|
1137
|
-
|
2041
|
+
|
2042
|
+
- [#675](https://github.com/stripe/stripe-ruby/pull/675) Remove support for `BitcoinReceiver` write-actions
|
1138
2043
|
|
1139
2044
|
## 3.23.0 - 2018-08-23
|
1140
|
-
|
2045
|
+
|
2046
|
+
- [#676](https://github.com/stripe/stripe-ruby/pull/676) Add support for usage record summaries
|
1141
2047
|
|
1142
2048
|
## 3.22.0 - 2018-08-15
|
1143
|
-
|
2049
|
+
|
2050
|
+
- [#674](https://github.com/stripe/stripe-ruby/pull/674) Use integer-indexed encoding for all arrays
|
1144
2051
|
|
1145
2052
|
## 3.21.0 - 2018-08-03
|
1146
|
-
|
2053
|
+
|
2054
|
+
- [#671](https://github.com/stripe/stripe-ruby/pull/671) Add cancel support for topups
|
1147
2055
|
|
1148
2056
|
## 3.20.0 - 2018-08-03
|
1149
|
-
|
2057
|
+
|
2058
|
+
- [#669](https://github.com/stripe/stripe-ruby/pull/669) Add support for file links
|
1150
2059
|
|
1151
2060
|
## 3.19.0 - 2018-07-27
|
1152
|
-
|
2061
|
+
|
2062
|
+
- [#666](https://github.com/stripe/stripe-ruby/pull/666) Add support for scheduled query runs (`Stripe::Sigma::ScheduledQueryRun`) for Sigma
|
1153
2063
|
|
1154
2064
|
## 3.18.0 - 2018-07-26
|
1155
|
-
|
2065
|
+
|
2066
|
+
- [#665](https://github.com/stripe/stripe-ruby/pull/665) Add support for Stripe Issuing
|
1156
2067
|
|
1157
2068
|
## 3.17.2 - 2018-07-19
|
1158
|
-
|
2069
|
+
|
2070
|
+
- [#664](https://github.com/stripe/stripe-ruby/pull/664) Don't colorize log output being sent to a configured logger
|
1159
2071
|
|
1160
2072
|
## 3.17.1 - 2018-07-19
|
1161
|
-
|
2073
|
+
|
2074
|
+
- [#663](https://github.com/stripe/stripe-ruby/pull/663) Internal improvements to `ApiResource.class_url`
|
1162
2075
|
|
1163
2076
|
## 3.17.0 - 2018-06-28
|
1164
|
-
|
2077
|
+
|
2078
|
+
- [#658](https://github.com/stripe/stripe-ruby/pull/658) Add support for `partner_id` from `Stripe.set_app_info`
|
1165
2079
|
|
1166
2080
|
## 3.16.0 - 2018-06-28
|
1167
|
-
|
2081
|
+
|
2082
|
+
- [#657](https://github.com/stripe/stripe-ruby/pull/657) Add support for payment intents
|
1168
2083
|
|
1169
2084
|
## 3.15.0 - 2018-05-10
|
1170
|
-
|
2085
|
+
|
2086
|
+
- [#649](https://github.com/stripe/stripe-ruby/pull/649) Freeze all string literals
|
1171
2087
|
|
1172
2088
|
## 3.14.0 - 2018-05-09
|
1173
|
-
|
2089
|
+
|
2090
|
+
- [#645](https://github.com/stripe/stripe-ruby/pull/645) Add support for issuer fraud records
|
1174
2091
|
|
1175
2092
|
## 3.13.1 - 2018-05-07
|
1176
|
-
|
2093
|
+
|
2094
|
+
- [#647](https://github.com/stripe/stripe-ruby/pull/647) Merge query parameters coming from path with `params` argument
|
1177
2095
|
|
1178
2096
|
## 3.13.0 - 2018-04-11
|
1179
|
-
|
2097
|
+
|
2098
|
+
- [#498](https://github.com/stripe/stripe-ruby/pull/498) Add support for flexible billing primitives
|
1180
2099
|
|
1181
2100
|
## 3.12.1 - 2018-04-05
|
1182
|
-
|
2101
|
+
|
2102
|
+
- [#636](https://github.com/stripe/stripe-ruby/pull/636) Fix a warning for uninitialized instance variable `@additive_params`
|
1183
2103
|
|
1184
2104
|
## 3.12.0 - 2018-04-05
|
1185
|
-
|
2105
|
+
|
2106
|
+
- [#632](https://github.com/stripe/stripe-ruby/pull/632) Introduce `additive_object_param` so that non-`metadata` subobjects don't zero their keys as they're being replaced
|
1186
2107
|
|
1187
2108
|
## 3.11.0 - 2018-02-26
|
1188
|
-
|
2109
|
+
|
2110
|
+
- [#628](https://github.com/stripe/stripe-ruby/pull/628) Add support for `code` attribute on all Stripe exceptions
|
1189
2111
|
|
1190
2112
|
## 3.10.0 - 2018-02-21
|
1191
|
-
|
2113
|
+
|
2114
|
+
- [#627](https://github.com/stripe/stripe-ruby/pull/627) Add support for topups
|
1192
2115
|
|
1193
2116
|
## 3.9.2 - 2018-02-12
|
1194
|
-
|
2117
|
+
|
2118
|
+
- [#625](https://github.com/stripe/stripe-ruby/pull/625) Skip calling `to_hash` for `nil`
|
1195
2119
|
|
1196
2120
|
## 3.9.1 - 2017-12-15
|
1197
|
-
|
2121
|
+
|
2122
|
+
- [#616](https://github.com/stripe/stripe-ruby/pull/616) Support all file-like objects for uploads with duck typed checks on `path` and `read` (we previously whitelisted only certain classes)
|
1198
2123
|
|
1199
2124
|
## 3.9.0 - 2017-12-08
|
1200
|
-
|
2125
|
+
|
2126
|
+
- [#613](https://github.com/stripe/stripe-ruby/pull/613) Introduce new `IdempotencyError` type for idempotency-specific failures
|
1201
2127
|
|
1202
2128
|
## 3.8.2 - 2017-12-07
|
1203
|
-
|
2129
|
+
|
2130
|
+
- [#612](https://github.com/stripe/stripe-ruby/pull/612) Fix integer-indexed array encoding when sent as query parameter (subscription items can now be used when fetching an upcoming invoice)
|
1204
2131
|
|
1205
2132
|
## 3.8.1 - 2017-12-06
|
1206
|
-
|
2133
|
+
|
2134
|
+
- [#611](https://github.com/stripe/stripe-ruby/pull/611) Support `Tempfile` (as well as `File`) in file uploads
|
1207
2135
|
|
1208
2136
|
## 3.8.0 - 2017-10-31
|
1209
|
-
|
2137
|
+
|
2138
|
+
- [#606](https://github.com/stripe/stripe-ruby/pull/606) Support for exchange rates APIs
|
1210
2139
|
|
1211
2140
|
## 3.7.0 - 2017-10-26
|
1212
|
-
|
2141
|
+
|
2142
|
+
- [#603](https://github.com/stripe/stripe-ruby/pull/603) Support for listing source transactions
|
1213
2143
|
|
1214
2144
|
## 3.6.0 - 2017-10-17
|
1215
|
-
|
1216
|
-
|
1217
|
-
|
1218
|
-
|
1219
|
-
|
2145
|
+
|
2146
|
+
- [#597](https://github.com/stripe/stripe-ruby/pull/597) Add static methods to manipulate resources from parent
|
2147
|
+
- `Account` gains methods for external accounts and login links (e.g. `.create_account`, `create_login_link`)
|
2148
|
+
- `ApplicationFee` gains methods for refunds
|
2149
|
+
- `Customer` gains methods for sources
|
2150
|
+
- `Transfer` gains methods for reversals
|
1220
2151
|
|
1221
2152
|
## 3.5.3 - 2017-10-16
|
1222
|
-
|
1223
|
-
|
1224
|
-
|
1225
|
-
|
2153
|
+
|
2154
|
+
- [#594](https://github.com/stripe/stripe-ruby/pull/594) Make sure that `StripeObject`'s `#deep_copy` maintains original class
|
2155
|
+
- [#595](https://github.com/stripe/stripe-ruby/pull/595) Allow `Object#method` to be called on `StripeObject` even if it conflicts with an accessor
|
2156
|
+
- [#596](https://github.com/stripe/stripe-ruby/pull/596) Encode arrays as integer-indexed hashes where appropriate
|
2157
|
+
- [#598](https://github.com/stripe/stripe-ruby/pull/598) Don't persist `idempotency_key` opt between requests
|
1226
2158
|
|
1227
2159
|
## 3.5.2 - 2017-10-13
|
1228
|
-
|
2160
|
+
|
2161
|
+
- [#592](https://github.com/stripe/stripe-ruby/pull/592) Bring back `Marshal.dump/load` support with custom marshal encoder/decoder
|
1229
2162
|
|
1230
2163
|
## 3.5.1 - 2017-10-12
|
1231
|
-
|
2164
|
+
|
2165
|
+
- [#591](https://github.com/stripe/stripe-ruby/pull/591) Use thread-local `StripeClient` instances for thread safety
|
1232
2166
|
|
1233
2167
|
## 3.5.0 - 2017-10-11
|
1234
|
-
|
2168
|
+
|
2169
|
+
- [#589](https://github.com/stripe/stripe-ruby/pull/589) Rename source `delete` to `detach` (and deprecate the former)
|
1235
2170
|
|
1236
2171
|
## 3.4.1 - 2017-10-05
|
1237
|
-
|
1238
|
-
|
2172
|
+
|
2173
|
+
- [#586](https://github.com/stripe/stripe-ruby/pull/586) Log query strings as well as form bodies with STRIPE_LOG
|
2174
|
+
- [#588](https://github.com/stripe/stripe-ruby/pull/588) Require minimum Faraday 0.10 for bug fix in parameter encoding
|
1239
2175
|
|
1240
2176
|
## 3.4.0 - 2017-09-20
|
1241
|
-
|
1242
|
-
|
2177
|
+
|
2178
|
+
- Mark legacy Bitcoin API as deprecated, and remove corresponding tests
|
2179
|
+
- Mark recipients API as deprecated, and remove recipient card tests
|
1243
2180
|
|
1244
2181
|
## 3.3.2 - 2017-09-20
|
1245
|
-
|
2182
|
+
|
2183
|
+
- Correct minimum required Ruby version in gemspec (it's 2.0.0)
|
1246
2184
|
|
1247
2185
|
## 3.3.1 - 2017-08-18
|
1248
|
-
|
2186
|
+
|
2187
|
+
- Only parse webhook payload after verification to decrease likelihood of
|
1249
2188
|
attack
|
1250
2189
|
|
1251
2190
|
## 3.3.0 - 2017-08-11
|
1252
|
-
|
1253
|
-
|
1254
|
-
|
2191
|
+
|
2192
|
+
- Add support for standard library logger interface with `Stripe.logger`
|
2193
|
+
- Error logs now go to stderr if using `Stripe.log_level`/`STRIPE_LOG`
|
2194
|
+
- `Stripe.log_level`/`STRIPE_LOG` now support `Stipe::LEVEL_ERROR`
|
1255
2195
|
|
1256
2196
|
## 3.2.0 - 2017-08-03
|
1257
|
-
|
2197
|
+
|
2198
|
+
- Add logging for request retry account and `Stripe-Account` header
|
1258
2199
|
|
1259
2200
|
## 3.1.0 - 2017-08-03
|
1260
|
-
|
2201
|
+
|
2202
|
+
- Implement request logging with `Stripe.log_level` and `STRIPE_LOG`
|
1261
2203
|
|
1262
2204
|
## 3.0.3 - 2017-07-28
|
1263
|
-
|
1264
|
-
|
1265
|
-
|
2205
|
+
|
2206
|
+
- Revert `nil` to empty string coercion from 3.0.2
|
2207
|
+
- Handle `invalid_client` OAuth error code
|
2208
|
+
- Improve safety of error handling logic safer for unrecognized OAuth error codes
|
1266
2209
|
|
1267
2210
|
## 3.0.2 - 2017-07-12
|
2211
|
+
|
1268
2212
|
**Important:** This version is non-functional and has been yanked in favor of 3.0.3.
|
1269
|
-
|
2213
|
+
|
2214
|
+
- Convert `nil` to empty string when serializing parameters (instead of opaquely dropping it) -- NOTE: this change has since been reverted
|
1270
2215
|
|
1271
2216
|
## 3.0.1 - 2017-07-11
|
1272
|
-
|
1273
|
-
|
2217
|
+
|
2218
|
+
- Properties set with an API resource will now serialize that resource's ID if possible
|
2219
|
+
- API resources will throw an ArgumentError on save if a property has been with an API resource that cannot be serialized
|
1274
2220
|
|
1275
2221
|
## 3.0.0 - 2017-06-27
|
1276
|
-
|
2222
|
+
|
2223
|
+
- `#pay` on invoice now takes params as well as opts
|
1277
2224
|
|
1278
2225
|
## 2.12.0 - 2017-06-20
|
1279
|
-
|
2226
|
+
|
2227
|
+
- Add support for ephemeral keys
|
1280
2228
|
|
1281
2229
|
## 2.11.0 - 2017-05-26
|
1282
|
-
|
2230
|
+
|
2231
|
+
- Warn when keys that look like opts are included as parameters
|
1283
2232
|
|
1284
2233
|
## 2.10.0 - 2017-05-25
|
1285
|
-
|
2234
|
+
|
2235
|
+
- Add support for account login links
|
1286
2236
|
|
1287
2237
|
## 2.9.0 - 2017-05-18
|
1288
|
-
|
2238
|
+
|
2239
|
+
- Support for OAuth operations in `Stripe::OAuth`
|
1289
2240
|
|
1290
2241
|
## 2.8.0 - 2017-04-28
|
1291
|
-
|
2242
|
+
|
2243
|
+
- Support for checking webhook signatures
|
1292
2244
|
|
1293
2245
|
## 2.7.0 - 2017-04-26
|
1294
|
-
|
2246
|
+
|
2247
|
+
- Add model `InvoiceLineItem`
|
1295
2248
|
|
1296
2249
|
## 2.6.0 - 2017-04-26
|
1297
|
-
|
2250
|
+
|
2251
|
+
- Add `OBJECT_NAME` constants to all API resources
|
1298
2252
|
|
1299
2253
|
## 2.5.0 - 2017-04-24
|
1300
|
-
|
2254
|
+
|
2255
|
+
- Make `opts` argument in `Util.convert_to_stripe_object` optional
|
1301
2256
|
|
1302
2257
|
## 2.4.0 - 2017-04-18
|
1303
|
-
|
2258
|
+
|
2259
|
+
- Add `Stripe.set_app_info` for use by plugin creators
|
1304
2260
|
|
1305
2261
|
## 2.3.0 - 2017-04-14
|
1306
|
-
|
2262
|
+
|
2263
|
+
- Add question mark accessor when assigning boolean value to undefined field
|
1307
2264
|
|
1308
2265
|
## 2.2.1 - 2017-04-07
|
1309
|
-
|
2266
|
+
|
2267
|
+
- Declare minimum required Faraday as 0.9
|
1310
2268
|
|
1311
2269
|
## 2.2.0 - 2017-04-06
|
1312
|
-
|
2270
|
+
|
2271
|
+
- Add support for payouts and recipient transfers
|
1313
2272
|
|
1314
2273
|
## 2.1.0 - 2017-03-17
|
1315
|
-
|
2274
|
+
|
2275
|
+
- Support for detaching sources from customers
|
1316
2276
|
|
1317
2277
|
## 2.0.3 - 2017-03-16
|
1318
|
-
|
2278
|
+
|
2279
|
+
- Fix marshalling of `StripeObjects` that have an embedded client
|
1319
2280
|
|
1320
2281
|
## 2.0.2 - 2017-03-16
|
1321
|
-
|
2282
|
+
|
2283
|
+
- Fix bad field reference when recovering from a JSON parsing problem
|
1322
2284
|
|
1323
2285
|
## 2.0.1 - 2017-02-22
|
1324
|
-
|
2286
|
+
|
2287
|
+
- Fix multipart parameter encoding to repair broken file uploads
|
1325
2288
|
|
1326
2289
|
## 2.0.0 - 2017-02-14
|
1327
|
-
|
1328
|
-
|
1329
|
-
|
1330
|
-
|
1331
|
-
|
2290
|
+
|
2291
|
+
- Drop support for Ruby 1.9
|
2292
|
+
- Allow HTTP client that makes Stripe calls to be configured via Faraday
|
2293
|
+
- Drop RestClient
|
2294
|
+
- Switch to OpenAPI 2.0 spec and generated fixtures in test suite
|
2295
|
+
- Switch to Webmock in test suite
|
1332
2296
|
|
1333
2297
|
## 1.58.0 - 2017-01-19
|
1334
|
-
|
2298
|
+
|
2299
|
+
- Remove erroneously added list methods for `Source` model
|
1335
2300
|
|
1336
2301
|
## 1.57.1 - 2016-11-28
|
1337
|
-
|
2302
|
+
|
2303
|
+
- Disallow sending protected fields along with API resource `.update`
|
1338
2304
|
|
1339
2305
|
## 1.57.0 - 2016-11-21
|
1340
|
-
|
2306
|
+
|
2307
|
+
- Add retrieve method for 3-D Secure resources
|
1341
2308
|
|
1342
2309
|
## 1.56.2 - 2016-11-17
|
1343
|
-
|
2310
|
+
|
2311
|
+
- Improve `StripeObject`'s `#to_s` to better handle how embedded objects are displayed
|
1344
2312
|
|
1345
2313
|
## 1.56.1 - 2016-11-09
|
1346
|
-
|
2314
|
+
|
2315
|
+
- Fix (fairly serious) memory like in `StripeObject`
|
1347
2316
|
|
1348
2317
|
## 1.56.0 - 2016-10-24
|
1349
|
-
|
1350
|
-
|
1351
|
-
|
2318
|
+
|
2319
|
+
- Add accessors for new fields added in `#update_attributes`
|
2320
|
+
- Handle multi-plan subscriptions through new subscription items
|
2321
|
+
- Handle 403 status codes from the API
|
1352
2322
|
|
1353
2323
|
## 1.55.1 - 2016-10-24
|
2324
|
+
|
1354
2325
|
Identical to 1.56.0 above. I incorrectly cut a patch-level release.
|
1355
2326
|
|
1356
2327
|
## 1.55.0 - 2016-09-15
|
1357
|
-
|
2328
|
+
|
2329
|
+
- Add support for Apple Pay domains
|
1358
2330
|
|
1359
2331
|
## 1.54.0 - 2016-09-01
|
1360
|
-
|
2332
|
+
|
2333
|
+
- Whitelist errors that should be retried; scope to known socket and HTTP errors
|
1361
2334
|
|
1362
2335
|
## 1.53.0 - 2016-08-31
|
1363
|
-
|
2336
|
+
|
2337
|
+
- Relax version constraint on rest-client (and by extension mime-types) for users on Ruby 2+
|
1364
2338
|
|
1365
2339
|
## 1.52.0 - 2016-08-30
|
1366
|
-
|
2340
|
+
|
2341
|
+
- Make sure `Subscription`'s `source` is saved with its parent
|
1367
2342
|
|
1368
2343
|
## 1.51.1 - 2016-08-30
|
1369
|
-
|
2344
|
+
|
2345
|
+
- Make sure `Account`'s `external_account` is saved with its parent
|
1370
2346
|
|
1371
2347
|
## 1.51.0 - 2016-08-26
|
1372
|
-
|
1373
|
-
|
2348
|
+
|
2349
|
+
- Error when an array of maps is detected that cannot be accurately encoded
|
2350
|
+
- Start using strings for header names instead of symbols for better clarity
|
1374
2351
|
|
1375
2352
|
## 1.50.1 - 2016-08-25
|
1376
|
-
|
2353
|
+
|
2354
|
+
- Fix encoding of arrays of maps where maps unequal sets of keys
|
1377
2355
|
|
1378
2356
|
## 1.50.0 - 2016-08-15
|
1379
|
-
|
2357
|
+
|
2358
|
+
- Allow sources to be created
|
1380
2359
|
|
1381
2360
|
## 1.49.0 - 2016-07-28
|
1382
|
-
|
2361
|
+
|
2362
|
+
- Add top-level `Source` model
|
1383
2363
|
|
1384
2364
|
## 1.48.0 - 2016-07-12
|
1385
|
-
|
2365
|
+
|
2366
|
+
- Add `ThreeDSecure` model for 3-D secure payments
|
1386
2367
|
|
1387
2368
|
## 1.47.0 - 2016-07-11
|
1388
|
-
|
2369
|
+
|
2370
|
+
- Allow rest-client version 2.0+ to be used with the gem
|
1389
2371
|
|
1390
2372
|
## 1.46.0 - 2016-07-07
|
1391
|
-
|
2373
|
+
|
2374
|
+
- Allow retry when a 409 conflict is encountered
|
1392
2375
|
|
1393
2376
|
## 1.45.0 - 2016-07-07
|
1394
|
-
|
2377
|
+
|
2378
|
+
- Do not send subresources when updating except when explicitly told to do so (see #433)
|
1395
2379
|
|
1396
2380
|
## 1.44.0 - 2016-06-29
|
1397
|
-
|
2381
|
+
|
2382
|
+
- Add `update` class method to all resources that can be updated
|
1398
2383
|
|
1399
2384
|
## 1.43.1 - 2016-06-17
|
1400
|
-
|
2385
|
+
|
2386
|
+
- Fix type of resource returned from `Order#return_order`
|
1401
2387
|
|
1402
2388
|
## 1.43.0 - 2016-05-20
|
1403
|
-
|
1404
|
-
|
2389
|
+
|
2390
|
+
- Allow Relay orders to be returned and add associated types
|
2391
|
+
- Support Alipay account retrieval and deletion
|
1405
2392
|
|
1406
2393
|
## 1.42.0 - 2016-05-04
|
1407
|
-
|
2394
|
+
|
2395
|
+
- Add support for the new /v1/subscriptions endpoint (retrieve, list, create, update, and delete)
|
1408
2396
|
|
1409
2397
|
## 1.41.0 - 2016-04-13
|
1410
|
-
|
2398
|
+
|
2399
|
+
- Add global `stripe_account` option that adds a `Stripe-Account` header to all requests
|
1411
2400
|
|
1412
2401
|
## 1.40.0 - 2016-04-06
|
1413
|
-
|
2402
|
+
|
2403
|
+
- Fix bug that omitted subresources from serialization
|
1414
2404
|
|
1415
2405
|
## 1.39.0 - 2016-03-31
|
1416
|
-
|
2406
|
+
|
2407
|
+
- Update CA cert bundle for compatibility with OpenSSL versions below 1.0.1
|
1417
2408
|
|
1418
2409
|
## 1.38.0 - 2016-03-18
|
1419
|
-
|
2410
|
+
|
2411
|
+
- Allow `opts` to be passed to an API resource's `#save` method
|
1420
2412
|
|
1421
2413
|
## 1.37.0 - 2016-03-14
|
1422
|
-
|
2414
|
+
|
2415
|
+
- Add `Account#reject` to support the new API feature
|
1423
2416
|
|
1424
2417
|
## 1.36.2 - 2016-03-14
|
1425
|
-
|
2418
|
+
|
2419
|
+
- Fix reference to non-existent `#url` in `ListObject`
|
1426
2420
|
|
1427
2421
|
## 1.36.1 - 2016-03-04
|
1428
|
-
|
2422
|
+
|
2423
|
+
- Fix serialization when subhash given to `#save` or `#update_attributes`
|
1429
2424
|
|
1430
2425
|
## 1.36.0 - 2016-02-08
|
1431
|
-
|
2426
|
+
|
2427
|
+
- Add `CountrySpec` model for looking up country payment information
|
1432
2428
|
|
1433
2429
|
## 1.35.1 - 2016-02-03
|
1434
|
-
|
2430
|
+
|
2431
|
+
- Add compatibility layer for old API versions on `Charge#refund`
|
1435
2432
|
|
1436
2433
|
## 1.35.0 - 2016-02-01
|
1437
|
-
|
1438
|
-
|
2434
|
+
|
2435
|
+
- Allow CA cert bundle location to be configured
|
2436
|
+
- Updated bundled CA certs
|
1439
2437
|
|
1440
2438
|
## 1.34.0 - 2016-01-25
|
1441
|
-
|
2439
|
+
|
2440
|
+
- Add support for deleting products and SKUs
|
1442
2441
|
|
1443
2442
|
## 1.33.1 - 2016-01-21
|
1444
|
-
|
2443
|
+
|
2444
|
+
- Pass through arguments of `Charge#refund`
|
1445
2445
|
|
1446
2446
|
## 1.33.0 - 2016-01-19
|
1447
|
-
|
2447
|
+
|
2448
|
+
- Re-implement `Charge#refund` helper to use the modern endpoint suggested by docs
|
1448
2449
|
|
1449
2450
|
## 1.32.1 - 2016-01-07
|
1450
|
-
|
1451
|
-
|
2451
|
+
|
2452
|
+
- Fix bug where ivar left uninitialized in StripeObject could error on serialization
|
2453
|
+
- Fix bug where a nil customer from API could error Bitcoin model on refresh
|
1452
2454
|
|
1453
2455
|
## 1.32.0 - 2016-01-05
|
1454
|
-
|
1455
|
-
|
2456
|
+
|
2457
|
+
- Add configuration to optionally retry network failures
|
2458
|
+
- Use modern API endpoint for producing application fee refunds
|
1456
2459
|
|
1457
2460
|
## 1.31.0 - 2015-10-29
|
1458
|
-
|
2461
|
+
|
2462
|
+
- Add BankAccount#verify convenience method
|
1459
2463
|
|
1460
2464
|
## 1.30.3 - 2015-10-28
|
1461
|
-
|
2465
|
+
|
2466
|
+
- Fix bug where arrays that were not `additional_owners` were not properly encoded for requests
|
1462
2467
|
|
1463
2468
|
## 1.30.2 - 2015-10-12
|
1464
|
-
|
2469
|
+
|
2470
|
+
- Fix bug where `opts` didn't properly propagate to descendant `StripeObjects`
|
1465
2471
|
|
1466
2472
|
## 1.30.1 - 2015-10-10
|
1467
|
-
|
1468
|
-
|
2473
|
+
|
2474
|
+
- Fix bug that prevent lists of hashes from being URI-encoded properly
|
2475
|
+
- Fix bug where filter conditions were not making it past the first instantiated `ListObject`
|
1469
2476
|
|
1470
2477
|
## 1.30.0 - 2015-10-09
|
1471
|
-
|
1472
|
-
|
1473
|
-
|
2478
|
+
|
2479
|
+
- Add `StripeObject#deleted?` for a reliable way to check whether an object is alive
|
2480
|
+
- Deprecate `StripeObject#refresh_from`
|
2481
|
+
- New parameter encoding scheme that doesn't use `URI.escape`
|
1474
2482
|
|
1475
2483
|
## 1.29.1 - 2015-10-06
|
1476
|
-
|
2484
|
+
|
2485
|
+
- Fix bug where ampersands were not being properly encoded
|
1477
2486
|
|
1478
2487
|
## 1.29.0 - 2015-10-05
|
1479
|
-
|
2488
|
+
|
2489
|
+
- Add pagination helpers `#auto_paging_each`, `#previous_page`, and `#next_page`
|
1480
2490
|
|
1481
2491
|
## 1.28.1 - 2015-10-05
|
1482
|
-
|
2492
|
+
|
2493
|
+
- Fix URI being referenced by file upload resources
|
1483
2494
|
|
1484
2495
|
## 1.28.0 - 2015-10-05
|
1485
|
-
|
1486
|
-
|
1487
|
-
|
1488
|
-
|
1489
|
-
|
1490
|
-
|
2496
|
+
|
2497
|
+
- Make StripeObject's #save "upsert"-like; creates an object if new
|
2498
|
+
- Add #update_attributes to StripeObject for safe mass assignment
|
2499
|
+
- Properly mass assign attributes on calls to #save
|
2500
|
+
- Add question mark helpers for boolean fields (e.g. #paid? as well as old #paid)
|
2501
|
+
- Fix a bug that broke the API for StripeObject initialization
|
2502
|
+
- Remove use of deprecated URI.escape
|
1491
2503
|
|
1492
2504
|
## 1.27.2 - 2015-09-25
|
1493
|
-
|
2505
|
+
|
2506
|
+
- Correct the URLs used to fetch Bitcoin transactions.
|
1494
2507
|
|
1495
2508
|
## 1.27.1 - 2015-09-20
|
1496
|
-
|
2509
|
+
|
2510
|
+
- Use hash rockets for backwards compatibility.
|
1497
2511
|
|
1498
2512
|
## 1.27.0 - 2015-09-14
|
1499
|
-
|
2513
|
+
|
2514
|
+
- Add Orders, Products, and SKUs for Relay
|
1500
2515
|
|
1501
2516
|
## 1.26.0 - 2015-09-11
|
1502
|
-
|
2517
|
+
|
2518
|
+
- Add support for 429 Rate Limited response
|
1503
2519
|
|
1504
2520
|
## 1.25.0 - 2015-08-17
|
1505
|
-
|
2521
|
+
|
2522
|
+
- Added support for refund listing and retrieval without an associated charge
|
1506
2523
|
|
1507
2524
|
## 1.24.0 - 2015-08-03
|
1508
|
-
|
1509
|
-
|
1510
|
-
|
2525
|
+
|
2526
|
+
- Added support for deleting managed accounts
|
2527
|
+
- Added support for dispute listing and retrieval
|
2528
|
+
- Bugfix: token objects now are the correct class
|
1511
2529
|
|
1512
2530
|
## 1.23.0 - 2015-07-06
|
1513
|
-
|
2531
|
+
|
2532
|
+
- Added request IDs and HTTP headers to errors
|
1514
2533
|
|
1515
2534
|
## 1.22.0 - 2015-06-10
|
1516
|
-
|
2535
|
+
|
2536
|
+
- Added support for bank accounts and debit cards in managed accounts (via the `external_accounts` param)
|
1517
2537
|
|
1518
2538
|
## 1.21.0 - 2015-04-14
|
1519
|
-
|
1520
|
-
|
2539
|
+
|
2540
|
+
- Remove TLS cert revocation check (all pre-heartbleed certs have expired)
|
2541
|
+
- Bugfix: don't unset keys when they don't exist on StripeObject
|
1521
2542
|
|
1522
2543
|
## 1.20.4 - 2015-03-26
|
1523
|
-
|
1524
|
-
|
2544
|
+
|
2545
|
+
- Raise an error when explicitly passing nil as the API key on resource methods
|
2546
|
+
- Fix error when passing an API key to Balance.retrieve (github issue #232)
|
1525
2547
|
|
1526
2548
|
## 1.20.3 - 2015-03-13
|
1527
|
-
|
2549
|
+
|
2550
|
+
- Fixed error when updating certain resources (github issue #224)
|
1528
2551
|
|
1529
2552
|
## 1.20.2 - 2015-03-10
|
1530
|
-
|
1531
|
-
|
2553
|
+
|
2554
|
+
- Added support for updating nested hashes besides `metadata` (which was already supported)
|
2555
|
+
- Fixed bug in balance retrieval
|
1532
2556
|
|
1533
2557
|
## 1.20.1 - 2015-02-26
|
1534
|
-
|
2558
|
+
|
2559
|
+
- Updated Card to point to customer sources endpoint when customer property is set
|
1535
2560
|
|
1536
2561
|
## 1.20.0 - 2015-02-19
|
1537
|
-
|
2562
|
+
|
2563
|
+
- Added Update & Delete operations to Bitcoin Receivers
|
1538
2564
|
|
1539
2565
|
## 1.19.1 - 2015-02-18
|
1540
|
-
|
2566
|
+
|
2567
|
+
- Fixed fetching upcoming invoice/paying invoice methods
|
1541
2568
|
|
1542
2569
|
## 1.19.0 - 2015-02-15
|
1543
|
-
|
1544
|
-
|
1545
|
-
|
2570
|
+
|
2571
|
+
- Support for new Transfers /reversals endpoint
|
2572
|
+
- Account retrieval now optionally accepts an account ID
|
2573
|
+
- Better support for passing custom headers, like Stripe-Account, through requests
|
1546
2574
|
|
1547
2575
|
## 1.18.0 - 2015-01-21
|
1548
|
-
|
1549
|
-
|
2576
|
+
|
2577
|
+
- 1 major enhancement:
|
2578
|
+
- Added support for making bitcoin charges through BitcoinReceiver source object
|
1550
2579
|
|
1551
2580
|
## 1.17.3 - 2015-01-12
|
1552
|
-
|
1553
|
-
|
2581
|
+
|
2582
|
+
- 1 bugfix:
|
2583
|
+
- Fixed API key propagation for ApplicationFee#refund
|
1554
2584
|
|
1555
2585
|
## 1.17.2 - 2015-01-08
|
1556
|
-
|
1557
|
-
|
2586
|
+
|
2587
|
+
- 1 bugfix:
|
2588
|
+
- Fixed API key propagation for child resources
|
1558
2589
|
|
1559
2590
|
## 1.17.1 - 2015-01-07
|
1560
|
-
|
1561
|
-
|
1562
|
-
|
2591
|
+
|
2592
|
+
- 2 minor enhacements:
|
2593
|
+
- Fixed dependencies for Ruby versions less than 1.9.3
|
2594
|
+
- Added deauthorize method to Account object
|
1563
2595
|
|
1564
2596
|
## 1.17.0 - 2014-12-15
|
1565
|
-
|
1566
|
-
|
2597
|
+
|
2598
|
+
- 1 major enhacement:
|
2599
|
+
- File uploads resource was added (for uploading pdf or image documents for disputes)
|
1567
2600
|
|
1568
2601
|
## 1.16.1 - 2014-12-19
|
1569
|
-
|
1570
|
-
|
1571
|
-
|
2602
|
+
|
2603
|
+
- 2 minor enhancements:
|
2604
|
+
- Ability to send idempotent requests
|
2605
|
+
- Ability to specify stripe account as a header
|
1572
2606
|
|
1573
2607
|
## 1.16.0 - 2014-10-08
|
1574
|
-
|
1575
|
-
|
2608
|
+
|
2609
|
+
- 1 minor enhacement:
|
2610
|
+
- Coupons now support update operations - useful for manipulating metadata
|
1576
2611
|
|
1577
2612
|
## 1.15.0 - 2014-07-26
|
1578
|
-
|
1579
|
-
|
2613
|
+
|
2614
|
+
- 1 major enhacement:
|
2615
|
+
- Application Fee refunds now a list instead of array
|
1580
2616
|
|
1581
2617
|
## 1.14.0 - 2014-06-17
|
1582
|
-
|
1583
|
-
|
2618
|
+
|
2619
|
+
- 1 major enhancement:
|
2620
|
+
- Add metadata for refunds and disputes
|
1584
2621
|
|
1585
2622
|
## 1.13.0 - 2014-05-28
|
1586
|
-
|
1587
|
-
|
2623
|
+
|
2624
|
+
- 1 major enhancement:
|
2625
|
+
- Support for canceling transfers
|
1588
2626
|
|
1589
2627
|
## 1.12.0 - 2014-05-21
|
1590
|
-
|
1591
|
-
|
2628
|
+
|
2629
|
+
- 1 major enhancement:
|
2630
|
+
- Support for cards for recipients
|
1592
2631
|
|
1593
2632
|
## 1.11.0 - 2014-04-09
|
1594
|
-
|
1595
|
-
|
1596
|
-
|
2633
|
+
|
2634
|
+
- 2 minor enhancements:
|
2635
|
+
- Update included ca bundles
|
2636
|
+
- Implement certificate blacklisting
|
1597
2637
|
|
1598
2638
|
## 1.10.2 - 2014-02-18
|
1599
|
-
|
1600
|
-
|
2639
|
+
|
2640
|
+
- 1 minor enhancement:
|
2641
|
+
- Add create_subscription on Customer resources, so you can create
|
1601
2642
|
subscriptions without needing to retrieve the customer first (github
|
1602
2643
|
issue #120)
|
1603
2644
|
|
1604
2645
|
## 1.10.1 - 2014-02-03
|
1605
|
-
|
1606
|
-
|
2646
|
+
|
2647
|
+
- 1 bugfix:
|
2648
|
+
- Fix marshaling of StripeObjects
|
1607
2649
|
|
1608
2650
|
## 1.10.0 - 2014-01-29
|
1609
|
-
* 2 major enhancements
|
1610
|
-
* Support for multiple subscriptions per customer
|
1611
|
-
* Testing ruby 2.1.0
|
1612
2651
|
|
1613
|
-
|
1614
|
-
|
1615
|
-
|
2652
|
+
- 2 major enhancements
|
2653
|
+
|
2654
|
+
- Support for multiple subscriptions per customer
|
2655
|
+
- Testing ruby 2.1.0
|
2656
|
+
|
2657
|
+
- 2 minor enhancements
|
1616
2658
|
|
1617
|
-
|
1618
|
-
|
2659
|
+
- Replace multi_json with json
|
2660
|
+
- Allow #save to take opts (for :expand)
|
2661
|
+
|
2662
|
+
- 1 bugfix
|
2663
|
+
- Fix #try and #respond_to? on StripeObjects
|
1619
2664
|
|
1620
2665
|
## 1.9.9 - 2013-12-02
|
1621
|
-
|
1622
|
-
|
2666
|
+
|
2667
|
+
- 1 major enhancement
|
2668
|
+
- Add ApplicationFee resource
|
1623
2669
|
|
1624
2670
|
## 1.8.9 - 2013-11-14
|
1625
|
-
|
1626
|
-
|
1627
|
-
|
2671
|
+
|
2672
|
+
- 2 bugfixes:
|
2673
|
+
- Fix gemspec dependencies so the gem doesn't break for Ruby 1.8 users
|
2674
|
+
- Fix api_resource_test to not use returns as a way of testing rescue behavior
|
1628
2675
|
|
1629
2676
|
## 1.8.8 - 2013-10-3
|
1630
|
-
|
1631
|
-
|
2677
|
+
|
2678
|
+
- 1 major enhancement
|
2679
|
+
- Add support for metadata on resources
|
1632
2680
|
|
1633
2681
|
## 1.8.7 - 2013-08-18
|
1634
|
-
|
1635
|
-
|
2682
|
+
|
2683
|
+
- 1 minor enhancement
|
2684
|
+
- Add support for closing disputes.
|
1636
2685
|
|
1637
2686
|
## 1.8.6 - 2013-08-13
|
1638
|
-
|
1639
|
-
|
2687
|
+
|
2688
|
+
- 1 major enhancement
|
2689
|
+
- Add Balance and BalanceTransaction resources
|
1640
2690
|
|
1641
2691
|
## 1.8.5 - 2013-08-12
|
1642
|
-
|
1643
|
-
|
1644
|
-
|
2692
|
+
|
2693
|
+
- 1 major enhancement
|
2694
|
+
- Add support for unsetting attributes by setting to nil. This permits unsetting email and description on customers and description on charges. Setting properties to a blank string is now an error.
|
2695
|
+
- Attempting to set an object's id is now an error
|
1645
2696
|
|
1646
2697
|
## 1.8.4 - 2013-07-11
|
1647
|
-
|
1648
|
-
|
2698
|
+
|
2699
|
+
- 1 major enhancement
|
2700
|
+
- Add support for new cards API (Stripe API version - 2013-07-05)
|
1649
2701
|
|
1650
2702
|
## 1.8.3 - 2013-05-06
|
1651
|
-
|
1652
|
-
|
2703
|
+
|
2704
|
+
- 1 bugfix:
|
2705
|
+
- Fix handling of per-call API keys (github issue #67)
|
1653
2706
|
|
1654
2707
|
## 1.8.2 - 2013-05-01
|
1655
|
-
* 3 minor enhancements:
|
1656
|
-
* Use to_sym instead of type checking for minor performance improvement (github issue #59)
|
1657
|
-
* Handle low-memory situations without throwing an exception (github issue #61)
|
1658
|
-
* Add an Customer#upcoming_invoice convenience method (github issue #65)
|
1659
2708
|
|
1660
|
-
|
1661
|
-
|
2709
|
+
- 3 minor enhancements:
|
2710
|
+
|
2711
|
+
- Use to_sym instead of type checking for minor performance improvement (github issue #59)
|
2712
|
+
- Handle low-memory situations without throwing an exception (github issue #61)
|
2713
|
+
- Add an Customer#upcoming_invoice convenience method (github issue #65)
|
2714
|
+
|
2715
|
+
- 1 bugfix:
|
2716
|
+
- Allow updating resources without first retrieving them (github issue #60)
|
1662
2717
|
|
1663
2718
|
## 1.8.1 - 2013-04-19
|
1664
|
-
|
1665
|
-
|
2719
|
+
|
2720
|
+
- 1 minor enhancement:
|
2721
|
+
- Add support for specifying an API key when retrieving an upcoming invoice
|
1666
2722
|
|
1667
2723
|
## 1.8.0 - 2013-04-11
|
1668
|
-
|
1669
|
-
|
1670
|
-
|
2724
|
+
|
2725
|
+
- 1 major enhancement:
|
2726
|
+
- Add new Recipient resource
|
2727
|
+
- Allow Transfers to be createable
|
1671
2728
|
|
1672
2729
|
## 1.7.11 - 2013-02-21
|
1673
|
-
|
1674
|
-
|
2730
|
+
|
2731
|
+
- 1 minor enhancement
|
2732
|
+
- Add 'id' to the list of permanent attributes
|
1675
2733
|
|
1676
2734
|
## 1.7.10 - 2013-02-01
|
1677
|
-
|
1678
|
-
|
2735
|
+
|
2736
|
+
- 1 major enhancement
|
2737
|
+
- Add support for passing options when retrieving Stripe objects e.g., Stripe::Charge.retrieve({id:"foo", expand:["customer"]}) Stripe::Charge("foo") is still supported as well
|
1679
2738
|
|
1680
2739
|
## 1.7.9 - 2013-01-15
|
1681
|
-
|
1682
|
-
|
2740
|
+
|
2741
|
+
- 1 major enhancement
|
2742
|
+
- Add support for setting a Stripe API version override.
|
1683
2743
|
|
1684
2744
|
## 1.7.8 - 2012-11-21
|
1685
|
-
|
1686
|
-
|
2745
|
+
|
2746
|
+
- 1 bugfix
|
2747
|
+
- Relax the version constraint on multi_json (github issue #44)
|
1687
2748
|
|
1688
2749
|
## 1.7.7 - 2012-11-07
|
1689
|
-
* 1 minor enhancement:
|
1690
|
-
* Add support for updating charge disputes
|
1691
2750
|
|
1692
|
-
|
1693
|
-
|
2751
|
+
- 1 minor enhancement:
|
2752
|
+
|
2753
|
+
- Add support for updating charge disputes
|
2754
|
+
|
2755
|
+
- 1 bugfix
|
2756
|
+
- Fix Account API resource bug
|
1694
2757
|
|
1695
2758
|
## 1.7.6 - 2012-10-30
|
1696
|
-
|
1697
|
-
|
2759
|
+
|
2760
|
+
- 1 major enhancement
|
2761
|
+
- Add support for creating invoices
|
1698
2762
|
|
1699
2763
|
## 1.7.5 - 2012-10-25
|
1700
|
-
|
1701
|
-
|
2764
|
+
|
2765
|
+
- 1 major enhancement
|
2766
|
+
- Add support for new API lists
|
1702
2767
|
|
1703
2768
|
## 1.7.4 - 2012-10-08
|
1704
|
-
|
1705
|
-
|
2769
|
+
|
2770
|
+
- 1 bugfix
|
2771
|
+
- Fix bug introduced in 1.7.3 calling API methods that take no
|
1706
2772
|
arguments, like Stripe::Invoice#pay (github issue #42)
|
1707
2773
|
|
1708
2774
|
## 1.7.3 - 2012-09-14
|
1709
|
-
|
1710
|
-
|
1711
|
-
|
2775
|
+
|
2776
|
+
- 2 bugfixes
|
2777
|
+
- Make sure that both keys and values of GET params are URL-encoded. NOTE: If you were previously URL-encoding values yourself, you may need to adjust your code.
|
2778
|
+
- URL-encode POST params directly, instead of allowing rest-client to do it to work around an unfortunate interaction with the hashery gem (github issue #38)
|
1712
2779
|
|
1713
2780
|
## 1.7.2 - 2012-08-31
|
1714
|
-
|
1715
|
-
|
2781
|
+
|
2782
|
+
- 1 major enhancement
|
2783
|
+
- Add support for new pay and update methods for Invoice objects
|
1716
2784
|
|
1717
2785
|
## 1.7.1 - 2012-08-15
|
1718
|
-
|
1719
|
-
|
2786
|
+
|
2787
|
+
- 1 major enhancement
|
2788
|
+
- Add new Account API resource
|
1720
2789
|
|
1721
2790
|
## 1.7.0 - 2012-05-17
|
1722
|
-
* 3 major enhancements:
|
1723
|
-
* Switch from vendored stripe-json to multi_json for all JSON parsing and rendering. This should not impact programmatic usage of the library, but may cause small rendering differences from, e.g., StripeObject#inspect (github issue #22)
|
1724
|
-
* Add new delete_discount method to Customer objects
|
1725
|
-
* Add new Transfer API resource
|
1726
2791
|
|
1727
|
-
|
1728
|
-
|
1729
|
-
|
2792
|
+
- 3 major enhancements:
|
2793
|
+
|
2794
|
+
- Switch from vendored stripe-json to multi_json for all JSON parsing and rendering. This should not impact programmatic usage of the library, but may cause small rendering differences from, e.g., StripeObject#inspect (github issue #22)
|
2795
|
+
- Add new delete_discount method to Customer objects
|
2796
|
+
- Add new Transfer API resource
|
2797
|
+
|
2798
|
+
- 2 minor enhancements:
|
2799
|
+
- Switch from HTTP Basic auth to Bearer auth (Note: Stripe will support Basic auth for the indefinite future, but recommends Bearer auth when possible going forward)
|
2800
|
+
- Numerous test suite improvements
|
1730
2801
|
|
1731
2802
|
## 1.6.3 - 2012-03-22
|
1732
|
-
|
1733
|
-
|
2803
|
+
|
2804
|
+
- 1 bugfix:
|
2805
|
+
- Encode GET query strings ourselves instead of using rest-client to work around a bug
|
1734
2806
|
|
1735
2807
|
## 1.6.2 - 2012-02-24
|
1736
|
-
|
1737
|
-
|
2808
|
+
|
2809
|
+
- 1 bugfix:
|
2810
|
+
- Correct argument handling in StripeObject#as_json
|
1738
2811
|
|
1739
2812
|
## 1.6.1 - 2012-02-22
|
1740
|
-
|
1741
|
-
|
2813
|
+
|
2814
|
+
- 1 bugfix:
|
2815
|
+
- Fix StripeObject#inspect when ActiveSupport 3.0 is loaded
|
1742
2816
|
|
1743
2817
|
## 1.6.0 - 2012-02-01
|
1744
|
-
|
1745
|
-
|
2818
|
+
|
2819
|
+
- A whole bunch of releases between 1.5.0 and 1.6.0, but few changes, mainly the addition of plans, coupons, events, and tokens
|
2820
|
+
- 1.6.0 also contains a new inspect/to_string implementation
|
1746
2821
|
|
1747
2822
|
## 1.5.0 - 2011-05-09
|
1748
|
-
|
1749
|
-
|
2823
|
+
|
2824
|
+
- 1 major enhancement:
|
2825
|
+
- Update for new RESTful API
|
1750
2826
|
|
1751
2827
|
## 1.3.4 - 2011-01-07
|
1752
|
-
|
1753
|
-
|
2828
|
+
|
2829
|
+
- 1 major enhancement:
|
2830
|
+
- Rename to Stripe
|
1754
2831
|
|
1755
2832
|
## 1.2 - 2010-06-06
|
1756
|
-
|
1757
|
-
|
2833
|
+
|
2834
|
+
- 1 major enhancement:
|
2835
|
+
- Support for the set_customer_subscription and delete_customer API methods
|
1758
2836
|
|
1759
2837
|
## 1.1 - 2010-03-14
|
1760
|
-
|
1761
|
-
|
2838
|
+
|
2839
|
+
- 1 major enhancement:
|
2840
|
+
- Support for recurring billing
|
1762
2841
|
|
1763
2842
|
## 1.0 - 2010-01-05
|
1764
|
-
|
1765
|
-
|
2843
|
+
|
2844
|
+
- 1 major enhancement:
|
2845
|
+
- Initial release
|
1766
2846
|
|
1767
2847
|
<!--
|
1768
2848
|
# vim: set tw=0:
|
1769
2849
|
-->
|
2850
|
+
|