webhook-relaySandbox
GitHub

PURCHASE_REFUNDED

dead letterfrom Hotmart·received 23h ago

Verification

Result
verifiedvalid hottok (header)
Scheme
hotmart-hottok
Idempotency key
9bcdcdfa-b967-4905-aa0a-86eb1ff10462
from payload id field
Event id
47dd1bd2-9ecd-4bab-ac4f-2f7f39bcf425
Received
2026-11-29 03:03:28 UTC

Headers

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

Payload

{
  "id": "9bcdcdfa-b967-4905-aa0a-86eb1ff10462",
  "creation_date": 1795921408574,
  "event": "PURCHASE_REFUNDED",
  "version": "2.0.0",
  "data": {
    "product": {
      "id": 3420117,
      "ucode": "7b9d0e2f-1c4a-4f6b-8d3e-5a2c9f1b0d47",
      "name": "Mentoria em Grupo - Turma 4",
      "has_co_production": false
    },
    "buyer": {
      "email": "felipe.oliveira50@example.com",
      "name": "Felipe Oliveira",
      "first_name": "Felipe",
      "last_name": "Oliveira",
      "checkout_phone": "+5511939191955",
      "address": {
        "country": "Brasil",
        "country_iso": "BR"
      }
    },
    "producer": {
      "name": "Escola Exemplo LTDA"
    },
    "purchase": {
      "transaction": "HP60186128767672",
      "order_date": 1795921348574,
      "approved_date": 1795921408574,
      "status": "REFUNDED",
      "price": {
        "value": 497,
        "currency_value": "BRL"
      },
      "full_price": {
        "value": 497,
        "currency_value": "BRL"
      },
      "payment": {
        "type": "CREDIT_CARD",
        "installments_number": 1
      },
      "offer": {
        "code": "fec07846"
      }
    },
    "commissions": [
      {
        "value": 447.3,
        "source": "PRODUCER",
        "currency_value": "BRL"
      }
    ]
  }
}

Refund handler (legacy ERP)dead letter

/api/sink/fail
4 of 4 attempts usedtimeout 10.00s
  1. #1500initial27ms
    response body
    {"error":"internal error"}
  2. #2500retry76ms
    response body
    {"error":"internal error"}
  3. #3500retry71ms
    response body
    {"error":"internal error"}
  4. #4500retry63ms
    response body
    {"error":"internal error"}