mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-19 05:33:31 +01:00
parent
7d0dc49435
commit
4f235e1d62
@ -63,6 +63,7 @@ namespace BTCPayServer.Client.Models
|
||||
public DateTimeOffset CreatedTime { get; set; }
|
||||
[JsonProperty(ItemConverterType = typeof(StringEnumConverter))]
|
||||
public InvoiceStatus[] AvailableStatusesForManualMarking { get; set; }
|
||||
public bool Archived { get; set; }
|
||||
}
|
||||
public enum InvoiceStatus
|
||||
{
|
||||
|
@ -412,6 +412,7 @@ namespace BTCPayServer.Controllers.GreenField
|
||||
Status = entity.Status.ToModernStatus(),
|
||||
AdditionalStatus = entity.ExceptionStatus,
|
||||
Currency = entity.Currency,
|
||||
Archived = entity.Archived,
|
||||
Metadata = entity.Metadata.ToJObject(),
|
||||
AvailableStatusesForManualMarking = statuses.ToArray(),
|
||||
Checkout = new CreateInvoiceRequest.CheckoutOptions()
|
||||
|
@ -856,6 +856,10 @@
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/InvoiceStatus"
|
||||
}
|
||||
},
|
||||
"archived": {
|
||||
"type": "boolean",
|
||||
"description": "true if the invoice is archived"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user