webhook-relaySandbox
GitHub

PURCHASE_REFUNDED

dead letterfrom Hotmart·received 22h ago

Verification

Result
verifiedvalid hottok (header)
Scheme
hotmart-hottok
Idempotency key
f44f6b49-789c-4890-ac5c-506282a95864
from payload id field
Event id
dda2245f-0548-4b65-b26a-e4adf9583caf
Received
2026-11-29 03:52:40 UTC

Headers

user-agentwebhook-relay-seed/1.0
content-typeapplication/json
x-hotmart-hottok6223…(redacted)

Payload

{
  "id": "f44f6b49-789c-4890-ac5c-506282a95864",
  "creation_date": 1795924360945,
  "event": "PURCHASE_REFUNDED",
  "version": "2.0.0",
  "data": {
    "product": {
      "id": 3418920,
      "ucode": "e1a7c2d4-5b3f-4a8e-9c61-2f0d8b7a9e13",
      "name": "Curso Online de Finanças Pessoais",
      "has_co_production": false
    },
    "buyer": {
      "email": "elisa.gomes35@example.com",
      "name": "Elisa Gomes",
      "first_name": "Elisa",
      "last_name": "Gomes",
      "checkout_phone": "+5511950949489",
      "address": {
        "country": "Brasil",
        "country_iso": "BR"
      }
    },
    "producer": {
      "name": "Escola Exemplo LTDA"
    },
    "purchase": {
      "transaction": "HP76728818744886",
      "order_date": 1795924300945,
      "approved_date": 1795924360945,
      "status": "REFUNDED",
      "price": {
        "value": 197,
        "currency_value": "BRL"
      },
      "full_price": {
        "value": 197,
        "currency_value": "BRL"
      },
      "payment": {
        "type": "CREDIT_CARD",
        "installments_number": 12
      },
      "offer": {
        "code": "15935d59"
      }
    },
    "commissions": [
      {
        "value": 177.3,
        "source": "PRODUCER",
        "currency_value": "BRL"
      }
    ]
  }
}

Refund handler (legacy ERP)dead letter

/api/sink/fail
4 of 4 attempts usedtimeout 10.00s
  1. #1500initial42ms
    response body
    {"error":"internal error"}
  2. #2500retry59ms
    response body
    {"error":"internal error"}
  3. #3500retry78ms
    response body
    {"error":"internal error"}
  4. #4500retry28ms
    response body
    {"error":"internal error"}