Using Postman with the ZBD API
Copy the URL https://api.zebedee.io/v0/ln-address/send-payment
and paste it into Postman.
Now change the Request Type to POST
, which is right next to the URL.
Select the Authorization
tab underneath the URL.
Now change the type to API Key
. Once that’s done enter apikey
for the key
input field.
Copy the apikey
from the Developer Dashboard and paste it into the value
input field.
Head on over to Headers
. For the key enter Content-Type
and the value application/json
.
Select the Body
and then select raw
under it. With the blue dropdown, change TEXT
to JSON
.
Copy the body payload from the API Reference and add brackets around it.
Or the copy code and edit the code below.
Note the amount is in msats. 10,000 msats = 10 sats = .00000010 BTC.
Edit the Lightning Address to your own. Get one using the ZEBEDEE App, if you need one.
{
"lnAddress": "santos@zbd.gg",
"amount": "10000",
"comment": "Sending to a Lightning Address"
}
Now click the blue Send
button! Congratulations! You just made a Lightning Address payment, which was instant, final, and near-zero fee.