mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-28 16:58:00 +01:00
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.
19 lines
596 B
C#
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; }
|
|
}
|
|
}
|
|
}
|