webhook-relaySandbox
GitHub

PURCHASE_REFUNDED

dead letterfrom Hotmart·received 12h ago

Verification

Result
verifiedvalid hottok (header)
Scheme
hotmart-hottok
Idempotency key
c8f1e029-4e3f-40d2-ab9e-166af27e117c
from payload id field
Event id
b59e4eba-ee25-41e4-b969-1c890777d999
Received
2026-11-29 14:06:30 UTC

Headers

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

Payload

{
  "id": "c8f1e029-4e3f-40d2-ab9e-166af27e117c",
  "creation_date": 1795961190346,
  "event": "PURCHASE_REFUNDED",
  "version": "2.0.0",
  "data": {
    "product": {
      "id": 3399054,
      "ucode": "c3f5a8b1-9e2d-4c7a-b6f0-8d1e4a2c5b96",
      "name": "Ebook Planejamento Semanal",
      "has_co_production": false
    },
    "buyer": {
      "email": "larissa.pereira51@example.com",
      "name": "Larissa Pereira",
      "first_name": "Larissa",
      "last_name": "Pereira",
      "checkout_phone": "+5511998674072",
      "address": {
        "country": "Brasil",
        "country_iso": "BR"
      }
    },
    "producer": {
      "name": "Escola Exemplo LTDA"
    },
    "purchase": {
      "transaction": "HP96702924177516",
      "order_date": 1795961130346,
      "approved_date": 1795961190346,
      "status": "REFUNDED",
      "price": {
        "value": 27,
        "currency_value": "BRL"
      },
      "full_price": {
        "value": 27,
        "currency_value": "BRL"
      },
      "payment": {
        "type": "CREDIT_CARD",
        "installments_number": 1
      },
      "offer": {
        "code": "8863d109"
      }
    },
    "commissions": [
      {
        "value": 24.3,
        "source": "PRODUCER",
        "currency_value": "BRL"
      }
    ]
  }
}

Refund handler (legacy ERP)dead letter

/api/sink/fail
4 of 4 attempts usedtimeout 10.00s
  1. #1500initial79ms
    response body
    {"error":"internal error"}
  2. #2500retry42ms
    response body
    {"error":"internal error"}
  3. #3500retry79ms
    response body
    {"error":"internal error"}
  4. #4500retry55ms
    response body
    {"error":"internal error"}