Skip to content

veleek/plaid-net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plaid.NET

A .NET library for interacting with Plaid.

Usage

The current library includes only a simple client wrapper which defines all of the various Plaid contract classes and an HttpClient interface for calling most of the currently exposed APIs. This means that nearly all of the functionality is available but for things such as MFA, the user will need to manually process the response and repeatedly call the auth API.

PlaidClient client = new PlaidClient("<client id>", "<client secret>");

// Get all the available institutions.
List<Institution> institutions = await client.GetInstitutionsAsync();

// Adding a user 
Institution institution = institutions.First();
PlaidResponse authResponse = await client.AddAuthAsync("<user name>", "<password>", institution.Type);

// Pull out the access token and get all the transactions
string accessToken = authResponse.AccessToken;
PlaidResponse getTransactionsResponse = await client.GetTransactionsAsync(accessToken);

About

A .NET library for the Plaid API (https://www.plaid.com/docs)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages