Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
.NET API Client for integrating with ChargeBee
C#

Create an Invoice & Activate a portal session APIs added and Billing …

…& Shipping addresses are returned as part of Invoice resource.
latest commit a0ea3dcd45
@vaibhav1510 vaibhav1510 authored

README.md

ChargeBee .Net Client Library

The .Net library for integrating with ChargeBee Recurring Billing and Subscription Management solution.

Installation

Install the latest version of the 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

If you would prefer to build it from source:

$ git clone git@github.com:chargebee/chargebee-dotnet.git

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.

Something went wrong with that request. Please try again.