webhook-relaySandbox
GitHub

PURCHASE_REFUNDED

dead letterfrom Hotmart·received 12h ago

Verification

Result
verifiedvalid hottok (header)
Scheme
hotmart-hottok
Idempotency key
e6ac2752-04be-451b-a603-607b90feb538
from payload id field
Event id
336e2d67-6d97-4162-aad8-af6a13bb8ccb
Received
2026-11-29 14:03:07 UTC

Headers

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

Payload

{
  "id": "e6ac2752-04be-451b-a603-607b90feb538",
  "creation_date": 1795960987641,
  "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": "marcos.gomes79@example.com",
      "name": "Marcos Gomes",
      "first_name": "Marcos",
      "last_name": "Gomes",
      "checkout_phone": "+5511994579551",
      "address": {
        "country": "Brasil",
        "country_iso": "BR"
      }
    },
    "producer": {
      "name": "Escola Exemplo LTDA"
    },
    "purchase": {
      "transaction": "HP52418084228411",
      "order_date": 1795960927641,
      "approved_date": 1795960987641,
      "status": "REFUNDED",
      "price": {
        "value": 197,
        "currency_value": "BRL"
      },
      "full_price": {
        "value": 197,
        "currency_value": "BRL"
      },
      "payment": {
        "type": "CREDIT_CARD",
        "installments_number": 3
      },
      "offer": {
        "code": "b50948b7"
      }
    },
    "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. #1500initial63ms
    response body
    {"error":"internal error"}
  2. #2500retry48ms
    response body
    {"error":"internal error"}
  3. #3500retry30ms
    response body
    {"error":"internal error"}
  4. #4500retry40ms
    response body
    {"error":"internal error"}