> ## Documentation Index
> Fetch the complete documentation index at: https://docs.assiny.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Compra completa

> Payload do evento completed_purchase, disparado 7 dias após a compra aprovada

Compra completa é um evento disparado após **7 dias** da [Compra aprovada](/webhooks/payloads/compra-aprovada). O evento chega como `completed_purchase`.

## Payload

```json theme={null}
{
  "event": "completed_purchase",
  "data": {
    "offer": {
      "id": "635aa697-abcd-abcd-0000-c3eae61a0f66",
      "name": "Nome da oferta de teste",
      "type": "ENTRY",
      "recurrence": null,
      "amount": 3700,
      "checkout_type": "ENTRY",
      "product": {
        "id": "cb5c4da6-1234-1234-0000-657fa9c45329",
        "name": "Nome do produto",
        "producer_name": "Assiny"
      },
      "project_id": "f7525d85-1234-1234-1234-80c6378eeb02"
    },
    "transaction": {
      "additional_data": {
        "BANK_SLIP": {
          "barcode": null,
          "url": null
        },
        "PIX": {
          "qr_code": null
        }
      },
      "amount": 3700,
      "commissions": [
        {
          "amount": 3700,
          "user": "Nome do produtor"
        }
      ],
      "created_at": "2025-01-14T19:40:47.800112Z",
      "currency": "BRL",
      "cycle": 1,
      "fee_amount": 80,
      "id": "eb11e1d6-1234-1234-1234-2f9b1cf0c37e",
      "installments": 7,
      "net_amount": 3620,
      "payment_type": "CREDIT",
      "project": {
        "id": "f7525d85-1234-1234-1234-80c6378eeb02",
        "name": "Nome do projeto",
        "organization": {
          "id": "46fc07ca-1234-1234-1234-05284b3e1dd1",
          "name": "Assiny"
        }
      },
      "smart_installment": null,
      "status": "paid",
      "updated_at": "2025-01-14T19:41:06.14704Z"
    },
    "client": {
      "id": "",
      "full_name": "Maria Exemplo",
      "first_name": "Maria",
      "last_name": "Exemplo",
      "email": "cliente@exemplo.com",
      "phone": "+5511999999999",
      "document": ""
    },
    "metadata": {
      "utm_campaign": "bio",
      "utm_content": "bio",
      "utm_medium": "bio",
      "utm_source": "instagram",
      "utm_term": "direct",
      "ip": "",
      "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36",
      "url_parameters": {
        "utm_campaign": "bio",
        "utm_content": "bio",
        "utm_medium": "bio",
        "utm_source": "instagram",
        "utm_target": "direct",
        "utm_term": ""
      },
      "funnel_id": "",
      "short_funnel_id": "C3TLLL",
      "node_id": "Woriii",
      "event_source_url": "https://pay.assiny.com.br/C3TLLL/node/Woriii"
    },
    "created_at": "2025-01-21T23:17:21.272179931Z"
  }
}
```

## Observações

<Warning>
  Durante essa janela de 7 dias a compra pode ser reembolsada, o que pode mudar o status da transação.
</Warning>

Este evento existe principalmente para controle de prazo de garantia.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.