{"push_id":1060623063,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"c4f254702a898554bd80a90429c51fe680e33dbf","before":"28055765bdb48b0cbfcace7fff668b80507a0b9d","commits":[{"sha":"c4f254702a898554bd80a90429c51fe680e33dbf","author":{"email":"30e166068a7462105eb50e82795a0650102a7200@chargebee.com","name":"sangeetha"},"message":"* * *\n\nChargebee [API V2](https://apidocs.chargebee.com/docs/api#versions) is now live! All our future developments will happen in V2.\n\nV2 has been released to accommodate certain backwards-incompatible changes. Refer our [API V2 Upgradation guide](https://apidocs.chargebee.com/docs/api#api-v2-upgradation-guide) for the complete listing of the attributes and operations that have been removed/renamed in API V2.\n\n* *api_version* attribute is added to [Event](https://apidocs.chargebee.com/docs/api/events) resource. More details [here](#v1176-2016-04-06).\n* Credit Notes resource is introduced. More details here: https://apidocs.chargebee.com/docs/api/credit_notes\n* 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).\n* 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*.\n* Following attributes are added to [invoice](https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes) resource\n  * *write_off_amount*\n  * *applied_credits[]* - the Refundable Credits applied to this invoice.\n  * *adjustment_credit_notes[]* - The Adjustment Credit Notes created for this invoice.\n  * *issued_credit_notes[]* - The Refundable Credit Notes created against this invoice.\n* For 'Refund' type [transaction](https://apidocs.chargebee.com/docs/api/transactions#transaction_attributes), *linked_credit_notes[]* will be returned.\n* Following [Event types](https://apidocs.chargebee.com/docs/api/events#event_types) are added\n  * *credit_note_created*\n  * *credit_note_updated*\n  * *credit_note_deleted*\n* Following attributes are added to [line_items[]](https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes) sub-resource:\n  * *discount_amount* - the total discount amount (both item-level and document-level discounts) of this line.\n  * *item_level_discount_amount* - only the item-level-discount amount component.\n* 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*.\n* 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)","distinct":true,"url":"https://api.github.com/repos/chargebee/chargebee-php/commits/c4f254702a898554bd80a90429c51fe680e33dbf"}]}