Payments
Make payments through bolt11 or keysend.
Last updated
Make payments through bolt11 or keysend.
Last updated
Your bitcoin & nostr companion / from 🐝 with 🧡
Scope needed: payments:send
Pay a lightning invoice (bolt11)
POST
https://api.getalby.com/payments/bolt11
Pay a bolt11 invoice.
Name | Type | Description |
---|---|---|
Scope needed: payments:send
Send a "spontaneous" payment (keysend). Used for push realtime/streaming push payments
POST
https://api.getalby.com/payments/keysend
Make a spontaneous keysend payment, with optional custom records. See for example: https://github.com/lightning/blips/blob/master/blip-0010.md
Scope needed: `payments:send` Send multiple spontaneous keysend payments. Useful for doing value4value splits. Request and response are an array of the single keysend payment request and response.
POST
https://api.getalby.com/payments/keysend/multi
Each of the payments can fail or succeed seperately.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
invoice*
string
invoice to be paid
amount*
int64
Amount in satoshi. Must be a whole number greater than 0. (millisats are not supported)
destination*
string
Destination hex-string pubkey (a string starting with 02 or 03)
memo
string
Internal memo
custom_records
map[string]string
map with custom records. See https://www.webln.guide/building-lightning-apps/webln-reference/webln.keysend
keysends*
Array
Array of keysend objects as described in the body parameters of the section above.