QR
Payment Webhook (Merchant side)
After customer paid or tried to pay merchant’s invoice, this webhook will called with following query parameters from MonPay backend. Note that this function have to implemented on merchant side.
Request
Parameters | Type | Description |
---|---|---|
amount | double | Invoiced amount |
uuid | integer | Previous QR api call generated "uuid" |
status | string | PAID, FAILED |
tnxId | string | Transaction number when transaction success |
Example Webhook:
https://your.redirect.uri/dummy?uuid=qr6a6cde8c19a947a1bf47377e36bc4a3d&status=SUCCESS&txnId=5000000005044111&amount=1
https://your.redirect.uri/dummy?&status=FAILED&amount=1