The Pepperi SDK for .Net provides a .Net native interface to the Pepperi RESTful API.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vs/Pepperi.SDK/v15
Contracts
Endpoints
Exceptions
Helpers
Model
Properties
bin/Debug
obj/Debug
ApiClient.cs
BasicAuthentication.cs
Pepperi.SDK.csproj
Pepperi.SDK.sln
PrivateAuthentication.cs
PublicAuthentication.cs
README.md

README.md

Pepperi-API-.Net-SDK

Pepperi-API-.Net-SDK

  • Installation
  • Samples

Installation

Download the source code from github and compile it.

Samples

Update transaction status by InteranlID:

var IAuthentication = new PrivateAuthentication("<your_general_app_consumer_key>", "<your_specific_company_api_token>");

ApiClient ApiClient = new ApiClient("https://api.pepperi.com/v1.0/", IAuthentication,null); // you can pass a logger - in this case it is null

Transaction TransactionForUpdate = new Transaction();

TransactionForUpdate.InternalID = 32456;

TransactionForUpdate.Status = 2; //change status to "Submitted" status (2)

Transaction UpsertResponse_OnUpdate = ApiClient.Transactions.Upsert(TransactionForUpdate);