@using BTCPayServer.Services.PaymentRequests @using Microsoft.AspNetCore.Html @using Microsoft.AspNetCore.Mvc.TagHelpers @using BTCPayServer.Components @using BTCPayServer.Client @model BTCPayServer.Models.PaymentRequestViewModels.ListPaymentRequestsViewModel @{ Layout = "_Layout"; ViewData["Title"] = ViewLocalizer["Payment Requests"]; var storeId = Context.GetStoreData().Id; var statusFilterCount = CountArrayFilter("status") + (HasBooleanFilter("includearchived") ? 1 : 0); } @functions { private int CountArrayFilter(string type) => Model.Search.ContainsFilter(type) ? Model.Search.GetFilterArray(type).Length : 0; private bool HasArrayFilter(string type, string key = null) => Model.Search.ContainsFilter(type) && (key is null || Model.Search.GetFilterArray(type).Contains(key)); private bool HasBooleanFilter(string key) => Model.Search.ContainsFilter(key) && Model.Search.GetFilterBool(key) is true; }

Payment requests are persistent shareable pages that enable the receiver to pay at their convenience. Funds are paid to a payment request at the current exchange rate.

Requests may be paid in partial. They will remain valid until time expires or when paid what is due.

Learn More
@if (Model.Items.Any()) {
@foreach (var item in Model.Items) { }
Title
Expiry
Status Amount
@item.Title @(item.ExpiryDate?.ToBrowserDate() ?? new HtmlString("No Expiry")) @item.Status @item.AmountFormatted
} else {

There are no payment requests matching your criteria.

}