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

# Webhook

### Setting up

Configure a Webhook URL to receive order status updates, including incoming transactions, outgoing transactions, and other transaction status changes:

<figure><img src="https://4031060132-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F847OCU8wHOemogNwwSWc%2Fuploads%2Fgit-blob-b99e1cf1e19995cbcadde727db0fbab792270174%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

After the Webhook URL is configured, MusePay sends order event notifications to it. Each notification includes a signature generated from the exact raw HTTP request body:

* **sign** = `Base64(SHA1WithRSA(MusePay private key, raw request body))`

Verify the signature against the unmodified raw request body using the MusePay public key shown here. Do not use your partner public key for Webhook verification.

<figure><img src="https://4031060132-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F847OCU8wHOemogNwwSWc%2Fuploads%2Fgit-blob-f329b7386de5007312bcbd6393c4cebd0928db7c%2Fimage%20(11).png?alt=media" alt=""><figcaption></figcaption></figure>

### Data Objects

{% content-ref url="/pages/WWvU4gOTSZwsu5ujByBK" %}
[Acquiring](/integration/webhook/order.md)
{% endcontent-ref %}

{% content-ref url="/pages/xOeBDzSmqrBF0gBUR3ww" %}
[Card](/integration/webhook/card.md)
{% endcontent-ref %}

{% content-ref url="/pages/nWAQ33AmqT6B3yb8cq4p" %}
[Fiat Payout](/integration/webhook/fiat-payout.md)
{% endcontent-ref %}

### Retry attempts

MusePay sends a POST request to the configured URL and expects an HTTP 200 response. If no successful response is received, MusePay retries after 0, 2, 4, 8, 16, 32, and 64 minutes.
