Receive secure payment status updates from ZBD servers.
pending
status until someone successfully scans and pays the Charge, at which point it becomes completed
. If enough time is elapsed, the Charge can also expire
making it impossible to be paid.
processing
state, and only when it’s settled or failed does it receive the completed
or failed
status’ respectively.
As you can understand now, it is important that you subscribe to updates on all your Charges and Payments when using the ZBD Payments API.
callbackUrl
property.
This callbackUrl
should point to an HTTP server that you control/manage and should expose a POST HTTP call on this endpoint. It could look like this:
retry
functionality for these callback payloads, in case your server happens to be offline when a payment settles.callbackUrl
endpoints.
To ensure that calls are coming from trusted ZBD Payments API servers, please use the ZBD IP Address API Endpoint.
By checking the originating IP address of the request received to your callback servers, with the approved IP address returned from this API endpoint, you are able to verify the authenticity of the requests.
callbackUrl
s.
In order to receive updates locally, we recommend using a proxy server such as ngrok.
ngrok http 8000
https://84c5dfxx39d74.ngrok.io
) is provided
callbackUrl
(e.g. https://84c5dfxx39d74.ngrok.io/api/zbd-callback
).