Releases: chargebee/chargebee-php
Releases · chargebee/chargebee-php
v4.18.0
v4.18.0 (2025-03-03)
PSR-18 / PSR-17 HTTP client injection (backward compatible):
- Direct PSR-18 injection: You can now inject a
Psr\Http\Client\ClientInterface(PSR-18) directly intoChargebeeClientwithout implementing the Chargebee-specificHttpClientFactoryinterface. - Optional PSR-17 factories: When using a PSR-18 client, you may optionally pass
RequestFactoryInterfaceandStreamFactoryInterface(PSR-17). When omitted, php-http/discovery auto-discovers any installed PSR-17 implementation. - New adapter:
Chargebee\HttpClient\PsrClientAdapterwraps a PSR-18 client and builds PSR-7 requests using the injected or discovered PSR-17 request/stream factories. - Backward compatibility: The existing
HttpClientFactoryinjection path and the defaultGuzzleFactoryare unchanged.
New dependencies (require):
php-http/discovery^1.0psr/http-factory^1.0
v4.17.0
v4.17.0 (2026-03-02)
New Resources:
UsageChargehas been added.UsageSummaryhas been added.
New Attributes:
free_periodhas been added toQuotedSubscription.free_period_unithas been added toQuotedSubscription.
New Parameters:
net_term_dayshas been added as request body parameter tocreate_invoice_for_items_and_one-time_chargesinInvoice.contract_termhas been added as request body parameter tocreate_pricing_page_for_existing_subscriptioninPricingPageSession.contract_termhas been added as request body parameter tocreate_pricing_page_for_new_subscriptioninPricingPageSession.subscription.free_periodhas been added as request body parameter tocreate_a_quote_for_a_new_subscription_itemsinQuote.subscription.free_period_unithas been added as request body parameter tocreate_a_quote_for_a_new_subscription_itemsinQuote.subscription.free_periodhas been added as request body parameter toedit_create_subscription_quote_for_itemsinQuote.subscription.free_period_unithas been added as request body parameter toedit_create_subscription_quote_for_itemsinQuote.
New Enums:
month,week,day,hour, andminutehave been added as new values enumWindowSize.cancel,renew_once,renew, andevergreenhave been added as new values to enum request body parametercontract_term.action_at_term_endincreate_pricing_page_for_existing_subscriptionofPricingPageSession.cancel,renew_once,renew, andevergreenhave been added as new values to enum request body parametercontract_term.action_at_term_endincreate_pricing_page_for_new_subscriptionofPricingPageSession.
v4.16.0
v4.16.0 (2026-02-06)
New Attributes:
subscription_idhas been added toEntitlementOverride.is_enabledhas been added toEntitlementOverride.decommissionedhas been added toSubscription.
New Parameters:
omnichannel_subscription_itemhas been added as query parameter tolist_omnichannel_subscriptionsinOmnichannelSubscription.entitlement_overrides.entity_idhas been added as request body parameter toupsert_or_remove_entitlement_overrides_for_a_subscriptioninEntitlementOverride.entitlement_overrides.entity_typehas been added as request body parameter toupsert_or_remove_entitlement_overrides_for_a_subscriptioninEntitlementOverride.entitlement_overrides.is_enabledhas been added as request body parameter toupsert_or_remove_entitlement_overrides_for_a_subscriptioninEntitlementOverride.payment_method_save_policyhas been added as request body parameter tocollect_nowinHostedPage.decommissionedhas been added as request body parameter tocancel_subscription_for_itemsinSubscription.
Parameter Updates:
pricing_pagehas been changed from required to optional increate_pricing_page_for_existing_subscriptionofPricingPageSession.
New Events:
payment_due_reminderhas been added.
New Enums:
chargehas been added as a new value enumEntityType.payment_due_reminderhas been added as a new value enumEventType.tempushas been added as a new value enumGateway.kakao_pay,naver_pay,revolut_pay, andcash_app_payhave been added as new values enumPaymentMethod.always,ask, andneverhave been added as new values enumPaymentMethodSavePolicy.kakao_pay,naver_pay,revolut_pay, andcash_app_payhave been added as new values enumPaymentMethodType.kakao_pay,naver_pay,revolut_pay, andcash_app_payhave been added as new values enumType.accepted,rejected,message_acknowledgement,in_process,under_query,conditionally_accepted, andpaidhave been added as new values to enum attributeeinvoice.statusinCreditNote.accepted,rejected,message_acknowledgement,in_process,under_query,conditionally_accepted, andpaidhave been added as new values to enum attributestatusinEinvoice.accepted,rejected,message_acknowledgement,in_process,under_query,conditionally_accepted, andpaidhave been added as new values to enum attributeeinvoice.statusinInvoice.kakao_pay,naver_pay,revolut_pay,cash_app_pay,wechat_pay, andalipayhave been added as new values to enum attributepayment_method_typeinPaymentIntent.kakao_pay,naver_pay,revolut_pay,cash_app_pay,wechat_pay, andalipayhave been added as new values to enum attributeactive_payment_attempt.payment_method_typeinPaymentIntent.kakao_pay,naver_pay,revolut_pay,cash_app_pay,wechat_pay, andalipayhave been added as new values to enum request body parameterpayment_method_typeinupdate_a_payment_intentofPaymentIntent.kakao_pay,naver_pay,revolut_pay,cash_app_pay,wechat_pay, andalipayhave been added as new values to enum request body parameterpayment_method_typeincreate_a_payment_intentofPaymentIntent.
v4.15.1
v4.15.0
v4.15.0 (2026-01-16)
New Parameters:
applicable_item_price_idshas been added to Coupon#CouponListRequest.applicable_item_price_idshas been added to Export#CouponRequest.
New Enums:
Twikeyhas been added to GatewayEnum.
Deleted Action:
moveaction has been removed from the ItemPrice.
v4.14.0
v4.13.0
v4.13.0 (2025-12-30)
New Attributes:
- retry_engine has been added to Invoice#DunningAttempt.
New Endpoint:
- move action has been added to ItemPrice.
New Parameters:
- exclude_tax_type has been added to Estimate#RenewalEstimateInputParam.
- variant_id has been added to ItemPrice#MoveInputParam.
- custom has been added to PricingPageSession#CreateForNewSubscriptionInputParam.
- custom has been added to PricingPageSession#CreateForExistingSubscriptionInputParam.
New Enums:
- ELECTRONIC_PAYMENT_STANDARD has been added to PaymentMethodTypeEnum.
- KBC_PAYMENT_BUTTON has been added to PaymentMethodTypeEnum.
- PAY_BY_BANK has been added to PaymentMethodTypeEnum.
- TRUSTLY has been added to PaymentMethodTypeEnum.
- STABLECOIN has been added to PaymentMethodTypeEnum.
v3.51.0
v3.51.0 (2025-12-30)
New Attributes:
- retry_engine has been added to Invoice#DunningAttempt.
New Endpoint:
- move action has been added to ItemPrice.
New Parameters:
- exclude_tax_type has been added to Estimate#RenewalEstimateInputParam.
- variant_id has been added to ItemPrice#MoveInputParam.
- custom has been added to PricingPageSession#CreateForNewSubscriptionInputParam.
- custom has been added to PricingPageSession#CreateForExistingSubscriptionInputParam.
New Enums:
- ELECTRONIC_PAYMENT_STANDARD has been added to PaymentMethodTypeEnum.
- KBC_PAYMENT_BUTTON has been added to PaymentMethodTypeEnum.
- PAY_BY_BANK has been added to PaymentMethodTypeEnum.
- TRUSTLY has been added to PaymentMethodTypeEnum.
- STABLECOIN has been added to PaymentMethodTypeEnum.
v4.12.1
v4.12.0
New Resources:
- Einvoice has been added.
- QuotedDeltaRamp has been added.
New Attributes:
- line_items_next_offset has been added to CreditNote.
- line_items_next_offset has been added to Invoice.
- credit_lines has been added to SalesOrder.
- billable_unit_price has been added to SalesOrder#LineItem.
- billable_quantity has been added to SalesOrder#LineItem.
- billable_amount has been added to SalesOrder#LineItem.
New Endpoint:
- move has been added to ItemPrice.
New Parameters:
- line_items_limit has been added to CreditNote#RetrieveRequest.
- line_items_offset has been added to CreditNote#RetrieveRequest.
- line_items_limit has been added to Invoice#RetrieveRequest.
- line_items_offset has been added to Invoice#RetrieveRequest.
- item_tiers has been added to Estimate#GiftSubscriptionForItemsRequest.
- unit_price has been added to Estimate#SubscriptionItems#GiftSubscriptionForItemsRequest.
- unit_price_in_decimal has been added to Estimate#SubscriptionItems#GiftSubscriptionForItemsRequest.
- item_tiers has been added to Gift#CreateForItemsRequest.
- meta_data has been added to Gift#CreateForItemsRequest.
- unit_price has been added to Gift#SubscriptionItems#CreateForItemsRequest.
- unit_price_in_decimal has been added to Gift#SubscriptionItems#CreateForItemsRequest.
- item_tiers has been added to HostedPage#CheckoutGiftForItemsRequest.
- unit_price has been added to HostedPage#SubscriptionItems#CheckoutGiftForItemsRequest.
- unit_price_in_decimal has been added to HostedPage#SubscriptionItems#CheckoutGiftForItemsRequest.
- auto_select_local_currency has been added to PricingPageSession#CreateForNewSubscriptionRequest.
New Enums:
- EZIDEBIT has been added to GatewayEnum.
- BUSINESS_RULE has been added to EntityTypeEnum.
- RULESET has been added to EntityTypeEnum.