# WebHook

### Setting up

Setting a web-hook will allow you to get notifications for order status update. You can receive notifications on events in your orders such as incoming/outgoing transactions and transactions status update.  The Webhook url can be set up here:

<figure><img src="https://291345848-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8G8bsKik5orKdDuVU9PX%2Fuploads%2FdDBIfiDF8D53KZA2R4XS%2Fimage.png?alt=media&#x26;token=a74d656f-d78b-4c46-94fa-763470ef0993" alt=""><figcaption></figcaption></figure>

Once your webHook url is setup, you will start receiving notification on events for your orders. All events will be sent with the following signature.&#x20;

* **sign** = Base64(*RSA*(PLATFORM\_PRIVATE\_KEY, SHA1(msgBody))

The public key for verifying the signature can be found here:

<figure><img src="https://291345848-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8G8bsKik5orKdDuVU9PX%2Fuploads%2FZ0y1so9ZyWQxAfRQunvp%2Fimage.png?alt=media&#x26;token=b6f67cdc-aea9-45cd-b6ba-e4425e3a9fc8" alt=""><figcaption></figcaption></figure>

### Data Objects

{% content-ref url="webhook/card" %}
[card](https://docs-card.musepay.io/webhook/card)
{% endcontent-ref %}

{% content-ref url="webhook/order" %}
[order](https://docs-card.musepay.io/webhook/order)
{% endcontent-ref %}

### Retry attempts

MusePay will send a POST request to the URL(s) associated with the partner and expect a 200 response. If no response is received, MusePay will resend the request several more times with an increasing delay between each attempt, the retry attemps will be taken after \[ 0,2,4,8,16,32,64] minutes.<br>
