C
C
Cockie2021-11-05 21:16:27
Python
Cockie, 2021-11-05 21:16:27

Why is there an error on the output from qiwi(api-python)?

import pyqiwi
wallet = pyqiwi.Wallet(token='', number='')
print('balance: ',wallet.balance())
payment = wallet.send(pid='22351', recipient='тут ктви карта', amount=2)
example = 'Payment is {0}\nRecipient: {1}\nPayment Sum: {2}'.format(
          payment.transaction['state']['code'], payment.fields['account'], payment.sum)
print(example)


I can't figure out why I'm getting an error

618574e4468ba116057342.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alan Gibizov, 2021-11-06
@Cockie

Firstly, for the convenience of those answering, I recommend that the text be given as text, and not as a screenshot.
Secondly, the error says that the problem is somewhere in the API features, you need to carefully read and see what kind of error QWPRC-1021 is - I suspect the system is blocking the translation, because. identification problem.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question