Create LNURL/LN address payment quote
Endpoint accepts idempotency-key
header to prevent the same quote from being created twice. In case of a duplicate request, the error
code DUPLICATE_PAYMENT_QUOTE
containing the id of the original quote (paymentQuoteId
) will be returned.
The key should be a random v4 UUID to avoid false collisions.
Required scopes:
- partner.payment-quote.lightning.create
Header Parameters |
---|
idempotency-key uuid |
Request Body — REQUIRED | ||
---|---|---|
lnAddressOrUrl string — REQUIREDLN Address or LNURL to pay to. | ||
sourceCurrency string — REQUIREDPossible values: [ Currency to spend. If BTC is specified then | ||
amount object — REQUIREDAmount to send.
| ||
description stringPossible values: 1 ≤ length Payment description. Can be set only if the LNURL service allows comment. Max length of the description is defined by the commentAllowed property of the GET LNURL details endpoint response. |
Responses | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200 OK
|