btcpayserver/BTCPayServer/Services/Shopify/ApiModels/TransactionsCreateReq.cs
Kukks 42df6d58b1 Simplify Shopify integration
Added dedicated endpoint that generates an invoice or returns an existing one as needed for a shopify order
Added rate limiter to shopify endpoint to prevent abuse
Reduce shopify js to a small file
Use events from btcpay modal to reduce constant pinging to btcpay server
Register invoice payment failures on the shopify backend.
2020-09-24 16:25:35 +02:00

19 lines
596 B
C#

namespace BTCPayServer.Services.Shopify.ApiModels
{
public class TransactionsCreateReq
{
public DataHolder transaction { get; set; }
public class DataHolder
{
public string currency { get; set; }
public string amount { get; set; }
public string kind { get; set; }
public long? parent_id { get; set; }
public string gateway { get; set; }
public string source { get; set; }
public string status { get; set; }
public string authorization { get; set; }
}
}
}