Simple Telegram bot for getting Wise account balance.
All what you need is:
- clone repository
- create
.env
file (see example atenv.example
file) - add token for you bot
- add Wise API token
- add your Wise profile_id
- add your telegram user id
- start bot
docker build -t wise-tg-bot ./ && docker run -d wise-tg-bot
You need to login to your Wise account and go to the https://wise.com/settings/ Find section with API keys and create one. Important! Create a token with read-only permission!
Go to the @BotFather and create a new bot. BotFather knows /help commande. Maybe, it will save you time.
You can send API request https://api.transferwise.com/v2/profiles (don't forget to add Bearer authorization header). Or, for example, you can get it by the Wise support team?
For example you can try the @userbotinfo. Just start this bot and get your user id.