Listar as notificações
GET
/cashouts/:id/notifications
Aqui você pode listar todas as notificações de um cashout com base em seu id.
Aviso
Essa rota não possui paginação.
Parâmetros
Nome | Tipo | Descrição | Obrigatório |
---|---|---|---|
id | string | ID do cashout no qual deseja buscar | Sim |
Exemplo de Reposta
{
"cashout_notifications": [
{
"event": "PIX.CASHOUT.TRANSFERRED",
"association_id": "pix@zemo",
"payload": {
"amount": 100,
"cashout_id": "4245648248e24461818fe421ac7a02a1",
"created_at": "2023-07-19T06:15:08.593",
"dict_type": "cpf",
"dict_value": "12345679810",
"end2end": "e18236120202302021249s0066c338c8",
"external_id": "71900d60-0ec6-4f48-a966-92c8a031788e",
"provider": "starkbank",
"provider_id": "xxx",
"status": "TRANSFERRED",
"topic": "pix.cashout.transferred",
"transfer_amount": 100,
"transfer_at": "2023-07-19T06:15:19",
"transfer_to_document": "***.456.789-**",
"transfer_to_name": "Zemo Bank",
"updated_at": "2023-07-19T06:15:20.105"
},
"cashout_id": "4245648248e24461818fe421ac7a02a1",
"provider": "starkbank",
"provider_id": "xxx",
"delivered_status": "SUCCESS",
"delivered_url": "zemobank.com/events",
"deliveredAt": "2023-07-19T06:15:20.271",
"end2end": "e18236120202302021249s0066c338c8",
"external_id": "71900d60-0ec6-4f48-a966-92c8a031788e",
"status_code": 200,
"created_at": "2023-07-19T06:15:20.312",
"updated_at": "2023-07-19T06:15:20.312"
}
]
}