# Payload de transação recebida

> Os webhooks do tipo `Transação recebida` enviam objetos com os seguintes campos no seu payload:

- `event`: O tipo de evento realizado que neste caso seria `OPENPIX:CHARGE_EXPIRED`.
- `charge`: A cobrança que foi expirada.
- `type` : Dependendo da transação elas podem vir seguintes tipos: `DYNAMIC` ,`STATIC` ou `PAYMENT`. Onde `PAYMENT` seria o [pix avulso](https://ajuda.woovi.com/hc/duvidas-frequentes/articles/o-que-e-um-pix-avulso). 
- `company`: Empresa a que a cobrança pertence.

## Exemplo

```json
{
  "event": "OPENPIX:TRANSACTION_RECEIVED",
  "charge": null,
  "pixQrCode": null,
  "pix": {
    "debitParty": {
      "account": {
        "branch": "1",
        "account": "123456789",
        "accountType": "TRAN"
      },
      "psp": {
        "id": "12345678",
        "name": "BANCO PAGAMENTOS - IP"
      },
      "holder": {
        "taxID": {
          "taxID": "12345678901",
          "type": "BR:CPF"
        },
        "name": "Name Sobrenome"
      }
    },
    "creditParty": {
      "pixKey": {
        "pixKey": "1ed81f30-1654-5eaf3-b911-074449bad07e",
        "type": "RANDOM"
      },
      "account": {
        "branch": "1",
        "account": "1234567",
        "accountType": "TRAN"
      },
      "psp": {
        "id": "54811417",
        "name": "WOOVI IP LTDA."
      },
      "holder": {
        "taxID": {
          "taxID": "01123456000199",
          "type": "BR:CNPJ"
        }
      }
    },
    "payer": {
      "name": "Nome Sobrenome",
      "email": "email@email.com",
      "phone": "+5500988776655",
      "taxID": {
        "taxID": "98765432100",
        "type": "BR:CPF"
      },
      "correlationID": "2566b5bd-2e1a-463d-b21c-ec7717cf2df4"
    },
    "value": 200,
    "time": "2025-09-23T18:10:56.000Z",
    "endToEndId": "E18236120202509231810s56149dd987",
    "fee": 80,
    "status": "CONFIRMED",
    "type": "PAYMENT",
    "createdAt": "2025-09-23T18:10:56.657Z",
    "pixKey": "617126ef-3c13-4a4e-a8a4-05de07f3d8af",
    "globalID": "UGl4VHJhbnNhY3Rdf246NjhkMmUyYjB5OGI5ZjZkODYwNDVjMjg2"
  },
  "company": {
    "id": "66f98ce2acbb5dffa956ff60",
    "name": "company name",
    "taxID": "12123456000199"
  },
  "account": {
    "accountId": "68b999668bdbfg18agcca244",
    "branch": "0001",
    "account": "000000000000012345678",
    "taxID": "00123456000198"
  },
  "refunds": []
}
```
