How to use a Wallet-specific API Key
Learn how to access the Wallet API with an API Key
There are two ways for a user to interact with the Venly Wallet API - with a clientId and a secret, or by generating an API Key through the Wallet Web app.
The API Key allows you to only access the wallet, for which it has been generated. When interacting with the Wallet API with an API Key, you won't be required to provide any PIN codes or signing methods for the calls.
In most cases, you will need the clientId and a secret to interact with the Wallet-API. This will allow you to generate wallets for your endusers and interact with these wallets.
When you however only have need for one wallet, the Wallet-specific API key can work for you.
Method | When to use? | Limitations | Pricing |
---|---|---|---|
ClientID / Secret
(most common) |
| None | Venly Subscription needed. |
Wallet-specific API Key |
| No new wallets can be created. Interaction is only done on one specific wallet on your account. | Free |
To generate an API Key follow the steps:
- 1.
- 2.Open an existing wallet or create/import a new one
- 3.Click the Settings icon at the top right corner of the wallet view
- 4.Click [Generate Key]
- 5.Copy the API Key and store it in a safe place - you won’t be able to see it again in the Wallet Web App!
Use the API-Key at your own risk!
The API-key gives the holder complete access to the wallet. It serves as authentication mechanism, as well as wallet-unlock mechanism (no extra PIN code is needed to perform actions on the wallet).
Make sure to keep the key private and save!
To interact with the Wallet API by using the API Key, you have to provide it in the request headers.
The key name should be
authToken
and the value should be the generated API Key.Example in Postman:
.png?alt=media&token=62ba4098-ad14-4624-9355-ba7423588914)
Once this is set up, you're ready to execute the Wallet API requests.
🚀
Last modified 1mo ago