stripe 13.3.0 → 13.4.0.pre.beta.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1416 -645
- data/OPENAPI_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/stripe/api_operations/request.rb +1 -0
- data/lib/stripe/api_requestor.rb +1 -0
- data/lib/stripe/object_types.rb +32 -0
- data/lib/stripe/request_params.rb +24 -0
- data/lib/stripe/request_signing_authenticator.rb +79 -0
- data/lib/stripe/resources/account.rb +5071 -0
- data/lib/stripe/resources/account_link.rb +54 -0
- data/lib/stripe/resources/account_notice.rb +132 -0
- data/lib/stripe/resources/account_session.rb +877 -0
- data/lib/stripe/resources/apple_pay_domain.rb +63 -0
- data/lib/stripe/resources/application.rb +20 -0
- data/lib/stripe/resources/application_fee.rb +96 -0
- data/lib/stripe/resources/application_fee_refund.rb +17 -0
- data/lib/stripe/resources/apps/secret.rb +141 -0
- data/lib/stripe/resources/balance.rb +131 -0
- data/lib/stripe/resources/balance_transaction.rb +112 -0
- data/lib/stripe/resources/bank_account.rb +84 -2
- data/lib/stripe/resources/billing/alert.rb +144 -0
- data/lib/stripe/resources/billing/alert_triggered.rb +26 -0
- data/lib/stripe/resources/billing/credit_balance_summary.rb +77 -0
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +116 -0
- data/lib/stripe/resources/billing/credit_grant.rb +203 -0
- data/lib/stripe/resources/billing/meter.rb +178 -0
- data/lib/stripe/resources/billing/meter_error_report.rb +59 -0
- data/lib/stripe/resources/billing/meter_event.rb +35 -0
- data/lib/stripe/resources/billing/meter_event_adjustment.rb +43 -0
- data/lib/stripe/resources/billing/meter_event_summary.rb +15 -0
- data/lib/stripe/resources/billing_portal/configuration.rb +562 -0
- data/lib/stripe/resources/billing_portal/session.rb +271 -0
- data/lib/stripe/resources/capability.rb +84 -0
- data/lib/stripe/resources/capital/financing_offer.rb +188 -0
- data/lib/stripe/resources/capital/financing_summary.rb +64 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +123 -0
- data/lib/stripe/resources/card.rb +79 -0
- data/lib/stripe/resources/cash_balance.rb +17 -0
- data/lib/stripe/resources/charge.rb +3026 -0
- data/lib/stripe/resources/checkout/session.rb +3654 -0
- data/lib/stripe/resources/climate/order.rb +176 -0
- data/lib/stripe/resources/climate/product.rb +56 -0
- data/lib/stripe/resources/climate/supplier.rb +54 -0
- data/lib/stripe/resources/confirmation_token.rb +1520 -0
- data/lib/stripe/resources/connect_collection_transfer.rb +24 -0
- data/lib/stripe/resources/country_spec.rb +63 -0
- data/lib/stripe/resources/coupon.rb +198 -0
- data/lib/stripe/resources/credit_note.rb +660 -0
- data/lib/stripe/resources/credit_note_line_item.rb +65 -0
- data/lib/stripe/resources/customer.rb +840 -0
- data/lib/stripe/resources/customer_balance_transaction.rb +27 -0
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +109 -0
- data/lib/stripe/resources/customer_session.rb +159 -0
- data/lib/stripe/resources/discount.rb +29 -0
- data/lib/stripe/resources/dispute.rb +619 -0
- data/lib/stripe/resources/entitlements/active_entitlement.rb +46 -0
- data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +23 -0
- data/lib/stripe/resources/entitlements/feature.rb +90 -0
- data/lib/stripe/resources/ephemeral_key.rb +21 -0
- data/lib/stripe/resources/event.rb +130 -0
- data/lib/stripe/resources/exchange_rate.rb +33 -0
- data/lib/stripe/resources/file.rb +111 -0
- data/lib/stripe/resources/file_link.rb +112 -0
- data/lib/stripe/resources/financial_connections/account.rb +260 -0
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +27 -0
- data/lib/stripe/resources/financial_connections/account_owner.rb +17 -0
- data/lib/stripe/resources/financial_connections/account_ownership.rb +9 -0
- data/lib/stripe/resources/financial_connections/institution.rb +99 -0
- data/lib/stripe/resources/financial_connections/session.rb +159 -0
- data/lib/stripe/resources/financial_connections/transaction.rb +101 -0
- data/lib/stripe/resources/forwarding/request.rb +165 -0
- data/lib/stripe/resources/funding_instructions.rb +308 -0
- data/lib/stripe/resources/gift_cards/card.rb +217 -0
- data/lib/stripe/resources/gift_cards/transaction.rb +281 -0
- data/lib/stripe/resources/identity/verification_report.rb +266 -0
- data/lib/stripe/resources/identity/verification_session.rb +361 -0
- data/lib/stripe/resources/invoice.rb +8078 -0
- data/lib/stripe/resources/invoice_item.rb +445 -0
- data/lib/stripe/resources/invoice_line_item.rb +333 -0
- data/lib/stripe/resources/invoice_payment.rb +56 -0
- data/lib/stripe/resources/invoice_rendering_template.rb +67 -0
- data/lib/stripe/resources/issuing/authorization.rb +1117 -2
- data/lib/stripe/resources/issuing/card.rb +666 -0
- data/lib/stripe/resources/issuing/cardholder.rb +658 -0
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +611 -0
- data/lib/stripe/resources/issuing/dispute.rb +790 -0
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +84 -0
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +95 -0
- data/lib/stripe/resources/issuing/personalization_design.rb +285 -0
- data/lib/stripe/resources/issuing/physical_bundle.rb +63 -0
- data/lib/stripe/resources/issuing/settlement.rb +49 -0
- data/lib/stripe/resources/issuing/token.rb +175 -0
- data/lib/stripe/resources/issuing/transaction.rb +927 -0
- data/lib/stripe/resources/line_item.rb +75 -0
- data/lib/stripe/resources/login_link.rb +7 -0
- data/lib/stripe/resources/mandate.rb +169 -0
- data/lib/stripe/resources/margin.rb +124 -0
- data/lib/stripe/resources/order.rb +2850 -0
- data/lib/stripe/resources/payment_attempt_record.rb +184 -0
- data/lib/stripe/resources/payment_intent.rb +12864 -0
- data/lib/stripe/resources/payment_link.rb +1563 -0
- data/lib/stripe/resources/payment_method.rb +1638 -0
- data/lib/stripe/resources/payment_method_configuration.rb +2844 -0
- data/lib/stripe/resources/payment_method_domain.rb +153 -0
- data/lib/stripe/resources/payment_record.rb +715 -0
- data/lib/stripe/resources/payout.rb +218 -0
- data/lib/stripe/resources/person.rb +263 -0
- data/lib/stripe/resources/plan.rb +317 -0
- data/lib/stripe/resources/price.rb +649 -0
- data/lib/stripe/resources/product.rb +536 -0
- data/lib/stripe/resources/product_feature.rb +12 -0
- data/lib/stripe/resources/promotion_code.rb +221 -0
- data/lib/stripe/resources/quote.rb +2946 -0
- data/lib/stripe/resources/quote_line.rb +274 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +652 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +362 -0
- data/lib/stripe/resources/radar/early_fraud_warning.rb +77 -0
- data/lib/stripe/resources/radar/value_list.rb +125 -0
- data/lib/stripe/resources/radar/value_list_item.rb +95 -0
- data/lib/stripe/resources/refund.rb +397 -0
- data/lib/stripe/resources/reporting/report_run.rb +150 -0
- data/lib/stripe/resources/reporting/report_type.rb +36 -0
- data/lib/stripe/resources/reserve_transaction.rb +22 -0
- data/lib/stripe/resources/reversal.rb +21 -0
- data/lib/stripe/resources/review.rb +108 -0
- data/lib/stripe/resources/setup_attempt.rb +373 -0
- data/lib/stripe/resources/setup_intent.rb +3834 -0
- data/lib/stripe/resources/shipping_rate.rb +259 -0
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +54 -0
- data/lib/stripe/resources/source.rb +1239 -0
- data/lib/stripe/resources/source_mandate_notification.rb +66 -0
- data/lib/stripe/resources/source_transaction.rb +85 -0
- data/lib/stripe/resources/subscription.rb +2057 -0
- data/lib/stripe/resources/subscription_item.rb +433 -0
- data/lib/stripe/resources/subscription_schedule.rb +2402 -0
- data/lib/stripe/resources/tax/association.rb +89 -0
- data/lib/stripe/resources/tax/calculation.rb +387 -0
- data/lib/stripe/resources/tax/calculation_line_item.rb +56 -0
- data/lib/stripe/resources/tax/form.rb +220 -0
- data/lib/stripe/resources/tax/registration.rb +2382 -0
- data/lib/stripe/resources/tax/settings.rb +126 -0
- data/lib/stripe/resources/tax/transaction.rb +267 -0
- data/lib/stripe/resources/tax/transaction_line_item.rb +31 -0
- data/lib/stripe/resources/tax_code.rb +35 -0
- data/lib/stripe/resources/tax_deducted_at_source.rb +22 -0
- data/lib/stripe/resources/tax_id.rb +121 -0
- data/lib/stripe/resources/tax_rate.rb +200 -0
- data/lib/stripe/resources/terminal/configuration.rb +1011 -0
- data/lib/stripe/resources/terminal/connection_token.rb +18 -0
- data/lib/stripe/resources/terminal/location.rb +175 -0
- data/lib/stripe/resources/terminal/reader.rb +782 -0
- data/lib/stripe/resources/terminal/reader_collected_data.rb +40 -0
- data/lib/stripe/resources/test_helpers/test_clock.rb +86 -0
- data/lib/stripe/resources/token.rb +1149 -0
- data/lib/stripe/resources/topup.rb +174 -0
- data/lib/stripe/resources/transfer.rb +153 -0
- data/lib/stripe/resources/treasury/credit_reversal.rb +92 -0
- data/lib/stripe/resources/treasury/debit_reversal.rb +103 -0
- data/lib/stripe/resources/treasury/financial_account.rb +772 -0
- data/lib/stripe/resources/treasury/financial_account_features.rb +191 -0
- data/lib/stripe/resources/treasury/inbound_transfer.rb +235 -0
- data/lib/stripe/resources/treasury/outbound_payment.rb +495 -0
- data/lib/stripe/resources/treasury/outbound_transfer.rb +387 -0
- data/lib/stripe/resources/treasury/received_credit.rb +283 -0
- data/lib/stripe/resources/treasury/received_debit.rb +244 -0
- data/lib/stripe/resources/treasury/transaction.rb +176 -0
- data/lib/stripe/resources/treasury/transaction_entry.rb +157 -0
- data/lib/stripe/resources/usage_record.rb +13 -0
- data/lib/stripe/resources/usage_record_summary.rb +21 -0
- data/lib/stripe/resources/v2/amount.rb +9 -0
- data/lib/stripe/resources/v2/billing/meter_event.rb +18 -0
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +21 -0
- data/lib/stripe/resources/v2/billing/meter_event_session.rb +14 -0
- data/lib/stripe/resources/v2/event.rb +27 -0
- data/lib/stripe/resources/v2/event_destination.rb +59 -0
- data/lib/stripe/resources/webhook_endpoint.rb +122 -0
- data/lib/stripe/resources.rb +31 -0
- data/lib/stripe/services/account_capability_service.rb +32 -0
- data/lib/stripe/services/account_external_account_service.rb +250 -0
- data/lib/stripe/services/account_link_service.rb +46 -0
- data/lib/stripe/services/account_login_link_service.rb +9 -0
- data/lib/stripe/services/account_notice_service.rb +101 -0
- data/lib/stripe/services/account_person_service.rb +875 -0
- data/lib/stripe/services/account_service.rb +4351 -0
- data/lib/stripe/services/account_session_service.rb +664 -0
- data/lib/stripe/services/apple_pay_domain_service.rb +51 -0
- data/lib/stripe/services/application_fee_refund_service.rb +54 -0
- data/lib/stripe/services/application_fee_service.rb +57 -0
- data/lib/stripe/services/apps/secret_service.rb +116 -0
- data/lib/stripe/services/balance_service.rb +9 -0
- data/lib/stripe/services/balance_transaction_service.rb +69 -0
- data/lib/stripe/services/billing/alert_service.rb +113 -0
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +37 -0
- data/lib/stripe/services/billing/credit_balance_transaction_service.rb +40 -0
- data/lib/stripe/services/billing/credit_grant_service.rb +151 -0
- data/lib/stripe/services/billing/meter_event_adjustment_service.rb +26 -0
- data/lib/stripe/services/billing/meter_event_service.rb +21 -0
- data/lib/stripe/services/billing/meter_event_summary_service.rb +39 -0
- data/lib/stripe/services/billing/meter_service.rb +130 -0
- data/lib/stripe/services/billing_portal/configuration_service.rb +444 -0
- data/lib/stripe/services/billing_portal/session_service.rb +173 -0
- 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 +1736 -0
- data/lib/stripe/services/checkout/session_line_item_service.rb +18 -0
- data/lib/stripe/services/checkout/session_service.rb +2465 -0
- data/lib/stripe/services/climate/order_service.rb +102 -0
- data/lib/stripe/services/climate/product_service.rb +27 -0
- data/lib/stripe/services/climate/supplier_service.rb +27 -0
- data/lib/stripe/services/confirmation_token_service.rb +9 -0
- data/lib/stripe/services/country_spec_service.rb +27 -0
- data/lib/stripe/services/coupon_service.rb +152 -0
- data/lib/stripe/services/credit_note_line_item_service.rb +18 -0
- data/lib/stripe/services/credit_note_preview_lines_service.rb +156 -0
- data/lib/stripe/services/credit_note_service.rb +373 -0
- data/lib/stripe/services/customer_balance_transaction_service.rb +63 -0
- data/lib/stripe/services/customer_cash_balance_service.rb +29 -0
- data/lib/stripe/services/customer_cash_balance_transaction_service.rb +27 -0
- data/lib/stripe/services/customer_funding_instructions_service.rb +42 -0
- data/lib/stripe/services/customer_payment_method_service.rb +40 -0
- data/lib/stripe/services/customer_payment_source_service.rb +179 -0
- data/lib/stripe/services/customer_service.rb +593 -0
- data/lib/stripe/services/customer_session_service.rb +96 -0
- data/lib/stripe/services/customer_tax_id_service.rb +45 -0
- data/lib/stripe/services/dispute_service.rb +374 -0
- data/lib/stripe/services/entitlements/active_entitlement_service.rb +36 -0
- data/lib/stripe/services/entitlements/feature_service.rb +76 -0
- data/lib/stripe/services/ephemeral_key_service.rb +36 -0
- data/lib/stripe/services/event_service.rb +65 -0
- data/lib/stripe/services/exchange_rate_service.rb +27 -0
- data/lib/stripe/services/file_link_service.rb +94 -0
- data/lib/stripe/services/file_service.rb +89 -0
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +37 -0
- data/lib/stripe/services/financial_connections/account_owner_service.rb +27 -0
- data/lib/stripe/services/financial_connections/account_service.rb +99 -1
- data/lib/stripe/services/financial_connections/institution_service.rb +57 -0
- data/lib/stripe/services/financial_connections/session_service.rb +97 -0
- data/lib/stripe/services/financial_connections/transaction_service.rb +70 -0
- data/lib/stripe/services/financial_connections_service.rb +2 -1
- data/lib/stripe/services/forwarding/request_service.rb +106 -0
- data/lib/stripe/services/gift_cards/card_service.rb +170 -0
- data/lib/stripe/services/gift_cards/transaction_service.rb +209 -0
- data/lib/stripe/services/gift_cards_service.rb +14 -0
- data/lib/stripe/services/identity/verification_report_service.rb +65 -0
- data/lib/stripe/services/identity/verification_session_service.rb +231 -0
- data/lib/stripe/services/invoice_item_service.rb +388 -0
- data/lib/stripe/services/invoice_line_item_service.rb +237 -0
- data/lib/stripe/services/invoice_payment_service.rb +55 -0
- data/lib/stripe/services/invoice_rendering_template_service.rb +51 -0
- data/lib/stripe/services/invoice_service.rb +5567 -1
- data/lib/stripe/services/invoice_upcoming_lines_service.rb +1864 -0
- data/lib/stripe/services/issuing/authorization_service.rb +104 -0
- data/lib/stripe/services/issuing/card_service.rb +455 -0
- data/lib/stripe/services/issuing/cardholder_service.rb +526 -0
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +504 -0
- data/lib/stripe/services/issuing/dispute_service.rb +633 -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/personalization_design_service.rb +193 -0
- data/lib/stripe/services/issuing/physical_bundle_service.rb +40 -0
- data/lib/stripe/services/issuing/token_service.rb +73 -0
- data/lib/stripe/services/issuing/transaction_service.rb +81 -0
- data/lib/stripe/services/issuing_service.rb +5 -1
- data/lib/stripe/services/mandate_service.rb +9 -0
- data/lib/stripe/services/margin_service.rb +119 -0
- data/lib/stripe/services/order_line_item_service.rb +35 -0
- data/lib/stripe/services/order_service.rb +2254 -0
- data/lib/stripe/services/payment_attempt_record_service.rb +49 -0
- data/lib/stripe/services/payment_intent_service.rb +10894 -0
- data/lib/stripe/services/payment_link_line_item_service.rb +18 -0
- data/lib/stripe/services/payment_link_service.rb +1223 -0
- data/lib/stripe/services/payment_method_configuration_service.rb +2046 -0
- data/lib/stripe/services/payment_method_domain_service.rb +76 -0
- data/lib/stripe/services/payment_method_service.rb +864 -0
- data/lib/stripe/services/payment_record_service.rb +542 -0
- data/lib/stripe/services/payout_service.rb +159 -0
- data/lib/stripe/services/plan_service.rb +253 -0
- data/lib/stripe/services/price_service.rb +516 -0
- data/lib/stripe/services/product_feature_service.rb +42 -0
- data/lib/stripe/services/product_service.rb +459 -0
- data/lib/stripe/services/promotion_code_service.rb +178 -0
- data/lib/stripe/services/quote_computed_upfront_line_items_service.rb +18 -0
- data/lib/stripe/services/quote_line_item_service.rb +18 -0
- data/lib/stripe/services/quote_line_service.rb +35 -0
- data/lib/stripe/services/quote_preview_invoice_service.rb +35 -0
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +35 -0
- data/lib/stripe/services/quote_service.rb +2319 -1
- data/lib/stripe/services/radar/early_fraud_warning_service.rb +61 -0
- data/lib/stripe/services/radar/value_list_item_service.rb +79 -0
- data/lib/stripe/services/radar/value_list_service.rb +103 -0
- data/lib/stripe/services/refund_service.rb +137 -0
- data/lib/stripe/services/reporting/report_run_service.rb +106 -0
- data/lib/stripe/services/reporting/report_type_service.rb +18 -0
- data/lib/stripe/services/review_service.rb +56 -0
- data/lib/stripe/services/setup_attempt_service.rb +51 -0
- data/lib/stripe/services/setup_intent_service.rb +3476 -0
- data/lib/stripe/services/shipping_rate_service.rb +200 -0
- data/lib/stripe/services/sigma/scheduled_query_run_service.rb +27 -0
- data/lib/stripe/services/source_service.rb +601 -0
- data/lib/stripe/services/source_transaction_service.rb +18 -0
- data/lib/stripe/services/subscription_item_service.rb +383 -0
- data/lib/stripe/services/subscription_item_usage_record_service.rb +18 -0
- data/lib/stripe/services/subscription_item_usage_record_summary_service.rb +18 -0
- data/lib/stripe/services/subscription_schedule_service.rb +2053 -0
- data/lib/stripe/services/subscription_service.rb +1722 -0
- data/lib/stripe/services/tax/association_service.rb +31 -0
- data/lib/stripe/services/tax/calculation_line_item_service.rb +18 -0
- data/lib/stripe/services/tax/calculation_service.rb +205 -0
- data/lib/stripe/services/tax/form_service.rb +100 -0
- data/lib/stripe/services/tax/registration_service.rb +1564 -0
- data/lib/stripe/services/tax/settings_service.rb +74 -0
- data/lib/stripe/services/tax/transaction_line_item_service.rb +18 -0
- data/lib/stripe/services/tax/transaction_service.rb +111 -0
- data/lib/stripe/services/tax_code_service.rb +27 -0
- data/lib/stripe/services/tax_id_service.rb +79 -0
- data/lib/stripe/services/tax_rate_service.rb +155 -0
- data/lib/stripe/services/tax_service.rb +3 -1
- data/lib/stripe/services/terminal/configuration_service.rb +793 -0
- data/lib/stripe/services/terminal/connection_token_service.rb +12 -0
- data/lib/stripe/services/terminal/location_service.rb +144 -0
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +28 -0
- data/lib/stripe/services/terminal/reader_service.rb +443 -0
- data/lib/stripe/services/terminal_service.rb +2 -1
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +673 -0
- data/lib/stripe/services/test_helpers/customer_service.rb +18 -0
- data/lib/stripe/services/test_helpers/issuing/authorization_service.rb +745 -0
- data/lib/stripe/services/test_helpers/issuing/card_service.rb +45 -0
- data/lib/stripe/services/test_helpers/issuing/personalization_design_service.rb +41 -0
- data/lib/stripe/services/test_helpers/issuing/transaction_service.rb +632 -0
- data/lib/stripe/services/test_helpers/refund_service.rb +9 -0
- data/lib/stripe/services/test_helpers/terminal/reader_service.rb +44 -0
- data/lib/stripe/services/test_helpers/test_clock_service.rb +57 -0
- data/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +38 -0
- data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +87 -0
- data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +87 -0
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +84 -0
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +84 -0
- data/lib/stripe/services/token_service.rb +1121 -0
- data/lib/stripe/services/topup_service.rb +142 -0
- data/lib/stripe/services/transfer_reversal_service.rb +66 -0
- data/lib/stripe/services/transfer_service.rb +119 -0
- data/lib/stripe/services/treasury/credit_reversal_service.rb +59 -0
- data/lib/stripe/services/treasury/debit_reversal_service.rb +63 -0
- data/lib/stripe/services/treasury/financial_account_features_service.rb +169 -0
- data/lib/stripe/services/treasury/financial_account_service.rb +509 -0
- data/lib/stripe/services/treasury/inbound_transfer_service.rb +88 -0
- data/lib/stripe/services/treasury/outbound_payment_service.rb +258 -0
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +148 -0
- data/lib/stripe/services/treasury/received_credit_service.rb +52 -0
- data/lib/stripe/services/treasury/received_debit_service.rb +40 -0
- data/lib/stripe/services/treasury/transaction_entry_service.rb +87 -0
- data/lib/stripe/services/treasury/transaction_service.rb +95 -0
- data/lib/stripe/services/v1_services.rb +8 -1
- data/lib/stripe/services/v2/billing/meter_event_adjustment_service.rb +23 -0
- data/lib/stripe/services/v2/billing/meter_event_service.rb +25 -0
- data/lib/stripe/services/v2/billing/meter_event_session_service.rb +3 -0
- data/lib/stripe/services/v2/billing/meter_event_stream_service.rb +33 -0
- data/lib/stripe/services/v2/core/event_destination_service.rb +146 -0
- data/lib/stripe/services/v2/core/event_service.rb +18 -0
- data/lib/stripe/services/webhook_endpoint_service.rb +96 -0
- data/lib/stripe/services.rb +25 -0
- data/lib/stripe/stripe_client.rb +1 -1
- data/lib/stripe/stripe_configuration.rb +3 -1
- data/lib/stripe/stripe_object.rb +5 -0
- data/lib/stripe/util.rb +7 -1
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +46 -0
- data/rbi/stripe/resources/account.rbi +5100 -0
- data/rbi/stripe/resources/account_link.rbi +74 -0
- data/rbi/stripe/resources/account_notice.rbi +139 -0
- data/rbi/stripe/resources/account_session.rbi +1007 -0
- data/rbi/stripe/resources/apple_pay_domain.rbi +97 -0
- data/rbi/stripe/resources/application.rbi +20 -0
- data/rbi/stripe/resources/application_fee.rbi +123 -0
- data/rbi/stripe/resources/application_fee_refund.rbi +37 -0
- data/rbi/stripe/resources/apps/secret.rbi +195 -0
- data/rbi/stripe/resources/balance.rbi +187 -0
- data/rbi/stripe/resources/balance_transaction.rbi +149 -0
- data/rbi/stripe/resources/bank_account.rbi +127 -0
- data/rbi/stripe/resources/billing/alert.rbi +206 -0
- data/rbi/stripe/resources/billing/alert_triggered.rbi +28 -0
- data/rbi/stripe/resources/billing/credit_balance_summary.rbi +102 -0
- data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +154 -0
- data/rbi/stripe/resources/billing/credit_grant.rbi +269 -0
- data/rbi/stripe/resources/billing/meter.rbi +233 -0
- data/rbi/stripe/resources/billing/meter_error_report.rbi +71 -0
- data/rbi/stripe/resources/billing/meter_event.rbi +64 -0
- data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +64 -0
- data/rbi/stripe/resources/billing/meter_event_summary.rbi +33 -0
- data/rbi/stripe/resources/billing_portal/configuration.rbi +640 -0
- data/rbi/stripe/resources/billing_portal/session.rbi +341 -0
- data/rbi/stripe/resources/capability.rbi +125 -0
- data/rbi/stripe/resources/capital/financing_offer.rbi +190 -0
- data/rbi/stripe/resources/capital/financing_summary.rbi +74 -0
- data/rbi/stripe/resources/capital/financing_transaction.rbi +130 -0
- data/rbi/stripe/resources/card.rbi +128 -0
- data/rbi/stripe/resources/cash_balance.rbi +32 -0
- data/rbi/stripe/resources/charge.rbi +3484 -0
- data/rbi/stripe/resources/checkout/session.rbi +3995 -0
- data/rbi/stripe/resources/climate/order.rbi +250 -0
- data/rbi/stripe/resources/climate/product.rbi +82 -0
- data/rbi/stripe/resources/climate/supplier.rbi +79 -0
- data/rbi/stripe/resources/confirmation_token.rbi +1776 -0
- data/rbi/stripe/resources/connect_collection_transfer.rbi +26 -0
- data/rbi/stripe/resources/country_spec.rbi +92 -0
- data/rbi/stripe/resources/coupon.rbi +257 -0
- data/rbi/stripe/resources/credit_note.rbi +759 -0
- data/rbi/stripe/resources/credit_note_line_item.rbi +99 -0
- data/rbi/stripe/resources/customer.rbi +1001 -0
- data/rbi/stripe/resources/customer_balance_transaction.rbi +53 -0
- data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +151 -0
- data/rbi/stripe/resources/customer_session.rbi +196 -0
- data/rbi/stripe/resources/discount.rbi +53 -0
- data/rbi/stripe/resources/dispute.rbi +764 -0
- data/rbi/stripe/resources/entitlements/active_entitlement.rbi +65 -0
- data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +23 -0
- data/rbi/stripe/resources/entitlements/feature.rbi +124 -0
- data/rbi/stripe/resources/ephemeral_key.rbi +44 -0
- data/rbi/stripe/resources/event.rbi +190 -0
- data/rbi/stripe/resources/exchange_rate.rbi +73 -0
- data/rbi/stripe/resources/file.rbi +148 -0
- data/rbi/stripe/resources/file_link.rbi +146 -0
- data/rbi/stripe/resources/financial_connections/account.rbi +358 -0
- data/rbi/stripe/resources/financial_connections/account_inferred_balance.rbi +27 -0
- data/rbi/stripe/resources/financial_connections/account_owner.rbi +35 -0
- data/rbi/stripe/resources/financial_connections/account_ownership.rbi +23 -0
- data/rbi/stripe/resources/financial_connections/institution.rbi +99 -0
- data/rbi/stripe/resources/financial_connections/session.rbi +186 -0
- data/rbi/stripe/resources/financial_connections/transaction.rbi +127 -0
- data/rbi/stripe/resources/forwarding/request.rbi +219 -0
- data/rbi/stripe/resources/funding_instructions.rbi +437 -0
- data/rbi/stripe/resources/gift_cards/card.rbi +206 -0
- data/rbi/stripe/resources/gift_cards/transaction.rbi +257 -0
- data/rbi/stripe/resources/identity/verification_report.rbi +354 -0
- data/rbi/stripe/resources/identity/verification_session.rbi +518 -0
- data/rbi/stripe/resources/invoice.rbi +8928 -0
- data/rbi/stripe/resources/invoice_item.rbi +514 -0
- data/rbi/stripe/resources/invoice_line_item.rbi +400 -0
- data/rbi/stripe/resources/invoice_payment.rbi +70 -0
- data/rbi/stripe/resources/invoice_rendering_template.rbi +114 -0
- data/rbi/stripe/resources/issuing/authorization.rbi +1266 -0
- data/rbi/stripe/resources/issuing/card.rbi +738 -0
- data/rbi/stripe/resources/issuing/cardholder.rbi +732 -0
- data/rbi/stripe/resources/issuing/credit_underwriting_record.rbi +622 -0
- data/rbi/stripe/resources/issuing/dispute.rbi +900 -0
- data/rbi/stripe/resources/issuing/dispute_settlement_detail.rbi +83 -0
- data/rbi/stripe/resources/issuing/fraud_liability_debit.rbi +90 -0
- data/rbi/stripe/resources/issuing/personalization_design.rbi +333 -0
- data/rbi/stripe/resources/issuing/physical_bundle.rbi +86 -0
- data/rbi/stripe/resources/issuing/settlement.rbi +62 -0
- data/rbi/stripe/resources/issuing/token.rbi +231 -0
- data/rbi/stripe/resources/issuing/transaction.rbi +1057 -0
- data/rbi/stripe/resources/line_item.rbi +108 -0
- data/rbi/stripe/resources/login_link.rbi +18 -0
- data/rbi/stripe/resources/mandate.rbi +219 -0
- data/rbi/stripe/resources/margin.rbi +127 -0
- data/rbi/stripe/resources/order.rbi +3016 -0
- data/rbi/stripe/resources/payment_attempt_record.rbi +215 -0
- data/rbi/stripe/resources/payment_intent.rbi +13843 -0
- data/rbi/stripe/resources/payment_link.rbi +1666 -0
- data/rbi/stripe/resources/payment_method.rbi +1908 -0
- data/rbi/stripe/resources/payment_method_configuration.rbi +3171 -0
- data/rbi/stripe/resources/payment_method_domain.rbi +217 -0
- data/rbi/stripe/resources/payment_record.rbi +722 -0
- data/rbi/stripe/resources/payout.rbi +299 -0
- data/rbi/stripe/resources/person.rbi +371 -0
- data/rbi/stripe/resources/plan.rbi +385 -0
- data/rbi/stripe/resources/price.rbi +731 -0
- data/rbi/stripe/resources/product.rbi +615 -0
- data/rbi/stripe/resources/product_feature.rbi +26 -0
- data/rbi/stripe/resources/promotion_code.rbi +266 -0
- data/rbi/stripe/resources/quote.rbi +3186 -0
- data/rbi/stripe/resources/quote_line.rbi +350 -0
- data/rbi/stripe/resources/quote_preview_invoice.rbi +850 -0
- data/rbi/stripe/resources/quote_preview_subscription_schedule.rbi +474 -0
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +101 -0
- data/rbi/stripe/resources/radar/value_list.rbi +175 -0
- data/rbi/stripe/resources/radar/value_list_item.rbi +134 -0
- data/rbi/stripe/resources/refund.rbi +515 -0
- data/rbi/stripe/resources/reporting/report_run.rbi +194 -0
- data/rbi/stripe/resources/reporting/report_type.rbi +64 -0
- data/rbi/stripe/resources/reserve_transaction.rbi +23 -0
- data/rbi/stripe/resources/reversal.rbi +51 -0
- data/rbi/stripe/resources/review.rbi +159 -0
- data/rbi/stripe/resources/setup_attempt.rbi +484 -0
- data/rbi/stripe/resources/setup_intent.rbi +4041 -0
- data/rbi/stripe/resources/shipping_rate.rbi +310 -0
- data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +82 -0
- data/rbi/stripe/resources/source.rbi +1543 -0
- data/rbi/stripe/resources/source_mandate_notification.rbi +77 -0
- data/rbi/stripe/resources/source_transaction.rbi +127 -0
- data/rbi/stripe/resources/subscription.rbi +2308 -0
- data/rbi/stripe/resources/subscription_item.rbi +478 -0
- data/rbi/stripe/resources/subscription_schedule.rbi +2653 -0
- data/rbi/stripe/resources/tax/association.rbi +94 -0
- data/rbi/stripe/resources/tax/calculation.rbi +479 -0
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +88 -0
- data/rbi/stripe/resources/tax/form.rbi +224 -0
- data/rbi/stripe/resources/tax/registration.rbi +2438 -0
- data/rbi/stripe/resources/tax/settings.rbi +148 -0
- data/rbi/stripe/resources/tax/transaction.rbi +356 -0
- data/rbi/stripe/resources/tax/transaction_line_item.rbi +54 -0
- data/rbi/stripe/resources/tax_code.rbi +51 -0
- data/rbi/stripe/resources/tax_deducted_at_source.rbi +23 -0
- data/rbi/stripe/resources/tax_id.rbi +174 -0
- data/rbi/stripe/resources/tax_rate.rbi +244 -0
- data/rbi/stripe/resources/terminal/configuration.rbi +1091 -0
- data/rbi/stripe/resources/terminal/connection_token.rbi +37 -0
- data/rbi/stripe/resources/terminal/location.rbi +231 -0
- data/rbi/stripe/resources/terminal/reader.rbi +952 -0
- data/rbi/stripe/resources/terminal/reader_collected_data.rbi +41 -0
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +139 -0
- data/rbi/stripe/resources/token.rbi +1175 -0
- data/rbi/stripe/resources/topup.rbi +225 -0
- data/rbi/stripe/resources/transfer.rbi +204 -0
- data/rbi/stripe/resources/treasury/credit_reversal.rbi +126 -0
- data/rbi/stripe/resources/treasury/debit_reversal.rbi +138 -0
- data/rbi/stripe/resources/treasury/financial_account.rbi +870 -0
- data/rbi/stripe/resources/treasury/financial_account_features.rbi +263 -0
- data/rbi/stripe/resources/treasury/inbound_transfer.rbi +302 -0
- data/rbi/stripe/resources/treasury/outbound_payment.rbi +589 -0
- data/rbi/stripe/resources/treasury/outbound_transfer.rbi +473 -0
- data/rbi/stripe/resources/treasury/received_credit.rbi +348 -0
- data/rbi/stripe/resources/treasury/received_debit.rbi +305 -0
- data/rbi/stripe/resources/treasury/transaction.rbi +216 -0
- data/rbi/stripe/resources/treasury/transaction_entry.rbi +193 -0
- data/rbi/stripe/resources/usage_record.rbi +32 -0
- data/rbi/stripe/resources/usage_record_summary.rbi +38 -0
- data/rbi/stripe/resources/v2/amount.rbi +14 -0
- data/rbi/stripe/resources/v2/billing/meter_event.rbi +37 -0
- data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +41 -0
- data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +31 -0
- data/rbi/stripe/resources/v2/event.rbi +47 -0
- data/rbi/stripe/resources/v2/event_destination.rbi +90 -0
- data/rbi/stripe/resources/webhook_endpoint.rbi +177 -0
- data/rbi/stripe/services/account_capability_service.rbi +51 -0
- data/rbi/stripe/services/account_external_account_service.rbi +306 -0
- data/rbi/stripe/services/account_link_service.rbi +58 -0
- data/rbi/stripe/services/account_login_link_service.rbi +22 -0
- data/rbi/stripe/services/account_notice_service.rbi +90 -0
- data/rbi/stripe/services/account_person_service.rbi +903 -0
- data/rbi/stripe/services/account_service.rbi +4185 -0
- data/rbi/stripe/services/account_session_service.rbi +757 -0
- data/rbi/stripe/services/apple_pay_domain_service.rbi +78 -0
- data/rbi/stripe/services/application_fee_refund_service.rbi +91 -0
- data/rbi/stripe/services/application_fee_service.rbi +74 -0
- data/rbi/stripe/services/apps/secret_service.rbi +151 -0
- data/rbi/stripe/services/apps_service.rbi +9 -0
- data/rbi/stripe/services/balance_service.rbi +21 -0
- data/rbi/stripe/services/balance_transaction_service.rbi +89 -0
- data/rbi/stripe/services/billing/alert_service.rbi +152 -0
- data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +54 -0
- data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +59 -0
- data/rbi/stripe/services/billing/credit_grant_service.rbi +191 -0
- data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +40 -0
- data/rbi/stripe/services/billing/meter_event_service.rbi +42 -0
- data/rbi/stripe/services/billing/meter_event_summary_service.rbi +54 -0
- data/rbi/stripe/services/billing/meter_service.rbi +163 -0
- data/rbi/stripe/services/billing_portal/configuration_service.rbi +497 -0
- data/rbi/stripe/services/billing_portal/session_service.rbi +202 -0
- data/rbi/stripe/services/billing_portal_service.rbi +10 -0
- data/rbi/stripe/services/billing_service.rbi +15 -0
- data/rbi/stripe/services/capital/financing_offer_service.rbi +95 -0
- data/rbi/stripe/services/capital/financing_summary_service.rbi +22 -0
- data/rbi/stripe/services/capital/financing_transaction_service.rbi +68 -0
- data/rbi/stripe/services/capital_service.rbi +11 -0
- data/rbi/stripe/services/charge_service.rbi +1816 -0
- data/rbi/stripe/services/checkout/session_line_item_service.rbi +33 -0
- data/rbi/stripe/services/checkout/session_service.rbi +2582 -0
- data/rbi/stripe/services/checkout_service.rbi +9 -0
- data/rbi/stripe/services/climate/order_service.rbi +140 -0
- data/rbi/stripe/services/climate/product_service.rbi +46 -0
- data/rbi/stripe/services/climate/supplier_service.rbi +46 -0
- data/rbi/stripe/services/climate_service.rbi +11 -0
- data/rbi/stripe/services/confirmation_token_service.rbi +20 -0
- data/rbi/stripe/services/country_spec_service.rbi +44 -0
- data/rbi/stripe/services/coupon_service.rbi +190 -0
- data/rbi/stripe/services/credit_note_line_item_service.rbi +31 -0
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +167 -0
- data/rbi/stripe/services/credit_note_service.rbi +420 -0
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +92 -0
- data/rbi/stripe/services/customer_cash_balance_service.rbi +45 -0
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +44 -0
- data/rbi/stripe/services/customer_funding_instructions_service.rbi +59 -0
- data/rbi/stripe/services/customer_payment_method_service.rbi +57 -0
- data/rbi/stripe/services/customer_payment_source_service.rbi +228 -0
- data/rbi/stripe/services/customer_service.rbi +647 -0
- data/rbi/stripe/services/customer_session_service.rbi +110 -0
- data/rbi/stripe/services/customer_tax_id_service.rbi +72 -0
- data/rbi/stripe/services/dispute_service.rbi +422 -0
- data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +55 -0
- data/rbi/stripe/services/entitlements/feature_service.rbi +107 -0
- data/rbi/stripe/services/entitlements_service.rbi +10 -0
- data/rbi/stripe/services/ephemeral_key_service.rbi +53 -0
- data/rbi/stripe/services/event_service.rbi +81 -0
- data/rbi/stripe/services/exchange_rate_service.rbi +44 -0
- data/rbi/stripe/services/file_link_service.rbi +122 -0
- data/rbi/stripe/services/file_service.rbi +114 -0
- data/rbi/stripe/services/financial_connections/account_inferred_balance_service.rbi +33 -0
- data/rbi/stripe/services/financial_connections/account_owner_service.rbi +42 -0
- data/rbi/stripe/services/financial_connections/account_service.rbi +132 -0
- data/rbi/stripe/services/financial_connections/institution_service.rbi +46 -0
- data/rbi/stripe/services/financial_connections/session_service.rbi +111 -0
- data/rbi/stripe/services/financial_connections/transaction_service.rbi +90 -0
- data/rbi/stripe/services/financial_connections_service.rbi +12 -0
- data/rbi/stripe/services/forwarding/request_service.rbi +132 -0
- data/rbi/stripe/services/forwarding_service.rbi +9 -0
- data/rbi/stripe/services/gift_cards/card_service.rbi +142 -0
- data/rbi/stripe/services/gift_cards/transaction_service.rbi +174 -0
- data/rbi/stripe/services/gift_cards_service.rbi +10 -0
- data/rbi/stripe/services/identity/verification_report_service.rbi +85 -0
- data/rbi/stripe/services/identity/verification_session_service.rbi +317 -0
- data/rbi/stripe/services/identity_service.rbi +10 -0
- data/rbi/stripe/services/invoice_item_service.rbi +424 -0
- data/rbi/stripe/services/invoice_line_item_service.rbi +270 -0
- data/rbi/stripe/services/invoice_payment_service.rbi +44 -0
- data/rbi/stripe/services/invoice_rendering_template_service.rbi +82 -0
- data/rbi/stripe/services/invoice_service.rbi +6040 -0
- data/rbi/stripe/services/invoice_upcoming_lines_service.rbi +2023 -0
- data/rbi/stripe/services/issuing/authorization_service.rbi +140 -0
- data/rbi/stripe/services/issuing/card_service.rbi +479 -0
- data/rbi/stripe/services/issuing/cardholder_service.rbi +568 -0
- data/rbi/stripe/services/issuing/credit_underwriting_record_service.rbi +498 -0
- data/rbi/stripe/services/issuing/dispute_service.rbi +701 -0
- data/rbi/stripe/services/issuing/dispute_settlement_detail_service.rbi +55 -0
- data/rbi/stripe/services/issuing/fraud_liability_debit_service.rbi +73 -0
- data/rbi/stripe/services/issuing/personalization_design_service.rbi +233 -0
- data/rbi/stripe/services/issuing/physical_bundle_service.rbi +59 -0
- data/rbi/stripe/services/issuing/token_service.rbi +95 -0
- data/rbi/stripe/services/issuing/transaction_service.rbi +103 -0
- data/rbi/stripe/services/issuing_service.rbi +19 -0
- data/rbi/stripe/services/mandate_service.rbi +20 -0
- data/rbi/stripe/services/margin_service.rbi +104 -0
- data/rbi/stripe/services/order_line_item_service.rbi +31 -0
- data/rbi/stripe/services/order_service.rbi +2306 -0
- data/rbi/stripe/services/payment_attempt_record_service.rbi +36 -0
- data/rbi/stripe/services/payment_intent_service.rbi +11429 -0
- data/rbi/stripe/services/payment_link_line_item_service.rbi +31 -0
- data/rbi/stripe/services/payment_link_service.rbi +1250 -0
- data/rbi/stripe/services/payment_method_configuration_service.rbi +2171 -0
- data/rbi/stripe/services/payment_method_domain_service.rbi +110 -0
- data/rbi/stripe/services/payment_method_service.rbi +883 -0
- data/rbi/stripe/services/payment_record_service.rbi +521 -0
- data/rbi/stripe/services/payout_service.rbi +197 -0
- data/rbi/stripe/services/plan_service.rbi +286 -0
- data/rbi/stripe/services/price_service.rbi +551 -0
- data/rbi/stripe/services/product_feature_service.rbi +69 -0
- data/rbi/stripe/services/product_service.rbi +503 -0
- data/rbi/stripe/services/promotion_code_service.rbi +210 -0
- data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +31 -0
- data/rbi/stripe/services/quote_line_item_service.rbi +31 -0
- data/rbi/stripe/services/quote_line_service.rbi +31 -0
- data/rbi/stripe/services/quote_preview_invoice_service.rbi +31 -0
- data/rbi/stripe/services/quote_preview_subscription_schedule_service.rbi +31 -0
- data/rbi/stripe/services/quote_service.rbi +2390 -0
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +83 -0
- data/rbi/stripe/services/radar/value_list_item_service.rbi +107 -0
- data/rbi/stripe/services/radar/value_list_service.rbi +139 -0
- data/rbi/stripe/services/radar_service.rbi +11 -0
- data/rbi/stripe/services/refund_service.rbi +181 -0
- data/rbi/stripe/services/reporting/report_run_service.rbi +131 -0
- data/rbi/stripe/services/reporting/report_type_service.rbi +35 -0
- data/rbi/stripe/services/reporting_service.rbi +10 -0
- data/rbi/stripe/services/review_service.rbi +82 -0
- data/rbi/stripe/services/setup_attempt_service.rbi +63 -0
- data/rbi/stripe/services/setup_intent_service.rbi +3609 -0
- data/rbi/stripe/services/shipping_rate_service.rbi +235 -0
- data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +46 -0
- data/rbi/stripe/services/sigma_service.rbi +9 -0
- data/rbi/stripe/services/source_service.rbi +647 -0
- data/rbi/stripe/services/source_transaction_service.rbi +31 -0
- data/rbi/stripe/services/subscription_item_service.rbi +422 -0
- data/rbi/stripe/services/subscription_item_usage_record_service.rbi +37 -0
- data/rbi/stripe/services/subscription_item_usage_record_summary_service.rbi +33 -0
- data/rbi/stripe/services/subscription_schedule_service.rbi +2208 -0
- data/rbi/stripe/services/subscription_service.rbi +1870 -0
- data/rbi/stripe/services/tax/association_service.rbi +25 -0
- data/rbi/stripe/services/tax/calculation_line_item_service.rbi +33 -0
- data/rbi/stripe/services/tax/calculation_service.rbi +228 -0
- data/rbi/stripe/services/tax/form_service.rbi +85 -0
- data/rbi/stripe/services/tax/registration_service.rbi +1517 -0
- data/rbi/stripe/services/tax/settings_service.rbi +93 -0
- data/rbi/stripe/services/tax/transaction_line_item_service.rbi +33 -0
- data/rbi/stripe/services/tax/transaction_service.rbi +142 -0
- data/rbi/stripe/services/tax_code_service.rbi +44 -0
- data/rbi/stripe/services/tax_id_service.rbi +112 -0
- data/rbi/stripe/services/tax_rate_service.rbi +183 -0
- data/rbi/stripe/services/tax_service.rbi +14 -0
- data/rbi/stripe/services/terminal/configuration_service.rbi +822 -0
- data/rbi/stripe/services/terminal/connection_token_service.rbi +25 -0
- data/rbi/stripe/services/terminal/location_service.rbi +184 -0
- data/rbi/stripe/services/terminal/reader_collected_data_service.rbi +22 -0
- data/rbi/stripe/services/terminal/reader_service.rbi +513 -0
- data/rbi/stripe/services/terminal_service.rbi +13 -0
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +778 -0
- data/rbi/stripe/services/test_helpers/customer_service.rbi +33 -0
- data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +836 -0
- data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +76 -0
- data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +67 -0
- data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +705 -0
- data/rbi/stripe/services/test_helpers/issuing_service.rbi +14 -0
- data/rbi/stripe/services/test_helpers/refund_service.rbi +22 -0
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +62 -0
- data/rbi/stripe/services/test_helpers/terminal_service.rbi +11 -0
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +90 -0
- data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +64 -0
- data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +123 -0
- data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +123 -0
- data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +114 -0
- data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +114 -0
- data/rbi/stripe/services/test_helpers/treasury_service.rbi +15 -0
- data/rbi/stripe/services/test_helpers_service.rbi +15 -0
- data/rbi/stripe/services/token_service.rbi +1136 -0
- data/rbi/stripe/services/topup_service.rbi +172 -0
- data/rbi/stripe/services/transfer_reversal_service.rbi +99 -0
- data/rbi/stripe/services/transfer_service.rbi +150 -0
- data/rbi/stripe/services/treasury/credit_reversal_service.rbi +84 -0
- data/rbi/stripe/services/treasury/debit_reversal_service.rbi +88 -0
- data/rbi/stripe/services/treasury/financial_account_features_service.rbi +201 -0
- data/rbi/stripe/services/treasury/financial_account_service.rbi +566 -0
- data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +117 -0
- data/rbi/stripe/services/treasury/outbound_payment_service.rbi +300 -0
- data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +182 -0
- data/rbi/stripe/services/treasury/received_credit_service.rbi +70 -0
- data/rbi/stripe/services/treasury/received_debit_service.rbi +59 -0
- data/rbi/stripe/services/treasury/transaction_entry_service.rbi +107 -0
- data/rbi/stripe/services/treasury/transaction_service.rbi +114 -0
- data/rbi/stripe/services/treasury_service.rbi +18 -0
- data/rbi/stripe/services/v1_services.rbi +83 -0
- data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +39 -0
- data/rbi/stripe/services/v2/billing/meter_event_service.rbi +42 -0
- data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +20 -0
- data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +55 -0
- data/rbi/stripe/services/v2/billing_service.rbi +14 -0
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +203 -0
- data/rbi/stripe/services/v2/core/event_service.rbi +39 -0
- data/rbi/stripe/services/v2/core_service.rbi +12 -0
- data/rbi/stripe/services/v2_services.rbi +10 -0
- data/rbi/stripe/services/webhook_endpoint_service.rbi +131 -0
- metadata +435 -4
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,17 @@
|
|
1
1
|
# Changelog
|
2
|
+
|
3
|
+
## 13.4.0-beta.2 - 2025-01-09
|
4
|
+
* [#1504](https://github.com/stripe/stripe-ruby/pull/1504) Update generated code for beta
|
5
|
+
* Add support for `close` method on resource `Treasury.FinancialAccount`
|
6
|
+
|
7
|
+
## 13.4.0-beta.1 - 2024-12-20
|
8
|
+
* Support parameter and resource fields with typed RBIs
|
9
|
+
* [#1509](https://github.com/stripe/stripe-ruby/pull/1509) (beta) Publish RBIs with gem
|
10
|
+
* [#1505](https://github.com/stripe/stripe-ruby/pull/1505) Add method parameter type classes to all resources and services
|
11
|
+
|
12
|
+
* Add method parameter classes for all resources and service methods.
|
13
|
+
* 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.
|
14
|
+
|
2
15
|
## 13.3.0 - 2024-12-18
|
3
16
|
* [#1500](https://github.com/stripe/stripe-ruby/pull/1500) This release changes the pinned API version to `2024-12-18.acacia`.
|
4
17
|
|
@@ -6,10 +19,39 @@
|
|
6
19
|
|
7
20
|
* Fixes bug where `StripeObject` retrieved from lists could not be used to make requests, such as `refresh`
|
8
21
|
|
22
|
+
## 13.3.0-beta.3 - 2024-12-12
|
23
|
+
* [#1499](https://github.com/stripe/stripe-ruby/pull/1499) Update generated code for beta
|
24
|
+
* Add support for `AllowRedisplay` on `Card` and `Source`
|
25
|
+
* 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`
|
26
|
+
* Add support for new value `network_fallback` on enum `IssuingAuthorizationRequestHistoryReason`
|
27
|
+
* Remove support for `AmountRefunded` on `PaymentRecord`
|
28
|
+
* Add support for `Account` on `TerminalReaderActionCollectPaymentMethod`, `TerminalReaderActionConfirmPaymentIntent`, `TerminalReaderActionProcessPaymentIntent`, and `TerminalReaderActionRefundPayment`
|
29
|
+
|
30
|
+
## 13.3.0-beta.2 - 2024-12-05
|
31
|
+
* [#1492](https://github.com/stripe/stripe-ruby/pull/1492) Update generated code for beta
|
32
|
+
|
33
|
+
* [#1490](https://github.com/stripe/stripe-ruby/pull/1490) Add explicit attributes for fields in resources, and rbis for resources
|
34
|
+
|
35
|
+
## 13.3.0-beta.1 - 2024-11-21
|
36
|
+
* [#1489](https://github.com/stripe/stripe-ruby/pull/1489) Merging code from master to get the latest bug fixes.
|
37
|
+
|
9
38
|
## 13.2.0 - 2024-11-20
|
10
39
|
* [#1486](https://github.com/stripe/stripe-ruby/pull/1486) This release changes the pinned API version to `2024-11-20.acacia`.
|
11
40
|
* Add support for `respond` test helper method on resource `Issuing.Authorization`
|
12
41
|
|
42
|
+
## 13.2.0-beta.3 - 2024-11-14
|
43
|
+
* [#1484](https://github.com/stripe/stripe-ruby/pull/1484) Update generated code for beta
|
44
|
+
|
45
|
+
## 13.2.0-beta.2 - 2024-11-07
|
46
|
+
* [#1480](https://github.com/stripe/stripe-ruby/pull/1480) Update generated code for beta
|
47
|
+
* Add support for new resources `Issuing.FraudLiabilityDebit`, `PaymentAttemptRecord`, and `PaymentRecord`
|
48
|
+
* Add support for `list` and `retrieve` methods on resources `FraudLiabilityDebit` and `PaymentAttemptRecord`
|
49
|
+
* 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`
|
50
|
+
|
51
|
+
## 13.2.0-beta.1 - 2024-10-29
|
52
|
+
* [#1477](https://github.com/stripe/stripe-ruby/pull/1477) Update generated code for beta
|
53
|
+
* Add support for `trigger_action` method on resource `PaymentIntent`
|
54
|
+
|
13
55
|
## 13.1.2 - 2024-11-15
|
14
56
|
* [#1488](https://github.com/stripe/stripe-ruby/pull/1488) Fix incorrect key in param encoding
|
15
57
|
|
@@ -24,6 +66,28 @@
|
|
24
66
|
* [#1476](https://github.com/stripe/stripe-ruby/pull/1476) Fix APIResource#retrieve bug not returning instance of custom resources
|
25
67
|
* 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.
|
26
68
|
|
69
|
+
## 13.1.0-beta.3 - 2024-10-18
|
70
|
+
* [#1469](https://github.com/stripe/stripe-ruby/pull/1469) Update generated code for beta
|
71
|
+
|
72
|
+
## 13.1.0-beta.2 - 2024-10-08
|
73
|
+
* [#1468](https://github.com/stripe/stripe-ruby/pull/1468) Update generated code for beta
|
74
|
+
* Add support for `submit_card` test helper method on resource `Issuing.Card`
|
75
|
+
|
76
|
+
## 13.1.0-beta.1 - 2024-10-03
|
77
|
+
* [#1465](https://github.com/stripe/stripe-ruby/pull/1465) Updates to the `Preview` class
|
78
|
+
* Remove `Stripe::Preview`. Use `StripeClient#raw_request` instead (see below).
|
79
|
+
* 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:
|
80
|
+
```ruby
|
81
|
+
# Before
|
82
|
+
resp = Stripe.raw_request(:post, "v1/charges", , {p1: "p1"}, {stripe_account: "acct_123"})
|
83
|
+
charge = Stripe.deserialize(resp.data)
|
84
|
+
|
85
|
+
# After
|
86
|
+
client = StripeClient.new("sk_test_123")
|
87
|
+
resp = client.raw_request(:post, "/v1/charges", params: {p1: "p1"}, opts: {stripe_account: "acct_123"})
|
88
|
+
charge = client.deserialize(resp.data)
|
89
|
+
```
|
90
|
+
|
27
91
|
## 13.0.2 - 2024-10-23
|
28
92
|
* [#1473](https://github.com/stripe/stripe-ruby/pull/1473) Always return the result of APIResource#refresh in APIResource.retrieve
|
29
93
|
|
@@ -101,8 +165,18 @@
|
|
101
165
|
|
102
166
|
### Additions
|
103
167
|
* 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)
|
104
|
-
* Add method `parse_thin_event()` on the `StripeClient` class to parse [thin events](https://docs.corp.stripe.com/event-destinations#events-overview).
|
168
|
+
* Add method `parse_thin_event()` on the `StripeClient` class to parse [thin events](https://docs.corp.stripe.com/event-destinations#events-overview).
|
169
|
+
|
170
|
+
## 12.7.0-beta.2 - 2024-09-18
|
171
|
+
* [#1449](https://github.com/stripe/stripe-ruby/pull/1449) Update generated code for beta
|
172
|
+
* Remove support for resource `QuotePhase`
|
173
|
+
* Remove support for `list_line_items` and `retrieve` methods on resource `QuotePhase`
|
105
174
|
|
175
|
+
## 12.7.0-beta.1 - 2024-09-13
|
176
|
+
* [#1446](https://github.com/stripe/stripe-ruby/pull/1446) Update generated code for beta
|
177
|
+
* Add support for new resources `Issuing.DisputeSettlementDetail` and `Issuing.Settlement`
|
178
|
+
* Add support for `list` and `retrieve` methods on resource `DisputeSettlementDetail`
|
179
|
+
* Remove support for `list` method on resource `QuotePhase`
|
106
180
|
|
107
181
|
## 12.6.0 - 2024-09-12
|
108
182
|
* [#1442](https://github.com/stripe/stripe-ruby/pull/1442) Update generated code
|
@@ -110,12 +184,28 @@
|
|
110
184
|
* Add support for `archive`, `list`, `retrieve`, and `unarchive` methods on resource `InvoiceRenderingTemplate`
|
111
185
|
* [#1443](https://github.com/stripe/stripe-ruby/pull/1443) Removed v1/files override
|
112
186
|
|
187
|
+
## 12.6.0-beta.1 - 2024-09-05
|
188
|
+
* [#1441](https://github.com/stripe/stripe-ruby/pull/1441) Update generated code for beta
|
189
|
+
* Add support for new resources `Billing.MeterErrorReport` and `Terminal.ReaderCollectedData`
|
190
|
+
* Add support for `retrieve` method on resource `ReaderCollectedData`
|
191
|
+
|
113
192
|
## 12.5.0 - 2024-08-08
|
114
193
|
* [#1440](https://github.com/stripe/stripe-ruby/pull/1440) Update generated code
|
115
194
|
* Add support for new resources `Billing.AlertTriggered` and `Billing.Alert`
|
116
195
|
* Add support for `activate`, `archive`, `create`, `deactivate`, `list`, and `retrieve` methods on resource `Alert`
|
117
196
|
* Add support for `retrieve` method on resource `Tax.Calculation`
|
118
197
|
|
198
|
+
## 12.5.0-beta.2 - 2024-08-01
|
199
|
+
* [#1439](https://github.com/stripe/stripe-ruby/pull/1439) Update generated code for beta
|
200
|
+
* Add support for `attach_payment` method on resource `Invoice`
|
201
|
+
|
202
|
+
## 12.5.0-beta.1 - 2024-07-25
|
203
|
+
* [#1429](https://github.com/stripe/stripe-ruby/pull/1429) Update generated code for beta
|
204
|
+
* Add support for new resources `Billing.AlertTriggered`, `Billing.Alert`, and `Tax.Association`
|
205
|
+
* Add support for `activate`, `archive`, `create`, `deactivate`, `list`, and `retrieve` methods on resource `Alert`
|
206
|
+
* Add support for `find` method on resource `Association`
|
207
|
+
* [#1434](https://github.com/stripe/stripe-ruby/pull/1434) Merge changes from stripe/stripe-ruby master
|
208
|
+
|
119
209
|
## 12.4.0 - 2024-07-25
|
120
210
|
* [#1437](https://github.com/stripe/stripe-ruby/pull/1437) Update generated code
|
121
211
|
* Add support for `update` method on resource `Checkout.Session`
|
@@ -132,6 +222,12 @@
|
|
132
222
|
|
133
223
|
- 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.
|
134
224
|
|
225
|
+
## 12.2.0-beta.1 - 2024-07-05
|
226
|
+
* [#1428](https://github.com/stripe/stripe-ruby/pull/1428) Update generated code for beta
|
227
|
+
* Add support for new resource `FinancialConnections.Institution`
|
228
|
+
* Add support for `list` and `retrieve` methods on resource `Institution`
|
229
|
+
* [#1409](https://github.com/stripe/stripe-ruby/pull/1409) Update generated code for beta
|
230
|
+
|
135
231
|
## 12.1.0 - 2024-07-05
|
136
232
|
* [#1425](https://github.com/stripe/stripe-ruby/pull/1425) Update generated code
|
137
233
|
* Add support for `add_lines`, `remove_lines`, and `update_lines` methods on resource `Invoice`
|
@@ -161,6 +257,10 @@
|
|
161
257
|
* [#1415](https://github.com/stripe/stripe-ruby/pull/1415) Deprecate StripeClient#request
|
162
258
|
* 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.
|
163
259
|
|
260
|
+
## 11.7.0-beta.1 - 2024-05-30
|
261
|
+
* [#1400](https://github.com/stripe/stripe-ruby/pull/1400) Update generated code for beta
|
262
|
+
* Keeping up with the changes from version 11.6.0
|
263
|
+
|
164
264
|
## 11.6.0 - 2024-05-30
|
165
265
|
* [#1404](https://github.com/stripe/stripe-ruby/pull/1404) Add method to list invoice line items
|
166
266
|
* Add methods `list_lines()` on the class `Invoice` to list the invoice line items
|
@@ -168,6 +268,10 @@
|
|
168
268
|
## 11.5.0 - 2024-05-23
|
169
269
|
* This release has no changes.
|
170
270
|
|
271
|
+
## 11.5.0-beta.1 - 2024-05-09
|
272
|
+
* [#1395](https://github.com/stripe/stripe-ruby/pull/1395) Update generated code for beta
|
273
|
+
* No new beta features. Merging changes from the main branch.
|
274
|
+
|
171
275
|
## 11.4.0 - 2024-05-09
|
172
276
|
* [#1397](https://github.com/stripe/stripe-ruby/pull/1397) Update generated code
|
173
277
|
* Add support for `update` test helper method on resources `Treasury.OutboundPayment` and `Treasury.OutboundTransfer`
|
@@ -176,6 +280,9 @@
|
|
176
280
|
* [#1389](https://github.com/stripe/stripe-ruby/pull/1389) Removed jaro_winkler as a dependency
|
177
281
|
* [#1396](https://github.com/stripe/stripe-ruby/pull/1396) Start tracking `StripeClient#request` usage
|
178
282
|
|
283
|
+
## 11.4.0-beta.1 - 2024-05-02
|
284
|
+
* [#1386](https://github.com/stripe/stripe-ruby/pull/1386) Update generated code for beta
|
285
|
+
|
179
286
|
## 11.3.0 - 2024-05-02
|
180
287
|
* [#1387](https://github.com/stripe/stripe-ruby/pull/1387) Update generated code
|
181
288
|
|
@@ -183,6 +290,9 @@
|
|
183
290
|
- 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).
|
184
291
|
* [#1391](https://github.com/stripe/stripe-ruby/pull/1391) Add Ruby 3.3 to CI test matrix
|
185
292
|
|
293
|
+
## 11.3.0-beta.1 - 2024-04-18
|
294
|
+
* [#1383](https://github.com/stripe/stripe-ruby/pull/1383) Update generated code for beta
|
295
|
+
|
186
296
|
## 11.2.0 - 2024-04-18
|
187
297
|
* [#1385](https://github.com/stripe/stripe-ruby/pull/1385) Update generated code
|
188
298
|
* Add support for `create_preview` method on resource `Invoice`
|
@@ -191,6 +301,10 @@
|
|
191
301
|
* [#1379](https://github.com/stripe/stripe-ruby/pull/1379) Update generated code
|
192
302
|
* Add support for new resource `Entitlements.ActiveEntitlementSummary`
|
193
303
|
|
304
|
+
## 11.1.0-beta.1 - 2024-04-11
|
305
|
+
* [#1376](https://github.com/stripe/stripe-ruby/pull/1376) Update generated code for beta
|
306
|
+
* Add support for `retrieve` method on resources `Entitlements.ActiveEntitlement` and `Entitlements.Feature`
|
307
|
+
|
194
308
|
## 11.0.0 - 2024-04-10
|
195
309
|
* [#1374](https://github.com/stripe/stripe-ruby/pull/1374)
|
196
310
|
|
@@ -201,144 +315,318 @@
|
|
201
315
|
* 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.
|
202
316
|
|
203
317
|
## 10.15.0 - 2024-04-09
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
318
|
+
|
319
|
+
- [#1377](https://github.com/stripe/stripe-ruby/pull/1377) Add last_response to StripeObject
|
320
|
+
- 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.
|
321
|
+
- [#1372](https://github.com/stripe/stripe-ruby/pull/1372) Update generated code
|
322
|
+
- Add support for new resources `Entitlements.ActiveEntitlement` and `Entitlements.Feature`
|
323
|
+
- Add support for `list` and `retrieve` methods on resource `ActiveEntitlement`
|
324
|
+
- Add support for `create`, `list`, `retrieve`, and `update` methods on resource `Feature`
|
325
|
+
- [#1366](https://github.com/stripe/stripe-ruby/pull/1366) Move executables to `exe` folder
|
326
|
+
|
327
|
+
## 10.15.0-beta.1 - 2024-04-04
|
328
|
+
|
329
|
+
- [#1373](https://github.com/stripe/stripe-ruby/pull/1373) Update generated code for beta
|
330
|
+
- Add support for `update` method on resource `Entitlements.Feature`
|
331
|
+
- [#1370](https://github.com/stripe/stripe-ruby/pull/1370) Update generated code for beta
|
211
332
|
|
212
333
|
## 10.14.0 - 2024-03-28
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
334
|
+
|
335
|
+
- [#1369](https://github.com/stripe/stripe-ruby/pull/1369) Update generated code
|
336
|
+
- Add support for new resources `Billing.MeterEventAdjustment`, `Billing.MeterEvent`, and `Billing.Meter`
|
337
|
+
- Add support for `create`, `deactivate`, `list`, `reactivate`, `retrieve`, and `update` methods on resource `Meter`
|
338
|
+
- Add support for `create` method on resources `MeterEventAdjustment` and `MeterEvent`
|
339
|
+
|
340
|
+
## 10.14.0-beta.1 - 2024-03-21
|
341
|
+
|
342
|
+
- [#1363](https://github.com/stripe/stripe-ruby/pull/1363) Update generated code for beta
|
343
|
+
- Add support for new resources `Entitlements.ActiveEntitlementSummary` and `Entitlements.ActiveEntitlement`
|
344
|
+
- Add support for `list` method on resource `ActiveEntitlement`
|
217
345
|
|
218
346
|
## 10.13.0 - 2024-03-21
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
347
|
+
|
348
|
+
- [#1367](https://github.com/stripe/stripe-ruby/pull/1367) Update generated code
|
349
|
+
- Add support for new resources `ConfirmationToken` and `Forwarding.Request`
|
350
|
+
- Add support for `retrieve` method on resource `ConfirmationToken`
|
351
|
+
- Add support for `create`, `list`, and `retrieve` methods on resource `Request`
|
352
|
+
- [#1362](https://github.com/stripe/stripe-ruby/pull/1362) Exclude sorbet directory and tapioca script when packing gem
|
353
|
+
|
354
|
+
## 10.13.0-beta.1 - 2024-03-14
|
355
|
+
|
356
|
+
- [#1360](https://github.com/stripe/stripe-ruby/pull/1360) Update generated code for beta
|
357
|
+
- Add support for new resources `Billing.MeterEventAdjustment`, `Billing.MeterEvent`, and `Billing.Meter`
|
358
|
+
- Add support for `create`, `deactivate`, `list`, `reactivate`, `retrieve`, and `update` methods on resource `Meter`
|
359
|
+
- Add support for `create` method on resources `MeterEventAdjustment` and `MeterEvent`
|
360
|
+
- Add support for `create` test helper method on resource `ConfirmationToken`
|
361
|
+
- Add support for `add_lines`, `remove_lines`, and `update_lines` methods on resource `Invoice`
|
224
362
|
|
225
363
|
## 10.12.0 - 2024-03-14
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
364
|
+
|
365
|
+
- [#1359](https://github.com/stripe/stripe-ruby/pull/1359) Update generated code
|
366
|
+
- Add support for new resources `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle`
|
367
|
+
- Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PersonalizationDesign`
|
368
|
+
- Add support for `list` and `retrieve` methods on resource `PhysicalBundle`
|
369
|
+
- [#1354](https://github.com/stripe/stripe-ruby/pull/1354) Refactor after SDK based generation pattern
|
370
|
+
- [#1347](https://github.com/stripe/stripe-ruby/pull/1347) Reorder methods with lexographical sort
|
371
|
+
- [#1355](https://github.com/stripe/stripe-ruby/pull/1355) Disable Metrics/ClassLength
|
372
|
+
- [#1351](https://github.com/stripe/stripe-ruby/pull/1351) Update CHANGELOG.md
|
373
|
+
|
374
|
+
## 10.12.0-beta.1 - 2024-02-29
|
375
|
+
|
376
|
+
- [#1352](https://github.com/stripe/stripe-ruby/pull/1352) Update generated code for beta
|
377
|
+
Release specs are identical.
|
378
|
+
- [#1350](https://github.com/stripe/stripe-ruby/pull/1350) Update generated code for beta
|
379
|
+
|
380
|
+
- [#1341](https://github.com/stripe/stripe-ruby/pull/1341) Update generated code for beta
|
381
|
+
- Remove support for resource `Entitlements.Event`
|
382
|
+
- [#1343](https://github.com/stripe/stripe-ruby/pull/1343) Add a helper to add a beta version
|
234
383
|
|
235
384
|
## 10.11.0 - 2024-02-29
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
385
|
+
|
386
|
+
- [#1348](https://github.com/stripe/stripe-ruby/pull/1348) Use sorbet gem instead of sorbet-static
|
387
|
+
- [#1342](https://github.com/stripe/stripe-ruby/pull/1342) Update generated code
|
388
|
+
- Add `list_refunds` and `retrieve_refund` methods on resource `Charge`.
|
389
|
+
- [#1345](https://github.com/stripe/stripe-ruby/pull/1345) Update README to use add_beta_version
|
390
|
+
|
391
|
+
## 10.11.0-beta.1 - 2024-02-22
|
392
|
+
|
393
|
+
- [#1335](https://github.com/stripe/stripe-ruby/pull/1335) Update generated code for beta
|
240
394
|
|
241
395
|
## 10.10.0 - 2024-02-22
|
242
|
-
|
396
|
+
|
397
|
+
- [#1336](https://github.com/stripe/stripe-ruby/pull/1336) Update generated code
|
243
398
|
- Add `InvoiceLineItem.update` method.
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
399
|
+
- [#1334](https://github.com/stripe/stripe-ruby/pull/1334) Add TaxIds API
|
400
|
+
- Add support for `all`, `create`, and `retrieve` methods on resource `TaxId`
|
401
|
+
- 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.
|
402
|
+
- 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.
|
403
|
+
|
404
|
+
## 10.10.0-beta.1 - 2024-02-16
|
405
|
+
|
406
|
+
- [#1332](https://github.com/stripe/stripe-ruby/pull/1332) Update generated code for beta
|
407
|
+
- Add support for `decrement_authorization` method on resource `PaymentIntent`
|
408
|
+
- [#1328](https://github.com/stripe/stripe-ruby/pull/1328) Update generated code for beta
|
248
409
|
|
249
410
|
## 10.9.0 - 2024-02-15
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
411
|
+
|
412
|
+
- [#1329](https://github.com/stripe/stripe-ruby/pull/1329) Update generated code
|
413
|
+
- Fixed bug where `TaxId` resource `delete` method sent request to wrong URL (https://github.com/stripe/stripe-ruby/issues/1333)
|
414
|
+
- [#1324](https://github.com/stripe/stripe-ruby/pull/1324) Start running Sorbet in CI
|
415
|
+
- [#1327](https://github.com/stripe/stripe-ruby/pull/1327) Add methods for dynamically referenced constants
|
416
|
+
|
417
|
+
## 10.9.0-beta.1 - 2024-02-08
|
418
|
+
|
419
|
+
- [#1321](https://github.com/stripe/stripe-ruby/pull/1321) Update generated code for beta
|
420
|
+
- Release specs are identical.
|
254
421
|
|
255
422
|
## 10.8.0 - 2024-02-08
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
423
|
+
|
424
|
+
- [#1322](https://github.com/stripe/stripe-ruby/pull/1322) Update generated code
|
425
|
+
- [#1323](https://github.com/stripe/stripe-ruby/pull/1323) Extract other CRUDL api operations from mixins
|
426
|
+
- Extract more CRUDL operations, namely `create`, `delete`, `update`, and `list` into the resources. These methods will no longer rely on the APIOperation mixins.
|
427
|
+
- [#1314](https://github.com/stripe/stripe-ruby/pull/1314) Update mocha gem to 1.16
|
428
|
+
|
429
|
+
## 10.8.0-beta.1 - 2024-02-01
|
430
|
+
|
431
|
+
- [#1318](https://github.com/stripe/stripe-ruby/pull/1318) Update generated code for beta
|
432
|
+
- Add support for new resources `Entitlements.Event` and `Entitlements.Feature`
|
433
|
+
- Add support for `create` method on resource `Event`
|
434
|
+
- Add support for `create` and `list` methods on resource `Feature`
|
260
435
|
|
261
436
|
## 10.7.1 - 2024-02-05
|
262
|
-
|
437
|
+
|
438
|
+
- [#1320](https://github.com/stripe/stripe-ruby/pull/1320) Remove spurious \_search deprecation messages (https://github.com/stripe/stripe-ruby/issues/1319)
|
263
439
|
|
264
440
|
## 10.7.0 - 2024-02-01
|
265
|
-
|
266
|
-
|
267
|
-
|
441
|
+
|
442
|
+
- [#1317](https://github.com/stripe/stripe-ruby/pull/1317) Remove list method in child resources
|
443
|
+
- Removes list method mixin from child resources, as these methods always return `InvalidRequestError` and never succeed
|
444
|
+
- [#1311](https://github.com/stripe/stripe-ruby/pull/1311) Use the deprecation gem in search and clean up usage of the gem
|
445
|
+
|
446
|
+
## 10.7.0-beta.3 - 2024-01-25
|
447
|
+
|
448
|
+
- [#1313](https://github.com/stripe/stripe-ruby/pull/1313) Update generated code for beta
|
449
|
+
- Add support for `create_preview` method on resource `Invoice`
|
450
|
+
- [#1307](https://github.com/stripe/stripe-ruby/pull/1307) Beta: report raw request usage
|
451
|
+
|
452
|
+
## 10.7.0-beta.2 - 2024-01-19
|
453
|
+
|
454
|
+
- [#1307](https://github.com/stripe/stripe-ruby/pull/1307) Beta: report raw request usage
|
455
|
+
|
456
|
+
## 10.7.0-beta.1 - 2024-01-12
|
457
|
+
|
458
|
+
- [#1309](https://github.com/stripe/stripe-ruby/pull/1309) Update generated code for beta
|
459
|
+
- [#1305](https://github.com/stripe/stripe-ruby/pull/1305) Update generated code for beta
|
268
460
|
|
269
461
|
## 10.6.0 - 2024-01-12
|
270
|
-
|
271
|
-
|
272
|
-
|
462
|
+
|
463
|
+
- [#1310](https://github.com/stripe/stripe-ruby/pull/1310) Update generated code
|
464
|
+
- Add support for new resource `CustomerSession`
|
465
|
+
- Add support for `create` method on resource `CustomerSession`
|
466
|
+
|
467
|
+
## 10.6.0-beta.1 - 2024-01-04
|
468
|
+
|
469
|
+
- [#1302](https://github.com/stripe/stripe-ruby/pull/1302) Update generated code for beta
|
470
|
+
- Updated stable APIs to the latest version
|
273
471
|
|
274
472
|
## 10.5.0 - 2024-01-04
|
275
|
-
|
276
|
-
|
473
|
+
|
474
|
+
- [#1306](https://github.com/stripe/stripe-ruby/pull/1306) Update generated code
|
475
|
+
- Add support for `retrieve` method on resource `Tax.Registration`
|
476
|
+
|
477
|
+
## 10.5.0-beta.1 - 2023-12-22
|
478
|
+
|
479
|
+
- [#1302](https://github.com/stripe/stripe-ruby/pull/1302) Update generated code for beta
|
277
480
|
|
278
481
|
## 10.4.0 - 2023-12-22
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
482
|
+
|
483
|
+
- [#1303](https://github.com/stripe/stripe-ruby/pull/1303) Update generated code
|
484
|
+
- Add support for new resource `FinancialConnections.Transaction`
|
485
|
+
- Add support for `list` and `retrieve` methods on resource `Transaction`
|
486
|
+
- Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account`
|
487
|
+
- [#1304](https://github.com/stripe/stripe-ruby/pull/1304) Add support for updatable singleton resources
|
488
|
+
|
489
|
+
## 10.4.0-beta.1 - 2023-12-14
|
490
|
+
|
491
|
+
Updated stable APIs to the latest version
|
284
492
|
|
285
493
|
## 10.3.0 - 2023-12-14
|
286
|
-
|
494
|
+
|
495
|
+
- [#1294](https://github.com/stripe/stripe-ruby/pull/1294) Support sending parameters inside singleton retrieve
|
496
|
+
|
497
|
+
## 10.3.0-beta.1 - 2023-11-30
|
498
|
+
|
499
|
+
- [#1298](https://github.com/stripe/stripe-ruby/pull/1298) Update generated code for beta
|
500
|
+
- [#1296](https://github.com/stripe/stripe-ruby/pull/1296) Merge master into beta
|
287
501
|
|
288
502
|
## 10.2.0 - 2023-11-30
|
289
|
-
* [#1292](https://github.com/stripe/stripe-ruby/pull/1292) Update generated code
|
290
|
-
* Add support for new resources `Climate.Order`, `Climate.Product`, and `Climate.Supplier`
|
291
|
-
* Add support for `cancel`, `create`, `list`, `retrieve`, and `update` methods on resource `Order`
|
292
|
-
* Add support for `list` and `retrieve` methods on resources `Product` and `Supplier`
|
293
|
-
* [#1295](https://github.com/stripe/stripe-ruby/pull/1295) Upgrade rubocop
|
294
|
-
* [#1291](https://github.com/stripe/stripe-ruby/pull/1291) Update generated code
|
295
503
|
|
296
|
-
|
504
|
+
- [#1292](https://github.com/stripe/stripe-ruby/pull/1292) Update generated code
|
505
|
+
- Add support for new resources `Climate.Order`, `Climate.Product`, and `Climate.Supplier`
|
506
|
+
- Add support for `cancel`, `create`, `list`, `retrieve`, and `update` methods on resource `Order`
|
507
|
+
- Add support for `list` and `retrieve` methods on resources `Product` and `Supplier`
|
508
|
+
- [#1295](https://github.com/stripe/stripe-ruby/pull/1295) Upgrade rubocop
|
509
|
+
- [#1291](https://github.com/stripe/stripe-ruby/pull/1291) Update generated code
|
297
510
|
|
298
|
-
|
511
|
+
- [#1290](https://github.com/stripe/stripe-ruby/pull/1290) Update generated code
|
299
512
|
|
513
|
+
- [#1288](https://github.com/stripe/stripe-ruby/pull/1288) Update generated code
|
514
|
+
|
515
|
+
## 10.2.0-beta.1 - 2023-11-02
|
516
|
+
|
517
|
+
- [#1287](https://github.com/stripe/stripe-ruby/pull/1287) Update generated code for beta
|
518
|
+
- Add support for `attach_payment_intent` method on resource `Invoice`
|
519
|
+
- [#1285](https://github.com/stripe/stripe-ruby/pull/1285) Update generated code for beta
|
300
520
|
|
301
521
|
## 10.1.0 - 2023-11-02
|
302
|
-
|
303
|
-
|
304
|
-
|
522
|
+
|
523
|
+
- [#1286](https://github.com/stripe/stripe-ruby/pull/1286) Update generated code
|
524
|
+
- Add support for new resource `Tax.Registration`
|
525
|
+
- Add support for `create`, `list`, and `update` methods on resource `Registration`
|
526
|
+
|
527
|
+
## 10.1.0-beta.2 - 2023-10-26
|
528
|
+
|
529
|
+
- [#1285](https://github.com/stripe/stripe-ruby/pull/1285) Update generated code for beta
|
530
|
+
- Add support for new resource `Margin`
|
531
|
+
- Add support for `create`, `list`, `retrieve`, and `update` methods on resource `Margin`
|
532
|
+
|
533
|
+
## 10.1.0-beta.1 - 2023-10-17
|
534
|
+
|
535
|
+
- [#1284](https://github.com/stripe/stripe-ruby/pull/1284) Update generated code for beta
|
536
|
+
- Update pinned API version to `2023-10-16`
|
537
|
+
- [#1282](https://github.com/stripe/stripe-ruby/pull/1282) Update generated code for beta
|
305
538
|
|
306
539
|
## 10.0.0 - 2023-10-16
|
307
|
-
|
308
|
-
|
540
|
+
|
541
|
+
- This release changes the pinned API version to `2023-10-16`. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2023-10-16) and carefully review the API changes before upgrading `stripe-ruby`.
|
542
|
+
- [#1283](https://github.com/stripe/stripe-ruby/pull/1283) Update generated code
|
309
543
|
- Updated pinned API version
|
310
|
-
|
311
|
-
|
544
|
+
- [#1281](https://github.com/stripe/stripe-ruby/pull/1281) Update generated code
|
545
|
+
- Documentation only changes
|
546
|
+
|
547
|
+
## 9.5.0-beta.2 - 2023-10-12
|
548
|
+
|
549
|
+
- [#1280](https://github.com/stripe/stripe-ruby/pull/1280) Update generated code for beta
|
550
|
+
- Add support for new resources `AccountNotice` and `Issuing.CreditUnderwritingRecord`
|
551
|
+
- Add support for `list`, `retrieve`, and `update` methods on resource `AccountNotice`
|
552
|
+
- Add support for `correct`, `create_from_application`, `create_from_proactive_review`, `list`, `report_decision`, and `retrieve` methods on resource `CreditUnderwritingRecord`
|
553
|
+
|
554
|
+
## 9.5.0-beta.1 - 2023-10-05
|
555
|
+
|
556
|
+
- [#1278](https://github.com/stripe/stripe-ruby/pull/1278) Update generated code for beta
|
557
|
+
- Add support for `mark_draft` and `mark_stale` methods on resource `Quote`
|
558
|
+
- Remove support for `draft_quote` and `mark_stale_quote` methods on resource `Quote`
|
559
|
+
- Rename `preview_invoice_lines` to `list_preview_invoice_lines` on resource `Quote`
|
312
560
|
|
313
561
|
## 9.4.0 - 2023-10-05
|
314
|
-
|
315
|
-
|
316
|
-
|
562
|
+
|
563
|
+
- [#1277](https://github.com/stripe/stripe-ruby/pull/1277) Update generated code
|
564
|
+
- Add support for new resources `Issuing.Token`
|
565
|
+
- Add support for `list`, `retrieve`, and `update` methods on resource `Token`
|
566
|
+
|
567
|
+
## 9.4.0-beta.3 - 2023-09-28
|
568
|
+
|
569
|
+
- [#1276](https://github.com/stripe/stripe-ruby/pull/1276) Update generated code for beta
|
570
|
+
- Rename resources `Issuing.CardDesign` and `Issuing.CardBundle` to `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle`
|
571
|
+
|
572
|
+
## 9.4.0-beta.2 - 2023-09-21
|
573
|
+
|
574
|
+
- [#1273](https://github.com/stripe/stripe-ruby/pull/1273) Update generated code for beta
|
575
|
+
|
576
|
+
## 9.4.0-beta.1 - 2023-09-14
|
577
|
+
|
578
|
+
- Updated stable APIs to the latest version
|
317
579
|
|
318
580
|
## 9.3.0 - 2023-09-14
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
581
|
+
|
582
|
+
- [#1272](https://github.com/stripe/stripe-ruby/pull/1272) Update generated code
|
583
|
+
- Add support for new resource `PaymentMethodConfiguration`
|
584
|
+
- Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PaymentMethodConfiguration`
|
585
|
+
- [#1271](https://github.com/stripe/stripe-ruby/pull/1271) Update generated code
|
586
|
+
- Add support for `capture`, `create`, `expire`, `increment`, and `reverse` test helper methods on resource `Issuing.Authorization`
|
587
|
+
- Add support for `create_force_capture`, `create_unlinked_refund`, and `refund` test helper methods on resource `Issuing.Transaction`
|
588
|
+
|
589
|
+
## 9.3.0-beta.1 - 2023-09-07
|
590
|
+
|
591
|
+
- [#1269](https://github.com/stripe/stripe-ruby/pull/1269) Update generated code for beta
|
592
|
+
- Release specs are identical.
|
593
|
+
- [#1268](https://github.com/stripe/stripe-ruby/pull/1268) Update generated code for beta
|
594
|
+
- Remove support for `submit_card` test helper method on resource `Issuing.Card`
|
595
|
+
- [#1265](https://github.com/stripe/stripe-ruby/pull/1265) Update generated code for beta
|
596
|
+
- Rename `Quote.preview_invoices` to `QuotePreviewInvoice.list` and `Quote.preview_schedules` to `QuotePreviewSchedules.list`
|
597
|
+
- [#1264](https://github.com/stripe/stripe-ruby/pull/1264) Update generated code for beta
|
598
|
+
- Add support for new resources `QuotePreviewInvoice` and `QuotePreviewSchedule`
|
599
|
+
- [#1259](https://github.com/stripe/stripe-ruby/pull/1259) Update generated code for beta
|
600
|
+
|
601
|
+
- [#1257](https://github.com/stripe/stripe-ruby/pull/1257) Update generated code for beta
|
602
|
+
|
603
|
+
- [#1254](https://github.com/stripe/stripe-ruby/pull/1254) Update generated code for beta
|
604
|
+
- Add support for `submit_card` test helper method on resource `Issuing.Card`
|
605
|
+
- [#1252](https://github.com/stripe/stripe-ruby/pull/1252) Remove developer_message support
|
325
606
|
|
326
607
|
## 9.2.0 - 2023-09-07
|
327
|
-
|
328
|
-
|
329
|
-
|
608
|
+
|
609
|
+
- [#1267](https://github.com/stripe/stripe-ruby/pull/1267) Update generated code
|
610
|
+
- Add support for new resource `PaymentMethodDomain`
|
611
|
+
- Add support for `create`, `list`, `retrieve`, `update`, and `validate` methods on resource `PaymentMethodDomain`
|
612
|
+
|
613
|
+
## 9.2.0-beta.1 - 2023-08-31
|
614
|
+
|
615
|
+
- [#1265](https://github.com/stripe/stripe-ruby/pull/1265) Update generated code for beta
|
616
|
+
- Rename `Quote.preview_invoices` to `QuotePreviewInvoice.list` and `Quote.preview_schedules` to `QuotePreviewSchedules.list`
|
330
617
|
|
331
618
|
## 9.1.0 - 2023-08-31
|
332
|
-
* [#1266](https://github.com/stripe/stripe-ruby/pull/1266) Update generated code
|
333
|
-
* Add support for new resource `AccountSession`
|
334
|
-
* Add support for `create` method on resource `AccountSession`
|
335
|
-
* [#1262](https://github.com/stripe/stripe-ruby/pull/1262) Explicitly format timestamp in SignatureVerificationError message
|
336
619
|
|
620
|
+
- [#1266](https://github.com/stripe/stripe-ruby/pull/1266) Update generated code
|
621
|
+
- Add support for new resource `AccountSession`
|
622
|
+
- Add support for `create` method on resource `AccountSession`
|
623
|
+
- [#1262](https://github.com/stripe/stripe-ruby/pull/1262) Explicitly format timestamp in SignatureVerificationError message
|
337
624
|
|
338
625
|
## 9.0.0 - 2023-08-16
|
626
|
+
|
339
627
|
**⚠️ ACTION REQUIRED: the breaking change in this release likely affects you ⚠️**
|
340
628
|
|
341
|
-
|
629
|
+
- [#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
|
342
630
|
|
343
631
|
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).
|
344
632
|
|
@@ -349,6 +637,7 @@
|
|
349
637
|
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.
|
350
638
|
|
351
639
|
You can read the [v9 migration guide](https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v9) for more detailed instructions.
|
640
|
+
|
352
641
|
2. **(Alternative option) Specify a version other than `2023-08-16` when initializing `stripe-ruby`.**
|
353
642
|
|
354
643
|
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:
|
@@ -363,1207 +652,1689 @@
|
|
363
652
|
|
364
653
|
Read the [v9 migration guide](https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v9) for more details.
|
365
654
|
|
366
|
-
Going forward, each major release of this library will be
|
655
|
+
Going forward, each major release of this library will be _pinned_ by default to the latest Stripe API Version at the time of release.
|
367
656
|
|
368
657
|
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.
|
369
658
|
|
659
|
+
## 9.0.0-beta.1 - 2023-08-24
|
660
|
+
|
661
|
+
- [#1264](https://github.com/stripe/stripe-ruby/pull/1264) Update generated code for beta
|
662
|
+
- Add support for new resources `QuotePreviewInvoice` and `QuotePreviewSchedule`
|
663
|
+
- [#1259](https://github.com/stripe/stripe-ruby/pull/1259) Update generated code for beta
|
664
|
+
|
665
|
+
## 8.8.0-beta.1 - 2023-08-10
|
666
|
+
|
667
|
+
- [#1257](https://github.com/stripe/stripe-ruby/pull/1257) Update generated code for beta
|
668
|
+
- Updated stable APIs to the latest version
|
669
|
+
|
370
670
|
## 8.7.0 - 2023-08-10
|
371
|
-
|
671
|
+
|
672
|
+
- [#1256](https://github.com/stripe/stripe-ruby/pull/1256) Update generated code
|
372
673
|
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.
|
373
674
|
|
675
|
+
## 8.7.0-beta.3 - 2023-08-03
|
676
|
+
|
677
|
+
- [#1254](https://github.com/stripe/stripe-ruby/pull/1254) Update generated code for beta
|
678
|
+
- Add support for `submit_card` test helper method on resource `Issuing.Card`
|
679
|
+
- [#1252](https://github.com/stripe/stripe-ruby/pull/1252) Remove developer_message support
|
680
|
+
|
681
|
+
## 8.7.0-beta.2 - 2023-07-28
|
682
|
+
|
683
|
+
- [#1251](https://github.com/stripe/stripe-ruby/pull/1251) Update generated code for beta
|
684
|
+
- Add support for new resource `Tax.Form`
|
685
|
+
- Add support for `list`, `pdf`, and `retrieve` methods on resource `Form`
|
686
|
+
- [#1249](https://github.com/stripe/stripe-ruby/pull/1249) Update generated code for beta
|
687
|
+
- [#1246](https://github.com/stripe/stripe-ruby/pull/1246) Update generated code for beta
|
688
|
+
|
689
|
+
## 8.7.0-beta.1 - 2023-07-13
|
690
|
+
|
691
|
+
- [#1245](https://github.com/stripe/stripe-ruby/pull/1245) Update generated code for beta
|
692
|
+
Release specs are identical.
|
693
|
+
- [#1243](https://github.com/stripe/stripe-ruby/pull/1243) Update generated code for beta
|
694
|
+
- Add support for new resource `PaymentMethodConfiguration`
|
695
|
+
- Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PaymentMethodConfiguration`
|
696
|
+
- [#1239](https://github.com/stripe/stripe-ruby/pull/1239) Update generated code for beta
|
697
|
+
|
374
698
|
## 8.6.0 - 2023-07-13
|
375
|
-
* [#1244](https://github.com/stripe/stripe-ruby/pull/1244) Update generated code
|
376
|
-
* Add support for new resource `Tax.Settings`
|
377
|
-
* Add support for `retrieve` and `update` methods on resource `Settings`
|
378
|
-
* [#1241](https://github.com/stripe/stripe-ruby/pull/1241) Update generated code
|
379
699
|
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
700
|
+
- [#1244](https://github.com/stripe/stripe-ruby/pull/1244) Update generated code
|
701
|
+
- Add support for new resource `Tax.Settings`
|
702
|
+
- Add support for `retrieve` and `update` methods on resource `Settings`
|
703
|
+
- [#1241](https://github.com/stripe/stripe-ruby/pull/1241) Update generated code
|
704
|
+
|
705
|
+
- [#1209](https://github.com/stripe/stripe-ruby/pull/1209) Update shoulda-context version
|
706
|
+
- [#1235](https://github.com/stripe/stripe-ruby/pull/1235) Allow "error" string as log level
|
707
|
+
- [#1238](https://github.com/stripe/stripe-ruby/pull/1238) Update log level error message to include `error`
|
708
|
+
- [#1231](https://github.com/stripe/stripe-ruby/pull/1231) fix: variable typo in README for instrumentation
|
709
|
+
- [#1234](https://github.com/stripe/stripe-ruby/pull/1234) Update generated code
|
385
710
|
|
386
|
-
|
387
|
-
|
388
|
-
|
711
|
+
- [#1230](https://github.com/stripe/stripe-ruby/pull/1230) Update generated code
|
712
|
+
- Release specs are identical.
|
713
|
+
- [#1226](https://github.com/stripe/stripe-ruby/pull/1226) Update generated code
|
389
714
|
|
390
|
-
|
715
|
+
- [#1223](https://github.com/stripe/stripe-ruby/pull/1223) Update generated code
|
391
716
|
|
392
|
-
|
393
|
-
|
717
|
+
- [#1225](https://github.com/stripe/stripe-ruby/pull/1225) Downgrade jaro_winkler
|
718
|
+
- [#1219](https://github.com/stripe/stripe-ruby/pull/1219) Update generated code
|
394
719
|
|
395
720
|
Documentation updates.
|
396
|
-
* [#1215](https://github.com/stripe/stripe-ruby/pull/1215) Update generated code
|
397
721
|
|
398
|
-
|
722
|
+
- [#1215](https://github.com/stripe/stripe-ruby/pull/1215) Update generated code
|
723
|
+
|
724
|
+
- [#1208](https://github.com/stripe/stripe-ruby/pull/1208) Update generated code
|
725
|
+
|
726
|
+
- [#1204](https://github.com/stripe/stripe-ruby/pull/1204) Update generated code
|
727
|
+
|
728
|
+
## 8.6.0-beta.6 - 2023-06-22
|
399
729
|
|
400
|
-
|
730
|
+
- [#1237](https://github.com/stripe/stripe-ruby/pull/1237) Update generated code for beta
|
731
|
+
- Add support for new resource `CustomerSession`
|
732
|
+
- Add support for `create` method on resource `CustomerSession`
|
733
|
+
- [#1233](https://github.com/stripe/stripe-ruby/pull/1233) Update generated code for beta
|
734
|
+
- [#1229](https://github.com/stripe/stripe-ruby/pull/1229) Update generated code for beta
|
401
735
|
|
736
|
+
## 8.6.0-beta.5 - 2023-06-01
|
737
|
+
|
738
|
+
- [#1227](https://github.com/stripe/stripe-ruby/pull/1227) Update generated code for beta
|
739
|
+
- [#1228](https://github.com/stripe/stripe-ruby/pull/1228) Document raw_request
|
740
|
+
- [#1222](https://github.com/stripe/stripe-ruby/pull/1222) Update generated code for beta
|
741
|
+
- [#1224](https://github.com/stripe/stripe-ruby/pull/1224) Handle developer message in preview error responses
|
742
|
+
|
743
|
+
## 8.6.0-beta.4 - 2023-05-19
|
744
|
+
|
745
|
+
- [#1220](https://github.com/stripe/stripe-ruby/pull/1220) Update generated code for beta
|
746
|
+
- Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account`
|
747
|
+
- [#1217](https://github.com/stripe/stripe-ruby/pull/1217) Add raw_request
|
748
|
+
- [#1216](https://github.com/stripe/stripe-ruby/pull/1216) Update generated code for beta
|
749
|
+
- [#1214](https://github.com/stripe/stripe-ruby/pull/1214) Update generated code for beta
|
750
|
+
|
751
|
+
## 8.6.0-beta.3 - 2023-04-17
|
752
|
+
|
753
|
+
- [#1211](https://github.com/stripe/stripe-ruby/pull/1211) Update generated code for beta
|
754
|
+
- [#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
|
755
|
+
|
756
|
+
## 8.6.0-beta.2 - 2023-04-13
|
757
|
+
|
758
|
+
- [#1206](https://github.com/stripe/stripe-ruby/pull/1206) Update generated code for beta
|
759
|
+
- Add support for `collect_payment_method` and `confirm_payment_intent` methods on resource `Terminal.Reader`
|
760
|
+
- [#1205](https://github.com/stripe/stripe-ruby/pull/1205) Update generated code for beta
|
761
|
+
|
762
|
+
## 8.6.0-beta.1 - 2023-03-30
|
763
|
+
|
764
|
+
- [#1202](https://github.com/stripe/stripe-ruby/pull/1202) Update generated code for beta
|
402
765
|
|
403
766
|
## 8.5.0 - 2023-03-30
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
767
|
+
|
768
|
+
- [#1203](https://github.com/stripe/stripe-ruby/pull/1203) Update generated code
|
769
|
+
- Remove support for `create` method on resource `Tax.Transaction`
|
770
|
+
- 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.
|
771
|
+
- [#1201](https://github.com/stripe/stripe-ruby/pull/1201) Update save deprecation message
|
772
|
+
|
773
|
+
## 8.5.0-beta.1 - 2023-03-23
|
774
|
+
|
775
|
+
- [#1194](https://github.com/stripe/stripe-ruby/pull/1194) Update generated code for beta (new)
|
776
|
+
- Add support for new resources `Tax.CalculationLineItem` and `Tax.TransactionLineItem`
|
777
|
+
- Add support for `collect_inputs` method on resource `Terminal.Reader`
|
408
778
|
|
409
779
|
## 8.4.0 - 2023-03-23
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
780
|
+
|
781
|
+
- [#1197](https://github.com/stripe/stripe-ruby/pull/1197) Update generated code (new)
|
782
|
+
- Add support for new resources `Tax.CalculationLineItem`, `Tax.Calculation`, `Tax.TransactionLineItem`, and `Tax.Transaction`
|
783
|
+
- Add support for `create` and `list_line_items` methods on resource `Calculation`
|
784
|
+
- Add support for `create_from_calculation`, `create_reversal`, `create`, `list_line_items`, and `retrieve` methods on resource `Transaction`
|
785
|
+
- [#1152](https://github.com/stripe/stripe-ruby/pull/1152) Symbolize hash keys inside `convert_to_stripe_object_with_params`
|
786
|
+
|
787
|
+
## 8.4.0-beta.4 - 2023-03-16
|
788
|
+
|
789
|
+
- [#1189](https://github.com/stripe/stripe-ruby/pull/1189) Update generated code for beta (new)
|
790
|
+
- Add support for `create_from_calculation` method on resource `Tax.Transaction`
|
791
|
+
- [#1188](https://github.com/stripe/stripe-ruby/pull/1188) Update generated code for beta (new)
|
792
|
+
- Remove support for resources `Capital.FinancingOffer` and `Capital.FinancingSummary`
|
793
|
+
- Remove support for `list`, `mark_delivered`, and `retrieve` methods on resource `FinancingOffer`
|
794
|
+
- Remove support for `retrieve` method on resource `FinancingSummary`
|
795
|
+
- [#1187](https://github.com/stripe/stripe-ruby/pull/1187) Merge upstream master
|
796
|
+
|
797
|
+
## 8.4.0-beta.3 - 2023-03-09
|
798
|
+
|
799
|
+
- [#1184](https://github.com/stripe/stripe-ruby/pull/1184) API Updates for beta branch
|
800
|
+
- Updated stable APIs to the latest version
|
801
|
+
- Remove support for `list_transactions` method on resource `Tax.Transaction`
|
802
|
+
|
803
|
+
## 8.4.0-beta.2 - 2023-03-03
|
804
|
+
|
805
|
+
- [#1183](https://github.com/stripe/stripe-ruby/pull/1183) API Updates for beta branch
|
806
|
+
- Updated stable APIs to the latest version
|
807
|
+
- Add support for new resources `Issuing.CardBundle` and `Issuing.CardDesign`
|
808
|
+
- Add support for `list` and `retrieve` methods on resource `CardBundle`
|
809
|
+
- Add support for `list`, `retrieve`, and `update` methods on resource `CardDesign`
|
810
|
+
|
811
|
+
## 8.4.0-beta.1 - 2023-02-23
|
812
|
+
|
813
|
+
- [#1182](https://github.com/stripe/stripe-ruby/pull/1182) API Updates for beta branch
|
814
|
+
- Updated stable APIs to the latest version
|
415
815
|
|
416
816
|
## 8.3.0 - 2023-02-16
|
417
|
-
|
418
|
-
|
817
|
+
|
818
|
+
- [#1175](https://github.com/stripe/stripe-ruby/pull/1175) API Updates
|
819
|
+
- Add support for `refund_payment` method on resource `Terminal.Reader`
|
820
|
+
|
821
|
+
## 8.3.0-beta.1 - 2023-02-02
|
822
|
+
|
823
|
+
- [#1174](https://github.com/stripe/stripe-ruby/pull/1174) API Updates for beta branch
|
824
|
+
- Updated stable APIs to the latest version
|
825
|
+
- Add support for new resource `FinancialConnections.Transaction`
|
826
|
+
- Add support for `list` method on resource `Transaction`
|
419
827
|
|
420
828
|
## 8.2.0 - 2023-02-02
|
421
|
-
|
422
|
-
|
423
|
-
|
829
|
+
|
830
|
+
- [#1173](https://github.com/stripe/stripe-ruby/pull/1173) API Updates
|
831
|
+
- Add support for `resume` method on resource `Subscription`
|
832
|
+
- [#1171](https://github.com/stripe/stripe-ruby/pull/1171) Remove unused `partial` param from `initialize_from`
|
833
|
+
|
834
|
+
## 8.2.0-beta.3 - 2023-01-26
|
835
|
+
|
836
|
+
- [#1172](https://github.com/stripe/stripe-ruby/pull/1172) API Updates for beta branch
|
837
|
+
- Updated stable APIs to the latest version
|
838
|
+
- Add support for `list_transactions` method on resource `Tax.Transaction`
|
839
|
+
|
840
|
+
## 8.2.0-beta.2 - 2023-01-19
|
841
|
+
|
842
|
+
- [#1170](https://github.com/stripe/stripe-ruby/pull/1170) API Updates for beta branch
|
843
|
+
- Updated stable APIs to the latest version
|
844
|
+
- Add support for `Tax.Settings` resource.
|
845
|
+
|
846
|
+
## 8.2.0-beta.1 - 2023-01-12
|
847
|
+
|
848
|
+
- [#1167](https://github.com/stripe/stripe-ruby/pull/1167) API Updates for beta branch
|
849
|
+
- Updated stable APIs to the latest version
|
850
|
+
- Change `quote.draft_quote` implementation to from calling `POST /v1/quotes/{quote}/draft` to `POST /v1/quotes/{quote}/mark_draft`
|
851
|
+
- Add support for `Tax::Register` resource
|
424
852
|
|
425
853
|
## 8.1.0 - 2023-01-12
|
426
|
-
|
854
|
+
|
855
|
+
- [#1162](https://github.com/stripe/stripe-ruby/pull/1162) Improve request events instrumentation
|
856
|
+
|
857
|
+
## 8.1.0-beta.4 - 2023-01-05
|
858
|
+
|
859
|
+
- [#1164](https://github.com/stripe/stripe-ruby/pull/1164) API Updates for beta branch
|
860
|
+
- Updated stable APIs to the latest version
|
861
|
+
- Add support for `mark_stale_quote` method on resource `Quote`
|
862
|
+
|
863
|
+
## 8.1.0-beta.3 - 2022-12-22
|
864
|
+
|
865
|
+
- [#1158](https://github.com/stripe/stripe-ruby/pull/1158) API Updates for beta branch
|
866
|
+
- Updated stable APIs to the latest version
|
867
|
+
- Move `TaxCalculation` and `TaxTransaction` to `Tax::Calculation` and `Tax::Transaction`.
|
868
|
+
|
869
|
+
## 8.1.0-beta.2 - 2022-12-15
|
870
|
+
|
871
|
+
- [#1156](https://github.com/stripe/stripe-ruby/pull/1156) API Updates for beta branch
|
872
|
+
- Updated stable APIs to the latest version
|
873
|
+
- Add support for new resources `TaxCalculation`, and `TaxTransaction`
|
874
|
+
- Add support for `create` and `list_line_items` methods on resource `TaxCalculation`
|
875
|
+
- Add support for `create_reversal`, `create`, and `retrieve` methods on resource `TaxTransaction`
|
876
|
+
- [#1155](https://github.com/stripe/stripe-ruby/pull/1155) API Updates for beta branch
|
877
|
+
- Updated stable APIs to the latest version
|
878
|
+
- Add support for new resource `QuoteLine`.
|
879
|
+
|
880
|
+
## 8.1.0-beta.1 - 2022-12-08
|
881
|
+
|
882
|
+
- [#1153](https://github.com/stripe/stripe-ruby/pull/1153) API Updates for beta branch
|
883
|
+
- Updated stable APIs to the latest version
|
884
|
+
- [#1146](https://github.com/stripe/stripe-ruby/pull/1146) API Updates for beta branch
|
885
|
+
- Updated stable APIs to the latest version
|
427
886
|
|
428
887
|
## 8.0.0 - 2022-11-16
|
429
|
-
|
888
|
+
|
889
|
+
- [#1144](https://github.com/stripe/stripe-ruby/pull/1144) Next major release changes
|
430
890
|
|
431
891
|
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://stripe.com/docs/upgrades#2022-11-15.
|
432
892
|
|
433
893
|
"⚠️" symbol highlights breaking changes.
|
434
894
|
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
895
|
+
## 7.2.0-beta.5 - 2022-11-02
|
896
|
+
|
897
|
+
- [#1139](https://github.com/stripe/stripe-ruby/pull/1139) API Updates for beta branch
|
898
|
+
- Updated beta APIs to the latest stable version
|
899
|
+
- [#1135](https://github.com/stripe/stripe-ruby/pull/1135) API Updates for beta branch
|
900
|
+
- Updated stable APIs to the latest version
|
901
|
+
|
902
|
+
## 7.2.0-beta.4 - 2022-10-07
|
903
|
+
|
904
|
+
- [#999](https://github.com/stripe/stripe-ruby/pull/999) DESCRIBE CHANGES HERE (try to use the same style, tense, etc. as the other entries)
|
905
|
+
|
906
|
+
## 7.2.0-beta.3 - 2022-09-26
|
442
907
|
|
443
|
-
|
444
|
-
|
445
|
-
|
908
|
+
- [#1129](https://github.com/stripe/stripe-ruby/pull/1129) API Updates for beta branch
|
909
|
+
- Updated stable APIs to the latest version
|
910
|
+
- Add `FinancingOffer`, `FinancingSummary` and `FinancingTransaction` resources.
|
446
911
|
|
447
|
-
|
448
|
-
- Removed deprecated `Sku` resource.
|
449
|
-
- Removed deprecated `Orders` resource.
|
450
|
-
- Removed deprecated `delete` method on `Subscription` resource. Please use `cancel` method instead.
|
451
|
-
```ruby
|
452
|
-
# before
|
453
|
-
Stripe::Subscription::delete("sub_12345")
|
912
|
+
## 7.2.0-beta.2 - 2022-08-26
|
454
913
|
|
455
|
-
|
456
|
-
|
457
|
-
|
914
|
+
- [#1127](https://github.com/stripe/stripe-ruby/pull/1127) API Updates for beta branch
|
915
|
+
- Updated stable APIs to the latest version
|
916
|
+
- Add support for the beta [Gift Card API](https://stripe.com/docs/gift-cards).
|
458
917
|
|
918
|
+
## 7.2.0-beta.1 - 2022-08-23
|
919
|
+
|
920
|
+
- [#1122](https://github.com/stripe/stripe-ruby/pull/1122) API Updates for beta branch
|
921
|
+
- Updated stable APIs to the latest version
|
922
|
+
- `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)
|
459
923
|
|
460
924
|
## 7.1.0 - 2022-08-19
|
461
|
-
* [#1116](https://github.com/stripe/stripe-ruby/pull/1116) API Updates
|
462
|
-
* Add support for new resource `CustomerCashBalanceTransaction`
|
463
|
-
* [#1118](https://github.com/stripe/stripe-ruby/pull/1118) Update AllowedChars in rubocop config
|
464
|
-
* [#1117](https://github.com/stripe/stripe-ruby/pull/1117) Refresh rubocop config.
|
465
|
-
* [#1115](https://github.com/stripe/stripe-ruby/pull/1115) Add a support section to the readme
|
466
925
|
|
467
|
-
|
926
|
+
- [#1116](https://github.com/stripe/stripe-ruby/pull/1116) API Updates
|
927
|
+
- Add support for new resource `CustomerCashBalanceTransaction`
|
928
|
+
- [#1118](https://github.com/stripe/stripe-ruby/pull/1118) Update AllowedChars in rubocop config
|
929
|
+
- [#1117](https://github.com/stripe/stripe-ruby/pull/1117) Refresh rubocop config.
|
930
|
+
- [#1115](https://github.com/stripe/stripe-ruby/pull/1115) Add a support section to the readme
|
468
931
|
|
469
|
-
|
932
|
+
## 7.1.0-beta.2 - 2022-08-11
|
470
933
|
|
471
|
-
|
934
|
+
- [#1113](https://github.com/stripe/stripe-ruby/pull/1113) API Updates for beta branch
|
935
|
+
- Updated stable APIs to the latest version
|
936
|
+
- Add `refund_payment` method to Terminal resource
|
472
937
|
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
938
|
+
## 7.1.0-beta.1 - 2022-08-03
|
939
|
+
|
940
|
+
- [#1107](https://github.com/stripe/stripe-ruby/pull/1107) API Updates for beta branch
|
941
|
+
- Updated stable APIs to the latest version
|
942
|
+
- Added the `Order` resource support
|
943
|
+
|
944
|
+
## 7.0.0 - 2022-08-02
|
477
945
|
|
478
|
-
|
479
|
-
* `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.
|
480
|
-
* Update default bundle of CA certificates to April 26, 2022.
|
946
|
+
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://stripe.com/docs/upgrades#2022-08-01.
|
481
947
|
|
482
|
-
|
483
|
-
* Deprecate `delete` method on `Subscription` resource. Please use `cancel` method instead.
|
948
|
+
"⚠️" symbol highlights breaking changes.
|
484
949
|
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
950
|
+
- [#1106](https://github.com/stripe/stripe-ruby/pull/1106) API Updates
|
951
|
+
- [#1092](https://github.com/stripe/stripe-ruby/pull/1092) API Updates
|
952
|
+
- [#1090](https://github.com/stripe/stripe-ruby/pull/1090) Use auto-generation for `Invoice` methods
|
953
|
+
- [#1103](https://github.com/stripe/stripe-ruby/pull/1103) Next major release changes
|
954
|
+
|
955
|
+
## 6.6.0-beta.1 - 2022-07-22
|
956
|
+
|
957
|
+
- [#1100](https://github.com/stripe/stripe-ruby/pull/1100) API Updates for beta branch
|
958
|
+
- Updated stable APIs to the latest version
|
959
|
+
- Add `QuotePhase` resource
|
960
|
+
- [#1097](https://github.com/stripe/stripe-ruby/pull/1097) API Updates for beta branch
|
961
|
+
- Updated stable APIs to the latest version
|
962
|
+
- Add `SubscriptionSchedule.amend` method.
|
963
|
+
- [#1093](https://github.com/stripe/stripe-ruby/pull/1093) API Updates for beta branch
|
964
|
+
- Include `server_side_confirmation_beta=v1` beta
|
965
|
+
- Add `secretKeyConfirmation` to `PaymentIntent`
|
966
|
+
- [#1085](https://github.com/stripe/stripe-ruby/pull/1085) API Updates for beta branch
|
967
|
+
- Updated stable APIs to the latest version
|
968
|
+
- [#1075](https://github.com/stripe/stripe-ruby/pull/1075) Use the generated API version
|
493
969
|
|
494
970
|
## 6.5.0 - 2022-06-29
|
495
|
-
|
496
|
-
|
497
|
-
|
971
|
+
|
972
|
+
- [#1084](https://github.com/stripe/stripe-ruby/pull/1084) API Updates
|
973
|
+
- Add support for `deliver_card`, `fail_card`, `return_card`, and `ship_card` test helper methods on resource `Issuing.Card`
|
974
|
+
- [#1076](https://github.com/stripe/stripe-ruby/pull/1076) fix: Update logging to coerce ASCII-8BIT into UTF-8.
|
498
975
|
|
499
976
|
## 6.4.0 - 2022-06-17
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
977
|
+
|
978
|
+
- [#1073](https://github.com/stripe/stripe-ruby/pull/1073) API Updates
|
979
|
+
- Add support for `fund_cash_balance` test helper method on resource `Customer`
|
980
|
+
- [#1074](https://github.com/stripe/stripe-ruby/pull/1074) Support updating pre-release versions
|
981
|
+
- [#1072](https://github.com/stripe/stripe-ruby/pull/1072) Trigger workflows on beta branches
|
982
|
+
- [#1071](https://github.com/stripe/stripe-ruby/pull/1071) Use request_stripe_object for all requests
|
983
|
+
- [#1070](https://github.com/stripe/stripe-ruby/pull/1070) API Updates
|
506
984
|
|
507
985
|
Switch from using meta-programing to generating explicit methods for custom methods.
|
508
|
-
|
986
|
+
|
987
|
+
- [#1069](https://github.com/stripe/stripe-ruby/pull/1069) chore: Stop special implementation of Account.persons method.
|
509
988
|
|
510
989
|
## 6.3.0 - 2022-06-08
|
511
|
-
|
990
|
+
|
991
|
+
- [#1063](https://github.com/stripe/stripe-ruby/pull/1063) fix: Update cash balance methods to no longer require nested ID.
|
512
992
|
|
513
993
|
## 6.2.0 - 2022-05-23
|
514
|
-
* [#1060](https://github.com/stripe/stripe-ruby/pull/1060) API Updates
|
515
|
-
* Add support for new resource `Apps.Secret`
|
516
994
|
|
517
|
-
|
518
|
-
|
519
|
-
* 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`
|
520
|
-
* Add support for `retrieve_payment_method` method on resource `Customer`
|
521
|
-
* Add support for `list_owners` and `list` methods on resource `FinancialConnections.Account`
|
995
|
+
- [#1060](https://github.com/stripe/stripe-ruby/pull/1060) API Updates
|
996
|
+
- Add support for new resource `Apps.Secret`
|
522
997
|
|
998
|
+
## 6.1.0 - 2022-05-19
|
523
999
|
|
1000
|
+
- [#1057](https://github.com/stripe/stripe-ruby/pull/1057) API Updates
|
1001
|
+
- 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`
|
1002
|
+
- Add support for `retrieve_payment_method` method on resource `Customer`
|
1003
|
+
- Add support for `list_owners` and `list` methods on resource `FinancialConnections.Account`
|
524
1004
|
|
525
1005
|
## 6.0.0 - 2022-05-09
|
526
|
-
|
1006
|
+
|
1007
|
+
- [#1056](https://github.com/stripe/stripe-ruby/pull/1056) API Updates
|
527
1008
|
Major version release. The [migration guide](https://github.com/stripe/stripe-ruby/wiki/Migration-Guide-for-v6) contains more information.
|
528
1009
|
|
529
1010
|
(⚠️ = breaking changes):
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
1011
|
+
|
1012
|
+
- ⚠️ Replace the legacy `Order` API with the new `Order` API.
|
1013
|
+
- New methods: `cancel`, `list_line_items`, `reopen`, and `submit`
|
1014
|
+
- Removed methods: `pay` and `return_order`
|
1015
|
+
- Removed resources: `OrderItem` and `OrderReturn`
|
1016
|
+
- ⚠️ Rename `FinancialConnections::Account.refresh` to `FinancialConnections::Account.refresh_account
|
535
1017
|
|
536
1018
|
## 5.55.0 - 2022-05-05
|
537
|
-
* [#1055](https://github.com/stripe/stripe-ruby/pull/1055) API Updates
|
538
|
-
* Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session`
|
539
1019
|
|
1020
|
+
- [#1055](https://github.com/stripe/stripe-ruby/pull/1055) API Updates
|
1021
|
+
- Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session`
|
540
1022
|
|
541
1023
|
## 5.54.0 - 2022-05-03
|
542
|
-
|
543
|
-
|
1024
|
+
|
1025
|
+
- [#1053](https://github.com/stripe/stripe-ruby/pull/1053) API Updates
|
1026
|
+
- Add support for new resource `CashBalance`
|
544
1027
|
|
545
1028
|
## 5.53.0 - 2022-04-21
|
546
|
-
|
547
|
-
|
1029
|
+
|
1030
|
+
- [#1050](https://github.com/stripe/stripe-ruby/pull/1050) API Updates
|
1031
|
+
- Add support for `expire` test helper method on resource `Refund`
|
548
1032
|
|
549
1033
|
## 5.52.0 - 2022-04-18
|
550
|
-
|
551
|
-
|
1034
|
+
|
1035
|
+
- [#1046](https://github.com/stripe/stripe-ruby/pull/1046) [#1047](https://github.com/stripe/stripe-ruby/pull/1047) API Updates
|
1036
|
+
- Add support for new resources `FundingInstructions` and `Terminal.Configuration`
|
552
1037
|
|
553
1038
|
## 5.51.0 - 2022-04-15
|
554
|
-
|
1039
|
+
|
1040
|
+
- [#1046](https://github.com/stripe/stripe-ruby/pull/1046) This release was incomplete and was yanked from RubyGems immediately after it was published.
|
555
1041
|
|
556
1042
|
## 5.50.0 - 2022-04-13
|
557
|
-
|
558
|
-
|
1043
|
+
|
1044
|
+
- [#1045](https://github.com/stripe/stripe-ruby/pull/1045) API Updates
|
1045
|
+
- Add support for `increment_authorization` method on resource `PaymentIntent`
|
559
1046
|
|
560
1047
|
## 5.49.0 - 2022-04-08
|
561
|
-
|
562
|
-
|
1048
|
+
|
1049
|
+
- [#1043](https://github.com/stripe/stripe-ruby/pull/1043) API Updates
|
1050
|
+
- Add support for `apply_customer_balance` method on resource `PaymentIntent`
|
563
1051
|
|
564
1052
|
## 5.48.0 - 2022-03-30
|
565
|
-
|
566
|
-
|
1053
|
+
|
1054
|
+
- [#1041](https://github.com/stripe/stripe-ruby/pull/1041) API Updates
|
1055
|
+
- Add support for `cancel_action`, `process_payment_intent`, `process_setup_intent`, and `set_reader_display` methods on resource `Terminal.Reader`
|
567
1056
|
|
568
1057
|
## 5.47.0 - 2022-03-29
|
569
|
-
* [#1040](https://github.com/stripe/stripe-ruby/pull/1040) API Updates
|
570
|
-
* Add support for Search API
|
571
|
-
* Add support for `search` method on resources `Charge`, `Customer`, `Invoice`, `PaymentIntent`, `Price`, `Product`, and `Subscription`
|
572
1058
|
|
573
|
-
|
1059
|
+
- [#1040](https://github.com/stripe/stripe-ruby/pull/1040) API Updates
|
1060
|
+
|
1061
|
+
- Add support for Search API
|
1062
|
+
- Add support for `search` method on resources `Charge`, `Customer`, `Invoice`, `PaymentIntent`, `Price`, `Product`, and `Subscription`
|
1063
|
+
|
1064
|
+
- [#1034](https://github.com/stripe/stripe-ruby/pull/1034) Add supporting classes for test helper generation
|
574
1065
|
|
575
1066
|
## 5.46.0 - 2022-03-23
|
576
|
-
|
577
|
-
|
578
|
-
|
1067
|
+
|
1068
|
+
- [#1039](https://github.com/stripe/stripe-ruby/pull/1039) API Updates
|
1069
|
+
- Add support for `cancel` method on resource `Refund`
|
1070
|
+
- [#992](https://github.com/stripe/stripe-ruby/pull/992) Add support for Search API
|
579
1071
|
|
580
1072
|
## 5.45.0 - 2022-03-01
|
581
|
-
|
582
|
-
|
1073
|
+
|
1074
|
+
- [#1035](https://github.com/stripe/stripe-ruby/pull/1035) API Updates
|
1075
|
+
- Add support for new resource `TestHelpers.TestClock`
|
583
1076
|
|
584
1077
|
## 5.44.0 - 2022-02-16
|
585
|
-
|
586
|
-
|
1078
|
+
|
1079
|
+
- [#1032](https://github.com/stripe/stripe-ruby/pull/1032) API Updates
|
1080
|
+
- Add support for `verify_microdeposits` method on resources `PaymentIntent` and `SetupIntent`
|
587
1081
|
|
588
1082
|
## 5.43.0 - 2022-01-20
|
589
|
-
|
590
|
-
|
1083
|
+
|
1084
|
+
- [#1031](https://github.com/stripe/stripe-ruby/pull/1031) API Updates
|
1085
|
+
- Add support for new resource `PaymentLink`
|
591
1086
|
|
592
1087
|
## 5.42.0 - 2021-12-13
|
593
|
-
|
1088
|
+
|
1089
|
+
- [#1022](https://github.com/stripe/stripe-ruby/pull/1022) Add connection manager logging and include object IDs in logging.
|
594
1090
|
|
595
1091
|
## 5.41.0 - 2021-11-16
|
596
|
-
|
597
|
-
|
1092
|
+
|
1093
|
+
- [#1017](https://github.com/stripe/stripe-ruby/pull/1017) API Updates
|
1094
|
+
- Add support for new resource `ShippingRate`
|
598
1095
|
|
599
1096
|
## 5.40.0 - 2021-11-11
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
1097
|
+
|
1098
|
+
- [#1015](https://github.com/stripe/stripe-ruby/pull/1015) API Updates
|
1099
|
+
- Add support for `expire` method on resource `Checkout.Session`
|
1100
|
+
- [#1013](https://github.com/stripe/stripe-ruby/pull/1013) Add tests for child resources.
|
1101
|
+
- [#1012](https://github.com/stripe/stripe-ruby/pull/1012) Add tests for namespaced resources.
|
1102
|
+
- [#1011](https://github.com/stripe/stripe-ruby/pull/1011) codegen: 3 more files
|
605
1103
|
|
606
1104
|
## 5.39.0 - 2021-10-11
|
607
|
-
|
608
|
-
|
1105
|
+
|
1106
|
+
- [#1010](https://github.com/stripe/stripe-ruby/pull/1010) API Updates
|
1107
|
+
- Add support for `list_payment_methods` method on resource `Customer`
|
609
1108
|
|
610
1109
|
## 5.38.0 - 2021-08-10
|
611
|
-
|
612
|
-
|
613
|
-
|
1110
|
+
|
1111
|
+
- [#993](https://github.com/stripe/stripe-ruby/pull/993) Add `request_id` to RequestEndEvent
|
1112
|
+
- [#991](https://github.com/stripe/stripe-ruby/pull/991) Codegen more files
|
1113
|
+
- [#989](https://github.com/stripe/stripe-ruby/pull/989) Remove unused API error types from docs.
|
614
1114
|
|
615
1115
|
## 5.37.0 - 2021-07-14
|
616
|
-
|
617
|
-
|
1116
|
+
|
1117
|
+
- [#988](https://github.com/stripe/stripe-ruby/pull/988) API Updates
|
1118
|
+
- Add support for `list_computed_upfront_line_items` method on resource `Quote`
|
618
1119
|
|
619
1120
|
## 5.36.0 - 2021-07-09
|
620
|
-
|
1121
|
+
|
1122
|
+
- [#987](https://github.com/stripe/stripe-ruby/pull/987) Add support for `Quote` API
|
621
1123
|
|
622
1124
|
## 5.35.0 - 2021-06-30
|
623
|
-
|
624
|
-
|
625
|
-
|
1125
|
+
|
1126
|
+
- [#985](https://github.com/stripe/stripe-ruby/pull/985) Update normalize_opts to use dup instead of clone.
|
1127
|
+
- [#982](https://github.com/stripe/stripe-ruby/pull/982) Deprecate travis
|
1128
|
+
- [#983](https://github.com/stripe/stripe-ruby/pull/983) Add support for making a request and receiving the response as a stream.
|
626
1129
|
|
627
1130
|
## 5.34.0 - 2021-06-04
|
628
|
-
|
629
|
-
|
1131
|
+
|
1132
|
+
- [#981](https://github.com/stripe/stripe-ruby/pull/981) API Updates
|
1133
|
+
- Add support for `TaxCode` API.
|
630
1134
|
|
631
1135
|
## 5.33.0 - 2021-05-19
|
632
|
-
|
1136
|
+
|
1137
|
+
- [#979](https://github.com/stripe/stripe-ruby/pull/979) Add support for the Identify VerificationSession and VerificationReport APIs
|
633
1138
|
|
634
1139
|
## 5.32.1 - 2021-04-05
|
635
|
-
|
1140
|
+
|
1141
|
+
- Correct use of regexp `match` in gemspec for old versions of Ruby
|
636
1142
|
|
637
1143
|
## 5.32.0 - 2021-04-05
|
638
|
-
|
1144
|
+
|
1145
|
+
- [#973](https://github.com/stripe/stripe-ruby/pull/973) Reduce packed gem size
|
639
1146
|
|
640
1147
|
## 5.31.0 - 2021-04-02
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
1148
|
+
|
1149
|
+
- [#968](https://github.com/stripe/stripe-ruby/pull/968) Allow StripeClient to be configured per instance
|
1150
|
+
- [#971](https://github.com/stripe/stripe-ruby/pull/971) On config change, only clear connection managers for changed config
|
1151
|
+
- [#972](https://github.com/stripe/stripe-ruby/pull/972) Rename `Stripe.configuration` to `Stripe.config`
|
1152
|
+
- [#970](https://github.com/stripe/stripe-ruby/pull/970) Reserve some critical field names when adding `StripeObject` accessors
|
1153
|
+
- [#967](https://github.com/stripe/stripe-ruby/pull/967) CI: github actions
|
646
1154
|
|
647
1155
|
## 5.30.0 - 2021-02-22
|
648
|
-
|
1156
|
+
|
1157
|
+
- [#965](https://github.com/stripe/stripe-ruby/pull/965) Add support for the Billing Portal Configuration API
|
649
1158
|
|
650
1159
|
## 5.29.1 - 2021-02-09
|
651
|
-
|
1160
|
+
|
1161
|
+
- [#964](https://github.com/stripe/stripe-ruby/pull/964) Fix return value of `Customer#delete_discount`
|
652
1162
|
|
653
1163
|
## 5.29.0 - 2021-01-05
|
654
|
-
|
1164
|
+
|
1165
|
+
- [#952](https://github.com/stripe/stripe-ruby/pull/952) Allow client_id configuration on instance config
|
655
1166
|
|
656
1167
|
## 5.28.0 - 2020-10-14
|
657
|
-
|
1168
|
+
|
1169
|
+
- [#950](https://github.com/stripe/stripe-ruby/pull/950) Add configuration option for `write_timeout` for connections on Ruby 2.6+
|
658
1170
|
|
659
1171
|
## 5.27.0 - 2020-10-14
|
660
|
-
|
1172
|
+
|
1173
|
+
- [#951](https://github.com/stripe/stripe-ruby/pull/951) Add support for the Payout Reverse API
|
661
1174
|
|
662
1175
|
## 5.26.0 - 2020-09-29
|
663
|
-
|
1176
|
+
|
1177
|
+
- [#949](https://github.com/stripe/stripe-ruby/pull/949) Add support for the `SetupAttempt` resource and List API
|
664
1178
|
|
665
1179
|
## 5.25.0 - 2020-09-02
|
666
|
-
|
1180
|
+
|
1181
|
+
- [#944](https://github.com/stripe/stripe-ruby/pull/944) Add support for the Issuing Dispute Submit API
|
667
1182
|
|
668
1183
|
## 5.24.0 - 2020-08-26
|
669
|
-
|
670
|
-
|
1184
|
+
|
1185
|
+
- [#939](https://github.com/stripe/stripe-ruby/pull/939) Extract configurations into separate object
|
1186
|
+
- [#940](https://github.com/stripe/stripe-ruby/pull/940) Fix typo in documentation of `stripe_object.rb`
|
671
1187
|
|
672
1188
|
## 5.23.1 - 2020-08-05
|
673
|
-
|
1189
|
+
|
1190
|
+
- [#936](https://github.com/stripe/stripe-ruby/pull/936) Rename API resource's `request` method
|
674
1191
|
|
675
1192
|
## 5.23.0 - 2020-08-05
|
676
|
-
|
1193
|
+
|
1194
|
+
- [#937](https://github.com/stripe/stripe-ruby/pull/937) Add support for the `PromotionCode` resource and APIs
|
677
1195
|
|
678
1196
|
## 5.22.0 - 2020-05-11
|
679
|
-
|
1197
|
+
|
1198
|
+
- [#918](https://github.com/stripe/stripe-ruby/pull/918) Add support for the `LineItem` resource and APIs
|
680
1199
|
|
681
1200
|
## 5.21.0 - 2020-04-29
|
682
|
-
|
1201
|
+
|
1202
|
+
- [#917](https://github.com/stripe/stripe-ruby/pull/917) Add support for the `Price` resource and APIs
|
683
1203
|
|
684
1204
|
## 5.20.0 - 2020-04-27
|
685
|
-
|
1205
|
+
|
1206
|
+
- [#916](https://github.com/stripe/stripe-ruby/pull/916) Add new `.generate_header` method for webhooks
|
686
1207
|
|
687
1208
|
## 5.19.0 - 2020-04-24
|
688
|
-
|
1209
|
+
|
1210
|
+
- [#915](https://github.com/stripe/stripe-ruby/pull/915) Expose `Stripe::Webhook.compute_signature` publicly
|
689
1211
|
|
690
1212
|
## 5.18.0 - 2020-04-22
|
691
|
-
|
1213
|
+
|
1214
|
+
- [#911](https://github.com/stripe/stripe-ruby/pull/911) Add support for `BillingPortal` namespace and `Session` resource and APIs
|
692
1215
|
|
693
1216
|
## 5.17.0 - 2020-02-26
|
694
|
-
|
1217
|
+
|
1218
|
+
- [#907](https://github.com/stripe/stripe-ruby/pull/907) Add `StripeError#idempotent_replayed?`
|
695
1219
|
|
696
1220
|
## 5.16.0 - 2020-02-26
|
697
|
-
|
698
|
-
|
1221
|
+
|
1222
|
+
- [#906](https://github.com/stripe/stripe-ruby/pull/906) Add support for listing Checkout sessions
|
1223
|
+
- [#903](https://github.com/stripe/stripe-ruby/pull/903) Upgrade to Rubocop 0.80
|
699
1224
|
|
700
1225
|
## 5.15.0 - 2020-02-10
|
701
|
-
|
1226
|
+
|
1227
|
+
- [#902](https://github.com/stripe/stripe-ruby/pull/902) Add `request_begin` instrumentation callback
|
702
1228
|
|
703
1229
|
## 5.14.0 - 2020-01-14
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
1230
|
+
|
1231
|
+
- [#896](https://github.com/stripe/stripe-ruby/pull/896) Add support for `CreditNoteLineItem`
|
1232
|
+
- [#894](https://github.com/stripe/stripe-ruby/pull/894) Clean up test output by capturing `$stderr` when we expect warnings
|
1233
|
+
- [#892](https://github.com/stripe/stripe-ruby/pull/892) Explicitly pass a parameter as hash to be more ruby 2.7 friendly
|
1234
|
+
- [#893](https://github.com/stripe/stripe-ruby/pull/893) Upgrade Rubocop to 0.79
|
708
1235
|
|
709
1236
|
## 5.13.0 - 2020-01-08
|
710
|
-
|
1237
|
+
|
1238
|
+
- [#891](https://github.com/stripe/stripe-ruby/pull/891) Fix most Ruby 2.7 warnings
|
711
1239
|
|
712
1240
|
## 5.12.1 - 2020-01-06
|
713
|
-
|
1241
|
+
|
1242
|
+
- [#890](https://github.com/stripe/stripe-ruby/pull/890) Override API key with `client_secret` in `OAuth.token`
|
714
1243
|
|
715
1244
|
## 5.12.0 - 2020-01-02
|
716
|
-
|
1245
|
+
|
1246
|
+
- [#889](https://github.com/stripe/stripe-ruby/pull/889) Add support for retrieve source transaction API method
|
717
1247
|
|
718
1248
|
## 5.11.0 - 2019-11-26
|
719
|
-
|
1249
|
+
|
1250
|
+
- [#885](https://github.com/stripe/stripe-ruby/pull/885) Add support for `CreditNote` preview
|
720
1251
|
|
721
1252
|
## 5.10.0 - 2019-11-08
|
722
|
-
|
1253
|
+
|
1254
|
+
- [#882](https://github.com/stripe/stripe-ruby/pull/882) Add list_usage_record_summaries and list_source_transactions
|
723
1255
|
|
724
1256
|
## 5.9.0 - 2019-11-07
|
725
|
-
|
1257
|
+
|
1258
|
+
- [#870](https://github.com/stripe/stripe-ruby/pull/870) Add request instrumentation callback (see `README.md` for usage example)
|
726
1259
|
|
727
1260
|
## 5.8.0 - 2019-11-05
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
1261
|
+
|
1262
|
+
- [#879](https://github.com/stripe/stripe-ruby/pull/879) Add support for `Mandate`
|
1263
|
+
- [#876](https://github.com/stripe/stripe-ruby/pull/876) Add additional per-request configuration documentation
|
1264
|
+
- [#874](https://github.com/stripe/stripe-ruby/pull/874) Raise an error when requests params are invalid
|
1265
|
+
- [#873](https://github.com/stripe/stripe-ruby/pull/873) Contributor Covenant
|
732
1266
|
|
733
1267
|
## 5.7.1 - 2019-10-15
|
734
|
-
|
1268
|
+
|
1269
|
+
- [#869](https://github.com/stripe/stripe-ruby/pull/869) Fixes the misnamed `connection_base=` setter to be named `connect_base=`
|
735
1270
|
|
736
1271
|
## 5.7.0 - 2019-10-10
|
737
|
-
|
1272
|
+
|
1273
|
+
- [#865](https://github.com/stripe/stripe-ruby/pull/865) Support backwards pagination with list's `#auto_paging_each`
|
738
1274
|
|
739
1275
|
## 5.6.0 - 2019-10-04
|
740
|
-
|
1276
|
+
|
1277
|
+
- [#861](https://github.com/stripe/stripe-ruby/pull/861) Nicer error when specifying non-nil non-string opt value
|
741
1278
|
|
742
1279
|
## 5.5.0 - 2019-10-03
|
743
|
-
|
1280
|
+
|
1281
|
+
- [#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
|
744
1282
|
|
745
1283
|
## 5.4.1 - 2019-10-01
|
746
|
-
|
1284
|
+
|
1285
|
+
- [#858](https://github.com/stripe/stripe-ruby/pull/858) Drop Timecop dependency
|
747
1286
|
|
748
1287
|
## 5.4.0 - 2019-10-01
|
749
|
-
|
1288
|
+
|
1289
|
+
- [#857](https://github.com/stripe/stripe-ruby/pull/857) Move to monotonic time for duration calculations
|
750
1290
|
|
751
1291
|
## 5.3.0 - 2019-10-01
|
752
|
-
|
1292
|
+
|
1293
|
+
- [#853](https://github.com/stripe/stripe-ruby/pull/853) Support `Stripe-Should-Retry` header
|
753
1294
|
|
754
1295
|
## 5.2.0 - 2019-09-19
|
755
|
-
|
1296
|
+
|
1297
|
+
- [#851](https://github.com/stripe/stripe-ruby/pull/851) Introduce system for garbage collecting connection managers
|
756
1298
|
|
757
1299
|
## 5.1.1 - 2019-09-04
|
758
|
-
|
1300
|
+
|
1301
|
+
- [#845](https://github.com/stripe/stripe-ruby/pull/845) Transfer the request_id from the http_headers to error.
|
759
1302
|
|
760
1303
|
## 5.1.0 - 2019-08-27
|
761
|
-
|
1304
|
+
|
1305
|
+
- [#841](https://github.com/stripe/stripe-ruby/pull/841) Retry requests on a 429 that's a lock timeout
|
762
1306
|
|
763
1307
|
## 5.0.1 - 2019-08-20
|
764
|
-
|
1308
|
+
|
1309
|
+
- [#836](https://github.com/stripe/stripe-ruby/pull/836) Increase connection keep alive timeout to 30 seconds
|
765
1310
|
|
766
1311
|
## 5.0.0 - 2019-08-20
|
1312
|
+
|
767
1313
|
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.
|
768
1314
|
|
769
1315
|
Pull requests included in this release (cf. [#815](https://github.com/stripe/stripe-ruby/pull/815)) (⚠️ = breaking changes):
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
1316
|
+
|
1317
|
+
- ⚠️ [#813](https://github.com/stripe/stripe-ruby/pull/813): Convert library to use built-in `Net::HTTP`
|
1318
|
+
- ⚠️ [#816](https://github.com/stripe/stripe-ruby/pull/816): Make `code` argument in `CardError` named instead of positional.
|
1319
|
+
- ⚠️ [#817](https://github.com/stripe/stripe-ruby/pull/817): Drop support for very old Ruby versions.
|
1320
|
+
- [#818](https://github.com/stripe/stripe-ruby/pull/818): Bump Rubocop to latest version
|
1321
|
+
- [#819](https://github.com/stripe/stripe-ruby/pull/819): Ruby minimum version increase followup
|
1322
|
+
- ⚠️ [#820](https://github.com/stripe/stripe-ruby/pull/820): Remove old deprecated methods
|
1323
|
+
- ⚠️ [#823](https://github.com/stripe/stripe-ruby/pull/823): Remove all alias for list methods
|
1324
|
+
- ⚠️ [#826](https://github.com/stripe/stripe-ruby/pull/826): Remove `UsageRecord.create` method
|
1325
|
+
- ⚠️ [#827](https://github.com/stripe/stripe-ruby/pull/827): Remove `IssuerFraudRecord`
|
1326
|
+
- [#811](https://github.com/stripe/stripe-ruby/pull/811): Add `ErrorObject` to `StripeError` exceptions
|
1327
|
+
- [#828](https://github.com/stripe/stripe-ruby/pull/828): Tweak retry logic to be a little more like stripe-node
|
1328
|
+
- [#829](https://github.com/stripe/stripe-ruby/pull/829): Reset connections when connection-changing configuration changes (optional)
|
1329
|
+
- [#830](https://github.com/stripe/stripe-ruby/pull/830): Fix inverted sign for 500 retries
|
1330
|
+
- ⚠️[#831](https://github.com/stripe/stripe-ruby/pull/831): Remove a few more very old deprecated methods
|
1331
|
+
- [#832](https://github.com/stripe/stripe-ruby/pull/832): Minor cleanup in `StripeClient`
|
1332
|
+
- [#833](https://github.com/stripe/stripe-ruby/pull/833): Do better bookkeeping when tracking state in `Thread.current`
|
1333
|
+
- [#834](https://github.com/stripe/stripe-ruby/pull/834): Add `Invoice.list_upcoming_line_items` method
|
787
1334
|
|
788
1335
|
## 4.24.0 - 2019-08-12
|
789
|
-
|
1336
|
+
|
1337
|
+
- [#825](https://github.com/stripe/stripe-ruby/pull/825) Add `SubscriptionItem.create_usage_record` method
|
790
1338
|
- This release also removed the `SubscriptionSchedule.revisions` method. This should have been included in the previous release (4.23.0)
|
791
1339
|
|
792
1340
|
## 4.23.0 - 2019-08-09
|
793
|
-
|
1341
|
+
|
1342
|
+
- [#824](https://github.com/stripe/stripe-ruby/pull/824) Remove SubscriptionScheduleRevision
|
794
1343
|
- This is technically a breaking change. We've chosen to release it as a minor vesion bump because the associated API is unused.
|
795
1344
|
|
796
1345
|
## 4.22.1 - 2019-08-09
|
797
|
-
|
1346
|
+
|
1347
|
+
- [#808](https://github.com/stripe/stripe-ruby/pull/808) Unify request/response handling
|
798
1348
|
|
799
1349
|
## 4.22.0 - 2019-07-30
|
800
|
-
|
1350
|
+
|
1351
|
+
- [#821](https://github.com/stripe/stripe-ruby/pull/821) Listing `BalanceTransaction` objects now uses `/v1/balance_transactions` instead of `/v1/balance/history`
|
801
1352
|
|
802
1353
|
## 4.21.3 - 2019-07-15
|
803
|
-
|
1354
|
+
|
1355
|
+
- [#810](https://github.com/stripe/stripe-ruby/pull/810) Better error message when passing non-string to custom method
|
804
1356
|
|
805
1357
|
## 4.21.2 - 2019-07-05
|
806
|
-
|
1358
|
+
|
1359
|
+
- [#806](https://github.com/stripe/stripe-ruby/pull/806) Revert back to `initialize_from` from `Util.convert_to_stripe_object`
|
807
1360
|
|
808
1361
|
## 4.21.1 - 2019-07-04
|
809
|
-
|
1362
|
+
|
1363
|
+
- [#807](https://github.com/stripe/stripe-ruby/pull/807) Add gem metadata
|
810
1364
|
|
811
1365
|
## 4.21.0 - 2019-06-28
|
812
|
-
|
1366
|
+
|
1367
|
+
- [#803](https://github.com/stripe/stripe-ruby/pull/803) Add support for the `SetupIntent` resource and APIs
|
813
1368
|
|
814
1369
|
## 4.20.1 - 2019-06-28
|
815
|
-
|
1370
|
+
|
1371
|
+
- [#805](https://github.com/stripe/stripe-ruby/pull/805) Fix formatting in `ConnectionFailed` error message
|
816
1372
|
|
817
1373
|
## 4.20.0 - 2019-06-24
|
818
|
-
|
1374
|
+
|
1375
|
+
- [#800](https://github.com/stripe/stripe-ruby/pull/800) Enable request latency telemetry by default
|
819
1376
|
|
820
1377
|
## 4.19.0 - 2019-06-17
|
821
|
-
|
1378
|
+
|
1379
|
+
- [#770](https://github.com/stripe/stripe-ruby/pull/770) Add support for `CustomerBalanceTransaction` resource and APIs
|
822
1380
|
|
823
1381
|
## 4.18.1 - 2019-05-27
|
824
|
-
|
1382
|
+
|
1383
|
+
- [#789](https://github.com/stripe/stripe-ruby/pull/789) Allow `Order#pay` to be called without arguments
|
825
1384
|
|
826
1385
|
## 4.18.0 - 2019-05-23
|
827
|
-
|
1386
|
+
|
1387
|
+
- [#783](https://github.com/stripe/stripe-ruby/pull/783) Add support for `radar.early_fraud_warning` resource
|
828
1388
|
|
829
1389
|
## 4.17.0 - 2019-05-14
|
830
|
-
|
1390
|
+
|
1391
|
+
- [#779](https://github.com/stripe/stripe-ruby/pull/779) Add support for the Capability resource and APIs
|
831
1392
|
|
832
1393
|
## 4.16.0 - 2019-04-24
|
833
|
-
|
1394
|
+
|
1395
|
+
- [#760](https://github.com/stripe/stripe-ruby/pull/760) Add support for the `TaxRate` resource and APIs
|
834
1396
|
|
835
1397
|
## 4.15.0 - 2019-04-22
|
836
|
-
|
1398
|
+
|
1399
|
+
- [#762](https://github.com/stripe/stripe-ruby/pull/762) Add support for the `TaxId` resource and APIs
|
837
1400
|
|
838
1401
|
## 4.14.0 - 2019-04-18
|
839
|
-
|
1402
|
+
|
1403
|
+
- [#758](https://github.com/stripe/stripe-ruby/pull/758) Add support for the `CreditNote` resource and APIs
|
840
1404
|
|
841
1405
|
## 4.13.0 - 2019-04-16
|
842
|
-
|
1406
|
+
|
1407
|
+
- [#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`)
|
843
1408
|
|
844
1409
|
## 4.12.0 - 2019-04-02
|
845
|
-
|
846
|
-
|
1410
|
+
|
1411
|
+
- [#752](https://github.com/stripe/stripe-ruby/pull/752) Add `.delete` class method on deletable API resources
|
1412
|
+
- [#754](https://github.com/stripe/stripe-ruby/pull/754) Add class methods for all custom API requests (e.g. `Charge.capture`)
|
847
1413
|
|
848
1414
|
## 4.11.0 - 2019-03-26
|
849
|
-
|
1415
|
+
|
1416
|
+
- [#753](https://github.com/stripe/stripe-ruby/pull/753) Add a global proxy configuration parameter
|
850
1417
|
|
851
1418
|
## 4.10.0 - 2019-03-18
|
852
|
-
|
853
|
-
|
854
|
-
|
1419
|
+
|
1420
|
+
- [#745](https://github.com/stripe/stripe-ruby/pull/745) Add support for the `PaymentMethod` resource and APIs
|
1421
|
+
- [#747](https://github.com/stripe/stripe-ruby/pull/747) Add support for retrieving a Checkout `Session`
|
1422
|
+
- [#748](https://github.com/stripe/stripe-ruby/pull/748) Add support for deleting a Terminal `Location` and `Reader`
|
855
1423
|
|
856
1424
|
## 4.9.1 - 2019-03-18
|
857
|
-
|
1425
|
+
|
1426
|
+
- [#750](https://github.com/stripe/stripe-ruby/pull/750) Catch error and warn if unable to remove a method
|
858
1427
|
|
859
1428
|
## 4.9.0 - 2019-02-12
|
860
|
-
|
1429
|
+
|
1430
|
+
- [#739](https://github.com/stripe/stripe-ruby/pull/739) Add support for `SubscriptionSchedule` and `SubscriptionScheduleRevision`
|
861
1431
|
|
862
1432
|
## 4.8.1 - 2019-02-11
|
863
|
-
|
1433
|
+
|
1434
|
+
- [#743](https://github.com/stripe/stripe-ruby/pull/743) Fix bug in file uploading introduced in #741
|
864
1435
|
|
865
1436
|
## 4.8.0 - 2019-02-03
|
866
|
-
|
1437
|
+
|
1438
|
+
- [#741](https://github.com/stripe/stripe-ruby/pull/741) Use `FaradayStripeEncoder` to encode all parameter styles
|
867
1439
|
|
868
1440
|
## 4.7.1 - 2019-02-01
|
869
|
-
|
1441
|
+
|
1442
|
+
- [#740](https://github.com/stripe/stripe-ruby/pull/740) Fix query encoding for integer-indexed maps
|
870
1443
|
|
871
1444
|
## 4.7.0 - 2019-01-23
|
872
|
-
|
1445
|
+
|
1446
|
+
- [#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.
|
873
1447
|
|
874
1448
|
## 4.6.0 - 2019-01-21
|
875
|
-
|
1449
|
+
|
1450
|
+
- [#736](https://github.com/stripe/stripe-ruby/pull/736) Properly serialize `individual` on `Account` objects
|
876
1451
|
|
877
1452
|
## 4.5.0 - 2019-01-02
|
878
|
-
|
1453
|
+
|
1454
|
+
- [#719](https://github.com/stripe/stripe-ruby/pull/719) Generate OAuth authorize URLs for Express accounts as well as standard
|
879
1455
|
|
880
1456
|
## 4.4.1 - 2018-12-31
|
881
|
-
|
1457
|
+
|
1458
|
+
- [#718](https://github.com/stripe/stripe-ruby/pull/718) Fix an error message typo
|
882
1459
|
|
883
1460
|
## 4.4.0 - 2018-12-21
|
884
|
-
|
1461
|
+
|
1462
|
+
- [#716](https://github.com/stripe/stripe-ruby/pull/716) Add support for the `CheckoutSession` resource
|
885
1463
|
|
886
1464
|
## 4.3.0 - 2018-12-10
|
887
|
-
|
1465
|
+
|
1466
|
+
- [#711](https://github.com/stripe/stripe-ruby/pull/711) Add support for account links
|
888
1467
|
|
889
1468
|
## 4.2.0 - 2018-11-28
|
890
|
-
|
1469
|
+
|
1470
|
+
- [#705](https://github.com/stripe/stripe-ruby/pull/705) Add support for the `Review` APIs
|
891
1471
|
|
892
1472
|
## 4.1.0 - 2018-11-27
|
893
|
-
|
1473
|
+
|
1474
|
+
- [#695](https://github.com/stripe/stripe-ruby/pull/695) Add support for `ValueList` and `ValueListItem` for Radar
|
894
1475
|
|
895
1476
|
## 4.0.3 - 2018-11-19
|
896
|
-
|
1477
|
+
|
1478
|
+
- [#703](https://github.com/stripe/stripe-ruby/pull/703) Don't use `Net::HTTP::Persistent` on Windows where it's not well supported
|
897
1479
|
|
898
1480
|
## 4.0.2 - 2018-11-16
|
899
|
-
|
1481
|
+
|
1482
|
+
- [#701](https://github.com/stripe/stripe-ruby/pull/701) Require minimum Faraday 0.13 for proper support of persistent connections
|
900
1483
|
|
901
1484
|
## 4.0.1 - 2018-11-15
|
902
|
-
|
1485
|
+
|
1486
|
+
- [#699](https://github.com/stripe/stripe-ruby/pull/699) Only send telemetry if `Request-Id` was present in the response
|
903
1487
|
|
904
1488
|
## 4.0.0 - 2018-11-15
|
905
|
-
|
906
|
-
|
1489
|
+
|
1490
|
+
- [#698](https://github.com/stripe/stripe-ruby/pull/698) Use persistent connections by default through `Net::HTTP::Persistent`
|
1491
|
+
- [#698](https://github.com/stripe/stripe-ruby/pull/698) Drop support for Ruby 2.0 (which we consider a breaking change here)
|
907
1492
|
|
908
1493
|
## 3.31.1 - 2018-11-12
|
909
|
-
|
1494
|
+
|
1495
|
+
- [#697](https://github.com/stripe/stripe-ruby/pull/697) Send telemetry in milliseconds specifically
|
910
1496
|
|
911
1497
|
## 3.31.0 - 2018-11-12
|
912
|
-
|
1498
|
+
|
1499
|
+
- [#696](https://github.com/stripe/stripe-ruby/pull/696) Add configurable telemetry to gather information on client-side request latency
|
913
1500
|
|
914
1501
|
## 3.30.0 - 2018-11-08
|
915
|
-
|
1502
|
+
|
1503
|
+
- [#693](https://github.com/stripe/stripe-ruby/pull/693) Add new API endpoints for the `Invoice` resource.
|
916
1504
|
|
917
1505
|
## 3.29.0 - 2018-10-30
|
918
|
-
|
919
|
-
|
1506
|
+
|
1507
|
+
- [#692](https://github.com/stripe/stripe-ruby/pull/692) Add support for the `Person` resource
|
1508
|
+
- [#694](https://github.com/stripe/stripe-ruby/pull/694) Add support for the `WebhookEndpoint` resource
|
920
1509
|
|
921
1510
|
## 3.28.0 - 2018-09-24
|
922
|
-
|
1511
|
+
|
1512
|
+
- [#690](https://github.com/stripe/stripe-ruby/pull/690) Add support for Stripe Terminal
|
923
1513
|
|
924
1514
|
## 3.27.0 - 2018-09-24
|
925
|
-
|
1515
|
+
|
1516
|
+
- [#689](https://github.com/stripe/stripe-ruby/pull/689) Rename `FileUpload` to `File`
|
926
1517
|
|
927
1518
|
## 3.26.1 - 2018-09-14
|
928
|
-
|
1519
|
+
|
1520
|
+
- [#688](https://github.com/stripe/stripe-ruby/pull/688) Fix hash equality on `StripeObject`
|
929
1521
|
|
930
1522
|
## 3.26.0 - 2018-09-05
|
931
|
-
|
1523
|
+
|
1524
|
+
- [#681](https://github.com/stripe/stripe-ruby/pull/681) Add support for reporting resources
|
932
1525
|
|
933
1526
|
## 3.25.0 - 2018-08-28
|
934
|
-
|
1527
|
+
|
1528
|
+
- [#678](https://github.com/stripe/stripe-ruby/pull/678) Allow payment intent `#cancel`, `#capture`, and `#confirm` to take their own parameters
|
935
1529
|
|
936
1530
|
## 3.24.0 - 2018-08-27
|
937
|
-
|
1531
|
+
|
1532
|
+
- [#675](https://github.com/stripe/stripe-ruby/pull/675) Remove support for `BitcoinReceiver` write-actions
|
938
1533
|
|
939
1534
|
## 3.23.0 - 2018-08-23
|
940
|
-
|
1535
|
+
|
1536
|
+
- [#676](https://github.com/stripe/stripe-ruby/pull/676) Add support for usage record summaries
|
941
1537
|
|
942
1538
|
## 3.22.0 - 2018-08-15
|
943
|
-
|
1539
|
+
|
1540
|
+
- [#674](https://github.com/stripe/stripe-ruby/pull/674) Use integer-indexed encoding for all arrays
|
944
1541
|
|
945
1542
|
## 3.21.0 - 2018-08-03
|
946
|
-
|
1543
|
+
|
1544
|
+
- [#671](https://github.com/stripe/stripe-ruby/pull/671) Add cancel support for topups
|
947
1545
|
|
948
1546
|
## 3.20.0 - 2018-08-03
|
949
|
-
|
1547
|
+
|
1548
|
+
- [#669](https://github.com/stripe/stripe-ruby/pull/669) Add support for file links
|
950
1549
|
|
951
1550
|
## 3.19.0 - 2018-07-27
|
952
|
-
|
1551
|
+
|
1552
|
+
- [#666](https://github.com/stripe/stripe-ruby/pull/666) Add support for scheduled query runs (`Stripe::Sigma::ScheduledQueryRun`) for Sigma
|
953
1553
|
|
954
1554
|
## 3.18.0 - 2018-07-26
|
955
|
-
|
1555
|
+
|
1556
|
+
- [#665](https://github.com/stripe/stripe-ruby/pull/665) Add support for Stripe Issuing
|
956
1557
|
|
957
1558
|
## 3.17.2 - 2018-07-19
|
958
|
-
|
1559
|
+
|
1560
|
+
- [#664](https://github.com/stripe/stripe-ruby/pull/664) Don't colorize log output being sent to a configured logger
|
959
1561
|
|
960
1562
|
## 3.17.1 - 2018-07-19
|
961
|
-
|
1563
|
+
|
1564
|
+
- [#663](https://github.com/stripe/stripe-ruby/pull/663) Internal improvements to `ApiResource.class_url`
|
962
1565
|
|
963
1566
|
## 3.17.0 - 2018-06-28
|
964
|
-
|
1567
|
+
|
1568
|
+
- [#658](https://github.com/stripe/stripe-ruby/pull/658) Add support for `partner_id` from `Stripe.set_app_info`
|
965
1569
|
|
966
1570
|
## 3.16.0 - 2018-06-28
|
967
|
-
|
1571
|
+
|
1572
|
+
- [#657](https://github.com/stripe/stripe-ruby/pull/657) Add support for payment intents
|
968
1573
|
|
969
1574
|
## 3.15.0 - 2018-05-10
|
970
|
-
|
1575
|
+
|
1576
|
+
- [#649](https://github.com/stripe/stripe-ruby/pull/649) Freeze all string literals
|
971
1577
|
|
972
1578
|
## 3.14.0 - 2018-05-09
|
973
|
-
|
1579
|
+
|
1580
|
+
- [#645](https://github.com/stripe/stripe-ruby/pull/645) Add support for issuer fraud records
|
974
1581
|
|
975
1582
|
## 3.13.1 - 2018-05-07
|
976
|
-
|
1583
|
+
|
1584
|
+
- [#647](https://github.com/stripe/stripe-ruby/pull/647) Merge query parameters coming from path with `params` argument
|
977
1585
|
|
978
1586
|
## 3.13.0 - 2018-04-11
|
979
|
-
|
1587
|
+
|
1588
|
+
- [#498](https://github.com/stripe/stripe-ruby/pull/498) Add support for flexible billing primitives
|
980
1589
|
|
981
1590
|
## 3.12.1 - 2018-04-05
|
982
|
-
|
1591
|
+
|
1592
|
+
- [#636](https://github.com/stripe/stripe-ruby/pull/636) Fix a warning for uninitialized instance variable `@additive_params`
|
983
1593
|
|
984
1594
|
## 3.12.0 - 2018-04-05
|
985
|
-
|
1595
|
+
|
1596
|
+
- [#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
|
986
1597
|
|
987
1598
|
## 3.11.0 - 2018-02-26
|
988
|
-
|
1599
|
+
|
1600
|
+
- [#628](https://github.com/stripe/stripe-ruby/pull/628) Add support for `code` attribute on all Stripe exceptions
|
989
1601
|
|
990
1602
|
## 3.10.0 - 2018-02-21
|
991
|
-
|
1603
|
+
|
1604
|
+
- [#627](https://github.com/stripe/stripe-ruby/pull/627) Add support for topups
|
992
1605
|
|
993
1606
|
## 3.9.2 - 2018-02-12
|
994
|
-
|
1607
|
+
|
1608
|
+
- [#625](https://github.com/stripe/stripe-ruby/pull/625) Skip calling `to_hash` for `nil`
|
995
1609
|
|
996
1610
|
## 3.9.1 - 2017-12-15
|
997
|
-
|
1611
|
+
|
1612
|
+
- [#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)
|
998
1613
|
|
999
1614
|
## 3.9.0 - 2017-12-08
|
1000
|
-
|
1615
|
+
|
1616
|
+
- [#613](https://github.com/stripe/stripe-ruby/pull/613) Introduce new `IdempotencyError` type for idempotency-specific failures
|
1001
1617
|
|
1002
1618
|
## 3.8.2 - 2017-12-07
|
1003
|
-
|
1619
|
+
|
1620
|
+
- [#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)
|
1004
1621
|
|
1005
1622
|
## 3.8.1 - 2017-12-06
|
1006
|
-
|
1623
|
+
|
1624
|
+
- [#611](https://github.com/stripe/stripe-ruby/pull/611) Support `Tempfile` (as well as `File`) in file uploads
|
1007
1625
|
|
1008
1626
|
## 3.8.0 - 2017-10-31
|
1009
|
-
|
1627
|
+
|
1628
|
+
- [#606](https://github.com/stripe/stripe-ruby/pull/606) Support for exchange rates APIs
|
1010
1629
|
|
1011
1630
|
## 3.7.0 - 2017-10-26
|
1012
|
-
|
1631
|
+
|
1632
|
+
- [#603](https://github.com/stripe/stripe-ruby/pull/603) Support for listing source transactions
|
1013
1633
|
|
1014
1634
|
## 3.6.0 - 2017-10-17
|
1015
|
-
|
1016
|
-
|
1017
|
-
|
1018
|
-
|
1019
|
-
|
1635
|
+
|
1636
|
+
- [#597](https://github.com/stripe/stripe-ruby/pull/597) Add static methods to manipulate resources from parent
|
1637
|
+
- `Account` gains methods for external accounts and login links (e.g. `.create_account`, `create_login_link`)
|
1638
|
+
- `ApplicationFee` gains methods for refunds
|
1639
|
+
- `Customer` gains methods for sources
|
1640
|
+
- `Transfer` gains methods for reversals
|
1020
1641
|
|
1021
1642
|
## 3.5.3 - 2017-10-16
|
1022
|
-
|
1023
|
-
|
1024
|
-
|
1025
|
-
|
1643
|
+
|
1644
|
+
- [#594](https://github.com/stripe/stripe-ruby/pull/594) Make sure that `StripeObject`'s `#deep_copy` maintains original class
|
1645
|
+
- [#595](https://github.com/stripe/stripe-ruby/pull/595) Allow `Object#method` to be called on `StripeObject` even if it conflicts with an accessor
|
1646
|
+
- [#596](https://github.com/stripe/stripe-ruby/pull/596) Encode arrays as integer-indexed hashes where appropriate
|
1647
|
+
- [#598](https://github.com/stripe/stripe-ruby/pull/598) Don't persist `idempotency_key` opt between requests
|
1026
1648
|
|
1027
1649
|
## 3.5.2 - 2017-10-13
|
1028
|
-
|
1650
|
+
|
1651
|
+
- [#592](https://github.com/stripe/stripe-ruby/pull/592) Bring back `Marshal.dump/load` support with custom marshal encoder/decoder
|
1029
1652
|
|
1030
1653
|
## 3.5.1 - 2017-10-12
|
1031
|
-
|
1654
|
+
|
1655
|
+
- [#591](https://github.com/stripe/stripe-ruby/pull/591) Use thread-local `StripeClient` instances for thread safety
|
1032
1656
|
|
1033
1657
|
## 3.5.0 - 2017-10-11
|
1034
|
-
|
1658
|
+
|
1659
|
+
- [#589](https://github.com/stripe/stripe-ruby/pull/589) Rename source `delete` to `detach` (and deprecate the former)
|
1035
1660
|
|
1036
1661
|
## 3.4.1 - 2017-10-05
|
1037
|
-
|
1038
|
-
|
1662
|
+
|
1663
|
+
- [#586](https://github.com/stripe/stripe-ruby/pull/586) Log query strings as well as form bodies with STRIPE_LOG
|
1664
|
+
- [#588](https://github.com/stripe/stripe-ruby/pull/588) Require minimum Faraday 0.10 for bug fix in parameter encoding
|
1039
1665
|
|
1040
1666
|
## 3.4.0 - 2017-09-20
|
1041
|
-
|
1042
|
-
|
1667
|
+
|
1668
|
+
- Mark legacy Bitcoin API as deprecated, and remove corresponding tests
|
1669
|
+
- Mark recipients API as deprecated, and remove recipient card tests
|
1043
1670
|
|
1044
1671
|
## 3.3.2 - 2017-09-20
|
1045
|
-
|
1672
|
+
|
1673
|
+
- Correct minimum required Ruby version in gemspec (it's 2.0.0)
|
1046
1674
|
|
1047
1675
|
## 3.3.1 - 2017-08-18
|
1048
|
-
|
1676
|
+
|
1677
|
+
- Only parse webhook payload after verification to decrease likelihood of
|
1049
1678
|
attack
|
1050
1679
|
|
1051
1680
|
## 3.3.0 - 2017-08-11
|
1052
|
-
|
1053
|
-
|
1054
|
-
|
1681
|
+
|
1682
|
+
- Add support for standard library logger interface with `Stripe.logger`
|
1683
|
+
- Error logs now go to stderr if using `Stripe.log_level`/`STRIPE_LOG`
|
1684
|
+
- `Stripe.log_level`/`STRIPE_LOG` now support `Stipe::LEVEL_ERROR`
|
1055
1685
|
|
1056
1686
|
## 3.2.0 - 2017-08-03
|
1057
|
-
|
1687
|
+
|
1688
|
+
- Add logging for request retry account and `Stripe-Account` header
|
1058
1689
|
|
1059
1690
|
## 3.1.0 - 2017-08-03
|
1060
|
-
|
1691
|
+
|
1692
|
+
- Implement request logging with `Stripe.log_level` and `STRIPE_LOG`
|
1061
1693
|
|
1062
1694
|
## 3.0.3 - 2017-07-28
|
1063
|
-
|
1064
|
-
|
1065
|
-
|
1695
|
+
|
1696
|
+
- Revert `nil` to empty string coercion from 3.0.2
|
1697
|
+
- Handle `invalid_client` OAuth error code
|
1698
|
+
- Improve safety of error handling logic safer for unrecognized OAuth error codes
|
1066
1699
|
|
1067
1700
|
## 3.0.2 - 2017-07-12
|
1701
|
+
|
1068
1702
|
**Important:** This version is non-functional and has been yanked in favor of 3.0.3.
|
1069
|
-
|
1703
|
+
|
1704
|
+
- Convert `nil` to empty string when serializing parameters (instead of opaquely dropping it) -- NOTE: this change has since been reverted
|
1070
1705
|
|
1071
1706
|
## 3.0.1 - 2017-07-11
|
1072
|
-
|
1073
|
-
|
1707
|
+
|
1708
|
+
- Properties set with an API resource will now serialize that resource's ID if possible
|
1709
|
+
- API resources will throw an ArgumentError on save if a property has been with an API resource that cannot be serialized
|
1074
1710
|
|
1075
1711
|
## 3.0.0 - 2017-06-27
|
1076
|
-
|
1712
|
+
|
1713
|
+
- `#pay` on invoice now takes params as well as opts
|
1077
1714
|
|
1078
1715
|
## 2.12.0 - 2017-06-20
|
1079
|
-
|
1716
|
+
|
1717
|
+
- Add support for ephemeral keys
|
1080
1718
|
|
1081
1719
|
## 2.11.0 - 2017-05-26
|
1082
|
-
|
1720
|
+
|
1721
|
+
- Warn when keys that look like opts are included as parameters
|
1083
1722
|
|
1084
1723
|
## 2.10.0 - 2017-05-25
|
1085
|
-
|
1724
|
+
|
1725
|
+
- Add support for account login links
|
1086
1726
|
|
1087
1727
|
## 2.9.0 - 2017-05-18
|
1088
|
-
|
1728
|
+
|
1729
|
+
- Support for OAuth operations in `Stripe::OAuth`
|
1089
1730
|
|
1090
1731
|
## 2.8.0 - 2017-04-28
|
1091
|
-
|
1732
|
+
|
1733
|
+
- Support for checking webhook signatures
|
1092
1734
|
|
1093
1735
|
## 2.7.0 - 2017-04-26
|
1094
|
-
|
1736
|
+
|
1737
|
+
- Add model `InvoiceLineItem`
|
1095
1738
|
|
1096
1739
|
## 2.6.0 - 2017-04-26
|
1097
|
-
|
1740
|
+
|
1741
|
+
- Add `OBJECT_NAME` constants to all API resources
|
1098
1742
|
|
1099
1743
|
## 2.5.0 - 2017-04-24
|
1100
|
-
|
1744
|
+
|
1745
|
+
- Make `opts` argument in `Util.convert_to_stripe_object` optional
|
1101
1746
|
|
1102
1747
|
## 2.4.0 - 2017-04-18
|
1103
|
-
|
1748
|
+
|
1749
|
+
- Add `Stripe.set_app_info` for use by plugin creators
|
1104
1750
|
|
1105
1751
|
## 2.3.0 - 2017-04-14
|
1106
|
-
|
1752
|
+
|
1753
|
+
- Add question mark accessor when assigning boolean value to undefined field
|
1107
1754
|
|
1108
1755
|
## 2.2.1 - 2017-04-07
|
1109
|
-
|
1756
|
+
|
1757
|
+
- Declare minimum required Faraday as 0.9
|
1110
1758
|
|
1111
1759
|
## 2.2.0 - 2017-04-06
|
1112
|
-
|
1760
|
+
|
1761
|
+
- Add support for payouts and recipient transfers
|
1113
1762
|
|
1114
1763
|
## 2.1.0 - 2017-03-17
|
1115
|
-
|
1764
|
+
|
1765
|
+
- Support for detaching sources from customers
|
1116
1766
|
|
1117
1767
|
## 2.0.3 - 2017-03-16
|
1118
|
-
|
1768
|
+
|
1769
|
+
- Fix marshalling of `StripeObjects` that have an embedded client
|
1119
1770
|
|
1120
1771
|
## 2.0.2 - 2017-03-16
|
1121
|
-
|
1772
|
+
|
1773
|
+
- Fix bad field reference when recovering from a JSON parsing problem
|
1122
1774
|
|
1123
1775
|
## 2.0.1 - 2017-02-22
|
1124
|
-
|
1776
|
+
|
1777
|
+
- Fix multipart parameter encoding to repair broken file uploads
|
1125
1778
|
|
1126
1779
|
## 2.0.0 - 2017-02-14
|
1127
|
-
|
1128
|
-
|
1129
|
-
|
1130
|
-
|
1131
|
-
|
1780
|
+
|
1781
|
+
- Drop support for Ruby 1.9
|
1782
|
+
- Allow HTTP client that makes Stripe calls to be configured via Faraday
|
1783
|
+
- Drop RestClient
|
1784
|
+
- Switch to OpenAPI 2.0 spec and generated fixtures in test suite
|
1785
|
+
- Switch to Webmock in test suite
|
1132
1786
|
|
1133
1787
|
## 1.58.0 - 2017-01-19
|
1134
|
-
|
1788
|
+
|
1789
|
+
- Remove erroneously added list methods for `Source` model
|
1135
1790
|
|
1136
1791
|
## 1.57.1 - 2016-11-28
|
1137
|
-
|
1792
|
+
|
1793
|
+
- Disallow sending protected fields along with API resource `.update`
|
1138
1794
|
|
1139
1795
|
## 1.57.0 - 2016-11-21
|
1140
|
-
|
1796
|
+
|
1797
|
+
- Add retrieve method for 3-D Secure resources
|
1141
1798
|
|
1142
1799
|
## 1.56.2 - 2016-11-17
|
1143
|
-
|
1800
|
+
|
1801
|
+
- Improve `StripeObject`'s `#to_s` to better handle how embedded objects are displayed
|
1144
1802
|
|
1145
1803
|
## 1.56.1 - 2016-11-09
|
1146
|
-
|
1804
|
+
|
1805
|
+
- Fix (fairly serious) memory like in `StripeObject`
|
1147
1806
|
|
1148
1807
|
## 1.56.0 - 2016-10-24
|
1149
|
-
|
1150
|
-
|
1151
|
-
|
1808
|
+
|
1809
|
+
- Add accessors for new fields added in `#update_attributes`
|
1810
|
+
- Handle multi-plan subscriptions through new subscription items
|
1811
|
+
- Handle 403 status codes from the API
|
1152
1812
|
|
1153
1813
|
## 1.55.1 - 2016-10-24
|
1814
|
+
|
1154
1815
|
Identical to 1.56.0 above. I incorrectly cut a patch-level release.
|
1155
1816
|
|
1156
1817
|
## 1.55.0 - 2016-09-15
|
1157
|
-
|
1818
|
+
|
1819
|
+
- Add support for Apple Pay domains
|
1158
1820
|
|
1159
1821
|
## 1.54.0 - 2016-09-01
|
1160
|
-
|
1822
|
+
|
1823
|
+
- Whitelist errors that should be retried; scope to known socket and HTTP errors
|
1161
1824
|
|
1162
1825
|
## 1.53.0 - 2016-08-31
|
1163
|
-
|
1826
|
+
|
1827
|
+
- Relax version constraint on rest-client (and by extension mime-types) for users on Ruby 2+
|
1164
1828
|
|
1165
1829
|
## 1.52.0 - 2016-08-30
|
1166
|
-
|
1830
|
+
|
1831
|
+
- Make sure `Subscription`'s `source` is saved with its parent
|
1167
1832
|
|
1168
1833
|
## 1.51.1 - 2016-08-30
|
1169
|
-
|
1834
|
+
|
1835
|
+
- Make sure `Account`'s `external_account` is saved with its parent
|
1170
1836
|
|
1171
1837
|
## 1.51.0 - 2016-08-26
|
1172
|
-
|
1173
|
-
|
1838
|
+
|
1839
|
+
- Error when an array of maps is detected that cannot be accurately encoded
|
1840
|
+
- Start using strings for header names instead of symbols for better clarity
|
1174
1841
|
|
1175
1842
|
## 1.50.1 - 2016-08-25
|
1176
|
-
|
1843
|
+
|
1844
|
+
- Fix encoding of arrays of maps where maps unequal sets of keys
|
1177
1845
|
|
1178
1846
|
## 1.50.0 - 2016-08-15
|
1179
|
-
|
1847
|
+
|
1848
|
+
- Allow sources to be created
|
1180
1849
|
|
1181
1850
|
## 1.49.0 - 2016-07-28
|
1182
|
-
|
1851
|
+
|
1852
|
+
- Add top-level `Source` model
|
1183
1853
|
|
1184
1854
|
## 1.48.0 - 2016-07-12
|
1185
|
-
|
1855
|
+
|
1856
|
+
- Add `ThreeDSecure` model for 3-D secure payments
|
1186
1857
|
|
1187
1858
|
## 1.47.0 - 2016-07-11
|
1188
|
-
|
1859
|
+
|
1860
|
+
- Allow rest-client version 2.0+ to be used with the gem
|
1189
1861
|
|
1190
1862
|
## 1.46.0 - 2016-07-07
|
1191
|
-
|
1863
|
+
|
1864
|
+
- Allow retry when a 409 conflict is encountered
|
1192
1865
|
|
1193
1866
|
## 1.45.0 - 2016-07-07
|
1194
|
-
|
1867
|
+
|
1868
|
+
- Do not send subresources when updating except when explicitly told to do so (see #433)
|
1195
1869
|
|
1196
1870
|
## 1.44.0 - 2016-06-29
|
1197
|
-
|
1871
|
+
|
1872
|
+
- Add `update` class method to all resources that can be updated
|
1198
1873
|
|
1199
1874
|
## 1.43.1 - 2016-06-17
|
1200
|
-
|
1875
|
+
|
1876
|
+
- Fix type of resource returned from `Order#return_order`
|
1201
1877
|
|
1202
1878
|
## 1.43.0 - 2016-05-20
|
1203
|
-
|
1204
|
-
|
1879
|
+
|
1880
|
+
- Allow Relay orders to be returned and add associated types
|
1881
|
+
- Support Alipay account retrieval and deletion
|
1205
1882
|
|
1206
1883
|
## 1.42.0 - 2016-05-04
|
1207
|
-
|
1884
|
+
|
1885
|
+
- Add support for the new /v1/subscriptions endpoint (retrieve, list, create, update, and delete)
|
1208
1886
|
|
1209
1887
|
## 1.41.0 - 2016-04-13
|
1210
|
-
|
1888
|
+
|
1889
|
+
- Add global `stripe_account` option that adds a `Stripe-Account` header to all requests
|
1211
1890
|
|
1212
1891
|
## 1.40.0 - 2016-04-06
|
1213
|
-
|
1892
|
+
|
1893
|
+
- Fix bug that omitted subresources from serialization
|
1214
1894
|
|
1215
1895
|
## 1.39.0 - 2016-03-31
|
1216
|
-
|
1896
|
+
|
1897
|
+
- Update CA cert bundle for compatibility with OpenSSL versions below 1.0.1
|
1217
1898
|
|
1218
1899
|
## 1.38.0 - 2016-03-18
|
1219
|
-
|
1900
|
+
|
1901
|
+
- Allow `opts` to be passed to an API resource's `#save` method
|
1220
1902
|
|
1221
1903
|
## 1.37.0 - 2016-03-14
|
1222
|
-
|
1904
|
+
|
1905
|
+
- Add `Account#reject` to support the new API feature
|
1223
1906
|
|
1224
1907
|
## 1.36.2 - 2016-03-14
|
1225
|
-
|
1908
|
+
|
1909
|
+
- Fix reference to non-existent `#url` in `ListObject`
|
1226
1910
|
|
1227
1911
|
## 1.36.1 - 2016-03-04
|
1228
|
-
|
1912
|
+
|
1913
|
+
- Fix serialization when subhash given to `#save` or `#update_attributes`
|
1229
1914
|
|
1230
1915
|
## 1.36.0 - 2016-02-08
|
1231
|
-
|
1916
|
+
|
1917
|
+
- Add `CountrySpec` model for looking up country payment information
|
1232
1918
|
|
1233
1919
|
## 1.35.1 - 2016-02-03
|
1234
|
-
|
1920
|
+
|
1921
|
+
- Add compatibility layer for old API versions on `Charge#refund`
|
1235
1922
|
|
1236
1923
|
## 1.35.0 - 2016-02-01
|
1237
|
-
|
1238
|
-
|
1924
|
+
|
1925
|
+
- Allow CA cert bundle location to be configured
|
1926
|
+
- Updated bundled CA certs
|
1239
1927
|
|
1240
1928
|
## 1.34.0 - 2016-01-25
|
1241
|
-
|
1929
|
+
|
1930
|
+
- Add support for deleting products and SKUs
|
1242
1931
|
|
1243
1932
|
## 1.33.1 - 2016-01-21
|
1244
|
-
|
1933
|
+
|
1934
|
+
- Pass through arguments of `Charge#refund`
|
1245
1935
|
|
1246
1936
|
## 1.33.0 - 2016-01-19
|
1247
|
-
|
1937
|
+
|
1938
|
+
- Re-implement `Charge#refund` helper to use the modern endpoint suggested by docs
|
1248
1939
|
|
1249
1940
|
## 1.32.1 - 2016-01-07
|
1250
|
-
|
1251
|
-
|
1941
|
+
|
1942
|
+
- Fix bug where ivar left uninitialized in StripeObject could error on serialization
|
1943
|
+
- Fix bug where a nil customer from API could error Bitcoin model on refresh
|
1252
1944
|
|
1253
1945
|
## 1.32.0 - 2016-01-05
|
1254
|
-
|
1255
|
-
|
1946
|
+
|
1947
|
+
- Add configuration to optionally retry network failures
|
1948
|
+
- Use modern API endpoint for producing application fee refunds
|
1256
1949
|
|
1257
1950
|
## 1.31.0 - 2015-10-29
|
1258
|
-
|
1951
|
+
|
1952
|
+
- Add BankAccount#verify convenience method
|
1259
1953
|
|
1260
1954
|
## 1.30.3 - 2015-10-28
|
1261
|
-
|
1955
|
+
|
1956
|
+
- Fix bug where arrays that were not `additional_owners` were not properly encoded for requests
|
1262
1957
|
|
1263
1958
|
## 1.30.2 - 2015-10-12
|
1264
|
-
|
1959
|
+
|
1960
|
+
- Fix bug where `opts` didn't properly propagate to descendant `StripeObjects`
|
1265
1961
|
|
1266
1962
|
## 1.30.1 - 2015-10-10
|
1267
|
-
|
1268
|
-
|
1963
|
+
|
1964
|
+
- Fix bug that prevent lists of hashes from being URI-encoded properly
|
1965
|
+
- Fix bug where filter conditions were not making it past the first instantiated `ListObject`
|
1269
1966
|
|
1270
1967
|
## 1.30.0 - 2015-10-09
|
1271
|
-
|
1272
|
-
|
1273
|
-
|
1968
|
+
|
1969
|
+
- Add `StripeObject#deleted?` for a reliable way to check whether an object is alive
|
1970
|
+
- Deprecate `StripeObject#refresh_from`
|
1971
|
+
- New parameter encoding scheme that doesn't use `URI.escape`
|
1274
1972
|
|
1275
1973
|
## 1.29.1 - 2015-10-06
|
1276
|
-
|
1974
|
+
|
1975
|
+
- Fix bug where ampersands were not being properly encoded
|
1277
1976
|
|
1278
1977
|
## 1.29.0 - 2015-10-05
|
1279
|
-
|
1978
|
+
|
1979
|
+
- Add pagination helpers `#auto_paging_each`, `#previous_page`, and `#next_page`
|
1280
1980
|
|
1281
1981
|
## 1.28.1 - 2015-10-05
|
1282
|
-
|
1982
|
+
|
1983
|
+
- Fix URI being referenced by file upload resources
|
1283
1984
|
|
1284
1985
|
## 1.28.0 - 2015-10-05
|
1285
|
-
|
1286
|
-
|
1287
|
-
|
1288
|
-
|
1289
|
-
|
1290
|
-
|
1986
|
+
|
1987
|
+
- Make StripeObject's #save "upsert"-like; creates an object if new
|
1988
|
+
- Add #update_attributes to StripeObject for safe mass assignment
|
1989
|
+
- Properly mass assign attributes on calls to #save
|
1990
|
+
- Add question mark helpers for boolean fields (e.g. #paid? as well as old #paid)
|
1991
|
+
- Fix a bug that broke the API for StripeObject initialization
|
1992
|
+
- Remove use of deprecated URI.escape
|
1291
1993
|
|
1292
1994
|
## 1.27.2 - 2015-09-25
|
1293
|
-
|
1995
|
+
|
1996
|
+
- Correct the URLs used to fetch Bitcoin transactions.
|
1294
1997
|
|
1295
1998
|
## 1.27.1 - 2015-09-20
|
1296
|
-
|
1999
|
+
|
2000
|
+
- Use hash rockets for backwards compatibility.
|
1297
2001
|
|
1298
2002
|
## 1.27.0 - 2015-09-14
|
1299
|
-
|
2003
|
+
|
2004
|
+
- Add Orders, Products, and SKUs for Relay
|
1300
2005
|
|
1301
2006
|
## 1.26.0 - 2015-09-11
|
1302
|
-
|
2007
|
+
|
2008
|
+
- Add support for 429 Rate Limited response
|
1303
2009
|
|
1304
2010
|
## 1.25.0 - 2015-08-17
|
1305
|
-
|
2011
|
+
|
2012
|
+
- Added support for refund listing and retrieval without an associated charge
|
1306
2013
|
|
1307
2014
|
## 1.24.0 - 2015-08-03
|
1308
|
-
|
1309
|
-
|
1310
|
-
|
2015
|
+
|
2016
|
+
- Added support for deleting managed accounts
|
2017
|
+
- Added support for dispute listing and retrieval
|
2018
|
+
- Bugfix: token objects now are the correct class
|
1311
2019
|
|
1312
2020
|
## 1.23.0 - 2015-07-06
|
1313
|
-
|
2021
|
+
|
2022
|
+
- Added request IDs and HTTP headers to errors
|
1314
2023
|
|
1315
2024
|
## 1.22.0 - 2015-06-10
|
1316
|
-
|
2025
|
+
|
2026
|
+
- Added support for bank accounts and debit cards in managed accounts (via the `external_accounts` param)
|
1317
2027
|
|
1318
2028
|
## 1.21.0 - 2015-04-14
|
1319
|
-
|
1320
|
-
|
2029
|
+
|
2030
|
+
- Remove TLS cert revocation check (all pre-heartbleed certs have expired)
|
2031
|
+
- Bugfix: don't unset keys when they don't exist on StripeObject
|
1321
2032
|
|
1322
2033
|
## 1.20.4 - 2015-03-26
|
1323
|
-
|
1324
|
-
|
2034
|
+
|
2035
|
+
- Raise an error when explicitly passing nil as the API key on resource methods
|
2036
|
+
- Fix error when passing an API key to Balance.retrieve (github issue #232)
|
1325
2037
|
|
1326
2038
|
## 1.20.3 - 2015-03-13
|
1327
|
-
|
2039
|
+
|
2040
|
+
- Fixed error when updating certain resources (github issue #224)
|
1328
2041
|
|
1329
2042
|
## 1.20.2 - 2015-03-10
|
1330
|
-
|
1331
|
-
|
2043
|
+
|
2044
|
+
- Added support for updating nested hashes besides `metadata` (which was already supported)
|
2045
|
+
- Fixed bug in balance retrieval
|
1332
2046
|
|
1333
2047
|
## 1.20.1 - 2015-02-26
|
1334
|
-
|
2048
|
+
|
2049
|
+
- Updated Card to point to customer sources endpoint when customer property is set
|
1335
2050
|
|
1336
2051
|
## 1.20.0 - 2015-02-19
|
1337
|
-
|
2052
|
+
|
2053
|
+
- Added Update & Delete operations to Bitcoin Receivers
|
1338
2054
|
|
1339
2055
|
## 1.19.1 - 2015-02-18
|
1340
|
-
|
2056
|
+
|
2057
|
+
- Fixed fetching upcoming invoice/paying invoice methods
|
1341
2058
|
|
1342
2059
|
## 1.19.0 - 2015-02-15
|
1343
|
-
|
1344
|
-
|
1345
|
-
|
2060
|
+
|
2061
|
+
- Support for new Transfers /reversals endpoint
|
2062
|
+
- Account retrieval now optionally accepts an account ID
|
2063
|
+
- Better support for passing custom headers, like Stripe-Account, through requests
|
1346
2064
|
|
1347
2065
|
## 1.18.0 - 2015-01-21
|
1348
|
-
|
1349
|
-
|
2066
|
+
|
2067
|
+
- 1 major enhancement:
|
2068
|
+
- Added support for making bitcoin charges through BitcoinReceiver source object
|
1350
2069
|
|
1351
2070
|
## 1.17.3 - 2015-01-12
|
1352
|
-
|
1353
|
-
|
2071
|
+
|
2072
|
+
- 1 bugfix:
|
2073
|
+
- Fixed API key propagation for ApplicationFee#refund
|
1354
2074
|
|
1355
2075
|
## 1.17.2 - 2015-01-08
|
1356
|
-
|
1357
|
-
|
2076
|
+
|
2077
|
+
- 1 bugfix:
|
2078
|
+
- Fixed API key propagation for child resources
|
1358
2079
|
|
1359
2080
|
## 1.17.1 - 2015-01-07
|
1360
|
-
|
1361
|
-
|
1362
|
-
|
2081
|
+
|
2082
|
+
- 2 minor enhacements:
|
2083
|
+
- Fixed dependencies for Ruby versions less than 1.9.3
|
2084
|
+
- Added deauthorize method to Account object
|
1363
2085
|
|
1364
2086
|
## 1.17.0 - 2014-12-15
|
1365
|
-
|
1366
|
-
|
2087
|
+
|
2088
|
+
- 1 major enhacement:
|
2089
|
+
- File uploads resource was added (for uploading pdf or image documents for disputes)
|
1367
2090
|
|
1368
2091
|
## 1.16.1 - 2014-12-19
|
1369
|
-
|
1370
|
-
|
1371
|
-
|
2092
|
+
|
2093
|
+
- 2 minor enhancements:
|
2094
|
+
- Ability to send idempotent requests
|
2095
|
+
- Ability to specify stripe account as a header
|
1372
2096
|
|
1373
2097
|
## 1.16.0 - 2014-10-08
|
1374
|
-
|
1375
|
-
|
2098
|
+
|
2099
|
+
- 1 minor enhacement:
|
2100
|
+
- Coupons now support update operations - useful for manipulating metadata
|
1376
2101
|
|
1377
2102
|
## 1.15.0 - 2014-07-26
|
1378
|
-
|
1379
|
-
|
2103
|
+
|
2104
|
+
- 1 major enhacement:
|
2105
|
+
- Application Fee refunds now a list instead of array
|
1380
2106
|
|
1381
2107
|
## 1.14.0 - 2014-06-17
|
1382
|
-
|
1383
|
-
|
2108
|
+
|
2109
|
+
- 1 major enhancement:
|
2110
|
+
- Add metadata for refunds and disputes
|
1384
2111
|
|
1385
2112
|
## 1.13.0 - 2014-05-28
|
1386
|
-
|
1387
|
-
|
2113
|
+
|
2114
|
+
- 1 major enhancement:
|
2115
|
+
- Support for canceling transfers
|
1388
2116
|
|
1389
2117
|
## 1.12.0 - 2014-05-21
|
1390
|
-
|
1391
|
-
|
2118
|
+
|
2119
|
+
- 1 major enhancement:
|
2120
|
+
- Support for cards for recipients
|
1392
2121
|
|
1393
2122
|
## 1.11.0 - 2014-04-09
|
1394
|
-
|
1395
|
-
|
1396
|
-
|
2123
|
+
|
2124
|
+
- 2 minor enhancements:
|
2125
|
+
- Update included ca bundles
|
2126
|
+
- Implement certificate blacklisting
|
1397
2127
|
|
1398
2128
|
## 1.10.2 - 2014-02-18
|
1399
|
-
|
1400
|
-
|
2129
|
+
|
2130
|
+
- 1 minor enhancement:
|
2131
|
+
- Add create_subscription on Customer resources, so you can create
|
1401
2132
|
subscriptions without needing to retrieve the customer first (github
|
1402
2133
|
issue #120)
|
1403
2134
|
|
1404
2135
|
## 1.10.1 - 2014-02-03
|
1405
|
-
|
1406
|
-
|
2136
|
+
|
2137
|
+
- 1 bugfix:
|
2138
|
+
- Fix marshaling of StripeObjects
|
1407
2139
|
|
1408
2140
|
## 1.10.0 - 2014-01-29
|
1409
|
-
* 2 major enhancements
|
1410
|
-
* Support for multiple subscriptions per customer
|
1411
|
-
* Testing ruby 2.1.0
|
1412
2141
|
|
1413
|
-
|
1414
|
-
|
1415
|
-
|
2142
|
+
- 2 major enhancements
|
2143
|
+
|
2144
|
+
- Support for multiple subscriptions per customer
|
2145
|
+
- Testing ruby 2.1.0
|
2146
|
+
|
2147
|
+
- 2 minor enhancements
|
2148
|
+
|
2149
|
+
- Replace multi_json with json
|
2150
|
+
- Allow #save to take opts (for :expand)
|
1416
2151
|
|
1417
|
-
|
1418
|
-
|
2152
|
+
- 1 bugfix
|
2153
|
+
- Fix #try and #respond_to? on StripeObjects
|
1419
2154
|
|
1420
2155
|
## 1.9.9 - 2013-12-02
|
1421
|
-
|
1422
|
-
|
2156
|
+
|
2157
|
+
- 1 major enhancement
|
2158
|
+
- Add ApplicationFee resource
|
1423
2159
|
|
1424
2160
|
## 1.8.9 - 2013-11-14
|
1425
|
-
|
1426
|
-
|
1427
|
-
|
2161
|
+
|
2162
|
+
- 2 bugfixes:
|
2163
|
+
- Fix gemspec dependencies so the gem doesn't break for Ruby 1.8 users
|
2164
|
+
- Fix api_resource_test to not use returns as a way of testing rescue behavior
|
1428
2165
|
|
1429
2166
|
## 1.8.8 - 2013-10-3
|
1430
|
-
|
1431
|
-
|
2167
|
+
|
2168
|
+
- 1 major enhancement
|
2169
|
+
- Add support for metadata on resources
|
1432
2170
|
|
1433
2171
|
## 1.8.7 - 2013-08-18
|
1434
|
-
|
1435
|
-
|
2172
|
+
|
2173
|
+
- 1 minor enhancement
|
2174
|
+
- Add support for closing disputes.
|
1436
2175
|
|
1437
2176
|
## 1.8.6 - 2013-08-13
|
1438
|
-
|
1439
|
-
|
2177
|
+
|
2178
|
+
- 1 major enhancement
|
2179
|
+
- Add Balance and BalanceTransaction resources
|
1440
2180
|
|
1441
2181
|
## 1.8.5 - 2013-08-12
|
1442
|
-
|
1443
|
-
|
1444
|
-
|
2182
|
+
|
2183
|
+
- 1 major enhancement
|
2184
|
+
- 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.
|
2185
|
+
- Attempting to set an object's id is now an error
|
1445
2186
|
|
1446
2187
|
## 1.8.4 - 2013-07-11
|
1447
|
-
|
1448
|
-
|
2188
|
+
|
2189
|
+
- 1 major enhancement
|
2190
|
+
- Add support for new cards API (Stripe API version - 2013-07-05)
|
1449
2191
|
|
1450
2192
|
## 1.8.3 - 2013-05-06
|
1451
|
-
|
1452
|
-
|
2193
|
+
|
2194
|
+
- 1 bugfix:
|
2195
|
+
- Fix handling of per-call API keys (github issue #67)
|
1453
2196
|
|
1454
2197
|
## 1.8.2 - 2013-05-01
|
1455
|
-
* 3 minor enhancements:
|
1456
|
-
* Use to_sym instead of type checking for minor performance improvement (github issue #59)
|
1457
|
-
* Handle low-memory situations without throwing an exception (github issue #61)
|
1458
|
-
* Add an Customer#upcoming_invoice convenience method (github issue #65)
|
1459
2198
|
|
1460
|
-
|
1461
|
-
|
2199
|
+
- 3 minor enhancements:
|
2200
|
+
|
2201
|
+
- Use to_sym instead of type checking for minor performance improvement (github issue #59)
|
2202
|
+
- Handle low-memory situations without throwing an exception (github issue #61)
|
2203
|
+
- Add an Customer#upcoming_invoice convenience method (github issue #65)
|
2204
|
+
|
2205
|
+
- 1 bugfix:
|
2206
|
+
- Allow updating resources without first retrieving them (github issue #60)
|
1462
2207
|
|
1463
2208
|
## 1.8.1 - 2013-04-19
|
1464
|
-
|
1465
|
-
|
2209
|
+
|
2210
|
+
- 1 minor enhancement:
|
2211
|
+
- Add support for specifying an API key when retrieving an upcoming invoice
|
1466
2212
|
|
1467
2213
|
## 1.8.0 - 2013-04-11
|
1468
|
-
|
1469
|
-
|
1470
|
-
|
2214
|
+
|
2215
|
+
- 1 major enhancement:
|
2216
|
+
- Add new Recipient resource
|
2217
|
+
- Allow Transfers to be createable
|
1471
2218
|
|
1472
2219
|
## 1.7.11 - 2013-02-21
|
1473
|
-
|
1474
|
-
|
2220
|
+
|
2221
|
+
- 1 minor enhancement
|
2222
|
+
- Add 'id' to the list of permanent attributes
|
1475
2223
|
|
1476
2224
|
## 1.7.10 - 2013-02-01
|
1477
|
-
|
1478
|
-
|
2225
|
+
|
2226
|
+
- 1 major enhancement
|
2227
|
+
- 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
|
1479
2228
|
|
1480
2229
|
## 1.7.9 - 2013-01-15
|
1481
|
-
|
1482
|
-
|
2230
|
+
|
2231
|
+
- 1 major enhancement
|
2232
|
+
- Add support for setting a Stripe API version override.
|
1483
2233
|
|
1484
2234
|
## 1.7.8 - 2012-11-21
|
1485
|
-
|
1486
|
-
|
2235
|
+
|
2236
|
+
- 1 bugfix
|
2237
|
+
- Relax the version constraint on multi_json (github issue #44)
|
1487
2238
|
|
1488
2239
|
## 1.7.7 - 2012-11-07
|
1489
|
-
* 1 minor enhancement:
|
1490
|
-
* Add support for updating charge disputes
|
1491
2240
|
|
1492
|
-
|
1493
|
-
|
2241
|
+
- 1 minor enhancement:
|
2242
|
+
|
2243
|
+
- Add support for updating charge disputes
|
2244
|
+
|
2245
|
+
- 1 bugfix
|
2246
|
+
- Fix Account API resource bug
|
1494
2247
|
|
1495
2248
|
## 1.7.6 - 2012-10-30
|
1496
|
-
|
1497
|
-
|
2249
|
+
|
2250
|
+
- 1 major enhancement
|
2251
|
+
- Add support for creating invoices
|
1498
2252
|
|
1499
2253
|
## 1.7.5 - 2012-10-25
|
1500
|
-
|
1501
|
-
|
2254
|
+
|
2255
|
+
- 1 major enhancement
|
2256
|
+
- Add support for new API lists
|
1502
2257
|
|
1503
2258
|
## 1.7.4 - 2012-10-08
|
1504
|
-
|
1505
|
-
|
2259
|
+
|
2260
|
+
- 1 bugfix
|
2261
|
+
- Fix bug introduced in 1.7.3 calling API methods that take no
|
1506
2262
|
arguments, like Stripe::Invoice#pay (github issue #42)
|
1507
2263
|
|
1508
2264
|
## 1.7.3 - 2012-09-14
|
1509
|
-
|
1510
|
-
|
1511
|
-
|
2265
|
+
|
2266
|
+
- 2 bugfixes
|
2267
|
+
- 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.
|
2268
|
+
- 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)
|
1512
2269
|
|
1513
2270
|
## 1.7.2 - 2012-08-31
|
1514
|
-
|
1515
|
-
|
2271
|
+
|
2272
|
+
- 1 major enhancement
|
2273
|
+
- Add support for new pay and update methods for Invoice objects
|
1516
2274
|
|
1517
2275
|
## 1.7.1 - 2012-08-15
|
1518
|
-
|
1519
|
-
|
2276
|
+
|
2277
|
+
- 1 major enhancement
|
2278
|
+
- Add new Account API resource
|
1520
2279
|
|
1521
2280
|
## 1.7.0 - 2012-05-17
|
1522
|
-
* 3 major enhancements:
|
1523
|
-
* 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)
|
1524
|
-
* Add new delete_discount method to Customer objects
|
1525
|
-
* Add new Transfer API resource
|
1526
2281
|
|
1527
|
-
|
1528
|
-
|
1529
|
-
|
2282
|
+
- 3 major enhancements:
|
2283
|
+
|
2284
|
+
- 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)
|
2285
|
+
- Add new delete_discount method to Customer objects
|
2286
|
+
- Add new Transfer API resource
|
2287
|
+
|
2288
|
+
- 2 minor enhancements:
|
2289
|
+
- 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)
|
2290
|
+
- Numerous test suite improvements
|
1530
2291
|
|
1531
2292
|
## 1.6.3 - 2012-03-22
|
1532
|
-
|
1533
|
-
|
2293
|
+
|
2294
|
+
- 1 bugfix:
|
2295
|
+
- Encode GET query strings ourselves instead of using rest-client to work around a bug
|
1534
2296
|
|
1535
2297
|
## 1.6.2 - 2012-02-24
|
1536
|
-
|
1537
|
-
|
2298
|
+
|
2299
|
+
- 1 bugfix:
|
2300
|
+
- Correct argument handling in StripeObject#as_json
|
1538
2301
|
|
1539
2302
|
## 1.6.1 - 2012-02-22
|
1540
|
-
|
1541
|
-
|
2303
|
+
|
2304
|
+
- 1 bugfix:
|
2305
|
+
- Fix StripeObject#inspect when ActiveSupport 3.0 is loaded
|
1542
2306
|
|
1543
2307
|
## 1.6.0 - 2012-02-01
|
1544
|
-
|
1545
|
-
|
2308
|
+
|
2309
|
+
- 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
|
2310
|
+
- 1.6.0 also contains a new inspect/to_string implementation
|
1546
2311
|
|
1547
2312
|
## 1.5.0 - 2011-05-09
|
1548
|
-
|
1549
|
-
|
2313
|
+
|
2314
|
+
- 1 major enhancement:
|
2315
|
+
- Update for new RESTful API
|
1550
2316
|
|
1551
2317
|
## 1.3.4 - 2011-01-07
|
1552
|
-
|
1553
|
-
|
2318
|
+
|
2319
|
+
- 1 major enhancement:
|
2320
|
+
- Rename to Stripe
|
1554
2321
|
|
1555
2322
|
## 1.2 - 2010-06-06
|
1556
|
-
|
1557
|
-
|
2323
|
+
|
2324
|
+
- 1 major enhancement:
|
2325
|
+
- Support for the set_customer_subscription and delete_customer API methods
|
1558
2326
|
|
1559
2327
|
## 1.1 - 2010-03-14
|
1560
|
-
|
1561
|
-
|
2328
|
+
|
2329
|
+
- 1 major enhancement:
|
2330
|
+
- Support for recurring billing
|
1562
2331
|
|
1563
2332
|
## 1.0 - 2010-01-05
|
1564
|
-
|
1565
|
-
|
2333
|
+
|
2334
|
+
- 1 major enhancement:
|
2335
|
+
- Initial release
|
1566
2336
|
|
1567
2337
|
<!--
|
1568
2338
|
# vim: set tw=0:
|
1569
2339
|
-->
|
2340
|
+
|