feat: withdrawal

This commit is contained in:
2024-03-22 10:07:30 +00:00
parent 5d2a4c4360
commit 805a92537c
4 changed files with 128 additions and 7 deletions

View File

@ -11,6 +11,9 @@ public class Payment
public bool IsPaid { get; set; }
/// <summary>
/// Payment amount in sats!!
/// </summary>
public ulong Amount { get; init; }
public DateTime Created { get; init; } = DateTime.UtcNow;
@ -24,5 +27,6 @@ public enum PaymentType
{
Topup = 0,
Zap = 1,
Credit = 2
Credit = 2,
Withdrawal = 3,
}