Charge people for using your domain name...
More details
Created by,
talvasconcelos
GET
lnaddress/api/v1/domains
JSON list of users
curl -X GET {{ request.url_root }}lnaddress/api/v1/domains -H
"X-Api-Key: {{ user.wallets[0].inkey }}"
POST
/lnAddress/api/v1/domains
{"X-Api-Key": <string>, "Content-type":
"application/json"}
{"wallet": <string>, "domain": <string>, "cf_token":
<string>,"cf_zone_id": <string>,"webhook": <Optional
string> ,"cost": <integer>}
{"id": <string>, "wallet": <string>, "domain":
<string>, "webhook": <string>, "cf_token": <string>,
"cf_zone_id": <string>, "cost": <integer>}
curl -X POST {{ request.url_root }}lnaddress/api/v1/domains -d
'{"wallet": "{{ user.wallets[0].id }}", "domain": <string>,
"cf_token": <string>,"cf_zone_id": <string>,"webhook":
<Optional string> ,"cost": <integer>}' -H "X-Api-Key: {{
user.wallets[0].inkey }}" -H "Content-type: application/json"
DELETE
/lnaddress/api/v1/domains/<domain_id>
{"X-Api-Key": <string>}
curl -X DELETE {{ request.url_root
}}lnaddress/api/v1/domains/<domain_id> -H "X-Api-Key: {{
user.wallets[0].inkey }}"
GET
lnaddress/api/v1/addresses
JSON list of addresses
curl -X GET {{ request.url_root }}lnaddress/api/v1/addresses -H
"X-Api-Key: {{ user.wallets[0].inkey }}"
GET
lnaddress/api/v1/address/<domain>/<username>/<wallet_key>
JSON list of addresses
curl -X GET {{ request.url_root
}}lnaddress/api/v1/address/<domain>/<username>/<wallet_key>
-H "X-Api-Key: {{ user.wallets[0].inkey }}"
POST
/lnaddress/api/v1/address/<domain_id>
{"X-Api-Key": <string>}
curl -X POST {{ request.url_root
}}lnaddress/api/v1/address/<domain_id> -d '{"domain":
<string>, "username": <string>,"email": <Optional
string>, "wallet_endpoint": <string>, "wallet_key":
<string>, "sats": <integer> "duration": <integer>,}'
-H "X-Api-Key: {{ user.wallets[0].inkey }}" -H "Content-type:
application/json"