.NET API Client for integrating with ChargeBee
C#
Latest commit 7f93b35 Feb 1, 2018
SangeethaBaskaran * * *
The attribute 'round_off_amount' have been added in Invoice an Credit note resources.
See : https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes

The attribute 'settled_at' has been added to transaction resource.
See : https://apidocs.chargebee.com/docs/api/transactions#transaction_attributes

'Collect now' API in Hosted pages resource has been undeprecated.
See : https://apidocs.chargebee.com/docs/api/hosted_pages#collect_now
Permalink
Failed to load latest commit information.
.nuget Updated .nuget Aug 19, 2013
ChargeBee.Test * * * Apr 11, 2016
ChargeBee * * * Feb 1, 2018
dist * * * Feb 1, 2018
lib * * * Feb 1, 2018
packages ** APIs added**: Mar 31, 2015
.gitignore bringing packages Mar 25, 2013
CHANGELOG.md * * * Feb 1, 2018
ChargeBee.sln ** APIs added**: Mar 31, 2015
LICENSE * * * Feb 1, 2018
README.md * * * May 2, 2016

README.md

Chargebee .Net Client Library - API V2

NuGet

This is the .NET Library for integrating with Chargebee. Sign up for a Chargebee account here.

Chargebee now supports two API versions - V1 and V2, of which V2 is the latest release and all future developments will happen in V2. This library is for API version V2. If you’re looking for V1, head to chargebee-v1 branch.

Installation

Install the latest version of the 2.x.x library with the following commands:

Use NuGet: NuGet is a package manager for Visual Studio.

To install the ChargeBee .Net Client Library, run the following command in the Package Manager Console:

$ Install-Package ChargeBee -Vesrion 2.x.x

If you would prefer to build it from source, checkout latest version of 2.x.x release tag:

$ git checkout [latest 2.x.x release tag]

Documentation

See our .Net API Reference.

Usage

To create a new subscription:

using ChargeBee.Api;
using ChargeBee.Models;
ApiConfig.Configure("site","api_key");
EntityResult result = Subscription.Create()
              .PlanId("basic")
			  .Request();
Subscription subscription = result.Subscription;
Customer customer = result.Customer;

License

See the LICENSE file.