Z
Z
Zatox2020-05-21 10:00:45
Python
Zatox, 2020-05-21 10:00:45

How to check qiwi payments?

# I want to check payments in qiwi for my store in telegram.
The first successful attempt to implement all this was achieved by repeatedly checking the balance using SimpleQiwi (once every 30 seconds I compared the balance value, if it was different, I checked to what value "+" or "-"), but for some reason the script crashed at different intervals.
The second unsuccessful attempt to implement all this was quite reasonable - I wanted to make receiving notifications via webhook, but I could not figure out the logic of working and processing webhooks.

Maybe you have ideas how to do all this or maybe someone knows how to work with webhooks.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Kuts, 2020-05-21
@fox_12

Everything is very simple:
A webhook has arrived - it means that the payment has passed.
Pull the balance at this moment and check.
And do not force the API with requests every 30 seconds

T
Timur Pokrovsky, 2020-05-21
@Makaroshka007

kiwi api?
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