Lightning Address API
To send Bitcoin to a given Lightning Address, all you need to do is call the Send Lightning Address Payment API with a POST call providing the following properties:
Example: If you wish to reward 20 satoshis to a user for their completion of a challenge, and you have the user’s Lightning Address, you can use the information below to send it in 1 API call.
Sending Transaction
API Response
Response payloads will usually look similar to this:
Wow that’s easy. Welcome to instantaneous payments!
Fees are added post-send given that the routing fees for the Lightning Network are variable.(e.g if you send a 10,000 satoshi transaction to a Lightning Address and the fee ends up being 10 satoshis, the total paid by the API wallet is 10,010 satoshis).