Skip to main content
PUT
cURL

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
default:l11_ag7a8f7agegfa
required

ID of an existing lightning invoice

Body

application/json
metadata
string<json>

Set of key-value pairs to attach to the lightning_invoice object

Example:

"{\"key1\": \"value1\", \"key2\": \"value2\"}"

Response

200 - application/json
status
string

The status of the request - success or failure

message
string

Additional information about the status

data
string

The updated lightning_invoice_bolt11 object