> For the complete documentation index, see [llms.txt](https://docs.meltfinance.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.meltfinance.org/webhook-docs.md).

# Webhook docs

## The webhook that you put in the API dashboard must be a valid URL beginning with `http`, or it won't be called. When your account receives a payment, the webhook receives a `POST` request containing JSON detailing the payment. You're welcome to tweak the data to suit your needs.

{% tabs %}
{% tab title="Example JSON payload" %}

```json5
{
  "payment_hash": "f44b549d99d35e16fbd0589335a98eaa4d94e2fea29f8876e91ce63e227b1d7f",
  "payment_request": "lnbc15280n1pnsu4djpp57394f8ve6d0pd77stzfnt2vw4fxefch7520csahfrnnrugnmr4lshp5xmcgcaavykrrgymqy7ay7c2px4txf37xgq3sym5mjr4qh57dhesqcqzzsxqyp2xqsp5mhpeesu3xgnrk9qus5cql5sptyhuywxxanepkqqm307l0xtc28hs9qxpqysgqtxw4c7swyhuhd7lx380jl6w5w027n62hkf2ufmvn5pfwwgnpkx9s4rpfsn2wvzg9l5xwlfvu54u8kf2ss2td8yr06mlvtwztggljwmcqkdhxkl",
  "amount": 1528000,
  "comment": [
    "Paid to skibidirizzler@meltfi.top"
  ],
  "webhook_data": "",
  "lnurlp": "NigGEr",
  "body": ""
}
```

{% endtab %}
{% endtabs %}
