chargebee 1.7.4 → 2.6.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +1107 -94
  3. data/LICENSE +1 -1
  4. data/README.rdoc +22 -15
  5. data/chargebee.gemspec +27 -7
  6. data/lib/.DS_Store +0 -0
  7. data/lib/chargebee.rb +28 -2
  8. data/lib/chargebee/environment.rb +11 -6
  9. data/lib/chargebee/errors.rb +1 -1
  10. data/lib/chargebee/models/addon.rb +18 -3
  11. data/lib/chargebee/models/address.rb +1 -1
  12. data/lib/chargebee/models/card.rb +8 -7
  13. data/lib/chargebee/models/comment.rb +1 -1
  14. data/lib/chargebee/models/contact.rb +11 -0
  15. data/lib/chargebee/models/coupon.rb +20 -4
  16. data/lib/chargebee/models/coupon_code.rb +9 -1
  17. data/lib/chargebee/models/coupon_set.rb +38 -0
  18. data/lib/chargebee/models/credit_note.rb +78 -0
  19. data/lib/chargebee/models/credit_note_estimate.rb +36 -0
  20. data/lib/chargebee/models/customer.rb +73 -12
  21. data/lib/chargebee/models/estimate.rb +26 -15
  22. data/lib/chargebee/models/event.rb +1 -1
  23. data/lib/chargebee/models/export.rb +87 -0
  24. data/lib/chargebee/models/gift.rb +43 -0
  25. data/lib/chargebee/models/hierarchy.rb +10 -0
  26. data/lib/chargebee/models/hosted_page.rb +33 -5
  27. data/lib/chargebee/models/invoice.rb +82 -19
  28. data/lib/chargebee/models/invoice_estimate.rb +36 -0
  29. data/lib/chargebee/models/model.rb +34 -3
  30. data/lib/chargebee/models/order.rb +49 -3
  31. data/lib/chargebee/models/payment_source.rb +84 -0
  32. data/lib/chargebee/models/plan.rb +33 -5
  33. data/lib/chargebee/models/promotional_credit.rb +31 -0
  34. data/lib/chargebee/models/quote.rb +77 -0
  35. data/lib/chargebee/models/resource_migration.rb +14 -0
  36. data/lib/chargebee/models/site_migration_detail.rb +15 -0
  37. data/lib/chargebee/models/subscription.rb +60 -8
  38. data/lib/chargebee/models/subscription_estimate.rb +14 -0
  39. data/lib/chargebee/models/third_party_payment_method.rb +10 -0
  40. data/lib/chargebee/models/time_machine.rb +47 -0
  41. data/lib/chargebee/models/token.rb +11 -0
  42. data/lib/chargebee/models/transaction.rb +29 -10
  43. data/lib/chargebee/models/unbilled_charge.rb +32 -0
  44. data/lib/chargebee/models/virtual_bank_account.rb +32 -0
  45. data/lib/chargebee/request.rb +11 -0
  46. data/lib/chargebee/rest.rb +6 -4
  47. data/lib/chargebee/result.rb +183 -27
  48. data/spec/errors_spec.rb +23 -0
  49. data/spec/sample_response.rb +1 -1
  50. metadata +39 -11
  51. data/lib/chargebee/models/payment_intent.rb +0 -27
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b9ba24e8e5cf63fe177c8c7ea96057454d359147
4
- data.tar.gz: a4de42e4d91836a912102e8ff85c742eb77903b4
3
+ metadata.gz: d43cfd517b221d62c391b308fcc6267172ac996d
4
+ data.tar.gz: 2216894ca1372be37ee0def9841ce68d3271f33a
5
5
  SHA512:
6
- metadata.gz: 115232e8772fb5893228817da9a6f625ff7c5aa0eb30abebb0ed608172ad3aac99d9cfc1b76b6002494ecad4061b9ba14b60ba7f724984e4af8e44afc2318475
7
- data.tar.gz: 6c81be66cbc9645139480b1d69891da8488164ac83c258104d1f619a9691855b5512f1c3e6f72f31f89ca403d7f7ec62663faa0497040178b85a34f16f61d368
6
+ metadata.gz: 4e9a0d0d2b633f99c9db97bbc090a9f11a224c0ec7cbec375fa6541c2387ae1fd76b6e040bf43275809c1e986e942c33cbf8ff6f4c066d73db59f8a2d0e4f996
7
+ data.tar.gz: ec2b7d8a6923cbb70d7f7d34a1f392f821df35baaee33fa70426c416112523a2097c709026e421dabcc2dcc78b71f73d1a1e19febc13e5e365ad829347f103c0
@@ -1,19 +1,1032 @@
1
- ### v1.7.4(2019-08-14)
1
+ ### v2.6.7 (2019-07-22)
2
2
  * * *
3
3
 
4
- * New resource payment_intent has been added.
5
- * New input parameter 'id' in payment_intent sub-param has been added in update_card_for_customer_using_payment_intent, create_a_customer, create_a_subscription, create_subscription_for_customer, update_a_subscription.
6
- * New endpoints create_a_payment_intent, update_a_payment_intent and retrieve_a_payment_intent have been added.
4
+ * The attribute ref_tx_id has been added in card resource.
5
+ * The attribute custmer_id has been added in credit_note_estimate and invoice_estimate resource.
6
+ * The input parameters payment_intent with gateway_account_id and gw_token have been added in create a customer, collect payment for customer, create subscription and create subscription for customer API.
7
+ * New enum dunning_type has been added.
8
+ * New value vantiv has been added in the gateway enum.
9
+ * New value sepa_credit has been added in payment method enum.
10
+ * The attribute dunning_attempts has been added in invoice resource.
11
+ * New enpoint create_using_payment_intent has been added in payment_source resouce.
12
+ * The input parameter reference_transaction has been added in update card payment source API.
13
+ * New endpoint list quote has been added in qoutes resource.
14
+ * The attributes initiator_type and three_d_secure have been added in transaction resource.
15
+ * New attribute scheme has been added in virtual_bank_account resource.
16
+ * New input parameter scheme has been added in create a virtual bank account using permanent token and create a virtual bank account API.
7
17
 
8
- ### v1.7.3 (2019-07-22)
18
+ ### v2.6.6 (2019-07-08)
9
19
  * * *
10
20
 
