How to Authenticate
You can authenticate via the LNPay.co API in multiple methods. This is provided so you can implement in whatever way is easiest for the device/platform you are working on. No particular method is preferred over the other at this point.
The docs use the HTTP Basic Authentication
method
Get API Key
Login to https://lnpay.co and your API Key can be found here: https://lnpay.co/developers/dashboard
HTTP Header Authentication
X-Api-Key
header can be used to authenticate
Query String Authentication
You can authenticate by passing the parameter access-token
in the URL as a query string parameter.
HTTP Basic Authentication
Basic authentication is also supported
Last updated