Skip to content

Commit 4f4757b

Browse files
author
chargebee-ci
committed
Releasing v4.26.0
1 parent f6e16cf commit 4f4757b

45 files changed

Lines changed: 1156 additions & 46 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,54 @@
1+
### v4.26.0 (2026-08-12)
2+
* * *
3+
### New Resources:
4+
- [`GatewayPaymentMethodToken`](https://apidocs.chargebee.com/docs/api/gateway_payment_method_tokens) has been added.
5+
- [`OmnichannelSubscriptionItemMetric`](https://apidocs.chargebee.com/docs/api/omnichannel_subscription_item_metrics) has been added.
6+
- [`VaultedPaymentMethod`](https://apidocs.chargebee.com/docs/api/vaulted_payment_methods) has been added.
7+
8+
9+
### New Actions:
10+
- [`update_credit_note_details`](https://apidocs.chargebee.com/docs/api/credit_notes/update-credit-note-details) has been added to [`CreditNote`](https://apidocs.chargebee.com/docs/api/credit_notes).
11+
- [`export_subscription_ramps`](https://apidocs.chargebee.com/docs/api/exports/export-subscription-ramps) has been added to [`Export`](https://apidocs.chargebee.com/docs/api/exports).
12+
- [`list_gateway_payment_method_tokens_for_a_payment_source`](https://apidocs.chargebee.com/docs/api/payment_sources/list-gateway-payment-method-tokens-for-a-payment-source) has been added to [`PaymentSource`](https://apidocs.chargebee.com/docs/api/payment_sources).
13+
14+
15+
### New Attributes:
16+
- [`vault_token`](https://apidocs.chargebee.com/docs/api/payment_sources/payment-source-object#vault_token) has been added to [`PaymentSource`](https://apidocs.chargebee.com/docs/api/payment_sources).
17+
18+
19+
### New Parameters:
20+
- [`updated_at.between`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions#updated_at_between) has been added as query parameter to [`list_omnichannel_subscriptions`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions) in [`OmnichannelSubscription`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions).
21+
- [`updated_at.on`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions#updated_at_on) has been added as query parameter to [`list_omnichannel_subscriptions`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions) in [`OmnichannelSubscription`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions).
22+
- [`purchased_at.between`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions#purchased_at_between) has been added as query parameter to [`list_omnichannel_subscriptions`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions) in [`OmnichannelSubscription`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions).
23+
- [`purchased_at.on`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions#purchased_at_on) has been added as query parameter to [`list_omnichannel_subscriptions`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions) in [`OmnichannelSubscription`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions).
24+
- [`limit`](https://apidocs.chargebee.com/docs/api/payment_sources/list-gateway-payment-method-tokens-for-a-payment-source#limit) has been added as query parameter to [`list_gateway_payment_method_tokens_for_a_payment_source`](https://apidocs.chargebee.com/docs/api/payment_sources/list-gateway-payment-method-tokens-for-a-payment-source) in [`PaymentSource`](https://apidocs.chargebee.com/docs/api/payment_sources).
25+
- [`offset`](https://apidocs.chargebee.com/docs/api/payment_sources/list-gateway-payment-method-tokens-for-a-payment-source#offset) has been added as query parameter to [`list_gateway_payment_method_tokens_for_a_payment_source`](https://apidocs.chargebee.com/docs/api/payment_sources/list-gateway-payment-method-tokens-for-a-payment-source) in [`PaymentSource`](https://apidocs.chargebee.com/docs/api/payment_sources).
26+
- [`include_deleted`](https://apidocs.chargebee.com/docs/api/payment_sources/list-gateway-payment-method-tokens-for-a-payment-source#include_deleted) has been added as query parameter to [`list_gateway_payment_method_tokens_for_a_payment_source`](https://apidocs.chargebee.com/docs/api/payment_sources/list-gateway-payment-method-tokens-for-a-payment-source) in [`PaymentSource`](https://apidocs.chargebee.com/docs/api/payment_sources).
27+
- [`comment`](https://apidocs.chargebee.com/docs/api/credit_notes/update-credit-note-details#comment) has been added as request body parameter to [`update_credit_note_details`](https://apidocs.chargebee.com/docs/api/credit_notes/update-credit-note-details) in [`CreditNote`](https://apidocs.chargebee.com/docs/api/credit_notes).
28+
- [`ramp`](https://apidocs.chargebee.com/docs/api/exports/export-subscription-ramps#ramp) has been added as request body parameter to [`export_subscription_ramps`](https://apidocs.chargebee.com/docs/api/exports/export-subscription-ramps) in [`Export`](https://apidocs.chargebee.com/docs/api/exports).
29+
- [`export_type`](https://apidocs.chargebee.com/docs/api/exports/export-subscription-ramps#export_type) has been added as request body parameter to [`export_subscription_ramps`](https://apidocs.chargebee.com/docs/api/exports/export-subscription-ramps) in [`Export`](https://apidocs.chargebee.com/docs/api/exports).
30+
- [`subscription_items.description`](https://apidocs.chargebee.com/docs/api/quotes/create-a-quote-for-a-new-subscription-items#subscription_items_description) has been added as request body parameter to [`create_a_quote_for_a_new_subscription_items`](https://apidocs.chargebee.com/docs/api/quotes/create-a-quote-for-a-new-subscription-items) in [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
31+
- [`subscription_items.description`](https://apidocs.chargebee.com/docs/api/quotes/edit-update-subscription-quote-for-items#subscription_items_description) has been added as request body parameter to [`edit_update_subscription_quote_for_items`](https://apidocs.chargebee.com/docs/api/quotes/edit-update-subscription-quote-for-items) in [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
32+
- [`subscription_items.description`](https://apidocs.chargebee.com/docs/api/quotes/edit-create-subscription-quote-for-items#subscription_items_description) has been added as request body parameter to [`edit_create_subscription_quote_for_items`](https://apidocs.chargebee.com/docs/api/quotes/edit-create-subscription-quote-for-items) in [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
33+
- [`subscription_items.description`](https://apidocs.chargebee.com/docs/api/quotes/create-a-quote-for-update-subscription-items#subscription_items_description) has been added as request body parameter to [`create_a_quote_for_update_subscription_items`](https://apidocs.chargebee.com/docs/api/quotes/create-a-quote-for-update-subscription-items) in [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
34+
35+
36+
### New Events:
37+
- [`vault_token_updated`](https://apidocs.chargebee.com/docs/api/events/webhook/vault_token_updated) has been added.
38+
- [`vault_token_deleted`](https://apidocs.chargebee.com/docs/api/events/webhook/vault_token_deleted) has been added.
39+
- [`omnichannel_subscription_item_mrr_updated`](https://apidocs.chargebee.com/docs/api/events/webhook/omnichannel_subscription_item_mrr_updated) has been added.
40+
- [`vault_token_created`](https://apidocs.chargebee.com/docs/api/events/webhook/vault_token_created) has been added.
41+
42+
43+
### New Enums:
44+
- `omnichannel_subscription_item_metric` has been added as a new value enum `EntityType`.
45+
- `omnichannel_subscription_item_mrr_updated`, `vault_token_created`, `vault_token_updated`, and `vault_token_deleted` have been added as new values enum `EventType`.
46+
- `chargebee`, `chargebee_payments`, `adyen`, `stripe`, `wepay`, `braintree`, `authorize_net`, `paypal_pro`, `pin`, `eway`, `eway_rapid`, `worldpay`, `balanced_payments`, `beanstream`, `bluepay`, `elavon`, `first_data_global`, `hdfc`, `migs`, `nmi`, `ogone`, `paymill`, `paypal_payflow_pro`, `sage_pay`, `tco`, `wirecard`, `amazon_payments`, `paypal_express_checkout`, `gocardless`, `orbital`, `moneris_us`, `moneris`, `bluesnap`, `cybersource`, `vantiv`, `checkout_com`, `paypal`, `ingenico_direct`, `exact`, `mollie`, `quickbooks`, `razorpay`, `global_payments`, `bank_of_america`, `ecentric`, `metrics_global`, `windcave`, `pay_com`, `ebanx`, `dlocal`, `nuvei`, `solidgate`, `paystack`, `jp_morgan`, `deutsche_bank`, `ezidebit`, `twikey`, `tempus`, `moyasar`, `payway`, and `not_applicable` have been added as new values enum `GatewayName`.
47+
- `active`, `inactive`, and `pending_verification` have been added as new values to enum attribute [`status`](https://apidocs.chargebee.com/docs/api/gateway_payment_method_tokens/gateway-payment-method-token-object#status) in [`GatewayPaymentMethodToken`](https://apidocs.chargebee.com/docs/api/gateway_payment_method_tokens).
48+
- `payment_method_helper`, `card_components`, `checkout`, `collect_now`, `portal`, and `payment_components` 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).
49+
50+
51+
152
### v4.25.1 (2026-08-11)
253
* * *
354
### Bug Fixes:

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.25.1
1+
4.26.0

src/Actions/Contracts/CouponActionsInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@
8686
* not_in?: mixed,
8787
* },
8888
* applicable_item_price_ids?: array{
89-
* in?: mixed,
9089
* is?: mixed,
90+
* in?: mixed,
9191
* },
9292
* } $params Description of the parameters
9393
*

src/Actions/Contracts/CreditNoteActionsInterface.php

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
use Chargebee\Responses\CreditNoteResponse\VoidCreditNoteCreditNoteResponse;
99
use Chargebee\Responses\CreditNoteResponse\CreateCreditNoteResponse;
1010
use Chargebee\Responses\CreditNoteResponse\DownloadEinvoiceCreditNoteResponse;
11+
use Chargebee\Responses\CreditNoteResponse\UpdateCreditNoteResponse;
1112
use Chargebee\Responses\CreditNoteResponse\RemoveTaxWithheldRefundCreditNoteResponse;
1213
use Chargebee\Responses\CreditNoteResponse\CreditNotesForCustomerCreditNoteResponse;
1314
use Chargebee\Responses\CreditNoteResponse\RetrieveCreditNoteResponse;
@@ -447,6 +448,22 @@ public function all(array $params = [], array $headers = []): ListCreditNoteResp
447448
*/
448449
public function create(array $params, array $headers = []): CreateCreditNoteResponse;
449450

451+
/**
452+
* @see https://apidocs.chargebee.com/docs/api/credit_notes/update-credit-note-details?lang=php-v4
453+
* @param array{
454+
* comment?: string,
455+
* } $params Description of the parameters
456+
* @param string $id
457+
* @param array<string, string> $headers
458+
* @return UpdateCreditNoteResponse
459+
* @throws PaymentException
460+
* @throws OperationFailedException
461+
* @throws APIError
462+
* @throws InvalidRequestException
463+
* @throws Exception
464+
*/
465+
public function update(string $id, array $params = [], array $headers = []): UpdateCreditNoteResponse;
466+
450467
/**
451468
* @see https://apidocs.chargebee.com/docs/api/credit_notes/download-e-invoice-for-credit-note?lang=php-v4
452469
*

src/Actions/Contracts/CreditUnitActionsInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
* limit?: int,
2222
* offset?: string,
2323
* status?: array{
24-
* in?: mixed,
2524
* is?: mixed,
25+
* in?: mixed,
2626
* },
2727
* id?: array{
28-
* in?: mixed,
2928
* is?: mixed,
29+
* in?: mixed,
3030
* },
3131
* } $params Description of the parameters
3232
*

src/Actions/Contracts/EntitlementActionsInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@
1818
* limit?: int,
1919
* offset?: string,
2020
* feature_id?: array{
21-
* in?: mixed,
2221
* is?: mixed,
22+
* in?: mixed,
2323
* },
2424
* entity_type?: array{
25-
* in?: mixed,
2625
* is?: mixed,
26+
* in?: mixed,
2727
* },
2828
* entity_id?: array{
29-
* in?: mixed,
3029
* is?: mixed,
30+
* in?: mixed,
3131
* },
3232
* include_drafts?: bool,
3333
* embed?: string,

src/Actions/Contracts/ExportActionsInterface.php

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
use Chargebee\Responses\ExportResponse\CreditNotesExportResponse;
1010
use Chargebee\Responses\ExportResponse\CouponsExportResponse;
1111
use Chargebee\Responses\ExportResponse\SubscriptionsExportResponse;
12+
use Chargebee\Responses\ExportResponse\RampsExportResponse;
1213
use Chargebee\Responses\ExportResponse\OrdersExportResponse;
1314
use Chargebee\Responses\ExportResponse\PlansExportResponse;
1415
use Chargebee\Responses\ExportResponse\AttachedItemsExportResponse;
@@ -326,6 +327,44 @@ public function attachedItems(array $params = [], array $headers = []): Attached
326327
*/
327328
public function transactions(array $params = [], array $headers = []): TransactionsExportResponse;
328329

330+
/**
331+
* @see https://apidocs.chargebee.com/docs/api/exports/export-subscription-ramps?lang=php-v4
332+
* @param array{
333+
* ramp?: array{
334+
* status?: array{
335+
* is?: string,
336+
* in?: string,
337+
* },
338+
* subscription_id?: array{
339+
* is?: string,
340+
* in?: string,
341+
* },
342+
* effective_from?: array{
343+
* after?: string,
344+
* before?: string,
345+
* on?: string,
346+
* between?: string,
347+
* },
348+
* updated_at?: array{
349+
* after?: string,
350+
* before?: string,
351+
* on?: string,
352+
* between?: string,
353+
* },
354+
* },
355+
* export_type?: string,
356+
* } $params Description of the parameters
357+
*
358+
* @param array<string, string> $headers
359+
* @return RampsExportResponse
360+
* @throws PaymentException
361+
* @throws OperationFailedException
362+
* @throws APIError
363+
* @throws InvalidRequestException
364+
* @throws Exception
365+
*/
366+
public function ramps(array $params = [], array $headers = []): RampsExportResponse;
367+
329368
/**
330369
* @see https://apidocs.chargebee.com/docs/api/exports/export-differential-price?lang=php-v4
331370
* @param array{
@@ -1602,8 +1641,8 @@ public function creditNotes(array $params = [], array $headers = []): CreditNote
16021641
* not_in?: mixed,
16031642
* },
16041643
* applicable_item_price_ids?: array{
1605-
* in?: mixed,
16061644
* is?: mixed,
1645+
* in?: mixed,
16071646
* },
16081647
* } $params Description of the parameters
16091648
*

src/Actions/Contracts/InvoiceActionsInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1244,13 +1244,13 @@ public function removeTaxWithheld(string $id, array $params, array $headers = []
12441244
* offset?: string,
12451245
* payment_reference_number?: array{
12461246
* number?: array{
1247-
* in?: string,
1248-
* is?: string,
1247+
* is?: string,
1248+
* in?: string,
12491249
* },
12501250
* },
12511251
* id?: array{
1252-
* in?: mixed,
12531252
* is?: mixed,
1253+
* in?: mixed,
12541254
* },
12551255
* } $params Description of the parameters
12561256
*

src/Actions/Contracts/LedgerOperationActionsInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ public function authorize(array $params, array $headers = []): AuthorizeLedgerOp
117117
* between?: mixed,
118118
* },
119119
* type?: array{
120-
* in?: mixed,
121120
* is?: mixed,
121+
* in?: mixed,
122122
* },
123123
* sort_by?: array{
124124
* asc?: string,

src/Actions/Contracts/OmnichannelSubscriptionActionsInterface.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,16 @@ public function omnichannelTransactionsForOmnichannelSubscription(string $id, ar
107107
* not_in?: mixed,
108108
* },
109109
* updated_at?: array{
110-
* before?: mixed,
111110
* after?: mixed,
111+
* before?: mixed,
112+
* between?: mixed,
113+
* on?: mixed,
112114
* },
113115
* purchased_at?: array{
114-
* before?: mixed,
115116
* after?: mixed,
117+
* before?: mixed,
118+
* between?: mixed,
119+
* on?: mixed,
116120
* },
117121
* sort_by?: array{
118122
* asc?: string,

0 commit comments

Comments
 (0)