Skip to content

Latest commit

 

History

History
2687 lines (1905 loc) · 127 KB

CHANGELOG.md

File metadata and controls

2687 lines (1905 loc) · 127 KB

Changelog

14.4.0-beta.1 - 2024-04-18

  • #1679 Update generated code for beta

14.2.0 - 2024-04-16

  • #1680 Update generated code
    • Add support for new resource Entitlements.ActiveEntitlementSummary
    • Add support for new value entitlements.active_entitlement_summary.updated on enum Event.type
    • Remove support for config on Forwarding.Request. This field is no longer used by the Forwarding Request API.
    • Add support for swish on PaymentMethodConfiguration

14.2.0-beta.1 - 2024-04-11

  • #1674 Merged from master

14.1.0 - 2024-04-11

  • #1677 Update generated code
    • Add support for new values billing_policy_remote_function_response_invalid, billing_policy_remote_function_timeout, billing_policy_remote_function_unexpected_status_code, and billing_policy_remote_function_unreachable on enum StripeError.code
    • Change type of Billing.MeterEventAdjustment.cancel from BillingMeterResourceBillingMeterEventAdjustmentCancel to nullable(BillingMeterResourceBillingMeterEventAdjustmentCancel)
    • Add support for amazon_pay on PaymentMethodConfiguration and PaymentMethod
    • Add support for new value amazon_pay on enum PaymentMethod.type
    • Add support for new values bh_vat, kz_bin, ng_tin, and om_vat on enum TaxId.type

14.0.0 - 2024-04-10

  • #1673

    • This release changes the pinned API version to 2024-04-10. Please read the API Upgrade Guide and carefully review the API changes before upgrading.

    ⚠️ Breaking changes

    • Rename features to marketing_features on Product
    • Do not force resolution to IPv4 - Forcing IPv4 was causing hard-to-understand failures for users in IPv6-only environments. If you want to force IPv4 yourself, you can do so by telling the API client to use a CurlClient other than the default
    $curl = new \Stripe\HttpClient\CurlClient([
      CURLOPT_IPRESOLVE => CURL_IPRESOLVE_V4
    ]);
    \Stripe\ApiRequestor::setHttpClient($curl);

    ⚠️ Removal of enum values, properties and events that are no longer part of the publicly documented Stripe API

    • Remove the below deprecated values on the enum BalanceTransaction.Type
      • obligation_inbound
      • obligation_payout
      • obligation_payout_failure
      • obligation_reversal_outbound
    • Remove the deprecated value various on the enum Climate.Supplier.RemovalPathway
    • Remove deprecated events
      • invoiceitem.updated
      • order.created
      • recipient.created
      • recipient.deleted
      • recipient.updated
      • sku.created
      • sku.deleted
      • sku.updated
    • Remove the deprecated value service_tax on the enum TaxRate.TaxType
    • Remove support for id_bank_transfer, multibanco, netbanking, pay_by_bank, and upi on PaymentMethodConfiguration
    • Remove the legacy field rendering_options in Invoice. Use rendering instead.

13.18.0 - 2024-04-09

  • #1675 Update generated code
    • Add support for new resources Entitlements.ActiveEntitlement and Entitlements.Feature
    • Add support for all and retrieve methods on resource ActiveEntitlement
    • Add support for all, create, retrieve, and update methods on resource Feature
    • Add support for new value none on enum Account.type
    • Add support for cancel, event_name, and type on Billing.MeterEventAdjustment

13.18.0-beta.1 - 2024-04-04

  • #1671 Update generated code for beta
    • Add support for update method on resource Entitlements.Feature
    • Add support for risk_controls on Account
    • Change type of Subscription.discounts and SubscriptionItem.discounts from nullable(array(expandable($Discount))) to array(expandable($Discount))
  • #1665 Update generated code for beta

13.17.0 - 2024-04-04

  • #1670 Update generated code
    • Add support for subscription_item on Discount
    • Add support for email and phone on Identity.VerificationReport
    • Add support for verification_flow on Identity.VerificationReport and Identity.VerificationSession
    • Add support for new value verification_flow on enums Identity.VerificationReport.type and Identity.VerificationSession.type
    • Add support for provided_details on Identity.VerificationSession
    • Change type of Invoice.discounts from nullable(array(expandable(deletable($Discount)))) to array(expandable(deletable($Discount)))
    • Add support for zip on PaymentMethodConfiguration
    • Add support for discounts on SubscriptionItem and Subscription
    • Add support for new value mobile_phone_reader on enum Terminal.Reader.device_type

13.16.0 - 2024-03-28

  • #1666 Update generated code
    • Add support for new resources Billing.MeterEventAdjustment, Billing.MeterEvent, and Billing.Meter
    • Add support for all, create, deactivate, reactivate, retrieve, and update methods on resource Meter
    • Add support for create method on resources MeterEventAdjustment and MeterEvent
    • Add support for meter on Plan

13.16.0-beta.1 - 2024-03-21

  • #1661 Update generated code for beta
    • Add support for new resources Entitlements.ActiveEntitlementSummary and Entitlements.ActiveEntitlement
    • Add support for all method on resource ActiveEntitlement
    • Add support for use_stripe_sdk on ConfirmationToken
    • Remove support for payment_method on ConfirmationToken
    • Change type of ConfirmationToken.mandate_data from ConfirmationTokensResourceMandateData to nullable(ConfirmationTokensResourceMandateData)
    • Add support for active and metadata on Entitlements.Feature
    • Add support for new value entitlements.active_entitlement_summary.updated on enum Event.type
    • Remove support for value customer.entitlement_summary.updated from enum Event.type

13.15.0 - 2024-03-21

  • #1664 Update generated code
    • Add support for new resources ConfirmationToken and Forwarding.Request
    • Add support for retrieve method on resource ConfirmationToken
    • Add support for all, create, and retrieve methods on resource Request
    • Add support for new values forwarding_api_inactive, forwarding_api_invalid_parameter, forwarding_api_upstream_connection_error, and forwarding_api_upstream_connection_timeout on enum StripeError.code
    • Add support for mobilepay on PaymentMethod
    • Add support for new value mobilepay on enum PaymentMethod.type
    • Add support for name on Terminal.Configuration

13.15.0-beta.1 - 2024-03-14

  • #1659 Update generated code for beta
    • Add support for new resources Billing.MeterEventAdjustment, Billing.MeterEvent, and Billing.Meter
    • Add support for all, create, deactivate, reactivate, retrieve, and update methods on resource Meter
    • Add support for create method on resources MeterEventAdjustment and MeterEvent
    • Add support for create test helper method on resource ConfirmationToken
    • Add support for add_lines, remove_lines, and update_lines methods on resource Invoice
    • Add support for multibanco on PaymentMethodConfiguration and PaymentMethod
    • Add support for new value multibanco on enum PaymentMethod.type
    • Add support for meter on Plan

13.14.0 - 2024-03-14

  • #1660 Update generated code
    • Add support for new resources Issuing.PersonalizationDesign and Issuing.PhysicalBundle
    • Add support for all, create, retrieve, and update methods on resource PersonalizationDesign
    • Add support for all and retrieve methods on resource PhysicalBundle
    • Add support for personalization_design on Issuing.Card

13.14.0-beta.1 - 2024-02-29

  • #1655 Update generated code for beta
    • Remove support for resource Entitlements.Event
    • Change type of ConfirmationToken.mandate_data from nullable(ConfirmationTokensResourceMandateData) to ConfirmationTokensResourceMandateData
    • Remove support for quantity and type on Entitlements.Feature
    • Add support for livemode on Issuing.PersonalizationDesign
  • #1656 Add helper to set beta version

13.13.0 - 2024-02-29

  • #1654 Update generated code
    • Change type of Identity.VerificationSession.type from nullable(enum('document'|'id_number')) to enum('document'|'id_number')
    • Add resources Application, ConnectCollectionTransfer, PlatformTaxFee, ReserveTransaction, SourceMandateNotification, and TaxDeductedAtSource. These classes have no methods on them, and are used to provide more complete types for PHPDocs.
  • #1657 Update readme to use addBetaVersion

13.13.0-beta.1 - 2024-02-23

  • #1652 Update generated code for beta

13.12.0 - 2024-02-22

  • #1651 Update generated code
    • Add support for client_reference_id on Identity.VerificationReport and Identity.VerificationSession
    • Remove support for value service_tax from enum TaxRate.tax_type
  • #1650 Add TaxIds API
    • Add support for all, create, delete, and retrieve methods on resource TaxId
    • The instanceUrl function on TaxId now returns the top-level /v1/tax_ids/{id} path instead of the /v1/customers/{customer}/tax_ids/{id} path.

13.12.0-beta.1 - 2024-02-16

  • #1643 Update generated code for beta
    • Add support for decrement_authorization method on resource PaymentIntent
    • Add support for payment_method_options on ConfirmationToken
    • Add support for payto and twint on PaymentMethod
    • Add support for new values payto and twint on enum PaymentMethod.type

13.11.0 - 2024-02-15

  • #1639 Update generated code
    • Add support for networks on Card
    • Add support for new value financial_connections.account.refreshed_ownership on enum Event.type
  • #1648 Remove broken methods on CustomerCashBalanceTransaction
    • Bugfix: remove support for CustomerCashBalanceTransaction::all and CustomerCashBalanceTransaction::retrieve. These methods were included in the library unintentionally and never functioned.
  • #1647 Fix \Stripe\Tax\Settings::update
  • #1646 Add more specific PHPDoc and Psalm type for RequestOptions arrays on services

13.11.0-beta.1 - 2024-02-01

  • #1637 Update generated code for beta
    • Add support for new resources Entitlements.Event and Entitlements.Feature
    • Add support for create method on resource Event
    • Add support for all and create methods on resource Feature
    • Add support for new value customer.entitlement_summary.updated on enum Event.type

13.10.0 - 2024-02-01

  • #1636 Update generated code
    • Add support for new value swish on enum PaymentLink.payment_method_types[]
    • Add support for swish on PaymentMethod
    • Add support for new value swish on enum PaymentMethod.type
    • Add support for jurisdiction_level on TaxRate
    • Change type of Terminal.Reader.status from string to enum('offline'|'online')
  • #1633 Update generated code
    • Add support for issuer on Invoice
    • Add support for customer_balance on PaymentMethodConfiguration
  • #1630 Add paginated requests helper function and use in Search and All

13.10.0-beta.3 - 2024-01-25

  • #1634 Update generated code for beta
    • Add support for create_preview method on resource Invoice
    • Add support for charged_off_at on Capital.FinancingOffer
    • Add support for enhanced_eligibility_types on Dispute

13.10.0-beta.2 - 2024-01-19

  • #1632 Beta: report usage of rawRequest

13.10.0-beta.1 - 2024-01-12

  • #1628 Update generated code for beta
  • #1626 Update generated code for beta

13.9.0 - 2024-01-12

  • #1629 Update generated code
    • Add support for new resource CustomerSession
    • Add support for create method on resource CustomerSession
    • Remove support for values obligation_inbound, obligation_payout_failure, obligation_payout, and obligation_reversal_outbound from enum BalanceTransaction.type
    • Add support for billing_cycle_anchor_config on Subscription

13.9.0-beta.1 - 2024-01-04

  • #1626 Update generated code for beta
    • Updated stable APIs to the latest version

13.8.0 - 2024-01-04

  • #1627 Update generated code
    • Add support for retrieve method on resource Tax.Registration

13.8.0-beta.1 - 2023-12-22

  • #1622 Update generated code for beta
    • Add support for new value shipping_address_invalid on enum StripeError.code
    • Change type of Invoice.issuer from nullable(ConnectAccountReference) to ConnectAccountReference
    • Add support for ship_from_details on Tax.Calculation and Tax.Transaction
  • #1618 Update generated code for beta

