Callback payload

MoneroPay contains a goroutine which checks for new incoming and recently unlocked transactions every 30 seconds and sends a POST request to "callback_url" specified in the POST /receive endpoint with the following payload:

  "amount": {
    "expected": 0,
    "covered": {
      "total": 200000000,
      "unlocked": 200000000
  "complete": true,
  "description": "Donation to Kernal",
  "created_at": "2022-07-11T19:04:24.574583Z",
  "transaction": {
    "amount": 200000000,
    "confirmations": 10,
    "double_spend_seen": false,
    "fee": 9200000,
    "height": 2402648,
    "timestamp": "2022-07-11T19:19:05Z",
    "tx_hash": "0c9a7b40b15596fa9a06ba32463a19d781c075120bb59ab5e4ed2a97ab3b7f33",
    "unlock_time": 0,
    "locked": false

Additionally the same data can be retrieved via GET /receive/:address endpoint and is encouraged to check once in a while at the higher end application in case of a downtime or failed callback delivery.