Skip to content

Commit

Permalink
Merge pull request #13 from uma-universal-money-address/feat/payrespo…
Browse files Browse the repository at this point in the history
…nsedetails

Add some more details to the payreq response paymentinfo
  • Loading branch information
jklein24 authored Dec 21, 2023
2 parents b2f4ffc + 7212fd6 commit 7a7243a
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 7a7243a

Please sign in to comment.