13.7.0 - 2023-12-22

  • #1621 Update generated code
    • Add support for new resource FinancialConnections.Transaction
    • Add support for all and retrieve methods on resource Transaction
    • Add support for subscribe and unsubscribe methods on resource FinancialConnections.Account
    • Add support for new value financial_connections.account.refreshed_transactions on enum Event.type
    • Add support for subscriptions and transaction_refresh on FinancialConnections.Account
    • Add support for new value transactions on enum FinancialConnections.Session.prefetch[]
    • Add support for revolut_pay on PaymentMethodConfiguration
    • Remove support for id_bank_transfer, multibanco, netbanking, pay_by_bank, and upi on PaymentMethodConfiguration
    • Change type of Quote.invoice_settings from nullable(InvoiceSettingQuoteSetting) to InvoiceSettingQuoteSetting
    • Add support for destination_details on Refund

13.7.0-beta.1 - 2023-12-08

  • #1617 Update generated code for beta
    • Add support for retrieve method on resource FinancialConnections.Transaction
  • #1616 Merge master into beta

13.6.0 - 2023-12-07

  • #1613 Update generated code
    • Add support for new values customer_tax_location_invalid and financial_connections_no_successful_transaction_refresh on enum StripeError.code
    • Add support for new values payment_network_reserve_hold and payment_network_reserve_release on enum BalanceTransaction.type
    • Remove support for value various from enum Climate.Supplier.removal_pathway
    • Add support for inactive_message and restrictions on PaymentLink
  • #1612 Report usage of .save and StripeClient
    • Reports uses of the deprecated .save and of StripeClient in X-Stripe-Client-Telemetry. (You can disable telemetry via \Stripe\Stripe::setEnableTelemetry(false);, see the README.)

13.6.0-beta.1 - 2023-11-30

  • #1610 Update generated code for beta

13.5.0 - 2023-11-30

  • #1611 Update generated code
    • Add support for new resources Climate.Order, Climate.Product, and Climate.Supplier
    • Add support for all, cancel, create, retrieve, and update methods on resource Order
    • Add support for all and retrieve methods on resources Product and Supplier
    • Add support for new value financial_connections_account_inactive on enum StripeError.code
    • Add support for new values climate_order_purchase and climate_order_refund on enum BalanceTransaction.type
    • Add support for new values climate.order.canceled, climate.order.created, climate.order.delayed, climate.order.delivered, climate.order.product_substituted, climate.product.created, and climate.product.pricing_updated on enum Event.type

13.5.0-beta.1 - 2023-11-21

  • #1606 Update generated code for beta
    • Add support for components and created on CustomerSession
  • #1600 Update generated code for beta
    • Add support for new value quote.reestimate_failed on enum Event.type
    • Add support for metadata on QuotePhase

13.4.0 - 2023-11-21

  • #1608 Update generated code Add support for transferred_to_balance to CustomerCashBalanceTransaction
  • #1605 Update generated code
    • Add support for network_data on Issuing.Transaction

13.4.0-beta.1 - 2023-11-10

  • #1600 Update generated code for beta
    • Add support for new value quote.reestimate_failed on enum Event.type
    • Add support for metadata on QuotePhase

13.3.0 - 2023-11-09

  • #1603 Update generated code
    • Add support for new value terminal_reader_hardware_fault on enum StripeError.code

13.3.0-beta.1 - 2023-11-02

  • #1598 Update generated code for beta
    • Add support for attach_payment_intent method on resource Invoice
    • Add support for post_payment_amount, pre_payment_amount, and refunds on CreditNote
    • Add support for new value invoice.payment.overpaid on enum Event.type
    • Add support for amounts_due and payments on Invoice
    • Add support for created on Issuing.PersonalizationDesign

13.2.1 - 2023-11-06

  • #1602 Fix error when "id" is not a string.

13.2.0 - 2023-11-02

  • #1599 Update generated code
    • Add support for new resource Tax.Registration
    • Add support for all, create, and update methods on resource Registration
    • Add support for new value token_card_network_invalid on enum StripeError.code
    • Add support for new value payment_unreconciled on enum BalanceTransaction.type
    • Add support for revolut_pay on PaymentMethod
    • Add support for new value revolut_pay on enum PaymentMethod.type

13.2.0-beta.1 - 2023-10-26

  • #1596 Update generated code for beta
    • Add support for new resource Margin
    • Add support for all, create, retrieve, and update methods on resource Margin
    • Add support for default_margins and total_margin_amounts on Invoice
    • Add support for margins on InvoiceItem

13.1.0 - 2023-10-26

  • #1595 Update generated code
    • Add support for new value balance_invalid_parameter on enum StripeError.code

13.1.0-beta.1 - 2023-10-17

  • #1594 Update generated code for beta
    • Update pinned API version to 2023-10-16

13.0.0 - 2023-10-16

  • This release changes the pinned API version to 2023-10-16. Please read the API Upgrade Guide and carefully review the API changes before upgrading stripe-php package.
  • #1593 Update generated code
    • Added additional_tos_acceptances field on Person

12.9.0-beta.1 - 2023-10-16

  • #1591 Update generated code for beta

12.8.0 - 2023-10-16

  • #1590 Update generated code
    • Add support for new values issuing_token.created and issuing_token.updated on enum Event.type

12.8.0-beta.1 - 2023-10-11

  • #1588 Update generated code for beta
    • Add support for new resources AccountNotice and Issuing.CreditUnderwritingRecord
    • Add support for all, retrieve, and update methods on resource AccountNotice
    • Add support for all, correct, create_from_application, create_from_proactive_review, report_decision, and retrieve methods on resource CreditUnderwritingRecord
    • Add support for new values account_notice.created and account_notice.updated on enum Event.type

12.7.0 - 2023-10-11

  • #1589 Update generated code
    • Add support for client_secret, redirect_on_completion, return_url, and ui_mode on Checkout.Session
    • Add support for offline on Terminal.Configuration

12.7.0-beta.1 - 2023-10-05

  • #1587 Update generated code for beta
    • Add support for mark_draft and mark_stale methods on resource Quote
    • Remove support for draft_quote and mark_stale_quote methods on resource Quote
    • Add support for allow_backdated_lines on Quote
    • Rename previewInvoiceLines to allPreviewInvoiceLines on resource Quote

12.6.0 - 2023-10-05

  • #1586 Update generated code
    • Add support for new resource Issuing.Token
    • Add support for all, retrieve, and update methods on resource Token
    • Add support for token on Issuing.Authorization and Issuing.Transaction
  • #1569 Fix: Do not bother removing friendsofphp/php-cs-fixer

12.6.0-beta.1 - 2023-09-28

  • #1585 Update generated code for beta
    • Rename resources Issuing.CardDesign and Issuing.CardBundle to Issuing.PersonalizationDesign and Issuing.PhysicalBundle
    • Add support for reason on Event

12.5.0 - 2023-09-28

  • #1582 Generate Discount, SourceTransaction and use sections in more places
  • #1584 Update generated code
    • Add support for rendering on Invoice

12.5.0-beta.1 - 2023-09-21

  • #1578 Update generated code for beta
    • Remove support for customer on ConfirmationToken
    • Add support for issuer on Invoice

12.4.0 - 2023-09-21

  • #1579 Update generated code
    • Add back constant for invoiceitem.updated webhook event. This was mistakenly removed in v12.2.0.
  • #1566 Fix: Remove squizlabs/php_codesniffer
  • #1568 Enhancement: Reference phpunit.xsd as installed with composer
  • #1565 Enhancement: Use PHP 8.2 as leading PHP version

12.4.0-beta.1 - 2023-09-14

  • #1575 Update generated code for beta
    • Add support for new resource ConfirmationToken
    • Add support for retrieve method on resource ConfirmationToken
    • Add support for create method on resource Issuing.CardDesign
    • Add support for reject_testmode test helper method on resource Issuing.CardDesign
    • Add support for new value issuing_card_design.rejected on enum Event.type
    • Add support for features on Issuing.CardBundle
    • Add support for card_logo, carrier_text, preferences, and rejection_reasons on Issuing.CardDesign
    • Remove support for preference on Issuing.CardDesign

12.3.0 - 2023-09-14

  • #1577 Update generated code
    • Add support for new resource PaymentMethodConfiguration
    • Add support for all, create, retrieve, and update methods on resource PaymentMethodConfiguration
    • Add support for payment_method_configuration_details on Checkout.Session, PaymentIntent, and SetupIntent
  • #1573 Update generated code
    • Add support for capture, create, expire, increment, and reverse test helper methods on resource Issuing.Authorization
    • Add support for create_force_capture, create_unlinked_refund, and refund test helper methods on resource Issuing.Transaction
    • Add support for new value stripe_tax_inactive on enum StripeError.code

12.3.0-beta.1 - 2023-09-07

  • #1574 Update generated code for beta
    • Release specs are identical.
  • #1572 Update generated code for beta
    • Remove support for submit_card test helper method on resource Issuing.Card
    • Add support for new value platform_default on enum Issuing.CardDesign.preference

12.2.0 - 2023-09-07

  • #1571 Update generated code
    • Add support for new resource PaymentMethodDomain
    • Add support for all, create, retrieve, update, and validate methods on resource PaymentMethodDomain
    • Add support for new values treasury.credit_reversal.created, treasury.credit_reversal.posted, treasury.debit_reversal.completed, treasury.debit_reversal.created, treasury.debit_reversal.initial_credit_granted, treasury.financial_account.closed, treasury.financial_account.created, treasury.financial_account.features_status_updated, treasury.inbound_transfer.canceled, treasury.inbound_transfer.created, treasury.inbound_transfer.failed, treasury.inbound_transfer.succeeded, treasury.outbound_payment.canceled, treasury.outbound_payment.created, treasury.outbound_payment.expected_arrival_date_updated, treasury.outbound_payment.failed, treasury.outbound_payment.posted, treasury.outbound_payment.returned, treasury.outbound_transfer.canceled, treasury.outbound_transfer.created, treasury.outbound_transfer.expected_arrival_date_updated, treasury.outbound_transfer.failed, treasury.outbound_transfer.posted, treasury.outbound_transfer.returned, treasury.received_credit.created, treasury.received_credit.failed, treasury.received_credit.succeeded, and treasury.received_debit.created on enum Event.type
    • Remove support for value invoiceitem.updated from enum Event.type
    • Add support for features on Product

12.2.0-beta.1 - 2023-08-31

  • #1559 Update generated code for beta
    • Rename Quote.previewInvoices to Quote.allPreviewInvoices and Quote.previewSubscriptionSchedules to Quote.allSubscriptionSchedules

12.1.0 - 2023-08-31

  • #1560 Update generated code
    • Add support for new resource AccountSession
    • Add support for create method on resource AccountSession
    • Add support for new values obligation_inbound, obligation_outbound, obligation_payout_failure, obligation_payout, obligation_reversal_inbound, and obligation_reversal_outbound on enum BalanceTransaction.type
    • Change type of Event.type from string to enum
    • Add support for application on PaymentLink
  • #1562 Nicer ApiErrorException::__toString()
  • #1558 Update generated code
    • Add support for payment_method_details on Dispute
    • Add support for prefetch on FinancialConnections.Session

12.0.0 - 2023-08-18

⚠️ ACTION REQUIRED: the breaking change in this release likely affects you ⚠️

12.0.0-beta.1 - 2023-08-24

  • #1549 Update generated code for beta
    • Add support for new resources QuotePreviewInvoice and QuotePreviewSchedule
    • Remove support for applies_to on Invoice and SubscriptionSchedule
  • #1556 Merge master into beta

11.0.0 - 2023-08-16

Please do not use stripe-php v11. It did not correctly apply the pinning behavior and was removed from packagist

10.22.0-beta.1 - 2023-08-10

  • #1545 Update generated code for beta
    • Add support for paypal on PaymentMethodConfiguration

10.21.0 - 2023-08-10

  • #1546 Update generated code
    • Add support for new value payment_reversal on enum BalanceTransaction.type
    • Add support for new value adjusted_for_overdraft on enum CustomerBalanceTransaction.type

10.21.0-beta.1 - 2023-08-03

  • #1541 Update generated code for beta
    • Add support for submit_card test helper method on resource Issuing.Card

10.20.0 - 2023-08-03

  • #1539 Update generated code
    • Add support for subscription_details on Invoice
    • Add support for new values sepa_debit_fingerprint and us_bank_account_fingerprint on enum Radar.ValueList.item_type

