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

# Consultar saque

> Acompanhe a retirada pelo identificador retornado na criação.



## OpenAPI

````yaml openapi.json GET /payouts/{id}
openapi: 3.0.3
info:
  title: ASCENT Pay
  version: 1.0.0
  description: API pública de cobranças Pix, saques e saldo.
servers:
  - url: https://onlyascent.pro/api/v1
security:
  - bearerAuth: []
paths:
  /payouts/{id}:
    get:
      summary: Consultar saque
      description: Acompanhe a retirada pelo identificador retornado na criação.
      operationId: consultar-saque
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Consulta concluída.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Saque'
        default:
          description: Falha na requisição. Consulte error.code.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Erro'
components:
  schemas:
    Saque:
      type: object
      properties:
        id:
          type: string
          format: uuid
        amount_cents:
          type: integer
        fee_cents:
          type: integer
        external_id:
          type: string
          nullable: true
        created_at:
          type: string
          format: date-time
        object:
          type: string
          enum:
            - payout
        status:
          type: string
          enum:
            - processing
            - completed
            - failed
        pix_key:
          type: string
          description: Chave de destino mascarada.
          nullable: true
        pix_key_type:
          type: string
          enum:
            - cpf
            - cnpj
            - email
            - phone
            - evp
          nullable: true
        total_cents:
          type: integer
        message:
          type: string
      required:
        - id
        - amount_cents
        - fee_cents
        - external_id
        - created_at
        - object
        - status
        - pix_key
        - pix_key_type
        - total_cents
    Erro:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
          required:
            - code
            - message
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Chave asc_live_ criada no painel ASCENT.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.