From 7212fd6ac8d7f30255469e36e5ece220692d89f7 Mon Sep 17 00:00:00 2001 From: Jeremy Klein Date: Thu, 21 Dec 2023 10:01:18 -0800 Subject: [PATCH] Add some more details to the payreq response paymentinfo --- umad-06-payreq-response.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/umad-06-payreq-response.md b/umad-06-payreq-response.md index 0585737..fd789ca 100644 --- a/umad-06-payreq-response.md +++ b/umad-06-payreq-response.md @@ -23,7 +23,9 @@ The full structure of the LNURLP response is: // The currency code of the receiving currency (eg. "USD"). This should match the requested currency in the payreq // request. "currencyCode": string, - // Millisats per "unit" of the receiving currency (eg. 1 cent in USD). + // Millisats per "unit" of the receiving currency (eg. 1 cent in USD). A double-precision floating point number. + // In this context, this is just for convenience. The conversion rate is also baked into the invoice amount itself. + // `invoice amount = amount * multiplier + exchangeFeesMillisatoshi` "multiplier": number, // The fees charged (in millisats) by the receiving VASP to convert to the target currency. // This is separate from the multiplier rate.