---
title: "Obter saque"
method: GET
path: "/v1/cashouts/{id}"
tags: ["Saques"]
---

# Obter saque

`GET /v1/cashouts/{id}`

## Request

- Base URL: `https://api-payment.safefypay.com.br`
- URL: `https://api-payment.safefypay.com.br/v1/cashouts/{id}`
- Auth: HTTP bearer

Retorna os dados completos de um saque especifico.

## Path parameters

- `id` string, uuid, required

## Response `200`

Dados do saque

- GetCashoutResponse
  - `data` CashoutData, nullable
    - `id` string, uuid: ID unico do saque
    - `externalId` string, nullable: ID externo informado
    - `amount` integer: Valor solicitado (centavos)
    - `fee` integer: Taxa cobrada (centavos)
    - `netAmount` integer: Valor liquido (centavos)
    - `currency` string: Moeda
    - `status` 'Pending' | 'Processing' | 'Completed' | 'Failed' | 'Rejected' | 'Cancelled': Status do saque
    - `environment` 'Sandbox' | 'Production': Ambiente
    - `pix` CashoutPixData
      - `pixKeyType` string, nullable: Tipo da chave PIX
      - `pixKey` string, nullable: Chave PIX (mascarada)
      - `endToEndId` string, nullable: ID da transacao PIX
    - `crypto` CashoutCryptoData, nullable: Destino de saque cripto via XGate. O endereço é sempre mascarado.
      - `walletAddress` string: Endereço da carteira mascarado.
      - `networkSymbol` string: Rede blockchain do saque.
      - `cryptoSymbol` string: Criptomoeda liquidada.
      - `transactionId` string, nullable: ID da transação retornado pela XGate, quando disponível.
    - `requestedAt` string, date-time: Data da solicitacao
    - `processedAt` string, date-time, nullable: Data do inicio do processamento
    - `completedAt` string, date-time, nullable: Data da conclusao
    - `failureReason` string, nullable: Motivo da falha
    - `createdAt` string, date-time: Data de criacao
  - `message` string, nullable
  - `error` ApiErrorResponse, nullable
    - `message` string: Mensagem de erro
    - `code` string: Codigo do erro

## Other responses

- `401`: Nao autorizado
- `404`: Saque nao encontrado

## Changes

- **2026-08-14** `57157be53ccc`: 3 info
  - added the optional property `data/crypto` to the response with the `200` status
  - added the optional property `data/crypto` to the response with the `401` status
  - added the optional property `data/crypto` to the response with the `404` status
- **2026-01-18** `b1ec8dd7262c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/safefy-pay/apis/safefy-pix-gateway/changes/v1/cashouts/:id/get.md)

---

[API](https://skmtc.dev/safefy-pay/apis/safefy-pix-gateway.md) - [All operations](https://skmtc.dev/safefy-pay/apis/safefy-pix-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/safefy-pay/apis/safefy-pix-gateway/revisions/57157be53ccc?raw)
