Pular para o conteúdo
Torviko

Saques

Listar saques

Saques do ambiente da chave. Por segurança, a solicitação de saques é feita somente pelo painel, com verificação em duas etapas.
get/v1/withdrawals
Escopo withdrawals:read

Parâmetros#

  • limitintegerquery
    Itens por página.
    1 a 100padrão 25
  • starting_afterstringquery
    ID do último item da página anterior.
  • statusstringquery
    Situação atual.
    REQUESTEDUNDER_REVIEWAPPROVEDPROCESSINGCOMPLETEDFAILEDCANCELEDREJECTED

Resposta#

200 — lista paginada de objetos Withdrawal. Veja Paginação.

  • objectstring
    Tipo do objeto.
    withdrawal
  • idstring
    Identificador único.
  • statusstring
    Situação atual.
    REQUESTEDUNDER_REVIEWAPPROVEDPROCESSINGCOMPLETEDFAILEDCANCELEDREJECTED
  • livemodeboolean
    true para dados reais (chave live); false para dados de teste.
  • amount_centsinteger
    Valor em centavos de real.
  • fee_centsinteger
    Tarifa da Torviko, em centavos.
  • returned_centsinteger
    Valor devolvido ao saldo (saque recusado, cancelado ou com falha), em centavos.
  • currencystring
    Moeda. Sempre BRL.
    BRL
  • destinationstring | null
    Chave PIX de destino, mascarada.
  • end_to_end_idstring | null
    Identificador end-to-end do PIX no Banco Central.
  • failure_reasonstring | null
    Motivo da falha, quando houver.
  • created_atstring
    Data de criação (ISO 8601, UTC).
    ISO 8601
  • completed_atstring | null
    Quando a transferência foi concluída.
    ISO 8601

Erros#

Além desses, qualquer endpoint pode responder 401, 403 e 429. Veja Erros e limites.

curl https://api.torviko.com.br/v1/withdrawals \
  -H "Authorization: Bearer $TORVIKO_API_KEY"
Resposta 200
{
  "object": "list",
  "data": [
    {
      "object": "withdrawal",
      "id": "wd_4f6h8k1m3p5r7t9v2x4z",
      "status": "COMPLETED",
      "livemode": true,
      "amount_cents": 25000,
      "fee_cents": 150,
      "returned_cents": 0,
      "currency": "BRL",
      "destination": "PIX CPF ***.482.917-**",
      "end_to_end_id": "E00000000202611081402abcdef12345",
      "failure_reason": null,
      "created_at": "2026-11-08T15:10:00.000Z",
      "completed_at": "2026-11-08T15:10:09.000Z"
    }
  ],
  "has_more": false
}