Channel Callbacks

First, read general information about callbacks: Callbacks (Webhooks).

We will send a callback on the following events:

Event
Description

deposit_completed

This event happens when we receive a deposit from the customer and successfully transfer this money to your account.

Since we receive a deposit in the channel from your customer, we will send a callback to your server. Here is an example of callbacks by their status:

{
  "type": "channel_payment",
  "event": "deposit_completed",
  "data": {
    "id": "0188248c-169c-735f-ad6b-4eec224322e7",
    "fees": [
      {
        "type": "processing_invoice",
        "amount": 0.0004,
        "currency": "BTC"
      }
    ],
    "name": "Just a test",
    "number": 136275,
    "status": "paid",
    "address": "tb1q4vt2td9e3xxyzjr04pkc7r6sal5rv43lem74rq",
    "pay_amount": 0.001,
    "address_tag": null,
    "address_uri": "bitcoin:tb1q4vt2td9e3xxyzjr04pkc7r6sal5rv43lem74rq?amount=0.001",
    "description": "",
    "external_id": "2ef7e838-8da1-45ea-8309-7733e73fb761",
    "paid_amount": 0.001,
    "pay_currency": "BTC",
    "redirect_url": "http://www.russel.com/dicta-tenetur-non-dolor-quia-et",
    "exchange_pair": "BTCBTC",
    "exchange_rate": null,
    "external_data": null,
    "status_context": null,
    "pay_currency_ticker": "BTC",
    "customer_external_id": "b68a862b-3d9b-4105-b8d9-80137376def1",
    "failure_redirect_url": "http://www.huels.org/"
  },
  "timestamp": 1684240454
}

Last updated