Vye

Vye

Pay

POST/wallet/withdraw

Criar Saque

Solicita um saque via PIX para uma chave informada.

Request Body

ParâmetroTipo
amount*number
pixKey*string
pixKeyType*string
descriptionstring

Exemplo de Request

curlbash
curl -X POST "https://api.vyepay.com/wallet/withdraw" \
  -H "X-API-Key: vye_sua_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "amount": 500.00,
    "pixKey": "12345678900",
    "pixKeyType": "CPF",
    "description": "Saque mensal"
  }'

Resposta de Sucesso

200 OKjson
{
  "success": true,
  "data": {
    "id": "saq_xyz789abc",
    "amount": 500.00,
    "status": "PROCESSING",
    "pixKey": "12345678900",
    "pixKeyType": "CPF",
    "estimatedAt": "2024-01-15T15:00:00.000Z",
    "createdAt": "2024-01-15T14:00:00.000Z"
  }
}