Answer the question
In order to leave comments, you need to log in
How to authorize the Yandex Money API application?
There was a problem obtaining a permanent token for the application.
I use documentation
and code in python
scope = ['account-info operation-history operation-details incoming-transfers payment payment-p2p money-source(\"wallet\")']
def gen_auth_url(client_id, redirect_url, scope):
auth_url = Wallet.build_obtain_token_url(client_id,
redirect_url,
scope) + '&response_type=code'
return auth_url
auth_url = str(gen_auth_url(client_id, redirect_url, scope))
Этому приложению отказано в доступе.
Свяжитесь с его разработчиком и укажите сведения об ошибке (invalid_request)
Answer the question
In order to leave comments, you need to log in
Within the scope, you cannot use the payment-p2p right and the payment.to-account right at the same time.
The destination condition must be applied to the payment right.
Here everything is described in great detail:
https://tech.yandex.ru/money/doc/dg/concepts/proto...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question