# Webhooks

Webhook notifications for shop events.

**Setup:**

1. Go to Creator Dashboard → Settings (three-dot menu) → API Keys section
2. Generate API key if you haven't already
3. Specify your webhook URL in the webhook settings

**Signature verification:** Each request contains `trbt-signature` header with HMAC-SHA256 signature of request body signed with your API key.

**Retry attempts:** On delivery failure, system retries with exponential backoff over \~24 hours: 5min, 15min, 30min, 1h, 2h, 4h, 8h, 8h.

{% openapi-webhook spec="shop-en" name="shopOrder" method="post" %}
[shop-en](https://tribute.tg/api/v1/openapi/shop/en)
{% endopenapi-webhook %}

{% openapi-webhook spec="shop-en" name="shopOrderChargeFailed" method="post" %}
[shop-en](https://tribute.tg/api/v1/openapi/shop/en)
{% endopenapi-webhook %}

{% openapi-webhook spec="shop-en" name="shopOrderChargeSuccess" method="post" %}
[shop-en](https://tribute.tg/api/v1/openapi/shop/en)
{% endopenapi-webhook %}

{% openapi-webhook spec="shop-en" name="shopOrderCancelled" method="post" %}
[shop-en](https://tribute.tg/api/v1/openapi/shop/en)
{% endopenapi-webhook %}

{% openapi-webhook spec="shop-en" name="shopTokenChargeSuccess" method="post" %}
[shop-en](https://tribute.tg/api/v1/openapi/shop/en)
{% endopenapi-webhook %}

{% openapi-webhook spec="shop-en" name="shopTokenChargeFailed" method="post" %}
[shop-en](https://tribute.tg/api/v1/openapi/shop/en)
{% endopenapi-webhook %}

{% openapi-webhook spec="shop-en" name="shopOrderRefunded" method="post" %}
[shop-en](https://tribute.tg/api/v1/openapi/shop/en)
{% endopenapi-webhook %}

{% openapi-webhook spec="shop-en" name="shopOrderPaymentFailed" method="post" %}
[shop-en](https://tribute.tg/api/v1/openapi/shop/en)
{% endopenapi-webhook %}

{% openapi-webhook spec="shop-en" name="shopOrderPaymentReceived" method="post" %}
[shop-en](https://tribute.tg/api/v1/openapi/shop/en)
{% endopenapi-webhook %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.tribute.tg/for-shops/api/webhooks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
