Skip to main content
POST
/
api
/
v1
/
lightning
/
pay
Send a Lightning payment
curl --request POST \
  --url https://api.example.com/api/v1/lightning/pay \
  --header 'Content-Type: application/json' \
  --data '
{
  "destination": "<string>",
  "amount_sat": 1,
  "comment": "<string>"
}
'
{
  "message": "<string>"
}

Body

application/json
destination
string
required

The invoice, offer, or lightning address to pay

amount_sat
integer<int64> | null

The amount to send (in satoshis). Optional for bolt11 invoices with amount

Required range: x >= 0
comment
string | null

An optional comment, only supported when paying to lightning addresses

Response

Returns success message, optionally with preimage if payment was immediately settled

message
string
required

Success message