Skip to content

Releases: stripe/stripe-php

v16.5.0-beta.1

20 Dec 18:08
Compare
Choose a tag to compare
v16.5.0-beta.1 Pre-release
Pre-release
  • #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
    PHPStorm IDE with array type hints

    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.

    https://github.com/stripe/stripe-php/blob/bae10cd799404f0f4862ec03810c5ff8ca634b30/lib/Customer.php#L25

    Now you will be able to reference custom_fields and rendering_options on customer->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
     */

See the changelog for more details.

v16.4.0

18 Dec 23:42
Compare
Choose a tag to compare
  • #1793 This release changes the pinned API version to 2024-12-18.acacia.
    • Add support for network_advice_code and network_decline_code on StripeError
    • Add support for new values payout_minimum_balance_hold and payout_minimum_balance_release on enum BalanceTransaction.type
    • Add support for allow_redisplay on Card and Source
    • Add support for regulated_status on Card
    • Add support for new value request_signature on enum Forwarding.Request.replacements[]
    • Change type of LineItem.description from string to nullable(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, and zw_tin on enum TaxId.type

See the changelog for more details.

v16.4.0-beta.3

12 Dec 22:57
Compare
Choose a tag to compare
v16.4.0-beta.3 Pre-release
Pre-release
  • #1792 Update generated code for beta
    • Add support for allow_redisplay on Card and Source
    • Remove support for amount_refunded on PaymentRecord

See the changelog for more details.

v16.4.0-beta.2

05 Dec 21:20
Compare
Choose a tag to compare
v16.4.0-beta.2 Pre-release
Pre-release
  • #1790 Update generated code for beta
    • Add support for new values payout_minimum_balance_hold and payout_minimum_balance_release on enum BalanceTransaction.type

See the changelog for more details.

v16.4.0-beta.1

21 Nov 21:11
Compare
Choose a tag to compare
v16.4.0-beta.1 Pre-release
Pre-release
  • #1788 Update generated code for beta
    • Add support for network_advice_code and network_decline_code on StripeError
    • Add support for new value invoice.overpaid on enum Event.type
    • Add support for adjustable_quantity, display, and metadata on LineItem
    • Change type of LineItem.description from string to nullable(string)

See the changelog for more details.

v16.3.0

20 Nov 23:30
Compare
Choose a tag to compare
  • #1786 This release changes the pinned API version to 2024-11-20.acacia.
    • Add support for respond test helper method on resource Issuing.Authorization
    • Add support for adaptive_pricing on Checkout.Session
    • Add support for new value subscribe on enums Checkout.Session.submit_type and PaymentLink.submit_type
    • Add support for new value financial_account_statement on enum File.purpose
    • Add support for fraud_challenges and verified_by_fraud_challenge on Issuing.Authorization
    • Add support for trace_id on Payout
    • Add support for new value li_vat on enum TaxId.type
    • Add support for new value service_tax on enum TaxRate.tax_type
    • Change type of Treasury.InboundTransfer.origin_payment_method from string to nullable(string)

See the changelog for more details.

v16.3.0-beta.3

15 Nov 00:00
Compare
Choose a tag to compare
v16.3.0-beta.3 Pre-release
Pre-release
  • #1784 Update generated code for beta

See the changelog for more details.

v16.3.0-beta.2

07 Nov 22:12
Compare
Choose a tag to compare
v16.3.0-beta.2 Pre-release
Pre-release
  • #1783 Update generated code for beta
    • Add support for new resources Issuing.FraudLiabilityDebit, PaymentAttemptRecord, and PaymentRecord
    • Add support for all and retrieve methods on resources FraudLiabilityDebit and PaymentAttemptRecord
    • Add support for report_payment_attempt_canceled, report_payment_attempt_failed, report_payment_attempt_guaranteed, report_payment_attempt, report_payment, and retrieve methods on resource PaymentRecord
    • Add support for adaptive_pricing on Checkout.Session
    • Add support for new values invoice.payment_attempt_required and issuing_fraud_liability_debit.created on enum Event.type
    • Add support for amount_overpaid on Invoice
    • Add support for new value li_vat on enum TaxId.type
    • Add support for new value service_tax on enum TaxRate.tax_type
    • Change type of Treasury.InboundTransfer.origin_payment_method from string to nullable(string)

See the changelog for more details.

v16.3.0-beta.1

29 Oct 23:07
Compare
Choose a tag to compare
v16.3.0-beta.1 Pre-release
Pre-release
  • #1780 Update generated code for beta
    • Add support for trigger_action method on resource PaymentIntent
    • Remove support for value payout_statement_descriptor_profanity from enum StripeError.code
    • Add support for id_bank_transfer on PaymentMethodConfiguration and PaymentMethod
    • Add support for gopay, qris, and shopeepay on PaymentMethodConfiguration

See the changelog for more details.

v16.2.0

29 Oct 21:15
Compare
Choose a tag to compare
  • #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 and ping methods on resource V2.EventDestinations
    • Add support for submit_card test helper method on resource Issuing.Card
    • Add support for groups on Account
    • Add support for enhanced_eligibility_types on Dispute
    • Add support for new values issuing_transaction.purchase_details_receipt_updated and refund.failed on enum Event.type
    • Add support for metadata on Forwarding.Request
    • Add support for new value alma on enum PaymentLink.payment_method_types[]
    • Add support for alma on PaymentMethodConfiguration and PaymentMethod
    • Add support for kakao_pay, kr_card, naver_pay, payco, and samsung_pay on PaymentMethod
    • Add support for new values alma, kakao_pay, kr_card, naver_pay, payco, and samsung_pay on enum PaymentMethod.type
    • Add support for amazon_pay on PaymentMethodDomain
    • Add support for new values by_tin, ma_vat, md_vat, tz_vat, uz_tin, and uz_vat on enum TaxId.type
    • Add support for flat_amount and rate_type on TaxRate
    • Add support for new value retail_delivery_fee on enum TaxRate.tax_type

See the changelog for more details.