Skip to content

chargebee/chargebee-dotnet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chargebee .Net Client Library - API V1

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

Chargebee now supports two API versions - V1 and V2. This library is for our older API version V1. The library for V2 can be found in the master branch.

You'd want to upgrade to V2 to benefit from the new functionality. Click here for the API V2 Upgradation Guide.

Installation

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

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

$ git checkout [latest 1.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.

About

.NET library for the Chargebee API.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 22

Languages