chargebee 2.6.2 → 2.6.3

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