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

Access token

Authorize a public key to access Bitpay compatible Invoice API (More information)

Create a new token @foreach (var token in Model.Tokens) { }
Label Facade Actions
@token.Label @token.Facade See information - Revoke

Legacy API Keys

Alternatively, you can use the invoice API by including the following HTTP Header in your requests:
Authorization: Basic @Model.EncodedApiKey