When one of your users makes a payment, you need to know the status of that payment. The payment goes through several different status in its lifetime. When the status of a payment changes, we ping your webhook URL.
The status of a payment can be one of these things:
Your webhook URL must accept a POST request with JSON. The object we send you looks like this:
{ secret, payment }
The payment
object looks like this:
Note that merely receiving a webhook does not necessarily indicate a successful payment. The payment
object has a status
, and status
can be DOUBLE_SPENT
indicating an earlier payment is no longer valid.
Where the outputs look like this:
Buenos Aires, Argentina - Tel Aviv, Israel - Toronto, Canada
@ 2022 MoneyButton All rights reserved