mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-18 23:01:47 +02:00
Adds a payment failed enum
This commit is contained in:
@@ -69,6 +69,10 @@ class PayInvoiceErrorResponse(
|
||||
@JsonProperty(value = "INSUFFICIENT_BALANCE")
|
||||
INSUFFICIENT_BALANCE,
|
||||
|
||||
// The command is not known or is intentionally not implemented.
|
||||
@JsonProperty(value = "PAYMENT_FAILED")
|
||||
PAYMENT_FAILED,
|
||||
|
||||
// The wallet does not have enough funds to cover a fee reserve or the payment amount.
|
||||
@JsonProperty(value = "QUOTA_EXCEEDED")
|
||||
QUOTA_EXCEEDED,
|
||||
|
Reference in New Issue
Block a user