Braintree.Net 3.35.1

dotnet add package Braintree.Net --version 3.35.1
                    
NuGet\Install-Package Braintree.Net -Version 3.35.1
                    
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="Braintree.Net" Version="3.35.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Braintree.Net" Version="3.35.1" />
                    
Directory.Packages.props
<PackageReference Include="Braintree.Net" />
                    
Project file
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 Braintree.Net --version 3.35.1
                    
#r "nuget: Braintree.Net, 3.35.1"
                    
#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 Braintree.Net@3.35.1
                    
#: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=Braintree.Net&version=3.35.1
                    
Install as a Cake Addin
#tool nuget:?package=Braintree.Net&version=3.35.1
                    
Install as a Cake Tool

Braintree .NET / C# Client Library

NuGet
License: MIT

The Braintree .NET client library (C# / .NET) provides a convenient, strongly typed API to interact with the Braintree Payment Gateway. You can perform operations such as creating transactions, managing customers, handling subscriptions, processing webhooks, and more.

This library targets .NET Standard 2.0 (and .NET Framework 4.5.2+) and is distributed under the MIT license.
It is maintained in the braintree_dotnet GitHub repo.

Quick Start

using System;
using Braintree;

class Program
{
    static void Main(string[] args)
    {
        var gateway = new BraintreeGateway
        {
            Environment = Braintree.Environment.SANDBOX,
            MerchantId = "your_merchant_id",
            PublicKey = "your_public_key",
            PrivateKey = "your_private_key"
        };

        var request = new TransactionRequest
        {
            Amount = 100.00M,
            PaymentMethodNonce = "nonce-from-client",
            Options = new TransactionOptionsRequest
            {
                SubmitForSettlement = true
            }
        };

        var result = gateway.Transaction.Sale(request);
        if (result.IsSuccess())
        {
            Console.WriteLine("Transaction succeeded: " + result.Target.Id);
        }
        else
        {
            Console.WriteLine("Error: " + result.Message);
        }
    }
}

Installation

Via NuGet

Install-Package Braintree

or

dotnet add package Braintree

License

This library is licensed under the MIT License. See the LICENSE file for details.

Product 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 net452 is compatible.  net46 was computed.  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.

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
3.35.1 327 10/10/2025
3.35.0 282 10/9/2025
0.0.120 89,525 10/9/2025
0.0.119 89,523 10/9/2025
0.0.118 89,527 10/9/2025
0.0.117 89,528 10/9/2025
0.0.116 89,512 10/9/2025
0.0.115 89,521 10/9/2025
0.0.114 89,515 10/9/2025
0.0.113 89,519 10/9/2025
0.0.112 89,516 10/9/2025
0.0.111 89,528 10/9/2025
0.0.110 89,522 10/9/2025
0.0.109 89,508 10/9/2025
0.0.108 89,516 10/9/2025
0.0.107 89,513 10/9/2025
0.0.106 89,515 10/9/2025
0.0.105 89,515 10/9/2025
0.0.104 89,521 10/9/2025
0.0.103 89,514 10/9/2025
0.0.102 89,526 10/9/2025
0.0.101 89,519 10/9/2025
0.0.100 89,609 10/9/2025
0.0.99 89,514 10/9/2025
0.0.98 89,529 10/9/2025
0.0.97 89,522 10/9/2025
0.0.96 89,511 10/9/2025
0.0.95 89,515 10/9/2025
0.0.94 89,513 10/9/2025
0.0.93 89,514 10/9/2025
0.0.92 89,521 10/9/2025
0.0.91 89,520 10/9/2025
0.0.90 89,521 10/9/2025
0.0.89 89,516 10/9/2025
0.0.88 89,533 10/9/2025
0.0.87 89,518 10/9/2025
0.0.86 89,516 10/9/2025
0.0.85 89,511 10/9/2025
0.0.84 89,523 10/9/2025
0.0.83 89,518 10/9/2025
0.0.82 89,514 10/9/2025
0.0.81 89,521 10/9/2025
0.0.80 89,528 10/9/2025
0.0.79 89,526 10/9/2025
0.0.78 89,527 10/9/2025
0.0.77 89,526 10/9/2025
0.0.76 89,521 10/9/2025
0.0.75 89,514 10/9/2025
0.0.74 89,512 10/9/2025
0.0.73 89,524 10/9/2025
0.0.72 89,523 10/9/2025
0.0.71 89,524 10/9/2025
0.0.70 89,523 10/9/2025
0.0.69 89,519 10/9/2025
0.0.68 89,526 10/9/2025
0.0.67 89,520 10/9/2025
0.0.66 89,538 10/9/2025
0.0.65 89,520 10/9/2025
0.0.64 89,520 10/9/2025
0.0.63 89,518 10/9/2025
0.0.62 89,523 10/9/2025
0.0.61 89,521 10/9/2025
0.0.60 89,518 10/9/2025
0.0.59 89,529 10/9/2025
0.0.58 89,515 10/9/2025
0.0.57 89,517 10/9/2025
0.0.56 89,515 10/9/2025
0.0.55 89,517 10/9/2025
0.0.54 89,530 10/9/2025
0.0.53 89,532 10/9/2025
0.0.52 89,519 10/9/2025
0.0.51 89,523 10/9/2025
0.0.50 89,523 10/9/2025
0.0.49 89,519 10/9/2025
0.0.48 89,529 10/9/2025
0.0.47 89,537 10/9/2025
0.0.46 89,526 10/9/2025
0.0.45 89,517 10/9/2025
0.0.44 89,521 10/9/2025
0.0.43 89,519 10/9/2025
0.0.42 89,521 10/9/2025
0.0.41 89,534 10/9/2025
0.0.40 89,515 10/9/2025
0.0.39 89,524 10/9/2025
0.0.38 89,517 10/9/2025
0.0.37 89,520 10/9/2025
0.0.36 89,524 10/9/2025
0.0.35 89,525 10/9/2025
0.0.34 89,524 10/9/2025
0.0.33 89,523 10/9/2025
0.0.32 89,521 10/9/2025
0.0.31 89,527 10/9/2025
0.0.30 89,534 10/9/2025
0.0.29 89,525 10/9/2025
0.0.28 89,528 10/9/2025
0.0.27 89,525 10/9/2025
0.0.26 89,531 10/9/2025
0.0.25 89,529 10/9/2025
0.0.24 89,538 10/9/2025
0.0.23 89,527 10/9/2025
0.0.22 89,524 10/9/2025
0.0.21 89,530 10/9/2025
0.0.20 89,528 10/9/2025
0.0.19 89,591 10/9/2025
0.0.18 89,531 10/9/2025
0.0.17 89,531 10/9/2025
0.0.16 89,529 10/9/2025
0.0.15 89,531 10/9/2025
0.0.14 89,522 10/9/2025
0.0.13 89,535 10/9/2025
0.0.12 89,535 10/9/2025
0.0.11 89,527 10/9/2025
0.0.10 89,535 10/9/2025
0.0.9 89,533 10/9/2025
0.0.8 89,528 10/9/2025
0.0.7 89,522 10/9/2025
0.0.6 89,533 10/9/2025
0.0.5 89,539 10/9/2025
0.0.4 89,545 10/9/2025
0.0.3 89,527 10/9/2025
0.0.2 89,534 10/9/2025
0.0.1 89,529 10/9/2025