nazarovsa / node-qiwi-api

Node API to work with QIWI Wallet
MIT License
13 stars 12 forks source link

payment #11

Closed unqxl closed 4 years ago

unqxl commented 4 years ago

Russian: Здравствуйте, ваш модуль имеет функцию, которая выводит информацию после получения средств на аккаунт?

English: Hello, does your module have a function that displays information after receiving funds to your account?

nazarovsa commented 4 years ago

Hi, @MANECOOFF. You can use addWebHook method to add webhook for incoming payments (txnType = 0) and then process it by you own middleware.

unqxl commented 4 years ago

How to use this method?

unqxl commented 4 years ago

I don't see this in documentation

unqxl commented 4 years ago

Предлагаю перейти на русский :D

nazarovsa commented 4 years ago

@MANECOOFF, https://developer.qiwi.com/ru/qiwi-wallet-personal/#hook_format Если коротко; вы регистристрируете вебхук на указаный url и потом поднимаете вебсервис, который слушает этот url.