Create Lightning Address
Lightning Addresses are created via lnurlpay
objects
The same /lnurlp
endpoint is used, but with addition of lnurlp_identifier
and custy_domain_id
In order to use YOUR domain, you must implement the following redirect:
<yourdomain>/.well-known/lnurlp/*
-> api.lnpay.co/.well-known/<custy_domain_id>/lnurlp/*
Create Lightning Address
POST
https://<yourdomain>/v1/wallet/:wallet_key/lnurlp
A Lightning Address is basically a wrapper around the LNURL-pay functionality.
Path Parameters
Name | Type | Description |
---|---|---|
wallet_key* | String | e.g. waka_XXX |
Request Body
Name | Type | Description |
---|---|---|
lnurlp_identifier* | String | e.g. myuser do not include domain name |
custy_domain_id* | String | Domain ID e.g. cdom_xxx |
lnurlp_minSendable_msat | Integer | e.g. 1000 |
lnurlp_maxSendable_msat | Integer | e.g. 100000 |
lnurlp_short_desc | String | Description for invoices |
Last updated