Skip to main content
Corresponde ao evento interno order.expired. O comprador gerou um PIX ou boleto mas não pagou dentro do prazo.

Quando é disparado

  • QR Code PIX expirou sem pagamento
  • Boleto bancário venceu sem compensação

Payload

{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "order_id": 123,
  "creation_date": 1736611200000,
  "event": "PURCHASE_EXPIRED",
  "version": "2.0.0",
  "data": {
    "purchase": {
      "transaction": "abc123-uuid-do-pedido",
      "status": "EXPIRED",
      "order_date": 1736524700000,
      "approved_date": null,
      "refund_date": null,
      "full_price": {
        "value": 297.00,
        "currency_value": "BRL"
      },
      "price": {
        "value": 197.00,
        "currency_value": "BRL"
      },
      "payment": {
        "type": "PIX",
        "installments_number": 1
      },
      "offer": {
        "code": "abc12345",
        "name": "Oferta Principal"
      },
      "order_bump": {
        "is_order_bump": false,
        "parent_purchase_transaction": null
      },
      "tracking": {
        "source": "google",
        "utm_source": "google",
        "utm_medium": "cpc",
        "utm_campaign": "black-friday",
        "utm_content": null,
        "utm_term": null,
        "src": null,
        "sck": null
      }
    },
    "product": {
      "id": 1,
      "name": "Curso de Marketing Digital"
    },
    "buyer": {
      "name": "João Silva",
      "first_name": "João",
      "last_name": "Silva",
      "email": "joao@exemplo.com",
      "checkout_phone": "+5511999990000",
      "document": "123.456.789-00",
      "document_type": "CPF"
    }
  }
}

Campos-chave

CampoValor neste evento
purchase.statusEXPIRED
purchase.approved_datenull — pagamento nunca confirmado
purchase.refund_datenull
purchase.payment.typeGeralmente PIX ou BILLET