Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 82 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,85 @@
### v4.24.0 (2026-07-21)
* * *
### New Resources:
- [`AsyncResponse`](https://apidocs.chargebee.com/docs/api/async_responses) has been added.
- [`AsyncResponseList`](https://apidocs.chargebee.com/docs/api/async_response_lists) has been added.
- [`ColumnDefinition`](https://apidocs.chargebee.com/docs/api/column_definitions) has been added.
- [`Meter`](https://apidocs.chargebee.com/docs/api/meters) has been added.
- [`MeteredFeature`](https://apidocs.chargebee.com/docs/api/metered_features) has been added.


### New Attributes:
- [`currency_code`](https://apidocs.chargebee.com/docs/api/alerts/alert-object#currency_code) has been added to [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
- [`threshold`](https://apidocs.chargebee.com/docs/api/alerts/alert-object#threshold) has been added to [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
- [`filter_conditions`](https://apidocs.chargebee.com/docs/api/alerts/alert-object#filter_conditions) has been added to [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
- [`exchange_rates`](https://apidocs.chargebee.com/docs/api/credit_notes/credit-note-object#exchange_rates) has been added to [`CreditNote`](https://apidocs.chargebee.com/docs/api/credit_notes).
- [`metered`](https://apidocs.chargebee.com/docs/api/features/feature-object#metered) has been added to [`Feature`](https://apidocs.chargebee.com/docs/api/features).
- [`exchange_rates`](https://apidocs.chargebee.com/docs/api/invoices/invoice-object#exchange_rates) has been added to [`Invoice`](https://apidocs.chargebee.com/docs/api/invoices).
- [`payment_intent_metadata`](https://apidocs.chargebee.com/docs/api/payment_intents/payment-intent-object#payment_intent_metadata) has been added to [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).


### New Parameters:
- [`metered`](https://apidocs.chargebee.com/docs/api/features/list-features#metered) has been added as query parameter to [`list_features`](https://apidocs.chargebee.com/docs/api/features/list-features) in [`Feature`](https://apidocs.chargebee.com/docs/api/features).
- [`decommissioned`](https://apidocs.chargebee.com/docs/api/subscriptions/list-subscriptions#decommissioned) has been added as query parameter to [`list_subscriptions`](https://apidocs.chargebee.com/docs/api/subscriptions/list-subscriptions) in [`Subscription`](https://apidocs.chargebee.com/docs/api/subscriptions).
- [`currency_code`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert#currency_code) has been added as request body parameter to [`create_an_alert`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
- [`line_items.proration_mode`](https://apidocs.chargebee.com/docs/api/credit_notes/import-credit-note#line_items_proration_mode) has been added as request body parameter to [`import_credit_note`](https://apidocs.chargebee.com/docs/api/credit_notes/import-credit-note) in [`CreditNote`](https://apidocs.chargebee.com/docs/api/credit_notes).
- [`item_prices.description`](https://apidocs.chargebee.com/docs/api/estimates/create-invoice-for-items-estimate#item_prices_description) has been added as request body parameter to [`create_invoice_for_items_estimate`](https://apidocs.chargebee.com/docs/api/estimates/create-invoice-for-items-estimate) in [`Estimate`](https://apidocs.chargebee.com/docs/api/estimates).
- [`item_prices.entity_description`](https://apidocs.chargebee.com/docs/api/estimates/create-invoice-for-items-estimate#item_prices_entity_description) has been added as request body parameter to [`create_invoice_for_items_estimate`](https://apidocs.chargebee.com/docs/api/estimates/create-invoice-for-items-estimate) in [`Estimate`](https://apidocs.chargebee.com/docs/api/estimates).
- [`charges.entity_description`](https://apidocs.chargebee.com/docs/api/estimates/create-invoice-for-items-estimate#charges_entity_description) has been added as request body parameter to [`create_invoice_for_items_estimate`](https://apidocs.chargebee.com/docs/api/estimates/create-invoice-for-items-estimate) in [`Estimate`](https://apidocs.chargebee.com/docs/api/estimates).
- [`subscription.decommissioned`](https://apidocs.chargebee.com/docs/api/exports/export-subscriptions#subscription_decommissioned) has been added as request body parameter to [`export_subscriptions`](https://apidocs.chargebee.com/docs/api/exports/export-subscriptions) in [`Export`](https://apidocs.chargebee.com/docs/api/exports).
- [`item_prices.description`](https://apidocs.chargebee.com/docs/api/invoices/create-invoice-for-items-and-one-time-charges#item_prices_description) has been added as request body parameter to [`create_invoice_for_items_and_one-time_charges`](https://apidocs.chargebee.com/docs/api/invoices/create-invoice-for-items-and-one-time-charges) in [`Invoice`](https://apidocs.chargebee.com/docs/api/invoices).
- [`item_prices.entity_description`](https://apidocs.chargebee.com/docs/api/invoices/create-invoice-for-items-and-one-time-charges#item_prices_entity_description) has been added as request body parameter to [`create_invoice_for_items_and_one-time_charges`](https://apidocs.chargebee.com/docs/api/invoices/create-invoice-for-items-and-one-time-charges) in [`Invoice`](https://apidocs.chargebee.com/docs/api/invoices).
- [`charges.entity_description`](https://apidocs.chargebee.com/docs/api/invoices/create-invoice-for-items-and-one-time-charges#charges_entity_description) has been added as request body parameter to [`create_invoice_for_items_and_one-time_charges`](https://apidocs.chargebee.com/docs/api/invoices/create-invoice-for-items-and-one-time-charges) in [`Invoice`](https://apidocs.chargebee.com/docs/api/invoices).
- [`create_pending_invoice`](https://apidocs.chargebee.com/docs/api/invoices/create-invoice-for-items-and-one-time-charges#create_pending_invoice) has been added as request body parameter to [`create_invoice_for_items_and_one-time_charges`](https://apidocs.chargebee.com/docs/api/invoices/create-invoice-for-items-and-one-time-charges) in [`Invoice`](https://apidocs.chargebee.com/docs/api/invoices).
- [`line_items.proration_mode`](https://apidocs.chargebee.com/docs/api/invoices/import-invoice#line_items_proration_mode) has been added as request body parameter to [`import_invoice`](https://apidocs.chargebee.com/docs/api/invoices/import-invoice) in [`Invoice`](https://apidocs.chargebee.com/docs/api/invoices).
- [`paid_at`](https://apidocs.chargebee.com/docs/api/invoices/import-invoice#paid_at) has been added as request body parameter to [`import_invoice`](https://apidocs.chargebee.com/docs/api/invoices/import-invoice) in [`Invoice`](https://apidocs.chargebee.com/docs/api/invoices).
- [`discounts_to_add.quantity`](https://apidocs.chargebee.com/docs/api/ramps/create-a-ramp#discounts_to_add_quantity) has been added as request body parameter to [`create_a_ramp`](https://apidocs.chargebee.com/docs/api/ramps/create-a-ramp) in [`Ramp`](https://apidocs.chargebee.com/docs/api/ramps).
- [`discounts_to_add.quantity`](https://apidocs.chargebee.com/docs/api/ramps/update-a-subscription-ramp#discounts_to_add_quantity) has been added as request body parameter to [`update_a_subscription_ramp`](https://apidocs.chargebee.com/docs/api/ramps/update-a-subscription-ramp) in [`Ramp`](https://apidocs.chargebee.com/docs/api/ramps).
- [`customer.email`](https://apidocs.chargebee.com/docs/api/recorded_purchases/record-a-purchase#customer_email) has been added as request body parameter to [`record_a_purchase`](https://apidocs.chargebee.com/docs/api/recorded_purchases/record-a-purchase) in [`RecordedPurchase`](https://apidocs.chargebee.com/docs/api/recorded_purchases).
- [`customer.first_name`](https://apidocs.chargebee.com/docs/api/recorded_purchases/record-a-purchase#customer_first_name) has been added as request body parameter to [`record_a_purchase`](https://apidocs.chargebee.com/docs/api/recorded_purchases/record-a-purchase) in [`RecordedPurchase`](https://apidocs.chargebee.com/docs/api/recorded_purchases).
- [`customer.last_name`](https://apidocs.chargebee.com/docs/api/recorded_purchases/record-a-purchase#customer_last_name) has been added as request body parameter to [`record_a_purchase`](https://apidocs.chargebee.com/docs/api/recorded_purchases/record-a-purchase) in [`RecordedPurchase`](https://apidocs.chargebee.com/docs/api/recorded_purchases).


### Parameter Updates:
- [`metered_feature_id`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert#metered_feature_id) has been changed from required to optional in [`create_an_alert`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert) of [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).


### New Events:
- [`payment_source_business_entity_changed`](https://apidocs.chargebee.com/docs/api/events/webhook/payment_source_business_entity_changed) has been added.


### Deleted Attributes:
- `start_balance` has been removed from [`LedgerOperation`](https://apidocs.chargebee.com/docs/api/ledger_operations).
- `end_balance` has been removed from [`LedgerOperation`](https://apidocs.chargebee.com/docs/api/ledger_operations).


### New Enums:
- `real_time_payments` has been added as a new value enum `DunningType`.
- `payment_source_business_entity_changed` has been added as a new value enum `EventType`.
- `paynow`, `bizum`, and `promptpay` have been added as new values enum `PaymentMethod`.
- `paynow`, `bizum`, and `promptpay` have been added as new values enum `PaymentMethodType`.
- `active`, `archived`, and `deleted` have been added as new values enum `Status`.
- `zero_rated`, `region_non_taxable`, `product_exempt`, `high_value_physical_goods`, `zero_value_item`, and `tax_not_configured_external_provider` have been added as new values enum `TaxOverrideReason`.
- `paynow`, `bizum`, `promptpay`, `simple`, `compound`, and `spend_exceeded` have been added as new values enum `Type`.
- `success` and `failed` have been added as new values to enum attribute [`status`](https://apidocs.chargebee.com/docs/api/async_responses/async-response-object#status) in [`AsyncResponse`](https://apidocs.chargebee.com/docs/api/async_responses).
- `number` and `string` have been added as new values to enum attribute [`data_type`](https://apidocs.chargebee.com/docs/api/column_definitions/column-definition-object#data_type) in [`ColumnDefinition`](https://apidocs.chargebee.com/docs/api/column_definitions).
- `simple` and `compound` have been added as new values to enum attribute [`type`](https://apidocs.chargebee.com/docs/api/meters/meter-object#type) in [`Meter`](https://apidocs.chargebee.com/docs/api/meters).
- `active`, `archived`, and `deleted` have been added as new values to enum attribute [`status`](https://apidocs.chargebee.com/docs/api/meters/meter-object#status) in [`Meter`](https://apidocs.chargebee.com/docs/api/meters).
- `paynow`, `bizum`, and `promptpay` have been added as new values to enum attribute [`payment_method_type`](https://apidocs.chargebee.com/docs/api/payment_intents/payment-intent-object#payment_method_type) in [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
- `paynow`, `bizum`, and `promptpay` have been added as new values to enum attribute [`active_payment_attempt.payment_method_type`](https://apidocs.chargebee.com/docs/api/payment_intents/payment-intent-object#active_payment_attempt_payment_method_type) in [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
- `cb_js`, `components_fields`, `checkout_v3`, `paynow_v3`, `portal_v3`, `gift_v3`, `checkout_v4`, `payment_component`, `pc_inapp_v4`, and `pc_fpc_v4` have been added as new values to enum attribute [`payment_intent_metadata.source`](https://apidocs.chargebee.com/docs/api/payment_intents/payment-intent-object#payment_intent_metadata_source) in [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
- `adjusted_term`, `service_period_revision`, `delta`, and `reset` have been added as new values to enum request body parameter `line_items.proration_mode` in [`import_credit_note`](https://apidocs.chargebee.com/docs/api/credit_notes/import-credit-note) of [`CreditNote`](https://apidocs.chargebee.com/docs/api/credit_notes).
- `true` and `false` have been added as new values to enum query parameter `metered.is` in [`list_features`](https://apidocs.chargebee.com/docs/api/features/list-features) of [`Feature`](https://apidocs.chargebee.com/docs/api/features).
- `adjusted_term`, `service_period_revision`, `delta`, and `reset` have been added as new values to enum request body parameter `line_items.proration_mode` in [`import_invoice`](https://apidocs.chargebee.com/docs/api/invoices/import-invoice) of [`Invoice`](https://apidocs.chargebee.com/docs/api/invoices).
- `updated_at`, `name`, `created_at`, and `id` have been added as new values to enum query parameter `sort_by.asc` in [`list_all_available_meters`](https://apidocs.chargebee.com/docs/api/meters/list-all-available-meters) of [`Meter`](https://apidocs.chargebee.com/docs/api/meters).
- `updated_at`, `name`, `created_at`, and `id` have been added as new values to enum query parameter `sort_by.desc` in [`list_all_available_meters`](https://apidocs.chargebee.com/docs/api/meters/list-all-available-meters) of [`Meter`](https://apidocs.chargebee.com/docs/api/meters).
- `number` and `string` have been added as new values to enum request body parameter `column_definitions.data_type` in [`create_a_metered_feature`](https://apidocs.chargebee.com/docs/api/metered_features/create-a-metered-feature) of [`MeteredFeature`](https://apidocs.chargebee.com/docs/api/metered_features).
- `paynow`, `bizum`, and `promptpay` have been added as new values to enum request body parameter `payment_method_type` in [`update_a_payment_intent`](https://apidocs.chargebee.com/docs/api/payment_intents/update-a-payment-intent) of [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
- `paynow`, `bizum`, and `promptpay` have been added as new values to enum request body parameter `payment_method_type` in [`create_a_payment_intent`](https://apidocs.chargebee.com/docs/api/payment_intents/create-a-payment-intent) of [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
- `true` and `false` have been added as new values to enum query parameter `decommissioned.is` in [`list_subscriptions`](https://apidocs.chargebee.com/docs/api/subscriptions/list-subscriptions) of [`Subscription`](https://apidocs.chargebee.com/docs/api/subscriptions).



### v4.23.0 (2026-06-30)
* * *

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.23.0
4.24.0
1 change: 1 addition & 0 deletions src/Actions/AlertActions.php
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ public function all(array $params = [], array $headers = []): ListAlertResponse
* name?: string,
* description?: string,
* metered_feature_id?: string,
* currency_code?: string,
* subscription_id?: string,
* meta?: string,
* } $params Description of the parameters
Expand Down
1 change: 1 addition & 0 deletions src/Actions/Contracts/AlertActionsInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ public function all(array $params = [], array $headers = []): ListAlertResponse;
* name?: string,
* description?: string,
* metered_feature_id?: string,
* currency_code?: string,
* subscription_id?: string,
* meta?: string,
* } $params Description of the parameters
Expand Down
1 change: 1 addition & 0 deletions src/Actions/Contracts/CreditNoteActionsInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ public function recordRefund(string $id, array $params, array $headers = []): Re
* tax9_amount?: int,
* tax10_name?: string,
* tax10_amount?: int,
* proration_mode?: string,
* }>,
* line_item_tiers?: array<array{
* line_item_id?: string,
Expand Down
3 changes: 3 additions & 0 deletions src/Actions/Contracts/EstimateActionsInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,8 @@ public function resumeSubscription(string $id, array $params = [], array $header
* unit_price_in_decimal?: string,
* date_from?: int,
* date_to?: int,
* description?: string,
* entity_description?: string,
* }>,
* item_tiers?: array<array{
* item_price_id?: string,
Expand All @@ -301,6 +303,7 @@ public function resumeSubscription(string $id, array $params = [], array $header
* avalara_service_type?: int,
* date_from?: int,
* date_to?: int,
* entity_description?: string,
* }>,
* notes_to_remove?: array<array{
* entity_type?: string,
Expand Down
11 changes: 7 additions & 4 deletions src/Actions/Contracts/ExportActionsInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -395,8 +395,8 @@ public function differentialPrices(array $params = [], array $headers = []): Dif
* },
* },
* business_entity_id?: array{
* is?: mixed,
* is_present?: mixed,
* is?: mixed,
* },
* include_site_level_resources?: array{
* is?: mixed,
Expand Down Expand Up @@ -602,8 +602,8 @@ public function retrieve(string $id, array $headers = []): RetrieveExportRespons
* },
* },
* business_entity_id?: array{
* is?: mixed,
* is_present?: mixed,
* is?: mixed,
* },
* include_site_level_resources?: array{
* is?: mixed,
Expand Down Expand Up @@ -693,8 +693,8 @@ public function priceVariants(array $params = [], array $headers = []): PriceVar
* },
* },
* business_entity_id?: array{
* is?: mixed,
* is_present?: mixed,
* is?: mixed,
* },
* include_site_level_resources?: array{
* is?: mixed,
Expand Down Expand Up @@ -1862,8 +1862,8 @@ public function orders(array $params = [], array $headers = []): OrdersExportRes
* not_in?: mixed,
* },
* business_entity_id?: array{
* is?: mixed,
* is_present?: mixed,
* is?: mixed,
* },
* include_site_level_resources?: array{
* is?: mixed,
Expand Down Expand Up @@ -1970,6 +1970,9 @@ public function itemPrices(array $params = [], array $headers = []): ItemPricesE
* in?: string,
* not_in?: string,
* },
* decommissioned?: array{
* is?: string,
* },
* plan_id?: array{
* is?: string,
* is_not?: string,
Expand Down
3 changes: 3 additions & 0 deletions src/Actions/Contracts/FeatureActionsInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@
* in?: mixed,
* not_in?: mixed,
* },
* metered?: array{
* is?: mixed,
* },
* } $params Description of the parameters
*
* @param array<string, string> $headers
Expand Down
6 changes: 6 additions & 0 deletions src/Actions/Contracts/InvoiceActionsInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -802,6 +802,8 @@ public function createForChargeItem(array $params, array $headers = []): CreateF
* unit_price_in_decimal?: string,
* date_from?: int,
* date_to?: int,
* description?: string,
* entity_description?: string,
* }>,
* item_tiers?: array<array{
* item_price_id?: string,
Expand All @@ -815,6 +817,7 @@ public function createForChargeItem(array $params, array $headers = []): CreateF
* package_size?: int,
* }>,
* charges?: array<array{
* entity_description?: string,
* amount?: int,
* amount_in_decimal?: string,
* description?: string,
Expand Down Expand Up @@ -858,6 +861,7 @@ public function createForChargeItem(array $params, array $headers = []): CreateF
* auto_collection?: string,
* net_term_days?: int,
* invoice_date?: int,
* create_pending_invoice?: bool,
* token_id?: string,
* replace_primary_payment_source?: bool,
* retain_payment_source?: bool,
Expand Down Expand Up @@ -1065,6 +1069,7 @@ public function delete(string $id, array $params = [], array $headers = []): Del
* tax9_amount?: int,
* tax10_name?: string,
* tax10_amount?: int,
* proration_mode?: string,
* created_at?: int,
* }>,
* payment_reference_numbers?: array<array{
Expand Down Expand Up @@ -1150,6 +1155,7 @@ public function delete(string $id, array $params = [], array $headers = []): Del
* net_term_days?: int,
* has_advance_charges?: bool,
* use_for_proration?: bool,
* paid_at?: int,
* } $params Description of the parameters
*
* @param array<string, string> $headers
Expand Down
2 changes: 1 addition & 1 deletion src/Actions/Contracts/ItemActionsInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@
* not_in?: mixed,
* },
* business_entity_id?: array{
* is?: mixed,
* is_present?: mixed,
* is?: mixed,
* },
* include_site_level_resources?: array{
* is?: mixed,
Expand Down
Loading
Loading