Releases: stripe/stripe-php
Releases · stripe/stripe-php
v16.5.0-beta.1
-
#1794 Improved php type hints
Adds Create/Update/Retrieve/Delete/All/Search parameters
You will now be able to get type hints of the keys that can passed without switching out of your IDE. Eg.
* @param null|array{customer:string, components: array} $params
Updated StripeObject class properties
We changed the type of class properties from
StripeObject
to something more specific.For example: Invoice settings was defined as a StripeObject in Customer resource.
Now you will be able to reference
custom_fields
andrendering_options
oncustomer->invoice_settings
without PHPStan complaining.* @property object{custom_fields: null|object{name: string, value: string}&\Stripe\StripeObject&\stdClass[], default_payment_method: null|string|\Stripe\PaymentMethod, footer: null|string, rendering_options: null|object{amount_tax_display: null|string, template: null|string}&\Stripe\StripeObject&\stdClass}&\Stripe\StripeObject&\stdClass $invoice_settings */
v16.4.0
- #1793 This release changes the pinned API version to
2024-12-18.acacia
.- Add support for
network_advice_code
andnetwork_decline_code
onStripeError
- Add support for new values
payout_minimum_balance_hold
andpayout_minimum_balance_release
on enumBalanceTransaction.type
- Add support for
allow_redisplay
onCard
andSource
- Add support for
regulated_status
onCard
- Add support for new value
request_signature
on enumForwarding.Request.replacements[]
- Change type of
LineItem.description
fromstring
tonullable(string)
- Add support for new values
al_tin
,am_tin
,ao_tin
,ba_tin
,bb_tin
,bs_tin
,cd_nif
,gn_nif
,kh_tin
,me_pib
,mk_vat
,mr_nif
,np_pan
,sn_ninea
,sr_fin
,tj_tin
,ug_tin
,zm_tin
, andzw_tin
on enumTaxId.type
- Add support for
v16.4.0-beta.3
- #1792 Update generated code for beta
- Add support for
allow_redisplay
onCard
andSource
- Remove support for
amount_refunded
onPaymentRecord
- Add support for
v16.4.0-beta.2
- #1790 Update generated code for beta
- Add support for new values
payout_minimum_balance_hold
andpayout_minimum_balance_release
on enumBalanceTransaction.type
- Add support for new values
v16.4.0-beta.1
- #1788 Update generated code for beta
- Add support for
network_advice_code
andnetwork_decline_code
onStripeError
- Add support for new value
invoice.overpaid
on enumEvent.type
- Add support for
adjustable_quantity
,display
, andmetadata
onLineItem
- Change type of
LineItem.description
fromstring
tonullable(string)
- Add support for
v16.3.0
- #1786 This release changes the pinned API version to
2024-11-20.acacia
.- Add support for
respond
test helper method on resourceIssuing.Authorization
- Add support for
adaptive_pricing
onCheckout.Session
- Add support for new value
subscribe
on enumsCheckout.Session.submit_type
andPaymentLink.submit_type
- Add support for new value
financial_account_statement
on enumFile.purpose
- Add support for
fraud_challenges
andverified_by_fraud_challenge
onIssuing.Authorization
- Add support for
trace_id
onPayout
- Add support for new value
li_vat
on enumTaxId.type
- Add support for new value
service_tax
on enumTaxRate.tax_type
- Change type of
Treasury.InboundTransfer.origin_payment_method
fromstring
tonullable(string)
- Add support for
v16.3.0-beta.3
- #1784 Update generated code for beta
v16.3.0-beta.2
- #1783 Update generated code for beta
- Add support for new resources
Issuing.FraudLiabilityDebit
,PaymentAttemptRecord
, andPaymentRecord
- Add support for
all
andretrieve
methods on resourcesFraudLiabilityDebit
andPaymentAttemptRecord
- Add support for
report_payment_attempt_canceled
,report_payment_attempt_failed
,report_payment_attempt_guaranteed
,report_payment_attempt
,report_payment
, andretrieve
methods on resourcePaymentRecord
- Add support for
adaptive_pricing
onCheckout.Session
- Add support for new values
invoice.payment_attempt_required
andissuing_fraud_liability_debit.created
on enumEvent.type
- Add support for
amount_overpaid
onInvoice
- Add support for new value
li_vat
on enumTaxId.type
- Add support for new value
service_tax
on enumTaxRate.tax_type
- Change type of
Treasury.InboundTransfer.origin_payment_method
fromstring
tonullable(string)
- Add support for new resources
v16.3.0-beta.1
- #1780 Update generated code for beta
- Add support for
trigger_action
method on resourcePaymentIntent
- Remove support for value
payout_statement_descriptor_profanity
from enumStripeError.code
- Add support for
id_bank_transfer
onPaymentMethodConfiguration
andPaymentMethod
- Add support for
gopay
,qris
, andshopeepay
onPaymentMethodConfiguration
- Add support for
v16.2.0
- #1772 This release changes the pinned API version to
2024-10-28.acacia
.- Add support for new resource
V2.EventDestinations
- Add support for
create
,retrieve
,update
,list
,delete
,disable
,enable
andping
methods on resourceV2.EventDestinations
- Add support for
submit_card
test helper method on resourceIssuing.Card
- Add support for
groups
onAccount
- Add support for
enhanced_eligibility_types
onDispute
- Add support for new values
issuing_transaction.purchase_details_receipt_updated
andrefund.failed
on enumEvent.type
- Add support for
metadata
onForwarding.Request
- Add support for new value
alma
on enumPaymentLink.payment_method_types[]
- Add support for
alma
onPaymentMethodConfiguration
andPaymentMethod
- Add support for
kakao_pay
,kr_card
,naver_pay
,payco
, andsamsung_pay
onPaymentMethod
- Add support for new values
alma
,kakao_pay
,kr_card
,naver_pay
,payco
, andsamsung_pay
on enumPaymentMethod.type
- Add support for
amazon_pay
onPaymentMethodDomain
- Add support for new values
by_tin
,ma_vat
,md_vat
,tz_vat
,uz_tin
, anduz_vat
on enumTaxId.type
- Add support for
flat_amount
andrate_type
onTaxRate
- Add support for new value
retail_delivery_fee
on enumTaxRate.tax_type
- Add support for new resource