From e149f695ccdc51ec8026ba4baa341288365e893a Mon Sep 17 00:00:00 2001 From: MG-ng <45321071+MG-ng@users.noreply.github.com> Date: Sat, 25 Sep 2021 05:16:11 +0200 Subject: [PATCH] or instead of of according to the code https://github.com/BlueWallet/LndHub/blob/66a54570c5a9a47f68a69f94c200ee6415204f45/controllers/api.js#L158 --- doc/Send-requirements.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/Send-requirements.md b/doc/Send-requirements.md index 13e45de..844d333 100644 --- a/doc/Send-requirements.md +++ b/doc/Send-requirements.md @@ -33,7 +33,7 @@ associated with corresponding user id. | Call | Method | Handler | Params | Return | Description | | ------------- | ------------- | ------------- | ------------- | ------------- | ------------- | | Create Account | POST | /create | {none} | JSON Auth Data | Create new user account and get credentials | -| Authorize | POST | /auth | auth params (login/password of refresh_token) | JSON token data | Authorize user with Oauth. When user use refresh_token to auth, then this refresh_token not available for access once again. Use new refresh_token | +| Authorize | POST | /auth | auth params (login/password or refresh_token) | JSON token data | Authorize user with Oauth. When user use refresh_token to auth, then this refresh_token not available for access once again. Use new refresh_token | | Get token | POST | /oauth2/token | user id, secret, grant_type and scope | token data | Get token data from user id, secret, grant_type and scope | | Get BTC Addr | GET | /getbtc | {none} | Text address | Get user's BTC address to top-up his account | | New BTC Addr | POST | /newbtc | {none} | Text address | Create new BTC address for user. Old addresses should remain valid, so if user accidentaly sends money to old address transaction will be assigned to his account |