chargebee
Version:
A library for integrating with Chargebee.
990 lines (815 loc) • 184 kB
Markdown
### v3.11.0 (2025-07-18)
* * *
### New Resources:
* BillingConfiguration has been added.
* Brand has been added.
### New Attributes:
* has_children has been added to Hierarchy
* coupon_applicability_mappings has been added to QuotedRamp.
### New Endpoint:
* listHierarchyDetail has been added to Customer.
### New Input parameters:
* change_reason children has been added to Entitlement#CreateRequest.
* entitlements[apply_grandfathering] has been added to Entitlement#CreateRequest.
* replace_primary_payment_source has been added to Purchase#CreateRequest.
* omnichannel_subscription has been added to RecordedPurchase#CreateRequest.
* contract_term has been added to Subscription#RemoveScheduledCancellationRequest.
* contract_term_billing_cycle_on_renewal has been added to Subscription#RemoveScheduledCancellationRequest.
### New Enums:
* payconiq_by_bancontact has been added to PaymentMethodType.
* solidgate has been added to Gateway.
* solidgate has been added to PaymentMethod.
### v3.10.0 (2025-06-30)
* * *
### New Features
* Added `userAgentSuffix` to the environment config to allow appending custom text to the `User-Agent` header.
### v3.9.0 (2025-06-23)
* * *
### New Features
* Added built-in retry support for handling transient errors and rate-limiting.
* Retries are now supported for HTTP status codes 500, 502, 503, 504, and 429.
* Includes exponential backoff for server errors and Retry-After respect for rate limits (429).
* Configurable via retryConfig during SDK initialization.
### v3.8.0 (2025-06-19)
* * *
### New Resources
* QuotedRamp has been added.
### New Attributes
* chargebee_response_schema_type has been added to Configuration.
* linked_item has been added to OmnichannelSubscriptionItem.
* resumes_at has been added to OmnichannelSubscriptionItem.
### Changed Attributes
* percentage changed to is_percentage_pricing in CreditNote.
* percentage changed to is_percentage_pricing in QuoteLineGroup.
* percentage changed to is_percentage_pricing in CreditNoteEstimate.
* percentage changed to is_percentage_pricing in Invoice.
* percentage changed to is_percentage_pricing in InvoiceEstimate.
* percentage changed to is_percentage_pricing in Quote.
### New Input Parameters
* is_percentage_pricing has been added to Item#UpdateRequest.
* line_item[subscription_id] has been added to CreditNote#RetrieveRequest.
* line_item[customer_id] has been added to CreditNote#RetrieveRequest.
* line_item[subscription_id] has been added to Invoice#RetrieveRequest.
* line_item[customer_id] has been added to Invoice#RetrieveRequest.
* billing_override[max_excess_payment_usage] has been added to Estimate#CreateSubItemForCustomerEstimateRequest.
* billing_override[max_refundable_credits_usage] has been added to Estimate#CreateSubItemForCustomerEstimateRequest.
* billing_override[max_excess_payment_usage] has been added to Estimate#UpdateSubscriptionForItemsRequest.
* billing_override[max_refundable_credits_usage] has been added to Estimate#UpdateSubscriptionForItemsRequest.
* billing_start_option has been added to Quote#CreateSubItemsForCustomerQuoteRequest.
* net_term_days has been added to Quote#CreateSubItemsForCustomerQuoteRequest.
* billing_address has been added to Quote#CreateSubItemsForCustomerQuoteRequest.
* subscription_items has been added to Quote#CreateSubItemsForCustomerQuoteRequest.
* discounts has been added to Quote#CreateSubItemsForCustomerQuoteRequest.
* billing_start_option has been added to Quote#EditCreateSubCustomerQuoteForItemsRequest.
* net_term_days has been added to Quote#EditCreateSubCustomerQuoteForItemsRequest.
* billing_address has been added to Quote#EditCreateSubCustomerQuoteForItemsRequest.
* subscription_items has been added to Quote#EditCreateSubCustomerQuoteForItemsRequest.
* discounts has been added to Quote#EditCreateSubCustomerQuoteForItemsRequest.
* net_term_days has been added to Quote#UpdateSubscriptionQuoteForItemsRequest.
* subscription_items has been added to Quote#UpdateSubscriptionQuoteForItemsRequest.
* discount has been added to Quote#UpdateSubscriptionQuoteForItemsRequest.
* coupons has been added to Quote#UpdateSubscriptionQuoteForItemsRequest.
* net_term_days has been added to Quote#EditUpdateSubscriptionQuoteForItemsRequest.
* subscription_items has been added to Quote#EditUpdateSubscriptionQuoteForItemsRequest.
* discounts has been added to Quote#EditUpdateSubscriptionQuoteForItemsRequest.
* coupons has been added to Quote#EditUpdateSubscriptionQuoteForItemsRequest.
* billing_address has been added to Quote#CreateForChargeItemsAndChargesRequest.
* billing_address has been added to Quote#EditForChargeItemsAndChargesRequest.
* sort_by[order] has been added to Subscription#SubscriptionContractTermsForSubscriptionRequest.
* item_tiers has been added to Quote#UpdateSubscriptionQuoteForItemsRequest.
* item_tiers has been added to Quote#EditUpdateSubscriptionQuoteForItemsRequest.
* item_tiers has been added to Quote#CreateSubItemsForCustomerQuoteRequest.
* item_tiers has been added to Quote#EditCreateSubCustomerQuoteForItemsRequest.
### New Endpoints:
* PauseDunningRequest has been added to Invoice.
* ResumeDunningRequest has been added to Invoice.
### Enum Attributes:
* BillingPeriodUnitEnum has been added.
* BillingStartOptionEnum has been added.
* OMNICHANNEL_SUBSCRIPTION_ITEM_RESUMED has been added to EventTypeEnum.
### v3.7.0 (2025-05-15)
* * *
### New Resources
* UsageFile has been added.
### Input Parameter
* discount[apply_on] has been made optional from required in Estimate#CreateSubItemEstimateRequest.
* discount[apply_on] has been made optional from required in Estimate#CreateSubItemForCustomerEstimateRequest.
* discount[apply_on] has been made optional from required in Estimate#UpdateSubscriptionForItemsRequest.
* discount[apply_on] has been made optional from required in HostedPage#CheckoutNewForItemsRequest.
* discount[apply_on] has been made optional from required in HostedPage#CheckoutNewForItemsRequest.
* discount[apply_on] has been made optional from required in HostedPage#CheckoutNewForItemsRequest.
* discount[apply_on] has been made optional from required in HostedPage#CheckoutNewForItemsRequest.
* discount[apply_on] has been made optional from required in PricingPageSession#CheckoutNewForItemsRequest.
* discount[apply_on] has been made optional from required in PricingPageSession#CreateForExistingSubscriptionRequest.
* discount[apply_on] has been made optional from required in Quote#CreateSubItemsForCustomerQuoteRequest.
* discount[apply_on] has been made optional from required in Quote#EditCreateSubCustomerQuoteForItemsRequest.
* discount[apply_on] has been made optional from required in Quote#UpdateSubscriptionQuoteForItemsRequest.
* discount[apply_on] has been made optional from required in Quote#EditUpdateSubscriptionQuoteForItemsRequest.
* discount[apply_on] has been made optional from required in Subscription#CreateWithItemsRequest.
* discount[apply_on] has been made optional from required in Subscription#UpdateForItemsRequest.
* discount[apply_on] has been made optional from required in Subscription#ImportForItemsRequest.
* line_item_addresses[] has been added to Invoice#ImportInvoiceRequest.
* source has been added to OmnichannelSubscription#OmnichannelSubscriptionListRequest.
### Attributes:
* swift_code has been made optional from required in VirtualBankAccount.
### Enum Attributes:
* OMNICHANNEL_SUBSCRIPTION_ITEM_PAUSED has been added to EventTypeEnum.
* PAUSED has been added to OmnichannelSubscriptionItem#StatusEnum.
* MERCHANT_REVOKED has been added to OmnichannelSubscriptionItem#CancellationReasonEnum.
### v3.6.1 (2025-04-25)
* * *
### Bug fixes:
* Fixed an issue where the optional boolean field is_percentage_pricing at Item Model was incorrectly marked as required.
* Fixed an issue where the optional enum field item_applicability at Item Model was incorrectly marked as required.
### v3.6.0 (2025-04-23)
* * *
### New Resources:
* OmnichannelSubscriptionItemScheduledChange has been added.
### New Attributes:
* pricing_type has been added to DifferentialPrice#Tier.
* package_size has been added to DifferentialPrice#Tier.
* pricing_type has been added to ItemPrice#Tier.
* package_size has been added to ItemPrice#Tier.
* pricing_type has been added to Addon#Tier.
* package_size has been added to Addon#Tier.
* pricing_type has been added to Plan#Tier.
* package_size has been added to Plan#Tier.
* pricing_type has been added to CreditNote#LineItemTier.
* package_size has been added to CreditNote#LineItemTier.
* pricing_type has been added to CreditNoteEstimate#LineItemTier.
* package_size has been added to CreditNoteEstimate#LineItemTier.
* pricing_type has been added to DifferentialPrice#Tier.
* package_size has been added to DifferentialPrice#Tier.
* pricing_type has been added to Invoice#LineItemTier.
* package_size has been added to Invoice#LineItemTier.
* pricing_type has been added to InvoiceEstimate#LineItemTier.
* package_size has been added to InvoiceEstimate#LineItemTier.
* pricing_type has been added to Quote#LineItemTier.
* package_size has been added to Quote#LineItemTier.
* pricing_type has been added to QuotedCharge#LineItemTier.
* package_size has been added to QuotedCharge#LineItemTier.
* pricing_type has been added to QuotedSubscription#LineItemTier.
* package_size has been added to QuotedSubscription#LineItemTier.
* pricing_type has been added to Ramp#ItemTier.
* package_size has been added to Ramp#ItemTier.
* pricing_type has been added to Subscription#ItemTier.
* package_size has been added to Subscription#ItemTier.
* pricing_type has been added to UnbilledCharges#Tier.
* package_size has been added to UnbilledCharges#Tier.
* metered has been added to CreditNote#LineItem.
* metered has been added to CreditNoteEstimate#LineItem.
* metered has been added to Invoice#LineItem.
* metered has been added to Quote#LineItem.
* metered has been added to QuoteLineGroup#LineItem.
* usage_percentage has been changed to percentage in CreditNote#LineItem.
* usage_percentage has been changed to percentage in CreditNoteEstimate#LineItem.
* usage_percentage has been changed to percentage in Invoice#LineItem.
* usage_percentage has been changed to percentage in Quote#LineItem.
* usage_percentage has been changed to percentage in QuoteLineGroup#LineItem.
* line_item_addresses has been added to CreditNote.
* line_item_addresses has been added to Invoices.
* line_item_addresses has been added to InvoiceEstimate.
* has_scheduled_changes has been added on OmnichannelSubscriptionItem.
* item_parent_id_at_source has been added to OmnichannelSubscriptionItem.
* auto_renew_status has been added to OmnichannelSubscriptionItem.
* upcoming_renewal has been added to OmnichannelSubscriptionItem.
* is_percentage_pricing has been added to Item.
### New Action:
* listOmniSubItemScheduleChanges has been added to OmnichannelSubscriptionItem.
### Optional Attribute:
* price_currency has been made optional from requried in OmnichannelTransaction.
* price_units has been made optional from requried in OmnichannelTransaction.
* price_nanos has been made optional from requried in OmnichannelTransaction.
* transacted_at has been made optional from requried in OmnichannelTransaction.
### New Input Params:
* item_tiers[pricing_type] has been added to DifferentialPrice#CreateInputParam.
* item_tiers[package_size] has been added to DifferentialPrice#CreateInputParam.
* item_tiers[pricing_type] has been added to ItemPrice#CreateInputParam.
* item_tiers[package_size] has been added to ItemPrice#CreateInputParam.
* tiers[pricing_type] has been added to DifferentialPrice#CreateInputParam.
* tiers[package_size] has been added to DifferentialPrice#CreateInputParam.
* item_tiers[pricing_type] has been added to Estimate#CreateSubItemEstimateRequestInputParam.
* item_tiers[package_size] has been added to Estimate#CreateSubItemEstimateRequestInputParam.
* item_tiers[pricing_type] has been added to Estimate#CreateSubItemForCustomerRequestInputParam.
* item_tiers[package_size] has been added to Estimate#CreateSubItemForCustomerRequestInputParam.
* item_tiers[pricing_type] has been added to Estimate#UpdateSubscriptionForItemsRequestInputParam.
* item_tiers[package_size] has been added to Estimate#UpdateSubscriptionForItemsRequestInputParam.
* item_tiers[pricing_type] has been added to Estimate#CreateInvoiceForItemsRequestInputParam.
* item_tiers[package_size] has been added to Estimate#CreateInvoiceForItemsRequestInputParam.
* item_tiers[pricing_type] has been added to Estimate#CheckoutNewForItemsRequestInputParam.
* item_tiers[package_size] has been added to Estimate#CheckoutNewForItemsRequestInputParam.
* item_tiers[pricing_type] has been added to Estimate#CheckoutOneTimeForItemsRequestInputParam.
* item_tiers[package_size] has been added to Estimate#CheckoutOneTimeForItemsRequestInputParam.
* item_tiers[pricing_type] has been added to Estimate#CheckoutExistingForItemsRequestInputParam.
* item_tiers[package_size] has been added to Estimate#CheckoutExistingForItemsRequestInputParam.
* item_tiers[pricing_type] has been added to Invoice#CreateForChargeItemsAndChargesRequestInputParam.
* item_tiers[package_size] has been added to Invoice#CreateForChargeItemsAndChargesRequestInputParam.
* item_tiers[pricing_type] has been added to Invoice#CreateForChargeItemRequestInputParam.
* item_tiers[package_size] has been added to Invoice#CreateForChargeItemRequestInputParam.
* item_tiers[pricing_type] has been added to Invoice#AddChargeItemRequestInputParam.
* item_tiers[package_size] has been added to Invoice#AddChargeItemRequestInputParam.
* item_tiers[pricing_type] has been added to Quote#CreateSubItemsForCustomerQuoteRequestInputParam.
* item_tiers[package_size] has been added to Quote#CreateSubItemsForCustomerQuoteRequestInputParam.
* item_tiers[pricing_type] has been added to Quote#EditCreateSubCustomerQuoteForItemsRequestInputParam.
* item_tiers[package_size] has been added to Quote#EditCreateSubCustomerQuoteForItemsRequestInputParam.
* item_tiers[pricing_type] has been added to Quote#UpdateSubscriptionQuoteForItemsRequestInputParam.
* item_tiers[package_size] has been added to Quote#UpdateSubscriptionQuoteForItemsRequestInputParam.
* item_tiers[pricing_type] has been added to Quote#EditUpdateSubscriptionQuoteForItemsRequestInputParam.
* item_tiers[package_size] has been added to Quote#EditUpdateSubscriptionQuoteForItemsRequestInputParam.
* item_tiers[pricing_type] has been added to Quote#CreateForChargeItemsAndChargesRequestInputParam.
* item_tiers[package_size] has been added to Quote#CreateForChargeItemsAndChargesRequestInputParam.
* item_tiers[pricing_type] has been added to Quote#EditForChargeItemsAndChargesRequestInputParam.
* item_tiers[package_size] has been added to Quote#EditForChargeItemsAndChargesRequestInputParam.
* item_tiers[pricing_type] has been added to Ramp#CreateForSubscriptionRequestInputParam.
* item_tiers[package_size] has been added to Ramp#CreateForSubscriptionRequestInputParam.
* item_tiers[pricing_type] has been added to Ramp#UpdateRequestInputParam.
* item_tiers[package_size] has been added to Ramp#UpdateRequestInputParam.
* item_tiers[pricing_type] has been added to Subscription#CreateWithItemsRequestInputParam.
* item_tiers[package_size] has been added to Subscription#CreateWithItemsRequestInputParam.
* item_tiers[pricing_type] has been added to Subscription#UpdateForItemsRequestInputParam.
* item_tiers[package_size] has been added to Subscription#UpdateForItemsRequestInputParam.
* item_tiers[pricing_type] has been added to Subscription#ImportForItemsRequestInputParam.
* item_tiers[package_size] has been added to Subscription#ImportForItemsRequestInputParam.
* item_tiers[pricing_type] has been added to UnbilledCharged#CreateRequestInputParam.
* item_tiers[package_size] has been added to UnbilledCharged#CreateRequestInputParam.
* billing_address has been added to Estimate#CreateInvoiceForItemsRequestInputParam.
* google_play_store[purchase_token] has been added to RecordedPurchase#CreateRequestInputParam.
* is_percentage_pricing has been added to Item#CreateRequest.
* include_deleted has been added to PaymentSource#ListRequest.
### New Enums:
* OMNICHANNEL_SUBSCRIPTION_ITEM_SCHEDULED_CHANGE has been added to EntityType#Enum.
* OMNICHANNEL_SUBSCRIPTION_ITEM_CHANGE_SCHEDULED has been added to EventType#Enum.
* OMNICHANNEL_SUBSCRIPTION_ITEM_SCHEDULED_CHANGE_REMOVED has been added to EventType#Enum.
* OMNICHANNEL_SUBSCRIPTION_ITEM_REACTIVATED has been added to EventType#Enum.
* GOOGLE_PLAY_STORE has been added to OminchannelSubscription#SourceEnum.
* SPECIFIC_DATE has been added to ContractTermCancelOption.
* END_OF_SUBSCRIPTION_BILLING_TERM has been added to ContractTermCancelOption.
* PAYSTACK has been added to GatewayEnum.
* PricingType Enum has been added.
* JP_MORGAN has been added to GatewayEnum.
### Deprecated Enums:
* OMNICHANNEL_SUBSCRIPTION_ITEM_DOWNGRADE_SCHEDULED has been deprecated from EntityType#Enum.
* OMNICHANNEL_SUBSCRIPTION_ITEM_SCHEDULED_DOWNGRADE_REMOVED has been deprecated from EntityType#Enum.
* REFUNDED_DUE_TO_APP_ISSUE has been added to OmnichannelSubscriptionItem#CancellationReasonEnum.
* REFUNDED_FOR_OTHER_REASON has been added to OmnichannelSubscriptionItem#CancellationReasonEnum.
### v3.5.0 (2025-03-06)
* * *
### New Input Params:
* created_at has been added to Invoice#LineItemsImportInputParams.
* PaymentIntent has been added to Purchase#CreateInputParams.
### New Enums:
* SUBSCRIPTION_ENTITLEMENTS_UPDATED has been added to EventType#Enum.
### v3.4.0 (2025-02-10)
* * *
#### New Resources:
* Rule has been added.
* UsageEvent has been added.
#### New Attribute:
* deleted has been added to AttachedItem.
* deleted has been added to Coupon.
* deleted has been added to DifferentialPrice.
* deleted has been added to ItemFamily.
* deleted has been added to ItemPrice.
* deleted has been added to Item.
* deleted has been added to PriceVariant.
* tax_application has abeend added to CreditNote#Allocation.
* tax_application has been added to Invoice#AppliedCredit.
* line_item_credit has been added to Invoice.
#### New Input Params:
* exhausted_coupon_ids has been added to Subscription#ImportForItems.
#### New Enums
* STORE has been added in CreditNote#TypeEnum.
* STORE has been added in CreditNoteEstimate#TypeEnum.
* STORE has been added in Order#TypeEnum.
* TaxApplicationEnum has been added in CreditNote#Application.
* TaxApplicationEnum has been added in Invoice#AppliedCredit.
* RECORDED_PURCHASE has been added in EntityTypeEnum.
* RECORD_PURCHASE_FAILED, has been added in EventTypeEnum.
#### Deleted Input Params
* tax_providers_fields has been removed from Customer#MoveParams.
* tax_providers_fields has been removed from Customer#MergeParams
#### Deprecated input params.
* deprecated label in discount_quantity has been removed from Coupon#CreateParams.
* deprecated label in discount_quantity has been removed from Coupon#UpdateParams.
* deprecated label in discount_quantity has been removed from Coupon#CreateForItemsParams.
* deprecated label in discount_quantity has been removed from Coupon#UpdateForItemsParams.
### v3.3.0 (2024-12-19)
* * *
#### New Resource:
* Configuration has been added.
#### New Attribute:
* discount_type has been added to CreditNote#Discount.
* discount_type has been added to CreditNoteEstimate#Discount.
* discount_type has been added to Invoice#Discount.
* discount_type has been added to InvoiceEstimate#Discount.
* discount_type has been added to QuoteLineGroup#Discount.
* initial_purchase_transaction has been added to OmnichannelSubscription.
* error_cause_id has been added to GatewayErrorDetail.
* error_cause_id has been added to Transaction#GatewayErrorDetail.
* error_cause_id has been added to APIError.
* deleted has been added to Quote.
* current_term_start has been added to QuotedSubscripiton#SubscriptionItem.
* current_term_end has been added to QuotedSubscripiton#SubscriptionItem.
* next_billing_at has been added to QuotedSubscripiton#SubscriptionItem.
* current_term_start has been added to Subscription#SubscriptionItem.
* current_term_end has been added to Subscription#SubscriptionItem.
* next_billing_at has been added to Subscription#SubscriptionItem.
* billing_override has been added to Subscription.
* grace_period_expires_at has been added to OmnichannelSubscriptionItem.
#### New Input Params:
* billing_override has been added to Subscription#CreateWithItemsInputParam.
* billing_override has been added to Subscription#UpdateForItemsInputParam.
#### New Enum Values:
* OMNICHANNEL_SUBSCRIPTION_IMPORTED has been added to EventTypeEnum.
* DISABLED has been added to Event#WebhookStatus.
* OMNICHANNEL_SUBSCRIPTION_ITEM_GRACE_PERIOD_STARTED has been added to EventTypeEnum.
* OMNICHANNEL_SUBSCRIPTION_ITEM_GRACE_PERIOD_EXPIRED has been added to EventTypeEnum.
* OMNICHANNEL_SUBSCRIPTION_ITEM_DUNNING_STARTED has been added to EventTypeEnum.
* OMNICHANNEL_SUBSCRIPTION_ITEM_DUNNING_EXPIRED has been added to EventTypeEnum.
* IGNORED has been added to RecordedPurchase#StatusEnum.
* IN_DUNNING & IN_GRACE_PERIOD have been added to OmnichannelSubscriptionItem#StatusEnum.
### v3.2.1 (2024-12-04)
* * *
#### Bug Fixes
* unable to access content of HostedPage & Event (#57).
* uncaught promise in case of fetch failure (#58).
### v3.2.0 (2024-11-27)
* * *
#### New Resource:
* OmnichannelSubscriptionItem has been added.
#### New Attribute:
* resource_version has been added to OmnichannelSubscription.
* resource_version has been added to OmnichannelTransaction.
* resource_version has been added to RecordedPurchase.
#### New Input Parameters:
* limit has been added to OmnichannelSubscription#ListRequest.
* offset has been added to OmnichannelSubscription#ListRequest.
* customer_id has been added to OmnichannelSubscription#ListRequest.
* replace_coupon_list has been added to HostedPage#CheckoutExistingRequest.
* replace_coupon_list has been added to HostedPage#CheckoutExistingForItemsRequest.
* subscription[po_number] has been added to HostedPage#CheckoutNewForItemsRequest.
#### Removed Subresource:
* OmnichannelSubscriptionItem subresource has been removed from OmnichannelSubscription and is now a standalone resource.
#### Removed Attribute:
* metadata has been removed from subscription.
### v3.1.0 (2024-11-14)
* * *
#### New Resource:
* OmnichannelTransaction has been added.
* OmnichannelSubscription has been added.
* RecordedPurchase has been added.
#### New Attributes:
* business_entity_id has been added to AttachedItem.
* business_entity_id has been added to DifferentialPrice.
* business_entity_id has been added to Items.
* business_entity_id has been added to ItemFamily.
* business_entity_id has been added to ItemPrice.
* business_entity_id has been added to PriceVariant.
* valid_from has been added to coupon.
#### New Input Parameters:
* business_entity_id has been added to AttachedItem#CreateRequest.
* preferred_scheme has been added to Card#UpdateCardForCustomerRequest.
* valid_from has been added to Coupon#CreateForItem & Coupon#UpdateForItemsRequest.
* preferred_scheme has been added to Customer#CreateRequest & Customer#CollectPaymentRequest.
* business_entity_id has been added to DifferentialPrice#CreateRequest.
* preferred_scheme has been added to Invoice#CreateRequest & Invoice#CreateForChargeItemsAndChargesRequest.
* business_entity_id has been added to Items#CreateRequest.
* business_entity_id & include_site_level_resources have been added to Items#ListItemParams.
* business_entity_id has been added to ItemFamily#CreateRequest.
* business_entity_id & include_site_level_resources have been added to ItemFamily#ListItemFamilyParams.
* business_entity_id has been added to ItemPrice#CreateRequest.
* business_entity_id & include_site_level_resources have been added to ItemPrice#ListItemPriceParams.
* business_entity_id & include_site_level_resources have been added to PriceVariant#ListItemFamilyParams.
* business_entity_id has been added to PriceVariant#CreateRequest.
* business_entity_id & include_site_level_resources have been added to PriceVariant#ListPriceVariantParams.
* preferred_scheme has been added to Subscription#CreateRequest, Subscription#UpdateRequest.
* preferred_scheme Subscription#UpdateForItemsRequest, & Subscription#ImportSubscriptionRequest.
* business_entity_id & include_site_level_resources have been added to Export#ItemFamiliesRequest & Export#ItemsRequest.
* business_entity_id & include_site_level_resources have been added to Export#ItemPricesRequest Export#PriceVariantsRequest
* name & flexible_schedules[period] have been added to PaymentScheduleScheme#CreateRequest.
#### New Enum Values:
* FUTURE has been added to Coupon#StatusEnum.
* EXISTING_CUSTOMER & NEW_CUSTOMER have been added to Coupon#TypeEnum.
* LATE_FAILURE has added to Transation#LinkedPaymentEnum & Transation#StatusEnum.
* OMNICHANNEL_SUBSCRIPTION, has been added to EntityTypeEnum.
* OMNICHANNEL_SUBSCRIPTION_ITEM, has been added to EntityTypeEnum.
* OMNICHANNEL_TRANSACTION, has been added to EntityTypeEnum.
* OMNICHANNEL_SUBSCRIPTION_ITEM_RENEWED, has been added to EventTypeEnum.
* OMNICHANNEL_SUBSCRIPTION_CREATED, has been added to EventTypeEnum.
* OMNICHANNEL_SUBSCRIPTION_ITEM_DOWNGRADE_SCHEDULED, has been added to EventTypeEnum.
* OMNICHANNEL_SUBSCRIPTION_ITEM_SCHEDULED_DOWNGRADE_REMOVED, has been added to EventTypeEnum.
* OMNICHANNEL_SUBSCRIPTION_ITEM_DOWNGRADED, has been added to EventTypeEnum.
* OMNICHANNEL_SUBSCRIPTION_ITEM_EXPIRED, has been added to EventTypeEnum.
* OMNICHANNEL_SUBSCRIPTION_ITEM_CANCELLATION_SCHEDULED, has been added to EventTypeEnum.
* OMNICHANNEL_SUBSCRIPTION_ITEM_SCHEDULED_CANCELLATION_REMOVED, has been added to EventTypeEnum.
* OMNICHANNEL_SUBSCRIPTION_ITEM_RESUBSCRIBED, has been added to EventTypeEnum.
* OMNICHANNEL_SUBSCRIPTION_ITEM_UPGRADED, has been added to EventTypeEnum.
* OMNICHANNEL_SUBSCRIPTION_ITEM_CANCELLED, has been added to EventTypeEnum.
## v3.0.2 (2024-11-09)
### Bug fixes:
* Fix minor typo in .npmignore that caused the types folder to be missed. Resolves #55.
## v3.0.1 (2024-11-06)
* Updated README.
## v3.0.0 (2024-11-06)
* Releasing major version `v3.0.0` :tada:
### v3.0.0-beta.5 (2024-11-05)
#### Naming Convention Fix:
* New suffix Enum has been added to global type.
* payment_vouchersForInvoice has been renamed to paymentVouchersForInvoice.
* payment_vouchersForCustomer has been renamed to paymentVouchersForCustomer.
* Payment_vouchersForInvoiceResponse has been renamed to PaymentVouchersForInvoiceResponse.
* Payment_vouchersForCustomerResponse has been renmed to PaymentVouchersForCustomerResponse.
### v3.0.0-beta.4 (2024-10-18)
#### New Resource:
* PaymentScheduleEstimate has been added.
### New Attributes:
* payment_schedule_estimates has been added to Estimate.
* usage_accumulation_reset_frequency has been added to ItemPrice.
* name has been added to PaymentScheduleScheme.
* usage_accumulation_reset_frequency has been added to QuotedSubscription#SubscriptionItem.
* usage_accumulation_reset_frequency has been added to Subscription#SubscriptionItem.
### New Endpoints:
* Estimate#PaymentSchedule has been added.
### New Input Params:
* usage_accumulation_reset_frequency has been added to ItemPrice#CreateParams.
* usage_accumulation_reset_frequency has been added to ItemPrice#UpdateParams.
* discounts has been added to PricingPageSession#CreateForNewSubscriptionParams.
* discounts has been added to PricingPageSession#CreateForExistingSubscriptionParams.
* invoice_immediately has been added to Quote#ConvertParams.
### Bug Fixes:
* metadata field not working bug fixed.
### Dependency
* moved @types/node to devDependencies.
### v3.0.0-beta.3 (2024-09-20)
* * *
#### New Resource:
* PaymentScheduleScheme has been added.
* PaymentSchedule has been added.
### New Endpoints:
* Invoice#ApplyPaymentScheduleScheme has been added.
* Invoice#PaymentSchedules has been added.
### New Attributes
* bundle_items[] has been added to Items.
* bundle_configuration has been added to Items.
#### New Input parameters:
* bundle_configuration has been added to Items#CreateParams, Items#UpdateParams & Items#ListParams.
* bundle_items_to_add[] has been added to Items#CreateParams & Items#UpdateParams.
* bundle_items_to_update[] has been added to Items#UpdateParams.
* bundle_items_to_remove[] has been added to Items#UpdateParams.
* payment_schedule has been added to Purchase#CreateParams.
### New Enum Values:
* payment_schedules_created has been added to EventTypeEnum.
* payment_schedules_updated has been added to EventTypeEnum.
* payment_schedule_scheme_created has been added to EventTypeEnum.
* payment_schedule_scheme_deleted has been added to EventTypeEnum.
### Removed Resource:
* Installment has been removed.
* InstallmentConfig has been removed.
* InstallmentDetail has been removed.
### Removed Endpoints:
* Invoice#Installments has been removed.
### Removed Input parameters:
* installment_info has been removed from Purchase#CreateParams.
### Removed Enum Values:
* invoice_installments_created has been removed from EventTypeEnum.
* invoice_installment_updated has been removed from EventTypeEnum.
* installment_config_created has been removed from EventTypeEnum.
* installment_config_deleted has been removed from EventTypeEnum.
#### Bug Fixes:
* HttpClient wrong configuration fixed.
* Missed Resource Non-Subscription has been added.
#### Enhancements:
* Better type support for custom fields.
### v3.0.0-beta.2 (2024-08-29)
* * *
#### Bug Fixes:
* content-length bug fixes for fetch.
### v3.0.0-beta.1 (2024-08-26)
* * *
* Names of the resources, operations etc. have been changed from snake_case to camelCase. For example, configuration option api_key is now apiKey.
* Minimum Node.js version is 18
* Class based models are replaced with TypeScript types.
* Response will contain headers instead of responseHeaders.
* Response will contain isIdempotencyReplayed field instead of isIdempotencyReplayed() method.
### v2.40.0 (2024-08-14)
* * *
#### New Attributes:
* feature_type has been added in SubscriptionEntitlement.
* business_entity_id has been made optional in Quote.
* business_entity_id has been made optional in CreditNote.
#### New Input parameters:
* invoice_usages has been added in Subscription#UpdateForItemsRequest.
* invoice_usages has been added in Estimate#UpdateSubscriptionForItemsRequest.
### v2.39.0 (2024-07-31)
* * *
#### New Resource:
* Metadata has been added.
#### New Attributes:
* variant_group has been added in PriceVariant resource.
* effective_from & schedule_status have been added in EntitlementOverride resource.
* effective_from & schedule_status have been added in SubscriptionEntitlement resource.
* status_transition_reason has been added in Ramp subresource.
* billing_period & billing_period_unit have been added in SubscriptionItem subresource.
#### New Input parameters:
* variant_group has been added to PriceVariant#CreateRequest, PriceVariant#UpdateRequest.
* include_scheduled_overrides has been added to SubscriptionEntitlement#SubscriptionEntitlementsForSubscriptionRequest.
* entitlement_overrides[effective_from] has been added to SubscriptionEntitlement#SubscriptionEntitlementsForSubscriptionRequest.
* entitlement_overrides[effective_from] has been added to EntitlementOverride#AddEntitlementOverrideForSubscriptionRequest.
* include_scheduled_overrides has been added to EntitlementOverride#ListEntitlementOverrideForSubscriptionRequest.
* updated_at has been added to Usage#ListRequest.
#### New Enum values:
* SUBSCRIPTION_ITEMS_RENEWED has been added in EventType enum.
* SUBSCRIPTION_RAMP_DRAFTED has been added in EventType enum.
* SUBSCRIPTION_RAMP_UPDATED has been added in EventType enum.
### v2.38.0 (2024-07-19)
* * *
#### New Input parameters:
* change_option has been added to HostedPage#CheckoutExistingForItemsRequest.
* changes_scheduled_at has been added to HostedPage#CheckoutExistingForItemsRequest.
#### Bug Fixes:
* index.d.ts referencing to non existing file/ non resources.
* missing imports for few resources.
### v2.37.0 (2024-07-03)
* * *
#### New resources:
* Currency has been added.
* PricingPageSession Transfer has been added.
#### New Enum
* cancel_option Enum has been added.
#### New Enum values:
* ONLINE_BANKING_POLAND has been added in PaymentMethod enum.
* ONLINE_BANKING_POLAND has been added in PaymentMethodType enum.
* ONLINE_BANKING_POLAND has been added in Type enum.
* DRAFT has been added in Ramp enum.
#### New Input parameters:
* cancel_option has been added to Estimate#CancelSubscriptionRequest, Estimate#CancelSubscriptionForItemsRequest.
* cancel_option has been added to Subscription#CancelForItemsRequest, Subscription#CancelRequest.
* statement_descriptor[descriptor] has been added to Purchase#ChargeRequest.
#### New Attributes:
* tax_origin has been added to Invoice.
* tax_origin has been added to CreditNote.
### v2.36.0 (2024-05-28)
* * *
#### New resources:
* BusinessEntity has been added.
* BusinessEntity Transfer has been added.
#### New Enum values:
* NUVEI has been added in Gateway enum.
#### New Attributes:
* site_details_at_creation has been added to CreditNote.
* site_details_at_creation has been added to Invoice.
#### New Input parameters:
* tax_providers_fields[provider_name] has been added to Addon#CreateRequest, Addon#UpdateRequest.
* tax_providers_fields[field_id] has been added to Addon#CreateRequest, Addon#UpdateRequest.
* tax_providers_fields[field_value] has been added to Addon#CreateRequest, #UpdateRequest.
* tax_providers_fields[provider_name] has been added to Customer#CreateRequest, Customer#UpdateRequest, Customer#MoveRequest.
* tax_providers_fields[field_id] has been added to Customer#CreateRequest, Customer#UpdateRequest, Customer#MoveRequest.
* tax_providers_fields[field_value] has been added to Customer#CreateRequest, Customer#UpdateRequest, Customer#MoveRequest..
* tax_providers_fields[provider_name] has been added to Estimate#CreateSubscriptionRequest, Estimate#CreateSubItemEstimateRequest, Estimate#CreateInvoiceRequest, CreateInvoiceForItemsRequest.
* tax_providers_fields[field_id] has been added to Estimate#CreateSubscriptionRequest, Estimate#CreateSubItemEstimateRequest, Estimate#CreateInvoiceRequest, CreateInvoiceForItemsRequest.
* tax_providers_fields[field_value] has been added to Estimate#CreateSubscriptionRequest, Estimate#CreateSubItemEstimateRequest, Estimate#CreateInvoiceRequest, CreateInvoiceForItemsRequest.
* tax_providers_fields[provider_name] has been added to Invoice#CreateRequest, Invoice#CreateForChargeItemsAndChargesRequest, Invoice#ChargeRequest.
* tax_providers_fields[field_id] has been added to Invoice#CreateRequest, Invoice#CreateForChargeItemsAndChargesRequest, Invoice#ChargeRequest.
* tax_providers_fields[field_value] has been added to Invoice#CreateRequest, Invoice#CreateForChargeItemsAndChargesRequest, Invoice#ChargeRequest.
* tax_providers_fields[provider_name] has been added to ItemPrice#CreateRequest, ItemPrice#UpdateRequest.
* tax_providers_fields[field_id] has been added to ItemPrice#CreateRequest, ItemPrice#UpdateRequest.
* tax_providers_fields[field_value] has been added to ItemPrice#CreateRequest, ItemPrice#UpdateRequest.
* tax_providers_fields[provider_name] has been added to Plan#CreateRequest, Plan#UpdateRequest.
* tax_providers_fields[field_id] has been added to Plan#CreateRequest, Plan#UpdateRequest.
* tax_providers_fields[field_value] has been added to Plan#CreateRequest, Plan#UpdateRequest.
* tax_providers_fields[provider_name] has been added to Quote#EditOneTimeQuoteRequest, Quote#CreateForOnetimeChargesRequest, Quote#CreateForChargeItemsAndChargesRequest, Quote#EditForChargeItemsAndChargesRequest.
* tax_providers_fields[field_id] has been added to Quote#EditOneTimeQuoteRequest, Quote#CreateForOnetimeChargesRequest, Quote#CreateForChargeItemsAndChargesRequest, Quote#EditForChargeItemsAndChargesRequest.
* tax_providers_fields[field_value] has been added to Quote#EditOneTimeQuoteRequest, Quote#CreateForOnetimeChargesRequest, Quote#CreateForChargeItemsAndChargesRequest, Quote#EditForChargeItemsAndChargesRequest.
* tax_providers_fields[provider_name] has been added to UnbilledCharge#CreateUnbilledChargeRequest, UnbilledCharge#CreateRequest.
* tax_providers_fields[field_id] has been added to UnbilledCharge#CreateUnbilledChargeRequest, UnbilledCharge#CreateRequest.
* tax_providers_fields[field_value] has been added to UnbilledCharge#CreateUnbilledChargeRequest, UnbilledCharge#CreateRequest.
* line_items[entity_type] has been added to CreditNote#CreateRequest.
* line_items[entity_id] has been added to CreditNote#CreateRequest.
### v2.35.1 (2024-05-02)
* * *
#### Removed resources:
* Session has been removed.
### v2.35.0 (2024-04-30)
* * *
#### New resources:
* PriceVariant has been added.
* Ramp has been added.
* InstallmentDetail has been added.
* Session has been added.
* Ramp has been added.
#### New Enum values:
* INVOICE_INSTALLMENTS_CREATED has been added in EventType enum.
* INVOICE_INSTALLMENT_UPDATED has been added in EventType enum.
* INSTALLMENT_CONFIG_CREATED has been added in EventType enum.
* INSTALLMENT_CONFIG_DELETED has been added in EventType enum.
* RAMP_CREATED has been added in EventType enum.
* RAMP_DELETED has been added in EventType enum.
* RAMP_APPLIED has been added in EventType enum.
#### New Attributes:
* tax_providers_fields has been added to Addon resource.
* tax_providers_fields has been added to Customer resource.
* tax_providers_fields has been added to ItemPrice resource.
* tax_providers_fields has been added to Plan resource.
* resource_version has been added to Installment resource.
* resource_version has been added to InstallmentConfig resource.
* KlarnaPayNow has been added to PaymentSource resource.
* business_entity_id has been added to UnbilledCharge resource.
#### New Endpoints:
* Exports#PriceVariantsRequest has been added to Exports resource.
#### New Input parameters:
* changes_scheduled_at, change_option has been added to Estimate#UpdateSubscriptionRequest.
* changes_scheduled_at, change_option has been added to Estimate#UpdateSubscriptionForItemsRequest.
* contract_term[contract_start] has been added to Estimate#CreateSubItemEstimateRequest.
* contract_term[contract_start] has been added to Estimate#CreateSubItemForCustomerEstimateRequest.
* contract_term[contract_start] has been added to Subscription#CreateWithItemsRequest.
* contract_term[contract_start] has been added to Subscription#UpdateForItemsRequest.
* price_variant_id has been added to ItemPrice#CreateRequest.
* price_variant_id has been added to ItemPrice#UpdateRequest.
* price_variant_id has been added to ItemPrice#ListRequest.
#### Removed attributes:
* additional_info has been removed from Invoice#StatmentDescriptor resource.
#### Removed Input parameters:
* additional_info has been removed from Subscription#CreateRequest.
* additional_info has been removed from Subscription#CreateForCustomerRequest.
* additional_info has been removed from Subscription#CreateWithItemsRequest.
* additional_info has been removed from Subscription#UpdateRequest.
* additional_info has been removed from Subscription#UpdateForItemsRequest.
* additional_info has been removed from Subscription#ReactivateRequest.
### v2.34.1 (2024-04-03)
* * *
#### New Input parameters:
* to_customer_id has been added to subscription#MoveRequest.
* copy_payment_source has been added to subscription#MoveRequest.
#### New endpoints:
* Subscription#MoveRequest has been added to the Subscription resource.
### v2.34.0 (2024-03-20)
* * *
#### New resources:
* Attribute has been added.
* ImpactedItemPrice has been added.
* InstallmentConfig has been added.
* Installment has been added.
#### Removed attributes:
* product_id has been removed from ItemPrice resource.
#### New Enum values:
* klarna_pay_now has been added to TypeEnum in Customer resource.
* klarna_pay_now has been added to PaymentMethodEnum.
* klarna_pay_now has been added to PaymentMethodTypeEnum enum.
* klarna_pay_now has been added to TypeEnum.
* price_variant has been added to EntityTypeEnum.
* price_variant_created has been added in EventType enum.
* price_variant_updated has been added in EventType enum.
* price_variant_deleted has been added in EventType enum.
#### Removed Enum values:
* product and variant have been removed from EntityTypeEnum.
#### New Input parameters:
* config_id has been added to Invoice#InstallmentsRequest.
* amount has been added to Invoice#InstallmentsRequest.
* payment_source_id has been added to Purchase#CreateRequest.
* installment_info[config_id] has been added to Purchase#CreateRequest.
* installment_info[amount] has been added to Purchase#CreateRequest.
* subscription_info[contract_term_billing_cycle_on_renewal] has been added to Purchase#CreateRequest.
* contract_terms[index] has been added to Purchase#CreateRequest.
* contract_terms[action_at_term_end] has been added to Purchase#CreateRequest.
* contract_terms[cancellation_cutoff_period] has been added to Purchase#CreateRequest.
* subscription_info[contract_term_billing_cycle_on_renewal] has been added to Purchase#EstimateRequest.
* contract_terms[index] has been added to Purchase#EstimateRequest.
* contract_terms[action_at_term_end] has been added to Purchase#EstimateRequest.
* contract_terms[cancellation_cutoff_period] has been added to Purchase#EstimateRequest.
#### Deprecated input parameters:
* product_created, product_updated, product_deleted, variant_created, variant_updated, variant_deleted has been deprecated in EventTypeEnum.
### v2.33.1 (2024-03-06)
* * *
* NonSubscription has been added.
### v2.33.0 (2024-02-29)
* * *
#### New attributes:
* usage_percentage has been added to QuoteLineGroup resource.
* usage_percentage has been added to Quote resource.
* usage_percentage has been added to CreditNoteEstimate resource.
* usage_percentage has been added to CreditNote resource.
* usage_percentage has been added to InvoiceEstimate resource.
* usage_percentage has been added to Invoice resource.
* error_detail of type GatewayErrorDetail has been added to PaymentIntent#PaymentAttempt subResource.
* origin_user has been added to Event resource.
* proration_type has been added to QuotedSubscription#SubscriptionItem and Subscription#SubscriptionItem subResources
* network_error_message, recommendation_message, processor_error_code, processor_error_message has been added to Transaction#GatewayErrorDetail subResource.
#### New Enum values:
* TAX_NOT_CONFIGURED_EXTERNAL_PROVIDER has been added to TaxExemptReasonEnum.
#### New Input parameters:
* billing_address has been added to Estimate#CreateSubItemForCustomerEstimateRequest.
* transactions[amount] has been added to Invoice#ApplyPaymentsRequest.
### v2.32.0 (2024-01-31)
* * *
#### New Enum values:
* item_price_entitlements_updated has been added to EventTypeEnum.
* item_price_entitlements_removed has been added to EventTypeEnum.
#### New Input parameters:
* layout has been added to HostedPage#AcceptQuoteRequest in HostedPage resource.
### v2.31.0 (2024-01-04)
* * *
#### New resources:
* Entitlements has been added.
#### New attributes:
* date_to, date_from, prorated_taxable_amount has been added to quote_line_group.
* date_to, date_from, prorated_taxable_amount has been added to quote.
* date_to, date_from, prorated_taxable_amount has been added to credit_note_estimate.
* date_to, date_from, prorated_taxable_amount has been added to credit_note.
* date_to, date_from, prorated_taxable_amount has been added to invoice_estimate.
* date_to, date_from, prorated_taxable_amount has been added to order.
* date_to, date_from, prorated_taxable_amount has been added to invoice.
* active_id has been added to customers.
* active_id has been added to subscriptions.
* reference_id has been made optional for payment_sources/create_using_permanent_token
* custom_payment_method_id has been added to transactions.
* custom_payment_method_name has been added to transactions.
* error_detail has been added to transactions.
#### New Enum values:
* CMR_FALABELLA, TARJETA_NARANJA, NATIVA, CENCOSUD, CABAL, ARGENCARD, ELO, HIPERCARD, CARNET, RUPAY, MAESTRO has been added to Card#CardTypeEnum
* Transferred has been added to Subscription#StatusEnum.
* Transferred has been added to SubscriptionEstimate#StatusEnum.
* AutomatedBankTransfer has been added to PaymentMethodEnum.
* UsAutomatedBankTransfer, GbAutomatedBankTransfer, EuAutomatedBankTransfer, JpAutomatedBankTransfer, MxAutomatedBankTransfer has been added to VirtualBankAccount#SchemeEnum.
* CustomerBusinessEntityChanged, SubscriptionBusinessEntityChanged has been added to EventTypeEnum.
* Dlocal has been added to GatewayEnum.
* UsAutomatedBankTransfer, UkAutomatedBankTransfer, EuAutomatedBankTransfer, JpAutomatedBankTransfer, MxAutomatedBankTransfer, Custom has been added to OfflinePaymentMethodEnum.
* AutomatedBankTransfer has been added to PaymentMethodEnum.
* AutomatedBankTransfer has been added to PaymentMethodTypeEnum.
#### New Input parameters:
* custom_payment_method_name has been added to Transactions#RecordRefundRequest.
* proration_type has been added to Subscription#UpdateForItemsRequest.
* proration_type has been added to ItemPrice.
* payment_initiator has been added to Invoice.
* payment_method_token, customer_profile_token, network_transaction_id, mandate_id, skip_retrieval, card, billing_address has been added to PaymentSource#CreateUsingPermanentTokenRequest.
* subscription_items[proration_type] has been added to Estimate#UpdateSubscriptionForItemsRequest.
* transaction[custom_payment_method_id] has been added to Customer#RecordExcessPaymentRequest.
* transaction[custom_payment_method_id] has been added to CreditNote#RecordRefundRequest.
### v2.30.0 (2023-11-30)
* * *
#### New Enum values:
* swiss_reference has been added to PaymentReferenceNumber#TypeEnum.
#### New Input parameters:
* subscription[po_number] has been added to Quote#EditCreateSubForCustomerQuoteRequest in Quote resource.
* subscription[po_number] has been added to Quote#EditCreateSubCustomerQuoteForItemsRequest in Quote resource.
* * *
### v2.29.0 (2023-10-31)
* * *
#### New attributes:
* statement_descriptor has been added to invoice resource.
* source has been added to the Hosted_Pages resource.
#### New Enum values:
* pay_com has been added to Gateway.
* pay_to, faster_payments, sepa_instant_transfer has been added to Customer#TypeEnum.
* pay_to, faster_payments, sepa_instant_transfer has been added to PaymentMethodEnum.
* pay_to, faster_payments, sepa_instant_transfer has been added to PaymentMethodTypeEnum.
* pay_to, faster_payments, sepa_instant_transfer has been added to TypeEnum.
* pay_to, faster_payments, sepa_instant_transfer, amazon_payments has been added to PaymentIntent#PaymentMethodTypeEnum.
#### New Input parameters:
* source has been added to HostedPage#CheckoutOneTimeForItemsRequest.
* source has been added to HostedPage#CheckoutNewForItemsRequest.
* source has been added to HostedPage#CheckoutExistingForItemsRequest.
* statement_descriptor_descriptor has been added to Invoice#CreateRequest.
* statement_descriptor_descriptor has been added to Invoice#CreateForChargeItemsAndChargesRequest.
* statement_descriptor_descriptor has been added to Invoice#UpdateDetailsRequest.
* statement_descriptor_additional_info has been added to Invoice#CreateRequest.
* statement_descriptor_additional_info has been added to Invoice#CreateForChargeItemsAndChargesRequest.
* statement_descriptor_additional_info has been added to Invoice#UpdateDetailsRequest.
* statement_descriptor_descriptor has been added to Subscription#CreateRequest.
* statement_descriptor_descriptor has been added to Subscription#CreateForCustomerRequest.
* statement_descriptor_descriptor has been added to Subscription#CreateWithItemsRequest.
* statement_descriptor_descriptor has been added to Subscription#UpdateRequest.
* statement_descriptor_descriptor has been added to Subscription#UpdateForItemsRequest.
* statement_descriptor_descriptor has been added to Subscription#ReactivateRequest.
* statement_descriptor_additional_info has been added to Subscription#CreateRequest.
* statement_descriptor_additional_info has been added to Subscription#CreateForCustomerRequest.
* statement_descriptor_additional_info has been added to Subscription#CreateWithItemsRequest.
* statement_descriptor_additional_info has been added to Subscription#UpdateRequest.
* statement_descriptor_additional_info has been added to Subscription#UpdateForItemsRequest.
* statement_descriptor_additional_info has been added to Subscription#ReactivateRequest.
#### Updates to old parameters:
* duration_type, discount_type in coupons has been made optional.
* proration_type in addons is now supported.
* csv_tax_rule has been removed.
* Tax1JurisTypeEnum has been removed.
* Tax2JurisTypeEnum has been removed.
* Tax3JurisTypeEnum has been removed.
* Tax4JurisTypeEnum has been removed.
### v2.28.0 (2023-09-26)
* * *
#### New attributes:
* venmo has been added to the PaymentSource resource.
* proration_type has been added to the QuotedCharge, QuotedSubscription and Subscription resource.
#### New Enum values:
* ebanx has been added to Gateway.
* venmo has been added to Customer#TypeEnum.
* venmo has been added to PaymentMethodEnum.
* venmo has been added to PaymentMethodTypeEnum.
* venmo has been added to TypeEnum.
* venmo has been added to PaymentIntent#PaymentMethodTypeEnum.
#### New Input parameters:
* einvoicing_method has been added to HostedPage#CheckoutOneTimeForItemsRequest.
* einvoicing_method has been added to HostedPage#CheckoutNewForItemsRequest.
* additional_information has been added to PaymentSource#CardAdditionalInformation.
### v2.27.0 (2023-09-05)
* * *
#### N