Wallet Authorization

Some wallet transactions require the use of a JWT token. You can use it to view the processing callbacks log, make transfers, and change wallet settings.

Bitcoin QR code icon

Contents

Request:

Parameters

{login},
string
Wallet Identifier. Required
{password},
string
Transfer Key from the wallet. Required
Request example:
    {
      "login": "btc-c70afacf0b7d7808e8be36bfd7ceed71",
      "password": "EABc9DDe1ffdFFD111d91fba9dea7818"
    }
    
  
cURL example

curl 'https://apirone.com/api/v2/auth/login' -X POST -H 'Content-Type: application/json;charset=utf-8' --data-raw '{"login":"btc-c70afacf0b7d7808e8be36bfd7ceed71","password":"EABc9DDe1ffdFFD111d91fba9dea7818"}'

Success Response Reference:

{login}
string
Wallet Identifier. Required
{access-token}
string
The token for accessing the wallet. Used in the bearer header when accessing. Required
{refresh-token}
string
A token to refresh the access token. See the Refresh access token page for details. Required

By default, the token lifetime for accessing the wallet is 10 minutes. You can find out the token lifetime by decoding it in the standard way. When the time expires, you need to retrieve it again using the update token and the corresponding API.

Read more about token decoding

Response example:
      {
        "login": "tbtc-3cbc9dde1ffdcf111d917fba9dea7818",
        "access-token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...",
        "refresh-token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9..."
      }
    
  

Error Response: