API hacks

Setting up your own Referral Program
You might want to set up a referral program of your own, where you reward your subscribers with credits if they refer their friends. This can be accomplishe...
Wed, 2 Feb, 2022 at 2:33 PM
How to view the details of changes to the unbilled charges via the API ?
If you'd like to view the details of any changes that Chargebee makes to the list of unbilled charges, you can use the List unbilled charges API call. T...
Sun, 25 Mar, 2018 at 11:48 PM
Error: You have configured chargebee with test site. Please configure it with live site
This error happens if you are using Hosted Pages API and your cbInstance.site is pointing to your test site instead of your live site.  Debugging steps ...
Wed, 19 May, 2021 at 1:50 AM
What is the use of mandatoryAddonsToRemove()?
Addon-item prices are purchased with plan-item prices in subscriptions. You can automate this process by configuring certain addons as “attached” to certain...
Thu, 17 Jun, 2021 at 12:00 AM
How to get Plan listing via UI & API - PC 2.0?
Scope How to list the plans via UI in PC 2.0? How to get a Plan listing via API? Summary UI: Navigate from Product Catalog > Plans > Add Filter...
Wed, 5 Apr, 2023 at 6:55 PM
Request Payment Method via the API
When Update Payment Method API is invoked, it returns a hosted page URL. When the customers are directed to this URL, they will be able to change/update the...
Mon, 9 Aug, 2021 at 1:32 PM
How to add prefix to Customer_ID?
Scope How to add the company name as a prefix in customer ID? Summary Adding a prefix to the customer ID is not available as a feature in Chargebee ri...
Wed, 29 Sep, 2021 at 8:01 AM
Filter options for IDs in API calls
This article covers I'm trying to get the most recent subscription for a batched amount of customer ids at once. I'd like to do this in one API call...
Mon, 14 Nov, 2022 at 7:03 PM
How to increase subscription API limit to list all the subscription? Currently the limit is 100 entries Contact support@chargebee.com to know more
This article covers  How to list all the subscriptions using API Summary  You may want to extract all subscriptions using the subscriptions API, on...
Mon, 11 Jul, 2022 at 4:30 PM
Error - quantity[0] : “Cannot be blank” when multi decimal support is enabled
This article covers  Why am I getting the "Cannot be Blank" error when using Chargebee's Cart-customization? How do we pass a quantity parame...
Thu, 9 Dec, 2021 at 12:58 PM