11
- * New enpoint Update card for customer using payment intent has been added.
12
- * The attirbute reference_id has been added in card resource.
13
- * The input parameters payment_intent with gateway_account_id and gw_token have been added in create a customer, create subscription, create subscription for customer and update subscription API.
14
- * The attributes initiator_type and three_d_secure have been added in transaction resource.
15
- * New enpoint Update card for customer using payment intent has been added in card resource.
16
- * New attribute reference_id has been added in card resource.
21
+ * The resources hierarchy and token are added.
22
+ * Value ‘day’ is added in period_unit and shipping_frequency_period_unit .
23
+ * The parameters fractional_correction, comment, date_from and date_to are added in Create credit note API.
24
+ * The attribute customer_id is added to line_item sub resource of Credit note, Credit note estimate, Invoice, Invoice estimate and Quote.
25
+ * Endpoints Link a customer, Delink a customer, Get hierarchy, CreateUsingToken are added.
26
+ * The attributes business_customer_without_vat_number and relationship are added to customer resource.
27
+ * The filter parameters parent_id, payment_owner_id, invoice_owner_id are added in List customers, Export revenue recognition reports, Export Deferred Revenue Reports and Export customers APIs.
28
+ * The parameter token_id is added in Collect payment API.
29
+ * Event types hierarchy_created, hierarchy_deleted, token_created, token_consumed and token_expired are added.
30
+ * The parameter service_period_in_days is added in Create subscription estimate, Create subscription for customer estimate, Update subscription estimate, Checkout new, Checkout existing, Create subscription for customer quote, Update subscription quote, Create subscription, Create subscription for customer, Update subscription, Import subscription and Import subscription for customer.
31
+ * The filter parameter payment_owner is added in Export revenue recognition reports,Export Deferred Revenue Reports, Export Invoice and List Invoice APIs.
32
+ * The attribute payment_owner is added to invoice.
33
+ * The attributes date_from and date_to are added to Create an invoice, create a invoice for add-on and create a invoice for charge,Create a quote for one-time charges, Add charge at term end and Add add-on at term end.
34
+ * The parameter comment is added to Stop dunning, Apply payments, Apply credits, Add charge, Add add-on charge, Update details and Close Invoice APIs.
35
+ * The parameter ‘claim_credits’ is added to delete invoice API.
36
+ * The attribute override_relationship is added to subscription resource.
37
+ * The parameter token_id is added to Create subscription API.
38
+ * The parameter override_relationship is added to Create subscription for customer and Update subscription APIs.
39
+ * The attribute service_period_in_days is added to event add ons sub resource.
40
+
41
+ ### v2.6.5 (2019-04-11)
42
+ * * *
43
+
44
+ * The attributes avalara_sale_type, avalara_transaction_type and avalara_service_type are added in Addon and plan resource.
45
+ * The input parameters avalara_sale_type, avalara_transaction_type , avalara_service_type are added in create addon , update addon ,create plan , update plan, create invoice , create invoice for charge, add_charge , add_charge_at_term_end and create_for_onetime_charges api endpoints.
46
+ * The attributes is_partial_tax_applied, is_non_compliance_tax and taxable_amount are added in line_item_taxes of credit_note ,credit_note_estimate , invoice, invoice_estimate , quote and order resources.
47
+ * The attributes exemption_details and customer_type are added in customer resource .
48
+ * The input parameters exemption_details and customer_type are added in create customer, update customer , create subscription estimate, create subscription and import subscription api endpoints.
49
+ * The enum values federal and unincorporated are added in tax_juris_type.
50
+ * The enum value export is added in tax_override_reason .
51
+ * The input parameter cancelled_at is added in cancel order api endpoint.
52
+ * New endpoint delete_local is added in payment_source and virtual_bank_account resources.
53
+
54
+ ### v2.6.4 (2019-03-22)
55
+ * * *
56
+
57
+ * #to_s in Result is made public.
58
+
59
+ ### v2.6.3 (2019-03-07)
60
+ * * *
61
+
62
+ * The attributes created_at, resource_version and updated_at are added in card, payment_source and virtual_bank_account resources.
63
+ * The input filter parameter sort_by with updated_at attribute is added in list customer and list subscription api endpoints.
64
+ * New endpoint export orders is added in export resource.
65
+ * New endpoint accept quote is added in hosted_pages resource.
66
+ * The input filter parameters updated_at and created_at are added in list payment_source api endpoint and list virtual_bank_accounts endpoint .
67
+ * New endpoint delete an offline transaction is added in transaction resource.
68
+
69
+ ### v2.6.2 (2019-01-10)
70
+ * * *
71
+
72
+ * New event type 'quote_deleted' has been added
73
+ * New gateway type 'cybersource' has been added.
74
+ * New filter parameters 'subscription_id' and 'order_type' have been added in List Order API.
75
+ * New endpoints Create subscription for customer quote, Update subscription quote and Delete have been added to Quote resource.
76
+
77
+ ### v2.6.1 (2018-11-09)
78
+ * * *
79
+
80
+ * New resource 'Quote' with endpoints 'Retrieve a quote', 'Create a quote for one-time charges', 'Convert a quote', 'Update quote status', 'Retrieve quote as PDF' has been added. See : https://apidocs.chargebee.com/docs/api/quotes
81
+ * Entity type 'quote' has been added.
82
+ * Event types 'quote_created' and 'quote_updated' have been added.
83
+
84
+
85
+ ### v2.6.0 (2018-11-02)
86
+ * * *
87
+
88
+ * New resource 'Gift' with endpoints 'Create a gift', 'Retrieve a gift', 'Claim a gift', 'Cancel a gift' and 'List gifts' has been added.
89
+ * New event types gift_scheduled, gift_unclaimed, gift_claimed, gift_expired and gift_cancelled have been added.
90
+ * New endpoints 'Checkout gift' and 'Claim gift' have been added to Hosted page resource.
91
+ * Input param 'redirect_url' has been added in 'Manage payment sources' and 'Collect now' APIs.
92
+ * Hosted page types 'checkout_gift' and 'claim_gift' have been added.
93
+ * The attributes 'term_finalized' and 'is_gifted' have been added in Invoice attributes.
94
+ * The attributes 'is_gifted', 'gift_note' and 'gift_id' have been added in Orders attributes.
95
+ * The attribute 'sku' has been added in Gift attributes.
96
+ * The input parameter 'sku' has been added in Update orders API.
97
+ * The order status 'cancelled' has been added.
98
+ * The attributes 'giftable' and 'claim_url' have been added in Plan resource.
99
+ * The input parameters 'giftable' and 'claim_url' have been added in Create a plan API.
100
+ * List filter parameter 'giftable' has been added in List Plans API.
101
+ * The attribute 'gift_id' has been added to Subscription resource.
102
+
103
+ ### v2.5.9 (2018-10-26)
104
+ * * *
105
+
106
+ * The attributes authorization_reason, reference_authorization_id, amount_capturable and linked_payments have been added in Transaction resource.
107
+ * The input parameter transaction amount_capturable has been added in export transaction API.
108
+ * The input parameters authorization_transaction_id and auto_collection have been added in create invoice API.
109
+ * The input parameter authorization_transaction_id has been added in Collect payment for invoice API.
110
+ * Type authorization_reason with values blocking_funds and verification has been added in Transaction resource.
111
+ * New endpoints "Create an authorization payment " and "Void an authorization transaction" have been in added in Transaction API.
112
+ * The input filter parameter amount_capturable has been added in list transactions API.
113
+ * The Event types authorization_succeeded, authorization_voided, order_ready_to_process, order_ready_to_ship have been added.
114
+
115
+ ### v2.5.8 (2018-10-17)
116
+ * * *
117
+
118
+ * The attributes pricing_model and tiers has been added in Addon , Plan and UnbilledCharge resources.
119
+ * The attribute price is made optional in Plan and Addon resource.
120
+ * The input parameters pricing_model, tier_starting_unit, tier_ending_unit and tier_price have been added in Create addon , Update addon , Create Plan and Update Plan APIs.
121
+ * The attributes line_item_tiers would be added in creditNote , Invoice , InvoiceEstimate and CreditNoteEstimate resources.
122
+ * The attribute pricing_model have been added to line_tem sub-resource of CreditNote , Invoice , InvoiceEstimate and CreditNoteEstimate resources.
123
+ * The input parameter line_item_amount has been added in Create credit note API.
124
+ * The input parameters line_item_unit_amount and line_item_quantity have been changed to optional parameters in Create Credit Note API.
125
+ * The input parameter line_item_id, line_item_tier_line_item_id, line_item_tier_starting_unit, line_item_tier_ending_unit, line_item_tier_quantity_used, line_item_tier_unit_amount have been added in Import invoice API.
126
+ * The attribute amount has been added to Addon subResource attributes of Subscription API.
127
+ * The attribute plan_amount has been added to Subscription API.
128
+ * The type pricing_model with values flat_fee, per_unit, tiered, volume and stairstep have been added.
129
+ * The values tiered, volume and stairstep have been added the attribute type of Addon resource.
130
+ * The values tiered, volume and stairstep have been added to the attribute charge_model of Plan resource.
131
+ * The input parameter type has been deprecated in Create Addon and Update Addon APIs.
132
+ * The input parameter charge_model has been deprecated in Create Plan and Update Plan APIs.
133
+ * The filter parameter type has been deprecated in List Addon API.
134
+ * The filter parameter charge_model has been deprecated in List Plan API.
135
+ * The filter parameter pricing_model has been added to List Plan and List Addon APIs.
136
+
137
+ ### v2.5.7 (2018-10-03)
138
+ * * *
139
+
140
+ * The attributes `is_shippable`, `shipping_frequency_period` and`shipping_frequency_period_unit` has been added in Plan and Addon resource.
141
+ * The input parameters `is_shippable`, `shipping_frequency_period` and`shipping_frequency_period_unit` has been added in Create plan , Update plan , Create addonand Update addon APIs.
142
+ * The attributes `vat_number_validated_time`, `vat_number_status` and `is_location_valid`has been added in Customer resource.
143
+ * The event types `order_created`, `order_updated`, `order_cancelled`, `order_delivered`and `order_returned` has been added.
144
+ * New order status `queued`, `awaiting_shipment`, `on_hold`, `delivered`, `shipped`,`partially_delivered` and `returned` has been added.
145
+ * New endpoints Export plans , Export addons , Export coupons , Export customers , Export subscriptions , Export invoices , Export creditnotes and Export transactions has been added to Exportst API.
146
+ * The input parameter `subscription_affiliate_token` has been added to Checkout New Hosted Pages API.
147
+ * The attributes `document_number` and `order_type` has been added to Invoice resource.
148
+ * The attributes `document_number`, `customer_id`, `subscription_id`,`cancellation_reason`, `payment_status`, `order_type`, `price_type`, `order_date`,`shipping_date`, `shipment_carrier`, `invoice_round_off_amount`, `tax`, `amount_paid`,`amount_adjusted`, `refundable_credits_issued`, `refundable_credits`,`rounding_adjustement`, `paid_on`, `shipping_cut_off_date`, `delivered_at`,`shipped_at`, `resource_verison`, `updated_at`, `cancelled_at`, `order_line_items`,`shipping_address`, `billing_address`, `discount`, `sub_total`, `total`,`line_item_taxes`, `line_item_discounts`, `linked_credit_notes`, `deleted` and`currency_code` has been added in Order resource.
149
+ * The input parameters `shipping_date`, `order_date`, `cancelled_at`,`cancellation_reason`, `shipped_at`, `delivered_at`, `shipment_carrier`,`shipping_address`, `order_line_item` has been added in Update order API.
150
+ * The filters `include_deleted`, `shipping_date`, `order_date`, `paid_on` and `updated_at` has been added in List Orders API.
151
+ * New endpoints Assign order number , Cancel an order , Create a refundable credit note and Reopen a cancelled order has been added to Orders API.
152
+
153
+ ### v2.5.6 (2018-09-12)
154
+ * * *
155
+ * The attributes addon_applicability, applicable_addons, attached_addons and event_based_addons has been added to Plan resource.
156
+ * The input parameters addon_applicability, applicable_addons, attached_addons and event_based_addons has been added in Create and Update plan APIs.
157
+ * The attributes event_based_addons and charged_event_based_addons has been added to Subscription resource.
158
+ * The input parameters mandatory_addons_to_remove, event_based_addons and charged_event_based_addons has been added in Create subscription, Create subscription for customer, Update subscription, Create subscription estimate, create subscription for customer estimate, update subscription estimate, checkout new subscription and checkout existing subscription APIs.
159
+
160
+
161
+ ### v2.5.5 (2018-08-17)
162
+ * * *
163
+
164
+ * New endpoint 'Clear Personal Data of a customer' has been added to Customer resource.
165
+ * New endpoint 'Merge customers' has been added to Customer resource.
166
+ * New endpoint 'Extend subscription' has been added to Hosted page resource.
167
+ * The input parameter 'charges_handling' has been added to Resume a subscription and Resume a subscription estimate APIs.
168
+ * The input parameters 'pause_date' and 'resume_date' has been added to Import subscription and Import subscription for customer APIs.
169
+ * New tax_exempt_reason 'high_value_physical_goods' has been be added.
170
+
171
+ ### v2.5.4 (2018-06-21)
172
+ * * *
173
+
174
+ * New attribute round_off_amount is added in Credit Note Estimate, Invoice Estimate Object
175
+ * Sort List Invoice API results based on invoice updated_at attribute.
176
+ * Create Customer and Create Subscription additionally take bank account details as input parameter.
177
+ * New API end point in Hosted Page resource to retrieve direct debit agreement payment PDF
178
+ * New Enum AccountHolderType, AccountType, Echeck Type has been added in Payment Source
179
+ * New attribute echeck, account_holder_type, last4 has been added
180
+ * New API end points create bank account payment source and verify bank account payment source has been added
181
+
182
+
183
+ ### v2.5.3 (2018-05-23)
184
+ * * *
185
+
186
+ * New Resource [Export](https://apidocs.chargebee.com/docs/api/exports) has been added
187
+ * New payment gateway bluesnap has been added
188
+
189
+ ### v2.5.1 (2018-05-14)
190
+ * * *
191
+
192
+ New endpoint 'List contacts for a customer' has been added to Customer resource.
193
+ See : https://apidocs.chargebee.com/docs/api/customers#list_of_contacts_for_a_customer
194
+
195
+ ### v2.5.0 (2018-05-03)
196
+ * * *
197
+
198
+ New endpoint 'Update a coupon' has been added.
199
+ See : https://apidocs.chargebee.com/docs/api/coupons#update_a_coupon
200
+
201
+ ### v2.4.9 (2018-04-27)
202
+ * * *
203
+
204
+ New resource 'Virtual Bank Account' has been added.
205
+ See : https://apidocs.chargebee.com/docs/api/virtual_bank_accounts
206
+
207
+ New event types virtual_bank_account_added, virtual_bank_account_updated and virtual_bank_account_deleted has been added.
208
+ See : https://apidocs.chargebee.com/docs/api/events#event_types
209
+
210
+ The payment method ach_credit has been added.
211
+ See : https://apidocs.chargebee.com/docs/api/transactions#transaction_attributes
212
+
213
+ ### v2.4.8 (2018-03-29)
214
+ * * *
215
+
216
+ New status 'Pause' has been added to subscription.
217
+ See : https://apidocs.chargebee.com/docs/api/subscriptions#subscription_status
218
+
219
+ The attribues 'pause_date' and 'resume_date' have been added to subscription and estimate resources.
220
+ See : https://apidocs.chargebee.com/docs/api/subscriptions#subscription_attributes
221
+
222
+ The input params 'create_current_term_invoice', transaction amount, payment method, reference number and date have been added to Import a subscription and Import subscription for customer APIs.
223
+ See : https://apidocs.chargebee.com/docs/api/subscriptions#import_a_subscription
224
+
225
+ The attribute 'expected_payment_date' has been added to Invoice attributes.
226
+ See : https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes
227
+
228
+ The reason code 'subscription_pause' has been added to Credit note attributes.
229
+ See : https://apidocs.chargebee.com/docs/api/credit_notes#credit_note_reason_code
230
+
231
+ New event types subscription_paused, subscription_pause_scheduled, subscription_scheduled_pause_removed, subscription_resumed, subscription_resumption_scheduled and subscription_scheduled_resumption_removed have been added.
232
+ See : https://apidocs.chargebee.com/docs/api/events#event_types
233
+
234
+ New endpoints 'Pause a subscription', 'Resume a subscription', 'Remove scheduled pause' and 'Remove scheduled resumption' have been added to Subscription resource.
235
+ See : https://apidocs.chargebee.com/docs/api/subscriptions
236
+
237
+ New endpoints 'Pause subscription estimate' and 'Resume subscription estimate' have been added to Estimate resource.
238
+ See : https://apidocs.chargebee.com/docs/api/estimates
239
+
240
+ ### v2.4.7 (2018-03-20)
241
+ * * *
242
+
243
+ New attribute 'deleted' has been added to Payment source resource.
244
+ See : https://apidocs.chargebee.com/docs/api/payment_sources#payment_source_attributes
245
+
246
+ ### v2.4.6 (2018-03-08)
247
+ * * *
248
+
249
+ The input parameter disposition_type has been added to 'Retrieve Invoice as PDF' and 'Retrieve Credit Note as PDF' APIs.
250
+ See : https://apidocs.chargebee.com/docs/api/invoices#retrieve_invoice_as_pdf
251
+
252
+ ### v2.4.5 (2018-03-02)
253
+ * * *
254
+
255
+ The attribute 'balance_currency_code' has been deprecated and attribute 'currency_code' has been added to Balances sub-resource in Customer resource.
256
+ See : https://apidocs.chargebee.com/docs/api/customers#customer_attributes
257
+
258
+ The attribute done_by has been added to Promotional credits resource.
259
+ See : https://apidocs.chargebee.com/docs/api/promotional_credits
260
+
261
+ New payment method wechat_pay has been added.
262
+ See : https://apidocs.chargebee.com/docs/api/customers#customer_attributes
263
+
264
+ The endpoint Manage Payment Sources has been undeprecated in Hosted pages resource.
265
+ See : https://apidocs.chargebee.com/docs/api/hosted_pages
266
+
267
+ ### v2.4.4 (2018-02-01)
268
+ * * *
269
+
270
+ The attribute 'round_off_amount' have been added in Invoice an Credit note resources.
271
+ See : https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes
272
+
273
+ The attribute 'settled_at' has been added to transaction resource.
274
+ See : https://apidocs.chargebee.com/docs/api/transactions#transaction_attributes
275
+
276
+ 'Collect now' API in Hosted pages resource has been undeprecated.
277
+ See : https://apidocs.chargebee.com/docs/api/hosted_pages#collect_now
278
+
279
+ ### v2.4.3 (2018-01-12)
280
+ * New endpoint "Update invoice details" has been added to Invoice resource.
281
+
282
+ ### v2.4.2 (2017-11-27)
283
+ * * *
284
+
285
+ ** API changes **:
286
+ * The new resource [Promotional Credits](http://apidocs.chargebee.com/docs/api/promotional_credits) has been added
287
+
288
+ * The new sub resource [balances](https://apidocs.chargebee.com/docs/api/customers#customer_balances) has been added
289
+
290
+ * The API end point add_promotional_credits, deduct_promotional_credits and set_promotional_credits has been deprecated in customer resource
291
+
292
+ ** Events added**:
293
+ * New Event Type promotional_credits_added and promotional_credits_deducted has been added
294
+
295
+ ### v2.4.1 (2017-11-13)
296
+ * * *
297
+
298
+ ** API changes**:
299
+ * The new resource [Coupon Set](https://apidocs.chargebee.com/docs/api/coupon_sets) has been added
300
+
301
+ * The API end point create a coupon code for a coupon has been deprecated in coupon code resource
302
+
303
+ * The attribute [coupon_set_id](https://apidocs.chargebee.com/docs/api/coupon_codes#coupon_code_coupon_set_id) has been added to Coupon Code resource
304
+
305
+ * The deprecation has been removed for [Collect payment for customer](https://apidocs.chargebee.com/docs/api/customers#collect_payment_for_customer) in customer resource
306
+
307
+ * New end point Manage payment source and Collect now has been added as deprecated API to hosted page. Please mail us at support@chargebee.com to enable
308
+
309
+ ** Attributes added**:
310
+ * New attribute [remaining_billing_cycles](https://apidocs.chargebee.com/docs/api/subscriptions#subscription_addons_remaining_billing_cycles) has been added in addons under subscription resource.
311
+
312
+
313
+ ** Events added**:
314
+ * New event type coupon_set_created, coupon_set_updated, coupon_set_deleted, coupon_codes_added, coupon_codes_updated, coupon_codes_deleted
315
+
316
+ ### v2.4.0 (2017-09-22)
317
+ * * *
318
+
319
+ ** APIs added**:
320
+
321
+ New endpoint 'Collect payment for a customer' has been added as a restricted and deprecated API.
322
+
323
+ ** APIs updated**:
324
+
325
+ The attribute 'amount_to_collect' would be added to Invoice resource.
326
+ See : https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes
327
+
328
+ ### v2.3.9 (2017-09-15)
329
+ * * *
330
+
331
+ ** APIs updated**:
332
+
333
+ The attribute payment_source_id would be added to the transaction resource.
334
+ See : https://apidocs.chargebee.com/docs/api/transactions#transaction_payment_source_id
335
+
336
+ The filter parameter payment_source_id would be added in List transactions API.
337
+ See : https://apidocs.chargebee.com/docs/api/transactions#list_transactions
338
+
339
+ The gateway types amazon_payments and paypal_express_checkout would be added.
340
+ See : https://apidocs.chargebee.com/docs/api/customers#customer_payment_method_gateway
341
+
342
+ ### v2.3.8 (2017-09-14)
343
+ * * *
344
+
345
+ ** APIs updated**:
346
+
347
+ The attribute registered_for_gst has been added to the Customer resource.
348
+ See : https://apidocs.chargebee.com/docs/api/customers#customer_attributes
349
+
350
+ The parameter registered_for_gst has been added in Create a customer , Update billing info for a customer , Create subscription estimate , Update subscription estimate , Create a subscription and Update a subscription APIs.
351
+ See : https://apidocs.chargebee.com/docs/api/customers#create_a_customer
352
+
353
+ ### v2.3.7 (2017-09-06)
354
+ * * *
355
+
356
+ ** APIs added**:
357
+
358
+ The new endpoint Record refund for a credit note has been added to Credit note resource.
359
+ See : https://apidocs.chargebee.com/docs/api/credit_notes#record_refund_for_a_credit_note
360
+
361
+ ** APIs updated**:
362
+
363
+ The parameter tmp_token has been deprecated in card subresource in Create a customer , Create a subscription , Update a subscription and Import subscription APIs.
364
+ See : https://apidocs.chargebee.com/docs/api/customers#create_a_customer
365
+
366
+ The parameter tmp_token has been added to payment method subresource in Create a subscription API.
367
+ See : https://apidocs.chargebee.com/docs/api/subscriptions#create_a_subscription
368
+
369
+ The type apple_pay has been added to payment method types.
370
+ See : https://apidocs.chargebee.com/docs/api/customers#create_a_customer_payment_method_type
371
+
372
+ ### v2.3.6 (2017-08-31)
373
+ * * *
374
+
375
+ ** APIs added**:
376
+
377
+ The parameters credit_option_for_current_term_charges, unbilled_charges_option,refundable_credits_handling and account_receivables_handling would be added inCancel subscription API.
378
+ See : https://apidocs.chargebee.com/docs/api/subscriptions#cancel_a_subscription
379
+
380
+ A new endpoint Cancel subscription estimate would be added to the Estimate resource.
381
+ See : https://apidocs.chargebee.com/docs/api/estimates#cancel_subscription_estimate
382
+
383
+ The attribute deleted would be added to the Unbilled charge resource.
384
+ See : https://apidocs.chargebee.com/docs/api/unbilled_charges#unbilled_charge_attributes
385
+
386
+ The parameter include_deleted would be added in List Unbilled Charges API.
387
+ See : https://apidocs.chargebee.com/docs/api/unbilled_charges#list_unbilled_charges
388
+
389
+
390
+ ### v2.3.5 (2017-08-28)
391
+ * * *
392
+
393
+ ** APIs added**:
394
+
395
+ The endpoints Void a credit note and Delete a credit note would be added to the Credit notes resource.
396
+ See : https://apidocs.chargebee.com/docs/api/credit_notes
397
+
398
+ The endpoints Apply payments for an invoice, Apply credits for an invoice, Remove payment from an invoice and Remove credit note from an invoice would be added to the Invoice resource.w
399
+ See : https://apidocs.chargebee.com/docs/api/invoices
400
+
401
+ ### v2.3.4 (2017-08-16)
402
+ * * *
403
+
404
+ ** APIs added**:
405
+
406
+ A new endpoint 'Update a card payment source' would be added to the Payment source resource.
407
+ See : https://apidocs.chargebee.com/docs/api/payment_sources#update_a_card_payment_source
408
+
409
+ ### v2.3.3 (2017-08-03)
410
+ * * *
411
+
412
+ ** APIs updated**:
413
+
414
+ The attribute trial_end has been added to Subscriptions Addon subresource.
415
+ See : https://apidocs.chargebee.com/docs/api/subscriptions#subscription_addons_trial_end
416
+
417
+ The parameter trial_end would be added to Addon subresource in Create a subscription,Create subcription for customer, Update a subcription, Create subscription estimate, Create subscription for customer estimate and Update subscription estimate APIs.
418
+ See : https://apidocs.chargebee.com/docs/api/subscriptions#create_a_subscription_addons_trial_end
419
+
420
+ ### v2.3.2 (2017-07-26)
421
+ * * *
422
+
423
+ ** APIs added**:
424
+
425
+ The new resource 'Time Machine' has been added.
426
+
427
+ ### v2.3.1 (2017-07-21)
428
+ * * *
429
+
430
+ ** APIs added**:
431
+
432
+ The new endpoint 'Change Billing Date' has been added to Customer resource.
433
+ See : https://apidocs.chargebee.com/docs/api/customers#change_billing_date
434
+
435
+ The new endpoints 'Upcoming invoices estimate' and 'Subscription change term end estimate' have been added to Estimate API.
436
+ See : https://apidocs.chargebee.com/docs/api/estimates#upcoming_invoices_estimate
437
+
438
+ ** APIs updated**:
439
+
440
+ The attributes 'billing_date', 'billing_date_mode', 'billing_day_of_week', 'billing_day_of_week_mode', 'unbilled_charges' have been added to the Customer resource.
441
+ See : https://apidocs.chargebee.com/docs/api/customers#customer_attributes
442
+
443
+ The event types 'unbilled_charges_created', 'unbilled_charges_voided', 'unbilled_charges_deleted' and 'unbilled_charges_invoiced' have been added.
444
+ See : https://apidocs.chargebee.com/docs/api/events#event_types
445
+
446
+ The parameter 'billing_alignment_mode' has been added to Create a subscription, Create a subscription for customer, Update a customer, Reactivate a subscription, Create subscription estimate, Create subscription for customer estimate, Update a subscription estimate, Checkout new subscription and Checkout existing subscription API.
447
+ See : https://apidocs.chargebee.com/docs/api/subscriptions#create_a_subscription
448
+
449
+ The parameters 'line_item_date_from' and 'line_item_date_to' have been added to Add Charge API.
450
+ See : https://apidocs.chargebee.com/docs/api/invoices#add_charge_item_to_pending_invoice
451
+
452
+ The parameters 'prorate' and 'invoice_immediately' have been added Change term end API.
453
+ See : https://apidocs.chargebee.com/docs/api/subscriptions#change_term_end
454
+
455
+ ### v2.3.0 (2017-07-06)
456
+ * * *
457
+
458
+ ** APIs updated**:
459
+
460
+ The parameter "status" has been added to the Create a plan, Create an addon and Create a coupon APIs.
461
+ See : https://apidocs.chargebee.com/docs/api/plans#create_a_plan
462
+
463
+ The attribute "issuing_country" has been added to the Card and Payment source resource.
464
+ See : https://apidocs.chargebee.com/docs/api/payment_sources#payment_source_attributes
465
+
466
+ The reason code "fraudulent" has been added to the Credit note resource.
467
+ See : https://apidocs.chargebee.com/docs/api/credit_notes#credit_note_reason_code
468
+
469
+ The attribute "bank_name" is made optional in Bank Account subresource.
470
+ See : https://apidocs.chargebee.com/docs/api/payment_sources#payment_source_bank_account_bank_name
471
+
472
+ The parameter "redirect_url" has been made optional in Create a portal session API.
473
+ See : https://apidocs.chargebee.com/docs/api/portal_sessions#create_a_portal_session
474
+
475
+ The attributes "fraud_flag" and "fraud_reason" have been added to the Transaction resource.
476
+ See : https://apidocs.chargebee.com/docs/api/transactions#transaction_attributes
477
+
478
+
479
+ ### v2.2.9 (2017-06-01)
480
+ * * *
481
+
482
+ The endpoint Invoice Now Estimate has been added to the Unbilled Charge resource.
483
+ See : https://apidocs.chargebee.com/docs/api/customers#assign_payment_role
484
+
485
+ ** APIs updated**:
486
+
487
+ The filter param "phone" has been added to the List Customer API.
488
+ See : https://apidocs.chargebee.com/docs/api/customers#list_customers
489
+
490
+ The subresource "invoice_estimates" has been added to the Estimate resource.
491
+ See : https://apidocs.chargebee.com/docs/api/estimates#invoice_estimate_attributes
492
+
493
+ ### v2.2.8 (2017-05-04)
494
+ * * *
495
+
496
+ ** APIs added**:
497
+ The new resources Payment Source has been added.
498
+ See: https://apidocs.chargebee.com/docs/api/payment_sources
499
+
500
+ The new resources Unbilled Charge has been added.
501
+ See : https://apidocs.chargebee.com/docs/api/unbilled_charges
502
+
503
+ The endpoint Assign payment role has been added to the Customer resource.
504
+ See : https://apidocs.chargebee.com/docs/api/customers#assign_payment_role
505
+
506
+ The endpoint Override Billing Profile has been added to the Subscription resource.
507
+ See : https://apidocs.chargebee.com/docs/api/subscriptions#override_billing_profile
508
+
509
+
510
+ ** APIs updated**:
511
+ The attribute payment_source_id has been added to the Card resource.
512
+ See : https://apidocs.chargebee.com/docs/api/cards#card_attributes
513
+
514
+ The attribute subscription_id has been added to the lineitems subresource in Invoice , Credit Note , Invoice estimate , Next invoice estimate and Credit Note estimate .
515
+ See : https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes
516
+
517
+ The attributes consolidated_invoicing, primary_payment_source_id, backup_payment_source_id and the subresource list referral_urls have been added to the Customer resource.
518
+ See : https://apidocs.chargebee.com/docs/api/customers#customer_attributes
519
+
520
+ The attributes payment_source_id and auto_collection have been added to the Subscription resource.
521
+ See : https://apidocs.chargebee.com/docs/api/subscriptions#subscription_attributes
522
+
523
+ The subresource unbilled_charge_estimates has been added to the Estimate resource.
524
+ See : https://apidocs.chargebee.com/docs/api/estimates#unbilled_charge_estimate_attributes
525
+
526
+ The param consolidated_invoicing has been added to Create a customer and Update a customer APIs.
527
+ See : https://apidocs.chargebee.com/docs/api/customers#create_a_customer
528
+
529
+ The input params auto_collection, invoice_immediately and consolidated_invoicing have been added to Create subscription API.
530
+ See : https://apidocs.chargebee.com/docs/api/subscriptions#create_a_subscription
531
+
532
+ The input params auto_collection, payment_source_id and invoice_immediately have been added to Create subscription for customer API.
533
+ See : https://apidocs.chargebee.com/docs/api/subscriptions#create_subscription_for_customer
534
+
535
+ The input params credit_type and reference have been added to Add promotional credits for a customer , Deduct promotional credits for a customer and Set promotional credits for a customer APIs.
536
+ See : https://apidocs.chargebee.com/docs/api/customers#add_promotional_credits_to_a_customer
537
+
538
+ The input param invoice_immediately has been added to the Update a subscription , Reactivate subscription , Create subscription estimate , Create subscription for customer estimate and Update subscription estimate APIs.
539
+ See : https://apidocs.chargebee.com/docs/api/subscriptions#update_a_subscription
540
+
541
+ The input param auto_collection has been added to the Subscription subresource and consolidated_invoicing have been added to the Customer subresource in Checkout new subscription API.
542
+ See : https://apidocs.chargebee.com/docs/api/hosted_pages#checkout_new_subscription
543
+
544
+ The input param payment_source_id has been added to Import a subscription , Create an invoice , Create invoice for charge , Create invoice for addon and Collect payment for an invoice APIs.
545
+ See : https://apidocs.chargebee.com/docs/api/subscriptions#import_a_subscription
546
+
547
+ The event types payment_source_added, payment_source_updated and payment_source_deleted have been added.
548
+ See : https://apidocs.chargebee.com/docs/api/events#event_types
549
+
550
+ ### v2.2.7 (2017-04-19)
551
+ * * *
552
+
553
+ ** APIs added**:
554
+ The endpoints 'List' and 'Acknowledge' APIs have been added to the Hosted page resource.
555
+ See : https://apidocs.chargebee.com/docs/api/hosted_pages
556
+
557
+ ** APIs updated**:
558
+ A new subresource 'line_item_discounts' has been added to the Invoice, Credit note, Invoice estimates and Credit note estimates resources.
559
+ See : https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes
560
+
561
+ The Card statuses 'pending_verification' and 'invalid' have been added to the Customer resource.
562
+ See : https://apidocs.chargebee.com/docs/api/customers#customer_attributes
563
+
564
+ The Payment Method types 'generic', 'alipay' and 'unionpay' have been added to the Payment Method type in the Customer resource.
565
+ See : https://apidocs.chargebee.com/docs/api/customers#customer_attributes
566
+
567
+ The state 'failed' and the attribute 'failure_reason' have been deprecated in the Hosted Page resource.
568
+
569
+ The attribues 'updated_at', 'resource_version' and 'checkout_info' have been added.
570
+ See : https://apidocs.chargebee.com/docs/api/hosted_pages#hosted_page_attributes
571
+
572
+ A new gateway 'adyen' has been added.
573
+ See : https://apidocs.chargebee.com/docs/api/cards#card_attributes
574
+
575
+ ### v2.2.6 (2017-03-16)
576
+ * * *
577
+
578
+ ** APIs updated**:
579
+ The input parameter 'id' have been removed in Update a Plan and Update an addon resources.
580
+ See: https://apidocs.chargebee.com/docs/api/plans#update_a_plan
581
+
582
+ The input parameter 'terms_to_charge' have been added in Create a subscription,Create subscription for a customer, Create subscription estimate, create subscription for customer estimate, Reactivate a subscription and Checkout new hosted pages APIs.
583
+ See : https://apidocs.chargebee.com/docs/api/subscriptions#create_subscription_for_customer
584
+
585
+ The filter input parameter 'next_billing_at' have been added in List Subscriptions API.
586
+ See : https://apidocs.chargebee.com/docs/api/subscriptions#list_subscriptions
587
+
588
+ The input parameter 'force_term_reset' have been added to Checkout existing hosted pages API.
589
+ See : https://apidocs.chargebee.com/docs/api/hosted_pages#checkout_existing_subscription
590
+
591
+ A new attribute 'has_advance_charges' have been added to the Invoice resource.
592
+ See : https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes
593
+
594
+
595
+ ### v2.2.5 (2017-02-24)
596
+ * * *
597
+
598
+ ** APIs added**:
599
+ New resources 'Site Migration Details' and 'Resource Migrations' have been added.
600
+ See : https://apidocs.chargebee.com/docs/api/site_migration_details
601
+
602
+ A new endpoint 'Move a customer' has been added.
603
+ See : https://apidocs.chargebee.com/docs/api/customers#move_a_customer
604
+
605
+ ** APIs updated**:
606
+ The attributes 'id' and 'for_site_merging' have been added to Copy an addon, Copy a coupon and Copy a plan API.
607
+ See : https://apidocs.chargebee.com/docs/api/plans#copy_a_plan
608
+
609
+ The event types 'customer_moved_out' and 'customer_moved_in' have been added.
610
+ See : https://apidocs.chargebee.com/docs/api/events#event_types
611
+
612
+ The input parameters 'ignore_scheduled_cancellation' and 'ignore_scheduled_changes' have been added to the Subscription renewal estimate API.
613
+ See : https://apidocs.chargebee.com/docs/api/estimates#subscription_renewal_estimate
614
+
615
+
616
+ ### v2.2.4 (2017-01-30)
617
+ * * *
618
+
619
+ ** APIs updated**:
620
+ A new reason code 'Subscription cancellation' has been added to the Credit note resource.
621
+ See : https://apidocs.chargebee.com/docs/api/credit_notes#credit_note_attributes
622
+
623
+ A attribute 'has_advance_charges' has been added to the Invoice resource and the input filter parameter 'has_advance_charges' has been added to List Invoice API.
624
+ See : https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes
625
+
626
+ A new attribute 'next_billing_at' has been added to the Subscription resource.
627
+ See : https://apidocs.chargebee.com/docs/api/subscriptions#subscription_attributes
628
+
629
+ The input parameters 'terms_to_charge', 'reactivate', 'reactivate_from' have been added to Update a Subscription, Update a subscription estimate and Checkout existing hosted page APIs.
630
+ See : https://apidocs.chargebee.com/docs/api/subscriptions#update_a_subscription
631
+
632
+ The input parameter 'reactivate_from' has been added to Reactivate a subscription API.
633
+ See : https://apidocs.chargebee.com/docs/api/subscriptions#reactivate_a_subscription
634
+
635
+ ** APIs added**:
636
+ A new endpoint 'Charge Future Renewals' has been added to the Subscription API.
637
+ https://apidocs.chargebee.com/docs/api/subscriptions#charge_future_renewals
638
+
639
+ ### v2.2.3 (2017-01-27)
640
+ * * *
641
+
642
+ ** APIs updated**:
643
+ A new attribute 'gateway_account_id' has been added to Card resource. A input param 'gateway' has been deprecated and a new input param 'gateway_account_id' has been added from Update card for customer, Switch gateway and Copy card APIs.
644
+ See: https://apidocs.chargebee.com/docs/api/cards
645
+
646
+ A input param 'gateway' has been deprecated and a new input param 'gateway_account_id' has been added to Card and Payment method sub resource in Create customer, Create subscription, Update Subscription and Import subscription API.
647
+ See: https://apidocs.chargebee.com/docs/api/customers
648
+
649
+ A input param 'fraud_flag' has been added to Update customer API.
650
+ See: https://apidocs.chargebee.com/docs/api/customers#update_a_customer
651
+
652
+ A input param 'gateway' has been deprecated and a new input param 'gateway_account_id' has been added to Payment method sub resource in Update card for a customer API.
653
+ See: https://apidocs.chargebee.com/docs/api/cards#update_card_for_a_customer
654
+
655
+ A input param 'gateway' has been deprecated and a new input param 'gateway_account_id' has been added to the Card resource in Checkout new, Checkout existing and Update card and Update Payment method APIs.
656
+ See: https://apidocs.chargebee.com/docs/api/hosted_pages#checkout_new_subscription
657
+
658
+ A new input params 'billing_address' and 'shipping_address' has been added to Checkout new hosted page API.
659
+ See: https://apidocs.chargebee.com/docs/api/hosted_pages#checkout_new_subscription
660
+
661
+ ** APIs added**:
662
+ A new endpoint Create subscription for a customer estimate has been added to the Estimate resource.
663
+ See: https://apidocs.chargebee.com/docs/api/estimates#create_subscription_for_a_customer_estimate
664
+
665
+
666
+ ### v2.2.2 (2017-01-12)
667
+ * * *
668
+
669
+ ** APIs added**:
670
+ A new endpoint, Unarchive a plan has been added to the Plan resource.
671
+ See: https://apidocs.chargebee.com/docs/api/plans#unarchive_a_plan
672
+
673
+ A new endpoint, Unarchive an addon has been added to the Addon resource.
674
+ See : https://apidocs.chargebee.com/docs/api/addons#unarchive_an_addon
675
+
676
+ A new endpoint, Unarchive a coupon has been added to the Coupon resource.
677
+ See : https://apidocs.chargebee.com/docs/api/coupons#unarchive_a_coupon
678
+
679
+ ### v2.2.1 (2016-12-30)
680
+ * * *
681
+
682
+ ** APIs updated**:
683
+
684
+ The attributes 'plan_unit_price', 'setup_fee', 'billing_period', 'billing_period_unit' and 'plan_free_quantity' has been added to the Subscription resource.
685
+ See : https://apidocs.chargebee.com/docs/api/subscriptions#subscription_attributes
686
+
687
+ The input parameters 'plan_unit_price', 'setup_fee' and Addon 'unit_price' has been added to Create a subscription, Create subscription for customer, Update a subscription, Create a subscription estimate, Update a subscription estimate, Checkout a new subscription and Checkout existing subscription, Import a subscription and Import subscription for customer APIs.
688
+ See : https://apidocs.chargebee.com/docs/api/subscriptions#create_a_subscription
689
+
690
+ An input parameter Addon 'unit_price' has been added to Charge addon at term end, Create an Invoice, Create invoice for addon and Add addon item to pending invoice APIs.
691
+ See : https://apidocs.chargebee.com/docs/api/invoices#create_an_invoice
692
+
693
+ An attribute 'tax_exempt_reason' has been added to line items sub resource in Invoice, Credit Note and Estimate resources.
694
+ See : https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes
695
+
696
+ ### v2.2.0 (2016-12-09)
697
+ * * *
698
+
699
+ ** APIs updated**:
700
+ A new attribute, 'locale' has been added to the Customer resource.
701
+ See : https://apidocs.chargebee.com/docs/api/customers#customer_attributes
702
+
703
+ A new parameter, 'locale' has been to Create a customer, Update a customer, Checkout new hosted page, Create a subscription and Import a subscription APIs.
704
+ See : https://apidocs.chargebee.com/docs/api/customers#create_a_customer
705
+
706
+ The attributes 'mrr', 'exchange_rate' and 'base_currency_code' have been added to the Subscription resource.
707
+ See : https://apidocs.chargebee.com/docs/api/subscriptions#subscription_attributes
708
+
709
+ A new filter parameter 'cancelled_at' has been added to List Subscription API.
710
+ See : https://apidocs.chargebee.com/docs/api/subscriptions#list_subscriptions
711
+
712
+ The attribute 'voided_at' has been added to the Invoice and the Credit Note resource and 'voided_at' filter has been added to List invoices and List credit notes APIs.
713
+ See : https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes
714
+
715
+ The attributes 'sku', 'accounting_code', 'accounting_category1' and 'accounting_category2' have been added to the Plan and the Addon resource.
716
+ See : https://apidocs.chargebee.com/docs/api/plans#plan_attributes
717
+
718
+ The input parameters 'sku', 'accounting_code', 'accounting_category1' and 'accounting_category2' have been added to Create a plan, Update a plan, Create an addon and Update an addon APIs.
719
+ See : https://apidocs.chargebee.com/docs/api/plans#create_a_plan
720
+
721
+ The input parameters 'transaction_id_at_gateway', 'transaction_status', 'transaction_error_code' and 'transaction_error_text' have been added to Record payment for an invoice API.
722
+ See : https://apidocs.chargebee.com/docs/api/invoices#record_an_invoice_payment
723
+
724
+ ### v2.1.9 (2016-11-24)
725
+ * * *
726
+
727
+ ** APIs updated**:
728
+ A new attribute, 'funding_type' has been added to Card resource.
729
+ See : https://apidocs.chargebee.com/docs/api/cards#card_attributes
730
+
731
+ ** APIs added**:
732
+ A new endpoint, List coupon codes API has been added to Coupon Code resource.
733
+ See : https://apidocs.chargebee.com/docs/api/coupon_codes#list_coupon_codes
734
+
735
+ A new endpoint, Copy a plan API has been added to Plan resource.
736
+ See : https://apidocs.chargebee.com/docs/api/plans#copy_a_plan
737
+
738
+ A new endpoint, Copy an addon API has been added to Addon resource.
739
+ See : https://apidocs.chargebee.com/docs/api/addons#copy_an_addon
740
+
741
+ A new endpoint, Copy a coupon API has been added to Coupon resource.
742
+ See : https://apidocs.chargebee.com/docs/api/coupons#copy_a_coupon
743
+
744
+ A new endpoint, Import a subscription API has been added to Subscription resource.
745
+ See : https://apidocs.chargebee.com/docs/api/subscriptions#import_a_subscription
746
+
747
+ A new endpoint, Import Subscription for customer API has been added to Subscription resource.
748
+ See : https://apidocs.chargebee.com/docs/api/subscriptions#import_subscription_for_customer
749
+
750
+ A new endpoint, Import invoice API has been added to Invoice resource.
751
+ See : https://apidocs.chargebee.com/docs/api/invoices#import_invoice
752
+
753
+
754
+ ### v2.1.8 (2016-11-18)
755
+ * * *
756
+
757
+ ** APIs updated**:
758
+ A new attribute, 'tax_profile_id' has been added to Addon and Plan resource.
759
+ See : https://apidocs.chargebee.com/docs/api/plans#plan_attributes
760
+
761
+ The new input parameter 'tax_profile_id' has been added in Create and Update Addon and Plan APIs.
762
+ See : https://apidocs.chargebee.com/docs/api/plans#create_a_plan
763
+
764
+ The new cancel reason type 'non_compliant_customer' has been added to the Subscription resource.
765
+ See : https://apidocs.chargebee.com/docs/api/subscriptions#subscription_attributes
766
+
767
+ ### v2.1.7 (2016-11-09)
768
+ * * *
769
+
770
+ ** APIs updated**:
771
+ The attributes "updated_at" and "resource_version" is added to Plan, Addon and Coupon resource.
772
+ See : https://apidocs.chargebee.com/docs/api/plans#plan_attributes
773
+
774
+ Following [Event types](https://apidocs.chargebee.com/docs/api/events#event_types) are added
775
+ * *plan_created*
776
+ * *plan_updated*
777
+ * *plan_deleted*
778
+ * *addon_created*
779
+ * *addon_updated*
780
+ * *addon_deleted*
781
+ * *coupon_created*
782
+ * *coupon_updated*
783
+ * *coupon_deleted*
784
+ * *netd_payment_due_reminder*
785
+
786
+ The new Invoice status "posted" is added.
787
+ See : https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes
788
+
789
+ The attribute "net_term_days" is added to Customer resource and new input parameter "net_term_days" is added to Create Customer and Update Customer API. See : https://apidocs.chargebee.com/docs/api/customers#customer_attributes
790
+
791
+ The input parameter "net_term_days" is added to Create a Subscription API. See : https://apidocs.chargebee.com/docs/api/subscriptions#create_a_subscription
792
+
793
+ The attributes "net_term_days" and "due_date" is added to the Invoice resource. See : https://apidocs.chargebee.com/docs/api/invoices
794
+
795
+
796
+ ### v2.1.6 (2016-10-27)
797
+ * * *
798
+
799
+ ** APIs updated**:
800
+
801
+ The attribute "preferred_currency_code" is added to Customer and a new input parameter "preferred_currency_code" is added Create Customer and Update Customer API.
802
+ See : https://apidocs.chargebee.com/docs/api/customers#customer_attributes
803
+
804
+ ### v2.1.5 (2016-09-30)
805
+ * * *
806
+
807
+ ** APIs updated**:
808
+ The new attributes "updated_at", "resource_version" and "deleted" is returned as part of Customer, Subscription, Invoice, Credit Note and Transaction resources.
809
+ See : https://apidocs.chargebee.com/docs/api/subscriptions#subscription_attributes
810
+
811
+ The new parameter "include_deleted" is added to Customer, Subscription, Invoice, Credit Note and Transaction List API.
812
+ See : https://apidocs.chargebee.com/docs/api/customers#list_customers
813
+
814
+ The new parameter "date" is added to Create Credit Note API.
815
+ See : https://apidocs.chargebee.com/docs/api/credit_notes#create_credit_note
816
+
817
+ ### v2.1.4 (2016-09-21)
818
+ * * *
819
+
820
+ [Pull Request](https://github.com/chargebee/chargebee-ruby/pull/7) have been merged.
821
+
822
+ ** APIs updated**:
823
+ The new Gateway type "gocardless" for card resource is added. See card attributes
824
+ See : https://apidocs.chargebee.com/docs/api/cards#card_attributes
825
+
826
+ ### v2.1.3 (2016-09-03)
827
+ * * *
828
+ ** APIs added**:
829
+ A new endpoint to create Credit Note is added. See : https://apidocs.chargebee.com/docs/api/credit_notes#create_credit_note
830
+
831
+ A new endpoint to write off Invoice is added. See : https://apidocs.chargebee.com/docs/api/invoices#write_off_an_invoice
832
+
833
+ ** APIs updated**:
834
+ The attribute "forward_url" is given as input for Create a Portal Session API.
835
+ See : https://apidocs.chargebee.com/docs/api/portal_sessions#create_a_portal_session
836
+
837
+ ### v2.1.2 (2016-08-25)
838
+ * * *
839
+
840
+ ** APIs updated**:
841
+ The attribute "validation_status" is added to address.
842
+ See : https://apidocs.chargebee.com/docs/api/addresses#address_attributes
843
+
844
+ The attribute "validation_status" is added to Customer billing address and the attribute "fraud_flag" is now returned Customer in case of any fraudulent transactions. The API's Create Customer, Update Billing Info for a Customer now take in "validation_status" for address objects.
845
+ See : https://apidocs.chargebee.com/docs/api/customers#customer_attributes
846
+
847
+ The attribute "validation_status" is added to Subscription shipping address. The API's Create Subscription, Create Subscription for Customer, Update Subscription now take in "validation_status" for address objects.
848
+ See : https://apidocs.chargebee.com/docs/api/subscriptions#subscription_attributes
849
+
850
+ The attribute "validation_status" is returned as part of Invoice billing and shipping address.
851
+ See : https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes
852
+
853
+ The sub resource "shipping_address" is now returned as part of Subscription Estimate in Estimate APIs.
854
+ See : https://apidocs.chargebee.com/docs/api/estimates#estimate_attributes
855
+
856
+ The attribute "created_from_ip", "card_ip_address" is deprecated from Customer and Subscription resource.
857
+ See: https://apidocs.chargebee.com/docs/api/customers#customer_attributes
858
+
859
+ The attribute "tmp_token" is added to Payment Method subresource that can be used in Create and Update Payment Method for a Customer API for direct_debit type through Stripe gateway.
860
+ See : https://apidocs.chargebee.com/docs/api/customers#create_a_customer
861
+
862
+ The status "pending_verification" added to Payment Method status.
863
+ See : https://apidocs.chargebee.com/docs/api/customers#customer_attributes
864
+
865
+
866
+ ### v2.1.1 (2016-08-02)
867
+ * * *
868
+ ** APIs added**:
869
+ A new endpoint to retrieve Credit Note as PDF. See : https://apidocs.chargebee.com/docs/api/credit_notes#retrieve_credit_note_as_pdf
870
+
871
+ ** APIs updated**:
872
+ The attribute "invoice notes" is added to subscription in Hosted Pages Checkout New and Checkout Existing API's.
873
+ See : https://apidocs.chargebee.com/docs/api/hosted_pages#checkout_new_subscription
874
+
875
+ The filter parameter "paid_at" is added to list invoices and "paid_on_after" is deprecated. See : https://apidocs.chargebee.com/docs/api/invoices#list_invoices
876
+
877
+ The filter parameter "occurred_at", "webhook_status", "event_type" is added to list events and parameter "start_time", "end_time", "webhook_status", "event_type" is deprecated. See : https://apidocs.chargebee.com/docs/api/events#list_events
878
+
879
+ ### v2.1.0 (2016-07-18)
880
+ * * *
881
+ ** APIs added**:
882
+ A new endpoint to remove coupons associated with the subscription is added. See : https://apidocs.chargebee.com/docs/api/subscriptions#remove_coupons
883
+ A new endpoint to record excess payments for a customer is added. See : https://apidocs.chargebee.com/docs/api/customers#record_an_excess_payment_for_a_customer
884
+
885
+ ### v2.0.9 (2016-07-06)
886
+ * * *
887
+ ** APIs added**:
888
+ A new endpoint to delete a coupon added. See : https://apidocs.chargebee.com/docs/api/coupons#delete_a_coupon
889
+
890
+ ### v2.0.8 (2016-07-04)
891
+ * * *
892
+ ** APIs updated**:
893
+ The attribute "currency_code" is added as part of Plans, Addons, Coupons, Subscription, Transaction and Estimate resource.
894
+ See : https://apidocs.chargebee.com/docs/api/subscriptions#subscription_attributes
895
+
896
+ The API's Set promotional credits for a customer, Add promotional credits to a customer and Deduct promotional credits for a customer takes in "currency_code" as input.
897
+ See : https://apidocs.chargebee.com/docs/api/customers#set_promotional_credits_for_a_customer
898
+
899
+ ### v2.0.7 (2016-06-27)
900
+ * * *
901
+
902
+ ** APIs updated**:
903
+ New resource "third_party_payment_method" is returned on performing copy card for a customer API.
904
+ See : https://apidocs.chargebee.com/docs/api/cards#copy_card
905
+
906
+ ### v2.0.6 (2016-06-16)
907
+ * * *
908
+
909
+ ** APIs updated**:
910
+ New subresource "next_invoice_estimate" is returned as part of Estimate resource.
911
+ See : https://apidocs.chargebee.com/docs/api/estimates#estimate_attributes
912
+
913
+ ### v2.0.5 (2016-05-24)
914
+ * * *
915
+
916
+ ** APIs updated**:
917
+
918
+ New attribute "currency_code" is returned as part of Credit Note resource.
919
+ See: https://apidocs.chargebee.com/docs/api/credit_notes#credit_note_attributes
920
+
921
+ The new Gateway type "wepay" for card resource is added. See subscription attributes
922
+ See : https://apidocs.chargebee.com/docs/api/cards#card_attributes
923
+
924
+ ### v2.0.4 (2016-05-20)
925
+ * * *
926
+
927
+ Removed unwanted file.
928
+
929
+ ### v2.0.3 (2016-05-20)
930
+ * * *
931
+
932
+ #### Filtering Resources using List API
933
+
934
+ Chargebee supports bulk fetching of resources via 'List' API methods. (List invoices, List subscriptions etc..). In the List methods, filtering of resources can be performed using filter parameters. Also in the List methods, the sort_by parameter is provided for sorting the result in the desired order.
935
+ See : https://apidocs.chargebee.com/docs/api#pagination_and_filtering
936
+
937
+ ** APIs deprecated**:
938
+
939
+ The Following API's are deprecated since these operations can be achieved through List API's
940
+ * List Subscriptions for a Customer
941
+ * List Invoices for a Customer
942
+ * List Invoices for a Subscription
943
+ * List Credit Note for a Customer
944
+ * List Credit Note for a Subscription
945
+ * List Transactions for a Customer
946
+ * List Transations for a Subscription
947
+
948
+ ** APIs added**:
949
+
950
+ Support to copy card to gateway for a customer. New api endpoint to copy card for a customer is added to Card resources.
951
+ See: https://apidocs.chargebee.com/docs/api/cards#copy_card
952
+
953
+ ** APIs updated**:
954
+
955
+ New attribute "id" is returned as part of Line Items subresource of Invoice and Credit Note resource.
956
+ See: https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes
957
+
958
+ New attribute "name" is returned as part of Taxes subresource of Invoice and Credit Note resource.
959
+ See: https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes
960
+
961
+
962
+ A new sub-resource "line_item_taxes" is returned as part of the Invoice and Credit Note resource attributes.
963
+ See : https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes
964
+
965
+
966
+ ### v2.0.2 (2016-05-02)
967
+ * * *
968
+ ** APIs added**:
969
+
970
+ Support to archive a coupon code. See archive Coupon code API here: https://apidocs.chargebee.com/docs/api/coupon_codes#archive_a_coupon_code
971
+
972
+ ** APIs updated**:
973
+
974
+ The attribute for "status" is returned as part of Coupon Code resource. See : https://apidocs.chargebee.com/docs/api/coupon_codes#coupon_code_attributes
975
+
976
+ ### v2.0.1 (2016-04-29)
977
+ * * *
978
+
979
+ ** APIs updated**
980
+
981
+ Support to specify Avalara "tax_code" attribute in Plan and Addon resource. Now, create and update plan, create & update addon accept "tax_code" parameter. See create plan API here : https://apidocs.chargebee.com/docs/api/plans#create_a_plan
982
+
983
+ Support to specify the exemption category or exempt number for a customer by adding "entity_code" or "exempt_number" in customer resource. You can pass "entity_code" and "exempt_number" in create, update customer, create subscription and create subscription estimate APIs. See create customer API here : https://apidocs.chargebee.com/docs/api/customers#create_a_customer
984
+
985
+ The attribute "entity_code" or "exempt_number" is returned as part of Customer resource for Avalara.
986
+ See: https://apidocs.chargebee.com/docs/api/customers#customer_attributes
987
+
988
+ The attribute "tax_code" is returned as part of Plan & Addon resources for Avalara.
989
+ See : https://apidocs.chargebee.com/docs/api/plans#plan_attributes
990
+
991
+ Support for address parameters in estimate APIs that is used to calculate tax. Now, create & update subscription estimate APIs accept line1, line2, line3 and city. See : https://apidocs.chargebee.com/docs/api/estimates#estimate_attributes
992
+
993
+ The new Cancel reason type "tax_calculation_failed" for subscription resource is added. See subscription attributes
994
+ See : https://apidocs.chargebee.com/docs/api/subscriptions#subscription_attributes
995
+
996
+ ** APIs deprecated**:
997
+
998
+ The attribute "taxability" for customer has been deprecated in the Update Subscription Estimate API.
999
+
1000
+ ### v2.0.0 (2016-04-11)
1001
+ * * *
1002
+
1003
+ #### Attributes and Operations Removed/Renamed in V2
1004
+ Chargebee [API V2](https://apidocs.chargebee.com/docs/api#versions) is now live! All our future developments will happen in V2.
1005
+
1006
+ V2 has been released to accommodate certain backwards-incompatible changes. Refer our [API V2 Upgradation guide](https://apidocs.chargebee.com/docs/api/v1#api-v2-upgradation-guide) for the complete listing of the attributes and operations that have been removed/renamed in API V2.
1007
+
1008
+ #### Incremental Changes in V2
1009
+
1010
+ * *api_version* attribute is added to [Event](https://apidocs.chargebee.com/docs/api/events) resource. More details [here](#v1176-2016-04-06).
1011
+ * Credit Notes resource is introduced. More details here: https://apidocs.chargebee.com/docs/api/credit_notes
1012
+ * Operations [Update Subscription](https://apidocs.chargebee.com/docs/api/subscriptions#update_a_subscription) and [Update Subscription Estimate](https://apidocs.chargebee.com/docs/api/estimates#update_subscription_estimate) additionally returns list of Credit Notes now (if applicable).
1013
+ * Operations [Refund an Invoice](https://apidocs.chargebee.com/docs/api/invoices#refund_an_invoice) and [Record Refund for an Invoice](https://apidocs.chargebee.com/docs/api/invoices#record_refund_for_an_invoice) additionally returns a Credit Note if the operation succeeds. Besides, following *input params* are added to these operations - *credit_note[reason_code]* and *customer_notes*.
1014
+ * Following attributes are added to [invoice](https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes) resource
1015
+ * *write_off_amount*
1016
+ * *applied_credits[]* - the Refundable Credits applied to this invoice.
1017
+ * *adjustment_credit_notes[]* - The Adjustment Credit Notes created for this invoice.
1018
+ * *issued_credit_notes[]* - The Refundable Credit Notes created against this invoice.
1019
+ * For 'Refund' type [transaction](https://apidocs.chargebee.com/docs/api/transactions#transaction_attributes), *linked_credit_notes[]* will be returned.
1020
+ * Following [Event types](https://apidocs.chargebee.com/docs/api/events#event_types) are added
1021
+ * *credit_note_created*
1022
+ * *credit_note_updated*
1023
+ * *credit_note_deleted*
1024
+ * Following attributes are added to [line_items[]](https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes) sub-resource:
1025
+ * *discount_amount* - the total discount amount (both item-level and document-level discounts) of this line.
1026
+ * *item_level_discount_amount* - only the item-level-discount amount component.
1027
+ * Further [discounts[].entity_type](https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes) will have two types for coupon - *item_level_coupon* and *document_level_coupon*.
1028
+ * Input Param *use_existing_balances* is added to the operations - [Update Subscription Estimate](https://apidocs.chargebee.com/docs/api/estimates#update_subscription_estimate) and [Subscription Renewal Estimate](https://apidocs.chargebee.com/docs/api/estimates#subscription_renewal_estimate)
1029
+ * The API's *checkout_onetime_addons* and *checkout_onetime_charge* in Hosted Page resource are removed in V2.
17
1030
 
18
1031
  ### v1.7.2 (2016-04-06)
19
1032
  * * *
@@ -21,7 +1034,7 @@
21
1034
  *api_version* attribute is added to the Event resource.
22
1035
 
23
1036
  Chargebee supports multiple [API versions](https://apidocs.chargebee.com/docs/api#versions) now. The *api_version* attribute indicates the API version based on which the event content is structured. More details here:
24
- https://apidocs.chargebee.com/docs/api/v1/events
1037
+ https://apidocs.chargebee.com/docs/api/events
25
1038
 
26
1039
  ### v1.7.1 (2016-03-22)
27
1040
  * * *
@@ -29,26 +1042,26 @@ https://apidocs.chargebee.com/docs/api/v1/events
29
1042
  ** APIs updated**:
30
1043
 
31
1044
  Support to specify additional information as "meta_data" in json format for Customer, Subscription, Plan, Addon & Coupon resources.
32
- Now, create & update customer, subscription, create subscription for customer, create & update plan, addon and create coupon APIs accept the "meta_data"" parameter in json format. See create customer API here : https://apidocs.chargebee.com/docs/api/v1/customers#create_a_customer
1045
+ Now, create & update customer, subscription, create subscription for customer, create & update plan, addon and create coupon APIs accept the "meta_data"" parameter in json format. See create customer API here : https://apidocs.chargebee.com/docs/api/customers#create_a_customer
33
1046
 
34
- New attribute for "meta_data" is returned as part of Customer, Subscription, Plan, Addon and Coupon resources. See customer attributes here: https://apidocs.chargebee.com/docs/api/v1/customers#customer_attributes
1047
+ New attribute for "meta_data" is returned as part of Customer, Subscription, Plan, Addon and Coupon resources. See customer attributes here: https://apidocs.chargebee.com/docs/api/customers#customer_attributes
35
1048
 
36
1049
 
37
1050
  ** APIs added**:
38
1051
 
39
- Support to change card gateway for a customer. New api endpoint to switch gateway for a customer is added to Card resources. See: https://apidocs.chargebee.com/docs/api/v1/cards#switch_gateway
1052
+ Support to change card gateway for a customer. New api endpoint to switch gateway for a customer is added to Card resources. See: https://apidocs.chargebee.com/docs/api/cards#switch_gateway
40
1053
 
41
1054
 
42
1055
  ** Issue Fixed**:
43
1056
 
44
- Wrong keys in json response is now fixed for 'linked_transactions', 'linked_orders' & 'notes' in Invoice resource and for 'linked_invoices' & 'linked_refunds' in Transaction resource. See: invoice attributes here: https://apidocs.chargebee.com/docs/api/v1/invoices
1057
+ Wrong keys in json response is now fixed for 'linked_transactions', 'linked_orders' & 'notes' in Invoice resource and for 'linked_invoices' & 'linked_refunds' in Transaction resource. See: invoice attributes here: https://apidocs.chargebee.com/docs/api/invoices
45
1058
 
46
1059
  ### v1.7.0 (2016-03-10)
47
1060
  * * *
48
1061
 
49
1062
  ** APIs updated**:
50
1063
 
51
- Support to keep the card in gateway while deleting customer. Delete a customer API accepts "delete_payment_method" parameter. See: https://apidocs.chargebee.com/docs/api/v1/customers#delete_a_customer
1064
+ Support to keep the card in gateway while deleting customer. Delete a customer API accepts "delete_payment_method" parameter. See: https://apidocs.chargebee.com/docs/api/customers#delete_a_customer
52
1065
 
53
1066
  Typo fix in chargebee.gemspec file.
54
1067
 
@@ -61,16 +1074,16 @@ RSpec development dependancy version has been upgraded to 3.0.0
61
1074
 
62
1075
  Support to delete a subscription. See: https://www.chargebee.com/docs/subscriptions.html#deleting-a-subscription
63
1076
  New api endpoint to delete 'Subscription' is added to Subscription resources. See delete subscription API here:
64
- https://apidocs.chargebee.com/docs/api/v1/subscriptions#delete_a_subscription
1077
+ https://apidocs.chargebee.com/docs/api/subscriptions#delete_a_subscription
65
1078
 
66
1079
  Support to delete a customer. See: https://www.chargebee.com/docs/customers.html#deleting-a-customer
67
1080
  New api endpoint to delete 'Customer' is added to Customer resources. See delete customer API here:
68
- https://apidocs.chargebee.com/docs/api/v1/customers#delete_a_customer
1081
+ https://apidocs.chargebee.com/docs/api/customers#delete_a_customer
69
1082
 
70
1083
 
71
1084
  ** APIs updated**:
72
1085
 
73
- Now, events "subscription_deleted" & "customer_deleted" can be fetched via API. See : https://apidocs.chargebee.com/docs/api/v1/events#event_types.
1086
+ Now, events "subscription_deleted" & "customer_deleted" can be fetched via API. See : https://apidocs.chargebee.com/docs/api/events#event_types.
74
1087
 
75
1088
  ### v1.6.8 (2016-02-08)
76
1089
  * * *
@@ -78,22 +1091,22 @@ Now, events "subscription_deleted" & "customer_deleted" can be fetched via API.
78
1091
  ** APIs added**:
79
1092
 
80
1093
  Support to add additional contact for a customer. See: https://www.chargebee.com/docs/customers.html#add-contact
81
- New api endpoints to add, update and delete 'Contact' are added to Customer resource. See add contact API here: https://apidocs.chargebee.com/docs/api/v1/customers#add_contacts_to_a_customer
1094
+ New api endpoints to add, update and delete 'Contact' are added to Customer resource. See add contact API here: https://apidocs.chargebee.com/docs/api/customers#add_contacts_to_a_customer
82
1095
 
83
1096
  ** APIs updated**:
84
1097
 
85
- New attribute 'contacts' with list of contacts is returned as part of Customer resource. See: https://apidocs.chargebee.com/docs/api/v1/customers#customer_attributes
1098
+ New attribute 'contacts' with list of contacts is returned as part of Customer resource. See: https://apidocs.chargebee.com/docs/api/customers#customer_attributes
86
1099
 
87
- Support for partial payment. Collect payment for an invoice API now accepts 'amount' paramater. See: https://apidocs.chargebee.com/docs/api/v1/invoices#collect_payment_for_an_invoice
1100
+ Support for partial payment. Collect payment for an invoice API now accepts 'amount' paramater. See: https://apidocs.chargebee.com/docs/api/invoices#collect_payment_for_an_invoice
88
1101
 
89
1102
  New attribute 'refundable_credits' is returned as part of Customer resource.
90
1103
 
91
- New attributes 'amount_paid', 'amount_adjusted' & 'credits_applied' are returned as part of Invoice resource. See: https://apidocs.chargebee.com/docs/api/v1/invoices#invoice_attributes
1104
+ New attributes 'amount_paid', 'amount_adjusted' & 'credits_applied' are returned as part of Invoice resource. See: https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes
92
1105
 
93
- New attributes 'credits_applied' & 'amount_due' are returned as part of Estimate resource. See: https://apidocs.chargebee.com/docs/api/v1/estimates#estimate_attributes
1106
+ New attributes 'credits_applied' & 'amount_due' are returned as part of Estimate resource. See: https://apidocs.chargebee.com/docs/api/estimates#estimate_attributes
94
1107
 
95
1108
  New entity type 'credit_note' is added as part of 'entity_type' attribute of Comment resource.
96
- See: https://apidocs.chargebee.com/docs/api/v1/comments#comment_attributes
1109
+ See: https://apidocs.chargebee.com/docs/api/comments#comment_attributes
97
1110
 
98
1111
  ### v1.6.7 (2015-12-15)
99
1112
  * * *
@@ -107,10 +1120,10 @@ Wrong API invocation issue if empty/null value passed instead of resource id, is
107
1120
 
108
1121
  ** APIs updated**:
109
1122
 
110
- Support to specify accessbility in customer portal for a plan & addon. Create & update methods of Plan & Addon APIs accept "enabled_in_portal" parameter. See create plan API here : https://apidocs.chargebee.com/docs/api/v1/plans#create_a_plan
1123
+ Support to specify accessbility in customer portal for a plan & addon. Create & update methods of Plan & Addon APIs accept "enabled_in_portal" parameter. See create plan API here : https://apidocs.chargebee.com/docs/api/plans#create_a_plan
111
1124
 
112
1125
  New attribute "enabled_in_portal" is returned as part of Plan/Addon resource.
113
- See plan attributes here: https://apidocs.chargebee.com/docs/api/v1/plans#plan_attributes
1126
+ See plan attributes here: https://apidocs.chargebee.com/docs/api/plans#plan_attributes
114
1127
 
115
1128
  ### v1.6.5 (2015-11-09)
116
1129
  * * *
@@ -120,57 +1133,57 @@ See plan attributes here: https://apidocs.chargebee.com/docs/api/v1/plans#plan_a
120
1133
  Support for excess payments. See : https://www.chargebee.com/docs/customers.html#excess-payments
121
1134
 
122
1135
  New attribute "excess_payments" is returned as part of Customer resource.
123
- See: https://apidocs.chargebee.com/docs/api/v1/customers#customer_attributes
1136
+ See: https://apidocs.chargebee.com/docs/api/customers#customer_attributes
124
1137
 
125
1138
  New attribute "applied_at" is returned as part of Linked Transaction subresource of Invoice resource.
126
- See: https://apidocs.chargebee.com/docs/api/v1/invoices#invoice_attributes
1139
+ See: https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes
127
1140
 
128
1141
  New transaction type "PAYMENT_REVERSAL" is returned as part of Transaction resource.
129
- See: https://apidocs.chargebee.com/docs/api/v1/transactions#transaction_attributes
1142
+ See: https://apidocs.chargebee.com/docs/api/transactions#transaction_attributes
130
1143
 
131
1144
  New attributes "amount_unused", "reference_transaction_id", "reversal_transaction_id" & "linked_refunds" subresource are returned as part of Transaction resource.
132
1145
 
133
1146
  New attribute "applied_at" is returmed as part of Linked Invoice subresource of Transaction resource.
134
- See: https://apidocs.chargebee.com/docs/api/v1/transactions#transaction_attributes
1147
+ See: https://apidocs.chargebee.com/docs/api/transactions#transaction_attributes
135
1148
 
136
1149
  ### v1.6.4 (2015-10-26)
137
1150
  * * *
138
1151
 
139
1152
  ** APIs updated**:
140
1153
 
141
- Support to specify if a customer can pay via direct debit. Now, create & update customer, create subscription APIs accept the "allow_direct_debit" parameter for Customer resource. See create customer API here : https://apidocs.chargebee.com/docs/api/v1/customers#create_a_customer
1154
+ Support to specify if a customer can pay via direct debit. Now, create & update customer, create subscription APIs accept the "allow_direct_debit" parameter for Customer resource. See create customer API here : https://apidocs.chargebee.com/docs/api/customers#create_a_customer
142
1155
 
143
1156
  New attribute "allow_direct_debit" is returned as part of Customer resource.
144
- See : https://apidocs.chargebee.com/docs/api/v1/customers#customer_attributes
1157
+ See : https://apidocs.chargebee.com/docs/api/customers#customer_attributes
145
1158
 
146
1159
  New "price_type" attribute is returned as part of Estimate & Invoice Resource.
147
- See : https://apidocs.chargebee.com/docs/api/v1/estimates#estimate_attributes
1160
+ See : https://apidocs.chargebee.com/docs/api/estimates#estimate_attributes
148
1161
 
149
1162
  Support for address parameters in estimate APIs that is used to calculate tax. Now, create & update subscription estimate APIs accept billing state code, billing zip, shipping country, shipping state code & shipping zip.
150
- See : https://apidocs.chargebee.com/docs/api/v1/estimates#create_subscription_estimate
1163
+ See : https://apidocs.chargebee.com/docs/api/estimates#create_subscription_estimate
151
1164
 
152
1165
  ### v1.6.3 (2015-09-18)
153
1166
  * * *
154
1167
 
155
1168
  ** APIs updated**:
156
1169
 
157
- Support to specify customer's tax liability. Now, create & update customer, create & update subscription, create & update subscription estimate, checkout new hosted page APIs accept the "taxability" parameter for Customer resource. See create customer API here : https://apidocs.chargebee.com/docs/api/v1/customers#create_a_customer
1170
+ Support to specify customer's tax liability. Now, create & update customer, create & update subscription, create & update subscription estimate, checkout new hosted page APIs accept the "taxability" parameter for Customer resource. See create customer API here : https://apidocs.chargebee.com/docs/api/customers#create_a_customer
158
1171
 
159
- Support to specify taxability for a plan & addon. Create & update methods of Plan & Addon APIs accept "taxable" parameter. See create plan API here : https://apidocs.chargebee.com/docs/api/v1/plans#create_a_plan
1172
+ Support to specify taxability for a plan & addon. Create & update methods of Plan & Addon APIs accept "taxable" parameter. See create plan API here : https://apidocs.chargebee.com/docs/api/plans#create_a_plan
160
1173
 
161
1174
  The attribute "taxablility" is returned as part of Customer resource.
162
- https://apidocs.chargebee.com/docs/api/v1/customers#customer_attributes
1175
+ https://apidocs.chargebee.com/docs/api/customers#customer_attributes
163
1176
 
164
1177
  The attribute "taxable" is returned as part of Plan resource.
165
- See : https://apidocs.chargebee.com/docs/api/v1/plans#plan_attributes
1178
+ See : https://apidocs.chargebee.com/docs/api/plans#plan_attributes
166
1179
 
167
1180
  The attribute "taxable" is returned as part of Addon resource.
168
- See : https://apidocs.chargebee.com/docs/api/v1/addons#addon_attributes
1181
+ See : https://apidocs.chargebee.com/docs/api/addons#addon_attributes
169
1182
 
170
1183
 
171
1184
  The attribute "is_taxed" returned as part of "line_items" subresource of Estimate & Invoice resorces.
172
1185
  See attribute of line_items in Estimate here :
173
- https://apidocs.chargebee.com/docs/api/v1/estimates#estimate_attributes
1186
+ https://apidocs.chargebee.com/docs/api/estimates#estimate_attributes
174
1187
 
175
1188
  ### v1.6.2 (2015-09-07)
176
1189
  * * *
@@ -178,10 +1191,10 @@ https://apidocs.chargebee.com/docs/api/v1/estimates#estimate_attributes
178
1191
  ** APIs updated**:
179
1192
 
180
1193
  The attribute for "user" is returned as part of Event resource.
181
- See : https://apidocs.chargebee.com/docs/api/v1/events#event_attributes
1194
+ See : https://apidocs.chargebee.com/docs/api/events#event_attributes
182
1195
 
183
1196
  Support for multiple webhooks. The attribute "webhooks" contains list of Webhook subresource is returned as part of Event API.
184
- See : https://apidocs.chargebee.com/docs/api/v1/events#event_attributes
1197
+ See : https://apidocs.chargebee.com/docs/api/events#event_attributes
185
1198
 
186
1199
  ** APIs deprecated**:
187
1200
 
@@ -193,40 +1206,40 @@ Attributes "webhook_status" & "webhook_failure_reason" of event resource has bee
193
1206
  ** APIs updated**:
194
1207
 
195
1208
  The attribute for "first_invoice" & "currency_code" is returned as part of Invoice resource.
196
- See : https://apidocs.chargebee.com/docs/api/v1/invoices#invoice_attributes
1209
+ See : https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes
197
1210
 
198
1211
  The attribute for "currency_code" is returned as part of Transaction resource.
199
- See : https://apidocs.chargebee.com/docs/api/v1/transactions#transaction_attributes
1212
+ See : https://apidocs.chargebee.com/docs/api/transactions#transaction_attributes
200
1213
 
201
1214
  A new source type "bulk_operation" is returned as part of "source" attribute of event resource.
202
- See : https://apidocs.chargebee.com/docs/api/v1/events#event_attributes
1215
+ See : https://apidocs.chargebee.com/docs/api/events#event_attributes
203
1216
 
204
1217
  ### v1.6.0 (2015-07-20)
205
1218
  * * *
206
1219
 
207
1220
  ** APIs added**:
208
1221
 
209
- New api endpoint to Stop Dunning for "Payment Due" invoices is added. See : https://apidocs.chargebee.com/docs/api/v1/invoices#stop_dunning_for_invoice
1222
+ New api endpoint to Stop Dunning for "Payment Due" invoices is added. See : https://apidocs.chargebee.com/docs/api/invoices#stop_dunning_for_invoice
210
1223
 
211
1224
  ** APIs updated**:
212
1225
 
213
1226
  The attribute for "dunning_status" is returned as part of Invoice resource.
214
- See : https://apidocs.chargebee.com/docs/api/v1/invoices#invoice_attributes
1227
+ See : https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes
215
1228
 
216
1229
  ### v1.5.9 (2015-07-09)
217
1230
  * * *
218
1231
 
219
1232
  ** APIs added**:
220
1233
 
221
- New api endpoint to Record Offline Refund for an invoice is added. See : https://apidocs.chargebee.com/docs/api/v1/invoices#record_refund_for_an_invoice
1234
+ New api endpoint to Record Offline Refund for an invoice is added. See : https://apidocs.chargebee.com/docs/api/invoices#record_refund_for_an_invoice
222
1235
 
223
1236
  ** APIs updated**:
224
1237
 
225
- Support to update payment method stored in gateway vault. Now, update payment method for a customer, create customer, create & update subscription method APIs accept the "gateway" parameter for Payment Method resource along with reference_id. See "Card Payments" section here : https://apidocs.chargebee.com/docs/api/v1/customers#update_payment_method_for_a_customer
1238
+ Support to update payment method stored in gateway vault. Now, update payment method for a customer, create customer, create & update subscription method APIs accept the "gateway" parameter for Payment Method resource along with reference_id. See "Card Payments" section here : https://apidocs.chargebee.com/docs/api/customers#update_payment_method_for_a_customer
226
1239
 
227
- The attribute for "gateway" name is returned as part of Payment Method sub-resource for a customer resource. See : https://apidocs.chargebee.com/docs/api/v1/customers#customer_attributes
1240
+ The attribute for "gateway" name is returned as part of Payment Method sub-resource for a customer resource. See : https://apidocs.chargebee.com/docs/api/customers#customer_attributes
228
1241
 
229
- A new source type "migration" is returned as part of "source" attribute of event resource. See : https://apidocs.chargebee.com/docs/api/v1/events#event_attributes
1242
+ A new source type "migration" is returned as part of "source" attribute of event resource. See : https://apidocs.chargebee.com/docs/api/events#event_attributes
230
1243
 
231
1244
  A new discount type "account_credits" is added as part of "type" attribute of discounts sub-resource for estimate resource.
232
1245
 
@@ -239,34 +1252,34 @@ Attributes "description" & "void_description" of transaction resource has been d
239
1252
 
240
1253
  ** APIs added**:
241
1254
 
242
- New api endpoint to Void an invoice is added. See : https://apidocs.chargebee.com/docs/api/v1/invoices#void_an_invoice
1255
+ New api endpoint to Void an invoice is added. See : https://apidocs.chargebee.com/docs/api/invoices#void_an_invoice
243
1256
 
244
1257
  ** APIs updated**:
245
1258
 
246
- A new invoice status "voided" is returned as part of "status" attribute in invoice resource. See : https://apidocs.chargebee.com/docs/api/v1/invoices#invoice_attributes
1259
+ A new invoice status "voided" is returned as part of "status" attribute in invoice resource. See : https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes
247
1260
 
248
1261
  ** APIs deprecated**:
249
1262
 
250
- Update card for hosted page method API has been deprecated. Use "Update payment method" API to update card details. Read more about upadate payment method : https://apidocs.chargebee.com/docs/api/v1/hosted_pages#update_payment_method
1263
+ Update card for hosted page method API has been deprecated. Use "Update payment method" API to update card details. Read more about upadate payment method : https://apidocs.chargebee.com/docs/api/hosted_pages#update_payment_method
251
1264
 
252
1265
  ### v1.5.7 (2015-06-12)
253
1266
  * * *
254
1267
 
255
1268
  ** APIs added**:
256
1269
 
257
- New api endpoints to Add, Deduct & Set the account credit for a customer is added. See the APIs below - https://apidocs.chargebee.com/docs/api/v1/customers#add_account_credits_to_a_customer
258
- https://apidocs.chargebee.com/docs/api/v1/customers#deduct_account_credits_for_a_customer
259
- https://apidocs.chargebee.com/docs/api/v1/customers#set_account_credits_for_a_customer
1270
+ New api endpoints to Add, Deduct & Set the account credit for a customer is added. See the APIs below - https://apidocs.chargebee.com/docs/api/customers#add_account_credits_to_a_customer
1271
+ https://apidocs.chargebee.com/docs/api/customers#deduct_account_credits_for_a_customer
1272
+ https://apidocs.chargebee.com/docs/api/customers#set_account_credits_for_a_customer
260
1273
 
261
1274
  ** APIs updated**:
262
1275
 
263
- Now, event "invoice_updated" can be fetched via API. See : https://apidocs.chargebee.com/docs/api/v1/events#event_types.
1276
+ Now, event "invoice_updated" can be fetched via API. See : https://apidocs.chargebee.com/docs/api/events#event_types.
264
1277
 
265
- A new webkook status "skipped" is returned as part of "webhook_status" attribute of event resource. See : https://apidocs.chargebee.com/docs/api/v1/events#event_attributes
1278
+ A new webkook status "skipped" is returned as part of "webhook_status" attribute of event resource. See : https://apidocs.chargebee.com/docs/api/events#event_attributes
266
1279
 
267
- The resource attribute for "account_credits" is returned as part of Customer resource. See : https://apidocs.chargebee.com/docs/api/v1/customers#customer_attributes
1280
+ The resource attribute for "account_credits" is returned as part of Customer resource. See : https://apidocs.chargebee.com/docs/api/customers#customer_attributes
268
1281
 
269
- A new discount type "account_credits" is returned as part of "discounts" sub-resource of Invoice resource. See : https://apidocs.chargebee.com/docs/api/v1/events#event_attributes
1282
+ A new discount type "account_credits" is returned as part of "discounts" sub-resource of Invoice resource. See : https://apidocs.chargebee.com/docs/api/events#event_attributes
270
1283
 
271
1284
  ** APIs deprecated**:
272
1285
 
@@ -281,9 +1294,9 @@ The attribute "discount_quantity" deprecated for Create method of Coupon API.
281
1294
 
282
1295
  ** APIs added**:
283
1296
 
284
- A new api endpoint for "Update payment method for a customer" is added. This allows you to support PayPal Express Checkout via our API. See https://apidocs.chargebee.com/docs/api/v1/customers#update_payment_method_for_a_customer.
1297
+ A new api endpoint for "Update payment method for a customer" is added. This allows you to support PayPal Express Checkout via our API. See https://apidocs.chargebee.com/docs/api/customers#update_payment_method_for_a_customer.
285
1298
 
286
- A new api endpoint for "Collect payment for an invoice" is added. This allows you to manually collect the payment(if a payment method is present for the customer) for an invoice in "payment_due" or "not_paid" state. See https://apidocs.chargebee.com/docs/api/v1/invoices#collect_payment_for_an_invoice.
1299
+ A new api endpoint for "Collect payment for an invoice" is added. This allows you to manually collect the payment(if a payment method is present for the customer) for an invoice in "payment_due" or "not_paid" state. See https://apidocs.chargebee.com/docs/api/invoices#collect_payment_for_an_invoice.
287
1300
 
288
1301
  ** APIs updated**:
289
1302
 
@@ -302,15 +1315,15 @@ The resource attribute for "po_number" is returned as part of Subscription and I
302
1315
  Create and Update methods of plan, addon, coupon, customer and subscripiton APIs now accept "invoice_notes" that is added to the invoice raised for a customer. Read more about invoice notes : https://www.chargebee.com/docs/invoice_notes.html
303
1316
 
304
1317
  A new sub-resource "notes" is returned as part of the Invoice resource attributes.
305
- See https://apidocs.chargebee.com/docs/api/v1/invoices#invoice_attributes
1318
+ See https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes
306
1319
 
307
1320
  A new attribute "amount_due" is returned as part of Invoice resource.
308
1321
 
309
1322
  Checkout new, checkout existing, update payment method method APIs now accept "redirect_url" & "cancel_url" to which your customer should be redirected.
310
- See https://apidocs.chargebee.com/docs/api/v1/hosted_pages#checkout_new_subscription
1323
+ See https://apidocs.chargebee.com/docs/api/hosted_pages#checkout_new_subscription
311
1324
 
312
1325
  Now, event "subscription_renewal_reminder" can be fetched via API.
313
- See https://apidocs.chargebee.com/docs/api/v1/events#event_types.
1326
+ See https://apidocs.chargebee.com/docs/api/events#event_types.
314
1327
 
315
1328
  ### v1.5.4 (2015-03-30)
316
1329
  * * *
@@ -318,27 +1331,27 @@ See https://apidocs.chargebee.com/docs/api/v1/events#event_types.
318
1331
  ** APIs added**:
319
1332
 
320
1333
  A new API "Delete an Invoice" added to delete un-paid invoices. This feature was supported through admin console earlier, now it is available via API too.
321
- See https://apidocs.chargebee.com/docs/api/v1/invoices#delete_an_invoice.
1334
+ See https://apidocs.chargebee.com/docs/api/invoices#delete_an_invoice.
322
1335
 
323
1336
  ** APIs updated**:
324
1337
 
325
1338
  Create subscription/customer, update subscription/payment method APIs now accepts the IP Address of customer for card resource.
326
1339
 
327
1340
  Now, event "invoice_deleted" can be fetched via API.
328
- See https://apidocs.chargebee.com/docs/api/v1/events#event_types.
1341
+ See https://apidocs.chargebee.com/docs/api/events#event_types.
329
1342
 
330
1343
  ### v1.5.3 (2015-02-27)
331
1344
  * * *
332
1345
 
333
1346
  ** APIs added**:
334
1347
 
335
- A new API "Create an Invoice" added to create one-off invoices with multiple 'Non Recurring' addon & ad-hoc charges for a customer. See https://apidocs.chargebee.com/docs/api/v1/invoices#create_an_invoice.
1348
+ A new API "Create an Invoice" added to create one-off invoices with multiple 'Non Recurring' addon & ad-hoc charges for a customer. See https://apidocs.chargebee.com/docs/api/invoices#create_an_invoice.
336
1349
 
337
- A new API called Activate a portal session method(Portal session) added to support building your authentication for your website on top of ChargeBee. See https://apidocs.chargebee.com/docs/api/v1/portal_sessions#activate_a_portal_session. Read about "Using ChargeBee authentication to allow access to your website" at https://apidocs.chargebee.com/docs/api/v1/portal_sessions.
1350
+ A new API called Activate a portal session method(Portal session) added to support building your authentication for your website on top of ChargeBee. See https://apidocs.chargebee.com/docs/api/portal_sessions#activate_a_portal_session. Read about "Using ChargeBee authentication to allow access to your website" at https://apidocs.chargebee.com/docs/api/portal_sessions.
338
1351
 
339
1352
  ** APIs updated**:
340
1353
 
341
- Shipping and Billing Address are returned as part of Invoice resource attributes. This returns the shiping & billing address that was present at the time of invoice generation.
1354
+ Shipping and Billing Address are returned as part of Invoice resource attributes. This returns the shipping & billing address that was present at the time of invoice generation.
342
1355
 
343
1356
  Linked Customers as part of Portal session resource attributes.
344
1357
 
@@ -360,7 +1373,7 @@ Create subscription/customer, update subscription/customer/payment method/billin
360
1373
  Support for PayPal & Amazon payment added.
361
1374
 
362
1375
  ** APIs added**:
363
- A new API called Update payment method(HostedPage) added to support allowing customers to update their payment method with PayPal and Amazon payments. See https://apidocs.chargebee.com/docs/api/v1/hosted_pages#update_payment_method for details.
1376
+ A new API called Update payment method(HostedPage) added to support allowing customers to update their payment method with PayPal and Amazon payments. See https://apidocs.chargebee.com/docs/api/hosted_pages#update_payment_method for details.
364
1377
 
365
1378
  ** APIs deprecated**:
366
1379
  Update card(HostedPage) API is deprecated as an alternate API is added.
@@ -373,10 +1386,10 @@ Create a customer API now accepts the end user IP.
373
1386
 
374
1387
  **APIs added**:
375
1388
  A new resource called Order is introduced. This can be used for integrating ChargeBee with any shipping/order management application (like ShipStation). Orders are not automatically generated or updated by ChargeBee currently. They have to be created/updated either via api or merchant web console (a.k.a admin console). An order can be created against an invoice irrespective of the status of the invoice and an invoice can have multiple orders associated with it.
376
- See https://apidocs.chargebee.com/docs/api/v1/orders?lang=ruby for details.
1389
+ See https://apidocs.chargebee.com/docs/api/orders?lang=ruby for details.
377
1390
 
378
1391
  **API Updates**:
379
- Ability to filter Invoices with paid_on_after parameter. See https://apidocs.chargebee.com/docs/api/v1/invoices?lang=ruby#list_invoices.
1392
+ Ability to filter Invoices with paid_on_after parameter. See https://apidocs.chargebee.com/docs/api/invoices?lang=ruby#list_invoices.
380
1393
 
381
1394
  ### v1.4.9 (2014-11-24)
382
1395
  * * *
@@ -394,7 +1407,7 @@ Bug fixes.
394
1407
  * * *
395
1408
 
396
1409
  **APIs Updated**:
397
- * Set auto colection to on/off via "Update a customer" API. See https://apidocs.chargebee.com/docs/api/v1/customers#update_a_customer.
1410
+ * Set auto colection to on/off via "Update a customer" API. See https://apidocs.chargebee.com/docs/api/customers#update_a_customer.
398
1411
 
399
1412
  ### v1.4.6 (2014-09-16)
400
1413
  * * *
@@ -428,8 +1441,8 @@ Added properties:
428
1441
  * Property has_scheduled_changes added to the Subscription resource to indicate whether there are any pending change scheduled for this Subscription
429
1442
 
430
1443
  APIs added:
431
- * Retrieve a subscription with scheduled changes applied. See https://apidocs.chargebee.com/docs/api/v1/subscriptions#retrieve_with_scheduled_changes.
432
- * Remove schedule changes for a subscription. See https://apidocs.chargebee.com/docs/api/v1/subscriptions#remove_scheduled_changes.
1444
+ * Retrieve a subscription with scheduled changes applied. See https://apidocs.chargebee.com/docs/api/subscriptions#retrieve_with_scheduled_changes.
1445
+ * Remove schedule changes for a subscription. See https://apidocs.chargebee.com/docs/api/subscriptions#remove_scheduled_changes.
433
1446
 
434
1447
  APIs updated:
435
1448
  * Ability to pass description for Plans & Addons while Creating & Updating.
@@ -440,33 +1453,33 @@ APIs Removed:
440
1453
  ### v1.4.3 (2014-07-29)
441
1454
  * * *
442
1455
  APIs added:
443
- * Add a one time charged to the subscription which will be added to the invoice generated at the end of the current term. See https://apidocs.chargebee.com/docs/api/v1/subscriptions#add_charge_at_term_end.
444
- * Add a "non-recurring addon" charge to a subscription which will be added to the invoice generated at the end of the current term. See https://apidocs.chargebee.com/docs/api/v1/subscriptions#charge_addon_at_term_end.
445
- *Return an estimate of the amount that will be charged when the subscription renews. See https://apidocs.chargebee.com/docs/api/v1/estimates#subscription_renewal_estimate
1456
+ * Add a one time charged to the subscription which will be added to the invoice generated at the end of the current term. See https://apidocs.chargebee.com/docs/api/subscriptions#add_charge_at_term_end.
1457
+ * Add a "non-recurring addon" charge to a subscription which will be added to the invoice generated at the end of the current term. See https://apidocs.chargebee.com/docs/api/subscriptions#charge_addon_at_term_end.
1458
+ *Return an estimate of the amount that will be charged when the subscription renews. See https://apidocs.chargebee.com/docs/api/estimates#subscription_renewal_estimate
446
1459
 
447
1460
  APIs updated:
448
- * Now plans supports charge model to specify how the subscription plan charges should be calculated. See https://apidocs.chargebee.com/docs/api/v1/plans#plan_attributes
1461
+ * Now plans supports charge model to specify how the subscription plan charges should be calculated. See https://apidocs.chargebee.com/docs/api/plans#plan_attributes
449
1462
  * Include delayed charges while calculating the Estimate.
450
1463
 
451
1464
  ### v1.4.2 (2014-06-19)
452
1465
  * * *
453
1466
  APIs added:
454
- * Retrieve invoices for a customer. See https://apidocs.chargebee.com/docs/api/v1/invoices?lang=ruby#list_invoices_for_a_customer.
455
- * Retrieve transactions for a customer. See https://apidocs.chargebee.com/docs/api/v1/transactions?lang=ruby#list_transactions_for_a_customer.
1467
+ * Retrieve invoices for a customer. See https://apidocs.chargebee.com/docs/api/invoices?lang=ruby#list_invoices_for_a_customer.
1468
+ * Retrieve transactions for a customer. See https://apidocs.chargebee.com/docs/api/transactions?lang=ruby#list_transactions_for_a_customer.
456
1469
 
457
1470
  APIs updated:
458
- * Now, a customer(without subscription) can be charged(Create invoice for Charge) for one time charges. See https://apidocs.chargebee.com/docs/api/v1/invoices?lang=ruby#create_invoice_for_charge.
459
- * Now, a customer(without subscription) can be charged for one time addons(Create invoice for Addon). See https://apidocs.chargebee.com/docs/api/v1/invoices?lang=ruby#create_invoice_for_addon.
1471
+ * Now, a customer(without subscription) can be charged(Create invoice for Charge) for one time charges. See https://apidocs.chargebee.com/docs/api/invoices?lang=ruby#create_invoice_for_charge.
1472
+ * Now, a customer(without subscription) can be charged for one time addons(Create invoice for Addon). See https://apidocs.chargebee.com/docs/api/invoices?lang=ruby#create_invoice_for_addon.
460
1473
 
461
1474
  ### v1.4.1 (2014-05-28)
462
1475
  * * *
463
- New API to support Single Sign-on (SSO) to access the customer portal, if you already have your own authentication for your website. See https://apidocs.chargebee.com/docs/api/v1/portal_sessions?lang=ruby.
1476
+ New API to support Single Sign-on (SSO) to access the customer portal, if you already have your own authentication for your website. See https://apidocs.chargebee.com/docs/api/portal_sessions?lang=ruby.
464
1477
 
465
1478
  ### v1.4.0 (2014-05-23)
466
1479
  * * *
467
- * New API to create customer without subscription. See https://apidocs.chargebee.com/docs/api/v1/customers#create_a_customer
1480
+ * New API to create customer without subscription. See https://apidocs.chargebee.com/docs/api/customers#create_a_customer
468
1481
 
469
- * New API to fetch invoices for a customer. This helps you fetch the invoices created due to multiple subscriptions present for any customer. See https://apidocs.chargebee.com/docs/api/v1/invoices#list_invoices_for_a_customer
1482
+ * New API to fetch invoices for a customer. This helps you fetch the invoices created due to multiple subscriptions present for any customer. See https://apidocs.chargebee.com/docs/api/invoices#list_invoices_for_a_customer
470
1483
 
471
1484
  * Customer id reference is added to the invoice attributes.
472
1485
 
@@ -476,15 +1489,15 @@ Support for returning shipping address as part of create/update subscription API
476
1489
 
477
1490
  ### v1.3.8 (2014-03-26)
478
1491
  * * *
479
- * Now the [Transaction attributes](https://apidocs.chargebee.com/docs/api/v1/transactions#transaction_attributes "Transaction attributes") contains the details about the linked invoices.
1492
+ * Now the [Transaction attributes](https://apidocs.chargebee.com/docs/api/transactions#transaction_attributes "Transaction attributes") contains the details about the linked invoices.
480
1493
 
481
- * Now the [Invoice attributes](https://apidocs.chargebee.com/docs/api/v1/invoices#invoice_attributes "Invoice attributes") contains the details about the linked transactions.
1494
+ * Now the [Invoice attributes](https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes "Invoice attributes") contains the details about the linked transactions.
482
1495
 
483
- * Support for recording a payment received via offline mode. See our API documentation on [Record Payment for an Invoice](https://apidocs.chargebee.com/docs/api/v1/transactions#record_payment_for_an_invoice "Record Payment for an Invoice")
1496
+ * Support for recording a payment received via offline mode. See our API documentation on [Record Payment for an Invoice](https://apidocs.chargebee.com/docs/api/transactions#record_payment_for_an_invoice "Record Payment for an Invoice")
484
1497
 
485
1498
  ### v1.3.7 (2014-03-18)
486
1499
  * * *
487
- Support for deleting the plans & addons. See our API documentation on [Delete a plan](https://apidocs.chargebee.com/docs/api/v1/plans#delete_a_plan "Delete a plan") & [Delete an addon](https://apidocs.chargebee.com/docs/api/v1/addons#delete_an_addon "Delete an addon").
1500
+ Support for deleting the plans & addons. See our API documentation on [Delete a plan](https://apidocs.chargebee.com/docs/api/plans#delete_a_plan "Delete a plan") & [Delete an addon](https://apidocs.chargebee.com/docs/api/addons#delete_an_addon "Delete an addon").
488
1501
 
489
1502
  ### v1.3.6 (2014-03-10)
490
1503
  * * *