Z
Z
Zef1rok2021-08-11 09:19:54
Python
Zef1rok, 2021-08-11 09:19:54

Is it possible to send a notification to the PC with an incoming QIWI transfer?

Actually, you need to send a notification to the PC

import plyer
plyer.notification.notify( 
    message = f'В размере {summ}',
    title = 'Поступили средства!',
)

when replenishing the wallet. Maybe? If so, how?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
soremix, 2021-08-11
@Zef1rok

You can
https://developer.qiwi.com/ru/qiwi-wallet-personal... Read
the instructions on the link, issue an api key, create some kind of request handler, as in the example below, register the webhook in Qiwi and use it.

from flask import Flask, request, Response

app = Flask(__name__)

@app.route('/qiwi', methods=['POST'])
def qiwi():
    print(request.data)
    return Response(status=200)

K
kalapanga, 2021-08-11
@kalapanga

You need to read the instructions: 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