J
J
Jack Surfer2019-10-15 14:59:15
Python
Jack Surfer, 2019-10-15 14:59:15

How to receive new payments via qiwi api?

Hi all!
received the last 10 payments in QIWI:

s = requests.Session()
s.headers['authorization'] = 'Bearer ' + api_access_token
parameters = {'rows': '10'}
h = s.get('https://edge.qiwi.com/payment-history/v1/persons/'+my_login+'/payments', params = parameters)

how to make it so that when a new payment appears, you can get data from it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Kuts, 2019-10-15
@JackSurfer

how to make it so that when a new payment appears, you can get data from it?

Use webhooks:
https://developer.qiwi.com/en/qiwi-wallet-personal...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question