RechargeSharp 1.1.4
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package RechargeSharp --version 1.1.4
NuGet\Install-Package RechargeSharp -Version 1.1.4
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="RechargeSharp" Version="1.1.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RechargeSharp" Version="1.1.4" />
<PackageReference Include="RechargeSharp" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add RechargeSharp --version 1.1.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: RechargeSharp, 1.1.4"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package RechargeSharp@1.1.4
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=RechargeSharp&version=1.1.4
#tool nuget:?package=RechargeSharp&version=1.1.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
RechargeSharp, a C# library for RechargePayments
built to work with the api documented at https://developer.rechargepayments.com/
Please feel free to submit pull requests on github
Quickstart
Subscriptions
// initialize a SubscriptionService to start working with subscriptions.
var subscriptionService = new SubscriptionService("APIKEY");
// get all subscriptions with status ACTIVE and created after two months ago.
var subscriptions = await subscriptionService.GetAllSubscriptionsWithParamsAsync(status: "ACTIVE", createdAtMin: DateTime.Today.AddMonths(-2));
// iterate results and print subscription Id.
foreach (var subscription in subscriptions)
{
Console.WriteLine(subscription.Id);
}
Customers
// initialize a CustomerService to start working with customers.
var customerService = new CustomerService("APIKEY");
// get all customers created in the last two days.
var customers = await customerService.GetAllCustomersWithParamsAsync(createdAtMin: DateTime.Now.AddDays(-2));
// iterate results and print whether the customer has a valid payment method.
foreach (var customer in customers)
{
Console.WriteLine(customer.HasValidPaymentMethod);
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- Microsoft.Extensions.Http (>= 2.2.0)
- Newtonsoft.Json (>= 12.0.2)
- Polly (>= 7.1.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 12.2.6 | 379 | 7/6/2025 |
| 12.2.5 | 205 | 7/5/2025 |
| 12.2.4 | 982 | 10/8/2024 |
| 12.2.3 | 3,165 | 10/30/2023 |
| 12.2.2 | 3,198 | 11/8/2022 |
| 12.2.1 | 802 | 9/13/2022 |
| 12.2.0 | 1,046 | 9/13/2022 |
| 12.1.1 | 625 | 9/5/2022 |
| 12.1.1-alpha.2 | 405 | 7/27/2022 |
| 12.1.1-alpha.1 | 238 | 7/27/2022 |
| 12.1.0-alpha.3 | 247 | 7/27/2022 |
| 12.0.0-alpha.3 | 781 | 6/2/2022 |
| 12.0.0-alpha.2 | 243 | 6/2/2022 |
| 12.0.0-alpha.1 | 232 | 6/2/2022 |
| 11.2.0-alpha.2 | 247 | 5/24/2022 |
| 11.2.0-alpha.1 | 274 | 4/26/2022 |
| 11.1.0-beta.5 | 2,859 | 3/23/2022 |
| 11.1.0-beta.4 | 259 | 3/2/2022 |
| 11.1.0-beta.3 | 1,090 | 2/24/2022 |
| 11.1.0-beta.1 | 257 | 2/17/2022 |
| 11.0.1 | 892 | 2/9/2022 |
| 11.0.1-alpha.1 | 271 | 2/9/2022 |
| 11.0.0 | 638 | 2/7/2022 |
| 11.0.0-alpha.7 | 520 | 2/1/2022 |
| 11.0.0-alpha.6 | 279 | 1/10/2022 |
| 11.0.0-alpha.4 | 2,006 | 12/14/2021 |
| 11.0.0-alpha.3 | 293 | 12/12/2021 |
| 11.0.0-alpha.2 | 287 | 12/10/2021 |
| 10.0.0 | 711 | 12/8/2021 |
| 10.0.0-alpha.3 | 760 | 11/30/2021 |
| 10.0.0-alpha.2 | 548 | 11/23/2021 |
| 9.0.0 | 1,373 | 11/9/2021 |
| 9.0.0-alpha.2 | 655 | 10/8/2021 |
| 9.0.0-alpha.1 | 408 | 10/7/2021 |
| 8.1.0-alpha.3 | 512 | 10/1/2021 |
| 8.1.0-alpha.2 | 354 | 9/28/2021 |
| 8.1.0-alpha.1 | 284 | 9/27/2021 |
| 8.0.1 | 591 | 9/23/2021 |
| 7.0.0 | 682 | 9/8/2021 |
| 7.0.0-alpha.4 | 607 | 8/4/2021 |
| 7.0.0-alpha.3 | 326 | 8/3/2021 |
| 7.0.0-alpha.2 | 292 | 8/2/2021 |
| 7.0.0-alpha.1 | 314 | 8/2/2021 |
| 6.0.1 | 684 | 7/13/2021 |
| 6.0.0 | 615 | 7/12/2021 |
| 5.1.0 | 622 | 7/5/2021 |
| 5.0.0 | 931 | 6/9/2021 |
| 5.0.0-alpha.1 | 302 | 6/9/2021 |
| 4.6.0 | 875 | 5/20/2021 |
| 4.6.0-beta.2 | 321 | 5/13/2021 |
| 4.6.0-beta.1 | 318 | 5/13/2021 |
| 4.5.0 | 577 | 5/11/2021 |
| 4.5.0-beta.8 | 297 | 5/11/2021 |
| 4.5.0-beta.7 | 329 | 4/27/2021 |
| 4.5.0-beta.5 | 289 | 4/27/2021 |
| 4.5.0-beta.4 | 303 | 4/27/2021 |
| 4.5.0-beta.3 | 334 | 4/23/2021 |
| 4.5.0-beta.2 | 318 | 4/22/2021 |
| 4.5.0-beta.1 | 304 | 4/21/2021 |
| 4.4.6 | 742 | 4/12/2021 |
| 4.4.6-beta.1 | 309 | 4/12/2021 |
| 4.4.4 | 590 | 4/9/2021 |
| 4.4.4-beta.1 | 301 | 4/8/2021 |
| 4.4.3 | 658 | 4/5/2021 |
| 4.4.2 | 693 | 3/26/2021 |
| 4.4.1 | 791 | 3/14/2021 |
| 4.4.0 | 984 | 2/9/2021 |
| 4.3.2 | 580 | 1/27/2021 |
| 4.3.1 | 538 | 1/27/2021 |
| 4.3.0 | 622 | 1/20/2021 |
| 4.2.0 | 576 | 1/13/2021 |
| 4.1.4 | 600 | 12/29/2020 |
| 4.1.3 | 580 | 12/29/2020 |
| 4.1.2 | 664 | 12/21/2020 |
| 4.1.1 | 1,224 | 5/29/2020 |
| 4.1.0 | 704 | 5/29/2020 |
| 4.1.0-beta.1 | 438 | 5/27/2020 |
| 4.0.3-beta.2 | 478 | 5/11/2020 |
| 4.0.3-beta.1 | 437 | 5/11/2020 |
| 4.0.2 | 779 | 4/9/2020 |
| 4.0.1 | 795 | 3/25/2020 |
| 4.0.0 | 686 | 3/25/2020 |
| 4.0.0-beta.2 | 418 | 3/24/2020 |
| 4.0.0-beta.1 | 427 | 3/24/2020 |
| 3.2.8 | 717 | 3/23/2020 |
| 3.2.7 | 719 | 3/19/2020 |
| 3.2.6 | 739 | 3/9/2020 |
| 3.2.5 | 734 | 3/5/2020 |
| 3.2.4 | 726 | 3/4/2020 |
| 3.2.3 | 761 | 3/4/2020 |
| 3.2.2 | 705 | 3/4/2020 |
| 3.2.1 | 717 | 3/4/2020 |
| 3.2.0 | 772 | 3/4/2020 |
| 3.1.0 | 726 | 3/4/2020 |
| 3.0.10 | 729 | 2/27/2020 |
| 3.0.9 | 676 | 2/24/2020 |
| 3.0.7 | 692 | 2/24/2020 |
| 3.0.6 | 781 | 2/3/2020 |
| 3.0.5 | 729 | 2/3/2020 |
| 3.0.3 | 791 | 1/31/2020 |
| 3.0.1 | 741 | 1/13/2020 |
| 3.0.0 | 833 | 12/28/2019 |
| 2.2.9 | 793 | 12/13/2019 |
| 2.2.8 | 729 | 12/13/2019 |
| 2.2.7 | 843 | 11/21/2019 |
| 2.2.6 | 748 | 11/12/2019 |
| 2.2.5 | 730 | 11/8/2019 |
| 2.2.4 | 712 | 11/6/2019 |
| 2.2.3 | 719 | 11/6/2019 |
| 2.2.2 | 723 | 11/6/2019 |
| 2.2.1 | 728 | 11/6/2019 |
| 2.2.0 | 731 | 11/6/2019 |
| 2.1.1 | 704 | 11/1/2019 |
| 2.1.0 | 715 | 10/31/2019 |
| 2.0.1 | 759 | 10/29/2019 |
| 2.0.0 | 742 | 10/29/2019 |
| 1.5.0 | 725 | 10/25/2019 |
| 1.4.0 | 704 | 10/23/2019 |
| 1.3.0 | 736 | 10/16/2019 |
| 1.2.0 | 740 | 10/16/2019 |
| 1.1.4 | 715 | 10/9/2019 |
| 1.1.0 | 742 | 10/9/2019 |
| 1.0.0 | 737 | 9/18/2019 |
| 0.2.58 | 729 | 9/17/2019 |
| 0.2.57 | 775 | 9/16/2019 |
| 0.2.56 | 763 | 9/16/2019 |
| 0.2.55 | 989 | 9/16/2019 |
| 0.2.54 | 757 | 9/16/2019 |
| 0.2.53 | 768 | 9/16/2019 |
| 0.2.52 | 766 | 9/16/2019 |
| 0.2.51 | 730 | 9/13/2019 |
| 0.2.50 | 777 | 9/12/2019 |
| 0.2.49 | 760 | 9/12/2019 |
| 0.2.48 | 780 | 9/10/2019 |
| 0.2.47 | 756 | 9/10/2019 |
| 0.2.46 | 805 | 9/9/2019 |
| 0.2.43 | 768 | 9/7/2019 |
| 0.2.42 | 780 | 9/7/2019 |
| 0.2.37 | 773 | 9/7/2019 |
| 0.2.36 | 755 | 9/7/2019 |
| 0.2.35 | 755 | 9/7/2019 |
| 0.2.34 | 783 | 9/6/2019 |
| 0.2.33 | 740 | 9/5/2019 |
| 0.2.32 | 721 | 9/5/2019 |
| 0.2.31 | 734 | 9/5/2019 |
| 0.2.30 | 754 | 9/4/2019 |
| 0.2.25 | 762 | 9/4/2019 |
| 0.2.24 | 767 | 9/4/2019 |
| 0.2.23 | 727 | 9/3/2019 |
| 0.2.14 | 729 | 9/3/2019 |
| 0.2.13 | 734 | 9/3/2019 |
| 0.2.9 | 745 | 9/3/2019 |
| 0.2.8 | 723 | 9/3/2019 |
| 0.2.7 | 717 | 9/3/2019 |
| 0.2.6 | 747 | 9/3/2019 |
| 0.1.9 | 753 | 8/30/2019 |
| 0.1.8 | 779 | 8/15/2019 |
| 0.1.4 | 764 | 8/15/2019 |
| 0.1.3 | 724 | 8/15/2019 |
| 0.1.2 | 736 | 8/15/2019 |
| 0.1.1 | 710 | 8/15/2019 |
| 0.1.0 | 761 | 7/30/2019 |
| 0.0.32 | 760 | 7/26/2019 |
| 0.0.31 | 770 | 7/26/2019 |
| 0.0.24 | 756 | 7/25/2019 |
| 0.0.23 | 778 | 7/25/2019 |
| 0.0.22 | 730 | 7/25/2019 |
| 0.0.21 | 763 | 7/25/2019 |
| 0.0.20 | 744 | 7/25/2019 |
| 0.0.19 | 737 | 7/25/2019 |
| 0.0.18 | 777 | 7/25/2019 |
| 0.0.17 | 756 | 7/25/2019 |
| 0.0.16 | 788 | 7/23/2019 |
| 0.0.15 | 767 | 7/22/2019 |
| 0.0.14 | 823 | 7/22/2019 |
| 0.0.13 | 808 | 7/22/2019 |
| 0.0.12 | 751 | 7/22/2019 |
| 0.0.11 | 822 | 7/11/2019 |
| 0.0.10 | 810 | 7/10/2019 |
| 0.0.9 | 808 | 7/10/2019 |
| 0.0.8 | 795 | 7/9/2019 |
| 0.0.7 | 758 | 7/9/2019 |
| 0.0.6 | 767 | 7/9/2019 |
| 0.0.5 | 777 | 7/8/2019 |
| 0.0.4 | 780 | 7/8/2019 |
| 0.0.3 | 775 | 7/7/2019 |
| 0.0.2 | 758 | 7/4/2019 |
| 0.0.1 | 777 | 6/25/2019 |
Fixed parameters for list all metafields