Skip to content

Commit

Permalink
Add some more details to the payreq response paymentinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
jklein24 committed Dec 21, 2023
1 parent b2f4ffc commit 7212fd6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion umad-06-payreq-response.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7212fd6

Please sign in to comment.