webhook-relaySandbox
GitHub

PURCHASE_REFUNDED

dead letterfrom Hotmart·received 7h ago

Verification

Result
verifiedvalid hottok (header)
Scheme
hotmart-hottok
Idempotency key
69378f3e-aa33-44ba-a108-64a266d087a0
from payload id field
Event id
6836ced2-b262-4f02-b782-5313bffe54ad
Received
2026-11-29 19:00:40 UTC

Headers

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

Payload

{
  "id": "69378f3e-aa33-44ba-a108-64a266d087a0",
  "creation_date": 1795978840830,
  "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.ribeiro53@example.com",
      "name": "Elisa Ribeiro",
      "first_name": "Elisa",
      "last_name": "Ribeiro",
      "checkout_phone": "+5511941256869",
      "address": {
        "country": "Brasil",
        "country_iso": "BR"
      }
    },
    "producer": {
      "name": "Escola Exemplo LTDA"
    },
    "purchase": {
      "transaction": "HP50122895825188",
      "order_date": 1795978780830,
      "approved_date": 1795978840830,
      "status": "REFUNDED",
      "price": {
        "value": 197,
        "currency_value": "BRL"
      },
      "full_price": {
        "value": 197,
        "currency_value": "BRL"
      },
      "payment": {
        "type": "CREDIT_CARD",
        "installments_number": 3
      },
      "offer": {
        "code": "af8ec68e"
      }
    },
    "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. #1500initial24ms
    response body
    {"error":"internal error"}
  2. #2500retry30ms
    response body
    {"error":"internal error"}
  3. #3500retry48ms
    response body
    {"error":"internal error"}
  4. #4500retry71ms
    response body
    {"error":"internal error"}