feat: websocket events update payment db
This commit is contained in:
@@ -260,11 +260,19 @@ data class WsPaymentMessage(
|
||||
|
||||
data class WsPayment(
|
||||
@SerializedName("payment_hash") val paymentHash: String,
|
||||
val amount: Long,
|
||||
val status: String,
|
||||
val memo: String?
|
||||
@SerializedName("checking_id") val checkingId: String,
|
||||
@SerializedName("amount") val amount: Long,
|
||||
@SerializedName("fee") val fee: Long,
|
||||
@SerializedName("memo") val memo: String?,
|
||||
@SerializedName("time") val time: String,
|
||||
@SerializedName("status") val status: String,
|
||||
@SerializedName("bolt11") val bolt11: String?,
|
||||
@SerializedName("pending") val pending: Boolean,
|
||||
@SerializedName("preimage") val preimage: String?,
|
||||
@SerializedName("extra") val extra: PaymentExtra?
|
||||
)
|
||||
|
||||
|
||||
// ── Fiat rate ────────────────────────────────────────────────────────────────
|
||||
data class FiatRateResponse(
|
||||
val rate: Double, // sat to fiat rate
|
||||
|
||||
Reference in New Issue
Block a user