> ## Documentation Index
> Fetch the complete documentation index at: https://docs.noxpay.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Consultar Saque

> GET /v2/withdrawal/{id} — retorna um saque individual pelo seu ID end2end.

Um saque move fundos do seu saldo Noxpay para uma carteira ou chave PIX na whitelist.

## Parâmetros de caminho

| Parâmetro | Descrição                                   |
| --------- | ------------------------------------------- |
| `id`      | O identificador `end2end` (ex: `NOXwdr001`) |

## Response `200 OK`

### Attributes

| Campo                   | Tipo   | Descrição                                              |
| ----------------------- | ------ | ------------------------------------------------------ |
| `amount_discounted`     | float  | Valor efetivamente enviado após deduzir a taxa de rede |
| `amount_received`       | float  | Valor originalmente solicitado                         |
| `currency_received`     | string | Nome exibido do ativo (ex: `USDT TRC20`)               |
| `currency_receive_code` | string | Código do ativo (ex: `USDT`)                           |
| `address`               | string | Endereço blockchain de destino                         |
| `tx_hash`               | string | Hash da transação on-chain                             |
| `explorer_url`          | string | URL do block explorer para a transação                 |
| `network_fee`           | string | Taxa de rede blockchain paga                           |
| `group_id`              | string | ID do grupo de whitelist usado para este saque         |
| `notes`                 | string | Notas opcionais anexadas ao saque                      |

**`404`** — saque não encontrado ou não pertence à sua conta.

Para todos os valores de `status` / `substatus` veja [Statuses de Withdrawal](/pt/api-reference/reference/statuses#withdrawal).

<RequestExample>
  ```bash theme={null}
  curl https://checkout.noxpay.io/v2/withdrawal/NOXwdr001 \
    -H "api-key: <key>"
  ```

  ```python theme={null}
  import requests

  response = requests.get(
      "https://checkout.noxpay.io/v2/withdrawal/NOXwdr001",
      headers={"api-key": "<key>"},
  )
  print(response.json())
  ```

  ```javascript theme={null}
  const response = await fetch(
    "https://checkout.noxpay.io/v2/withdrawal/NOXwdr001",
    { headers: { "api-key": "<key>" } }
  );
  const data = await response.json();
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "end2end": "NOXwdr001",
    "component": "success_withdrawl_dash",
    "state": "DONE",
    "template": "withdraw_dash_same_curr",
    "created_at": "2024-05-03T14:00:00Z",
    "updated_at": "2024-05-03T14:05:00Z",
    "status": { "en": "Success", "pt": "Sucesso" },
    "substatus": { "en": "Withdrawal Completed", "pt": "Saque Concluído" },
    "message": {
      "en": "Withdrawal completed successfully",
      "pt": "Saque concluído com sucesso"
    },
    "error_message": { "en": "", "pt": "" },
    "attributes": {
      "amount_discounted": 99.00,
      "amount_received": 100.00,
      "currency_received": "USDT TRC20",
      "currency_receive_code": "USDT",
      "address": "TXyZ...abc",
      "tx_hash": "0xabc123...",
      "explorer_url": "https://tronscan.org/#/transaction/0xabc123",
      "network_fee": "1.00",
      "group_id": "wl-group-id",
      "notes": "Monthly payout"
    }
  }
  ```

  ```json 404 theme={null}
  { "error": "Not Found" }
  ```
</ResponseExample>