10.20.0-beta.2 - 2023-07-28

  • #1537 Update generated code for beta
    • Release specs are identical.
  • #1535 Update generated code for beta
    • Add support for new resource Tax.Form
    • Add support for all, pdf, and retrieve methods on resource Form
    • Add support for payment_method_configuration_details on Checkout.Session and SetupIntent
  • #1532 Update generated code for beta
  • #1531 Merge master into beta

10.20.0-beta.1 - 2023-07-27

  • Updated stable APIs to the latest version

10.19.0 - 2023-07-27

  • #1534 Update generated code
    • Improve PHPDoc type for ApplicationFee.refunds
    • Add support for deleted on Apps.Secret
  • #1526 Add constants for payment intent cancellation reasons
  • #1533 Update generated code
    • Add support for new value service_tax on enum TaxRate.tax_type
  • #1487 PHPDoc: use union of literals for $method parameter throughout

10.18.0 - 2023-07-20

  • #1533 Update generated code
    • Add support for new value service_tax on enum TaxRate.tax_type
  • #1526 Add constants for payment intent cancellation reasons
  • #1487 PHPDoc: use union of literals for $method parameter throughout

10.18.0-beta.1 - 2023-07-13

  • #1527 Update generated code for beta Release specs are identical.
  • #1524 Update generated code for beta
    • Add support for new resource PaymentMethodConfiguration
    • Add support for all, create, retrieve, and update methods on resource PaymentMethodConfiguration
    • Add support for payment_method_configuration_details on PaymentIntent
    • Rename Tax.SettingService -> Tax.SettingsService (parity with main release)
  • #1519 Update generated code for beta
    • Rename Tax.SettingsService -> Tax.SettingService

10.17.0 - 2023-07-13

  • #1525 Update generated code
    • Add support for new resource Tax.Settings
    • Add support for retrieve and update methods on resource Settings
    • Add support for new value invalid_tax_location on enum StripeError.code
    • Add support for product on Tax.TransactionLineItem
    • Add constant for tax.settings.updated webhook event
  • #1520 Update generated code
    • Release specs are identical.

10.16.0 - 2023-06-29

  • #1517 Update generated code
    • Add support for new value application_fees_not_allowed on enum StripeError.code
    • Add support for effective_at on CreditNote and Invoice
    • Add support for on_behalf_of on Mandate
  • #1514 Update generated code
    • Release specs are identical.
  • #1512 Update generated code
    • Change type of Checkout.Session.success_url from string to nullable(string)

10.16.0-beta.1 - 2023-06-22

  • #1515 Update generated code for beta
    • Add support for new resource CustomerSession
    • Add support for create method on resource CustomerSession
  • #1513 Update generated code for beta
    • Add support for payment_details on PaymentIntent
  • #1510 Update generated code for beta

10.15.0 - 2023-06-08

  • #1506 Update generated code
    • Add support for preferred_locales on Issuing.Cardholder

10.15.0-beta.2 - 2023-06-01

  • #1507 Update generated code for beta
    • Add support for subscription_details on Invoice
    • Add support for set_pause_collection on QuoteLine
    • Remove support for locations on Tax.Settings

10.15.0-beta.1 - 2023-05-25

  • #1500 Update generated code for beta
  • #1505 Handle developer message in preview error responses
  • #1504 Add default values for preview and raw_request parameters

10.14.0 - 2023-05-25

  • #1503 Update generated code

    • Add support for zip on PaymentMethod
    • Add support for new value zip on enum PaymentMethod.type
  • #1502 Generate error codes

  • #1501 Update generated code

  • #1499 Update generated code

    • Add support for new values amusement_tax and communications_tax on enum TaxRate.tax_type

10.14.0-beta.2 - 2023-05-19

  • #1498 Update generated code for beta
    • Add support for subscribe and unsubscribe methods on resource FinancialConnections.Account
    • Add support for status_details and status on Tax.Settings
  • #1486 Add $stripe->rawRequest

10.14.0-beta.1 - 2023-05-11

  • #1489 Update generated code for beta
    • Add support for head_office on Tax.Settings
  • #1497 Fix phpstan errors
  • #1484 Update generated code for beta

10.13.0 - 2023-05-11

  • #1490 Update generated code

    • Add support for paypal on PaymentMethod
    • Add support for effective_percentage on TaxRate
  • #1488 Increment PHPStan to strictness level 2

  • #1483 Update generated code

  • #1480 Update generated code

    • Change type of Identity.VerificationSession.options from VerificationSessionOptions to nullable(VerificationSessionOptions)
    • Change type of Identity.VerificationSession.type from enum('document'|'id_number') to nullable(enum('document'|'id_number'))
  • #1478 Update generated code

    • Release specs are identical.
  • #1475 Update generated code

10.13.0-beta.4 - 2023-04-20

  • #1481 Update generated code for beta
    • Add support for country_options on Tax.Registration
    • Remove support for state and type on Tax.Registration

10.13.0-beta.3 - 2023-04-13

  • #1477 Update generated code for beta
    • Add support for collect_payment_method and confirm_payment_intent methods on resource Terminal.Reader

10.13.0-beta.2 - 2023-04-06

  • #1472 Update generated code for beta
    • Updated stable APIs to the latest version

10.13.0-beta.1 - 2023-03-30

  • #1469 Update generated code
    • Add support for new value ioss on enum Tax.Registration.type

10.12.1 - 2023-04-04

  • #1473 Update generated code
    • Add back deleted from Invoice.status.

10.12.0 - 2023-03-30

  • #1470 Update generated code
    • Remove support for create method on resource Tax.Transaction
      • This is not a breaking change, as this method was deprecated before the Tax Transactions API was released in favor of the createFromCalculation method.
    • Remove support for value deleted from enum Invoice.status
      • This is not a breaking change, as the value was never returned or accepted as input.
  • #1468 Trigger workflow for tags
  • #1467 Update generated code (new)
    • Release specs are identical.

10.12.0-beta.1 - 2023-03-23

  • #1459 Update generated code for beta (new)
    • Add support for new resources Tax.CalculationLineItem and Tax.TransactionLineItem
    • Add support for collect_inputs method on resource Terminal.Reader
    • Add support for financing_offer on Capital.FinancingSummary
    • Add support for new value link on enum PaymentLink.payment_method_types[]
    • Add support for automatic_payment_methods on SetupIntent

10.11.0 - 2023-03-23

  • #1458 Update generated code
    • Add support for new resources Tax.CalculationLineItem, Tax.Calculation, Tax.TransactionLineItem, and Tax.Transaction
    • Add support for create and list_line_items methods on resource Calculation
    • Add support for create_from_calculation, create_reversal, create, list_line_items, and retrieve methods on resource Transaction
    • Add support for currency_conversion on Checkout.Session
    • Add support for new value automatic_async on enum PaymentIntent.capture_method
    • Add support for new value link on enum PaymentLink.payment_method_types[]
    • Add support for automatic_payment_methods on SetupIntent

10.11.0-beta.1 - 2023-03-16

  • #1456 API Updates
    • Add support for create_from_calculation method on resource Tax.Transaction
    • Change type of Invoice.applies_to from nullable(QuotesResourceQuoteLinesAppliesTo) to QuotesResourceQuoteLinesAppliesTo
    • Add support for shipping_cost on Tax.Calculation and Tax.Transaction
    • Add support for tax_breakdown on Tax.Calculation
    • Remove support for tax_summary on Tax.Calculation

10.10.0 - 2023-03-16

  • #1457 API Updates
    • Add support for future_requirements and requirements on BankAccount
    • Add support for new value automatic_async on enum PaymentIntent.capture_method
    • Add support for new value cashapp on enum PaymentLink.payment_method_types[]
    • Add support for cashapp on PaymentMethod
    • Add support for new value cashapp on enum PaymentMethod.type
  • #1454 Update generated code (new)
    • Add support for new value cashapp on enum PaymentLink.payment_method_types[]
    • Add support for cashapp on PaymentMethod
    • Add support for new value cashapp on enum PaymentMethod.type

10.10.0-beta.1 - 2023-03-09

  • #1451 API Updates for beta branch
    • Updated stable APIs to the latest version
    • Remove support for list_transactions method on resource Tax.Transaction
    • Change type of SubscriptionSchedule.applies_to from nullable(QuotesResourceQuoteLinesAppliesTo) to QuotesResourceQuoteLinesAppliesTo
    • Add support for tax_summary on Tax.Calculation
    • Remove support for tax_breakdown on Tax.Calculation

10.9.1 - 2023-03-14

  • #1453 Restore StripeClient.getService

