Invoices
Generate a new invoice
Changed onReturns the generated invoice for the selected wallet.
post/v1/invoices
Request
- The document declares no server URL.
- Auth: HTTP bearer
Request body
Response
Invoice Created
Example response
{
"ln_invoice": {
"bolt11": "lnbcrt1m1png24kasp5...",
"expiry": 3600,
"min_final_cltv_expiry_delta": 10,
"payee_pubkey": "02086a3f5b67ac4c43...",
"payment_hash": "b587c7f76339e3fb87ad2b...",
"payment_secret": "019a32e03bb375a42bc..."
}
}Changes
- breaking
removed the required property
from the response with the status
- breaking
- breaking
added to the
response propertyoneOflist for the response status - info
added the optional property
to the response with the status - info
removed from the
response propertyoneOflist for the response status
- breaking