Refresh access token

In case the JWT access token is out of date, you need to get it again for further access. This API is used to refresh it.

Bitcoin QR code icon




{Authorization}, string Refresh token. Taken from previous authorization request with old access token Required

The Authorization header requires you to send a Bearer with a token to refresh.

Request Example:

curl '' -X POST -H 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJsIjoiNlJUOkRSVDp5UlQ6VFJUOlJSVDo1UlQ6elJUOkkiLCJleHAiOjE2MTM2NjI3MTN9.Dj6_4betKGS6MH2TkCTyikNWfcd5I_4e45FBvtfBi_8'

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. Required

This response is used similarly to the response from the wallet authorization request. With it is possible to further use the token to access the wallet.

Read more about token decoding

Response example:
      "login": "btc-c70afacf0b7d7808e8be36bfd7ceed71",
      "access-token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJsIjoidGJ0Yy0zY2JjOWRkZTFmZmRjZjExMWQ5MTdmYmE5ZGVhNzgxOCIsImV4cCI6MTYxMTkxMjI1NX0.NywDI-Y06wujSaiqhsaLF6Pa2uiYps_MPQXuSinj2oc",
      "refresh-token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJsIjoiSVJUOkNSVDpRUlQ6dFJUOm5SVDowUlQ6ZFJUOkQiLCJleHAiOjE2MTIxNzExNTV9.oYPoc-JEyN1qL90gu71fGzHB8S8l-g5VAJgsf_WbO2k"

Error Response: