Pular para o conteúdo principal

Listar os eventos

GET/cashins/:id/events

Lista todos os eventos referentes a um cashin.

Aviso

Essa rota não possui paginação.

Parâmetros

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

Exemplo de Reposta

{
"cashin_events": [
{
"event": "CREATED",
"cashin_id": "1977a5f172464112a313e30c972c4666",
"provider": "starkbank",
"provider_id": "afade0dc75f741b490b944cb45a71be1",
"external_id": "3a5e892f-d827-4b63-83c1-6c3eba2271fe",
"created_at": "2023-06-01T00:00:00.137",
"updated_at": "2023-06-01T00:00:00.137"
},
{
"event": "CREATING",
"cashin_id": "1977a5f172464112a313e30c972c4666",
"provider": "starkbank",
"external_id": "3a5e892f-d827-4b63-83c1-6c3eba2271fe",
"payload": "",
"created_at": "2023-05-31T23:59:59.553",
"updated_at": "2023-05-31T23:59:59.553"
},
{
"event": "RECEIVED",
"cashin_id": "1977a5f172464112a313e30c972c4666",
"provider": "starkbank",
"external_id": "3a5e892f-d827-4b63-83c1-6c3eba2271fe",
"created_at": "2023-05-31T23:59:59.484",
"updated_at": "2023-05-31T23:59:59.484"
}
]
}