@model TokensViewModel @{ Layout = "../Shared/_NavLayout.cshtml"; ViewData.SetActivePageAndTitle(StoreNavPages.Tokens, "Access Tokens", Context.GetStoreData().StoreName); } @if (Model.StoreNotConfigured) { }

@ViewData["PageTitle"]

Create a new token

Authorize a public key to access Bitpay compatible Invoice API.

@if (Model.Tokens.Any()) { @foreach (var token in Model.Tokens) { }
Label Actions
@token.Label See information - Revoke
} else {

There are no access tokens yet.

}

Legacy API Keys

Alternatively, you can use the invoice API by including the following HTTP Header in your requests:

Authorization: Basic @Model.EncodedApiKey

@if (string.IsNullOrEmpty(Model.ApiKey)) { } else { }