API Reference

Order Callback

Callback is sent for each new/updated order

This is configured via Order Hook URL in Buttons & Links tab. For example if order hook url is set as
https://mytshirtshop.com/callbacks?secret=129121 Callback sent will be something like https://mytshirtshop.com/callbacks?secret=129121&status=2&uuid=2b0c7e2cd523458098b2

uuid is the unique id of the Order and can be used in Get order details

Here are the possible status value reflecting various states of the order:
-1 : PAYMENT_ERROR (Happens when Paid BTC amount is not matching expected value)
0 : UNPAID
1 : IN_PROCESS
2 : PAID