Skip to content

bweber/basistheory-sample-app-dotnet

 
 

Repository files navigation

Basis Theory .NET Sample App

Verify

The Basis Theory .NET Sample App

Documentation

The sample app performs the full lifecycle of a token. Example code can be found in the token API docs

Dependencies

Verify .NET is installed by running: dotnet --list-sdks and verify an entry with version 5.* is displayed

Setup

  1. Login to portal.basistheory.com
  2. Create a new server_to_server application with the following token permissions:
    1. token:general:read:high
    2. token:general:create
  3. Copy and save the API Key for the newly created application

Run the Sample App

make token

The application will prompt you for your API Key and if you want to tokenize from console input or a file.

Packages

No packages published

Languages

  • C# 94.3%
  • Shell 5.1%
  • Makefile 0.6%