27 lines
422 B
Swift
27 lines
422 B
Swift
//
|
|
// LNUrl.swift
|
|
// damus
|
|
//
|
|
// Created by William Casarin on 2023-01-16.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
struct LNUrlPayRequest: Decodable {
|
|
let allowsNostr: Bool?
|
|
let commentAllowed: Int?
|
|
let nostrPubkey: String?
|
|
|
|
let metadata: String?
|
|
let minSendable: Int64?
|
|
let maxSendable: Int64?
|
|
let status: String?
|
|
let callback: String?
|
|
}
|
|
|
|
|
|
|
|
struct LNUrlPayResponse: Decodable {
|
|
let pr: String
|
|
}
|