lnurlp: support success_text and success_url.

This commit is contained in:
fiatjaf
2020-10-09 16:17:16 -03:00
parent f6bcff01f4
commit ea3418c21d
6 changed files with 88 additions and 11 deletions
+2
View File
@@ -57,6 +57,8 @@ async def api_link_retrieve(link_id):
"description": {"type": "string", "empty": False, "required": True},
"amount": {"type": "integer", "min": 1, "required": True},
"webhook_url": {"type": "string", "required": False},
"success_text": {"type": "string", "required": False},
"success_url": {"type": "string", "required": False},
}
)
async def api_link_create_or_update(link_id=None):