GET
/transactionsListar Pagamentos
Lista todos os pagamentos com paginação e filtros.
Query Parameters
| Parâmetro | Tipo |
|---|---|
page | number |
limit | number |
status | string |
startDate | string |
endDate | string |
Exemplo de Request
curlbash
curl -X GET "https://api.vyepay.com/transactions?page=1&limit=10&status=COMPLETED" \
-H "X-API-Key: vye_sua_api_key"Resposta de Sucesso
200 OKjson
{
"success": true,
"data": {
"pagamentos": [
{
"id": "pag_abc123xyz",
"amount": 99.90,
"status": "COMPLETED",
"description": "Assinatura Premium",
"paidAt": "2024-01-15T14:05:30.000Z"
},
{
"id": "pag_def456uvw",
"amount": 49.90,
"status": "COMPLETED",
"description": "Pedido #789",
"paidAt": "2024-01-14T10:20:00.000Z"
}
],
"pagination": {
"page": 1,
"limit": 10,
"total": 150,
"pages": 15
}
}
}