NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #219 most downloaded on Packagist
Stripe PHP Library
Latest stable
v23.1.0
Last release 3 days ago
19 Nov 2026
Ships on a steady schedule
a new release about every 2 weeks
Nearly every release is documented
notes for 54 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
721 releases · first in 2012
Drag across the ruler to compare, or tap a release to open it.
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 plea
Add support for Apple Pay domains
Add Stripe::setAppInfo to allow plugins to register user agent information
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Stripe::setAppInfo to allow plugins to register user agent informationAdd Source model for generic payment sources
Source model for generic payment sourcesAdd getDeclineCode to card errors
getDeclineCode to card errorsOpt requests directly into TLS 1.2 where OpenSSL >= 1.0.1 (see #277 for context)
Add new STATUS_ constants for subscriptions
STATUS_ constants for subscriptionsFix auto-paging iterator so that it plays nicely with iterator_to_array
iterator_to_arrayAdd field annotations to model classes for better editor hinting
Add ThreeDSecure model for 3-D secure payments
ThreeDSecure model for 3-D secure paymentsAdd static update method to all resources that can be changed.
update method to all resources that can be changed.Make sure that cURL never sends Expects: 100-continue, even on large request bodies
Expects: 100-continue, even on large request bodiesAdd inventory under SKU to list of keys that have nested data and can be updated
inventory under SKU to list of keys that have nested data and can be updatedFix some inconsistencies in PHPDoc
Add support for returning Relay orders
Add list, create, update, retrieve, and delete methods to the Subscription class
list, create, update, retrieve, and delete methods to the Subscription classAdditional check on value arrays for some extra safety
Fix bug refreshFrom on StripeObject would not take an $opts array
refreshFrom on StripeObject would not take an $opts array$opts not passed to parent save method in Accountreverse in TransferAllow CurlClient to be initialized with default CURLOPT_* options
CurlClient to be initialized with default CURLOPT_* optionsFix bug where request params and options were ignored in ApplicationFee's refund.
ApplicationFee's refund.Add reject on Account to support the new API feature
reject on Account to support the new API featureFix error when an object's metadata is set more than once
Fix encoding behavior of nested arrays for requests (see #227)
Add automatic pagination mechanism with autoPagingIterator()
autoPagingIterator()Stripe::setAccountId()Add CountrySpec model for looking up country payment information
CountrySpec model for looking up country payment information* Update bundled CA certs
Support deleting Relay products and SKUs
Allow configuration of HTTP client timeouts
Add a verification routine for external accounts
Products, SKUs, and Orders -- https://stripe.com/relay
Add support for 429 Rate Limit response
Add refund listing and retrieval without an associated charge
Add dispute listing and retrieval
Add support for calling json_encode on Stripe objects in PHP 5.4+
json_encode on Stripe objects in PHP 5.4+getCode and getParam in exceptions to getStripeCode and getStripeParam\Stripe\Object to \Stripe\StripeObject (PHP 7 compatibility)Add request ID to all Stripe exceptions
Add support for Alipay accounts as sources
Fix CA certificate file path (thanks @lphilps & @matthewarkin)
Fix to account updating to permit tos_acceptance and personal_address to be set properly
tos_acceptance and personal_address to be set properlyRemove SSL cert revokation checking (all pre-Heartbleed certs have expired)
* Support transfer reversals
Added Bitcoin Receiever update and delete actions
Fix to fetching endpoints that use a non-default baseUrl (FileUpload)
FileUpload)Added \$opts hash to the end of most methods: this permits passing 'idempotency_key', 'stripe_account', or 'stripe_version'. The last 2 will persist a
Support making bitcoin charges through BitcoinReceiver source object
Adding support for creating file uploads.
Added methods for reporting charges as safe or fraudulent and for specifying the reason for refunds
Better handling of HHVM support for SSL certificate blacklist checking.
Coupons now are backed by a Stripe_Coupon instead of Stripe_Object, and support updating metadata
Stripe_Coupon instead of Stripe_Object, and support updating metadatacreate, retrieve, all) on upcoming invoice items now worksRequests now send Content-Type header
Application Fee refunds now a list instead of array
__toString now returns the name of the object in addition to its JSON representationAdd metadata for refunds and disputes
* Support canceling transfers
* Support cards for recipients.
Fix bug in account resource where id wasn't in the result
id wasn't in the resultAdd support for certificate blacklisting
Add Stripe_RateLimitError for catching rate limit errors.
Add support for multiple subscriptions per customer
* Add new ApplicationFee
Fix a bug where a null nestable object causes warnings to fire.
* Add support for metadata API.
One column per quarter.