Answer the question
In order to leave comments, you need to log in
How to log in and get a token in yndex.money?
I'm trying to make integration with the Yandex money api in order to make payments. But first you need to log in and get a token.
I copied the lines of code from the documentation with which you need to get a temporary access token. A url is generated here, by passing through which you can give permission to the requested information. But I follow this url and there is just my personal Yandex money account.
Help to log in and get a token)
import requests
from yandex_money.api import Wallet, ExternalPayment
code1 = '9C342991DCAE641F7F......'
scope1 = ['account-info']
auth_url = Wallet.build_obtain_token_url(client_id=code1, redirect_uri='www.myurl', scope=scope1) + '&response_type=code'
print(auth_url)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question