---
title: What is webhook?
description: An HTTP callback that delivers a payment event to the merchant, signed and retried until acknowledged. Why it matters for merchants, and how GaaPay applies it.
url: https://gaapay.com/glossary/webhook
updated: 2026-12-04
language: en
type: term
---

# What is webhook?

> A webhook is an HTTP callback that delivers an event — “payment.succeeded” — to the merchant’s server. It is the only trustworthy release trigger in a crypto checkout, because the browser redirect is user-controlled.

A webhook is an HTTP callback that delivers an event — “payment.succeeded” — to the merchant’s server. It is the only trustworthy release trigger in a crypto checkout, because the browser redirect is user-controlled.

## Why it matters

Webhook delivery is at-least-once, not exactly-once. Events can arrive twice, out of order or after a retry. A correct handler verifies the signature, deduplicates by event id, and treats the event as a state transition rather than a command to “grant now”.

## How GaaPay handles it

GaaPay signs webhooks with HMAC-SHA256 over `timestamp.body`, retries failures seven times over about 32 hours with backoff, then parks them in a dead-letter queue that can be replayed. Delivery is at-least-once; ordering is not guaranteed, so each event carries a version.

## Related terms

- [webhook signature](/glossary/webhook-signature)
- [idempotency](/glossary/idempotency)
- [payment intent](/glossary/payment-intent)

## Questions

### Can I just use the success redirect?

No. The player controls the browser and can hit the return URL without paying. Verify the webhook; poll the query endpoint as a fallback.

### What counts as a failed delivery?

Any non-2xx response or a timeout of about 10 seconds. Return 2xx only after the work is durable.

[Open the sandbox](/console) — **See it in a running checkout**: The sandbox runs the same state machine: detected, confirmed, settled — and a webhook you can verify.

## Related

- https://gaapay.com/glossary
- https://gaapay.com/chains
- https://gaapay.com/docs/concepts