10.9.0 - 2023-03-09

  • #1450 API Updates

    • Add support for cancellation_details on Subscription
    • Fix return types on custom methods (extends #1446)
  • #1446 stripe->customers->retrievePaymentMethod returns the wrong class (type hint)

10.9.0-beta.1 - 2023-03-02

  • #1448 API Updates for beta branch
    • Updated stable APIs to the latest version
    • Add support for new resources Issuing.CardBundle and Issuing.CardDesign
    • Add support for all and retrieve methods on resource CardBundle
    • Add support for all, retrieve, and update methods on resource CardDesign
    • Add support for card_design on Issuing.Card

10.8.0 - 2023-03-02

  • #1447 API Updates
    • Add support for reconciliation_status on Payout
    • Add support for new value lease_tax on enum TaxRate.tax_type

10.8.0-beta.1 - 2023-02-23

  • #1445 API Updates for beta branch
    • Updated stable APIs to the latest version

10.7.0 - 2023-02-23

  • #1444 API Updates
    • Add support for new value igst on enum TaxRate.tax_type

10.7.0-beta.1 - 2023-02-16

  • #1442 API Updates for beta branch
    • Updated stable APIs to the latest version
    • Add support for currency_conversion on Checkout.Session
    • Add support for limits on FinancialConnections.Session
    • Remove support for reference on Tax.Calculation

10.6.1 - 2023-02-21

  • #1443 Remove init.php from the list of ignored files

10.6.0 - 2023-02-16

  • #1441 API Updates
    • Add support for refund_payment method on resource Terminal.Reader
    • Add support for custom_fields on Checkout.Session and PaymentLink
  • #1236 subscription_proration_date not always presented in Invoice
  • #1431 Fix: Do not use unbounded version constraint for actions/checkout
  • #1436 Enhancement: Enable and configure visibility_required fixer
  • #1432 Enhancement: Update actions/cache
  • #1434 Fix: Remove parentheses
  • #1433 Enhancement: Run tests on PHP 8.2
  • #1438 Update .gitattributes

10.6.0-beta.1 - 2023-02-02

  • #1440 API Updates for beta branch
    • Updated stable APIs to the latest version
    • Add support for all method on resource Transaction
    • Add support for inferred_balances_refresh, subscriptions, and transaction_refresh on FinancialConnections.Account
    • Add support for manual_entry, prefetch, status_details, and status on FinancialConnections.Session
    • Add support for new resource FinancialConnections.Transaction

10.5.0 - 2023-02-02

  • #1439 API Updates
    • Add support for resume method on resource Subscription
    • Add support for amount_shipping and shipping_cost on CreditNote and Invoice
    • Add support for shipping_details on Invoice
    • Add support for invoice_creation on PaymentLink
    • Add support for trial_settings on Subscription
    • Add support for new value paused on enum Subscription.status

10.5.0-beta.2 - 2023-01-26

  • #1429 API Updates for beta branch
    • Updated stable APIs to the latest version
    • Add support for list_transactions method on resource Tax.Transaction

10.5.0-beta.1 - 2023-01-19

  • #1427 API Updates for beta branch
    • Updated stable APIs to the latest version
    • Add support for Tax.Settings resource.

10.4.0 - 2023-01-19

  • #1381 Add getService methods to StripeClient and AbstractServiceFactory to allow mocking

  • #1424 API Updates

    • Added REFUND_CREATED, REFUND_UPDATED event definitions.
  • #1426 Ignore PHP version for formatting

  • #1425 Fix Stripe::setAccountId parameter type

  • #1418 Switch to mb_convert_encoding to fix utf8_encode deprecation warning

10.4.0-beta.3 - 2023-01-12

  • #1423 API Updates for beta branch
    • Updated stable APIs to the latest version
    • Add support for Tax.Registration resource.
    • Change draft_quote method implementation from hitting /v1/quotes/{quotes}/draft to /v1/quotes/{quotes}/mark_draft

10.4.0-beta.2 - 2023-01-05

  • #1420 API Updates for beta branch
    • Updated stable APIs to the latest version
    • Add support for mark_stale_quote method on resource Quote

10.4.0-beta.1 - 2022-12-22

  • #1414 API Updates for beta branch
    • Updated stable APIs to the latest version
    • Move $stripe->taxCalculations to $stripe->tax->calculations and $stripe->taxTransactions to $stripe->tax->transactions

10.3.0 - 2022-12-22

  • #1413 API Updates Change CheckoutSession.cancel_url to be nullable.

10.3.0-beta.1 - 2022-12-15

  • #1412 API Updates for beta branch
    • Updated stable APIs to the latest version
    • Add support for new resources QuoteLine, TaxCalculation, and TaxTransaction
    • Add support for create and list_line_items methods on resource TaxCalculation
    • Add support for create_reversal, create, and retrieve methods on resource TaxTransaction

10.2.0 - 2022-12-15

  • #1411 API Updates
    • Add support for new value invoice_overpaid on enum CustomerBalanceTransaction.type
  • #1407 API Updates

10.2.0-beta.1 - 2022-12-08

  • #1408 API Updates for beta branch
    • Updated stable APIs to the latest version
  • #1406 API Updates for beta branch
    • Updated stable APIs to the latest version
  • #1398 API Updates for beta branch
    • Updated stable APIs to the latest version

10.1.0 - 2022-12-06

  • #1405 API Updates
    • Add support for flow on BillingPortal.Session
  • #1404 API Updates
    • Remove support for resources Order and Sku
    • Remove support for all, cancel, create, list_line_items, reopen, retrieve, submit, and update methods on resource Order
    • Remove support for all, create, delete, retrieve, and update methods on resource Sku
    • Add support for custom_text on Checkout.Session and PaymentLink
    • Add support for invoice_creation and invoice on Checkout.Session
    • Remove support for product on LineItem
    • Add support for latest_charge on PaymentIntent
    • Remove support for charges on PaymentIntent

10.0.0 - 2022-11-16

  • #1392 Next major release changes

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.

"⚠️" symbol highlights breaking changes.

9.9.0 - 2022-11-08

  • #1394 API Updates
    • Add support for new values eg_tin, ph_tin, and tr_tin on enum TaxId.type
  • #1389 API Updates
    • Add support for on_behalf_of on Subscription
  • #1379 Do not run Coveralls in PR-s

9.9.0-beta.2 - 2022-11-02

  • #1390 API Updates for beta branch
    • Updated beta APIs to the latest stable version

9.9.0-beta.1 - 2022-10-21

  • #1384 API Updates for beta branch
    • Updated stable APIs to the latest version
    • Add support for network_data on Issuing.Transaction
    • Add support for paypal on Source
    • Add support for new value paypal on enum Source.type

9.8.0 - 2022-10-20

  • #1383 API Updates
    • Add support for new values jp_trn and ke_pin on enum TaxId.type
  • #1293 Install deps in the install step of CI
  • #1291 Fix: Configure finder for friendsofphp/php-cs-fixer

9.7.0 - 2022-10-13

  • #1376 API Updates
    • Add support for network_data on Issuing.Authorization
  • #1374 Add request_log_url on ErrorObject
  • #1370 API Updates
    • Add support for created on Checkout.Session

9.7.0-beta.2 - 2022-10-07

  • #1373 API Updates for beta branch
    • Updated stable APIs to the latest version

9.7.0-beta.1 - 2022-09-26

  • #1368 API Updates for beta branch
    • Updated stable APIs to the latest version
    • Add FinancingOffer, FinancingSummary and FinancingTransaction resources.

9.6.0 - 2022-09-15

  • #1365 API Updates
    • Add support for from_invoice and latest_revision on Invoice
    • Add support for new value pix on enum PaymentLink.payment_method_types[]
    • Add support for pix on PaymentMethod
    • Add support for new value pix on enum PaymentMethod.type
    • Add support for created on Treasury.CreditReversal and Treasury.DebitReversal

9.5.0 - 2022-09-06

  • #1364 API Updates
    • Add support for new value terminal_reader_splashscreen on enum File.purpose
  • #1363 chore: Update PHP tests to handle search methods.

9.4.0 - 2022-08-26

  • #1362 API Updates
    • Add support for login_page on BillingPortal.Configuration
  • #1360 Add test coverage using Coveralls
  • #1361 fix: Fix type hints for error objects.
    • Update Invoice.last_finalization_error, PaymentIntent.last_payment_error, SetupAttempt.setup_error and SetupIntent.setup_error type to be StripeObject.
      • Addresses #1353. The library today does not actually return a ErrorObject for these fields, so the type annotation was incorrect.
  • #1356 Add beta readme.md section

9.4.0-beta.1 - 2022-08-26

  • #1358 API Updates for beta branch
    • Updated stable APIs to the latest version
    • Add support for the beta Gift Card API.

9.3.0 - 2022-08-23

  • #1355 API Updates
    • Change type of Treasury.OutboundTransfer.destination_payment_method from string to string | null
    • Change the return type of CustomerService.fundCashBalance test helper from CustomerBalanceTransaction to CustomerCashBalanceTransaction.
      • This would generally be considered a breaking change, but we've worked with all existing users to migrate and are comfortable releasing this as a minor as it is solely a test helper method. This was essentially broken prior to this change.

9.3.0-beta.1 - 2022-08-23

  • #1354 API Updates for beta branch
    • Updated stable APIs to the latest version
    • Stripe-Version beta headers are not pinned by-default and need to be manually specified, please refer to beta SDKs README section

9.2.0 - 2022-08-19

  • #1352 API Updates
    • Add support for new resource CustomerCashBalanceTransaction
    • Add support for currency on PaymentLink
    • Add constant for customer_cash_balance_transaction.created webhook event.
  • #1351 Add a support section to the readme
  • #1304 Allow passing PSR-3 loggers to setLogger as they are compatible

9.2.0-beta.1 - 2022-08-11

  • #1349 API Updates for beta branch
    • Updated stable APIs to the latest version
    • Add refundPayment method to Terminal resource

9.1.0 - 2022-08-11

  • #1348 API Updates

    • Add support for payment_method_collection on Checkout.Session and PaymentLink
  • #1346 API Updates

    • Add support for expires_at on Apps.Secret

9.1.0-beta.1 - 2022-08-03

  • #1345 API Updates for beta branch
    • Updated stable APIs to the latest version
    • Added the Order resource support

9.0.0 - 2022-08-02

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-php/wiki/Migration-guide-for-v9. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-08-01.

"⚠️" symbol highlights breaking changes.

  • #1344 API Updates
  • #1337 API Updates
  • #1273 Add some PHPDoc return types and fixes
  • #1341 Next major release changes

8.12.0 - 2022-07-25

  • #1332 API Updates
    • Add support for default_currency and invoice_credit_balance on Customer

8.12.0-beta.1 - 2022-07-22

  • #1331 API Updates for beta branch
    • Updated stable APIs to the latest version
  • #1328 API Updates for beta branch
    • Updated stable APIs to the latest version
    • Add QuotePhase resource
  • #1325 API Updates for beta branch
    • Updated stable APIs to the latest version
    • Add QuotePhaseConfiguration service.
    • Add Price.migrate_to property
    • Add SubscriptionSchedule.amend method.
    • Add Discount.subscription_item property.
    • Add Quote.subscription_data.billing_behavior, billing_cycle_anchor, end_behavior, from_schedule, from_subscription, prebilling, proration_behavior properties.
    • Add phases parameter to Quote.create
    • Add Subscription.discounts, prebilling properties.
  • #1320 API Updates for beta branch
    • Include server_side_confirmation_beta=v1 beta
    • Add secretKeyConfirmation to PaymentIntent
  • #1317 API Updates for beta branch
    • Updated stable APIs to the latest version

8.11.0 - 2022-07-18

  • #1324 API Updates
    • Add support for new value blik on enum PaymentLink.payment_method_types[]
    • Add support for blik on PaymentMethod
    • Add support for new value blik on enum PaymentMethod.type
    • Add Invoice.upcomingLines method.
    • Add SourceService.allSourceTransactions method.
  • #1322 API Updates
    • Change type of source_type on Transfer from nullable string to string (comment-only change)

8.10.0 - 2022-07-07

  • #1319 API Updates
    • Add support for currency_options on Coupon and Price
    • Add support for currency on Subscription
  • #1318 API Updates
    • Add support for new values financial_connections.account.created, financial_connections.account.deactivated, financial_connections.account.disconnected, financial_connections.account.reactivated, and financial_connections.account.refreshed_balance on Event.

8.9.0 - 2022-06-29

  • #1316 API Updates
    • Add support for deliver_card, fail_card, return_card, and ship_card test helper methods on resource Issuing.Card
    • Add support for subtotal_excluding_tax on CreditNote and Invoice
    • Add support for amount_excluding_tax and unit_amount_excluding_tax on CreditNoteLineItem and InvoiceLineItem
    • Add support for total_excluding_tax on Invoice
    • Change type of PaymentLink.payment_method_types[] from literal('card') to enum
    • Add support for promptpay on PaymentMethod
    • Add support for new value promptpay on enum PaymentMethod.type
    • Add support for hosted_regulatory_receipt_url and reversal_details on Treasury.ReceivedCredit and Treasury.ReceivedDebit

8.8.0 - 2022-06-23

  • #1302 API Updates

    • Add support for custom_unit_amount on Price
  • #1301 API Updates

    Documentation updates.

8.7.0 - 2022-06-17

  • #1306 API Updates

    • Add support for fund_cash_balance test helper method on resource Customer
    • Add support for total_excluding_tax on CreditNote
    • Add support for rendering_options on Invoice
  • #1307 Support updating pre-release versions

  • #1305 Trigger workflows on beta branches

  • #1302 API Updates

    • Add support for custom_unit_amount on Price
  • #1301 API Updates

    Documentation updates.

8.6.0 - 2022-06-08

  • #1300 API Updates
    • Add support for attach_to_self and flow_directions on SetupAttempt

8.5.0 - 2022-06-01

  • #1298 API Updates
    • Add support for radar_options on Charge and PaymentMethod
    • Add support for new value simulated_wisepos_e on enum Terminal.Reader.device_type

8.4.0 - 2022-05-26

  • #1296 API Updates
    • Add support for persons method on resource Account
    • Add support for balance_transactions method on resource Customer
    • Add support for id_number_secondary_provided on Person
  • #1295 API Updates

8.3.0 - 2022-05-23

  • #1294 API Updates
    • Add support for new resource Apps.Secret
    • Add support for affirm and link on PaymentMethod
    • Add support for new values affirm and link on enum PaymentMethod.type
  • #1289 fix: Update RequestOptions#redactedApiKey to stop exploding null.

8.2.0 - 2022-05-19

  • #1286 API Updates
    • 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
    • Add support for retrieve_payment_method method on resource Customer
    • Add support for all and list_owners methods on resource FinancialConnections.Account
    • Add support for treasury on Issuing.Authorization, Issuing.Dispute, and Issuing.Transaction
    • Add support for financial_account on Issuing.Card
    • Add support for client_secret on Order
    • Add support for attach_to_self and flow_directions on SetupIntent

8.1.0 - 2022-05-11

  • #1284 API Updates
    • Add support for consent_collection, customer_creation, payment_intent_data, shipping_options, submit_type, and tax_id_collection on PaymentLink
    • Add support for description on Subscription

8.0.0 - 2022-05-09

  • #1283 Major version release of v8.0.0. The migration guide contains more information. (⚠️ = breaking changes):
    • ⚠️ Replace the legacy Order API with the new Order API.
      • Resource modified: Order.
      • New methods: cancel, list_line_items, reopen, and submit
      • Removed methods: pay and return_order
      • Removed resources: OrderItem and OrderReturn
      • Removed references from other resources: Charge.order
    • ⚠️ Rename \FinancialConnections\Account.refresh method to \FinancialConnections\Account.refresh_account
    • Add support for amount_discount, amount_tax, and product on LineItem

7.128.0 - 2022-05-05

  • #1282 API Updates
    • Add support for default_price on Product
    • Add support for instructions_email on Refund

7.127.0 - 2022-05-05

  • #1281 API Updates
    • Add support for new resources FinancialConnections.AccountOwner, FinancialConnections.AccountOwnership, FinancialConnections.Account, and FinancialConnections.Session
  • #1278 Pin setup-php action version.
  • #1277 API Updates
    • Add support for registered_address on Person

7.126.0 - 2022-05-03

  • #1276 API Updates
    • Add support for new resource CashBalance
    • Change type of BillingPortal.Configuration.application from $Application to deletable($Application)
    • Add support for cash_balance on Customer
    • Add support for application on Invoice, Quote, SubscriptionSchedule, and Subscription
    • Add support for new value eu_oss_vat on enum TaxId.type
  • #1274 Fix PHPDoc on Discount for nullable properties
  • #1272 Allow users to pass a custom IPRESOLVE cURL option.

7.125.0 - 2022-04-21

  • #1270 API Updates
    • Add support for expire test helper method on resource Refund

7.124.0 - 2022-04-18

  • #1265 API Updates
    • Add support for new resources FundingInstructions and Terminal.Configuration
    • Add support for create_funding_instructions method on resource Customer
    • Add support for amount_details on PaymentIntent
    • Add support for customer_balance on PaymentMethod
    • Add support for new value customer_balance on enum PaymentMethod.type
    • Add support for configuration_overrides on Terminal.Location

7.123.0 - 2022-04-13

  • #1263 API Updates
    • Add support for increment_authorization method on resource PaymentIntent
  • #1262 Add support for updating the version of the repo
  • #1230 Add PHPDoc return types
  • #1242 Fix some PHPDoc in tests

7.122.0 - 2022-04-08

  • #1261 API Updates

    • Add support for apply_customer_balance method on resource PaymentIntent
  • #1259 API Updates

    • Add payment_intent.partially_funded, terminal.reader.action_failed, and terminal.reader.action_succeeded events.

7.121.0 - 2022-03-30

  • #1258 API Updates
    • Add support for cancel_action, process_payment_intent, process_setup_intent, and set_reader_display methods on resource Terminal.Reader
    • Add support for action on Terminal.Reader

7.120.0 - 2022-03-29

  • #1257 API Updates
    • Add support for Search API
      • Add support for search method on resources Charge, Customer, Invoice, PaymentIntent, Price, Product, and Subscription

7.119.0 - 2022-03-25

  • #1256 API Updates
    • Add support for PayNow and US Bank Accounts Debits payments
      • Add support for paynow and us_bank_account on PaymentMethod
      • Add support for new values paynow and us_bank_account on enum PaymentMethod.type
    • Add support for failure_balance_transaction on Charge

7.118.0 - 2022-03-23

  • #1255 API Updates
    • Add support for cancel method on resource Refund
    • Add support for new values bg_uic, hu_tin, and si_tin on enum TaxId.type
    • Add test_helpers.test_clock.advancing, test_helpers.test_clock.created, test_helpers.test_clock.deleted, test_helpers.test_clock.internal_failure, and test_helpers.test_clock.ready events.

7.117.0 - 2022-03-18

  • #1254 API Updates
    • Add support for status on Card
  • #1251 Add support for SearchResult objects.
  • #1249 Add missing constant for payment_behavior

7.116.0 - 2022-03-02

  • #1248 API Updates
    • Add support for proration_details on InvoiceLineItem

7.115.0 - 2022-03-01

  • #1245 #1247 API Updates
    • Add support for new resource TestHelpers.TestClock
    • Add support for test_clock on Customer, Invoice, InvoiceItem, Quote, Subscription, and SubscriptionSchedule
    • Add support for next_action on Refund
    • Add support for konbini on PaymentMethod
  • #1244 API Updates
    • Add support for new values bbpos_wisepad3 and stripe_m2 on enum Terminal.Reader.device_type

7.114.0 - 2022-02-15

  • #1243 Add test
  • #1240 API Updates
    • Add support for verify_microdeposits method on resources PaymentIntent and SetupIntent
  • #1241 Add generic parameter to \Stripe\Collection usages

7.113.0 - 2022-02-03

  • #1239 API Updates
    • Add REASON_EXPIRED_UNCAPTURED_CHARGE enum value on Refund.

7.112.0 - 2022-01-25

  • #1235 API Updates
    • Add support for phone_number_collection on PaymentLink
    • Add support for new value is_vat on enum TaxId.type

7.111.0 - 2022-01-20

  • #1233 API Updates
    • Add support for new resource PaymentLink
    • Add support for payment_link on Checkout.Session

7.110.0 - 2022-01-13

  • #1232 API Updates
    • Add support for paid_out_of_band on Invoice

7.109.0 - 2022-01-12

  • #1231 API Updates
    • Add support for customer_creation on Checkout.Session
  • #1227 Update docs URLs

7.108.0 - 2021-12-22

  • #1226 Upgrade php-cs-fixer to 3.4.0.
  • #1222 API Updates
    • Add support for processing on PaymentIntent
  • #1220 API Updates

7.107.0 - 2021-12-09

  • #1219 API Updates
    • Add support for metadata on BillingPortal.Configuration
    • Add support for wallets on Issuing.Card

7.106.0 - 2021-12-09

  • #1218 API Updates
    • Add support for new values ge_vat and ua_vat on enum TaxId.type
  • #1216 Fix namespaced classes in @return PHPDoc.
  • #1214 Announce PHP8 support in CHANGELOG.md

7.105.0 - 2021-12-06

  • #1213 PHP 8.1 missing ReturnTypeWillChange annotations.
  • As of this version, PHP 8.1 is officially supported.

7.104.0 - 2021-12-01

  • #1211 PHPStan compatibility with PHP8.x
  • #1209 PHPUnit compatibility with PHP 8.x

7.103.0 - 2021-11-19

  • #1206 API Updates
    • Add support for new value jct on enum TaxRate.tax_type

7.102.0 - 2021-11-17

  • #1205 API Updates
    • Add support for automatic_payment_methods on PaymentIntent

7.101.0 - 2021-11-16

  • #1203 API Updates
    • Add support for new resource ShippingRate
    • Add support for shipping_options and shipping_rate on Checkout.Session
    • Add support for expire method on resource Checkout.Session
    • Add support for status on Checkout.Session

7.100.0 - 2021-10-11

  • #1190 API Updates
    • Add support for klarna on PaymentMethod.

7.99.0 - 2021-10-11

  • #1188 API Updates
    • Add support for list_payment_methods method on resource Customer

7.98.0 - 2021-10-07

  • #1187 API Updates
    • Add support for phone_number_collection on Checkout.Session
    • Add support for new value customer_id on enum Radar.ValueList.item_type
    • Add support for new value bbpos_wisepos_e on enum Terminal.Reader.device_type

7.97.0 - 2021-09-16

  • #1181 API Updates
    • Add support for full_name_aliases on Person

7.96.0 - 2021-09-15

  • #1178 API Updates
    • Add support for livemode on Reporting.ReportType
    • Add support for new value rst on enum TaxRate.tax_type

7.95.0 - 2021-09-01

  • #1177 API Updates
    • Add support for future_requirements on Account, Capability, and Person
    • Add support for after_expiration, consent, consent_collection, expires_at, and recovered_from on Checkout.Session

7.94.0 - 2021-08-19

  • #1173 API Updates
    • Add support for new value fil on enum Checkout.Session.locale
    • Add support for new value au_arn on enum TaxId.type

7.93.0 - 2021-08-11

  • #1172 API Updates

    • Add support for locale on BillingPortal.Session
  • #1171 Fix typo in docblock CurlClient::executeStreamingRequestWithRetries

7.92.0 - 2021-07-28

  • #1167 API Updates
    • Add support for account_type on BankAccount
    • Add support for new value redacted on enum Review.closed_reason

7.91.0 - 2021-07-22

  • #1164 API Updates
    • Add support for new values hr, ko, and vi on enum Checkout.Session.locale
    • Add support for payment_settings on Subscription

7.90.0 - 2021-07-20

  • #1163 API Updates
    • Add support for wallet on Issuing.Transaction
  • #1160 Remove unused API error types from docs.

7.89.0 - 2021-07-14

  • #1158 API Updates
    • Add support for list_computed_upfront_line_items method on resource Quote
  • #1157 Improve readme for old PHP versions

7.88.0 - 2021-07-09

  • #1152 API Updates
    • Add support for new resource Quote
    • Add support for quote on Invoice
    • Add support for new value quote_accept on enum Invoice.billing_reason
  • #1155 Add streaming methods to Service infra
    • Add support for setStreamingHttpClient and streamingHttpClient to ApiRequestor
    • Add support for getStreamingClient and requestStream to AbstractService
    • Add support for requestStream to BaseStripeClient
    • \Stripe\RequestOptions::parse now clones its input if it is already a RequestOptions object, to prevent accidental mutation.
  • #1151 Add mode constants into Checkout\Session

7.87.0 - 2021-06-30

  • #1149 API Updates
    • Add support for wechat_pay on PaymentMethod
  • #1143 Streaming requests
  • #1138 Deprecate travis

7.86.0 - 2021-06-25

  • #1145 API Updates
    • Add support for boleto on PaymentMethod.
    • Add support for il_vat as a member of the TaxID.Type enum.

7.85.0 - 2021-06-18

  • #1142 API Updates
    • Add support for new TaxId types: ca_pst_mb, ca_pst_bc, ca_gst_hst, and ca_pst_sk.

7.84.0 - 2021-06-16

  • #1141 Update PHPDocs
    • Add support for url on Checkout\Session

7.83.0 - 2021-06-07

  • #1140 API Updates
    • Added support for tax_id_collection on Checkout\Session and Checkout\Session#create
    • Update Location to be expandable on Terminal\Reader

7.82.0 - 2021-06-04

  • #1136 Update PHPDocs
    • Add support for controller on Account.

7.81.0 - 2021-06-04

  • #1135 API Updates
    • Add support for new resource TaxCode
    • Add support for automatic_tax Invoice andCheckout.Session.
    • Add support for tax_behavior on Price
    • Add support for tax_code on Product
    • Add support for tax on Customer
    • Add support for tax_type enum on TaxRate

7.80.0 - 2021-05-26

7.79.0 - 2021-05-19

  • #1126 API Updates
    • Added support for new resource Identity.VerificationReport
    • Added support for new resource Identity.VerificationSession
    • File#list.purpose and File.purpose added new enum members: identity_document_downloadable and selfie.

7.78.0 - 2021-05-05

  • #1120 Update PHPDocs
    • Add support for Radar.EarlyFraudWarning.payment_intent

7.77.0 - 2021-04-12

  • #1110 Update PHPDocs
    • Add support for acss_debit on PaymentMethod
    • Add support for payment_method_options on Checkout\Session
  • #1107 Remove duplicate object phpdoc

7.76.0 - 2021-03-22

  • #1100 Update PHPDocs
    • Added support for amount_shipping on Checkout.Session.total_details
  • #1088 Make possibility to extend CurlClient

7.75.0 - 2021-02-22

  • #1094 Add support for Billing Portal Configuration API

7.74.0 - 2021-02-17

  • #1093 Update PHPDocs
    • Add support for on_behalf_of to Invoice

7.73.0 - 2021-02-16

  • #1091 Update PHPDocs
    • Add support for afterpay_clearpay on PaymentMethod.

7.72.0 - 2021-02-08

  • #1089 Update PHPDocs
    • Add support for afterpay_clearpay_payments on Account.capabilities
    • Add support for payment_settings on Invoice

7.71.0 - 2021-02-05

  • #1087 Update PHPDocs
  • #1086 Update CA cert bundle URL

7.70.0 - 2021-02-03

  • #1085 Update PHPDocs
    • Add support for nationality on Person
    • Add member gb_vat of TaxID enum

7.69.0 - 2021-01-21

7.68.0 - 2021-01-14

  • #1063 Multiple API changes
  • #1061 Bump phpDocumentor to 3.0.0

7.67.0 - 2020-12-09

  • #1060 Improve PHPDocs for Discount
  • #1059 Upgrade PHPStan to 0.12.59
  • #1057 Bump PHP-CS-Fixer and update code

7.66.1 - 2020-12-01

  • #1054 Improve error message for invalid keys in StripeClient

7.66.0 - 2020-11-24

7.65.0 - 2020-11-19

  • #1050 Added constants for proration_behavior on Subscription

7.64.0 - 2020-11-18

7.63.0 - 2020-11-17

7.62.0 - 2020-11-09

  • #1041 Add missing constants on Event
  • #1038 Update PHPDocs

7.61.0 - 2020-10-20

  • #1030 Add support for jp_rn and ru_kpp as a type on TaxId

7.60.0 - 2020-10-15

  • #1027 Warn if opts are in params

7.58.0 - 2020-10-14

  • #1026 Add support for the Payout Reverse API

7.57.0 - 2020-09-29

  • #1020 Add support for the SetupAttempt resource and List API

7.56.0 - 2020-09-25

7.55.0 - 2020-09-24

  • #1018 Multiple API changes
    • Updated PHPDocs
    • Added TYPE_CONTRIBUTION as a constant on BalanceTransaction

7.54.0 - 2020-09-23

7.53.1 - 2020-09-22

  • #1015 Bugfix: don't error on systems with php_uname in disablefunctions with whitespace

7.53.0 - 2020-09-21

7.52.0 - 2020-09-08

7.51.0 - 2020-09-02

  • #1007 Multiple API changes
    • Add support for the Issuing Dispute Submit API
    • Add constants for payment_status on Checkout Session
  • #1003 Add trim to getSignatures to allow for leading whitespace.

7.50.0 - 2020-08-28

7.49.0 - 2020-08-19

  • #998 PHPDocs updated

7.48.0 - 2020-08-17

  • #997 PHPDocs updated
  • #996 Fixing telemetry

7.47.0 - 2020-08-13

  • #994 Nullable balance_transactions on issuing disputes
  • #991 Fix invalid return types in OAuthService

7.46.1 - 2020-08-07

  • #990 PHPdoc changes

7.46.0 - 2020-08-05

  • #989 Add support for the PromotionCode resource and APIs

7.45.0 - 2020-07-28

  • #981 PHPdoc updates

7.44.0 - 2020-07-20

  • #948 Add first() and last() functions to Collection

7.43.0 - 2020-07-17

  • #975 Add support for political_exposure on Person

7.42.0 - 2020-07-15

  • #974 Add new constants for purpose on File

7.41.1 - 2020-07-15

  • #973 Multiple PHPDoc fixes

7.41.0 - 2020-07-14

  • #971 Adds enum values for billing_address_collection on Checkout Session

7.40.0 - 2020-07-06

  • #964 Add OAuthService

7.39.0 - 2020-06-25

  • #960 Add constants for payment_behavior on Subscription

7.38.0 - 2020-06-24

  • #959 Add multiple constants missing for Event

7.37.2 - 2020-06-23

  • #957 Updated PHPDocs

7.37.1 - 2020-06-11

  • #952 Improve PHPDoc

7.37.0 - 2020-06-09

  • #950 Add support for id_npwp and my_frp as type on TaxId

7.36.2 - 2020-06-03

  • #946 Update PHPDoc

7.36.1 - 2020-05-28

  • #938 Remove extra array_keys() call.
  • #942 fix autopagination for service methods

7.36.0 - 2020-05-21

  • #937 Add support for ae_trn, cl_tin and sa_vat as type on TaxId

7.35.0 - 2020-05-20

  • #936 Add anticipation_repayment as a type on BalanceTransaction

7.34.0 - 2020-05-18

  • #934 Add support for issuing_dispute as a type on BalanceTransaction

7.33.1 - 2020-05-15

  • #933 Services bugfix: convert nested null params to empty strings

7.33.0 - 2020-05-14

  • #771 Introduce client/services API. The migration guide contains before & after examples of the backwards-compatible changes.

7.32.1 - 2020-05-13

  • #932 Fix multiple PHPDoc

7.32.0 - 2020-05-11

  • #931 Add support for the LineItem resource and APIs

7.31.0 - 2020-05-01

  • #927 Add support for new tax IDs

7.30.0 - 2020-04-29

  • #924 Add support for the Price resource and APIs

7.29.0 - 2020-04-22

  • #920 Add support for the Session resource and APIs on the BillingPortal namespace

7.28.1 - 2020-04-10

  • #915 Improve PHPdocs for many classes

7.28.0 - 2020-04-03

  • #912 Preserve backwards compatibility for typoed TYPE_ADJUSTEMENT enum.
  • #911 Codegenerated PHPDoc for nested resources
  • #902 Update docstrings for nested resources

7.27.3 - 2020-03-18

  • #899 Convert keys to strings in StripeObject::toArray()

7.27.2 - 2020-03-13

  • #894 Multiple PHPDocs changes

7.27.1 - 2020-03-03

  • #890 Update PHPdoc

7.27.0 - 2020-02-28

  • #889 Add new constants for type on TaxId

7.26.0 - 2020-02-26

  • #886 Add support for listing Checkout Session
  • #883 Add PHPDoc class descriptions

7.25.0 - 2020-02-14

  • #879 Make \Stripe\Collection implement \Countable
  • #875 Last set of PHP-CS-Fixer updates
  • #874 Enable php_unit_internal_class rule
  • #873 Add support for phpDocumentor in Makefile
  • #872 Another batch of PHP-CS-Fixer rule updates
  • #871 Fix a few PHPDoc comments
  • #870 More PHP-CS-Fixer tweaks

7.24.0 - 2020-02-10

  • #862 Better PHPDoc
  • #865 Get closer to @PhpCsFixer standard ruleset

7.23.0 - 2020-02-05

  • #860 Add PHPDoc types for expandable fields
  • #858 Use native_function_invocation PHPStan rule
  • #857 Update PHPDoc on nested resources
  • #855 PHPDoc: StripeObject -> ErrorObject where appropriate
  • #837 Autogen diff
  • #854 Upgrade PHPStan and fix settings
  • #850 Yet more PHPDoc updates

7.22.0 - 2020-01-31

  • #849 Add new constants for type on TaxId
  • #843 Even more PHPDoc fixes
  • #841 More PHPDoc fixes

7.21.1 - 2020-01-29

  • #840 Update phpdocs across multiple resources.

7.21.0 - 2020-01-28

  • #839 Add support for TYPE_ES_CIF on TaxId

7.20.0 - 2020-01-23

  • #836 Add new type values for TaxId

7.19.1 - 2020-01-14

  • #831 Fix incorrect UnexpectedValueException instantiation

7.19.0 - 2020-01-14

  • #830 Add support for CreditNoteLineItem

7.18.0 - 2020-01-13

  • #829 Don't call php_uname function if disabled by php.ini

7.17.0 - 2020-01-08

  • #821 Improve PHPDoc types for ApiErrorException.get/setJsonBody() methods

7.16.0 - 2020-01-06

  • #826 Rename remaining $options to $opts
  • #825 Update PHPDoc

7.15.0 - 2020-01-06

  • #824 Add constant TYPE_SG_UEN to TaxId

7.14.2 - 2019-12-04

  • #816 Disable autoloader when checking for Throwable

7.14.1 - 2019-11-26

  • #812 Fix invalid PHPdoc on Subscription

7.14.0 - 2019-11-26

  • #811 Add support for CreditNote preview.

7.13.0 - 2019-11-19

  • #808 Add support for listing lines on an Invoice directly via Invoice::allLines()

7.12.0 - 2019-11-08

  • #805 Add Source::allSourceTransactions and SubscriptionItem::allUsageRecordSummaries
  • #798 The argument of array_key_exists cannot be null
  • #803 Removed unwanted got

7.11.0 - 2019-11-06

  • #797 Add support for reverse pagination

7.10.0 - 2019-11-05

  • #795 Add support for Mandate

7.9.0 - 2019-11-05

  • #794 Add PHPDoc to ApiResponse
  • #792 Use single quotes for OBJECT_NAME constants

7.8.0 - 2019-11-05

  • #790 Mark nullable fields in PHPDoc
  • #788 Early codegen fixes
  • #787 Use PHPStan in Travis CI

7.7.1 - 2019-10-25

  • #781 Fix telemetry header
  • #780 Contributor Convenant

7.7.0 - 2019-10-23

  • #776 Add CAPABILITY_TRANSFERS to Account
  • #778 Add support for TYPE_MX_RFC type on TaxId

7.6.0 - 2019-10-22

  • #770 Add missing constants for Customer's TaxId

7.5.0 - 2019-10-18

  • #768 Redact API key in RequestOptions debug info

7.4.0 - 2019-10-15

  • #764 Add support for HTTP request monitoring callback

7.3.1 - 2019-10-07

  • #755 Respect Stripe-Should-Retry and Retry-After headers

7.3.0 - 2019-10-02

  • #752 Add payment_intent.canceled and setup_intent.canceled events
  • #749 Call toArray() on objects only

7.2.2 - 2019-09-24

  • #746 Add missing decline codes

7.2.1 - 2019-09-23

  • #744 Added new PHPDoc

7.2.0 - 2019-09-17

  • #738 Added missing constants for SetupIntent events

7.1.1 - 2019-09-16

  • #737 Added new PHPDoc

7.1.0 - 2019-09-13

  • #736 Make CaseInsensitiveArray countable and traversable

7.0.2 - 2019-09-06

  • #729 Fix usage of SignatureVerificationException in PHPDoc blocks

7.0.1 - 2019-09-05

  • #728 Clean up Collection

7.0.0 - 2019-09-03

Major version release. The migration guide contains a detailed list of backwards-incompatible changes with upgrade instructions.

Pull requests included in this release (cf. #552) (⚠️ = breaking changes):

  • ⚠️ Drop support for PHP 5.4 (#551)
  • ⚠️ Drop support for PHP 5.5 (#554)
  • Bump dependencies (#553)
  • Remove CURLFile check (#555)
  • Update constant definitions for PHP >= 5.6 (#556)
  • ⚠️ Remove FileUpload alias (#557)
  • Remove curl_reset check (#570)
  • Use \Stripe\<class>::class constant instead of strings (#643)
  • Use array_column to flatten params (#686)
  • ⚠️ Remove deprecated methods (#692)
  • ⚠️ Remove IssuerFraudRecord (#696)
  • Update constructors of Stripe exception classes (#559)
  • Fix remaining TODOs (#700)
  • Use yield for autopagination (#703)
  • ⚠️ Rename fake magic methods and rewrite array conversion (#704)
  • Add ErrorObject to Stripe exceptions (#705)
  • Start using PHP CS Fixer (#706)
  • Update error messages for nested resource operations (#708)
  • Upgrade retry logic (#707)
  • ⚠️ Collection improvements / fixes (#715)
  • ⚠️ Modernize exceptions (#709)
  • Add constants for error codes (#716)
  • Update certificate bundle (#717)
  • Retry requests on a 429 that's a lock timeout (#718)
  • Fix toArray() calls (#719)
  • Couple of fixes for PHP 7.4 (#725)

6.43.1 - 2019-08-29

  • #722 Make LoggerInterface::error compatible with its PSR-3 counterpart
  • #714 Add pending_setup_intent property in Subscription
  • #713 Add typehint to ApiResponse
  • #712 Fix comment
  • #701 Start testing PHP 7.3

6.43.0 - 2019-08-09

  • #694 Add SubscriptionItem::createUsageRecord method

6.42.0 - 2019-08-09

  • #688 Remove SubscriptionScheduleRevision
    • Note that this is technically a breaking change, however we've chosen to release it as a minor version in light of the fact that this resource and its API methods were virtually unused.

6.41.0 - 2019-07-31

  • #683 Move the List Balance History API to /v1/balance_transactions

6.40.0 - 2019-06-27

  • #675 Add support for SetupIntent resource and APIs

6.39.2 - 2019-06-26

  • #676 Fix exception message in CustomerBalanceTransaction::update()

6.39.1 - 2019-06-25

  • #674 Add new constants for collection_method on Invoice

6.39.0 - 2019-06-24

  • #673 Enable request latency telemetry by default

6.38.0 - 2019-06-17

  • #649 Add support for CustomerBalanceTransaction resource and APIs

6.37.2 - 2019-06-17

  • #671 Add new PHPDoc
  • #672 Add constants for submit_type on Checkout Session

6.37.1 - 2019-06-14

  • #670 Add new PHPDoc

6.37.0 - 2019-05-23

  • #663 Add support for radar.early_fraud_warning resource

6.36.0 - 2019-05-22

  • #661 Add constants for new TaxId types
  • #662 Add constants for BalanceTransaction types

6.35.2 - 2019-05-20

  • #655 Add constants for payment intent statuses
  • #659 Fix PHPDoc for various nested Account actions
  • #660 Fix various PHPDoc

6.35.1 - 2019-05-20

  • #658 Use absolute value when checking timestamp tolerance

6.35.0 - 2019-05-14

  • #651 Add support for the Capability resource and APIs

6.34.6 - 2019-05-13

  • #654 Fix typo in definition of Event::PAYMENT_METHOD_ATTACHED constant

6.34.5 - 2019-05-06

  • #647 Set the return type to static for more operations

6.34.4 - 2019-05-06

  • #650 Add missing constants for Event types

6.34.3 - 2019-05-01

  • #644 Update return type to static to improve static analysis
  • #645 Fix constant for payment_intent.payment_failed

6.34.2 - 2019-04-26

  • #642 Fix an issue where existing idempotency keys would be overwritten when using automatic retries

6.34.1 - 2019-04-25

  • #640 Add missing phpdocs

6.34.0 - 2019-04-24

  • #626 Add support for the TaxRate resource and APIs
  • #639 Fix multiple phpdoc issues

6.33.0 - 2019-04-22

  • #630 Add support for the TaxId resource and APIs

6.32.1 - 2019-04-19

  • #636 Correct type of $personId in PHPDoc

6.32.0 - 2019-04-18

  • #621 Add support for CreditNote

6.31.5 - 2019-04-12

  • #628 Add constants for person.* event types
  • #628 Add missing constants for Account and Person

6.31.4 - 2019-04-05

  • #624 Fix encoding of nested parameters in multipart requests

6.31.3 - 2019-04-02

  • #623 Only use HTTP/2 with curl >= 7.60.0

6.31.2 - 2019-03-25

  • #619 Fix PHPDoc return types for list methods for nested resources

6.31.1 - 2019-03-22

  • #612 Add a lot of constants
  • #614 Add missing subscription status constants

6.31.0 - 2019-03-18

  • #600 Add support for the PaymentMethod resource and APIs
  • #606 Add support for retrieving a Checkout Session
  • #611 Add support for deleting a Terminal Location and Reader

6.30.5 - 2019-03-11

  • #607 Correctly handle case where a metadata key is called metadata

6.30.4 - 2019-02-27

  • #602 Add subscription_schedule to Subscription for PHPDoc.

6.30.3 - 2019-02-26

  • #603 Improve PHPDoc on the Source object to cover all types of Sources currently supported.

6.30.2 - 2019-02-25

  • #601 Fix PHPDoc across multiple resources and add support for new events.

6.30.1 - 2019-02-16

  • #599 Fix PHPDoc for SubscriptionSchedule and SubscriptionScheduleRevision

6.30.0 - 2019-02-12

  • #590 Add support for SubscriptionSchedule and SubscriptionScheduleRevision

6.29.3 - 2019-01-31

  • #592 Some more PHPDoc fixes

6.29.2 - 2019-01-31

  • #591 Fix PHPDoc for nested resources

6.29.1 - 2019-01-25

  • #566 Fix dangling message contents
  • #586 Don't overwrite CURLOPT_HTTP_VERSION option

6.29.0 - 2019-01-23

  • #579 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.

6.28.1 - 2019-01-21

  • #580 Properly serialize individual on Account objects

6.28.0 - 2019-01-03

  • #576 Add support for iterating directly over Collection instances

6.27.0 - 2018-12-21

  • #571 Add support for the CheckoutSession resource

6.26.0 - 2018-12-11

  • #568 Enable persistent connections

6.25.0 - 2018-12-10

  • #567 Add support for account links

6.24.0 - 2018-11-28

  • #562 Add support for the Review resource
  • #564 Add event name constants for subscription schedule aborted/expiring

6.23.0 - 2018-11-27

  • #542 Add support for ValueList and ValueListItem for Radar

6.22.1 - 2018-11-20

  • #561 Add cast and some docs to telemetry introduced in 6.22.0/549

6.22.0 - 2018-11-15

  • #549 Add support for client telemetry

6.21.1 - 2018-11-12

  • #548 Don't mutate Exception class properties from OAuthBase error

6.21.0 - 2018-11-08

  • #537 Add new API endpoints for the Invoice resource.

6.20.1 - 2018-11-07

  • #546 Drop files from the Composer package that aren't needed in the release

6.20.0 - 2018-10-30

  • #536 Add support for the Person resource
  • #541 Add support for the WebhookEndpoint resource

6.19.5 - 2018-10-17

  • #539 Fix methods on \Stripe\PaymentIntent to properly pass arguments to the API.

6.19.4 - 2018-10-11

  • #534 Fix PSR-4 autoloading for \Stripe\FileUpload class alias

6.19.3 - 2018-10-09

  • #530 Add constants for flow (FLOW_*), status (STATUS_*) and usage (USAGE_*) on \Stripe\Source

6.19.2 - 2018-10-08

  • #531 Store HTTP response headers in case-insensitive array

6.19.1 - 2018-09-25

  • #526 Ignore null values in request parameters

6.19.0 - 2018-09-24

  • #523 Add support for Stripe Terminal

6.18.0 - 2018-09-24

  • #520 Rename \Stripe\FileUpload to \Stripe\File

6.17.2 - 2018-09-18

  • #522 Fix warning when adding a new additional owner to an existing array

6.17.1 - 2018-09-14

  • #517 Integer-index encode all sequential arrays

6.17.0 - 2018-09-05

  • #514 Add support for reporting resources

6.16.0 - 2018-08-23

  • #509 Add support for usage record summaries

6.15.0 - 2018-08-03

  • #504 Add cancel support for topups

6.14.0 - 2018-08-02

  • #505 Add support for file links

6.13.0 - 2018-07-31

  • #502 Add isDeleted() method to \Stripe\StripeObject

6.12.0 - 2018-07-28

  • #501 Add support for scheduled query runs (\Stripe\Sigma\ScheduledQueryRun) for Sigma

6.11.0 - 2018-07-26

  • #500 Add support for Stripe Issuing

6.10.4 - 2018-07-19

  • #498 Internal improvements to the \Stripe\ApiResource.classUrl() method

6.10.3 - 2018-07-16

  • #497 Use HTTP/2 only for HTTPS requests

6.10.2 - 2018-07-11

  • #494 Enable HTTP/2 support

6.10.1 - 2018-07-10

  • #493 Add PHPDoc for auto_advance on \Stripe\Invoice

6.10.0 - 2018-06-28

  • #488 Add support for $appPartnerId to Stripe::setAppInfo()

6.9.0 - 2018-06-28

  • #487 Add support for payment intents

6.8.2 - 2018-06-24

  • #486 Make Account.deauthorize() return the StripeObject from the API

6.8.1 - 2018-06-13

  • #472 Added phpDoc for ApiRequestor and others, especially regarding thrown errors

6.8.0 - 2018-06-13

  • #481 Add new \Stripe\Discount and \Stripe\OrderItem classes, add more PHPDoc describing object attributes

6.7.4 - 2018-05-29

  • #480 PHPDoc changes for API version 2018-05-21 and the addition of the new CHARGE_EXPIRED event type

6.7.3 - 2018-05-28

  • #479 Fix unnecessary traits on \Stripe\InvoiceLineItem

6.7.2 - 2018-05-28

  • #471 Add OBJECT_NAME constant to all API resource classes, add \Stripe\InvoiceLineItem class

6.7.1 - 2018-05-13

  • #468 Update fields in PHP docs for accuracy

6.7.0 - 2018-05-09

  • #466 Add support for issuer fraud records

6.6.0 - 2018-04-11

  • #460 Add support for flexible billing primitives

6.5.0 - 2018-04-05

  • #461 Don't zero keys on non-metadata subobjects

6.4.2 - 2018-03-17

  • #458 Add PHPDoc for account on \Stripe\Event

6.4.1 - 2018-03-02

  • #455 Fix namespaces in PHPDoc
  • #456 Fix namespaces for some exceptions

6.4.0 - 2018-02-28

  • #453 Add constants for reason (REASON_*) and status (STATUS_*) on \Stripe\Dispute

6.3.2 - 2018-02-27

  • #452 Add PHPDoc for amount_paid and amount_remaining on \Stripe\Invoice

6.3.1 - 2018-02-26

  • #443 Add event types as constants to \Stripe\Event class

6.3.0 - 2018-02-23

  • #450 Add support for code attribute on all Stripe exceptions

6.2.0 - 2018-02-21

  • #440 Add support for topups
  • #442 Fix PHPDoc for \Stripe\Error\SignatureVerification

6.1.0 - 2018-02-12

  • #435 Fix header persistence on Collection objects
  • #436 Introduce new Idempotency error class

6.0.0 - 2018-02-07

Major version release. List of backwards incompatible changes to watch out for:

  • The minimum PHP version is now 5.4.0. If you're using PHP 5.3 or older, consider upgrading to a more recent version.
  • \Stripe\AttachedObject no longer exists. Attributes that used to be instances of \Stripe\AttachedObject (such as metadata) are now instances of \Stripe\StripeObject.
  • Attributes that used to be PHP arrays (such as legal_entity->additional_owners on \Stripe\Account instances) are now instances of \Stripe\StripeObject, except when they are empty. \Stripe\StripeObject has array semantics so this should not be an issue unless you are actively checking types.
  • \Stripe\Collection now derives from \Stripe\StripeObject rather than from \Stripe\ApiResource.

Pull requests included in this release:

  • #410 Drop support for PHP 5.3
  • #411 Use traits for common API operations
  • #414 Use short array syntax
  • #404 Fix serialization logic
  • #417 Remove ExternalAccount class
  • #418 Increase test coverage
  • #421 Update CA bundle and add script for future updates
  • #422 Use vendored CA bundle for all requests
  • #428 Support for automatic request retries

5.9.2 - 2018-02-07

  • #431 Update PHPDoc @property tags for latest API version

5.9.1 - 2018-02-06

  • #427 Add and update PHPDoc @property tags on all API resources

5.9.0 - 2018-01-17

  • #421 Updated bundled CA certificates
  • #423 Escape unsanitized input in OAuth example

5.8.0 - 2017-12-20

  • #403 Add __debugInfo() magic method to StripeObject

5.7.0 - 2017-11-28

  • #390 Remove some unsupported API methods
  • #391 Alphabetize the list of API resources in Util::convertToStripeObject() and add missing resources
  • #393 Fix expiry date update for card sources

5.6.0 - 2017-10-31

  • #386 Support for exchange rates APIs

5.5.1 - 2017-10-30

  • #387 Allow personal_address_kana and personal_address_kanji to be updated on an account

5.5.0 - 2017-10-27

  • #385 Support for listing source transactions

5.4.0 - 2017-10-24

  • #383 Add static methods to manipulate resources from parent
    • Account gains methods for external accounts and login links (e.g. createExternalAccount, createLoginLink)
    • ApplicationFee gains methods for refunds
    • Customer gains methods for sources
    • Transfer gains methods for reversals

5.3.0 - 2017-10-11

  • #378 Rename source delete to detach (and deprecate the former)

5.2.3 - 2017-09-27

  • Add PHPDoc for Card

5.2.2 - 2017-09-20

  • Fix deserialization mapping of FileUpload objects

5.2.1 - 2017-09-14

  • Serialized shipping nested attribute

5.2.0 - 2017-08-29

  • Add support for InvalidClient OAuth error

5.1.3 - 2017-08-14

  • Allow address_kana and address_kanji to be updated for custom accounts

5.1.2 - 2017-08-01

  • Fix documented return type of autoPagingIterator() (was missing namespace)

5.1.1 - 2017-07-03

  • Fix order returns to use the right URL /v1/order_returns

5.1.0 - 2017-06-30

  • Add support for OAuth

5.0.0 - 2017-06-27

  • pay on invoice now takes params as well as opts

4.13.0 - 2017-06-19

  • Add support for ephemeral keys

4.12.0 - 2017-06-05

  • Clients can implement getUserAgentInfo() to add additional user agent information

4.11.0 - 2017-06-05

  • Implement Countable for AttachedObject (metadata and additional_owners)

4.10.0 - 2017-05-25

  • Add support for login links

4.9.1 - 2017-05-10

  • Fix docs to include arrays on $id parameter for retrieve methods

4.9.0 - 2017-04-28

  • Support for checking webhook signatures

4.8.1 - 2017-04-24

  • Allow nested field payout_schedule to be updated

4.8.0 - 2017-04-20

  • Add \Stripe\Stripe::setLogger() to support an external PSR-3 compatible logger

4.7.0 - 2017-04-10

  • Add support for payouts and recipient transfers

4.6.0 - 2017-04-06

  • Please see 4.7.0 instead (no-op release)

4.5.1 - 2017-03-22

  • Remove hard dependency on cURL

4.5.0 - 2017-03-20

  • Support for detaching sources from customers

4.4.2 - 2017-02-27

  • Correct handling of owner parameter when updating sources

4.4.1 - 2017-02-24

  • Correct the error check on a bad JSON decoding

4.4.0 - 2017-01-18

  • Add support for updating sources

4.3.0 - 2016-11-30

  • Add support for verifying sources

4.2.0 - 2016-11-21

  • Add retrieve method for 3-D Secure resources

4.1.1 - 2016-10-21

  • Add docblock with model properties for Plan

4.1.0 - 2016-10-18

  • Support for 403 status codes (permission denied)

4.0.1 - 2016-10-17

  • Fix transfer reversal materialization
  • Fixes for some property definitions in docblocks

4.0.0 - 2016-09-28

  • Support for subscription items
  • Drop attempt to force TLS 1.2: please note that this could be breaking if you're using old OS distributions or packages and upgraded recently (so please make sure to test your integration!)

3.23.0 - 2016-09-15

  • Add support for Apple Pay domains

3.22.0 - 2016-09-13

  • Add Stripe::setAppInfo to allow plugins to register user agent information

3.21.0 - 2016-08-25

  • Add Source model for generic payment sources

3.20.0 - 2016-08-08

  • Add getDeclineCode to card errors

3.19.0 - 2016-07-29

  • Opt requests directly into TLS 1.2 where OpenSSL >= 1.0.1 (see #277 for context)

3.18.0 - 2016-07-28

  • Add new STATUS_ constants for subscriptions

3.17.1 - 2016-07-28

  • Fix auto-paging iterator so that it plays nicely with iterator_to_array

3.17.0 - 2016-07-14

  • Add field annotations to model classes for better editor hinting

3.16.0 - 2016-07-12

  • Add ThreeDSecure model for 3-D secure payments

3.15.0 - 2016-06-29

  • Add static update method to all resources that can be changed.

3.14.3 - 2016-06-20

  • Make sure that cURL never sends Expects: 100-continue, even on large request bodies

3.14.2 - 2016-06-03

  • Add inventory under SKU to list of keys that have nested data and can be updated

3.14.1 - 2016-05-27

  • Fix some inconsistencies in PHPDoc

3.14.0 - 2016-05-25

  • Add support for returning Relay orders

3.13.0 - 2016-05-04

  • Add list, create, update, retrieve, and delete methods to the Subscription class

3.12.1 - 2016-04-07

  • Additional check on value arrays for some extra safety

3.12.0 - 2016-03-31

  • Fix bug refreshFrom on StripeObject would not take an $opts array
  • Fix bug where $opts not passed to parent save method in Account
  • Fix bug where non-existent variable was referenced in reverse in Transfer
  • Update CA cert bundle for compatibility with OpenSSL versions below 1.0.1

3.11.0 - 2016-03-22

  • Allow CurlClient to be initialized with default CURLOPT_* options

3.10.1 - 2016-03-22

  • Fix bug where request params and options were ignored in ApplicationFee's refund.

3.10.0 - 2016-03-15

  • Add reject on Account to support the new API feature

3.9.2 - 2016-03-04

  • Fix error when an object's metadata is set more than once

3.9.1 - 2016-02-24

  • Fix encoding behavior of nested arrays for requests (see #227)

3.9.0 - 2016-02-09

  • Add automatic pagination mechanism with autoPagingIterator()
  • Allow global account ID to be set with Stripe::setAccountId()

3.8.0 - 2016-02-08

  • Add CountrySpec model for looking up country payment information

3.7.1 - 2016-02-01

  • Update bundled CA certs

3.7.0 - 2016-01-27

  • Support deleting Relay products and SKUs

3.6.0 - 2016-01-05

  • Allow configuration of HTTP client timeouts

3.5.0 - 2015-12-01

  • Add a verification routine for external accounts

3.4.0 - 2015-09-14

3.3.0 - 2015-09-11

  • Add support for 429 Rate Limit response

3.2.0 - 2015-08-17

  • Add refund listing and retrieval without an associated charge

3.1.0 - 2015-08-03

  • Add dispute listing and retrieval
  • Add support for manage account deletion

3.0.0 - 2015-07-28

  • Rename \Stripe\Object to \Stripe\StripeObject (PHP 7 compatibility)
  • Rename getCode and getParam in exceptions to getStripeCode and getStripeParam
  • Add support for calling json_encode on Stripe objects in PHP 5.4+
  • Start supporting/testing PHP 7

2.3.0 - 2015-07-06

  • Add request ID to all Stripe exceptions

2.2.0 - 2015-06-01

  • Add support for Alipay accounts as sources
  • Add support for bank accounts as sources (private beta)
  • Add support for bank accounts and cards as external_accounts on Account objects

2.1.4 - 2015-05-13

  • Fix CA certificate file path (thanks @lphilps & @matthewarkin)

2.1.3 - 2015-05-12

  • Fix to account updating to permit tos_acceptance and personal_address to be set properly
  • Fix to Transfer reversal creation (thanks @neatness!)
  • Network requests are now done through a swappable class for easier mocking

2.1.2 - 2015-04-10

  • Remove SSL cert revokation checking (all pre-Heartbleed certs have expired)
  • Bug fixes to account updating

2.1.1 - 2015-02-27

  • Support transfer reversals

2.1.0 - 2015-02-19

  • Support new API version (2015-02-18)
  • Added Bitcoin Receiever update and delete actions
  • Edited tests to prefer "source" over "card" as per new API version

2.0.1 - 2015-02-16

  • Fix to fetching endpoints that use a non-default baseUrl (FileUpload)

2.0.0 - 2015-02-14

  • Bumped minimum version to 5.3.3
  • Switched to Stripe namespace instead of Stripe_ class name prefiexes (thanks @chadicus!)
  • Switched tests to PHPUnit (thanks @chadicus!)
  • Switched style guide to PSR2 (thanks @chadicus!)
  • Added $opts hash to the end of most methods: this permits passing 'idempotency_key', 'stripe_account', or 'stripe_version'. The last 2 will persist across multiple object loads.
  • Added support for retrieving Account by ID

1.18.0 - 2015-01-21

  • Support making bitcoin charges through BitcoinReceiver source object

1.17.5 - 2014-12-23

  • Adding support for creating file uploads.

1.17.4 - 2014-12-15

  • Saving objects fetched with a custom key now works (thanks @JustinHook & @jpasilan)
  • Added methods for reporting charges as safe or fraudulent and for specifying the reason for refunds

1.17.3 - 2014-11-06

  • Better handling of HHVM support for SSL certificate blacklist checking.

1.17.2 - 2014-09-23

  • Coupons now are backed by a Stripe_Coupon instead of Stripe_Object, and support updating metadata
  • Running operations (create, retrieve, all) on upcoming invoice items now works

1.17.1 - 2014-07-31

  • Requests now send Content-Type header

1.17.0 - 2014-07-29

  • Application Fee refunds now a list instead of array
  • HHVM now works
  • Small bug fixes (thanks @bencromwell & @fastest963)
  • __toString now returns the name of the object in addition to its JSON representation

1.16.0 - 2014-06-17

  • Add metadata for refunds and disputes

1.15.0 - 2014-05-28

  • Support canceling transfers

1.14.1 - 2014-05-21

  • Support cards for recipients.

1.13.1 - 2014-05-15

  • Fix bug in account resource where id wasn't in the result

1.13.0 - 2014-04-10

  • Add support for certificate blacklisting
  • Update ca bundle
  • Drop support for HHVM (Temporarily)

1.12.0 - 2014-04-01

  • Add Stripe_RateLimitError for catching rate limit errors.
  • Update to Zend coding style (thanks, @jpiasetz)

1.11.0 - 2014-01-29

  • Add support for multiple subscriptions per customer

1.10.1 - 2013-12-02

  • Add new ApplicationFee

1.9.1 - 2013-11-08

  • Fix a bug where a null nestable object causes warnings to fire.

1.9.0 - 2013-10-16

  • Add support for metadata API.

1.8.4 - 2013-09-18

  • Add support for closing disputes.

1.8.3 - 2013-08-13

  • Add new Balance and BalanceTransaction

1.8.2 - 2013-08-12

  • Add support for unsetting attributes by updating to NULL. Setting properties to a blank string is now an error.

1.8.1 - 2013-07-12

1.8.0 - 2013-04-11

  • Allow Transfers to be creatable
  • Add new Recipient resource

1.7.15 - 2013-02-21

  • Add 'id' to the list of permanent object attributes

1.7.14 - 2013-02-20

  • Don't re-encode strings that are already encoded in UTF-8. If you were previously using plan or coupon objects with UTF-8 IDs, they may have been treated as ISO-8859-1 (Latin-1) and encoded to UTF-8 a 2nd time. You may now need to pass the IDs to utf8_encode before passing them to Stripe_Plan::retrieve or Stripe_Coupon::retrieve.
  • Ensure that all input is encoded in UTF-8 before submitting it to Stripe's servers. (github issue #27)

1.7.13 - 2013-02-01

  • Add support for passing options when retrieving Stripe objects e.g., Stripe_Charge::retrieve(array("id"=>"foo", "expand" => array("customer"))); Stripe_Charge::retrieve("foo") will continue to work

1.7.12 - 2013-01-15

  • Add support for setting a Stripe API version override

1.7.11 - 2012-12-30

  • Version bump to cleanup constants and such (fix issue #26)

1.7.10 - 2012-11-08

  • Add support for updating charge disputes.
  • Fix bug preventing retrieval of null attributes

1.7.9 - 2012-11-08

  • Fix usage under autoloaders such as the one generated by composer (fix issue #22)

1.7.8 - 2012-10-30

  • Add support for creating invoices.
  • Add support for new invoice lines return format
  • Add support for new list objects

1.7.7 - 2012-09-14

  • Get all of the various version numbers in the repo in sync (no other changes)

1.7.6 - 2012-08-31

  • Add update and pay methods to Invoice resource

1.7.5 - 2012-08-23

  • Change internal function names so that Stripe_SingletonApiRequest is E_STRICT-clean (github issue #16)

1.7.4 - 2012-08-21

  • Bugfix so that Stripe objects (e.g. Customer, Charge objects) used in API calls are transparently converted to their object IDs

1.7.3 - 2012-08-15

  • Add new Account resource

1.7.2 - 2012-06-26

  • Make clearer that you should be including lib/Stripe.php, not test/Stripe.php (github issue #14)

1.7.1 - 2012-05-24

  • Add missing argument to Stripe_InvalidRequestError constructor in Stripe_ApiResource::instanceUrl. Fixes a warning when Stripe_ApiResource::instanceUrl is called on a resource with no ID (fix issue #12)

1.7.0 - 2012-05-17

  • Support Composer and Packagist (github issue #9)
  • Add new deleteDiscount method to Stripe_Customer
  • Add new Transfer resource
  • Switch from using HTTP Basic auth to Bearer auth. (Note: Stripe will support Basic auth for the indefinite future, but recommends Bearer auth when possible going forward)
  • Numerous test suite improvements