Pular para o conteúdo principal

Listar as notificações

GET/cashins/:id/notifications

Aqui você pode listar todas as notificações de um cashin com base em seu id.

Aviso

Essa rota não possui paginação.

Parâmetros

NomeTipoDescriçãoObrigatório
idstringID do cashin no qual deseja buscarSim

Exemplo de Reposta

{
"cashin_notifications": [
{
"event": "PIX.CASHIN.CREATED",
"association_id": "zemo@bank",
"payload": {
"amount": 2500,
"br_code": "00020101021226790014br.gov.bcb.pix2557brcode.starkinfra.com/v2/afade0dc75f741b490b944cb45a71be15204000053039865802BR5925Zemo pay Tecnologia em Pa6009Sao Paulo62070503***63049EE4",
"cashin_id": "1977a5f172464112a313e30c972c4666",
"created_at": "",
"expiration": 360,
"external_id": "3a5e892f-d827-4b63-83c1-6c3eba2271fe",
"payer_document": "12345678910",
"payer_name": "ZEMOBANK",
"provider": "starkbank",
"provider_id": "afade0dc75f741b490b944cb45a71be1",
"status": "CREATED",
"topic": "pix.cashin.created",
"updated_at": "2023-06-01T00:00:00.081"
},
"cashin_id": "1977a5f172464112a313e30c972c4666",
"provider": "starkbank",
"provider_id": "afade0dc75f741b490b944cb45a71be1",
"delivered_status": "SUCCESS",
"delivered_url": "zemobank.com/events",
"deliveredAt": "2023-06-01T00:00:00.269",
"external_id": "3a5e892f-d827-4b63-83c1-6c3eba2271fe",
"status_code": 200,
"created_at": "2023-06-01T00:00:00.394",
"updated_at": "2023-06-01T00:00:00.394"
}
]
}