Vye

Vye

Pay

GET/transactions?type=WITHDRAWAL

Listar Saques

Lista todos os saques com paginação.

Query Parameters

ParâmetroTipo
pagenumber
limitnumber
typestring

Exemplo de Request

curlbash
curl -X GET "https://api.vyepay.com/transactions?type=WITHDRAWAL&page=1&limit=10" \
  -H "X-API-Key: vye_sua_api_key"

Resposta de Sucesso

200 OKjson
{
  "success": true,
  "data": {
    "saques": [
      {
        "id": "saq_xyz789abc",
        "type": "PIX",
        "amount": 500.00,
        "status": "COMPLETED",
        "completedAt": "2024-01-15T14:30:00.000Z"
      },
    ],
    "pagination": {
      "page": 1,
      "limit": 10,
      "total": 25,
      "pages": 3
    }
  }
}